Require and validate Controller Handoff sections in workflow final reports (Issue #182) #186
Labels
Clear labels
allocator
anti-stomp
architecture
bug
chore
codex
concurrency
contamination
control-plane
dashboard
database
design
documentation
enhancement
gitea
glitchtip
important
incident
incident-bridge
integration
jenkins
labels
leases
mcp
mcp-health
mcp-menu
multi-project
mutating
nice-to-have
observability
portability
preflight
protected-branch
queue
read-only
reconnect
recovery
refactor
release
reliability
resumable-review
reviewer
roadmap
safety
security
self-hosted
sentry
stale-runtime
status:blocked
status:in-progress
status:pr-open
status:ready
terminal-lock
testing
tracker
type:bug
type:feature
type:feature
type:guardrail
visibility
workflow
workflow-hardening
workflow-hardening
Controller-owned work allocator
Prevent concurrent LLM session stomping
Architecture / structural design
OpenAI Codex client / workflow session surface
Concurrent session safety
Workflow or session contamination incident
MCP control-plane coordination and allocation authority
MCP operational dashboard/queue view
Internal coordination storage (SQLite/Postgres)
Design / investigation, no implementation
Docs / runbooks
New feature or improvement
Gitea MCP workflow
GlitchTip integration
Operational or process incident requiring durable audit trail
Sentry-to-Gitea incident bridging
Integration testing
Jenkins integration
Label taxonomy management
Lease adopt/release/expire lifecycle
MCP server / tooling
MCP namespace and runtime health
MCP menu surface
Work spanning multiple monitoring projects or Gitea repos
Mutating action; requires gating
Observability, metrics, traces, error reporting
Cross-platform / portability
Shared preflight gates before mutation
Protected branch / stable-branch policy concern
Work queue visibility and allocation
Read-only, no mutation
MCP client reconnect/reload recovery path
Recovery paths for stale/foreign leases
Code refactor / restructure
Release / versioning
Reliability / failure handling
Persist and resume prepared review verdicts across sessions
Reviewer workflow tooling
Roadmap / umbrella issue
Safety rails and fail-closed mutation guards
Security / trust boundary
Self-hosted infrastructure integration
Sentry error monitoring integration
Stale backend daemon / runtime-vs-master parity failures
Issue is blocked
Issue is being worked on
Issue has an open pull request
Issue is ready for work
Terminal review lock (#332) path
Tests / test coverage
Issue tracker hygiene / meta
Bug or defect
Feature or enhancement
Feature or enhancement
Safety gate or guardrail
Workflow state visibility for LLMs/operators
Cross-tool workflow
LLM workflow coordination hardening
LLM workflow coordination hardening
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Scaled-Tech-Consulting/Gitea-Tools#186
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements issue #182: every LLM workflow final report must end with a compact section titled exactly
Controller Handoff, validated by a proof helper that downgrades reports missing it.Changes:
skills/llm-project-workflow/SKILL.md§K — compact format upgraded to the #182 canonical field set (Task, Repo, Role, Identity, Issue/PR, Branch/SHA, Files changed, Validation, Mutations, Current status, Blockers, Next, Safety) plus role-specific field lists for review/merge, author, and queue/inventory tasks; exact-title requirement and validator reference documented. Long format untouched.review-pr.md,merge-pr.md,start-issue.mdhandoff lines now require the exactly-titled section with their role fields (start-issue covers the author PR-creation flow; no queue-inventory template exists, per issue "if present").review_proofs.py— newassess_controller_handoff(report_text, role=None): 'missing' (no exact section → downgraded), 'incomplete' (missing fields listed → downgraded), 'complete'; role extras enforced for review/author/inventory.tests/test_review_proofs.py—TestControllerHandoff, 8 tests: missing-section downgrade, wrong-title downgrade, complete base pass, missing-field listing, per-role enforcement (review/author/inventory), and a SKILL.md doc-contract test.The handoff supplements the full report — full-report validation rules (exact validation results, mutation confirmation) are unchanged.
Validation at head
bd6cbe287b3e86f22547bf1770a272a509c63f7a(branchfeat/issue-182-controller-handoff-enforcement, basemaster@64dc334a):PYTHONPATH=. venv/bin/python -m pytest tests/test_review_proofs.py -q→ 43 passed (was 35; +8)PYTHONPATH=. venv/bin/python -m pytest tests/ --ignore=branches -q --junitxml=…→ 683 passed, 6 skipped; junitxml corroboration: tests=689 failures=0 errors=0 skipped=6python3 -m py_compile review_proofs.py tests/test_review_proofs.py→ OKgit diff --check(staged) → cleangrep -iE 'token |Bearer |password|secret_|api_key|ghp_|keychain'over staged diff → cleanFiles changed: 6 (+272/−12).
LLM Handoff Metadata:
Closes #182
Co-Authored-By: Claude Fable 5 [email protected]
bd6cbe287bto45c5cac2bcPR #186 is correct and all required checks pass. The implementation implements Gitea-Tools Issue #182 requirements perfectly, adds the validator and test cases, and updates the LLM project workflow guides and templates.
PR #186 is correct and all required checks pass.