Skip to content

Name the x-state flag that requires report text text: true, not report: true - #2645

Merged
max-sixty merged 2 commits into
mainfrom
verb-text-flag
Oct 12, 2026
Merged

max-sixty merged 2 commits into
mainfrom
verb-text-flag

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

The x-state flag that makes an agent verb's reports carry non-empty detail.text was called report: true. Every verb that can declare it already writes reports (writer: "agent"), so the name said nothing; text: true names what it requires.

The rename covers the three Python readers (registry/contract.py's detail schema, the report feed in projection.py, the excerpt in history.py), schema.py's STATE_SCHEMA, the ActionSpec type, the references and $ docs, docs/registry.html (regenerated with leaf-dev keydocs), the two registries that declared it (the command-hub example's lf-atlas-worker and the test fixture lf-test-worker), the corpus, and the recorded-effect-payloads eval rubric.

Behavior change: page check now refuses a registry that declares report: true ("'report' was unexpected"). No shipped package declared it. The event log is unchanged, because since #2431 state_definition records neither name in meaning.state, so this needs no protocol bump; an older page whose own registry still says report: true is drift, fixed by re-vendoring or renaming the key.

Two seeded test events carried a stale "report": False in meaning.state that admission no longer writes; it is removed.

Touching tests/journeys/test_render_gate.py selected it, and it was already failing on main: since #2634, the options under an unsettled ask are joined cells with no transition, so its check that the arrival guard releases package transitions read all on #wait-day. It now reads the suggestion fold's padding transition instead.

This was written by Claude Code on behalf of max-sixty

An agent-written verb (`writer: "agent"`) already writes reports, so
`report: true` named nothing the verb did not already say. The flag's one
effect is to require each report to carry non-empty `detail.text`, and
`text: true` now names that.

Behavior change: the registry schema accepts `text: true` on an agent verb
and refuses `report`, so `page check` rejects a registry that still
declares `report: true` ("registry extensions are invalid"). Admission,
the report feed's `text` and history excerpts read the new key. No shipped
package declared the flag; the Atlas example, the work fixture package,
the references, the `x-state` docs, the generated `docs/registry.html` and
the recorded-effect-payloads eval rubric now use the new name.

The flag was never part of an event's recorded `meaning.state`, so the
log, the runtime's posts and the event contract are unchanged and the
page protocol stays where it is. Seeded test events that still carried a
stale `"report": False` in `meaning.state` drop it to match what admission
writes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Oct 12, 2026
…ption

Since #2634 an unsettled ask's options with labelled cards are joined cells,
which declare no transition by design, so `#wait-day` read `all` and the
returning-user test failed on main whenever it was selected. The test needs
any transition the presentation guard holds back; the suggestion's lf-old
declares `padding`, which reads `none` while the guard holds.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 5b67ef6 into main Oct 12, 2026
3 checks passed
@max-sixty
max-sixty deleted the verb-text-flag branch October 12, 2026 20:25
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