ahead-pi 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +39 -1
  2. package/dist/ahead_wasm.wasm +0 -0
  3. package/generated/decision/compare.md +2 -2
  4. package/generated/decision/criteria.md +2 -2
  5. package/generated/decision/decide.md +2 -2
  6. package/generated/decision/frame.md +2 -2
  7. package/generated/decision/manifest.json +2 -2
  8. package/generated/decision/options.md +2 -2
  9. package/generated/decision/publish.md +5 -5
  10. package/generated/decision/research.md +2 -2
  11. package/generated/internal-improvement/ai-audit.md +3 -3
  12. package/generated/internal-improvement/ai-review.md +4 -3
  13. package/generated/internal-improvement/baseline.md +2 -2
  14. package/generated/internal-improvement/decision.md +2 -2
  15. package/generated/internal-improvement/deploy.md +2 -2
  16. package/generated/internal-improvement/human-review.md +3 -3
  17. package/generated/internal-improvement/implement.md +5 -4
  18. package/generated/internal-improvement/invariants.md +2 -2
  19. package/generated/internal-improvement/manifest.json +2 -2
  20. package/generated/internal-improvement/options.md +2 -2
  21. package/generated/internal-improvement/outcome.md +3 -3
  22. package/generated/internal-improvement/plan.md +5 -4
  23. package/generated/internal-improvement/target.md +2 -2
  24. package/generated/internal-improvement/verify.md +2 -2
  25. package/generated/operational-stabilization/assess.md +2 -2
  26. package/generated/operational-stabilization/execute-observe.md +2 -2
  27. package/generated/operational-stabilization/manifest.json +2 -2
  28. package/generated/operational-stabilization/monitor.md +2 -2
  29. package/generated/operational-stabilization/outcome.md +5 -4
  30. package/generated/operational-stabilization/respond.md +2 -2
  31. package/generated/operational-stabilization/verify-recovery.md +2 -2
  32. package/generated/product-change/ai-audit.md +3 -3
  33. package/generated/product-change/ai-review.md +4 -3
  34. package/generated/product-change/decision.md +2 -2
  35. package/generated/product-change/define.md +2 -2
  36. package/generated/product-change/deploy.md +2 -2
  37. package/generated/product-change/human-review.md +3 -3
  38. package/generated/product-change/implement.md +5 -4
  39. package/generated/product-change/manifest.json +2 -2
  40. package/generated/product-change/options.md +2 -2
  41. package/generated/product-change/outcome.md +3 -3
  42. package/generated/product-change/plan.md +5 -4
  43. package/generated/product-change/questions.md +2 -2
  44. package/generated/product-change/research.md +2 -2
  45. package/generated/product-change/verify.md +2 -2
  46. package/generated/reference/docs/evidence/research-map.md +2 -1
  47. package/generated/reference/docs/guide/README.md +7 -2
  48. package/generated/reference/docs/guide/acceptable-ai-use.md +5 -2
  49. package/generated/reference/docs/guide/durable-reference.md +262 -0
  50. package/generated/reference/docs/guide/workflows/decision.md +1 -1
  51. package/generated/reference/docs/guide/workflows/internal-improvement.md +4 -4
  52. package/generated/reference/docs/guide/workflows/operational-stabilization.md +1 -0
  53. package/generated/reference/docs/guide/workflows/product-change.md +6 -4
  54. package/generated/reference/index.json +14 -0
  55. package/generated/skills/diagnosing-bugs/LICENSE.ahead +21 -0
  56. package/generated/skills/diagnosing-bugs/LICENSE.mattpocock +21 -0
  57. package/generated/skills/diagnosing-bugs/SKILL.md +126 -0
  58. package/generated/skills/manifest.json +21 -0
  59. package/generated/skills/research/LICENSE.ahead +21 -0
  60. package/generated/skills/research/LICENSE.mattpocock +21 -0
  61. package/generated/skills/research/SKILL.md +116 -0
  62. package/generated/skills/to-tickets/LICENSE.ahead +21 -0
  63. package/generated/skills/to-tickets/LICENSE.mattpocock +21 -0
  64. package/generated/skills/to-tickets/SKILL.md +132 -0
  65. package/package.json +9 -1
  66. package/src/guidance.ts +13 -3
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=ai-review sha256=ff114ee0a859569db494eecf5bc969ea95d92e3b808d8823d047ad1bcd91ad05 -->
2
+ <!-- workflow=product-change@0.3.0 phase=ai-review sha256=869a69183087b1ee4c2ea7382a54209bd1c56d6faf460312e919a0073f64cae4 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -34,7 +34,7 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
34
34
 
35
35
  ## Enforced phase contract
36
36
 
37
- - Workflow: `product-change@0.2.0`
37
+ - Workflow: `product-change@0.3.0`
38
38
  - Current phase: `ai-review`
39
39
  - Human gate: `ai-review-disposed` — Implementing human disposes blocking AI findings; acceptance identity must match `review-disposition`
40
40
  - Normal next phase: `human-review`
@@ -44,5 +44,6 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
44
44
 
45
45
  ### Phase artifacts
46
46
 
47
- - `ai-review`: AI review findings bound to the current changeset (required; actor: ai)
47
+ - `review-inputs`: Enumeration of run inputs read for review: decision, plan, plan-deviations, reference-updates, changeset, tests, and evidence (required; actor: ai)
48
+ - `ai-review`: AI review findings bound to the current changeset and evaluated against the full open run (required; actor: ai)
48
49
  - `review-disposition`: Implementing-human disposition of every material AI finding (required; actor: human; actor identity must match latest changeset)
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=decision sha256=94f5fdd19a60bdcea3268e616b2ed254b70b3e189e82943c0de061fc6105723e -->
2
+ <!-- workflow=product-change@0.3.0 phase=decision sha256=5cc6419168253edefc53b431dda34aff33ec25d180a7c76f866e961377c43e18 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
34
34
 
35
35
  ## Enforced phase contract
