Factory docs, home
Page navigation

A record from the Factory repository, docs/inspection-receipt.json, shown as committed except that its local paths appear as placeholders in angle brackets, such as <local evidence archive>, standing for files that are not published. Its private session identifiers appear as numbered placeholders, such as <private session 1>, one number for each session in this record. Every hash, date and count is as recorded. The build review says what the Factory's receipts support.

{
  "date": "2026-09-28T09:00:57.313215+00:00",
  "baseline": "7f6ff6b",
  "scope": "Native read-only journal opening and factory inspection; no change to writable verification/cancellation/recovery semantics.",
  "implementation": {
    "phase": "opus-inspection-repair",
    "session_id": "<private session 1>",
    "models_observed": [
      "claude-opus-5-5"
    ],
    "result": "success",
    "is_error": false,
    "duration_ms": 427888,
    "raw_sha256": "05acda9dae308dc390b5783316f1c067b6b6e9efd812a009d597402705d3885c",
    "final_sha256": "5e02d0468d6f9080a98f2acdc3dbe6313faff438b0854080e49adf66b8367dbd",
    "model": "claude-opus-5-5",
    "effort": "high",
    "tool": "Claude Code2.1.283"
  },
  "review": {
    "model": "gpt-6-astra",
    "effort": "xhigh",
    "disposition": "accepted, no open material findings",
    "report": "<local evidence file>",
    "sha256": "7ad2efe6a8972a9f53b1bb831a4d6972a8adf8ab9379df5a3aaf2f40e860d18b",
    "coordinator_change": "Helper comment only; reversing that exact comment reproduces the accepted runtime-source hash."
  },
  "validation": {
    "full_check": {
      "command": "npm run check",
      "exit_code": 0,
      "tests": 217,
      "passed": 217,
      "failed": 0,
      "skipped": 0,
      "log": "<local evidence file>",
      "sha256": "03235da20adad2660e1c404175ae4aa97cda9be2e9a47721348d12887f8234bb"
    },
    "final_retained_tests": 216,
    "deduplication": "One passing independent removal-race test deleted because producer retained the same regression; runtime unchanged.",
    "after_deduplication": {
      "focused_tests": 7,
      "passed": 7,
      "typecheck": "passed"
    }
  },
  "files": {
    "src/journal.ts": "247e560ba538e9a12ce3e3158ae3185c6481713339a149ac47673810d850fd47",
    "src/errors.ts": "22e6444f42c15b40b7e8167017f01fb1922156764e6711de4248c3b8401f2357",
    "src/local-factory.ts": "242acb730f173721ed8908701890d4ebc8b0408ea3e57aa445dde2654b50018b",
    "src/cli.ts": "0eae4d736a29d9b9cc701bc8658c4648b07b2c049be8791a20b5742b38d3cc90",
    "src/factory-support.ts": "4ea813b5fb6469885457c8324d108776589bd4d78ab014f1a459cd2aaa1671d8",
    "src/guarded-verification.ts": "e6f8e1473a405d900cd02558afa72fe4833f36b39dc6e79e929180cde7b25b91",
    "test/journal-read-only.test.ts": "c1bddef03d09574b737075bd99bf26a2344b3f3168aed0c31b9f0922fcedf5b9",
    "test/local-factory-inspection.test.ts": "e8b882044e2f23fbda6c0e722d8029c7d13f3240b6589ecea6606313da74ed99",
    "test/inspection-boundaries.test.ts": "2120e082589fffab3a95da033a7ad4b4bd528bfa209285195ba2b72632cd8286",
    "test/helpers/inspection-writer.ts": "e39fb4437de59fb5635baaa64c25778c3b79878659196af9c9c816f2d1ac89e3",
    "docs/local-development.md": "98de6fa06451342305c76c833864b1000c5974353d02408158dd133cc890c2ea"
  },
  "invariants": [
    "Missing/empty storage is not created or initialised, including removal between existence check and native open.",
    "Foreign/unsupported schema is refused without mutation.",
    "Read-only execute refuses before SQLite transaction or decision, including replay.",
    "Committed crashed-writer WAL and later live-writer commits remain visible.",
    "Inspection dispatches no fixture, probes no fence and settles/records no domain decision."
  ],
  "limits": [
    "SQLite may create/update normal WAL/SHM coordination files; read-only does not mean unchanged directory bytes.",
    "Each read sees its own committed snapshot; not a multi-read transaction-wide snapshot.",
    "Writable cancellation/recovery retain their existing open/create semantics.",
    "Process-crash evidence is not power-loss qualification."
  ]
}

Source: docs/inspection-receipt.json