4 KiB
Delegation Readiness Doctor
Turn Hermes delegation from an assumed capability into a provable readiness surface.
Outcome
narrow week-one claim: confirm the live delegation-readiness gap, then replace it with one canonical audit-to-fix path that ends in a successful delegated run.
Who this is for
- Hermes operators
- AI builders using subagents for parallel work
- anyone who loses leverage because delegation looks available until it silently fails
Current live wedge
The original wedge was a stubbed delegation readiness check. That gap is now closed in live code:
tools/delegate_tool.pynow implementscheck_delegate_requirements()via a real config-aware readiness checkhermes_cli/doctor.pynow exposes a canonical◆ Delegation Readinesssection
This starter kit now packages the proof line, not just the kickoff gap, so the ship claim stays honest after implementation lands.
Canonical proof path
- treat
scripts/verify-current-gap.shas the historical kickoff verifier for the original stubbed-check gap - run
python -m hermes_cli.main doctorand confirm◆ Delegation Readinessreports the live state - run
scripts/prove-broken-state-roundtrip.shto prove blocked → ready from an isolated temporaryHERMES_HOME - run one real
delegate_taskproof from the live ready environment - freeze the ship/package decision in a durable artifact
Folder layout
scripts/verify-current-gap.sh— current-gap verifier that writes a durable reportscripts/prove-broken-state-roundtrip.sh— isolated blocked→ready doctor roundtrip proof that leaves the real~/.hermes/config.yamluntouchedartifacts/latest-current-gap-report.md— most recent proof packet emitted by the gap verifierartifacts/latest-broken-state-roundtrip.md— canonical blocked-state proof packet with before/after doctor outputscripts/refresh-upstream-blocker-packet.sh— one-command PR blocker refresh that distinguishes stale-base drift from pure workflow approvalartifacts/latest-upstream-blocker-refresh.md— canonical live PR blocker packet with state signature + change-vs-previous marker
Fast start
From the Hermes repo root:
python -m hermes_cli.main doctor
bash starter-kits/delegation-readiness-doctor/scripts/prove-broken-state-roundtrip.sh
Historical kickoff verifier:
bash starter-kits/delegation-readiness-doctor/scripts/verify-current-gap.sh
Expected results right now:
python -m hermes_cli.main doctorincludes◆ Delegation Readiness- the roundtrip verifier exits successfully, writes a timestamped markdown report under
starter-kits/delegation-readiness-doctor/artifacts/, and printsBROKEN_STATE_ROUNDTRIP_PROVED - the historical gap verifier now exits non-zero because the original unconditional-stub gap is no longer present
That failure is honest evidence that the MVP moved past the kickoff gap and should now be judged on the readiness + roundtrip + delegated-run proof line.
Honest Monday artifact freeze
What is now frozen on disk:
- the product thesis and scope
- the exact live blocker to attack first
- one executable verifier entrypoint that proves the blocker is real
Week-one non-goals
- full delegation UX redesign
- multi-provider credential orchestration cleanup
- dashboard/control-plane expansion
- claiming delegation is fixed before one real delegated run passes
PR handoff monitoring
When the MVP is already open as a PR, use the blocker packet instead of freehand status checks:
bash starter-kits/delegation-readiness-doctor/scripts/refresh-upstream-blocker-packet.sh
Expected behavior:
- prints
UPSTREAM_BLOCKER_PACKET_REFRESHEDonly when the live blocker signature actually changed - prints
UPSTREAM_BLOCKER_PACKET_UNCHANGEDon timestamp-only reruns - marks stale-base drift explicitly when the PR falls behind
origin/main - keeps workflow approval as the blocker only when the branch is current and check suites are still
action_requiredwith0real check runs