Load the kernel whole and decide delegate routes at dispatch (5.0.1) - #127
Merged
Merged
Conversation
Release 5.0.1. The 5.0.0 kernel was 25,024 characters. Claude Code cuts Bash output above about 10,000 characters out of the middle, and agents usually load the kernel with cat, so routing, the brief contract, and custody went missing in field sessions. A second read is cut the same way. tracked-work.md was cut once as well. The kernel now keeps only the parts a frontier model cannot infer: trust, request grants, iteration, protected actions, owner decisions, custody, and completion. Method moves to the reference whose trigger fires at the act, or is deleted as a model default. At 9,614 characters it fits one host view even with line numbers, and every runtime Markdown file is gated at chars + 7 x lines <= 10,000 in scripts/check.py. Dispatch now sets each delegate's model and effort through host controls. An unset control still resolves to a default, often the parent's, and that is a routing decision held to the same test. The brief says whether a delegate may dispatch its own delegates, and at what route and bound, so nested fan-out no longer inherits the lead's route unseen. Reviewed by Claude subagents in three rounds, all findings confirmed and fixed. Codex review was not run, per owner instruction. Co-Authored-By: Claude Opus 5 <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
Release 5.0.1.
Observed defect.
cat.tracked-work.md(12,076 characters) was cut once.Change.
docs/decisions.md.references/delegation.md. Adds the nested fan-out rule.references/tracked-work.md. Compressed to fit one view.scripts/check.pyfails any runtime Markdown file underplugins/skiphow/whose numbered view (chars + 7 × lines) exceeds 10,000. The reopen condition is recorded indocs/decisions.md.docs/evidence.md, anddocs/prior-art.mdare updated.No owner interface, authority boundary, default side effect, public skill name, activation scope, or package layout changes.
Review
v5.0.0: 11 findings.Validation
scripts/check.py(391 tests)git diff --checkdocs/evidence.md)🤖 Generated with Claude Code