A record from the Factory repository, docs/lifecycle-anchors-receipt.json, shown exactly as committed. Every hash, date and count is as recorded. The build review says what the Factory's receipts support.
{
"recordedAt": "2026-10-02",
"component": "docs/lifecycle.md anchors (roadmap item 19, MRG0)",
"base": "85a5472",
"branch": "claude/w2-18-mrg0",
"disposition": "implemented-awaiting-independent-review",
"scope": "Documentation and its test only. All thirteen line anchors that the archived spec cites in docs/lifecycle.md (eleven path:line anchors and the two path-less `:358` and `:1865` that followed `src/claude-producer.ts`) become anchors an edit elsewhere in the cited file cannot move: nine declarations (src/intelligence.ts#problemOf, src/claude-producer.ts#claudeArgv, src/claude-producer.ts#produce, src/claude-producer.ts#commissionMismatch, src/delivery-records.ts#deriveAssessment, src/product-gate.ts#freezeSlice, src/attention.ts#ownerRequired, src/journal.ts#execute, test/helpers/claude-events.ts#rateLimitEvent), two headings (docs/design.md#docs-and-marketing, docs/agents/intelligence.md#changing-it-safely) and two quoted phrases (docs/design.md, docs/human-interface.md). The status note that tracked the src/intelligence.ts line number now describes the anchor forms. site/ regenerated.",
"behaviourChange": "none: no source module, Intelligence declaration, policy digest or acceptance changes",
"test": "test/intelligence-lifecycle-adversarial.test.ts: the anchor test refuses any bare path:line or path#Lline citation and any code span that is only a line number (`:12`, `:3-4`); resolves every anchor exactly once (a declaration by its exact identifier in the pinned TypeScript 7.0.2 syntax tree, parsed in a virtual file system, so comments, strings, longer names and multiline members are handled; a heading through its section; a phrase by its occurrences); and checks that the resolved region, a declaration's own syntax span with no neighbour and no leading comment, still shows what the spec cites it for, keeping the coverage assertion that the test lists every anchor and nothing more. The eleven earlier cited patterns are unchanged; produce and commissionMismatch cite their model checks. A second test exercises the checker on fixtures: a duplicated or missing declaration, a commented-out, quoted or longer-named lookalike, a second declaration as a multiline method or a type member, one-line and multiline declaration regions beside a neighbour that holds the cited text, a duplicated heading, a heading inside a fence, a repeated phrase, and bare and path-less line citations.",
"evidence": "Against the docs/lifecycle.md at 85a5472 the anchor test fails, listing every bare citation. With this change it passes; temporarily adding (`:240`) to docs/lifecycle.md, renaming ownerRequired to ownerRequired$, appending a second ownerRequired as a multiline class method, changing the model check in produce, or moving the implicit-retries text out of problemOf into a neighbouring function each makes it fail (files restored afterwards). Round 1 review findings (two remaining line anchors, regex symbol resolution, unbounded declaration regions) are addressed by this revision.",
"notEstablished": "Not independently reviewed. Other documents keep their path:line anchors (docs/agents/portfolio.md, producer.md, intelligence.md, attention.md, discovery-sources.md); they are outside this item. Earlier receipts that hash docs/lifecycle.md or this test are history and are left unchanged.",
"files": {
"docs/lifecycle.md": "d47ce86ab6fc7eb563f316cbc0519fdfc9073c3ae1367f8ed204ee0bf153dd28",
"site/reference/lifecycle.html": "958b714e3e5bf36cfb790a64685aa11f5edd5e8883df5583251c3682b6848b33",
"test/intelligence-lifecycle-adversarial.test.ts": "74d88e25f89a87945be4fe48afe6252377dc3f08418ef086f1013db0f9c771b3"
},
"review": []
}
