Skip to content

Clarify navigation and keep decided pages editable - #2020

Merged
max-sixty merged 6 commits into
mainfrom
codex/navigation-and-editable-revisions
Oct 8, 2026
Merged

max-sixty merged 6 commits into
mainfrom
codex/navigation-and-editable-revisions

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Leaf navigation now follows the documented focus hierarchy: a → c → Escape returns to the Ask, pointer and keyboard comment entry share that parent, and explicit reading moves end grouped thread/Ask travel so Back restores the newly chosen passage. The Navigation tab explains the basic routes and collapses the less obvious cases. Keyboard help and the command reference share Go-to destinations; d/u remain paired, with first unread on g u. Resolve continuation keeps the behavior chosen in review.

Revisions can change decided wording/state, remove referenced targets, replace widget vocabulary and data contracts, edit predecessor agent text, and replace installed package names. Historical events keep their admitted meanings. A recorded operation definition preserves compatible decisions and excludes incompatible values from the current widget; pending delivery remains intact. Removed anchors fall back to their surviving section or detach, and open work survives target removal. Package replacement publishes an atomic snapshot.

The data boundary now detects contract and validity changes even when JSON bytes stay identical. Incompatible consumers receive null, clear their previous value, and recover through their existing subscription. Current markup, schema, and implementation checks remain; introducing a widget that an old pinned thread cannot render still needs a message implementation boundary. No force flag is added; the optional reminder for decided content is a TODO.

Validation covers the real browser focus/history journeys, typed replay and pending actions, revision and package replacement, and live-data rebinding/recovery. The runtime suite passes, as do the focused Python/browser regressions, merged-main publication/native-focus checks, browser bundle build, and desktop/phone page review. CI runs the broad landing and site-delivery gates.

This was written by Codex on behalf of max-sixty

Document basic navigation and the less obvious focus, history, and resolve
journeys. Restore the Ask as the structural parent of its comment composer,
derive reading landmarks from rendered passages, and share Go-to routes with
the command reference.

Remove historical revision vetoes for decided text/state, removed targets,
vocabulary, data bindings, package names, and predecessor agent text edits.
Keep admitted meanings and operation definitions in the log; compatible
decisions still paint, while incompatible definitions remain historical.
Data consumers clear incompatible readings and recover, including when only
the contract changes. Package replacements publish coherent snapshots.

Replace regression assertions that required historical edits to be refused
with coverage for free revision, preserved history, typed replay, detached
anchors, and live-data recovery. Keep current markup and implementation
integrity checks; a frozen message still needs an implementation it can render.
…editable-revisions

# Conflicts:
#	TODO.md
#	skills/leaf/assets/runtime/drawers.js
#	skills/leaf/assets/runtime/reading-place.js
#	skills/leaf/scripts/leaf/cli.py
#	skills/leaf/scripts/leaf/layer-registry.md
#	skills/leaf/scripts/leaf/vendoring.py
#	tests/test_interact_document.py
leaf-agent
leaf-agent previously approved these changes Oct 8, 2026

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test job on this head is red: 15 failed, 2,640 passed. Several failures trace to fixtures that still write action meaning without the new state definition: replay now excludes those actions, so test_each_view_offers_only_the_gestures_it_paints loses three undo candidates and test_thread_presentation_waits_for_its_frozen_widgets_only renders idle instead of chosen. The job also reports failures in data snapshots, anchor expectations, and the event-log page that need their own contract check. This result withholds my earlier approval until the landing suite is green.

@leaf-agent
leaf-agent dismissed their stale review October 8, 2026 03:31

CI test job failed on e2362b4 with 15 failing tests.

Revisions may remove referenced targets, repeat restatement, and replace
authored content after undo. Tests now protect section fallback or detachment,
immutable historical records, preserved obligations, and current source
validity independently of those removed historical edit vetoes.

Seed semantic action fixtures through admission so they carry the captured
operation definition. Refresh the event-log example from those admitted
records, including nested schema layout and its explanatory line anchors.

Allow revised media selectors while preserving earlier captured bytes and
verifying recovery when the producer supplies the revised resources.
leaf-agent
leaf-agent previously approved these changes Oct 8, 2026
…editable-revisions

