Repository navigation
Say in /developing-leaf that what one Leaf module writes for another is not input - #2556
Merged
Merged
Conversation
…is not input Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 12, 2026
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.
Most of what the complication-weight sweep cut (#2500, #2507, #2555) was a reader re-checking a value another Leaf module produced, as if it came from outside: the browser re-validating the server's answers, the Worker the manifest its own build wrote, Python the rules admission already enforced. AGENTS.md's "Validate once and share readings" names the boundaries but not which seams aren't one. This adds that to "Let the agent correct its own input" in
/developing-leaf, with the one exception (records an older Leaf left in the state home) and the matching rule for recovery from states no Leaf writer produces.Scored before landing (scratch A/B, the section with and without the paragraph,
claude -pwith no tools): both arms passed every case, so the paragraph shows no measurable change on cold prompts — a browser reader of a server answer (7/7 each arm, with and without the user's global instructions loaded), the same reader written beside a neighbour that over-validates (8/8 each), an unproducible-state recovery (3/3 each, "leave"), and a control where a package-supplied anchor identity should keep its check (3/3 each, "refuse"). The control shows the rule doesn't over-apply. It lands as the statement reviewers and later sweeps can cite; the defensive code it describes accumulated in incident fixes the cold cases don't reproduce.