Add Manager/Worker orchestration design decision entry#42
Open
gering wants to merge 1 commit into
Open
Conversation
Design/spike output for the coordinated Manager/Worker model: - Gate verdict (verified live, herdr 0.7.0): agent_status is pollable for agent-start tabs (idle|working|blocked|done), hook-integration-based; agent read returns clean TUI text. Resolves the previously-UNVERIFIED agent-status flag. - Cross-agent constraint: workers may be claude/codex/grok; only claude+codex are hook-integrated (status + session UUID), grok is TUI-scrape-only. git/PR state is the one uniform bus; the contract is agent-agnostic. - The .mailbox/ protocol: outbox+inbox (single-writer, single-sequencer), offset-drain, Claude Code hook push (Stop/SessionStart/Notification), herdr idle-wake as the only residual push. - Milestone-defined worker autonomy, deterministic merge sequencer, roadmap-as-derived-view co-equal with the GH board. Spawns 7 implementation task files (local backlog): add-lane-registry, add-lane-mailbox, add-manager-watch-loop, extend-worker-autonomy, add-merge-sequencer, add-roadmap-skill, add-mailbox-statusline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
main: one decision knowledge entry (an ADR). The 7 spawned implementation tasks live in the local, untracked backlog (tasks/*.mdby convention) — not in this PR.agent_statusIS pollable for agent-start tabs (idle|working|blocked|done), hook-integration-based;agent readreturns clean TUI text — resolving the previously-UNVERIFIED agent-status flag.Changes
+.claude/knowledge/architecture/manager-worker-orchestration.md— the decision record: the Manager/Worker/Lane model (identity = worktree path), the cross-agent constraint (workers may be claude/codex/grok; only claude+codex are hook-integrated → git/PR is the one uniform bus, contract is agent-agnostic, claude-first), the.mailbox/protocol (outbox+inbox single-writer, offset-drain, Claude Code hook push, herdr idle-wake as the only residual push), milestone-defined worker autonomy, the deterministic merge sequencer, and roadmap-as-derived-view co-equal with the GitHub board.~.claude/knowledge/_index.md— index the new entry.Readiness
scripts/check-structure.py) — 0 errorsmain(da19bee)Test plan
python3 scripts/check-structure.pystays greenskill-composition,idempotent-scaffolding,herdr-kickoff-automation,herdr-tab-glyphs)🤖 Generated with Claude Code