36
36
 
37
- - Workflow: `product-change@0.2.0`
37
+ - Workflow: `product-change@0.3.0`
38
38
  - Current phase: `decision`
39
39
  - Human gate: `decision-approved` — Accountable human approves the decision
40
40
  - Normal next phase: `plan`
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=define sha256=fdb0a9f7dc06fbf3c8e7ce49be120ee676ebf64ad2f7683431f41affc92c9871 -->
2
+ <!-- workflow=product-change@0.3.0 phase=define sha256=c4b57dc030a4064864b3497e6d8363686ccbb9147fdd76a46c8b974fd7db07fd -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -27,7 +27,7 @@ The human defines the desired outcome, users, constraints, scope, success signal
27
27
 
28
28
  ## Enforced phase contract
29
29
 
30
- - Workflow: `product-change@0.2.0`
30
+ - Workflow: `product-change@0.3.0`
31
31
  - Current phase: `define`
32
32
  - Human gate: `framing-accepted` — Human accepts the framing
33
33
  - Normal next phase: `research`
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=deploy sha256=b7f6d2e3844c8719ec01bc277ebdfb66b4501cb4f024ce5cdc5fb71ccdec78ba -->
2
+ <!-- workflow=product-change@0.3.0 phase=deploy sha256=395dd1c2d28831ea323f89153d136f0675b93a0b5d53b959ec86730d1888c720 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -27,7 +27,7 @@ A human authorizes deployment or release. You may analyze readiness evidence, bu
27
27
 
28
28
  ## Enforced phase contract
29
29
 
30
- - Workflow: `product-change@0.2.0`
30
+ - Workflow: `product-change@0.3.0`
31
31
  - Current phase: `deploy`
32
32
  - Human gate: `deployment-confirmed` — Human confirms the intended version reached the target or deployment is not applicable
33
33
  - Normal next phase: `verify`
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=human-review sha256=ed70af1697f2a87fb3e7757b65f0dd3fa94bc6113da5c9e95862edfad37f20c2 -->
2
+ <!-- workflow=product-change@0.3.0 phase=human-review sha256=f666027a5648ffa0c84c50dc245f7eb45fb60c4dddb33acd2c9000bc84e3e577 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -34,7 +34,7 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
34
34
 
35
35
  ## Enforced phase contract
36
36
 
37
- - Workflow: `product-change@0.2.0`
37
+ - Workflow: `product-change@0.3.0`
38
38
  - Current phase: `human-review`
39
39
  - Human gate: `human-review-accepted` — Independent human reviewer accepts the current change; acceptance identity must match `human-review`
40
40
  - Normal next phase: `deploy`
@@ -44,4 +44,4 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
44
44
 
45
45
  ### Phase artifacts
46
46
 
47
- - `human-review`: Independent human review (required; actor: human; actor identity must differ from latest changeset)
47
+ - `human-review`: Independent human review made against the full open run (required; actor: human; actor identity must differ from latest changeset)
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=implement sha256=80c450e0f6487c32f5a8b4f4bc7338ab9eb13e5f54d78f1606a21f6d5c2e57bb -->
2
+ <!-- workflow=product-change@0.3.0 phase=implement sha256=1a9c33bb3f8ff0e5bc2e6a2314e2996d79eb090792f9d35fb85fd2d599ff3319 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -31,12 +31,12 @@ Call out plan deviations; do not silently redefine behavior or policy. Passing c
31
31
 
32
32
  ## Enforced phase contract
33
33
 
34
- - Workflow: `product-change@0.2.0`
34
+ - Workflow: `product-change@0.3.0`
35
35
  - Current phase: `implement`
36
- - Human gate: `implementation-ready` — Human confirms work is ready for review and checks pass
36
+ - Human gate: `implementation-ready` — Human confirms work, tests, and durable reference updates are ready for review
37
37
  - Normal next phase: `ai-review`
38
38
  - Human-authorized return targets: plan
39
- - AI unlock artifacts: none
39
+ - AI unlock artifacts: `reference-updates`
40
40
  - AI capabilities after unlock: `inspect`, `search`, `analyze`, `modify`, `execute`
41
41
 
42
42
  ### Phase artifacts
@@ -44,3 +44,4 @@ Call out plan deviations; do not silently redefine behavior or policy. Passing c
44
44
  - `changeset`: Linked changeset (required; actor: human)
45
45
  - `tests`: Test and check evidence (required; actor: human)
46
46
  - `plan-deviations`: Plan deviations and rationale, including none (required; actor: human)
47
+ - `reference-updates`: Actual creates or updates of decision records, design docs, and runbooks during implementation, or explicit none; AI may propose entries, human accepts each (required; actor: human)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "workflow": "product-change",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "generated": [
5
5
  "define.md",
6
6
  "research.md",
@@ -17,7 +17,7 @@
17
17
  "outcome.md"
18
18
  ],
