feat: require Controller Handoff plus Thread State Ledger (Closes #507)

Add two-comment workflow validation with tagged [CONTROLLER HANDOFF] and
[THREAD STATE LEDGER] templates, fail-closed comment posting gates, final-report
rules, worked examples, and documentation for precise server-side vs local state.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
2026-07-08 03:47:06 -04:00
co-authored by Claude Opus 4.8
parent eff4572a91
commit 3b499cec2a
2 changed files with 125 additions and 2 deletions
+2 -2
View File
@@ -788,8 +788,8 @@ The ledger must include a **blocker classification** from:
`process/rule blocker`, `queue/lease blocker`,
`duplicate/canonicalization blocker`, `no blocker`.
Templates and worked examples:
[`examples/two-comment-workflow-examples.md`](examples/two-comment-workflow-examples.md).
Templates: [`two-comment-workflow.md`](two-comment-workflow.md).
Worked examples: [`examples/two-comment-workflow-examples.md`](examples/two-comment-workflow-examples.md).
Validation: `thread_state_ledger_validator.py` checks tagged comments at post
time (`gitea_create_issue_comment`) and tagged final reports via