refactor(doctrine): thin kernel S2-6 to a pointer (full protocol in docs/orchestration.md)#15
Merged
Merged
Conversation
Replace the Multi-Agent Protocol body in AGENTS.md and .cursorrules with a compact Option-B stub: the irreducible chain (Planner first as a real subagent -> scoped manifests -> cross-talk check -> Staff Engineer PASS/FAIL, max 2 cycles) plus a pointer to docs/orchestration.md, where the full S2-6 protocol already lives unchanged. Both kernel copies get the byte-identical region. Saves ~0.8 KB always-on. S0/S1, S7-S10 untouched.
README always-on kernel claim ~11 KB -> ~10 KB (AGENTS.md now 9.67 KB); add CHANGELOG [Unreleased] entry for the S2-6 pointer thinning.
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.
What
Thin the always-on Maestro kernel: replace the S2-6 "Multi-Agent Protocol"
body in
AGENTS.mdand the self-contained.cursorruleswith a compactstub plus a pointer to
docs/orchestration.md, where the full protocolalready lives unchanged.
Why
The full S2-6 protocol is loaded on demand from
docs/orchestration.md;keeping a ~20-line copy in the always-on kernel was redundant token cost. The
stub keeps the irreducible chain so any subagent/runtime that has NOT loaded
docs/orchestration.mdcan still act on a multi-agent verdict.Changes
AGENTS.md+.cursorrules: S2-6 body -> Option-B stub (Planner first as areal subagent -> scoped manifests -> cross-talk check -> Staff Engineer
PASS/FAIL, max 2 cycles -> orchestrator never plans/codes/reviews) + pointer.
The new S2-6 region is byte-identical across both files (one source of truth).
README.md: always-on kernel-size claim ~11 KB -> ~10 KB (AGENTS.mdnow9.67 KB).
CHANGELOG.md:[Unreleased]entry.S0/S1andS7-S10are untouched.docs/orchestration.mdis unchanged.Size
AGENTS.md10296 -> 9899 B (-397);.cursorrules10205 -> 9769 B (-436);~0.8 KB always-on saved across both kernel copies.
Verification
npm test: all suites passed.npm run lint: 0 errors.docs/orchestration.mdcompleteness confirmed: every S2-6 item (Planner realsubagent; manifest fields ROLE/TASK/FILES/OUTPUT/ACCEPT/TOOLS; cross-talk
check; Staff PASS/FAIL max 2 cycles; orchestrator never plans/codes/reviews)
is still present there.
verifier (conditions a-e PASS), and a behavior falsifying check (the
post-change stub alone is enough to reach a multi-agent verdict and spawn a
Planner).
Harness surface (always-on kernel) -> PENDING_REVIEW per Maestro S10.