Skip to content

Name no element for an approval's prompt - #3402

Merged
max-sixty merged 4 commits into
mainfrom
floating-panel
Oct 21, 2026
Merged

max-sixty merged 4 commits into
mainfrom
floating-panel

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A version's sign-off obligation now serves prompt.target: null. It named lf-approve, the id of the classic chrome's Approve button, which #3100 deleted, so every served approval pointed at an element no page has. The approval asks about the version as a whole, and the chrome that presents it brings the user to it (page-status.js, registerApprovalPresentation). module-reading.md now says what an approval's target is.

The served state's prompt.target becomes nullable, which the protocol check names as a served-state change (#3397). It is accepted at protocol 16 without a bump. Readers checked, now and since be98116 set protocol 16 (git log -S prompt.target finds no reader added or removed in that range): obligations/place.js obligationPlace reads the target only for a widget's obligation, and obligations/view.js reads it only inside the destination obligationPlace returns, which is null for an approval.

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

max-sixty and others added 4 commits October 20, 2026 14:02
A version's sign-off obligation now serves `prompt.target: null`. It
named `lf-approve`, the id of the classic chrome's Approve button, which
#3100 deleted, so every served approval pointed at an element no page
has. The approval asks about the version as a whole, and the chrome that
presents it brings the user to it (page-status.js,
`registerApprovalPresentation`). No consumer read the old id: the
browser places only a widget obligation by its target
(obligations/place.js), and `agent_state` reads targets only for
widgets. module-reading.md says what an approval's target is.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Readers checked, now and since be98116 set protocol 16 (`git log -S
prompt.target` finds no reader added or removed in that range):
obligations/place.js `obligationPlace` reads the target only for a widget's
obligation, and obligations/view.js reads it only inside the destination
`obligationPlace` returns, which is null for an approval.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit c856120 into main Oct 21, 2026
3 checks passed
@max-sixty
max-sixty deleted the floating-panel branch October 21, 2026 00:45
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