Skip to content

Make SOUL.md the canonical source of Leaf principles - #2989

Merged
max-sixty merged 1 commit into
mainfrom
codex/package-interface
Oct 15, 2026
Merged

max-sixty merged 1 commit into
mainfrom
codex/package-interface

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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 root SOUL.md as 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.

This was written by Codex on behalf of max-sixty

@max-sixty
max-sixty merged commit ddc881b into main Oct 15, 2026
3 checks passed
@max-sixty
max-sixty deleted the codex/package-interface branch October 15, 2026 06:48
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_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants