Repository navigation
Name no element for an approval's prompt - #3402
Merged
Merged
Conversation
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]>
leaf-agent
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A version's sign-off obligation now serves
prompt.target: null. It namedlf-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.targetbecomes 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.targetfinds no reader added or removed in that range): obligations/place.jsobligationPlacereads the target only for a widget's obligation, and obligations/view.js reads it only inside the destinationobligationPlacereturns, which is null for an approval.