# Conflicts:
#	skills/leaf/assets/runtime/thread-panel.js
#	skills/leaf/assets/runtime/thread/read.js
@max-sixty
max-sixty merged commit b11e278 into main Oct 8, 2026
6 checks passed
@max-sixty
max-sixty deleted the codex/navigation-and-editable-revisions branch October 8, 2026 04:54
max-sixty added a commit that referenced this pull request Oct 8, 2026
…ions door as it reads

Since #2020 admission records a pick's state operation in `meaning.state`, and the
projection leaves out a pick that records none. Seed logs are copied verbatim,
never admitted, so review-queue, current-proposed-comparison, ship-review and the
feature gallery replayed no picks and their replay tests read no answers. Each
writer event's meaning is now the one admission stores today, as are the two
hand-built events in the margin and gate tests. The version button says
"Showing vN" since #2025; the tests that read its exact words follow.

The Questions door's accessible name begins with its visible words
("Questions: 2 waiting on you"), which axe's label-in-name rule requires. The
projection tests that read the door as withheld when nothing waits now read
"Questions: 0", the door standing on every page.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Oct 8, 2026
…#2051)

The banner treated Threads and the queue differently: Threads was a door
on the row that opened a panel on the right, while the queue was a pair
of counts beside the status that opened a drawer on the left. This makes
them two matching doors to one side panel, and names the two sides of
the queue for whose they are.

## What the user sees

- **Questions and Threads stand side by side on the banner row**, and
both open the right edge at the Threads panel's width. Selecting one
while the other stands swaps them in place, with no slide
(`auxiliary-surfaces.js`: each surface declares its `edge`). The left
edge keeps only the Pages drawer.
- **Questions** is what waits on the user (their Asks, thread questions,
to-dos and updates to send again); **Tasks** is what the agent has in
hand. The door says `Questions: N` and stands on every page, as Threads
does; before the log's first answer it claims no count. The agent's
`Tasks: N` count beside the status opens the same panel. On a phone the
door waits behind More, whose dot and name say "questions waiting".
- **`q` / `Shift+q` walk the questions** (was `a`), `g Shift+Q` opens
the panel, and its head carries a **Next question** button, as Threads'
carries Next unread. ↑/↓ walk the thread titles in the Threads panel, as
they walk the Questions panel's rows.
- The comment box and the rail treat whichever panel covers the right
edge alike (`geometry.rightCover`).
- In the `g` sequence, the door to the surface that stands leads the
line, so its close stays in reach when the panel narrows it, and other
owners' destinations (Resume writing among them) rank before the fixed
doors.

Internally `task` stays the shared record's name for now; `Task` in the
UI means the agent's side.

## Navigating the diff

