Repository navigation
Make SOUL.md the canonical source of Leaf principles - #2989
Merged
Merged
Conversation
leaf-agent
approved these changes
Oct 15, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 28, 2026
…e whole page up to date (#4609) Agents leave answered decisions open on Leaf pages. Across the 85 pages on one machine with answered `lf-options` groups, a third of them (126 of 393) were still open on their page's final revision, at the same rate before and after October 14 (33% and 32%). 125 of those 126 had `chosen` written in. A pick's delivery told the agent to "do it, write the answer into the markup, and stamp a version", and agents did exactly that. The step that turns the question into a record (`settled`, with what came of it) lived only in `authoring-revisions.md`, and whether a session read that file made no difference (64% of decisions retired with it, 63% without). - **The pick's delivery** (`browser/runtime/kernel-registry.json`): once the work is done, the question becomes a record of the decision, such as a choice group marked `settled` with what came of it beside it. - **SKILL.md, "Keep the user current"**: states the goal again instead of only pointing at the reference. When work lands or a decision is acted on, the agent rereads and brings the whole page up to date: acted-on decisions become settled records, finished work shrinks to its outcome, superseded material goes. #906 put this in SKILL.md for the same failure, and #2989 cut it to the pointer. New eval `decision-record-after-its-work` replays session e39862cf's page at the minute its PR merged, with the pick's real delivery. A variant replays a pick that keeps today's behavior, so it needs no work. On Claude Code: | Metric | Before | After | | --- | --- | --- | | The decision whose PR just merged is settled | 0/4 | 4/4 | | A no-work pick is settled in the same revision | 0/4 | 4/4 | | Decisions applied hours earlier are settled (SKILL.md change) | 0/4 | 6/6 | The still-open question and the pick whose work hadn't finished stayed untouched in every arm. Codex passes every metric with either SKILL.md, 3/3 per arm on both prompts (the prompts carry the new delivery wording), so the gain is on Claude Code. `answer-settles-what-it-carried`, `record-reply-before-its-stamp` and `important-page-reviewed-at-checkpoints` pass on both arms. > _This was written by Claude Code on behalf of max-sixty_
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.
Keep Leaf’s human-approved purpose and principles in one document, replacing the duplicated principles in the maintainer instructions and Leaf skill. Both entry points explicitly direct agents to read it; the revision reference also points to the canonical principle.
The sole regular file lives at
skills/leaf/SOUL.md, with rootSOUL.mdas a relative symlink. This keeps the text available in full plugin installations, prepared distributions, and evaluation payloads without adding a generated copy or harness-specific import mechanism.Validation: Astra reviewed the five-file change; four existing instruction-routing/plugin tests pass; payload extraction and installation-copy checks verify the read paths and exact approved text; pre-commit passes. No runtime or test code changes.