Repository navigation
Correct comments and docs that still describe code #6106 and #6134 removed - #6268
Merged
Merged
Conversation
…moved No behavior changes; each line now describes the current code. - The obligation statuses and the agent's way of ending a question the user answered elsewhere (`docs/how-it-works.html`, `lf-tabs.js`): #6106 removed the `answered_elsewhere` status, so the agent resolves the question's thread. - `relabel` pointers in `state.css`, `defaults.css` and a journey's docstring: #6134 deleted the function, and control-labels.js holds the markers' contract. - The served-state schema told a package to ask `quietSince`, which #6134 un-exported; packages read `readWork`'s `quiet`. - `application.js` said a registry entry names the thread-surface widgets; `thread/surfaces.js` asks every module's element for `threadOutlets`. - The render check's description in `how-it-works.html` named Chrome and both colour schemes; it reads one light page in the reader's browser. - `presence.py` named `full_state` as what spreads presence into the state answer; `read_served_page` does. - `text-document.css` pointed at the removed `inRuns`; restore the bullet list `aimableAt`'s doc lost in a rewrap; drop a contradicted comment in `thread-workflow.test.mjs`.
The comment edits left two paragraphs unwrapped, which failed the pre-commit job's prettier hook.
max-sixty
pushed a commit
that referenced
this pull request
Nov 18, 2026
… by resolving its thread (#6269) The glossary's **Obligation** row still says "the agent records an answer given elsewhere". #6106 removed that path — the `answered_elsewhere` status and the agent's question end — so the agent now ends a thread question the user answered elsewhere by resolving its thread (the `src/leaf/obligations.py` header; `todos.py` refuses the old end with `obligation-end`). This one-sentence correction brings the row in line, so a session reading the vocabulary isn't pointed at a command that refuses. It's an agent-instruction file, so it needs the control-plane owner's approval; the same stale wording in `docs/how-it-works.html` and `lf-tabs.js` is corrected in #6268. No score was run: per `AGENTS.md`, correcting a fact needs none. Co-authored-by: leaf-agent <[email protected]> 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.
Comments and docs that still describe code recent changes removed, found by the nightly review of the last two days' commits. No behavior changes: each edited line now says what the current code does, so the next reader isn't sent after a function, status or export that no longer exists.
docs/how-it-works.htmlstill listed an "answered elsewhere" obligation status and said the agent "records" such an answer;lf-tabs.jshad a comment to the same effect. End a question the user answered elsewhere by resolving its thread, and drop the agent's question end #6106 removed that status: the agent resolves the question's thread (thesrc/leaf/obligations.pyheader).relabel—browser/state.css,packages/default/defaults.cssand a docstring intests/journeys/test_render_commands.pypointed at it; Drop nine registry keys a widget's module, attributes and verbs already state, and 35 widget API exports #6134 deleted it, andcontrol-labels.jsholds the markers' contract.quietSince— the served-state schema (state.schema.json,working_grace_ms) told packages to ask it, but Drop nine registry keys a widget's module, attributes and verbs already state, and 35 widget API exports #6134 took it offwidget-api.js; packages readreadWork'squiet.application.jssaid a registry entry names the widgets withthreadOutlets;thread/surfaces.jsasks every module's element.how-it-works.htmlsaidpage check --renderopens Chrome in both colour schemes; it reads one light page in the reader's browser (render_gate/command.py,user_engine).presence.pynamedfull_statewhereread_served_pagespreads presence;text-document.csscited the removedinRuns;aimableAt's doc list inwidget-elements.jshad been reflowed into one paragraph; a comment inthread-workflow.test.mjscontradicted a test below it.Checked:
tests/runtime/thread-workflow.test.mjsandtests/model/test_product_page.pypass,leaf-dev generate record-types --checkis clean, ruff passes.The glossary's Obligation row (
.claude/skills/developing-leaf/references/glossary.md) has the same stale "answered elsewhere" sentence; it's agent instructions, so it's left for a separate change that needs the control-plane owner's approval.