19
19
  "sources": [
20
- "spec/workflows/product-change-v0.2.json",
20
+ "spec/workflows/product-change-v0.3.json",
21
21
  "policy/common.md",
22
22
  "policy/product-change/<phase>.md or policy/shared/<phase>.md",
23
23
  "policy/methods/index.json",
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=options sha256=595c1fbecf433d64a4c8a647df372c3937006c101fcbe5235bb4975403f0c61a -->
2
+ <!-- workflow=product-change@0.3.0 phase=options sha256=ef4710ecbe488f46798e9c16610f605568ee4394dc716aeb081d796b6f82ef4c -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
34
34
 
35
35
  ## Enforced phase contract
36
36
 
37
- - Workflow: `product-change@0.2.0`
37
+ - Workflow: `product-change@0.3.0`
38
38
  - Current phase: `options`
39
39
  - Human gate: `options-understood` — Human confirms viable options and tradeoffs are understood
40
40
  - Normal next phase: `decision`
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=outcome sha256=0c2a79dcb011adc8e99985e2add7ea90b12d7056839f0d746654f2dc34aa54ab -->
2
+ <!-- workflow=product-change@0.3.0 phase=outcome sha256=98e154ceaf14f6971995da0319dde1f084b62ae192d82aa815986ca9bd3ad77b -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -27,9 +27,9 @@ The human decides to accept, roll back, follow up, abandon, or reopen work and r
27
27
 
28
28
  ## Enforced phase contract
29
29
 
30
- - Workflow: `product-change@0.2.0`
30
+ - Workflow: `product-change@0.3.0`
31
31
  - Current phase: `outcome`
32
- - Human gate: `outcome-accepted` — Human accepts closure
32
+ - Human gate: `outcome-accepted` — Human accepts closure and explicitly closes the run
33
33
  - Normal next phase: `close run`
34
34
  - Human-authorized return targets: plan, implement
35
35
  - AI unlock artifacts: none
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=plan sha256=9863c8de33161735bb3bf9ba146c4d520faa99ce617d974ae763be1ac7f0e266 -->
2
+ <!-- workflow=product-change@0.3.0 phase=plan sha256=0816b73f07560b714a0eaeedf7fb7f642072258bde7429f7593141314b89c431 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -40,12 +40,12 @@ For broad migrations, use expand, migrate, verify, and contract stages so interm
40
40
 
41
41
  ## Enforced phase contract
42
42
 
43
- - Workflow: `product-change@0.2.0`
43
+ - Workflow: `product-change@0.3.0`
44
44
  - Current phase: `plan`
45
- - Human gate: `plan-approved` — Human approves the final plan
45
+ - Human gate: `plan-approved` — Human approves the final plan and its planned durable reference updates
46
46
  - Normal next phase: `implement`
47
47
  - Human-authorized return targets: options, decision
48
- - AI unlock artifacts: `first-pass-plan`
48
+ - AI unlock artifacts: `first-pass-plan`, `reference-updates`
49
49
  - AI capabilities after unlock: `inspect`, `search`, `analyze`, `record`
50
50
 
51
51
  ### Phase artifacts
@@ -53,3 +53,4 @@ For broad migrations, use expand, migrate, verify, and contract stages so interm
53
53
  - `first-pass-plan`: Human first-pass implementation plan (required; actor: human)
54
54
  - `ai-plan-review`: AI plan challenge (optional; actor: ai)
55
55
  - `plan`: Human-approved sequenced plan, tests, rollout, recovery, and deviations policy (required; actor: human)
56
+ - `reference-updates`: Planned creates or updates of decision records, design docs, and runbooks, or explicit none (required; actor: human)
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=questions sha256=7960c7ed009449dfe17c6219890645066d6aa72dcee6c3059279dccc4386cee7 -->
2
+ <!-- workflow=product-change@0.3.0 phase=questions sha256=e075c845d6a88b58a78b53e974e28414bfdea70d6cc69adb6ea99bc4eb12677d -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -40,7 +40,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
40
40
 
41
41
  ## Enforced phase contract
42
42
 
43
- - Workflow: `product-change@0.2.0`
43
+ - Workflow: `product-change@0.3.0`
44
44
  - Current phase: `questions`
45
45
  - Human gate: `unknowns-disposed` — Human confirms important unknowns are answered or explicitly accepted
46
46
  - Normal next phase: `options`
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=research sha256=871000313681366e424b39a987b9973edc7c03e82d68668d3fb49e5e3f56bdc5 -->
2
+ <!-- workflow=product-change@0.3.0 phase=research sha256=38da5e605e95015ac13bbe84b65ab5d38cf98937dee1cb07ad52f9f1edc0ceb0 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
34
34
 
35
35
  ## Enforced phase contract
36
36
 
37
- - Workflow: `product-change@0.2.0`
37
+ - Workflow: `product-change@0.3.0`
38
38
  - Current phase: `research`
39
39
  - Human gate: `research-reviewed` — Human confirms material evidence is available
40
40
  - Normal next phase: `questions`
@@ -1,5 +1,5 @@
1
1
  <!-- GENERATED FILE. DO NOT EDIT. -->
2
- <!-- workflow=product-change@0.2.0 phase=verify sha256=69ad233303afbfe6de12aa14e50243c41955de7a5a56ebdecf4939adff9c20ec -->
2
+ <!-- workflow=product-change@0.3.0 phase=verify sha256=c1e3ade3f9d79fa2c51001799f3d83798252e0e063bbb8a1b22bc9d146f68076 -->
3
3
 
4
4
  # AHEAD agent profile
5
5
 
@@ -27,7 +27,7 @@ Help suggest checks and analyze authorized observations against the recorded pro
27
27
 
28
28
  ## Enforced phase contract
29
29
 
30
- - Workflow: `product-change@0.2.0`
30
+ - Workflow: `product-change@0.3.0`
31
31
  - Current phase: `verify`
32
32
  - Human gate: `outcome-demonstrated` — Human confirms the intended outcome is demonstrated or failure is recorded
33
33
  - Normal next phase: `ai-audit`
@@ -3,7 +3,7 @@
3
3
  Audience: AHEAD evidence readers and framework maintainers
4
4
 
5
5
  Status: living evidence review
6
- Last reviewed: 2026-08-12
6
+ Last reviewed: 2026-08-20
7
7
 
8
8
  This document maps current AHEAD design claims to available evidence. It is not a bibliography of everything related to software engineering. It focuses on claims that materially shape the methodology.
9
9
 
@@ -27,6 +27,7 @@ The evidence supports using AI and evaluating it contextually. It gives indirect
27
27
  | AHEAD claim | Evidence | Class | What it supports | Important limitation |
28
28
  |---|---|---:|---|---|
29
29
  | AI assistance should build comprehension, not only produce code. | [Shen and Tamkin, *How AI Impacts Skill Formation*](https://arxiv.org/abs/2601.20245) randomized 52 mostly junior software engineers learning an unfamiliar Python library. The AI-assisted group scored lower on a subsequent mastery assessment; interaction style mattered, and explanation/conceptual use was associated with stronger mastery than delegation. | E1 | Prefer explanations, conceptual questions, prediction, and modification when learning; require engineers to understand accepted work. | One short task, one unfamiliar library, mostly junior participants, and a specific assistant. It does not establish long-term skill effects or justify banning AI for learning. |
30
+ | AI assistance should preserve human understanding and responsibility. | [Google Summer of Code's 2026 AI guidance](https://developers.google.com/open-source/gsoc/resources/ai_guidance) summarizes mentor advice favoring validation, complete understanding, research and learning, human-defined test scope, and caution on complex or unfamiliar work. | E4 | Corroborates AHEAD's human-owned, learning-oriented boundaries with documented practitioner concerns. | GSoC is a mentored open-source learning context, the page is not an independent or controlled study, and organizations that prohibit AI cannot use AHEAD as designed. |
30
31
  | AI can materially assist human test generation and defect discovery. | [Ramler et al., *Unit Testing Past vs. Present*](https://arxiv.org/abs/2502.09801) compared an LLM-supported testing experiment with prior manual-testing experiments and found more tests, coverage, and detected defects, alongside more false positives. | E1 | Allow candidate test generation while requiring human-defined behavior, oracle review, and validation that tests can fail. | Nonconcurrent historical control, master’s-level testing students, seeded defects, and a bounded Java system. More tests and coverage do not prove better production assurance. |
31
32
  | Test-guided human interaction can improve evaluation of generated code. | [Fakhoury et al., *LLM-Based Test-Driven Interactive Code Generation*](https://www.microsoft.com/en-us/research/publication/llm-based-test-driven-interactive-code-generation-user-study-and-empirical-evaluation/) studied 15 programmers and found the test-guided workflow improved correct evaluation of generated code; the authors also evaluated generation accuracy across models and datasets. | E1 | Define and refine intent through tests rather than asking AI to write code and then trusting tests derived from the same assumptions. | Small user study and an idealized proxy in the scaled evaluation. It does not require strict TDD for all engineering. |
32
33
  | AI review findings require human validation and executable evidence. | [Jin and Chen, *Are LLMs Reliable Code Reviewers?*](https://arxiv.org/abs/2603.00539) found systematic overcorrection when models judged requirement conformance, including misclassifying correct implementations as defective. | E1 | Use AI review as a first pass; treat findings as hypotheses and retain final human review. | Benchmark-based study of a specific review judgment. It does not measure every type of real-world review or prove human reviewers are sufficient. |
@@ -12,11 +12,16 @@ This is the starting point for people applying AHEAD to engineering work. These
12
12
  4. [Engineering practice](engineering-practice.md) describes the habits AHEAD asks engineers to cultivate.
13
13
  5. [Pilot workflows](workflows/README.md) explains how to choose and execute one of the six flows.
14
14
  6. [Work items and planning handoffs](work-items.md) explains provider-neutral links, configurable gates, and sprint-ahead preparation.
15
- 7. [Recommended skills](recommended-skills.md) lists optional, reviewed third-party aids.
15
+ 7. [Durable references](durable-reference.md) defines the three durable artifact classes AHEAD standardizes — decision records, design docs, and runbooks — and adopts Diátaxis for the rest.
16
+ 8. [Recommended skills](recommended-skills.md) lists optional, reviewed third-party aids.
16
17
 
17
18
  ## Authority
18
19
 
19
- The Constitution, Acceptable AI Use policy, and active workflow contract are binding during an AHEAD pilot. The rationale explains why those rules exist. Engineering Practice is proposed guidance, and recommended skills are optional. Organization and repository rules may narrow AI authority but cannot broaden it beyond AHEAD policy.
20
+ The Constitution, Acceptable AI Use policy, and active workflow contract are binding during an AHEAD pilot. The rationale explains why those rules exist. Engineering Practice, durable references, and work-item guidance are proposed guidance, and recommended skills are optional. Organization and repository rules may narrow AI authority but cannot broaden it beyond AHEAD policy.
21
+
22
+ ## Scope
23
+
24
+ AHEAD prescribes run artifacts, workflow gates, decision records, design docs, and runbooks. It explicitly leaves tutorials, most how-to guides, user-facing product documentation, contributor references, and project-specific coding-agent instructions to each project. [Durable references](durable-reference.md) names what AHEAD covers and points at [Diátaxis](https://diataxis.fr/) for the rest.
20
25
 
21
26
  ## When you need the basis for a rule
22
27
 
@@ -6,7 +6,7 @@ Status: binding pilot policy v0.1
6
6
 
7
7
  ## Authority
8
8
 
9
- This policy is binding for AHEAD pilot workflows. The [AHEAD Constitution](../../CONSTITUTION.md) is the highest authority; this policy interprets its human-ownership boundaries; workflow profiles apply both and may narrow AI permissions for a phase. A workflow phase, diagram, tool permission, or local convenience cannot broaden AI authority beyond this policy. Organization and repository policies may impose stricter controls.
9
+ This policy is binding for AHEAD pilot workflows. The [AHEAD Constitution](../../CONSTITUTION.md) is the highest authority; this policy interprets its human-ownership boundaries; workflow profiles apply both and may narrow AI permissions for a phase. A workflow phase, diagram, tool permission, or local convenience cannot broaden AI authority beyond this policy. Organization and repository policies may impose stricter controls. Because AHEAD is an AI-assisted methodology, it cannot be used as designed where AI use is prohibited entirely.
10
10
 
11
11
  If two rules appear to conflict, apply the more protective rule and record the ambiguity for correction. No exception may transfer human authorship, judgment, approval, accountability, or unscoped consequential authority to AI.
12
12
 
@@ -43,6 +43,8 @@ AI may locate, organize, compare, and summarize approved internal and external s
43
43
 
44
44
  Why: AI increases search and synthesis capacity, while NIST identifies confident false content as an inherent generative-AI risk. Summaries are navigation aids, not new authorities.
45
45
 
46
+ For novel, complex, or unfamiliar work, prefer primary documentation, direct inspection, and experiments. State what the AI may not know and treat confident synthesis as unverified until evidence supports it.
47
+
46
48
  ### Boilerplate and repetitive structure
47
49
 
48
50
  AI may generate scaffolding, serializers, routine handlers, adapters, setup code, repetitive mappings, and other bounded structure after the human identifies the intended pattern and integration boundary.
@@ -101,7 +103,7 @@ AI may help organize evidence, explain unfamiliar mechanisms, generate competing
101
103
 
102
104
  Before broad AI assistance in normal debugging, the human records at least the observed failure, evidence already checked, and an initial mental model or question. A team may use a timebox before asking AI, but the purpose is independent thought—not withholding useful tools. During incidents, AI may assist immediately once the current observation and safety constraints are established.
103
105
 
104
- The human remains the investigator: selecting or authorizing tests, interpreting results, deciding whether evidence supports a conclusion, and choosing the intervention.
106
+ Debugging is not grunt work. The human remains the investigator: selecting or authorizing tests, interpreting results, deciding whether evidence supports a conclusion, and choosing the intervention.
105
107
 
106
108
  ### Design alternatives
107
109
 
@@ -215,5 +217,6 @@ For a disposable prototype, also answer:
215
217
  - [NIST AI 600-1, *Generative Artificial Intelligence Profile*](https://doi.org/10.6028/NIST.AI.600-1) — authoritative risk guidance on confabulation, privacy, provenance, testing, and governance.
216
218
  - [NIST DevSecOps reference model: Artificial Intelligence](https://pages.nist.gov/nccoe-devsecops/notational-reference-model.html#artificial-intelligence) — human validation and verifiable-process guidance for AI-augmented software development.
217
219
  - [OWASP Secure Coding with AI Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Secure_Coding_with_AI_Cheat_Sheet.html) — practitioner security guidance for sensitive context, agent permissions, generated tests, supply chains, and CI/CD.
220
+ - [Google Summer of Code, *Guidance for GSoC Contributors using AI tooling in GSoC 2026*](https://developers.google.com/open-source/gsoc/resources/ai_guidance) — practitioner guidance summarizing mentor advice on human responsibility, understanding, research, human-defined test scope, and the limits of AI on complex work.
218
221
 
219
222
  The [research map](../evidence/research-map.md) classifies these sources and records their limitations. Exact boundaries such as “core business logic” and the human-first debugging checkpoint remain AHEAD policy choices that should be tested and refined.
@@ -0,0 +1,262 @@
1
+ # Durable References
2
+
3
+ Audience: AHEAD practitioners
4
+
5
+ Status: pilot v0.1
6
+
7
+ ## Purpose
8
+
9
+ AHEAD's workflows produce two kinds of records. **Run artifacts** are scoped to a single run and describe what happened: framing, research, decisions, plans, changesets, review findings, outcomes. **Durable references** outlive a run and describe how the system *ought to be* going forward.
10
+
11
+ Durable references are where a project's decisions and design accrete. Without them, every run has to reconstruct context from code and memory. With them, each run inherits what earlier runs concluded and updates the record when it changes.
12
+
13
+ AHEAD standardizes three durable reference classes and explicitly does not standardize the rest. For the rest, use [Diátaxis](https://diataxis.fr/).
14
+
15
+ ## The three durable classes
16
+
17
+ | Class | Also called | Diátaxis mode | Shape draws from |
18
+ |---|---|---|---|
19
+ | `decision-record` | ADR (Architecture Decision Record) | explanation with reference lookup | [MADR](https://adr.github.io/madr/) |
20
+ | `design-doc` | design document, architecture document | reference plus explanation, layered | [arc42](https://arc42.org/), [C4](https://c4model.com/) |
21
+ | `runbook` | ops runbook (Google SRE: playbook) | how-to | [Google SRE Book](https://sre.google/sre-book/) |
22
+
23
+ The three names are what practitioners and coding agents already grep for. AHEAD uses the same strings in workflow specifications (`spec/workflows/*.json` artifact `kind` values) so the guide and the machine contract match.
24
+
25
+ ## Decision records
26
+
27
+ ### What one is
28
+
29
+ A `decision-record` captures a consequential choice made by an accountable human, its context, the drivers that shaped it, the alternatives considered, the choice, and its expected consequences. It is the durable form of a Decision workflow's publish artifact.
30
+
31
+ Not every Decision workflow run produces one. Small, reversible decisions may live only in the run record. A decision-record is warranted when the choice will bind future work, when it forecloses alternatives, or when a future engineer or reviewer must be able to understand why the current shape exists.
32
+
33
+ ### When to create or update
34
+
35
+ - Create at the `publish` phase of a Decision workflow.
36
+ - Create when a Product Change or Internal Improvement run makes a decision durable enough to bind future work; log the creation in that run's `reference-updates` artifact.
37
+ - Update the `status` and `superseded_by` fields when a later decision-record replaces this one. The prior record is not deleted.
38
+ - Update the `revisit` date when a scheduled review of the decision occurs.
39
+
40
+ Decision records are otherwise immutable. A changed conclusion is a new decision-record that supersedes the prior one.
41
+
42
+ ### Shape
43
+
44
+ Follow [MADR](https://adr.github.io/madr/). Concretely:
45
+
46
+ - Filename `NNNN-title-with-dashes.md` where `NNNN` is a zero-padded consecutive number.
47
+ - Store in `docs/adr/` or `docs/architecture/adr/`. Pick one location per project and hold to it.
48
+ - YAML front matter:
49
+ ```yaml
50
+ ---
51
+ type: decision-record
52
+ status: proposed | accepted | superseded | deprecated
53
+ date: YYYY-MM-DD
54
+ deciders: [names or roles]
55
+ consulted: []
56
+ informed: []
57
+ supersedes: [NNNN, ...] # optional
58
+ superseded_by: NNNN # optional
59
+ revisit: YYYY-MM-DD # optional
60
+ ---
61
+ ```
62
+ - First heading `# ADR NNNN: <Short title>`.
63
+ - Required sections: `Context and Problem Statement`, `Decision Drivers`, `Considered Options`, `Decision Outcome`, `Consequences`.
64
+ - Optional sections: `Confirmation`, per-option `Pros and Cons`, `More Information`.
65
+
66
+ Keep the whole record to a small number of screens. Long context, exhaustive alternatives, or deep technical detail belongs in a linked design-doc or research artifact.
67
+
68
+ ### Human-only and AI-assistable sections
69
+
70
+ AHEAD is human-led. AI may scaffold and question everywhere. The following table records which sections humans must own outright versus where AI may draft, propose, or maintain material for the human to accept.
71
+
72
+ | Section | Human owns | AI may |
73
+ |---|---|---|
74
+ | Context and Problem Statement | final wording | propose questions to sharpen framing |
75
+ | Decision Drivers | final list | propose candidate drivers for approval |
76
+ | Considered Options | first-pass options | expand alternatives, add missing options |
77
+ | Pros and Cons per option | curates | draft skeletons, cite evidence |
78
+ | **Decision Outcome** | **writes** | summarize *after* the human has written it |
79
+ | Consequences | owns | propose overlooked consequences |
80
+ | Confirmation | owns | propose validation checks |
81
+ | Front matter (`status`, `supersedes`, `superseded_by`, `revisit`) | approves each transition | maintain on approved state changes |
82
+
83
+ An AI that produces a Decision Outcome for the human to rubber-stamp violates the human ownership boundary. An AI that proposes a Decision Outcome after the human has written one, framed as a summary the human then accepts or discards, is assistance.
84
+
85
+ ## Design docs
86
+
87
+ ### What one is
88
+
89
+ A `design-doc` describes a capability, subsystem, or cross-cutting concept as it is intended to be — its contract, its shape, and the reasoning that produced that shape. It is a living document. Runs that alter its subject update it.
90
+
91
+ A design-doc is not a decision. It records the design that decisions have produced. Where a decision is contained, a design-doc is layered:
92
+
93
+ - **Reference layer** — components, contracts, interfaces, invariants, sequence, deployment. What the thing is. Kept austere and scannable.
94
+ - **Explanation layer** — why this shape, what tradeoffs, what constraints hold, what the design is *not*. Kept adjacent to but distinct from the reference layer.
95
+
96
+ Both layers are required. A design-doc that is only "what" rots into a stale catalog. A design-doc that is only "why" duplicates the decision records.
97
+
98
+ ### When to create or update
99
+
100
+ - Create at the `plan` phase of a Product Change or Internal Improvement run when the capability has no design-doc yet.
101
+ - Update at `implement` when a run changes what the design-doc describes. The update lands in that run's `reference-updates` artifact.
102
+ - Update the reference layer when code changes shift the contract, module structure, or diagram-worthy topology.
103
+ - Update the explanation layer when a new decision changes the design's rationale — link the new decision-record.
104
+ - Update `last-updated` metadata on every change.
105
+
106
+ ### Shape
107
+
108
+ AHEAD does not prescribe a rigid template. Draw on [arc42](https://arc42.org/) for section coverage and [C4](https://c4model.com/) for layered detail. A useful minimum:
109
+
110
+ - Filename descriptive: `docs/architecture/<capability>.md` or `docs/design/<capability>.md`. Pick one root per project.
111
+ - YAML front matter:
112
+ ```yaml
113
+ ---
114
+ type: design-doc
115
+ status: draft | current | deprecated
116
+ last-updated: YYYY-MM-DD
117
+ supersedes: <path> # optional
118
+ related-decisions: [NNNN, ...] # ADR numbers
119
+ related-runbooks: [<path>, ...] # optional
120
+ ---
121
+ ```
122
+ - First heading `# Design: <Capability>` or `# <Capability> — Design`.
123
+ - Reference section: overview, contract, components, interfaces, data, sequence and runtime behavior, deployment, invariants. Kept factual.
124
+ - Explanation section: rationale, tradeoffs, constraints, alternatives that were considered and rejected (link the decision-record), residual risks.
125
+ - Cross-reference table: linked decision-records and linked runbooks.
126
+
127
+ If a design-doc grows beyond what one screen can hold at each layer, split by C4 layer or by subsystem rather than mixing modes.
128
+
129
+ ### Human-only and AI-assistable sections
130
+
131
+ | Section | Human owns | AI may |
132
+ |---|---|---|
133
+ | Overview of the capability | edits | draft from code inspection |
134
+ | Contract and API surface | approves | generate and update from code |
135
+ | Component and module reference | approves | generate and maintain |
136
+ | Diagrams derived from code | approves | generate and update |
137
+ | **Rationale — why this shape** | **writes** | pose sharpening questions |
138
+ | Tradeoffs and constraints | owns | pose questions, cite evidence |
139
+ | Cross-reference table | approves | maintain |
140
+ | Change log and `last-updated` metadata | approves | maintain |
141
+
142
+ AI edits to a design-doc are only made inside a run. Every AI-proposed change lands in that run's `reference-updates` artifact and is accepted or edited by the human before it is applied. AHEAD does not permit background AI edits to durable references.
143
+
144
+ ## Runbooks
145
+
146
+ ### What one is
147
+
148
+ A `runbook` is a procedure a human executes when a specific operational condition occurs — an alert, a symptom, a scheduled event, a deployment step. Written to be usable under pressure.
149
+
150
+ A runbook is a how-to guide, not a reference. Contextual explanation belongs in a linked design-doc; per-alert action steps belong here. Google SRE calls the same artifact a "playbook"; the artifact is the same shape.
151
+
152
+ Not every operational note is a runbook. Environment variable listings, resource limits, and alert catalogs are reference material and belong in a design-doc chapter.
153
+
154
+ ### When to create or update
155
+
156
+ - Create when a Product Change introduces a new alert, deployment step, or operational condition that a human must handle.
157
+ - Update at the `implement` phase of any run that alters operational behavior. Log in `reference-updates`.
158
+ - Update after an Operational Stabilization run that revealed a diagnosis or mitigation not previously documented.
159
+ - Update after any postmortem that identifies missing or incorrect procedure. Link the postmortem.
160
+
161
+ ### Shape
162
+
163
+ Draw on [Google SRE Book](https://sre.google/sre-book/) chapters on on-call and effective troubleshooting. A useful minimum:
164
+
165
+ - Filename `docs/runbooks/runbook-<symptom>.md` or `docs/operations/runbooks/runbook-<symptom>.md`.
166
+ - YAML front matter:
167
+ ```yaml
168
+ ---
169
+ type: runbook
170
+ status: draft | current | deprecated
171
+ severity: [P1|P2|P3|P4]
172
+ alert: <alert identifier or none>
173
+ owning-team: <team>
174
+ last-updated: YYYY-MM-DD
175
+ related-designs: [<path>, ...]
176
+ ---
177
+ ```
178
+ - First heading `# Runbook: <Alert or symptom>`.
179
+ - Required sections: `Symptom`, `Severity and Impact`, `Diagnosis`, `Mitigation`, `Escalation`, `Rollback`, `Related`.
180
+
181
+ Lead with the symptom. Every diagnosis and mitigation step is executable — a command, a query, a specific console page, a specific decision. Prose belongs in the linked design-doc, not here.
182
+
183
+ ### Human-only and AI-assistable sections
184
+
185
+ | Section | Human owns | AI may |
186
+ |---|---|---|
187
+ | Symptom and alert description | approves | draft from monitoring configuration |
188
+ | **Severity and Impact** | **writes** (operator judgment) | ask clarifying questions |
189
+ | Diagnosis steps | validates each step | propose steps from code and prior incidents |
190
+ | **Mitigation steps** | **explicitly approves each** | propose candidates |
191
+ | Escalation contacts | approves | maintain from team directory |
192
+ | Rollback procedure | owns | propose from the deployment path |
193
+ | Related design-docs and decisions | approves | maintain link table |
194
+ | Postmortem links | approves | maintain |
195
+
196
+ Mitigation is high-consequence. AI may propose mitigation steps; the human on the run must explicitly approve each. AI-only mitigation is out of bounds regardless of how obvious the mitigation appears.
197
+
198
+ ## How runs interact with durable references
199
+
200
+ ### The `reference-updates` artifact
201
+
202
+ Product Change, Internal Improvement, and Operational Stabilization workflows require a `reference-updates` artifact during both `plan` and `implement` phases. It names:
203
+
204
+ - every decision-record the run creates or updates (including status/supersession changes);
205
+ - every design-doc the run creates or updates;
206
+ - every runbook the run creates or updates; and
207
+ - an explicit "none" when the run intentionally updates no durable reference.
208
+
209
+ The `plan` phase records the *intended* updates. The `implement` phase records the *actual* updates. Deviations between the two are recorded in `plan-deviations` like any other plan deviation.
210
+
211
+ An AI review that sees a code change without a corresponding `reference-updates` entry flags it. This is the primary mechanism AHEAD uses to keep durable references from drifting behind behavior.
212
+
213
+ ### Co-authoring during implement
214
+
215
+ An AHEAD run's session stays live from framing through outcome. During `implement`, a practitioner may ask the AI to:
216
+
217
+ - check whether an in-progress change is covered by the plan and flag gaps;
218
+ - draft the reference-layer sections of an affected design-doc based on the code change;
219
+ - draft diagnosis and mitigation candidates for a runbook affected by the change;
220
+ - log a plan-deviation as it occurs;
221
+ - answer questions with the full run context available (decision, plan, evidence, prior updates).
222
+
223
+ The human accepts, edits, or discards each AI-proposed update. The human-only sections named in the tables above are not drafted by AI on the human's behalf.
224
+
225
+ ### Review with full run context
226
+
227
+ The run remains open through review. The AI review phase reads the entire live run — decision-record, plan, plan-deviations, all `reference-updates`, changeset, tests, and evidence — and reports findings against that whole context, not the changeset alone. Reviewer findings remain snapshot-bound to the exact changeset fingerprint.
228
+
229
+ The independent human reviewer opens the same live run. The reviewer may query the run interactively ("why did we deviate at step 4?", "which design-doc changed here?") and receive answers from the record. The independent-review requirement is unchanged: reviewer must not be the implementer.
230
+
231
+ The run closes only at the outcome gate, and only when the accountable human explicitly closes it. There is no automatic close after time or after review.
232
+
233
+ ## What AHEAD does not standardize
234
+
235
+ Adopt [Diátaxis](https://diataxis.fr/) for these. Diátaxis distinguishes four modes — tutorial, how-to guide, reference, and explanation — by user need. Use its vocabulary to shape and separate:
236
+
237
+ - **Tutorials** — first-time learning experiences. Owned by the project.
238
+ - **How-to guides** not tied to an operational alert — for example, "how to add a new API endpoint" or "how to run the integration tests." Owned by the project.
239
+ - **User-facing product documentation** — everything the end user reads about the product. Owned by the project.
240
+ - **Contributor references** — repository layout, build system, lint matrix, local development setup. Owned by the project.
241
+ - **Coding-agent instructions** — project-specific AGENTS-file conventions and per-repo skill collections. Owned by the project. AHEAD provides only [recommended optional skills](recommended-skills.md).
242
+
243
+ AHEAD does not disclaim these because they are unimportant. It disclaims them because their shape is well established in the wider industry, and every project should adopt existing practice rather than have AHEAD reinvent it. A project may choose to keep decision-records, design-docs, and runbooks alongside its Diátaxis-shaped documentation. AHEAD only constrains the three durable classes.
244
+
245
+ ## Diátaxis anti-patterns — the soft nudge
246
+
247
+ Diátaxis identifies four common failure modes when documentation mixes modes. AHEAD's durable classes inherit them as review heuristics:
248
+
249
+ 1. **Reference contaminated with narrative explanation** — the design-doc reference layer becomes hard to scan. Split into reference and explanation sections.
250
+ 2. **How-to padded with tutorial-style context** — the runbook becomes too slow to execute at 3am. Move context into a linked design-doc.
251
+ 3. **Explanation written as procedure** — a design-doc's rationale reads as steps and rots when the steps change. Rewrite as argument, not sequence.
252
+ 4. **Tutorial that assumes prior knowledge** — not applicable to AHEAD's three classes but a common trap in the surrounding project docs.
253
+
254
+ These are conversational heuristics for review, not enforced fields. A reviewer who sees one of them says so; the implementer decides how to address it.
255
+
256
+ ## Style baseline
257
+
258
+ For prose in decision-records, design-docs, and runbooks, adopt the [Google developer documentation style guide](https://developers.google.com/style) as the default. It is freely available, comprehensive, and consistent with the terse-and-scannable tone AHEAD's classes require. A project may layer its own conventions on top; the Google guide sets the floor.
259
+
260
+ ## Rule of thumb
261
+
262
+ If a run's outcome will bind future work, it produces or updates a durable reference. If a run's outcome only affects itself, its record is enough. When in doubt, ask whether a future engineer, reviewer, or on-call responder would be worse off without the record; if yes, write the durable reference.
@@ -106,7 +106,7 @@ Reframe or seek evidence ─────────↺ FRAME / RESEARCH
106
106
  | Options | At least one human-originated option | Expand, combine, challenge, and propose alternatives | Options with provenance | Plausible option space is understood |
107
107
  | Compare | Interpretation of tradeoffs | Structure comparison and sensitivity analysis | Benefits, costs, risks, consequences, reversibility | Decision is ready for accountable judgment |
108
108
  | Decide | Selection, rationale, accepted tradeoffs, and dissent | Test rationale for inconsistency or missing consequence | Decision and rejected alternatives | Accountable human approves a specific revision |
109
- | Publish and revisit | Consequence check, communication, review trigger, revisit date, and linked work | Improve clarity, traceability, and proposed validation checks | Consequences, reversibility, review trigger, revisit date, and links | Decision is published and accepted as current |
109
+ | Publish and revisit | Consequence check, communication, review trigger, revisit date, linked work, and a durable decision record written in the project's ADR convention | Improve clarity, traceability, and proposed validation checks | MADR-shaped decision record with status, consequences, reversibility, review trigger, revisit date, and links | Decision record is written, communicated, and accepted as current |
110
110
 
111
111
  ## Decision evidence chain
112
112
 
@@ -153,10 +153,10 @@ Preservation and improvement are separate judgments. A failed invariant cannot b
153
153
  | Target | Quality to improve, success threshold, and tradeoffs | Suggest measures and unintended effects | Target quality and acceptance signal | Improvement can be evaluated |
154
154
  | Options | Initial approach and evaluation of alternatives | After the human first pass, expand alternatives, expose coupling, and challenge abstraction | Human option, AI challenge when used, and evaluated options | Viable approaches and tradeoffs are understood |
155
155
  | Decision | Selection, risk, confidence, and reversibility | Check the option against baseline, target, and invariants | Decision and rationale | Human approves the approach |
156
- | Plan | First-pass sequence, verification, and rollback | Find affected boundaries, migration needs, and missing tests | Plan and invariant checks | Human approves the final plan |
157
- | Implement | Engineering change and scope control | Bounded refactoring, explanation, tests, and mechanical assistance | Linked changeset and deviations | Change is ready for review |
158
- | AI review | Validate and disposition every material AI finding | Review the exact snapshot for hidden behavior changes, incidental complexity, tests, and plan alignment without modifying it | Snapshot-bound AI findings; separate human disposition | Every material finding is fixed, invalid, accepted risk, or follow-up with rationale |
159
- | Human review | Independent final judgment by someone other than the implementer about simplicity, coupling, risk, and preservation | Answer targeted questions and retrieve evidence | Current independent human review | Independent human reviewer accepts the current change |
156
+ | Plan | First-pass sequence, verification, rollback, and the durable references the run will touch | Find affected boundaries, migration needs, missing tests, and propose reference updates | Plan, invariant checks, and planned reference updates (decision records, design docs, runbooks, or explicit none) | Human approves the final plan |
157
+ | Implement | Engineering change, scope control, and the reference edits that record the change | Bounded refactoring, explanation, tests, mechanical assistance, and proposed reference-update drafts | Linked changeset, deviations, and actual reference updates | Change is ready for review |
158
+ | AI review | Validate and disposition every material AI finding | Review against the full open run decision, plan, plan-deviations, reference-updates, changeset, tests, and evidence without modifying the change | Review inputs enumeration, snapshot-bound AI findings, and separate human disposition | Every material finding is fixed, invalid, accepted risk, or follow-up with rationale |
159
+ | Human review | Independent final judgment by someone other than the implementer about simplicity, coupling, risk, and preservation, with the full open run available | Answer targeted questions and retrieve evidence from the live run | Current independent human review | Independent human reviewer accepts the current change |
160
160
  | Deploy or release | Authorization and rollout decision | Analyze readiness evidence within policy | Version, environment, actor, time, and result | The intended version reaches the target environment or deployment is explicitly not applicable |
161
161
  | Verify | Invariant preservation and target-quality comparison | Analyze measurements and suggest negative checks | Before/after and deployed-outcome evidence when applicable, plus invariant results | Invariants are evaluated and target-quality results are measured; an invariant failure routes to rollback, rework, or product-change reclassification |
162
162
  | AI audit | Disposition of findings and required response | Compare invariants, target, plan, reviews, deployment, and observed evidence; identify divergence or weak proof | AI audit findings; separate human disposition | The human disposer accepts the audit gate or reopens work |