← All writing

Reliability

Writing

// Simplified: response parsing and error handling omitted.
async function callTool(endpoint, token, name, args) {
  let session = null;
  let id = 0;
  const post = async (body) => {
    const headers = {

One memory for several AI tools

Claude Code, Codex and Hermes each kept their own notes. Two small hooks and one shared memory service changed that. What we built, why the hooks talk HTTP instead of using MCP tools, and what broke on the first day.

AI applicationsArchitectureReliability
export function decide(x) {
  if (x.privateSource) return 'private';
  if (x.sensitive) return 'review';
  if (!x.evidence) return 'reject';
  return x.confidence >= 0.9 ? 'publish' : 'review';
}

AI sounds certain. Should we publish it?

A small experiment that separates three questions a confidence score cannot answer on its own: is it supported, is it sensitive, and may it be shared?

AI applicationsReliabilityTesting