Skip to content

fix(kanban): require verifier evidence for worker completion - #21925

Closed
camaragon wants to merge 11 commits into
NousResearch:mainfrom
camaragon:fix/autonomy-verifier-gate
Closed

fix(kanban): require verifier evidence for worker completion#21925
camaragon wants to merge 11 commits into
NousResearch:mainfrom
camaragon:fix/autonomy-verifier-gate

Conversation

@camaragon

Copy link
Copy Markdown
Contributor

Summary

  • require verifier evidence before dispatcher-owned worker tasks can complete
  • record auditable completion_blocked_weak_verification events on weak closes
  • update kanban_complete guidance/errors so workers provide metadata.verification.checks

Verification

  • python -m pytest tests/hermes_cli/test_kanban_core_functionality.py tests/hermes_cli/test_kanban_cli.py tests/tools/test_kanban_tools.py tests/hermes_cli/test_kanban_db.py -q -o 'addopts=' → 286 passed, 2 warnings
  • git diff --check → clean
  • python -m py_compile hermes_cli/kanban.py hermes_cli/kanban_db.py tools/kanban_tools.py tests/hermes_cli/test_kanban_db.py tests/hermes_cli/test_kanban_core_functionality.py tests/tools/test_kanban_tools.py → clean
  • simple diff secret scan → 0 matches

Notes

@camaragon
camaragon force-pushed the fix/autonomy-verifier-gate branch from 7f86a93 to 82fb7ee Compare May 8, 2026 15:16
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins labels May 8, 2026
@camaragon
camaragon force-pushed the fix/autonomy-verifier-gate branch from c0323e5 to ee0cd96 Compare May 11, 2026 13:50
@teknium1

Copy link
Copy Markdown
Contributor

Thanks @camaragon — closing this one. The PR proposes a substantive policy: dispatcher-spawned worker tasks would be blocked from completing without a metadata.verification.checks field, with auditable completion_blocked_weak_verification events on weak closes.

This is a behavioral policy decision that's bigger than a mechanical salvage:

  • It changes the worker completion contract — every existing kanban worker prompt and skill would need updates to know it must populate the verification metadata, or completions would start failing.
  • Stacked on top of fix(kanban): gate autonomous dispatch by governance headers #21914 (governance dispatch gates) which is itself not merged.
  • 442 LOC across 20+ files including auth, doctor, codex_app_server, gateway, kanban — too cross-cutting to salvage without deciding the underlying policy first.

If verifier-gated completion is something we want to add, it deserves a focused, narrow PR against current main with the policy boundaries clearly specified (which tasks does it apply to, what counts as 'evidence', what's the migration story for existing workers). Appreciate the careful design work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants