You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ui-feedback: note relocation cannot tell a removed control from an unmarked page #17010
changed the title [-]prototype: note relocation cannot tell a removed control from an unmarked page[/-][+]ui-feedback: note relocation cannot tell a removed control from an unmarked page[/+]on Nov 18, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: lib/ui-feedback relocate-note.mjs, proto-pin.js, note.schema.json (x-version 4 to 5), fixtures, contract docs and tests; read by ui-feedback note import users.
Reversible: yes; revert the change, though notes written with a new field would carry it.
Open questions: none
Understood: relocation should report a removed control differently from an unmarked page, and a region note should record covered elements without test ids or say it could not, each with a test that fails before the change. The refinement comment already lays out the approach. No duplicates or merged fixes found; #16088 is the related merged work.
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.
melodic-automation-lanes commented on Nov 18, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Relocation reports a removed control differently from a page that marked none, and a region note records its covered elements even without test ids or says in the note that it could not, each with a failing-before unit test.
Acceptance criteria
In lib/ui-feedback/relocate-note.mjs the replay and setControls results keep the helper's -1 (no frame helper, the page never marked controls) apart from a positive missed count (a control removed), and the output reports the two differently, e.g. restored.data and restored.controls are false only for a removed control and an unmarked page sets a separate field such as out.unmarked.
A test in lib/ui-feedback/relocate-note.test.mjs where the helper is absent asserts the unmarked-page report; the existing assertions at relocate-note.test.mjs:249-251 and :270-272 are updated to say which case each is.
A test in relocate-note.test.mjs where the helper returns a missed count above 0 asserts the removed-control report and differs from the unmarked-page one.
lib/ui-feedback/proto-pin.js sendRegion (around line 250) records the elements a region crosses without test ids, as anchors from anchorOf, or sets a field in the posted note stating it could not.
If a new field or a changed elements rule is added, lib/ui-feedback/note.schema.json allows it, its x-version moves from 4 to 5, and fixtures/notes.json and the ui-feedback contract docs state it.
A test in lib/ui-feedback/note-model.test.mjs validates a region note with the new elements or could-not field, and fails against the current schema.
Each new test fails when run against the code before the change and passes after it.
The lib/ui-feedback tests run by note-model.test.sh and relocate-note.test.sh pass.
External state: none
Dependencies
none open: #16088 (merged, closed) supplies the code this extends
lib/ui-feedback/relocate-note.mjs:63-72: restored.data is missed === 0 and restored.controls is setControls === 0, and the helper returns -1 when window.uiFeedbackRelocate is absent, so an unmarked page and a removed control both give false.
lib/ui-feedback/relocate-note.test.mjs:247-251: tests expect restored.data false both for missed controls and for no frame helper.
lib/ui-feedback/relocate-note.test.mjs:268-272: the same single false for controls.
lib/ui-feedback/proto-pin.js:250-251: sendRegion collects only [data-testid] elements into elements, so unmarked content gives an empty list.
lib/ui-feedback/note.schema.json:17: elements is an array of anchors capped at 10; x-version is 4 at line 6.
lib/ui-feedback/fixtures/notes.json:251-258: a valid fixture with an empty elements list.
Automated refinement by the lanes App. Intake triages the issue again with it.
This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 44324707926, the work-resolve-issue run that agent-ready started, before it finished; that run ended at 2026-11-18T15:37:26Z. work-unblock has now removed and added agent-ready back to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last added agent-ready or a run last reported, work-unblock waits the same limits.stranded-backoff-hours kill-switch hours after each refused run before re-firing it, never longer.
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44623116144, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-19T22:11:44Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.
Activity
[-]prototype: note relocation cannot tell a removed control from an unmarked page[/-][+]ui-feedback: note relocation cannot tell a removed control from an unmarked page[/+]github-actions commentedon Nov 18, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
github-actions commentedon Nov 18, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: lib/ui-feedback relocate-note.mjs, proto-pin.js, note.schema.json (x-version 4 to 5), fixtures, contract docs and tests; read by ui-feedback note import users.
Reversible: yes; revert the change, though notes written with a new field would carry it.
Open questions: none
Understood: relocation should report a removed control differently from an unmarked page, and a region note should record covered elements without test ids or say it could not, each with a test that fails before the change. The refinement comment already lays out the approach. No duplicates or merged fixes found; #16088 is the related merged work.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 18, 2026
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.melodic-automation-lanes commentedon Nov 18, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Relocation reports a removed control differently from a page that marked none, and a region note records its covered elements even without test ids or says in the note that it could not, each with a failing-before unit test.
Acceptance criteria
External state: none
Dependencies
Related work
Sources read
Automated refinement by the lanes App. Intake triages the issue again with it.
melodic-automation-lanes commentedon Nov 18, 2026
{"v":1,"actor_id":337595936,"title_sha256":"99b09fc0630fd7845eec924950ee1db07dfe9b67dc4a4d80a0aa5c9b6e42c53b","body_sha256":"74ab6327c36d0b82f0387c9be06d1df517c8b28a581a9e502fe116f9480d5504"}
melodic-automation-lanes commentedon Nov 18, 2026
{"v":1,"actor_id":337595936,"title_sha256":"99b09fc0630fd7845eec924950ee1db07dfe9b67dc4a4d80a0aa5c9b6e42c53b","body_sha256":"74ab6327c36d0b82f0387c9be06d1df517c8b28a581a9e502fe116f9480d5504"}
github-actions commentedon Nov 18, 2026
melodic-automation-lanes commentedon Nov 19, 2026
This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 44324707926, the work-resolve-issue run that
agent-readystarted, before it finished; that run ended at 2026-11-18T15:37:26Z. work-unblock has now removed and addedagent-readyback to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last addedagent-readyor a run last reported, work-unblock waits the same limits.stranded-backoff-hourskill-switchhours after each refused run before re-firing it, never longer.melodic-automation-lanes commentedon Nov 19, 2026
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44623116144, the work-resolve-issue run that
agent-readystarted, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-19T22:11:44Z. work-unblock has now removed and addedagent-readyback to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or thekill-switchwait.github-actions commentedon Nov 20, 2026
github-actions commentedon Nov 20, 2026