Repository navigation
Open the Leaf skill with its core principles - #1866
Merged
Merged
Conversation
SKILL.md now opens with five one-sentence principles: responsive, playable, visual, current, and personalized. Responsiveness leads, stated as the user's first priority ahead of the work itself. Each principle's narrower guidance stays in a section below Operate, in the list's order: a new "Stay responsive" section replaces the closing paragraph of "Keep the user current", and "Follow the user's preferences" takes the memory rule that sat in the opening paragraph. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 6, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 6, 2026
…points (#1884) In a `leaf-dev journey codex` run on a stamped page, Codex read "Operate", step 3, as a check owed before every reply. Before answering a one-line heading edit it ran `leaf page check --render`, a browser review and a stamp, so the reply took 65–125 s. Claude Code ran only `leaf page check` and replied in about 8 s. Step 3 of `skills/leaf/SKILL.md` now says that a revision answering a user's message needs only `leaf page check` before the reply, even on a record, because each valid save is already live on the user's page. A record is stamped again, with its render check and reading, at a checkpoint the user would name, such as sign-off, and wherever a reference requires a stamped version, as taking in an answer to a page Ask does. Step 3 is the rule's only home. `conversation-loop.md` ("When to write") and `page-checkpoints.md` ("Stamp checkpoints") point to it. The new eval case `record-reply-before-its-stamp` gives a stamped triage board one heading comment and then a sign-off message. It passes only if the first turn replies after `leaf page check` alone and the sign-off turn runs the render check and then stamps. Results against main at bb97a28, after #1866 restructured the skill's opening: | Harness | main | this change | | --- | --- | --- | | Claude Code | 0 of 3 | 3 of 3 | | Codex | 0 of 3 | 3 of 3 | The final wording of the stamp sentence scored 2 of 2 on both harnesses, and `task-outlasts-the-turn`, the other case that stamps, passed 2 of 2 on both arms. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 13, 2026
…hoosing it gives (#2777) A next-steps page for the floating panel (session e8a66e47) put three asks to the user as tag, title and sentence cards: which of eight work items to take, where key hints go, and whether a working status shimmers or the leaf breathes. Nothing in them showed the panel, the hints or the motion. The user asked for images, diagrams or sketches, and for the fix to sit above "always include images", since images don't always fit. The guidance already asked for pictures, in a list of subjects that "have a shape" that four earlier fixes (#1152, #1477, #1866, #2643) each extended by a case. An agent that classes its subject outside the list writes words: here a list of work items and a motion policy. Replaying the session on main's guidance drew the arrangement asks every time but left the motion ask in words in 3 of 7 runs, and accept-or-reject asks in words throughout. In this session the skill body in context also routed asks to `authoring-questions.md`, renamed since, so the agent never read the asks reference. The gate goes, replaced by the goal it approximated: - `SKILL.md`: the Visual principle becomes Concrete. The page puts the thing itself in front of the user wherever they judge it, in the form it takes: an interface as it looks, a behavior running, a proposal sketched, a numeric relationship as a chart, wording as the text itself. Whatever the user would have to picture from the agent's words, it shows; each option shows what choosing it gives. Words carry the claim, the reason and the cost. - `page-authoring.md`: "Draw the subject" becomes "Show the subject", organized by the form each kind of thing takes rather than by which subjects qualify, with wording and code shown as text. A work item that fixes a visible fault shows the fault. - `authoring-asks.md`: each option shows what choosing it gives the user, a piece of work to take on included: today beside the change, in the form the work takes (a capture of a visible fault, the code or data before and after), and a wording choice shows each wording. - `lf-option`: the description and instructions say the same, with a behavior difference shown working rather than captured. The `lf-ask` example, the one text-only option example agents copied, now draws each policy's document list. Replays of the source session (the transcript cut before the request, each arm's SKILL.md in place of the recorded body, the repository at each commit; the sandbox blocked serving and screenshots in both arms): main showed what was at stake inside 13 of 27 asks, this change inside 24 of 34; the motion ask was shown in 4 of 7 runs on main and 8 of 8 here. Neither arm showed the faults in a list of fixes it decided itself. Cold probes: the arrangement case drew every option on both arms (5 of 5 here), the wording guardrail kept every option words on both (5 of 5 here), and `visual-change-uses-captures` and `proposals-show-what-they-change` passed 2 of 2 here (main failed the wording guardrail once). A cold motion probe showed the motion on both arms 3 of 3, so the difference appears only in a long session's context and no new case is added. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
skills/leaf/SKILL.mdnow opens with five one-sentence core principles: responsive, playable, visual, current, and personalized. Responsive comes first, stated as the agent's first priority, ahead of the work itself. Each principle's narrower guidance is in a section below Operate, in the same order as the list.A new "Stay responsive" section replaces the closing paragraph of "Keep the user current". When input arrives, the agent shows the user at once that it has the input and what it will do, or answers when no work is needed. Work that would hold up the next message goes to background workers. A new "Follow the user's preferences" section takes over the rule about saving a preference meant for every page in the harness's memory, which used to sit in the opening paragraph. "Leaf soul" (playable), "Page contract" (visual), and "Keep the user current" (current) carry the detail for the other principles.
Why: measured with
leaf-dev journey, after a user's comment Claude Code's thread showed no sign of the agent for about 4–7 s, and Codex replied after 65–125 s, because agents did the work before answering. In a one-run trial, guidance telling the agent to answer first cut Claude Code's time to a first visible sign from 7.0 s to 4.5 s.Evals (Claude Code, main vs. this branch, one run each): five cases passed on both versions:
document/idle,document/mid-turn,work-names-its-item,task-outlasts-the-turn, andnumeric-grid-shows-shape. None told the versions apart. On both versions the model's safeguards blockedclaude-hook-reader-ack, so it ran on neither.