Skip to content

Correct comments and docs that still describe code #6106 and #6134 removed - #6268

Merged
leaf-agent merged 2 commits into
mainfrom
nightly/stale-comments-after-6106-6134
Nov 17, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
nightly/stale-comments-after-6106-6134

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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.

Checked: tests/runtime/thread-workflow.test.mjs and tests/model/test_product_page.py pass, leaf-dev generate record-types --check is 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.

…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.
@leaf-agent
leaf-agent merged commit 5ebebf0 into main Nov 17, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the nightly/stale-comments-after-6106-6134 branch November 17, 2026 07:52
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]>
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.

1 participant