- `runtime/drawers.js`, `queue-panel.js`, `queue-walk.js`, `banner.js`,
`banner-toolbar.js`: the door, its seat (row on a desk, More on a phone,
rank 107 between Comment on the page and Threads), its words and the
walk's keys.
- `runtime/auxiliary-surfaces.js`, `thread-panel.js`, `chrome.css`,
`theme.css`: the shared edge and the in-place swap. The banner's
reserved room grows by the door (37em of actions; the Tasks count's 4em
is what `Tasks: 9` measures), which keeps one row at 800px.
- `markBannerControl` now paints once a script: an answer that settled
the last question and opened the approval used to take More's dot down
and put it back in one script.
- **Seed logs re-recorded (a `main` break this PR also fixes):** since
#2020 admission records a pick's state operation in `meaning.state` and
the projection leaves out picks without one, but seed logs are copied
verbatim, so review-queue, current-proposed-comparison, ship-review and
the feature gallery replayed no picks. Their writer events now carry
what admission stores today, and the tests reading the version button's
exact words say "Showing vN" (#2025). These are nightly tests, which is
why `main` stayed green; they ran here because this branch touches their
files.
- Tests follow the new keys, names and seats; references, evals, the
feature gallery, `docs/how-it-works.html` and the glossary say `q` and
Questions.
- `notes/what-needs-you/page.html` records the choice (option B,
"matching doors, both panels on the right") and the naming decisions.

## Testing

`npm run test:runtime` passes, and so does the broad selection apart
from failures that also fail on `main` at the merged tip. The browser
files the change touches (navigation, controls, chrome contracts,
startup, threads, margin, widgets) were run on this branch and on `main`
side by side; every remaining failure reproduces on `main` (among them
the drafts write-watch cases, the growing-comment aim case, several
margin and feature-gallery cases, and the focus-ring sampling case).

> _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 10, 2026
After #1971 changed how a pick is recorded, a page whose log held
earlier picks (`detail.options`, no `meaning.state`) crashed `leaf page
state` and `leaf status` with `KeyError: 'value'` in `projection.py`'s
`folded_value`. That broke the state-home rule in `AGENTS.md`: a record
lacking fields this version expects is ignored where it is loaded, and
never takes a session down.

#2020 already fixed it: `state_projection` now leaves out any event
whose recorded state operation doesn't match the current widget's, and
an event with none recorded never matches. The page that crashed
(`message-edit-survey`, six old-format picks) reads cleanly on `main`,
as do copies of 24 other pages on this machine whose logs hold
old-format picks. Nine more stop earlier, on an older `data.json` shape,
before reaching the fold. Nothing held the behaviour, though, so this
adds a test.

The test appends the old shape after a current pick on the same widget,
so the old one would win if it were folded, and checks that `leaf page
state` exits 0 and reports only the current pick. With the gate removed,
as #1971 had it, the test fails.

> _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 11, 2026
…ript and Python (#2326)

Removing a caller never flagged its callees, so exports, application
trampolines and Python helpers kept outliving their last use (#2020 and
#1808 left several). This deletes them and adds two gates, so the next
orphan fails in the change that creates it.

## Gates

- `tests/test_unused_exports.py` fails on any JavaScript or TypeScript
export that no other tracked file names as a word. A default export
counts as read where another file names its module's file name, since
tools such as eslint and Pi load those modules by path. A JavaScript
comment or a stylesheet counts as no reader, apart from a JSDoc
`import("…").Name`; code, Python strings, pages and contract prose do.
It runs over the whole tree rather than through knip because the browser
tests import runtime modules inside Python strings and the render gate
calls probes by name. Committed bundles are skipped, and the `build/`
inputs of third-party bundles are skipped as exporters, since the
bundled dependency reads their exports. A name that collides with
another word can hide an unused export.
- vulture runs as a pre-commit hook over every Python tree (`build`,
`dev`, `hooks`, `skills`, `tests`, `worker`), configured in
`[tool.vulture]`. A function a framework calls is excluded by the
decorator that registers it (click commands, pytest fixtures,
`atexit.register`, jsonschema format checks) or by the name the
framework's protocol fixes (`do_*`, `pytest_*`, uvicorn's `main_loop`,
and so on), never one dead name at a time.

## Deleted or narrowed

- `application.js` loses the trampolines nothing imports
(`approvalBlockingQuestions`, `beginRead`, `midComposition`,
`receiveState`, `startFeed`, `unaccountedGesture`, `undoable`,
`undoLast`). Pure helpers stop routing through the mounted application:
`widget-api.js` re-exports `watchReports` from `reports.js`, and
`leaf.js` imports `beginRead` and `approvalBlockingQuestions` from
theirs. The mount drops the unread `updateFab` and the `feed` dependency
bag, which repeated `state`, and the six `openPageThread` forward
references share one forwarder. The mounted object lists the members
boot reads instead of spreading the projection commands and engagement
into it, so `undoable`, `undoLast`, `retainReversal`,
`unaccountedGesture`, `dispatchWidget`, `refreshAnnotationInventory` and
`receiveState` leave it.
- `export` comes off every symbol only its own module uses, across the
runtime, the default package, the browser framework's types,
`eslint.config.mjs`, the Worker and the rust-sort example.
`widget-api.js` stops re-exporting `submitBindings` and `submitLabel`,
which no package uses. `history.js` and `banner-toolbar.js` use
`focus.js`'s `drawn` instead of their own copies, `context.js` loses the
unread `events` and `activity` getters and shares one live-revision
test, `pointed-place.js` names its function `pointInto` instead of
aliasing `rowIn`, `geometry.js` loses the uncalled `documentPoint`, and
`composing/input.js` gets its contract comment as a header.
- Python: `events.current_anchors`, `anchored_ids` and `anchored_parts`,
`tasks.canonical_tasks`, `log_tasks_open`, `OUTCOMES` and the
`ENDS_BY_*` constants, `PageTransaction.voice`, and the test-only
wrappers `unattended_pages` and `layer_generation`, whose tests now call
what production calls. `task_error` reads the task's `owner` directly,
which is what the `ends` comparison meant; the `ends` field itself
stays. Test helpers `xfail_browser_problem` and `draft_owner` had no
callers; a fixture requested only for its effect moves to `usefixtures`,
and protocol overrides collect arguments they ignore in underscore-named
`*` or `**` parameters.
- Behavior changed in tests: five visual-part tests in
`test_interact_anchors.py` asserted that a version may drop a part a
detached, moved, resolved, reopened or bare-reaction thread had pointed
at. Since #2020 no thread blocks that removal, so each passed without
its premise;
`test_a_removed_visual_part_moves_its_thread_to_the_surviving_section`
keeps the live-thread case.

## Rule

`skills/leaf/assets/AGENTS.md` gains "Facts both runtimes know": a fact
Python and the browser both use is owned by one language and consumed as
data, or generated from the registry, and a new parity fixture or
source-scanning test is a review flag asking why it is not generated.
`/developing-leaf` points reviewers at it.

> _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 12, 2026
…bers (#2486)

Follow-up to #2476. The page protocol number was a Python constant,
`layer.PROTOCOL`, that `page init` stamped under `$layer.protocol`,
apart from every schema it versions. It now lives in the kernel registry
as `$events.protocol`, beside the kinds and ownership it numbers, where
Leaf's other format versions already sit (`leaf-drawing/3` is a `const`
in the same object). A page carries the number in the `$events` it was
vendored with, so the `$layer` stamp, its storage check and its place in
the re-vendor comparison are gone; the layer fingerprint covers it.

- `layer.incompatible_layer` reads the registry a server would serve the
page under: a snapshot's captured one, or else the vendored layer.
Snapshot previews copied the raw `$layer` and lost the number, so they
refused freshly initialized pages.
- A layer may restate only `$events.handling` and `answering`; every
other member is the kernel's, compared as JSON so `true` or `1.0` is not
taken for 1, and the kernel's copy is kept
(`registry/layer.merge_layer_declarations`).
- The bump rule moves from the constant's comment to
`layer-registry.md`, "Page protocol". The stale `$events` description
claim that `page init` checks the existing log (removed in #2020) gives
way to the protocol sentence.

Behaviour change: a page vendored under #2476 records the number only
under `$layer`, so it is refused once until `leaf page init`.

The other version marks stay separate: `Leaf-Layer` checks a tab against
the page's current layer, and `leaf-delivery-v5`,
`leaf-codex-delivery-v4` and `leaf-user-views-v1` version state-home
records that change independently of the page contract.

> _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 12, 2026
A widget's thread surface `open(node, { origin })` passed `origin` to
the composition surface, whose `open` forwards to `commentOnTarget` and
reads only its first argument. #2020 (b11e278) removed `origin` there
on purpose, so Escape resolves the same structural parent for every
route into a comment. This deletes what that left behind: the option on
the registration's `open()` and on the `threadSurface(owner)` wrapper
#2571 added, lf-diff's two `{ origin: ... }` arguments, the
module-authoring sentence promising Escape returns to that control, and
the `{origin}` that #2571 wrote into the `surfaces.js` header and the
`x-thread-surface` registry entry (with `docs/registry.html`, which
`leaf-dev keydocs` derives from it). Module-authoring now states the
contract that holds instead: Escape from a datum's draft returns focus
to the datum element when it can take focus, otherwise to the page.

Lit follow-up review item 76 (the review's own numbering, not a GitHub
issue):
- Behaviour changed: none. A probe on pr-walkthrough (click a file's
comment button, press Escape) lands on the `.lf-diff-file` element on
both the merge base and this branch.
- Hand-written source line delta: +6 / −7 (`surfaces.js` +4/−5,
`lf-diff.js` +2/−2), net −1.
- Test line delta: 0.

Ran: `test_render_diff_controls.py`, the inline-diff comment test in
`test_render_widgets.py`, the two diff thread tests in
`test_render_threads.py`, the data-bound diff aim test in
`test_render_anchors.py`, the panel-cover navigation test, the
registry/keydocs product tests, and
`tests/runtime/thread-surfaces.test.mjs`.

> _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 14, 2026
…ferences in plain prose

Rewrites the hard-to-read paragraphs of four shipped references every
page-writing agent reads, in the "case, then rule" register: one claim per
sentence, the command or field named first, no coined nouns. Plain
paragraphs are left as they were, and every heading keeps its text.

- conversation-loop.md: "When to write", "Status and handoff", "Long-running
  work" (both flagged paragraphs: how long a start lasts, and when a reply
  opens a to-do), "The On lists". "Take in hand" becomes "start", after the
  command that does it.
- event-batches.md: the `says`, `answer` and `handling` bullets, thread
  context, acknowledgement, and "After the batch".
- threads.md: titling, markup, the `ref` and reply options, "Preserve revised
  anchors", proactive replies, progress messages, edits, summaries.
- harness-claude-code.md: the "Wait loop" paragraph on Leaf's Stop hook, and
  "Subagents".

Cuts:
- conversation-loop.md: the sentence listing which widgets `leaf task open`
  accepts (`x-work` or an unsettled action); its refusal names the reason.
- conversation-loop.md: the per-list contents of each Done section and what
  each `m` press lands on and the `1`-`9` actions; UI the agent does not act on.
- conversation-loop.md: two restatements of the table (where the Working line
  shows) and of "a to-do stays open".
- event-batches.md: "an event without an `answer` owes none of its own" from
  the intro (the `answer` bullet says it); "Commands state the next step and
  any recovery needed".
- threads.md: "A delivery carries each thread's current title, null until
  named" (event-batches.md says it); "repeated words require unique stored
  context" (said above it); that the reply records the revision and anchor
  transition atomically, and that the log keeps the opening anchor.
- threads.md: the output and refusal format of a reply or `leaf thread` write
  (one JSON line per record, the stderr object with `error`, `findings`,
  `code`, `values`); the agent reads it in the output.
- harness-claude-code.md: "The banner reports overall page activity
  separately."

Corrections:
- threads.md: the paragraph on removing a declared visual part said a part is
  held while a live thread anchors on it and that `page check` names the
  moves that release it. That check (`continuity_errors`, `anchored_parts`)
  was removed in #2020; a revision may drop any part, and activation
  relocates or detaches threads (`validation/source_history.py`). The
  paragraph now says only to move or detach such a thread rather than
  resolve it, since a resolved thread keeps its old anchor and reopens
  pointing at a part the page no longer draws.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Oct 14, 2026
…ve stale claims (#2897)

A survey of Leaf's prose found one style hard to read throughout: a rule
stated about a kind of thing ("a reader that never refuses") with the
real case reduced to a paraphrase, Leaf-specific nouns used undefined,
pronoun chains, negative predicates, and rule, mechanism and reason
fused into one sentence. This is the first batch of rewrites, plus three
passages the survey found wrong about the code.

**Rewritten references** (29% shorter than main, rewritten from what the
reader does, with an independent review for accuracy and lost guidance):
`conversation-loop.md`, `event-batches.md`, `threads.md`,
`harness-claude-code.md`. Each commit message lists every cut. The
coined "take in hand" becomes "start", after `leaf task start`,
including in the reply-handling clause in `registry.json`, the
`progress-parent` and `todo-execution` findings, and
`harness-codex-app-server.md`; two snapshots that quote the clause are
regenerated.

**Corrections to claims that were wrong on main:**
- `event-batches.md` said a user-added option's words travel in `detail`
instead of `says`; `GestureWords.says` gives them.
- `/developing-leaf` said root `AGENTS.md`'s "Stage" has readers
tolerate old state-home records; Stage calls them disposable.
- `thread-list-view.js`'s header said focus and the open card never
part; since #1967 a `holdFocus` restore chooses nothing, so they can (as
`keyboard/AGENTS.md` says).
- `threads.md` described a `page check` rule on anchored visual parts
that #2020 removed.
- `conversation-loop.md` described an ask as holding "the kind of answer
it takes"; it holds `prompt`, `answer` and `status`.

**Root `AGENTS.md`**: "Where instructions live" no longer asks prose to
describe a set by what its members share, which pushed writers toward
rules about kinds of things. It keeps the rule's job from #2318: don't
copy a list the code keeps; point to it.

**Kernel:** rebuilt. main's committed kernel already lagged its runtime
sources (`check:browser` fails on main), and this branch's runtime
header and registry edits change the kernel hash.

No behavior changes beyond the reworded finding and handling text and
the rebuilt kernel.

> _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 14, 2026
…prose in plain prose (#2905)

The rest of the prose rewrite that #2897 started: Leaf's references,
maintainer guidance, module headers, CLI and finding text, registry
prose and the site's how-it-works and threads pages, rewritten in short
plain prose that names the real case before stating the rule, with
guidance that didn't help cut. Root `AGENTS.md` and
`skills/leaf/SKILL.md` are held back for the maintainer's own review.

Each area was rewritten by one agent and reviewed by a second for
accuracy, lost rules and readability; every review's findings are
applied. Commit messages list every cut.

| Area | Words |
| --- | --- |
| Widget and package references (`module-*.md`, `package-data.md`,
`package-themes.md`) | 22,139 → 15,036 (−32%) |
| Authoring references (`page-*.md`, `authoring-*.md`,
`serving-pages.md`, `live-samples.md`, `packages.md`, the Codex and Pi
harnesses) | 20,059 → 14,024 (−30%) |
| Area `AGENTS.md` files, `/developing-leaf` and its glossary | 27,626 →
21,263 (−23%) |
| Module headers (`codex.py`, `todos.py`, `hook_transport.py`,
`workflows.py`, `delivery.py`, `detached.py`, runtime
`semantic-state.js`, `projection/presentation.js` and others) and CLI
help and finding text | −10%; several headers grew where they now name
their real callers |
| Registry `$` declarations and delivered `handling`/`answering` clauses
| −26% |
| `docs/how-it-works.html`, `docs/threads.html` | rewritten sections −9%
|

**Evals.** The six cases whose rules the authoring-reference cuts
touched (`sidebar-page-ask-grants-its-evidence-room`,
`pin-takes-no-page-room`, `long-read-beside-a-panel-is-a-document`,
`page-arrangement-uses-layouts`, `approach-page-leaves-the-choice-open`,
`source-code-readable`) score the same on base and candidate on Claude
Code (7/8 each; the same case fails on both). The two cases that paste
the delivered clauses (`user-rewrite-answered`,
`user-rewrite-retitles-its-thread`) are re-pasted with the new wording
and pass 16/16 cold and mid-session on Claude Code and Codex.

**Corrections to claims that were wrong on main:**
- `handling.report.0` and `docs/event-log.html` said `page check`
refuses markup that contradicts a report without answering it; #2020
removed that gate.
- `packages.md` said `grows-with-content` never sees a part scroll
inside a workspace; `widget_quality.py` draws each example in a
workspace pane too.
- `module-authoring.md` listed `UPGRADE` among importable startup
events; `widget-api.js` doesn't export it. It also lost `### Retained
nodes` in #2869, which three files cite; restored.
- `navigateToDatum`/`indicate` take the referring widget first; a
changed widget `id` (not declaration) makes the controller report every
action unavailable; `x-exhibit` is declared only on `lf-sample`.
- `assets/AGENTS.md` placed `comment-placement.js` and
`floating-response.js` in the default package; they are in
`runtime/annotation-overlay/`.
- `task end`'s note and the `finished-in-view` finding now say what
`work.open_ids` checks (the element shows unfolded on the newest
revision).
- `reconnect.py`: the resume `SessionStart` hook publishes reconnect
notices too.

**Other changes:** the "Re-vendoring and layer epochs" heading is now
"Re-vendoring", with its citations updated. The kernel is rebuilt for
the reworded runtime comments and registry prose. One contract test now
matches the reworded `unoverruled` finding, five regtest snapshots and
the CLI help snapshot are re-recorded (wording only), and
`test_stop_guard.py` matches the reworded report clause.

No code behavior changes.

> _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 15, 2026
`page check` no longer prints "ids dropped from revision rN" when a
revision removes ids its predecessor had.

Since #2020 a revision may remove anything, so the advice guarded
nothing. In a 14-day survey of Claude Code sessions it fired 121 times
and was needed in about 7% of the sampled firings; none showed a decided
widget leaving by accident. An open thread whose passage goes still gets
`relocated-anchor`.

The two tests that asserted the advice now assert only that the check
passes when an unreferenced group or id leaves.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[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.

2 participants