Repository navigation
Polish maps a whole site before an in-depth review (experimental) - #46
Merged
Merged
Conversation
Turning on In depth in the Polish start page makes the agent map the product first: pages, plus the modals, popups and slide-in panels each page opens, with same-layout pages grouped. The map opens in the same tab; the owner ticks screens and sets a depth, and each picked screen is reviewed by its own subagent before the findings merge into one report. - experimental/polish-indepth/SKILL.md: the map, pick, per-screen and merge steps - assets/site-map.html: the stamped map page served over the JSON bridge - assets/survey.js: a read-only in-page survey of links and overlay triggers - review-start.html: the In depth switch, and a reload into the map - e2e R0b: the in-depth flow from the switch to the report Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The map now starts with every screen reviewed at the agent's suggested depth (Standard by default). Each row takes Skip, Quick, Standard or Deep; a page's choice carries to what sits under it, and one control sets them all. Resting the pointer on a row shows the screen's preview, captured while mapping. Pages that share a layout say that one of them is checked. The page saves plan in place of focus and depth, and Polish writes indepth when the owner asks for it in chat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Takes main through 6.19.0. The in-depth switch moves onto the start page's new switch markup, and this branch now ships as 6.20.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the Polish Showcase round on the site map itself: - Depth is gone. Each screen has one switch, on by default; Include all appears once something is off, and the page saves exclude in place of plan. The explaining copy is cut. - The preview has one fixed place at the top of the side panel, swapping with a fade and one pass of the scan beam. Narrow and touch screens show the picture inside a row the owner opens. - The map arrives in layers: rows land in tree order and the red block of the mark runs down the tree. - A screen under review shows the beam sweeping its row; a finished one flashes green and its tick pops in. - When every screen is done, the mark stacks itself, the red block lands last, and the panel says the report is on its way. Every effect stops under prefers-reduced-motion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In-depth mode now has two modes. Screens asks whether each screen is right; Workflows asks whether people can finish what they came to do. - The agent finds the journeys while it maps: calls to action, navigation and every form, which survey.js now lists with its fields and submit. - The map gains a Workflows tab: one card per journey, its steps as chips in order. Each card has a switch, and the side panel has one switch per mode. Resting on a step shows that screen in the preview. Review saves one exclude list holding screen and workflow ids. - Each workflow gets its own agent, which walks the journey at phone and desktop size and gives checks WF1 to WF7 a verdict at every step. The map follows it with the beam on the step it has reached. - Workflow findings get a category per journey, ahead of the screens, and show the steps up to the break as Today. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
While a steered section is still being revised, or a section has no answer, the closing slide names it and offers Go to it. The ▾ menu's Approve & finish waits for a revision in progress. R2 and R3 cover both cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the Polish Showcase round on the in-depth flow, all six approved: - Choose what to cover first. With In depth on, picking a level opens a second step with three cards, Pages, Workflows and Both, each previewing what it covers on hover. indepth now saves "pages", "workflows" or "both", and the agent maps only that. - One rail of steps, Level, Cover, Map, Review and Report, under the top bar of the start page, the map and the report. It lives in lib/shell as an opt-in stamped block, shown with VSShell.rail(step, busy); the red block runs inside the step the agent is working on. - The map is a stepped form: Pages, then Workflows, with Next and Back, and a slide between them. One covered mode means a single step. - Workflows are steered, removed or added rather than switched. Steers and new journeys save workflowEdits for the agent to redraw before the review. - Fewer words: no count line, tab hint, legend, Preview label, paths or notes on the map, and "×33" for pages that share a layout. - Mapping and review keep the rail, so the run never jumps between pages that look unrelated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What this changes
On a whole site or a large web app, one Polish pass reaches only a few screens and returns few findings. This PR adds an experimental In depth mode with two jobs: Pages (is each page right?) and Workflows (can people finish what they came to do?).
indepthsavespages,workflowsorboth, and the agent maps only that.assets/survey.jsreads each page's same-origin links, overlay triggers, overlays and forms, and clicks nothing. Pages that share one layout become one, and one of them is checked. Workflows are named journeys across those pages.site-map.html, a stepped form.workflowEdits, and the agent redraws them before the review.exclude.A rail of steps runs under the top bar of every page in the run: Level, Cover, Map, Review and Report. It lives in
lib/shellas an opt-in stamped block (rail.css,rail.html,VSShell.rail(step, busy)). The red block from the Visual Stack mark sits on the current step, and runs while the agent works.This PR also changes the Polish report for every round. While the agent is still revising a steered section, or a section has no answer, the last slide names it and offers Go to it in place of Approve & finish.
The look and flow came out of two Polish Showcase rounds run on these pages. The owner approved, steered and rejected each proposal in the report, and only what was approved is built. Every effect stops under
prefers-reduced-motion.Instructions are in
plugins/vstack/experimental/polish-indepth/SKILL.md. Polish's SKILL.md and report.md link to them. Version 6.20.0 (MINOR) on top of main's 6.19.0, which is merged in.How it was tested
report.featuredrives the whole run:workflowEdits→ the agent redraws → remove one → Review savesexclude;claudeand undercodex.survey.jsagainst a fixture page and over 144 pages of info.cern.ch.build-shell.mjs check, bothclaude plugin validate --strictruns andcheck-version.mjsall pass.Checklist
lib/workdir.mjsand lands under.vstack/local/<tool>/.lib/shell/rather than a stamped region, rannode plugins/vstack/lib/build-shell.mjs stamp, and committed both.plugins/, and raisedversionin both host manifests with a matchingCHANGELOG.mdentry. Merging this publishes it.🤖 Generated with Claude Code