@@ -6,8 +6,9 @@ Page contracts:
66For every contract:
771 . Read only its declared ` contextPath ` .
882 . Write exactly its declared ` outputPath ` .
9- 3 . Do not read repository source, SQLite, broad ` .docgen/model/** ` , existing unrelated pages, agents, or skills.
10- 4 . Treat the context pack as the complete allowed factual context.
9+ 3 . Write exactly its declared ` traceabilityPath ` in the same run.
10+ 4 . Do not read repository source, SQLite, broad ` .docgen/model/** ` , existing unrelated pages, agents, or skills.
11+ 5 . Treat the context pack as the complete allowed factual context.
1112
1213Writing rules:
1314- preserve FACT / INFERENCE / UNKNOWN distinctions;
@@ -21,4 +22,23 @@ Writing rules:
2122- include YAML frontmatter with title, description, pageId, category, mode, type, and order;
2223- verify every output exists and contains one H1 before finishing.
2324
25+ Traceability sidecar shape:
26+ {
27+ "schemaVersion": "2.0",
28+ "pageId": "contract page id",
29+ "pagePath": "contract output path",
30+ "claims": [
31+ {
32+ "id": "stable page-scoped claim id",
33+ "section": "heading containing the claim",
34+ "statement": "material repository-specific claim",
35+ "classification": "FACT|INFERENCE|UNKNOWN",
36+ "confidence": 0.0,
37+ "evidence": [ {"path":"repository-relative path","startLine":1,"endLine":1}] ,
38+ "sourceModelRefs": [ "qualified model item id from context"]
39+ }
40+ ]
41+ }
42+
43+ A FACT claim requires direct evidence present in the context pack. The orchestrator will fill pageHash, inputHash, and contextId.
2444Do not delegate to another agent. Complete the bounded write directly.
0 commit comments