Repository navigation
Advise on a pane's children, and drop three refusals that guarded nothing - #6313
Conversation
…hing Max picked these on the survey of refusals that second-guess agents. - The four lf-pane grammar checks (pane-ends, pane-header-first, pane-footer-last, pane-body) are page-check advice that says what the pane's grid does with the children it found: extra headers or footers sit beside the first in columns of their own, a header or footer out of place still draws at the top or bottom while keyboard and screen-reader order follow the markup, several body blocks overlap in the one body cell with only the first scrolling, and loose text loses the body's padding and scrolling. A pane holding a <script>, or blocks a script shows one at a time, works, and now passes. A pane with no body no longer draws a finding. Message markup has no channel for advice, so a message's pane is no longer checked. - reserved-resolves is gone: a package declaring `resolves` on a widget that asks nothing declares an attribute nothing reads. - A thread summary may cover a single message; summary-order refuses only a range whose `from` comes after its `through`. - `page init` given the same --package twice selects it once, and a stamp naming a widget twice in --completes completes it once, where both were refused. Tests: the pane, registry, summary and page-init tests change to the new behavior.
leaf-agent
left a comment
There was a problem hiding this comment.
Dropping reserved-resolves doesn't free the name. reference_errors in src/leaf/validation/instances.py still treats resolves as a thread reference on every widget whose registry declares it ("resolves" in entry["attributes"].get("properties", {}) and resolves and resolves not in thread_ids → unknown-thread), with no check for awaits.answered. Admission (event_meaning.py) reads it only on a widget that awaits an answer. So a package widget that asks nothing and uses resolves for its own purpose is still refused by page check. The refusal now says resolves=… names no thread in this document instead of explaining that the name is reserved. Either gate that reference check on (entry.get("awaits") or {}).get("answered"), so the name really is free on such a widget, or keep the reservation. Not blocking.
…efusal keeps (#6641) Each finding's code now declares in `_TEXT` what it does: `_refuses` where a check refuses its input, such as a page's source or an event; `_fails` where the browser's reading fails the check while the page is still served; `_Unread` where the browser couldn't read the page, as when it crashed or none could launch (`no-browser`). Every other code is advice. A refusal's words end with its guarantee, as in "duplicate ids: ["a"] (refused so that each id names one element for comments and commands to reach)". Until now a finding refused unless its construction site passed `severity="advice"`, so nothing said what a refusal protected. The per-site labels and their filters are gone, and `findings.py`'s header states the decision. A not-read finding leaves its gate unrun: the check passes, `browser.ran` leaves the gate out, no reading is recorded, and a held message posts. The `browser.unavailable` field is gone. Authored markup has one shared check, `instances.markup_findings`, for the page gate, the message gate and registry examples; where the parser repaired the markup it holds back every other check. **The first commit stands alone:** thread commands print the advice a message's HTML draws, from the checks a page's source takes, which brings back the pane checks #6313 dropped for messages. Of the 328 codes that refused or defaulted to `"error"`, 225 keep refusing, 28 keep failing the check, 32 become advice, 4 become not-read, 24 that refused nothing become advice unchanged, and 15 are deleted. New: `body-count`, `ids-taken-by-events` (an id the log already holds, replacing the eight-hex shape test) and `unnamed-question` refuse, `thread-not-drawn` fails the check, and `no-browser` is not read. An independent reviewer judged each refusal an audit had contested. **Least sure:** `no-work-seat`, which removes a documented key; `page-scrolls`; and that a page whose markup the parser repaired now hears only the repair until it parses as written, as a message already did. `tests/model`, `tests/process` and `pnpm run test:runtime` pass, and so do the browser and journey tests this change edits, by node id. <details><summary>The full audit, with the reason for each change and each contested verdict</summary> | Code | Outcome | Guarantee it keeps | Why | |---|---|---|---| | `addressable-id` | refusal → advice | | Each instance's own check requires the id. | | `css-url` | refusal → advice | | A browser drops the declaration (Chrome 157, probed), so it is reported beside the sheet's other drops. | | `data-source` | refusal → advice | | `leaf data`'s own grammar checks the names. | | `fixed-events` | refusal → advice | | The merge keeps the kernel's value. | | `fixed-kernel-fact` | refusal → advice | | The merge keeps the kernel's value. | | `invalid-example` | refusal → advice | | An example is documentation. | | `layer-import-remote` | refusal → advice | | Export leaves it to load from its server, as it does a page module's. | | `main-count` | refusal → advice | | A page with no `<main>` render-checks clean; the body count is now `body-count`. | | `measured-run` | refusal → advice | | As measured-source. | | `measured-source` | refusal → advice | | An instance missing it is only never compared with its source's run. | | `message-settlement` | refusal → advice | | Accept and undo of a suggestion in a message draw in its thread (a browser test checks both); the advice says no version writes it into the page. | | `never-settled` | refusal → advice | | The gate reads the page in motion; a looping demo is a reasonable page. | | `noscript` | refusal → advice | | Neither the file reading nor the browser's passages read a `<noscript>`'s words now, so no comment quotes text no one sees. | | `obligation-beside-widget` | refusal → advice | | The words may ask what the widget doesn't; the message then asks twice. | | `outside-frame` | refusal → advice | | As past-column. | | `outside-part` | refusal → advice | | As past-column. | | `page-scrolls` | refusal → advice | | Every word stays in reach by scrolling, as past-column's spills do. | | `parts-in-layout` | refusal → advice | | The parts draw as a strip of tabs inside the Layout. | | `past-column` | refusal → advice | | A box in the margin is drawn and reachable. | | `past-room` | refusal → advice | | As past-column. | | `plan-depth` | refusal → advice | | `plan_reading` already draws a skipped level one step shallower. | | `refers-unknown-map` | refusal → advice | | Each instance's reference is still refused where it stands (`reference-contract`). | | `refers-unmatched` | refusal → advice | | As refers-unknown-map. | | `shown-elsewhere` | refusal → advice | | The board moves the card to its answer's owner when it draws. | | `shows-untakeable` | refusal → advice | | That owner takes no drop of the card. | | `shows-without-open` | refusal → advice | | It guards a transition only, after the user clears a pick. | | `spaced-ids` | refusal → advice | | The browser resolves the id and a comment anchors on it; advice says so while renaming is free. | | `undeclared-attr` | refusal → advice | | It fired on the bundled `lf-options`, and the replay check reports an attribute that changes on redraw. | | `undeclared-event-kind` | refusal → advice | | No delivery carries the clause, and a package may target a newer Leaf. | | `ungrouped-question` | refusal → advice | | Now only where the widget's own label names the question, so `m` selects it without its premise. | | `unknown-thread` | refusal → advice | | Deciding the widget closes no thread; nothing else changes. | | `unowned` | refusal → advice | | A seat nothing names stays empty. | | `browser-error` | refusal → not read | | As `gate-failed`; `package check --render` now reads a crash this way too, keeping `unreadable-examples` for examples the page can't draw. | | `gate-failed` | refusal → not read | | The browser read nothing of the page: the gate counts as not run, keeps no reading, and a held message posts, as with no browser. | | `probe-failed` | refusal → not read | | As `gate-failed`. | | `server-stopped` | refusal → not read | | As `gate-failed`; the stall is Leaf's own preview server. | | `awaits-unanswered` | deleted | | `invalid-declaration` refuses first. | | `event-shaped-ids` | deleted | | Replaced by `ids-taken-by-events`, which refuses only an id the log holds, so a short SHA as an id passes. | | `fixture-kind` | deleted | | As fixture-publication. | | `fixture-publication` | deleted | | The door refuses the same event in the same words. | | `hidden-widget` | deleted | | A to-do on an element has no liveness check, so this was a widget-only special case. | | `keys-documentation` | deleted | | Leaf's own key docs are pinned by a test now. | | `no-anchor` | deleted | | The append door refuses the same reply as `withdrawn-parent`. | | `no-incoming-registry` | deleted | | The kernel's registry is always an input. | | `no-work-seat` | deleted | | With the `work` key and its lints: a to-do on any widget draws as one on any element does. | | `publication-revision` | deleted | | Only Leaf's publisher reaches it, after `publication-owner`. | | `quoted-seat` | deleted | | As hidden-widget. | | `script-outside-page` | deleted | | Only a public runtime module reaches it, which delivery serves. | | `unowed-reply` | deleted | | No writer reaches it. | | `work-content` | deleted | | With the `work` key. | | `work-inline` | deleted | | With the `work` key. | | `body-count` | new; refuses | every page Leaf activates can be served and loads its runtime | The body half of `main-count`; export needs the body. | | `ids-taken-by-events` | new; refuses | each id names one element for comments and commands to reach | A command's ID names a widget or a message in one address space; replaces `event-shaped-ids`. | | `unnamed-question` | new; refuses | each question on the user's On Me list shows the words that ask it | A question with no words would stand on On Me blank; `lf-options` declares no label, so an ungrouped one has none. | | `no-browser` | new; not read | | Replaces the `browser.unavailable` field, so a host with no browser and a browser that crashed are one not-read state. | | `thread-not-drawn` | new; fails the check | the user can see and reach everything the page draws | A thread holding a message's HTML that the page can't open, which `gate-failed` reported before; it still fails the check, while `gate-failed` now means the gate's own run failed. | | `absorbed-move` | keeps refusing | an undo the page accepts changes what the user sees | | | `allocation-value` | keeps refusing | Leaf and the page lay out each allocation as one of the values it takes | The runtime reads a page allocation as one of its values (`context.js` `allocation`), so an unknown `data-annotations` leaves neither presentation. | | `ambiguous-data-binding` | keeps refusing | each widget reads the data its markup names, in its declared contract | | | `answering-container` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-detail` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-members` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-mutable` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-part` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-position` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-record` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-schema` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `answering-undeclared` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `attempt-conflict` | keeps refusing | a retried write returns the event it first made, never a second | | | `attribute-schema` | keeps refusing | the user sees what the agent wrote | | | `attributes-schema` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `awaits-blanket` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `awaits-key` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `awaits-records` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `awaits-retired` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `awaits-value` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `awaits-verbs` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `binding-written` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `body-content` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `body-nested` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `content-empty` | keeps refusing | the user sees what the agent wrote | | | `contract-conflict` | keeps refusing | each widget reads the data its markup names, in its declared contract | | | `contract-reference` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `contract-resource` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `contract-schema` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `created-exists` | keeps refusing | each id names one element for comments and commands to reach | | | `creates-content` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `creates-detail` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `creates-id` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `creates-owner` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `creates-required` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `creates-semantic-owner` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `creates-unit` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `creates-unknown` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `css-import` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `css-not-utf8` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `css-syntax` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `data-body` | keeps refusing | the user sees what the agent wrote | | | `data-contract` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `data-input` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `data-reference` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `datum-unbound-source` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `datum-unknown-section` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `datum-unsupplied-source` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `deciding-verb` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `deciding-verbs` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `declaration-not-object` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `dependency-encoded` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `dependency-escapes` | keeps refusing | no file from outside the page enters a revision or its export | | | `dependency-not-local` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `dependency-outside-page` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `dependency-scheme-dependent` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `dependency-symlink` | keeps refusing | no file from outside the page enters a revision or its export | | | `dependency-unreadable` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `dependency-url` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `detach-with-target` | keeps refusing | a command does only what its arguments plainly say | | | `detail-field` | keeps refusing | a command does only what its arguments plainly say | | | `digest-collision` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `document-declaration` | keeps refusing | every page Leaf activates can be served and loads its runtime | | | `duplicate-ids` | keeps refusing | each id names one element for comments and commands to reach | | | `empty-suggestion` | keeps refusing | each question on the user's On Me list changes what it shows when answered | A suggestion with neither old nor new words puts a question on On Me that changes nothing whichever way the user decides. | | `ended-todo` | keeps refusing | a to-do's recorded outcome stays as its first end gave it | | | `ephemeral-content` | keeps refusing | what a message asks, promises or changes stays shown in its thread | | | `fixture-event` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `fixture-id-repeated` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `fixture-id-taken` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `fixture-ids-taken` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `fixture-markup` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `fixture-media` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `fixture-refused` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `fixture-ts` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `foreign-destination` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `foreign-gesture` | keeps refusing | each writer's words and decisions come only from that writer | | | `foreign-layer` | keeps refusing | the user's recorded decisions are read as they were written | | | `foreign-message` | keeps refusing | each writer's words and decisions come only from that writer | | | `foreign-unit` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `foreign-verb` | keeps refusing | each writer's words and decisions come only from that writer | | | `head-count` | keeps refusing | every page Leaf activates can be served and loads its runtime | | | `held-anchor` | keeps refusing | a thread sent from a widget stays shown in that widget | | | `hold-target` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `idiom-schema` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `idiom-selector` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `ids-taken` | keeps refusing | each id names one element for comments and commands to reach | | | `ids-taken-by-messages` | keeps refusing | each id names one element for comments and commands to reach | | | `instance-contract` | keeps refusing | each decision the user makes is recorded and reads back as made | | | `invalid-declaration` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `invalid-detail` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `invalid-event` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `invalid-source` | keeps refusing | a reply reaches the user with the page edits saved before it | | | `invalid-when` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `layer-facts` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `layer-import-missing` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `layer-unavailable` | keeps refusing | the page draws with the packages it selected | | | `loose-text` | keeps refusing | the user sees what the agent wrote | | | `manifest-digest` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `markdown-needs-data` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `member-record-slot` | keeps refusing | each decision the user makes is recorded and reads back as made | | | `message-style` | keeps refusing | the page looks as its source says, whatever its threads hold | | | `message-stylesheet` | keeps refusing | the page looks as its source says, whatever its threads hold | | | `missing-media` | keeps refusing | the user sees what the agent wrote | | | `missing-thread` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `module-not-local` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `module-outside-page` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `module-type` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `needs-id` | keeps refusing | each decision the user makes is recorded and reads back as made | | | `needs-module` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `nested-suggestion` | keeps refusing | a suggestion the user decides changes exactly the words it shows | | | `nested-unit` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `newer-layer` | keeps refusing | the user's recorded decisions are read as they were written | | | `no-layer` | keeps refusing | the page draws with the packages it selected | | | `no-registry` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `no-source` | keeps refusing | every page Leaf activates can be served and loads its runtime | | | `not-a-reply` | keeps refusing | a decision on the page is answered by the version that writes it in | | | `not-a-widget` | keeps refusing | each write acts on the item its id names | | | `not-an-element` | keeps refusing | each write acts on the item its id names | | | `not-member` | keeps refusing | the user sees what the agent wrote | | | `not-utf8` | keeps refusing | every page Leaf activates can be served and loads its runtime | | | `obligation-end` | keeps refusing | each write acts on the item its id names | | | `output-contract` | keeps refusing | each widget reads the data its markup names, in its declared contract | | | `outside-destination` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `outside-reference` | keeps refusing | each reference a widget makes reaches the element it names | | | `owned-twice` | keeps refusing | the user sees what the agent wrote | | | `package` | keeps refusing | every page that selects the package composes into a layer Leaf serves | | | `page-layer` | keeps refusing | the page draws with the packages it selected | | | `predicate-attribute` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `predicate-schema` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `publication-owner` | keeps refusing | each revision's place in the log is where Leaf published it | | | `quoted-widget` | keeps refusing | the log records decisions only from live widgets, never quoted ones | | | `reading-role-attr` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `reanchor-section` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `reanchor-thread` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `record-type` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `record-undeclared` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `record-unit` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `record-within` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `reference-contract` | keeps refusing | each reference a widget makes reaches the element it names | | | `registry-json` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `registry-not-file` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `registry-not-object` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `registry-not-utf8` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `repeated-key` | keeps refusing | each decision the user makes is recorded and reads back as made | | | `repeated-slot` | keeps refusing | a suggestion the user decides changes exactly the words it shows | | | `requires` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `reserved-answer` | keeps refusing | each update gets one answer, from the writer that reserved it | | | `reserved-ids` | keeps refusing | the runtime's own ids and markers name only what it wrote | | | `reserved-markers` | keeps refusing | the runtime's own ids and markers name only what it wrote | | | `retired-when` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `revision-exists` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `run-written` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `sample-array` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `sample-json` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `sample-loop` | keeps refusing | every page Leaf activates can be served and loads its runtime | | | `sample-script` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `sample-script-type` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `sample-source-both` | keeps refusing | a live sample opens with its authored history, every event one the log admits | | | `script-not-utf8` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `self-closing` | keeps refusing | the user sees what the agent wrote | | | `shared-slot` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `shown-unit` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `shows-no-answer` | keeps refusing | each view the user moves changes the answer it shows | | | `shows-outside` | keeps refusing | each view the user moves changes the answer it shows | | | `shows-reference` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `shows-value` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `split-pre` | keeps refusing | the user sees what the agent wrote | | | `stale-edit` | keeps refusing | a gesture changes only what its sender saw when making it | | | `stale-move` | keeps refusing | a gesture changes only what its sender saw when making it | | | `stray-members` | keeps refusing | the user sees what the agent wrote | | | `stylesheet-type` | keeps refusing | each revision draws every file it names, the same wherever it is shown | | | `summary-endpoints` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `summary-order` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `superseded-reply` | keeps refusing | the user's newer message stays owed until the agent answers it | | | `text-outside-pre` | keeps refusing | the user sees what the agent wrote | | | `unanchorable` | keeps refusing | each comment anchors to the one passage its quote or id names | | | `unasked-obligation` | keeps refusing | each question a reply asks again stands on the user's On Me list | | | `unchanged-edit` | keeps refusing | a message shows as edited only when its words changed | Admitting it marks the message edited and unread for nothing, and a user's identical edit would reopen a resolved thread. | | `unclosed` | keeps refusing | the user sees what the agent wrote | | | `undeclared-answer` | keeps refusing | what an answer leaves owed stays on the user's or agent's list | | | `undeclared-attributes` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `undeclared-language` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `undeclared-tag` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `undeclared-verb` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `undeclared-visual` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unit-type` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `unit-undeclared` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `unknown-comment` | keeps refusing | each write acts on the item its id names | | | `unknown-content-version` | keeps refusing | each write acts on the item its id names | | | `unknown-declarations` | keeps refusing | each widget's declaration means one thing to every part of Leaf | Validation and admission look each named owner or scope up, so an unknown one faults every reader of the composition. | | `unknown-destination` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-kind` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-members` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-message` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-output-contract` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `unknown-parent` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-plan-item` | keeps refusing | each write acts on the item its id names | | | `unknown-reaction` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-reference` | keeps refusing | each reference a widget makes reaches the element it names | | | `unknown-revision` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-sender` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-subject` | keeps refusing | each write acts on the item its id names | | | `unknown-todo` | keeps refusing | each write acts on the item its id names | | | `unknown-undo` | keeps refusing | each write acts on the item its id names | | | `unknown-unit` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unknown-widget` | keeps refusing | the user sees what the agent wrote | | | `unnamed-module` | keeps refusing | the user sees what the agent wrote | | | `unnamed-sample` | keeps refusing | each live sample opens from the template its id names | | | `unoverruled` | keeps refusing | every version can take back a decision or report it supersedes | A version can't keep its state over a worker's report without `overruled`. | | `unowed-start` | keeps refusing | each write acts on the item its id names | | | `unowned-placement` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `unrestated` | keeps refusing | every version can take back a decision or report it supersedes | A version can't withdraw the user's decision on a widget without `restated`. | | `unserved-media` | keeps refusing | the user sees what the agent wrote | | | `unundoable` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `verb-contract` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `verb-detail-schema` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `visual-id` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `visual-with-passage` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `widget-not-thread` | keeps refusing | each write acts on the item its id names | | | `withdrawn-gesture` | keeps refusing | each gesture is taken back once, and the agent hears of it once | | | `withdrawn-message` | keeps refusing | what the user took back stays taken back | | | `withdrawn-parent` | keeps refusing | what the user took back stays taken back | | | `withdraws-outcome` | keeps refusing | each widget's declaration means one thing to every part of Leaf | | | `wordless-message` | keeps refusing | each logged event fits its kind and names only what the page holds | | | `chrome-words` | keeps failing the check | the user can comment on every word the page shows outside a control | | | `clipped-content` | keeps failing the check | the user can see and reach everything the page draws | | | `clipped-control` | keeps failing the check | the user can see and reach everything the page draws | | | `clipped-out` | keeps failing the check | the user can see and reach everything the page draws | | | `console-error` | keeps failing the check | the user sees the page's widgets and scripts work as written | | | `covered-words` | keeps failing the check | the user can see and reach everything the page draws | | | `invalid-output` | keeps failing the check | each widget reads the data its markup names, in its declared contract | | | `invalid-paint` | keeps failing the check | the user sees the page's widgets and scripts work as written | | | `missing-upgrades` | keeps failing the check | the user sees the page's widgets and scripts work as written | | | `never-upgraded` | keeps failing the check | every page Leaf activates can be served and loads its runtime | | | `no-runtime` | keeps failing the check | every page Leaf activates can be served and loads its runtime | | | `not-ready` | keeps failing the check | every page Leaf activates can be served and loads its runtime | | | `over-margin` | keeps failing the check | the user can see and reach everything the page draws | | | `page-exception` | keeps failing the check | the user sees the page's widgets and scripts work as written | | | `page-report` | keeps failing the check | the user sees the page's widgets and scripts work as written | | | `reading-overran` | keeps failing the check | every page Leaf activates can be served and loads its runtime | | | `relative-render` | keeps failing the check | each widget shows the state the log records | | | `render-threw` | keeps failing the check | each widget shows the state the log records | | | `resize-loop` | keeps failing the check | the user sees the page's widgets and scripts work as written | Fails only when a complete second attempt repeats the notice; one no complete attempt settles gives way to what stopped that attempt. | | `retired-slot` | keeps failing the check | each widget shows the state the log records | | | `settlement-mark` | keeps failing the check | each widget shows the state the log records | | | `tiny-boxes` | keeps failing the check | the user sees the page's widgets and scripts work as written | | | `under-panel` | keeps failing the check | the user can see and reach everything the page draws | | | `unmarkable` | keeps failing the check | each comment marks and reaches the element or part it anchors to | | | `unreadable-examples` | keeps failing the check | each widget's worked example draws for the authors who copy it | | | `verbatim` | keeps failing the check | a comment's quote resolves to the words the page shows | | | `visual-parts` | keeps failing the check | each comment marks and reaches the element or part it anchors to | | | `window-error` | keeps failing the check | the user sees the page's widgets and scripts work as written | | | `apparatus-among-authored` | refused nothing; now advice | | | | `form-control-words` | refused nothing; now advice | | | | `gesture-scrolled` | refused nothing; now advice | | | | `moved-without-input` | refused nothing; now advice | | | | `not-owned` | refused nothing; now advice | | | | `nothing-to-watch` | refused nothing; now advice | | | | `place-resized` | refused nothing; now advice | | | | `renewal-refused` | refused nothing; now advice | | | | `request-failed` | refused nothing; now advice | | | | `request-status` | refused nothing; now advice | | | | `revive-refused` | refused nothing; now advice | | | | `server-down` | refused nothing; now advice | | | | `server-stays-stopped` | refused nothing; now advice | | | | `server-unowned` | refused nothing; now advice | | | | `shift-watch-missed` | refused nothing; now advice | | | | `stopped-during-init` | refused nothing; now advice | | | | `typing-moved` | refused nothing; now advice | | | | `unchanged-write` | refused nothing; now advice | | | | `unmoved-scroll` | refused nothing; now advice | | | | `unread-syntax` | refused nothing; now advice | | | | `unready-reinit` | refused nothing; now advice | | | | `wait-active` | refused nothing; now advice | | | | `watch-taken-over` | refused nothing; now advice | | | | `words-left-screen` | refused nothing; now advice | | | </details> > _This was written by Claude Code on behalf of max-sixty_
Five refusals that stopped a reasonable agent choice now let it in, as Max picked on the survey of refusals that second-guess agents (decisions 10 and 11):
lf-panegrammar checks (pane-ends,pane-header-first,pane-footer-last,pane-body) no longer refuse the page;page checksays what the pane's grid does with what it found. Measured in Chromium: a second<header>sits beside the first in a column of its own; a header or footer out of order still draws at the top or bottom, while keyboard and screen-reader order follow the markup; several body blocks overlap in the one body cell and only the first scrolls; loose text stands without the body's padding and doesn't scroll. A pane holding a<script>, or blocks a script shows one at a time, now passes, as does a pane with no body. Message markup has no channel for advice, so a pane in a thread message is no longer checked at all.reserved-resolvesis gone. It refused a package declaringresolveson a widget that asks nothing, where admission never reads it.summary-orderstill refuses a range whosefromcomes after itsthrough.page initgiven the same--packagetwice selects it once, and a stamp naming a widget twice in--completescompletes it once.Production code is +55 −52, most of it the advice's new words; tests −1. No schema or protocol change.
Tests: the pane, registry, summary and page-init tests, in the focused
tests/modelfiles they live in (813 passed).