Repository navigation
docs(help): match audit findings to the snapshot by element name - #4739
Conversation
Size Report
Startup median (7 runs, lower is better):
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on bdcef77. The verdict and the full list are in the summary comment.
|
At bdcef77 the help wording change looks fine, but the branch also commits 119 generated Gradle outputs under This turns a one-file help change into about 120 binary files in The Coverage job is failing, and its log excerpt ends mid-run with no failing test or threshold line, so the cause is unclear. The wording change does not touch any test that ran there. The tracked build files are the only possible overlap. Please re-run Coverage on the one-file diff after the cleanup. Smoke Tests (macos) was still running, and it does not exercise help text. There are no conflicts. Not blocking: these can be taken or left. The new text at Once the build files are gone and Coverage is green on the one-file diff, the wording is fine to merge. |
bdcef77 to
f0ba29a
Compare
This comment has been minimized.
This comment has been minimized.
|
The 119 committed Gradle build outputs are gone at f0ba29a, and the help text now falls back to role and rect when a finding shows only a role. One problem from the earlier review (#4739 (comment)) remains. A screen can have two buttons named Save at different positions, with only one undersized. The audit then prints a small-target finding for button "Save", and the snapshot has two rows with the same role and name. The finding carries its rect in the JSON output, but the accessibility and dogfood instructions (cli-help-workflows.ts#L217) reserve the rect fallback for findings that print only a role. An agent following the workflow can then tap or record the wrong control. In both workflows, please use the printed name or identifier only when it identifies exactly one snapshot element. Use role and rect from the JSON output when the identity is missing, absent from the snapshot text, or matches several elements. The agent should act only after it has identified a unique element. Please also confirm that the text output of The open inline thread about the unnamed or descendant-named controls is fixed at this head and can be resolved (#4739 (comment)). So can the thread about the Gradle build outputs (#4739 (comment)). Coverage failed in the "Run coverage" step, but the log has no assertion or error line. It stops in the react-native companion-worker tests. The diff is one help-text string and no test asserts the old or new phrases, so the failure looks unrelated. The job has been re-run. The other 17 checks pass, and there are no conflicts. Before merge, please fix the duplicate-name case above and make sure Coverage passes. |
4c43221 to
a1125cc
Compare
|
Fixed at a1125cc, rebased onto main after #4737 merged.
|
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This PR is ready at a1125cc. Both points from the earlier review are fixed: a finding with only a role now matches by role and rect, and Not blocking, and you can take or leave these: The open inline threads on the 119 Gradle outputs (#4739 (comment)) and on nameless findings (#4739 (comment)) no longer apply. The first one is out of date because this head changes only one file. The second one is covered by the new role-and-rect wording. Please resolve both. |
Summary
#4652 made
auditprint each finding's element name.help accessibility(step 3) and thehelp dogfoodPlatform checks still told agents to find the element by role and position. This PR changes both to the element name that audit prints. A missing-name finding has no name, so the help keeps role and rect for that case.src/commands/schema/cli-help-workflows.ts. No runtime change.Validation
bdcef77e9daff60a4668b23eccdd1ad6d9b95de8.pnpm check:affected --run: all runnable checks passed.vitest run src/commands/schema: 114 passed.pnpm bench:help-conformance --case accessibility-review --runner claude:sonnet --repeat 3: 3/3. One earlier run scored 2/3 because the model added--settletofind, whichfinddoes not support. That is unrelated to this wording.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.