docs(prompt): add Orchestration disposition + Fleet design note (Track B / EPIC #3154)#3470
docs(prompt): add Orchestration disposition + Fleet design note (Track B / EPIC #3154)#3470Hmbown wants to merge 2 commits into
Conversation
Add a Tier-3 `## Orchestration` regulation that instills the orchestrator stance as a disposition, not as machinery. It unifies the existing Composition Pattern, Sub-Agent Strategy, Thinking Delegation, and Keeping the Plan Honest regulations into one stance: when the work outgrows a single context, you stop being a builder and become an orchestrator whose unit of work is the delegated, verified slice. Encodes only judgment (read the dependency shape; sequence vs. parallelize; match the worker to the work and re-route an unfit one; isolate parallel streams; never trust a worker's "done" before checking it against ground truth per Article II; keep the loop alive). Names no concrete mechanism so it stays substrate-agnostic. Keeps the small-obvious-task carve-out. Inserted after Composition Pattern and before Keeping the Plan Honest, so it reads as the lede of the delegation cluster. No counters, no author names. Structure and pinned-phrase tests unchanged and passing (constitution_md_carries_required_structure, base_prompt_carries_constitutional_preamble, constitutional_hierarchy_keeps_case_command_above_local_law). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Explain the split the Orchestration regulation depends on: the disposition (the model's judgment about when and how to delegate, sequence, and verify) versus Fleet (#3154/#3167/#3205 — the substrate that preconfigures worker roles, loadouts, and slots the orchestrator reaches for). Maps each orchestration behavior to its Fleet mechanism and shows how a FleetProfile lets a user pre-set the Codex-coder / Claude- resolver / design-panel / verifier loadouts an agent would otherwise improvise every turn. Forward-looking and honest about scope: the disposition stands on the current `agent` substrate today and lands durably on Fleet later; the note proposes no new constitution machinery and does not duplicate the Fleet schema owned by #3167/#3205. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @Hmbown's task in 1m 55s —— View job PR #3470 Review — Orchestration Disposition + Fleet Design Note
SummaryMarkdown-only change (+31 lines to The maintainer's gate question is the right one: is this disposition what you want instilled? The analysis below is intended to help that decision, not replace it. What works wellConstitution text
RFC
Items worth the maintainer's attention before merging1.
2. RFC open question (line 130-132) — delegation depth not surfaced in the constitution The RFC correctly flags:
The current constitution text has no signal that a ceiling exists. A model reasoning from this regulation alone could spawn an orchestrator sub-agent that itself becomes an orchestrator and spawns further, unboundedly. If the PR merges as-is, this gap stays open until Fleet has a concrete depth cap. That's acceptable given the "forward-looking" status, but worth noting the constitution may need a follow-on amendment once the Fleet ceiling is defined. 3. RFC, line 103-104 — slot names that read as model identifiers
4. Cross-reference style asymmetry (minor, no action needed)
Test coverageThe PR claims all 82 prompts tests pass. The critical structural tests ( VerdictClean addition that integrates naturally with the existing text. Items 1 (the The philosophical question — whether CodeWhale's constitution should name this disposition explicitly — is the maintainer's call. The implementation of that call, if taken, is sound. |
Do not merge — maintainer's to bless
This is a constitution philosophy change, and that belongs to the maintainer.
It is left UNMERGED on purpose. Please read the
## Orchestrationprose belowand decide whether the disposition is one CodeWhale should instill. Nothing here is
a bug fix or a blocker; it is a values change to the agent's character.
What this does
Adds a Tier-3
## Orchestrationregulation to the constitution plus a shortFleet design note. The thesis is "trust the model": metacognition belongs to
the model. A CodeWhale agent that meets work larger than one context should reach
for the sub-agent / Fleet substrate as a disposition — not because hardcoded
machinery forces it to.
This came from an observed behavior: an agent spontaneously orchestrated a large
multi-track build, delegating to sub-agents across git worktrees, keeping its own
context for deciding and verifying, refusing to trust a worker's "done," and
keeping a living backlog so the loop never stalled. The goal is to instill that
stance naturally rather than encode it as a state machine.
The regulation unifies four existing regulations into one stance rather than
adding new rules — it cross-references Composition Pattern, Sub-Agent Strategy,
Thinking Delegation, and Keeping the Plan Honest instead of duplicating them.
Two commits
docs(prompt): add Orchestration disposition to the constitutiondocs(rfc): add Orchestration-and-Fleet design noteAnchor
Inserted in
crates/tui/src/prompts/constitution.mdinside## REGULATIONS (Tier 3),immediately after
## Composition Pattern for Multi-Step Workand before## Keeping the Plan Honest— so it reads as the lede of the delegation cluster.The proposed
## Orchestrationprose (in full)Notes on craft: terse, aphoristic, second-person; the gear-shift framing mirrors
Article VIII Inquiry ("you are no longer building — you are investigating");
no counters, no "at step N," no influence/author names; keeps the
small-obvious-task carve-out; ties behavior to Article II (the verify-floor) and to
Keeping the Plan Honest by reference, not duplication.
The Fleet connection
docs/rfcs/ORCHESTRATION_AND_FLEET.mdseparates the two halves so neither swallowsthe other:
from builder to orchestrator, how to slice and sequence, how to match a worker to
its work, the verify-floor. It names no concrete mechanism, so it stays
substrate-agnostic.
#3154(execution: durable worker lifecycle, ledger,receipts),
#3167(profiles:FleetProfile/FleetRole/FleetSlot/FleetLoadout, including anorchestratorrole), and#3205(loadouts: thestrong/balanced/fastmodel classes and semantic route roles). This is thelayer that preconfigures the worker roles and loadouts an agent currently
improvises every turn.
A
FleetProfilelets a user pre-set the team an agent would otherwise improvise —e.g. a
codex-coderbuilder slot, aclaude-resolverslot for merge/conflict work,a read-only
design-panelreviewer slot, and averifierslot wired to a scorer ora fresh-context verify pass. The disposition still decides whether and how to
delegate this turn; the profile decides what a delegated worker is made of. This
maps closely to Article IV (Legacy): "A principle may name the duty; mechanism
carries it." Orchestration is the principle; Fleet is the mechanism.
Verification
cargo test -p codewhale-tui --binsconstitution/prompts suite: 82 promptstests pass; the load-bearing structure and pinned-phrase tests pass explicitly —
constitution_md_carries_required_structure,base_prompt_carries_constitutional_preamble,constitutional_hierarchy_keeps_case_command_above_local_law,constitution_has_no_separate_personality_tier(re-run green after rebasing ontothe current
origin/maintip).constitution.md+31 lines; new RFC). No Rust touched, socargo fmtis not applicable.Track B / EPIC #3154.
🤖 Generated with Claude Code