Repository navigation
Conversation
The deck kept a mouse press from focusing Back, Reply or forward, so a pressed control couldn't keep a focus frame the others lacked. Since #4323 a role-built control draws its frame only when reached by key, so the press handler bought nothing. A pressed control now takes focus as every other Leaf control does, still without a frame; Tab from it shows one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The lf-ask entry and authoring-on-me.md described an lf-ask holding no answering widget as a question the user answers in words, a second way to do what a thread message with --obligation already does. The user asked that Leaf not encourage that form, and never require an lf-ask to put a question on On me. The entry now describes lf-ask as the frame around widgets that ask, and sends a question in words to --obligation. The assessment case's rubric no longer says a thread registers a question only through an lf-ask. words-question-takes-a-thread scores it: at 57a2881 base wrote a bare lf-ask for a free-text question in 6/6 runs (Claude Code and Codex); the candidate used --obligation in 6/6. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # dist/kernel/kernel.json
…et has one Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
leaf-agent
reviewed
Oct 27, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
Nested question frames are now rejected even when they contain an answering widget; the inline finding describes the validation mismatch.
…me isn't empty Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # dist/kernel/kernel.json # dist/kernel/leaf.js # dist/kernel/runtime/bundle-data.js
leaf-agent
previously approved these changes
Oct 27, 2026
# Conflicts: # dist/kernel/kernel.json # dist/kernel/runtime/widget-api.js
leaf-agent
previously approved these changes
Oct 27, 2026
# Conflicts: # dist/kernel/kernel.json # dist/kernel/runtime/bundle-data.js # dist/kernel/runtime/widget-api.js
leaf-agent
approved these changes
Oct 27, 2026
This was referenced Oct 28, 2026
leaf-agent
added a commit
that referenced
this pull request
Oct 28, 2026
The photo-question seeds in the feature and thread-panel galleries still used prose-only `lf-ask` markup after #4366 made it a frame for answering widgets. Both seeds now put the same question in their message text with `obligation: true`, so the question remains on On me after the later agent reply without weakening validation. On screen, the question moves into the message above its photo and uses the message's Waiting on me state. The existing seed-admission test now submits messages carrying obligations as well as markup through `thread reply`, including their actual text. It failed on current main, then exposed the second gallery's identical failure after the first seed was corrected; it passes with both fixes. The focused reply-declaration and question-settlement tests also pass (3 tests total). Python compilation and `git diff --check` passed; Ruff was unavailable in this environment. Closes #4455 — automated triage Co-authored-by: leaf-agent <[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.
Leaf had two ways to ask the user a question answered in words: an agent thread message with
--obligation, and anlf-askholding no answering widget, which was itself an obligation answered by the user's next message in its thread or a comment anchored inside it. The maintainer asked that Leaf not encourage the second form and never require anlf-askto put a question on On me. This removes it, so--obligationis the one way to ask in words. Follow-ups to lf-deck (#4331) ride along.lf-askframes, and never askslf-askdeclares a new registry key,x-encloses: true, instead ofx-awaits: {reply, encloses}. A frame gives the widgets inside it their heading and arrival, and asks nothing itself.x-awaitsnow always namesvalueandanswered;replyandenclosesare gone from its fields.page checkand message markup refuse anlf-askthat holds no asking widget (empty-question), and the finding now points to--obligation. A widget counts inside every frame around it, so an outerlf-askholding only an inner one that asks is not empty; the nearest frame still gives the obligation its prompt and arrival.obligations.replied,holds_obligationsand the page loop that settled a bare ask from a comment are deleted;answered_in_words(record)is true only for a message's obligation, and theregistryparameters that only fed it (waiting_about,queues) are dropped. The runtime'sansweredInWordsmatches.executeCommandexport only it used.Shipped instructions
The
lf-askentry andauthoring-on-me.mdno longer teach the widgetless form; the entry sends a question in words to--obligation. A new eval case,words-question-takes-a-thread, scores it: at the merge base, agents asked a free-text question as a barelf-askin 6/6 runs (3 Claude Code, 3 Codex); with the change, they used--obligationin 6/6, and kept the accompanying choice a widget in every run. Two rubric lines inassessment-surfaces-pending-decisionsthat said a thread registers a question "only through an lf-ask" now accept--obligation.Other changes
tallyWordsreads "4 left to answer" (and "· 1 on Claude"), not "4 of 5 to answer", which beside lf-deck's cards read as the fifth card's position.lf-tallyshares it.Tests
Three model tests that protected only the removed behavior are deleted (a page question answered by commenting on it; a restated bare ask asked again; a display-only widget beside one). Tests that used a bare
lf-askas a convenient question now send anobligation: truemessage, withmessage:ids, or give the ask an answering widget. Ran:tests/modelandtests/process(2132 passed),pnpm run test:runtime(675 passed),pnpm run check, the deck tests, and 33 targeted browser/journey tests covering each changed fixture.