[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74ERJQ717BK7ZGM2BTW8K6S":3,"skill-same:01M74ERJQ717BK7ZGM2BTW8K6S":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M74ERJQ717BK7ZGM2BTW8K6S","frontx-project-scaffolding",null,"Applies when a developer wants a FrontX project built from what they say they want, rather than from a reference they already hold - for example a console with a stated number of screens - and equally when they want one more unit added to a project that already holds applied templates. Matches the stated intent against what the locally installed inventory declares about itself, drives the frontx executable to apply the chosen set, and then realizes each unit the intent names inside the applied ground.","constructorfabric\u002Fgears-frontx","constructorfabric","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F286363322?v=4","01M74EHWDT73DH7WYE949KK2Y7","Constructor Fabric","01M74EP20MCWS5GZHX80JFSF84",31,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002Fpackages\u002Fcyber-pilot-kit-frontx\u002Fskills\u002Fproject-scaffolding\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: frontx-project-scaffolding\ndescription: \"Applies when a developer wants a FrontX project built from what they say they want, rather than from a reference they already hold - for example a console with a stated number of screens - and equally when they want one more unit added to a project that already holds applied templates. Matches the stated intent against what the locally installed inventory declares about itself, drives the frontx executable to apply the chosen set, and then realizes each unit the intent names inside the applied ground.\"\n---\n\n# Create a FrontX Project from a Stated Intent\n\nThe developer says what they want built. This capability delivers a project that\nholds it.\n\nNothing in this document knows the name of any template. Everything it chooses\namong is read from the inventory installed on this machine, at the moment of\nuse, through the `frontx` executable. A conforming template installed after this\ndocument shipped becomes selectable immediately, with no change here.\n\n## Boundaries you must not cross\n\n- **Drive the executable, never the package.** Every application of a template\n  happens by running `frontx`. Do not import `@gears-frontx\u002Fcli`, do not call\n  into it, and do not read its inventory storage on disk. What the inventory\n  holds reaches you as the output of a command you ran, and by no other means.\n- **Reproduce nothing the CLI owns.** Resolution, assembly, the pre-flight\n  conflict check and provenance writing belong to the CLI. Do not re-implement\n  them, pre-empt them, or work around a refusal any of them issue.\n- **Write no project file yourself while applying.** Until the applications are\n  finished, every file under the target directory is one the CLI wrote.\n- **No correction loop.** When a command exits non-zero, stop there. Relay the\n  reason that command itself reported, unreinterpreted. Do not retry it, do not\n  adjust the arguments and run it again, and do not run the next command.\n- **Refuse rather than guess.** When you cannot tell what to apply, say so and\n  write nothing. A project the developer did not ask for is worse than no\n  project.\n\n## Step 1 - Read the selectable set\n\n```bash\nfrontx list --json\n```\n\nOne JSON line: `{ \"ok\": true, \"templates\": [ ... ] }`. Each record carries\n\n- `name` - the template's identity, and **the argument the apply commands take**;\n- `ref` - the reference the entry is pinned at, taken from the source-spec's\n  `@ref` segment. Report it in the plan so the developer sees which pinned\n  reference will be applied. It is **not** the manifest's `version` field: the\n  two need not agree in form or value, so do not present it as the version and\n  do not derive one from the other;\n- `source` - the address it was resolved from;\n- `description` - the template's own statement of what it establishes and what\n  it contributes. **The key is absent when the template declares none**;\n- `manifestUnreadable` - present, and only ever `true`, when the entry's stored\n  manifest no longer satisfies the manifest contract, so no description could be\n  read from it. The listing reports the rest of the inventory rather than failing\n  over one bad record, and marks the bad one this way. **Neither entry is\n  selectable, but they are not the same problem and must not be reported as the\n  same one**: a template that declares none is working as intended and simply\n  cannot be chosen from an intent, whereas an unreadable manifest is a broken\n  installation the developer can fix by reinstalling that template.\n\nThis command is the only source for the selectable set. Do not consult any\nremote registry, any list built into this document, or the CLI's storage.\n\n## Step 2 - Read what the target directory already holds\n\nRead `\u003CtargetDir>\u002F.frontx\u002Fprovenance.json`. It is a JSON array, one record per\nalready-applied template, each carrying `templateIdentity`,\n`scaffoldedFromVersion`, `sourceSpec` and `occupiedOwnershipBoundary`.\n\nAbsent or unreadable file means the directory holds no applied template. A\ndirectory that already holds records gets no seed - only further templates added.\n\n**Absent provenance is not by itself a licence to seed.** Seeding writes a whole\nrepository and the CLI refuses it against a target that already holds content, so\nalso check what the path holds. Use exactly the CLI's own rule, so your plan and\nits answer cannot disagree:\n\n- **does not exist**, **exists and is empty**, or **holds only** the closed set\n  `.git`, `.DS_Store`, `Thumbs.db` - the plan begins with a seed. A freshly\n  initialized repository holds exactly `.git` and is seedable; treating it as\n  populated would refuse the most common way to start.\n- **exists and is not a directory** - a regular file at the target path. Neither\n  seed nor add can use it. Report it and stop; do not offer add.\n- **holds any other entry, with no provenance** - this is someone's existing\n  work, not a project this flow started. Do not plan a seed against it. Report\n  what was found and put the choice to the developer: a fresh directory to seed\n  into, or `frontx add` applied to the directory as it stands - saying, when you\n  offer add, that it writes only the ground the template declares and refuses,\n  naming the paths, if any of that ground already holds content, so the existing\n  work is either left alone or reported, never overwritten.\n  **Wait for their answer before running anything**; the choice of what happens\n  to their existing work is theirs, and a refusal you could have put to them\n  first reads as the flow having tried and failed.\n  Planning the seed anyway only earns the CLI's refusal one step later, after you\n  have already shown a plan that could not run.\n\n## Step 3 - Select what to apply\n\nWork from the intent, the records from step 1, and the identities from step 2.\n\n1. **Nothing installed.** If `templates` is empty, refuse: selection has nothing\n   to choose from. Tell the developer to install a template first (`frontx\n   install \u003Csource-spec>`) and stop. Run no command that writes files.\n2. **Partition by declared description.** Only records carrying a `description`\n   are candidates. Set the rest aside, keeping the two causes apart - you will\n   report them, and they call for different actions:\n   - carries neither key: the template declares no description. It offers nothing\n     to match an intent against and stays reachable by its exact reference\n     through the direct CLI path.\n   - carries `manifestUnreadable`: the template's stored manifest is broken.\n     Report it as such and name reinstalling it as the fix. Do not report it as\n     declaring no description - that sends the developer looking for a\n     better-described template instead of repairing the one they have.\n3. **No candidates.** If no record declares a description, refuse: nothing\n   matched. List every installed template with the reason it was skipped, using\n   each entry's own cause from step 2. Write nothing.\n4. **Match.** Compare the intent against each candidate's `description`, reading\n   it as the template's own statement of what it establishes and contributes.\n   Special-case no identity, no namespace, no naming pattern - the description is\n   the whole basis, and a name that looks promising is not evidence.\n5. **No match.** If no candidate's description answers any part of the intent,\n   refuse: nothing matched. Name the candidates you considered and those skipped,\n   each with its own reason from step 2. Choose no nearest match, and write\n   nothing.\n6. **The seed.** If step 2 found no applied template, the seed is the single\n   candidate whose description matches the project-establishing part of the\n   intent - the part that says what kind of project this is.\n7. **Nothing establishes the project.** If step 2 found no applied template and\n   no candidate's description matches the project-establishing part - even though\n   some candidate matches a supplemental part - refuse. Name the supplemental\n   candidates that matched, and say that none of them claims to establish a\n   project: a plan built from them carries no seed and lays no ground, and a\n   supplemental template contributes *to* a project, so there would be nothing\n   for it to contribute to. That is the whole reason - do not claim the CLI would\n   refuse such a directory, because it would not. Ask the developer to install a\n   template that establishes a project, or to restate the intent. Write nothing.\n8. **A tie is a question, not a coin flip.** If two or more candidates match the\n   project-establishing part indistinguishably, refuse: a choice is required.\n   Name each tied candidate with its declared description and ask the developer\n   to choose. Guessing here writes a project they did not ask for.\n9. **Further templates.** For each remaining part of the intent, select at most\n   one candidate whose description matches it, skipping any candidate already in\n   the plan. **A template contributes to a project once.** A part of the intent\n   that repeats a unit inside ground the plan already covers adds no second\n   application - see Step 7 (Realize the units the intent names) below.\n   **A part that names a unit is matched here like every other part.** Do not set\n   a unit aside as per-unit work before you have offered it to the inventory:\n   whether a unit has a template of its own is a fact of what is installed, not\n   of how small the unit sounds, and a family that publishes one template per\n   unit reads no differently here from one that publishes a single template\n   covering many. Where a distinct candidate's description claims the unit,\n   selecting it is the answer - one more `frontx add`, not a skill run later -\n   because a template of its own is what gives that unit its own declared\n   boundary, its own version line and its own upgrade cadence.\n   **Write down what you selected each part for.** Step 11 excludes exactly those\n   parts, so you need the pairing of part to selected identity, not just the list\n   of identities.\n   **A tie here refuses exactly as an establishing tie does**: if two or more\n   candidates match one supplemental part indistinguishably, refuse with a choice\n   required, naming that part of the intent and each tied candidate with its\n   description. This is not a lesser decision - the identity you pick is the one\n   the project carries in its provenance from then on.\n10. **Drop what is already applied.** Remove from the plan every identity Step 2\n   (Read what the target directory already holds) recorded, and record it as already applied. Re-applying an identity\n   re-claims ground it already occupies, and the CLI's conflict check refuses the\n   whole operation rather than part of it.\n   **Keep it in step 9's record all the same.** Dropping an identity from the\n   plan does not unmake the selection: the identity is already applied, so the\n   part of the intent you selected it for is already delivered. Step 11 reads\n   step 9's pairing, not the plan, precisely so a dropped identity does not let\n   its unit come back as per-unit work.\n11. **Separate the per-unit work from the residual.** Take every part of the\n    intent that names a unit living inside a selected or already-applied\n    template's own ground, **and that step 9 selected no identity for**. Those\n    are the per-unit work, recorded once per unit and attributed to the template\n    that owns that ground. It is **not** residual - Step 7 (Realize the units the\n    intent names) realizes it.\n    **A unit an application delivers is never also per-unit work.** If step 9\n    selected a distinct template for that unit, the unit is delivered by applying\n    it, and recording it here as well would plan the same unit twice - once as\n    ground to apply, once as work to improvise into ground. This holds whether\n    that identity is still in the plan or step 10 dropped it as already applied,\n    which is why the test is step 9's record and not the plan. Per-unit work is\n    what selection left over: the units the installed inventory offers no\n    template of their own for.\n    Only what no template's description covers and no template's ground contains\n    is residual.\n\n## Step 4 - Present the plan before writing anything\n\nShow the developer, and do not proceed past a refusal:\n\n- the template to seed with, with its identity and its pinned `ref`;\n- each further template to add, in order, with identity and `ref`;\n- each identity dropped as already applied;\n- the units to be realized inside the applied ground, and which template owns\n  the ground each falls in;\n- the residual intent nothing covers.\n\n## Step 5 - Apply, through the executable only\n\nIf the plan carries a seed:\n\n```bash\nfrontx seed \u003Cidentity> \u003CtargetDir>\n```\n\nThen, for each further template in plan order:\n\n```bash\nfrontx add \u003Cidentity> \u003CtargetDir>\n```\n\n`\u003Cidentity>` is the record's `name` from step 1 - the identity the template's own\nmanifest declares - not its `ref` and not its `source`.\n\nIf any of these exits non-zero: stop at that command. Relay its reported reason\nunreinterpreted, name the templates applied before it, and run no further\ncommand. Do not retry.\n\n## Step 6 - Report the applied set from provenance\n\nRead `\u003CtargetDir>\u002F.frontx\u002Fprovenance.json` again and report one entry per record:\nthe identity, the version it was applied from, and its source address. This\nrecord set is the authority on what was applied - report it, rather than\nrestating what the plan intended.\n\nIf the file is absent or unreadable after a command reported success, say the\napplied set could not be confirmed and name the target directory. Do not present\nan applied set you did not read.\n\n**Then stop. Do not continue to Step 7.** Realizing units needs two things this\nfailure denies you: which templates are applied, and their bundles to read. With\nthe applied set unconfirmed both are guesses, and a unit created into ground that\nmay not be there is worse than a unit not created. Report what you know, point at\nthe target directory so the developer can establish its state, and end there.\n\n## Step 7 - Realize the units the intent names\n\nThe plan stops short of the intent until this step runs. An intent naming two\nscreens is not delivered by a project with the ground for screens and no screens\nin it.\n\nEach applied template materialized its own AI-extension bundle into the project\nunder `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`. **Read those bundles from disk now** -\nthey are already there, written by the apply you just ran. Find each template's\nbundle by its identity-scoped path and each capability inside it by the role its\nbundle declares. The skills they contribute are what add a unit to that\ntemplate's ground; they, not this document, know how.\n\nDo not wait for the framework's extension host to activate them. That activation\npass runs on the framework's *next* invocation and makes the same capabilities\navailable as activated resources from then on - it has not run in this session,\nand the flow does not need it to have run. What you need is on disk.\n\n**Realize the units one after another, here.** Finish each unit before starting\nthe next, and hand none of them to a background agent to work alongside the\nothers. Each unit settles conventions the next one follows, and those conventions\nare in this session; a background agent holds none of them and derives them again\nfrom the bundles per unit, arriving at its own answers for questions the previous\nunit already closed.\n\n**A unit is finished only when the checks its covering skill declares have run\ngreen on it**, run here, before the next unit is started. Authoring every unit\nfirst and validating once at the end collects each unit's simple errors into a\nsingle block to debug together, when a per-unit check would have named them one\nunit at a time, as each unit was written.\n\n**Every ecosystem symbol has an address, so grep the address rather than hunt\nfor the symbol.** The types and symbols of every `@gears-frontx` package the\nproject depends on are shipped as declarations under\n`\u003Cproject>\u002Fnode_modules\u002F@gears-frontx\u002F\u003Cpackage>\u002Fdist\u002F`. Grep there first for any\n`@gears-frontx` name whose declaration a unit needs; either that directory\ncarries it or the project does not have it, and the second answer is as usable\nas the first. A filesystem-wide search issued from outside the project tree is a\ndefect, not a search strategy: a run that reached for `find \u002F -iname` was hunting\na type that sat in `node_modules\u002F@gears-frontx\u002Fapi\u002Fdist\u002F` the whole time.\n\nFor each unit from step 3.11, in plan order:\n\n1. **Find the covering skill.** Look in the bundle of the template that owns the\n   unit's ground for a skill whose declared role is adding a unit of that kind.\n   This is the authoritative answer to which template owns the unit - the plan's\n   attribution was provisional (Step 3.11), drawn from what descriptions say, and\n   is corrected here by what the bundles actually carry.\n2. **No covering skill?** Record the unit as residual work, naming the ground it\n   falls in, write nothing into that ground, and move to the next unit. A\n   template that declares no way to add a unit to its ground is not one to\n   improvise into.\n3. **Follow that skill, once, for this unit.** Do exactly what it instructs, in\n   its order. Touch no ground it does not itself claim. It owns the conventions -\n   naming, identifiers, registration, generated artifacts - and you follow them\n   rather than inventing parallel ones.\n4. **Put the stated content in.** The unit must end up carrying what the\n   developer's intent states for *this* unit. How content enters a unit is the\n   covering skill's business - follow whatever it says about where a unit's\n   content lives and how it is edited; do not assume a shape it did not describe.\n   What this document contributes is only the content itself, which nothing but\n   the stated intent can supply. A screen the developer described as showing\n   something must show that thing: a unit created but left as the scaffold shipped\n   it means the unit exists and the intent was not realized.\n5. **A failure stops the flow.** If realizing a unit fails, relay the failure's\n   own reported reason unreinterpreted, name the applied templates and the units\n   realized before it, and realize no further unit. No correction retry.\n\nThen run the verification the covering skills declare for what they created,\nexactly as they declare it - this document does not know which checks a given\ntemplate names, and must not substitute its own. Hand back a project that builds\nand runs, not one that was merely written. When that verification runs across\nevery workspace in one command, capture it under Step 8's rule for aggregate\nruns: whatever the report will quote has to be visible in the output this run\nkept.\n\n**When a declared check is performed in a browser, conduct it this way.** Which\nchecks exist stays the covering skill's to say, and nothing below adds one or\nstands in for one. What follows is how the browser is driven and what the run\nhas to report - which no template declares and every browser run needs.\n\n**`verification-checklist.md`, beside this document, is the browser walk's\ndefinition of done.** This step is the mechanics: how the browser is driven, and\nwhat each incident behind each rule cost the run that learned it. That file is the\naccounting layer over the same mechanics - the categories a claim has to satisfy,\neach with a stable id, and every item in it tracing back to a rule written out\nhere. It adds no requirement this step does not already carry.\n\n**Read it in full before the browser walk begins.** It is installed beside this\ndocument, at `skills\u002Fproject-scaffolding\u002Fverification-checklist.md` under the\ninstalled kit root, and the kit declares it as the\n`frontx_verification_checklist` resource. Open that path and read it end to end,\nfirst line to last. **A partial read does not count**: a head, a line limit, an\nexcerpt, a section jumped to, or the table of contents read as if it were the\nitems. One run read 120 of its 480 lines and asserted every category passed off\nthe contents list, which named the categories and not one of the items under\nthem. **A PASS line in the report may be written only against items this run\nactually read**, so a checklist read partly is a checklist whose unread items\ncannot be passed. Read it before the walk, so the walk is driven toward what will\nbe accounted for, and walk it again before the report is composed. Step 8 carries\nits per-category status, and a category the report leaves out fails there.\n\n**The walk runs the shipped driver.** The kit installs it as the\n`frontx_verify_walk` resource, beside this document at\n`skills\u002Fproject-scaffolding\u002Fscripts\u002Fverify-walk.mjs` under the installed kit\nroot. Resolve that path from the same installed kit root this document was read\nfrom, and run it:\n\n```bash\nnode \u003Cinstalled kit root>\u002Fskills\u002Fproject-scaffolding\u002Fscripts\u002Fverify-walk.mjs \\\n  --host \u003Cdev server origin> \\\n  --browser-cmd 'npx --yes agent-browser@\u003Cpinned version>' \\\n  --capdir \"$CAPDIR\" \\\n  --checkpoints \u003Cname>:\u003Cdestination>:\u003Cthat point's ready testid>,... \\\n  --checkpoint-selector '\u003Cthe reaching control testid, with {checkpoint} or {handle} in it>' \\\n  --variants registry --variant-registry \u003Cfile the declared set was read into> \\\n  --variant-switcher \u003Ctestid of the control that opens the values> \\\n  --variant-option '\u003Cone value option testid, with {variant} in it>' \\\n  --overlay-open \u003Ctestid of the control that opens the overlay the walk operates through> \\\n  --overlay-close \u003Ctestid of the control that closes it again> \\\n  --states \u003Cfile of declared per-checkpoint interactions> \\\n  --coverage \u003CtargetDir>\u002F.frontx\u002Fverification-coverage.md\n```\n\n**Only `--host`, `--capdir` and `--browser-cmd` are required.** Everything else describes\nsomething this project declared, and this document holds no opinion on whether a\ngiven project declares it. Two of those declarations are axes, and each is\ndeclared whole or not at all: naming part of one is refused before a browser is\nreached, and naming none of it is a legitimate invocation the walk performs.\n\n**The `--checkpoint-*` flags declare the points the walk visits, and how each one\nis reached.** What those flags describe is mechanical: a name, optionally a\ndestination the point is loaded at, optionally the handle the walk waits for to\nconfirm arrival, and optionally one control pattern the walk clicks to move\nbetween the points. What the points *are* - addressable pages, tabs, steps of a\nwizard, panes of one composed surface - is that project's own knowledge and\nbelongs with the template that carries it. **How the walk moves is derived from\nwhat was declared and never from a default:** declare `--checkpoint-selector` and\nthe walk clicks its way between the points; leave it out and each point is loaded\nat its own destination. There is no third reading, so no invocation of this\ndriver asserts that the project has URL-addressable pages, or a chrome of\ncontrols to click between them.\n\n**A run declaring no checkpoint axis walks whatever `--host` opens, once.** That\nis the shape of a project with one surface, and of a project that mounts several\nunits into one surface concurrently, where there is no one active point to walk\nto at all.\n\n**The `--variant-*` flags declare one UI dimension this project varies along.** A\nproject may vary along none, and many do. Mechanically: a set of values, a\ncontrol to click, an option handle per value, and the switcher label each value\nis confirmed from. Which dimension a project puts through them - a display mode,\na density, a locale, a layout mode - again belongs with its template.\n\n**A run that declares neither axis is not a narrowed run and is not reported as\none.** Its coverage row records each axis as not exercised, which is a statement\nabout this run; it does not say the project has no such dimension, which nothing\nin this walk establishes and no report may claim.\n\n**A reaching control keyed by something other than the point's short name is\nnamed with `{handle}`.** A host may mark each control with a whole composed\nidentity rather than a short label, and `{checkpoint}` cannot spell that: one run\nfound the pattern inexpressible, loaded each destination instead, and then owed\nevery click by hand. Where `{handle}` appears, the driver takes the id from the\npoint's fourth `--checkpoints` field when one is declared, and otherwise reads\nthe ids off the page and keeps the control whose id carries that point's name as\na whole segment - refusing, rather than picking, when none or several do.\n`{checkpoint}` is unchanged and costs no read: a host whose controls are keyed by\nthe short name goes on as before.\n\n**The two `--overlay-*` flags are for a project that draws chrome over the\nsurface under verification** - a tools panel, a debug drawer, an inspector - and\nthat declares controls to open and close it. The walk opens it to reach whatever\nsits inside, closes it before the first capture, and confirms the close by the\nopening control being back on the page. **A project that declares no such overlay\npasses neither flag, and nothing in the walk reaches for one.**\n\n`--browser-cmd` is what pins the browser CLI, and it has no default. An\nunversioned `npx --yes agent-browser` would download whatever release is newest\nat the moment each run asks - code nothing pinned, fetched on every run, and two\nruns of the same walk driven by two different browsers - so the driver refuses a\npackage runner handed a package with no version. Name the pinned package or an\ninstalled binary, and record which in the report. Every hand-driven browser call\nbelow repeats that same command: `\u003Cpinned version>` there is the version named\nhere, and an installed binary replaces the whole `npx --yes agent-browser@\u003Cpinned version>`\nprefix.\n\nAn installed binary is named here too, and the value is read as a command line\nrather than as one word: quote a path that carries spaces, or the driver is handed\na first word that names nothing and every browser command fails to spawn. Both\nquote characters work, and an unbalanced one is refused rather than guessed at, so\n`--browser-cmd '\"\u002Fpath\u002Fwith a space\u002Fbrowser-cli\" --headless'` reaches the child as\nthe path and the flag, each whole.\n\n`node \u003Cthat path> --help` prints the whole flag surface. `$CAPDIR` is the\nrun-unique capture directory made under the capture rule below, and the driver\nrefuses a directory that already holds files rather than write into another\nrun's captures. The driver exits 0 only when every control it was given dispatched,\nevery declared variant became active against its own switcher label, every\nread-back agreed, and every declared capture landed; on any failure - a refused invocation, an input file\nit cannot read, a browser command that stopped answering, an output path it cannot\nwrite - it exits non-zero with the reason in its JSON result, and it never retries\non its own.\n\nThe JSON result is what the coverage table and the report are filled from: it\ncarries, per pass, whether the switcher label confirmed the value became active,\nevery capture file with the point and the state it was taken at, every\nbyte-compare verdict with the `cmp` exit code that produced it, every fill and\nclick read-back with the value read off the page afterwards, and the failure\nlist. It also records whether each axis was declared at all, how the walk moved\nbetween the points, and where the variant set came from - the registry file, or a\nset typed in by hand - so a claim that the set came from the project's own\nregistration of that dimension is a claim the result file either backs or\ncontradicts.\n\nEverything from here to the end of this step is **the specification of the\nmechanics** - which one exists, and what each cost the run that learned it. Read\nit to know what the driver is doing on your behalf, to compose its arguments, and\nto drive by hand when you have to.\n\n**The driver performs the walk and nothing else in this step.** It carries\nsub-step 1's probe, sub-step 3's native pointer sequence, sub-step 5's whole\nvariant walk including the byte-compare, the read-backs sub-step 6 requires after\nits own clicks and loads, a readiness poll of the shape sub-step 7\nprescribes, and sub-step 8's coverage file. **These it does not perform, and a run\nowes every one of them itself:**\n\n- **sub-step 4, the address exercise.** The driver never reads a URL back - no\n  command in it asks for one - so deep-linking each declared destination,\n  clicking the control that reaches another point, and confirming the pathname\n  that results is the run's own work, and the CRITICAL addressing items are\n  satisfied by nothing else. A run that read the driver as covering them would\n  skip the one sub-step whose findings no capture can show.\n- **sub-step 2's settling of the starting variant and the one-time handle read.**\n  The driver is given its handles as arguments; learning them off the interface,\n  and starting the walk from the project's declared default rather than whatever\n  an attached profile persisted, happens before it runs.\n- **sub-step 6's snapshot reading.** The driver reads back the elements it was\n  told about; judging what is on the page at all, and what a compact snapshot's\n  silence does not mean, stays with the run.\n- **the dev-server rules above** - starting a server with its pid recorded,\n  stopping it by that pid, and confirming the ports came back.\n- **Step 8's report obligations.** The driver writes the coverage file; the\n  report, the per-category checklist walk, and every disclosure this step\n  requires are composed by the run from the driver's JSON result.\n\n**Where the applied template brings a verification flow of its own, that flow\nleads the design review and this walk keeps the functional side.** A template may\ncontribute a skill that reviews the rendered interface against a design contract\nit also ships. Discover it as a capability rather than by name - a skill of that\nkind among the ones the template activated under `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`\n- exactly as a unit-adding procedure is discovered, because naming a particular\ntemplate here would put solution knowledge in the solution-agnostic base. Where\none is present it is authoritative for the question it answers: whether what\nrendered is right. This step does not run those checks again, does not restate\ntheir findings as its own, and does not read their presence either as a reason to\nskip the walk or as a driver failure to fall back from.\n\n**What stays with this walk in every case is what no design contract answers**:\nthat every checkpoint the project declared was actually reached, that every\ndeclared value of every declared axis became active against its own control, that\neach read-back agreed with the page, and that the coverage file and the report\nstate honestly what was exercised and what was not. **Neither side covers for the\nother.** A design review that passed says nothing about a checkpoint the walk\nnever arrived at, and a walk that arrived everywhere says nothing about what the\npixels look like. The report carries both and names which produced which.\n\n**Hand-authored browser calls are the fallback, and only when the driver itself\nfails.** Not when it is inconvenient, not when its flags need working out, and\nnot when a hand-written batch looks quicker. Three separate agent hosts driven\nfrom these same sources each wrote a browser driver of their own rather than\nfollow the prose, and each broke the discipline somewhere different; the driver\nexists so the mechanics stop depending on which host is reading.\n\n**Every driver failure and every retry is disclosed in the report** - the number\nof attempts, and one line per attempt saying what failed and why. Retrying a\nharness failure is legal. Retrying it in silence is not: it turns a run that\nneeded three attempts into a report that reads like a run that needed one. That\napplies to a hand-authored fallback too - state that the driver failed, with its\nown reported reason, before the report shows anything the fallback captured.\n\n**The escape hatches this step carries, indexed.** Each is written out in full\nat the rule or sub-step named. A run that hits one of these failures goes\nstraight to it rather than deriving a replacement:\n\n- a click that lands and changes nothing - the native pointer sequence,\n  sub-step 3\n- text that never arrives, or a wait that times out on text already on the page -\n  the shadow-descending poll, sub-step 7\n- `Element is covered`, or a capture with host chrome drawn over it - the\n  overlay rule, sub-step 5.3\n- a snapshot listing none of the text expected - the compact-snapshot rule,\n  sub-step 6\n- `Element not found` on a selector that reads perfectly well - the\n  selector-form rule under \"Address every control by the stable handle\" below,\n  which names the forms this runner resolves and the ones it rejects\n- a batch line that blocks for a full timeout, or a wait that matches nothing -\n  the argument-vector rule in that same list: a flag-shaped token inside a batch\n  line is read as a selector\n- a batch that bails on its first click after an `open` - the settle rule in\n  that same list\n\nThe index exists because these are read once and needed later, mid-failure.\nThree separate runs re-derived the native pointer sequence from scratch, one of\nthem authoring throwaway scripts to do it, while the helper sat in a sub-step\nnone of them was re-reading at the time.\n\n**Narrow no declared scope without stating the reason in the visible output\ntext.** The scope this verification declares - every value of a declared variant\naxis, every point of a declared checkpoint axis, every state the declared checks\ncall for - is covered in full. When something forces a narrowing anyway, write into the text the\ndeveloper reads, not only into the coverage file, which part of the scope is\nbeing narrowed, what is left out of it, and why. The coverage file records what\nwas covered and cannot carry the reason, so a narrowing recorded only there\nreaches the developer as a bare gap they have no way to judge. An unexplained\nnarrowing is a verification failure and is reported as one, not a scope decision\nthis flow was free to make.\n\n**A scope change is declared in both directions, and widening is declared exactly\nas narrowing is.** Where the set actually walked is wider than what the\ndeveloper's own phrasing asked for - more variant values than the intent named, points\nthe intent did not mention, states nobody asked to see - the report says so in\none sentence of the same form: asked X, declared set Y, walked Y. Nothing about\nwalking more is wrong, and everything about walking more in silence is: the\ndeveloper reads the coverage table as the answer to the question they asked, and\na table answering a wider question without saying so is a table they cannot size.\nThe sentence costs one line and it is the only thing that keeps the declared set\nand the asked-for set distinguishable in the report.\n\n**The reason has to answer the axis the narrowed check verifies.** A check is\nnarrowed along the axis it covers, and only a reason on that axis closes it.\nThe variant walk and the captures under it ask a visual question - what each\nstate looks like once that value is applied - so no argument about behavior\ncloses them, however true the argument is. One run drove the interactive states\nunder the starting value alone and justified it by the state logic never reading\nthat dimension. That was correct and beside the point: what the walk was there to\nestablish is whether success, error and added states render differently across\nthe axis, and only those states rendered under each value can show it. A reason\nthat argues the wrong axis is an unexplained narrowing.\n\n**Start every dev server with its process id recorded, and stop it by that id.**\nKeep the pid the start reports, or use the runner's own stop mechanism where it\ndeclares one, and address the process that way for the rest of the run.\n**Stopping by pattern is forbidden.** A pattern matches every process whose\ncommand line happens to contain it, and the shell issuing the kill is one of\nthem: one run's `pkill -f` matched its own dev server and took down the\nenvironment in the middle of the verification it was running, which then had to\nbe rebuilt before the run could carry on. A server whose pid the run never\ncaptured is stopped by finding that pid first, not by widening the match.\n\n**A stopped parent is not a stopped server: after the kill, verify the ports are\nfree.** The recorded pid is the process this run started, not the children it\nspawned, and killing it can leave those children running and still bound. One\nrun killed its recorded pid, reported the server stopped, and left three orphans\nholding the ports. So ask the ports themselves, once per port this run started:\n\n```bash\nkill \u003Crecorded pid>\nlsof -ti tcp:\u003Cport>\n```\n\nEvery pid `lsof` prints is a survivor still holding that port. Kill each one **by\nthat printed pid**, never by pattern, exactly as the rule above requires, and\nre-run the `lsof` until it prints nothing. The run is finished with a server when\nits ports come back, not when a kill command exits zero.\n\n**Capture into a directory this run created, never a shared fixed path.** Make\nit once, before the first capture, with this command:\n\n```bash\nCAPDIR=\"\u003CtargetDir>\u002F.frontx\u002Fverify-$(date +%Y%m%d-%H%M%S)\"; mkdir -p \"$CAPDIR\"; echo \"$CAPDIR\"\n```\n\n**Every capture path in this walk starts with `$CAPDIR`.** The batch heredocs\nbelow are quoted (`\u003C\u003C'JSON'`), which is what keeps their escaped quotes intact\nand also means `$CAPDIR` does not expand inside them - that is why the command\nprints the directory: each `screenshot` line is written with the resolved path\nin it. Prose describing a run-unique directory was not enough on its own, and a\nrun under it wrote into a fixed shared path anyway.\n\nA path reused across runs leaves the previous run's files exactly where\nthis one goes looking: one run found 16 screenshots left by an earlier run in\nthe shared `\u002Ftmp` path it was about to write to, and they were captures of the\nvery states it had decided not to take. It cited none of them, and nothing\nabout the path stopped it from doing so. **A claim satisfied by another run's\ncapture is a false report even when nobody intended it**, because the\nbyte-compare in sub-step 5.5 and the states-captured cells in sub-step 8 both\naddress capture files by name, and neither can tell which run wrote them.\n\n**Address every control by the stable handle the interface puts on it, and\ndrive a whole pass in one invocation.** A run that clicks by accessibility\nreference pays for it twice: those references are re-issued on every\nnavigation and every variant switch, so each interaction costs a fresh snapshot\ntaken for no reason but to learn the handle again. One measured run spent 24 of\nits 87 browser calls that way. Six things make the difference, and all six were\nestablished against this runner rather than assumed:\n\n- **`[data-testid=\"\u003Cvalue>\"]` is the selector form to write, and the pseudo\n  forms are not.** Plain attribute and id selectors resolve for `click`, `fill`\n  and `get`. `button:has-text('...')`, `text=...` and `role=...[name=...]` each\n  come back `✗ Element not found` and exit non-zero - and it was exactly that\n  rejection, read as \"this control cannot be addressed\", that pushed the\n  measured run onto accessibility references to begin with. The runner does\n  offer the semantic locators as their own subcommands (`find role ... click\n  --name ...`), which work; what does not work is folding them into a selector\n  string. An `@eN` reference stays valid inside one page lifetime and is\n  void after a reload, which is what the variant walk performs at every boundary.\n- **Learn the handles once, from the interface itself.** Which controls a host\n  marks, and what it calls them, is the host's business - this document names\n  no handle and must not. Take one accessibility snapshot at the start of the\n  run, locate the controls the declared checks and the sub-steps below reach\n  for - whatever control reaches each point, whichever controls open and close a\n  declared overlay, the variant switcher and its per-variant options - and read\n  each one's `data-testid` off the page. Every command afterwards is written\n  against those values, and no further snapshot is taken to re-find a control.\n  **The controls inside the surface under verification are learned the same way,\n  but not off that snapshot**: its content renders inside a shadow root, so read\n  their handles\n  with one `npx --yes agent-browser@\u003Cpinned version> eval` that descends into every `shadowRoot`\n  and collects what the scaffold marked:\n\n  ```js\n  (() => {\n    const found = [];\n    const walk = (root) => {\n      for (const el of root.querySelectorAll('[data-testid]')) {\n        found.push(`${el.tagName.toLowerCase()} ${el.getAttribute('data-testid')}`);\n      }\n      for (const el of root.querySelectorAll('*')) if (el.shadowRoot) walk(el.shadowRoot);\n    };\n    walk(document);\n    return found;\n  })()\n  ```\n\n  Every value it returns is written as `[data-testid=\"\u003Cvalue>\"]` from then on,\n  exactly as the host's own controls are. A control inside that surface which the\n  scaffold marks with nothing is reached by a reference from a snapshot taken at that point,\n  and that is the only reason to take a further one.\n  **A host that marks nothing has no handles to learn**: fall back to accessibility\n  references, say in the report that the interface exposed none, and expect the\n  snapshot-per-interaction cost this rule exists to remove.\n- **Chain the commands with `batch --bail`, fed as JSON on stdin.** One\n  `batch` invocation carries a whole sequence in a single process, which is\n  what turns a variant's pass from a dozen round trips into one. Feed it JSON\n  rather than quoted argument strings: argument mode re-parses each string and\n  strips the quotes inside it, so a handle carrying dots or tildes arrives at\n  the runner as an unquoted attribute value and stops resolving, while a handle\n  that happens to be a bare word keeps working - which is the worst kind of\n  breakage, one that passes on the simple case and fails on the real ids. In\n  JSON stdin mode each command is its own argument vector and nothing is\n  re-parsed. `--bail` stops at the first failing command and exits non-zero, so\n  a pass that broke halfway through cannot be read as one that ran.\n- **A batch line is an argument vector, so every argument in it is positional\n  and bare.** A flag-shaped token is not read as a flag: `[\"wait\", \"--ms\",\n  \"800\"]` hands `--ms` to `wait` as the *selector* to wait for, and the line\n  then sits out the full 25s default timeout before failing. **A wait is written\n  `[\"wait\", \"800\"]`** - the\n  milliseconds as a bare string, nothing else - and every other line reads the\n  same way: what follows the op name is its operands, and a token starting with\n  `-` becomes one of them rather than a switch.\n- **After an `open`, the next line settles the page; it does not interact with\n  it.** A batch that chains `[\"open\", \"\u003Cdestination>\"]` straight into a click on\n  a handle inside the page bails on that click: the load is still in flight, the\n  handle is not in the document yet, and `--bail` stops the pass on a page that\n  was about to be fine. Follow every `open`, and every other load, with\n  `[\"wait\", \"800\"]` or an `[\"is\", \"visible\", \"[data-testid=\\\"\u003Ca handle that page\n  shows>\\\"]\"]`, and put the first interaction after that. The addressing\n  batch in sub-step 4 carries its `snapshot` line in exactly that position; a\n  batch composed here needs the settle written in.\n- **`get` prints, `is` enforces, and `fill` does neither.** A `get text` line\n  hands its answer back for the run to read, and the run has to read it,\n  because the batch carries on either way. An `is visible` line exits non-zero\n  when the element is absent, so under `--bail` the runner itself stops the\n  pass when that confirmation fails - which is why the confirmations below are\n  written as `is visible` wherever the expected state is an element being\n  there. `fill` reports `✓ Done` even when its selector matched nothing, typing\n  into whatever held focus instead; confirm every fill with a `get value` on\n  the same handle rather than believing its exit code.\n  **A plain CSS selector aimed at that content is that case by\n  construction.** The fields live in a shadow root and an outside selector\n  does not see in, so `fill input[name=...]` matches nothing, types into\n  whatever held focus, and still reports success - one run filled a form that\n  way and read the report as proof the form worked. Fill those controls by the\n  testids read in the handle-learning rule above, and let the `get value` this\n  bullet already requires be what establishes the text landed where it was\n  aimed. Where a control carries no testid, drive it by a reference from a\n  snapshot taken at that point, and read it back the same way.\n\nCarry the run out in this order:\n\n1. **Probe before launching.** Ask `http:\u002F\u002Flocalhost:9222\u002Fjson\u002Fversion` once.\n   When it answers, attach to the browser already listening there with\n   `npx --yes agent-browser@\u003Cpinned version> connect 9222`. When it does not, launch one with\n   `npx --yes agent-browser@\u003Cpinned version>`. The probe is a single request, and it is worth\n   making every time: a self-launched browser has hung mid-run where an attached\n   one returned every capture asked of it.\n2. **Read the interface's active variant before verifying anything, and switch to\n   the host's default variant before the first capture.** An attached browser\n   brings its profile's persisted selection with it, so the interface can open in\n   a variant nobody in this run chose, and every capture after that silently\n   belongs to that variant. Read the active variant off the variant switcher's own\n   label, by the rule the variant walk states below: a screenshot's file name\n   records what the run assumed, not what was on the page.\n\n   **This is also where the run learns its handles.** The snapshot taken to find\n   the switcher is the one snapshot the selector rule above allows for locating\n   controls, so locate the rest of them from it in the same pass - the controls\n   that reach each point, a declared overlay's two controls, the switcher's\n   per-variant options - and read each one's `data-testid`. Everything after this\n   sub-step is written against those values, and settling a declared overlay's\n   closed state here is what lets each variant's block run without a branch.\n3. **Dispatch native pointer events when a click changes nothing.** A synthetic\n   `.click()` arrives at the element carrying none of the pointer sequence around\n   it, so a control listening for `pointerdown` sees nothing at all and the page\n   stays as it was. Do not retry the synthetic click, and do not record the\n   control as broken. Re-issue that one click as the full native sequence through\n   `npx --yes agent-browser@\u003Cpinned version> eval`:\n\n   ```js\n   (() => {\n     const el = document.querySelector('\u003Cselector>');\n     if (!el) return 'not found';\n     const box = el.getBoundingClientRect();\n     const init = {\n       bubbles: true, cancelable: true, composed: true,\n       clientX: box.left + box.width \u002F 2, clientY: box.top + box.height \u002F 2,\n       pointerId: 1, pointerType: 'mouse', isPrimary: true, button: 0, buttons: 1,\n     };\n     const up = { ...init, buttons: 0 };\n     el.dispatchEvent(new PointerEvent('pointerdown', init));\n     el.dispatchEvent(new MouseEvent('mousedown', init));\n     el.dispatchEvent(new PointerEvent('pointerup', up));\n     el.dispatchEvent(new MouseEvent('mouseup', up));\n     el.dispatchEvent(new MouseEvent('click', up));\n     return 'dispatched';\n   })()\n   ```\n\n   Put the control's own selector in `\u003Cselector>`. When the control lives inside\n   a shadow root, resolve it through that host's `shadowRoot` rather than\n   `document`, which does not see in. Then confirm the outcome the way every\n   other click is confirmed here, under sub-step 6: by reading the resulting\n   state back off the page, never off the command's own `✓`.\n4. **Where the project's points carry their own addresses, exercise them before\n   the variants are walked.** Whether they do is the applied template's\n   declaration and never this document's assumption: a template whose units\n   declare a destination each - a `route`, a path, whatever that template calls\n   it - states so in the skills it activated under\n   `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`, and that is the only place this run learns\n   it from. A project whose points carry no address of their own, or that mounts\n   several units into one surface at once, has nothing here to exercise, and the\n   run reports the category as not applicable naming that declaration. **No field\n   named here is an ecosystem guarantee** - the runtime declares no\n   extension-domain values and no addressing model, so a destination read \"out of\n   the manifest\" is read out of a manifest the template's own conventions shaped.\n\n   Where they do carry addresses, the address is part of the surface under\n   verification: the host mounts the unit whose address matches the URL at load,\n   and a click on a reaching control puts that point's address into the address\n   bar. Neither fact shows up in a capture, so both are established here, in the\n   variant the run is currently in. Take each realized point in turn, one batch\n   each:\n\n   ```bash\n   npx --yes agent-browser@\u003Cpinned version> batch --bail \u003C\u003C'JSON'\n   [\n     [\"open\", \"\u003Cdev server origin>\u003Cthis point's declared destination>\"],\n     [\"snapshot\", \"-i\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe control that reaches another point>\\\"]\"],\n     [\"get\", \"url\"],\n     [\"snapshot\", \"-i\"]\n   ]\n   JSON\n   ```\n\n   1. **Load that destination hard** - the `open` line, a full load of the dev\n      server's origin with that destination as the path, not a click - and\n      confirm from the snapshot after it that this is the point that mounted. A\n      deep link that lands somewhere else is a defect. The snapshot earns its\n      place here under sub-step 6: the question is what mounted, and only a\n      reading of the whole page answers it.\n   2. **Then click the control that reaches another point and read the address\n      back** - the click, the `get url`, and the snapshot after them. Confirm the\n      path in the URL now equals that point's declared destination, and confirm\n      from that last snapshot that it is the one mounted. `get url` is the\n      reading to take rather than a scripted `location.pathname`: it is a\n      command like the others, so it rides in this same batch instead of costing\n      its own invocation. A point that mounts while the address stays where it\n      was is a defect too - the URL is what a developer copies, bookmarks and\n      reloads. **This half is skipped, and reported as not applicable, where the\n      project declares no control to click between its points** - where they are\n      reached from inside the content, from a command surface, or not at all\n      because there is one of them.\n\n   **A failure here is a defect to report, not a sub-step to skip.** Report the\n   destination asked for, what mounted, and the pathname read back, and report\n   the project as not verified for addressing. One run inherited its addressing,\n   opened no deep link, read no pathname, and handed back a report that never\n   mentioned it at all: an address left unexercised is reported as unexercised,\n   never as absent, and a category genuinely out of reach is reported as not\n   applicable with the project's own declaration named as the reason.\n5. **Establish whether this project declares a variant axis, and if it does,\n   enumerate every value of it and walk them.** A variant axis is one UI\n   dimension a project varies along; which dimension that is, and whether the\n   project has one at all, is stated by the template the project was applied\n   from and never assumed here. **A project that declares none walks its declared\n   points once** - or, where it declares none of those either, whatever its host\n   opens - records the axis as not exercised, and is complete at that: sub-steps\n   5.2 and 5.5 below have nothing to act on, and the rest of the block runs\n   unchanged. Nothing in that outcome is a narrowing, and it is never written up\n   as one.\n\n   Where an axis is declared, **the project's own registration of that dimension\n   is the source of truth for the set** - not the value the browser opened in,\n   and not the entries a switcher happens to show. Read the set from that\n   registration - the source file where the values are declared, or the list it\n   exports - and only then open the switcher, which from that point serves to\n   apply each value and nothing else. A dropdown enumerates what the switcher\n   chose to offer, which is not necessarily everything declared: one run took its\n   set from the switcher's own entries and happened to match, a match it had no\n   way to confirm and did not. This is the one thing read from source in this walk, and\n   it is read for the set alone - which value is active at any moment stays the\n   switcher label's to answer, under sub-step 5.2 below. **The walk covers every\n   value that registration reports, and that set is not negotiable**: no sample,\n   no representative subset, and no value set aside as out of scope for this run.\n   The count of declared values and the count of walked values are the same\n   number. A run that walks fewer has narrowed a declared scope, so it states the\n   reason in its output text under the rule above and reports itself as not\n   verified for every value it left out.\n\n   **Take each declared value in turn, and drive its whole pass as one\n   invocation** rather than as a click-by-click conversation. The handles come\n   from the one-time read in the selector rule above; the value's own option\n   handle and the points' reaching handles are the per-value and per-point parts.\n   The two overlay lines below are present only where the project declares such\n   an overlay, and the reaching click only where it declares a control to click:\n\n   ```bash\n   npx --yes agent-browser@\u003Cpinned version> batch --bail \u003C\u003C'JSON'\n   [\n     [\"reload\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe overlay's opening handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe variant switcher's handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthis variant's option handle>\\\"]\"],\n     [\"get\", \"text\", \"[data-testid=\\\"\u003Cthe variant switcher's handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe overlay's closing handle>\\\"]\"],\n     [\"is\", \"visible\", \"[data-testid=\\\"\u003Cthe overlay's opening handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe handle that reaches a point>\\\"]\"],\n     [\"screenshot\", \"\u003C$CAPDIR resolved>\u002F\u003Cvariant>-\u003Ccheckpoint>-fresh.png\"]\n   ]\n   JSON\n   ```\n\n   The last two lines repeat, one pair per point under verification. The\n   interactions the declared checks call for then follow as a second batch of\n   the same shape - the driving clicks and fills, each state's own `screenshot`\n   line after them, and a `get value` after every fill under the rule above.\n\n   **Where an overlay is declared, the block ends with it closed, and that is\n   what lets the next pass's block start with a bare opening click.** Settle the\n   starting state once, before the first pass, and the walk needs no branch\n   anywhere. If the block stops on its opening line, this host brought the\n   overlay back open across the reload instead: drop that line, re-run the block,\n   and use the shorter form for every remaining pass, because which of the two a\n   host does is fixed for that host and is now known. Either way `--bail` turned\n   an unknown into a stated fact at the cost of one failed invocation, and no\n   capture was taken while the answer was still open.\n\n   Packaging the pass this way changes what it costs, not what it checks. Each\n   line still answers to one of the sub-steps below, and every one of them\n   holds:\n   1. **Reload the page and wait for it to come back** - the block's first\n      line. This is the pass boundary reset. It discards every field filled,\n      item added and dialog opened during the previous pass, so the captures\n      below start from a state this run knows rather than from wherever the last\n      pass's interactions left the app. Reload for the first pass too: the\n      browser arrived carrying a profile, not a fresh application.\n   2. **Switch into the value, then confirm the switch landed** - the two clicks\n      that open the switcher and pick this value, and the `get text` line after\n      them. That line prints the switcher's label, and the label has to name the\n      value just selected. **This whole sub-step belongs to the variant axis: a\n      run that declares none has no switcher to operate and no label to read, and\n      skips it.** Where an axis is declared, **the switcher's label is the only\n      source of truth for which value is active.** Do not probe `data-*` attributes, CSS classes or computed styles\n      to detect it, and do not go reading shell or package sources for where a\n      variant is applied. Host implementations vary, which is precisely why the\n      check is a label check: one run lost its budget to a DOM probe that\n      answered `unknown` and a source hunt after it, then fell back to the label\n      this sub-step already prescribed. **This is the one confirmation the batch\n      will not make for the run**: `get text` prints and moves on, so a block\n      whose label line came back naming the previous value has still run every\n      line after it, captures included. Read that line. A label still naming the\n      previous value means this one never became active, so record it as\n      not-active with that as the reason, discard what the block captured under\n      it, capture nothing in it as verified, and take the next value.\n      **Names it, rather than carries its name somewhere.** The value's name has\n      to occupy whole words of the label: a label reading \"Denser\" does not\n      confirm `dense`, and \"Length\" does not confirm `en`. A set holding such a\n      pair - two names one label could name at once - is refused before the walk\n      rather than resolved by guess, and `--variant-labels` is where each is given\n      a label of its own.\n   3. **Where the project declares an overlay the walk operates through, close it\n      before the first capture in this variant** - the closing click and the `is\n      visible` line after it. **Whether there is one at all is the applied\n      template's declaration**, stated in the skills it activated under\n      `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`; a project that declares none has no such\n      pair of lines in its block, and the accounting reports the category as not\n      applicable naming that. An open tools panel, debug drawer or inspector is\n      host chrome drawn over the surface under verification, not part of it.\n      **A capture taken while it covers that surface is not a valid baseline**\n      and neither is a click aimed through it: one run lost its first pass's\n      baseline that way, and another lost a pass aborted by `Element is covered`\n      before closing the overlay and starting over. Here the confirmation\n      enforces itself - the opening control is only in the document while the\n      overlay is closed, so `is visible` on it exits non-zero and `--bail` stops\n      the block before a single capture is taken. The line sits inside every\n      pass's block, not once at the start of the walk, because the reload at each\n      pass boundary can put the overlay back.\n   4. **Capture every point under verification in its fresh state first** - the\n      reaching click and `screenshot` pairs that close the block. This is the\n      state the reload left the surface in, before anything is filled, submitted\n      or added in this pass. The interactions the declared checks call for follow\n      in the second batch, each with its own capture.\n   5. **Byte-compare this pass's captures against the previous pass's.** This\n      sub-step belongs to the variant axis too: a run that declares none takes\n      one pass, has no pair to compare, and records the comparison as not made\n      for that reason. Where an axis is declared, for each point and state, run\n      the comparison as a command over the two capture files and read the verdict\n      off what it returned:\n\n      ```bash\n      cmp -s \u003Cprevious-pass-capture> \u003Cthis-pass-capture>; echo \"cmp exit $?\"\n      # or, when hashes are preferred:\n      shasum -a 256 \u003Cprevious-pass-capture> \u003Cthis-pass-capture>\n      ```\n\n      `cmp -s` exits 0 for identical files and 1 for differing ones; two hashes\n      are identical or they are not. **The coverage cell cites that result - the\n      exit code, or the two hashes - and is filled from nothing else.** Opening\n      the two captures and judging them different by eye is not a comparison, and\n      a cell filled that way reports a fact the run never established, however\n      honestly the eye judged it. A capture pair the command was never run over\n      gets no verdict: record it as not-compared and say so in the report.\n      Identical captures are a recorded fact, not a failure: two declared values\n      can differ only in tokens the surface under verification never consumes, and\n      a report that passed them as visibly distinct claimed something the run did\n      not see. The first value has no predecessor to compare against.\n6. **Read state back after every click and every load, from something\n   that looked at the page.** `✓ Done` is the runner reporting that it issued a\n   command, and it is never the reading. Two readings qualify. When the run\n   already knows which element carries the answer, a `get text`, `get value` or\n   `is visible` line on that element's handle is the reading, and it costs\n   nothing extra because it rides in the same batch as the click. When the run\n   needs to see what is on the page at all - which controls exist now, what the\n   load mounted - the reading is the accessibility snapshot, `npx --yes\n   agent-browser@\u003Cpinned version> snapshot -i`. Reach for the snapshot for that question and not\n   as a reflex after every click, which is the habit that cost the measured run\n   24 of its 87 calls. A text-wait qualifies as neither: it does not see into a\n   shadow root, so it times out on text that was on the page the whole time. When\n   a wait is what is needed, take it from sub-step 7.\n\n   **What a compact snapshot leaves out is not evidence of anything.** It\n   enumerates the interactive nodes; static text, and the list structure around\n   it, are absent from perfectly sound markup by construction. Judge static\n   content by a screenshot or by reading the DOM through `npx --yes\n   agent-browser@\u003Cpinned version> eval`, and never from the snapshot's silence. **A snapshot-only\n   signal is not grounds for touching product source.** One run read that\n   absence as broken list semantics, stopped its dev servers, added redundant\n   roles to the unit's own source, and then concluded it had never been a real\n   defect - by which point the edit and the lost environment were the run's only\n   lasting output.\n7. **Wait for text with the shadow-descending poll below, not with `wait\n   --text`.** `wait --text` searches light DOM only, and this stack renders inside\n   shadow roots, so it spends its whole timeout on text that was already on the\n   page, and one run spent three such timeouts before reading this. Reach for\n   `wait --text` only for content known to live in light DOM. For everything else, poll through\n   `npx --yes agent-browser@\u003Cpinned version> eval`:\n\n   ```js\n   (async () => {\n     const needle = '\u003Ctext>';\n     const timeoutMs = 10000;\n     const pollMs = 250;\n     const holds = (root) => {\n       const scope = root === document ? document.body : root;\n       if (scope && (scope.textContent ?? '').includes(needle)) return true;\n       for (const el of root.querySelectorAll('*')) {\n         if (el.shadowRoot && holds(el.shadowRoot)) return true;\n       }\n       return false;\n     };\n     const deadline = Date.now() + timeoutMs;\n     for (;;) {\n       if (holds(document)) return 'found';\n       if (Date.now() >= deadline) return 'not found';\n       await new Promise((resolve) => setTimeout(resolve, pollMs));\n     }\n   })()\n   ```\n\n   Put the text to wait for in `\u003Ctext>`. `holds` reads the light DOM once and\n   then descends into every element's `shadowRoot` recursively, so text at any\n   nesting depth is seen. `found` means the text arrived; `not found` means it\n   did not arrive inside the timeout, which is a real absence to act on rather\n   than a blind spot to wait out again. If the runner hands back the promise\n   instead of its value, set `timeoutMs` to 0 and re-issue the helper until it\n   returns `found` or the wait budget is spent.\n8. **Write the coverage table to a file.** The verification's deliverable is\n   `\u003CtargetDir>\u002F.frontx\u002Fverification-coverage.md`, beside the project's provenance\n   record, written **before the final report is composed** and holding one row per\n   pair the walk covered - every pass of the variant axis against every point of\n   the checkpoint axis - each carrying its own captures and its own byte-compare\n   verdict from sub-step 5.5:\n\n   ```markdown\n   | Variant | Active | Checkpoint | States captured | Visually distinct from previous |\n   |---|---|---|---|---|\n   | \u003Cdeclared value> | verified \u002F not-active (reason) | \u003Cdeclared point> | \u003Cstate> (\u003Ccapture file>), \u003Cstate> driven, not captured | \u003Cstate>: differs (cmp exit 1) \u002F \u003Cstate>: identical (cmp exit 0) \u002F not-compared (reason) \u002F first variant |\n   ```\n\n   **The rows are the product of the axes, not a column per point.** A column per\n   point could only be written once the points were known and fixed, which is\n   exactly what this walk does not assume: the points are the project's, their\n   number is not this document's to predict, and a project declaring none still\n   has to produce a table of the same shape.\n\n   The distinctness cell carries the comparison command's own result, in the\n   parentheses shown - the `cmp` exit code, or the differing hashes. A cell\n   without one is a cell no command backed.\n\n   **A run that declared no variant axis writes the rows its one pass earned**,\n   with `(none declared)` where a value would stand and `not-exercised (no variant\n   axis was declared for this run)` in the cells that axis owns; **a run that\n   declared no checkpoint axis says the same about that axis** in the cell that\n   would otherwise name the point. That wording is the point of the row: it says\n   what this run did not do, and it does not say the project has no such\n   dimension. `no` and `none` both read as the second claim, and neither this walk\n   nor the report built on it establishes it.\n\n   Every declared value gets a row per point, including each value recorded as\n   not-active. A state is the moment a capture was taken at, named for what the\n   surface held then: a form in its fresh state after the boundary reload and\n   after it is submitted, a list fresh and after it changes. Name a state `fresh`\n   only for a capture taken after that reload and before any interaction in this\n   pass - calling a later capture fresh reports a state this run never saw.\n\n   **A states-captured cell names a state only when a capture artifact of that\n   state, in that pass, exists.** The test is whether there is a file or a\n   snapshot to point at, not whether the interaction looked like it worked.\n   Name, per state, the capture it is claimed from - the screenshot's file name,\n   or the accessibility snapshot taken at that point - in the cell itself or in a\n   notes line under the table. A state this pass only drove - a control clicked,\n   a form submitted, and the run moved on taking neither screenshot nor snapshot\n   - is listed apart from the captured ones, as `\u003Cstate> driven, not captured`.\n   **Listing it among the captured states is a false report**: one run wrote\n   `fresh, submitted` on the row of every declared value when a post-submit\n   capture existed for the first value alone, and reported screenshots and\n   snapshots as confirming all of them. A state captured under one value is\n   captured under that value only, and every other row is filled from that value's\n   own artifacts.\n\n   Step 8 carries this file's content verbatim. The file is the deliverable, not a\n   suggestion - a run that composed a report without writing it did not complete\n   the verification, whatever the report concluded.\n\n**If a declared verification fails**, stop there. Report the project as applied\nand realized but **not verified**, relay that verification's own output\nunreinterpreted, and name the units it covered. Do not report scaffolding\ncomplete, and do not attempt a correction retry - the same rule that governs a\nnon-zero command exit governs this. A failing type-check or lint is the whole\ndifference between a project that was written and one that works, so reporting\nsuccess over it would hand back the one problem this step exists to catch.\n\n## Step 8 - Report\n\n**The completion test for this step is a file on disk.** Where step 7 performed a\nbrowser verification, this step is not complete until\n`\u003CtargetDir>\u002F.frontx\u002Fverification-coverage.md` exists at that path and holds the\ncoverage table. Check for it, by reading that path, before the report is\ncomposed. A table written into the report, a table shown in the conversation, or\na table the driver printed and nobody kept is not that file and does not stand in\nfor it: the developer keeps the project, not the transcript, and the coverage\nrecord has to still be there tomorrow. One run published a complete-looking\ncoverage table and wrote nothing to disk, and its verification ended when the\nconversation scrolled. A report composed over an absent coverage file states that\nthe file is absent and reports the verification as not complete.\n\nReport, in this order:\n\n- the applied set, as read from provenance in step 6;\n- the units realized, and what each carries;\n- the coverage table any browser verification in step 7 wrote, **reproduced in\n  full inside the report**, row for row and column for column, followed by the\n  path of the file it was reproduced from. **Fenced or as rendered markdown, both\n  satisfy this**: what is required is the faithful reproduction of every row, not\n  the fencing around it. A link, a file name, a row count or a sentence\n  summarizing what the table says is still not acceptable in its place: the\n  reader is being told what was verified, and a pointer tells them where to go\n  look instead;\n- the outcome of step 7's address sub-step, one line per realized point: the\n  declared destination it was deep-linked at, what mounted there, and the\n  pathname read back after the click that reached the next one. A report silent\n  on addressing reads as a surface nobody exercised, because that is what it is -\n  and where the project declares no addresses, or no control to click between its\n  points, the line says so and names that declaration;\n- **the per-category status walk of `verification-checklist.md`**, written out\n  below, and the verdict line the walk decides;\n- **the attempt record**: how many verification attempts this run made, and one\n  line per attempt naming what failed and why. A single clean attempt is written\n  as one line saying so;\n- the residual work - only the intent that no applied template's ground contains\n  and no activated skill covers.\n\n**A FAIL on any CRITICAL item decides the verdict line, and no wording gets\naround it.** The report carries a verdict line, and where any CRITICAL item of\nthe checklist is FAIL, that line says the verification did not pass. There is no\nform of words that converts it into something else. Restating it as \"hygiene\ngaps\", as \"minor findings\", as \"notes for follow-up\", or closing the report with\n\"residual: none\" over a standing CRITICAL FAIL is not a summary of the run - it\nis the report stating something the run established the opposite of, which is the\none thing the checklist exists to stop. The checklist records that as a VER-NO\nviolation in its own right, on top of whatever the original FAIL was. A run that\nwalked the categories honestly and then softened the verdict has failed the\nverification twice.\n\n**Every attempt is disclosed, and a retry is only legal disclosed.** Verification\nattempts fail for reasons that have nothing to do with the project: a driver that\ncould not reach the host, a browser that hung, a dev server that had not finished\nstarting. Retrying those is right. What is not permitted is a report shaped like\nthe last attempt was the only one. Name the attempt count, and for each failed\nattempt name what failed and the reason it reported, before the report shows what\nthe successful attempt captured. **An undisclosed retry invalidates the whole\nreport** under VER-REPORT, however sound the final attempt was, because a reader\ncannot tell a first-time pass from a fourth-time pass and the difference is\nexactly what tells them how much to trust the environment. A retry meant to make\na *failing declared verification* pass is a different thing and is forbidden\noutright under the no-correction-loop rule; disclosure does not make that one\nlegal.\n\n**Walk every category of the checklist, one line each.** The file beside this\ndocument partitions the browser walk into categories with stable ids, and the\nreport states each one's outcome in the form that file's Reporting section fixes:\n\n```text\n\u003CID>: PASS | FAIL (\u003Cwhat the run did not establish>) | N\u002FA (\u003Cwhy out of reach>)\nVerdict: the verification passed | the verification did not pass (\u003Cthe CRITICAL items that failed>)\n```\n\nTake the categories in the order the checklist lists them and leave none out.\nThe verdict line follows the walk and is decided by it, not written before it.\n**An unmentioned category is a failure of the report, not of the run** - the run\nmay well have satisfied it, and a report that does not say so has not established\nthat it did. A blanket sentence covering several categories at once is not a walk:\neach id gets its own line, and a PASS is claimed only where this report carries\nthe evidence that category's items ask for. `N\u002FA` is available only for the\ncategories the checklist's own Applicability section admits it for, with the\nreason; a category the run skipped is a FAIL. **A PASS is also claimed only\nagainst items this run read**, under the full-read rule in step 7: a category\nwhose items were never read cannot have been checked, whatever the walk asserts\nabout it.\n\nProse alone did not carry this. Two runs re-derived facts that were sitting in\nthis document, already read, because nothing made them account for each one by\nname. Walking a fixed list of ids is what makes an omission visible - to the run\nwriting the report, and to the developer reading it.\n\n**Publish only numbers a command printed.** Test counts, lint counts, file\ncounts: find the summary line the command printed, read the figure off that line,\nand name the command it came from. Do not recall a figure from earlier in the\nsession, and do not carry one over from an earlier run. **Before any figure is\nwritten down, point at the captured output line that carries it verbatim** - a\nfigure no captured line carries is not a figure this run measured.\n\n**When no command printed a grand total, the report carries no grand total.** An\naggregate run that prints one summary line per workspace has printed\nper-workspace figures and nothing else. Publish those lines as they stand, every\none of them, and publish no number standing for the repository as a whole. A\nper-unit run is the same: publish the two per-unit lines and stop there. The\nwords `N tests total` may appear only beside the output line that itself contains\n`N`.\n\n**Adding the summary lines up yourself is the failure this rule exists to stop.**\nTwo consecutive runs teed the aggregate run correctly, grepped every workspace\nsummary line correctly, then summed those lines themselves and shipped a\nrepository-wide total no command had printed - the second reported 693 tests\ntotal where the captured lines summed to 737. Arithmetic performed over captured\nlines yields a number the run never observed, and a total the report never read\noff a command's own output is a total the report invented.\n\n**Capture the aggregate run whole, so that rule has something to read.** The run\nwhose figures the report quotes - the one covering every workspace at once - is\ncaptured without truncation that can hide a workspace's summary. Do not pipe it\nthrough `tail` or `head`: each cuts from one end, and the workspaces printed at\nthe other end disappear with their summary lines, which is exactly how a run\nreported four of its nine figures off an earlier failed run and never observed a\nninth workspace at all. When the output has to be reduced, filter **for** the\nsummary lines instead of slicing the stream, and keep the whole log beside it:\n\n```bash\n\u003Cdeclared test command> 2>&1 | tee \u003CtargetDir>\u002F.frontx\u002Ftest-run.log \\\n  | grep -E '\u003Cthe per-workspace result line pattern>'\n```\n\nThen, reading figures off that capture:\n\n- **Take every total from the last fully green run and from no other.** A figure\n  read off a run that failed, or off a run that predates the fix, is not this\n  project's result, however unchanged that workspace looks. A green run replaces\n  the earlier output entirely; it does not top it up.\n- **Report no figure whose workspace summary was never observed in captured\n  output.** Do not infer it from the workspaces around it and do not drop the\n  workspace silently. Name it, say its result was not captured, and re-run to\n  capture it.\n\n**Every figure in the report postdates the last source edit.** A gate's numbers\ndescribe the tree as it stood when that gate ran, so a source file changed\nafterwards voids them - all of them, not only the ones covering the file that\nchanged. When it happens, re-run the unit legs and then the aggregate gates, and\nreport from that run alone. One run edited a unit's source after its final aggregate\ngates, re-ran only that one unit's own checks, and published root-level numbers\nthat predated the source they were presented as measuring: the numbers were\nreal, and they were not this project's.\n\n## Worked shape\n\nA developer asks for a console with two screens and says what each shows.\n\n- Step 3 selects one template whose description says it establishes a runnable\n  application, and one whose description says it contributes the ground that\n  isolated UI units live in. That is two applications.\n- The two screens are **not** two more applications. They are two units inside\n  the second template's ground, recorded as two pieces of per-unit work against\n  its single application.\n- Step 5 seeds with the first and adds the second. Step 7 runs that second\n  template's own activated unit-adding skill twice, once per screen, and puts\n  each screen's stated content into the unit it created.\n- What comes back is a project with both screens in it, built and running.\n","# Create a FrontX Project from a Stated Intent\n\nThe developer says what they want built. This capability delivers a project that\nholds it.\n\nNothing in this document knows the name of any template. Everything it chooses\namong is read from the inventory installed on this machine, at the moment of\nuse, through the `frontx` executable. A conforming template installed after this\ndocument shipped becomes selectable immediately, with no change here.\n\n## Boundaries you must not cross\n\n- **Drive the executable, never the package.** Every application of a template\n  happens by running `frontx`. Do not import `@gears-frontx\u002Fcli`, do not call\n  into it, and do not read its inventory storage on disk. What the inventory\n  holds reaches you as the output of a command you ran, and by no other means.\n- **Reproduce nothing the CLI owns.** Resolution, assembly, the pre-flight\n  conflict check and provenance writing belong to the CLI. Do not re-implement\n  them, pre-empt them, or work around a refusal any of them issue.\n- **Write no project file yourself while applying.** Until the applications are\n  finished, every file under the target directory is one the CLI wrote.\n- **No correction loop.** When a command exits non-zero, stop there. Relay the\n  reason that command itself reported, unreinterpreted. Do not retry it, do not\n  adjust the arguments and run it again, and do not run the next command.\n- **Refuse rather than guess.** When you cannot tell what to apply, say so and\n  write nothing. A project the developer did not ask for is worse than no\n  project.\n\n## Step 1 - Read the selectable set\n\n```bash\nfrontx list --json\n```\n\nOne JSON line: `{ \"ok\": true, \"templates\": [ ... ] }`. Each record carries\n\n- `name` - the template's identity, and **the argument the apply commands take**;\n- `ref` - the reference the entry is pinned at, taken from the source-spec's\n  `@ref` segment. Report it in the plan so the developer sees which pinned\n  reference will be applied. It is **not** the manifest's `version` field: the\n  two need not agree in form or value, so do not present it as the version and\n  do not derive one from the other;\n- `source` - the address it was resolved from;\n- `description` - the template's own statement of what it establishes and what\n  it contributes. **The key is absent when the template declares none**;\n- `manifestUnreadable` - present, and only ever `true`, when the entry's stored\n  manifest no longer satisfies the manifest contract, so no description could be\n  read from it. The listing reports the rest of the inventory rather than failing\n  over one bad record, and marks the bad one this way. **Neither entry is\n  selectable, but they are not the same problem and must not be reported as the\n  same one**: a template that declares none is working as intended and simply\n  cannot be chosen from an intent, whereas an unreadable manifest is a broken\n  installation the developer can fix by reinstalling that template.\n\nThis command is the only source for the selectable set. Do not consult any\nremote registry, any list built into this document, or the CLI's storage.\n\n## Step 2 - Read what the target directory already holds\n\nRead `\u003CtargetDir>\u002F.frontx\u002Fprovenance.json`. It is a JSON array, one record per\nalready-applied template, each carrying `templateIdentity`,\n`scaffoldedFromVersion`, `sourceSpec` and `occupiedOwnershipBoundary`.\n\nAbsent or unreadable file means the directory holds no applied template. A\ndirectory that already holds records gets no seed - only further templates added.\n\n**Absent provenance is not by itself a licence to seed.** Seeding writes a whole\nrepository and the CLI refuses it against a target that already holds content, so\nalso check what the path holds. Use exactly the CLI's own rule, so your plan and\nits answer cannot disagree:\n\n- **does not exist**, **exists and is empty**, or **holds only** the closed set\n  `.git`, `.DS_Store`, `Thumbs.db` - the plan begins with a seed. A freshly\n  initialized repository holds exactly `.git` and is seedable; treating it as\n  populated would refuse the most common way to start.\n- **exists and is not a directory** - a regular file at the target path. Neither\n  seed nor add can use it. Report it and stop; do not offer add.\n- **holds any other entry, with no provenance** - this is someone's existing\n  work, not a project this flow started. Do not plan a seed against it. Report\n  what was found and put the choice to the developer: a fresh directory to seed\n  into, or `frontx add` applied to the directory as it stands - saying, when you\n  offer add, that it writes only the ground the template declares and refuses,\n  naming the paths, if any of that ground already holds content, so the existing\n  work is either left alone or reported, never overwritten.\n  **Wait for their answer before running anything**; the choice of what happens\n  to their existing work is theirs, and a refusal you could have put to them\n  first reads as the flow having tried and failed.\n  Planning the seed anyway only earns the CLI's refusal one step later, after you\n  have already shown a plan that could not run.\n\n## Step 3 - Select what to apply\n\nWork from the intent, the records from step 1, and the identities from step 2.\n\n1. **Nothing installed.** If `templates` is empty, refuse: selection has nothing\n   to choose from. Tell the developer to install a template first (`frontx\n   install \u003Csource-spec>`) and stop. Run no command that writes files.\n2. **Partition by declared description.** Only records carrying a `description`\n   are candidates. Set the rest aside, keeping the two causes apart - you will\n   report them, and they call for different actions:\n   - carries neither key: the template declares no description. It offers nothing\n     to match an intent against and stays reachable by its exact reference\n     through the direct CLI path.\n   - carries `manifestUnreadable`: the template's stored manifest is broken.\n     Report it as such and name reinstalling it as the fix. Do not report it as\n     declaring no description - that sends the developer looking for a\n     better-described template instead of repairing the one they have.\n3. **No candidates.** If no record declares a description, refuse: nothing\n   matched. List every installed template with the reason it was skipped, using\n   each entry's own cause from step 2. Write nothing.\n4. **Match.** Compare the intent against each candidate's `description`, reading\n   it as the template's own statement of what it establishes and contributes.\n   Special-case no identity, no namespace, no naming pattern - the description is\n   the whole basis, and a name that looks promising is not evidence.\n5. **No match.** If no candidate's description answers any part of the intent,\n   refuse: nothing matched. Name the candidates you considered and those skipped,\n   each with its own reason from step 2. Choose no nearest match, and write\n   nothing.\n6. **The seed.** If step 2 found no applied template, the seed is the single\n   candidate whose description matches the project-establishing part of the\n   intent - the part that says what kind of project this is.\n7. **Nothing establishes the project.** If step 2 found no applied template and\n   no candidate's description matches the project-establishing part - even though\n   some candidate matches a supplemental part - refuse. Name the supplemental\n   candidates that matched, and say that none of them claims to establish a\n   project: a plan built from them carries no seed and lays no ground, and a\n   supplemental template contributes *to* a project, so there would be nothing\n   for it to contribute to. That is the whole reason - do not claim the CLI would\n   refuse such a directory, because it would not. Ask the developer to install a\n   template that establishes a project, or to restate the intent. Write nothing.\n8. **A tie is a question, not a coin flip.** If two or more candidates match the\n   project-establishing part indistinguishably, refuse: a choice is required.\n   Name each tied candidate with its declared description and ask the developer\n   to choose. Guessing here writes a project they did not ask for.\n9. **Further templates.** For each remaining part of the intent, select at most\n   one candidate whose description matches it, skipping any candidate already in\n   the plan. **A template contributes to a project once.** A part of the intent\n   that repeats a unit inside ground the plan already covers adds no second\n   application - see Step 7 (Realize the units the intent names) below.\n   **A part that names a unit is matched here like every other part.** Do not set\n   a unit aside as per-unit work before you have offered it to the inventory:\n   whether a unit has a template of its own is a fact of what is installed, not\n   of how small the unit sounds, and a family that publishes one template per\n   unit reads no differently here from one that publishes a single template\n   covering many. Where a distinct candidate's description claims the unit,\n   selecting it is the answer - one more `frontx add`, not a skill run later -\n   because a template of its own is what gives that unit its own declared\n   boundary, its own version line and its own upgrade cadence.\n   **Write down what you selected each part for.** Step 11 excludes exactly those\n   parts, so you need the pairing of part to selected identity, not just the list\n   of identities.\n   **A tie here refuses exactly as an establishing tie does**: if two or more\n   candidates match one supplemental part indistinguishably, refuse with a choice\n   required, naming that part of the intent and each tied candidate with its\n   description. This is not a lesser decision - the identity you pick is the one\n   the project carries in its provenance from then on.\n10. **Drop what is already applied.** Remove from the plan every identity Step 2\n   (Read what the target directory already holds) recorded, and record it as already applied. Re-applying an identity\n   re-claims ground it already occupies, and the CLI's conflict check refuses the\n   whole operation rather than part of it.\n   **Keep it in step 9's record all the same.** Dropping an identity from the\n   plan does not unmake the selection: the identity is already applied, so the\n   part of the intent you selected it for is already delivered. Step 11 reads\n   step 9's pairing, not the plan, precisely so a dropped identity does not let\n   its unit come back as per-unit work.\n11. **Separate the per-unit work from the residual.** Take every part of the\n    intent that names a unit living inside a selected or already-applied\n    template's own ground, **and that step 9 selected no identity for**. Those\n    are the per-unit work, recorded once per unit and attributed to the template\n    that owns that ground. It is **not** residual - Step 7 (Realize the units the\n    intent names) realizes it.\n    **A unit an application delivers is never also per-unit work.** If step 9\n    selected a distinct template for that unit, the unit is delivered by applying\n    it, and recording it here as well would plan the same unit twice - once as\n    ground to apply, once as work to improvise into ground. This holds whether\n    that identity is still in the plan or step 10 dropped it as already applied,\n    which is why the test is step 9's record and not the plan. Per-unit work is\n    what selection left over: the units the installed inventory offers no\n    template of their own for.\n    Only what no template's description covers and no template's ground contains\n    is residual.\n\n## Step 4 - Present the plan before writing anything\n\nShow the developer, and do not proceed past a refusal:\n\n- the template to seed with, with its identity and its pinned `ref`;\n- each further template to add, in order, with identity and `ref`;\n- each identity dropped as already applied;\n- the units to be realized inside the applied ground, and which template owns\n  the ground each falls in;\n- the residual intent nothing covers.\n\n## Step 5 - Apply, through the executable only\n\nIf the plan carries a seed:\n\n```bash\nfrontx seed \u003Cidentity> \u003CtargetDir>\n```\n\nThen, for each further template in plan order:\n\n```bash\nfrontx add \u003Cidentity> \u003CtargetDir>\n```\n\n`\u003Cidentity>` is the record's `name` from step 1 - the identity the template's own\nmanifest declares - not its `ref` and not its `source`.\n\nIf any of these exits non-zero: stop at that command. Relay its reported reason\nunreinterpreted, name the templates applied before it, and run no further\ncommand. Do not retry.\n\n## Step 6 - Report the applied set from provenance\n\nRead `\u003CtargetDir>\u002F.frontx\u002Fprovenance.json` again and report one entry per record:\nthe identity, the version it was applied from, and its source address. This\nrecord set is the authority on what was applied - report it, rather than\nrestating what the plan intended.\n\nIf the file is absent or unreadable after a command reported success, say the\napplied set could not be confirmed and name the target directory. Do not present\nan applied set you did not read.\n\n**Then stop. Do not continue to Step 7.** Realizing units needs two things this\nfailure denies you: which templates are applied, and their bundles to read. With\nthe applied set unconfirmed both are guesses, and a unit created into ground that\nmay not be there is worse than a unit not created. Report what you know, point at\nthe target directory so the developer can establish its state, and end there.\n\n## Step 7 - Realize the units the intent names\n\nThe plan stops short of the intent until this step runs. An intent naming two\nscreens is not delivered by a project with the ground for screens and no screens\nin it.\n\nEach applied template materialized its own AI-extension bundle into the project\nunder `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`. **Read those bundles from disk now** -\nthey are already there, written by the apply you just ran. Find each template's\nbundle by its identity-scoped path and each capability inside it by the role its\nbundle declares. The skills they contribute are what add a unit to that\ntemplate's ground; they, not this document, know how.\n\nDo not wait for the framework's extension host to activate them. That activation\npass runs on the framework's *next* invocation and makes the same capabilities\navailable as activated resources from then on - it has not run in this session,\nand the flow does not need it to have run. What you need is on disk.\n\n**Realize the units one after another, here.** Finish each unit before starting\nthe next, and hand none of them to a background agent to work alongside the\nothers. Each unit settles conventions the next one follows, and those conventions\nare in this session; a background agent holds none of them and derives them again\nfrom the bundles per unit, arriving at its own answers for questions the previous\nunit already closed.\n\n**A unit is finished only when the checks its covering skill declares have run\ngreen on it**, run here, before the next unit is started. Authoring every unit\nfirst and validating once at the end collects each unit's simple errors into a\nsingle block to debug together, when a per-unit check would have named them one\nunit at a time, as each unit was written.\n\n**Every ecosystem symbol has an address, so grep the address rather than hunt\nfor the symbol.** The types and symbols of every `@gears-frontx` package the\nproject depends on are shipped as declarations under\n`\u003Cproject>\u002Fnode_modules\u002F@gears-frontx\u002F\u003Cpackage>\u002Fdist\u002F`. Grep there first for any\n`@gears-frontx` name whose declaration a unit needs; either that directory\ncarries it or the project does not have it, and the second answer is as usable\nas the first. A filesystem-wide search issued from outside the project tree is a\ndefect, not a search strategy: a run that reached for `find \u002F -iname` was hunting\na type that sat in `node_modules\u002F@gears-frontx\u002Fapi\u002Fdist\u002F` the whole time.\n\nFor each unit from step 3.11, in plan order:\n\n1. **Find the covering skill.** Look in the bundle of the template that owns the\n   unit's ground for a skill whose declared role is adding a unit of that kind.\n   This is the authoritative answer to which template owns the unit - the plan's\n   attribution was provisional (Step 3.11), drawn from what descriptions say, and\n   is corrected here by what the bundles actually carry.\n2. **No covering skill?** Record the unit as residual work, naming the ground it\n   falls in, write nothing into that ground, and move to the next unit. A\n   template that declares no way to add a unit to its ground is not one to\n   improvise into.\n3. **Follow that skill, once, for this unit.** Do exactly what it instructs, in\n   its order. Touch no ground it does not itself claim. It owns the conventions -\n   naming, identifiers, registration, generated artifacts - and you follow them\n   rather than inventing parallel ones.\n4. **Put the stated content in.** The unit must end up carrying what the\n   developer's intent states for *this* unit. How content enters a unit is the\n   covering skill's business - follow whatever it says about where a unit's\n   content lives and how it is edited; do not assume a shape it did not describe.\n   What this document contributes is only the content itself, which nothing but\n   the stated intent can supply. A screen the developer described as showing\n   something must show that thing: a unit created but left as the scaffold shipped\n   it means the unit exists and the intent was not realized.\n5. **A failure stops the flow.** If realizing a unit fails, relay the failure's\n   own reported reason unreinterpreted, name the applied templates and the units\n   realized before it, and realize no further unit. No correction retry.\n\nThen run the verification the covering skills declare for what they created,\nexactly as they declare it - this document does not know which checks a given\ntemplate names, and must not substitute its own. Hand back a project that builds\nand runs, not one that was merely written. When that verification runs across\nevery workspace in one command, capture it under Step 8's rule for aggregate\nruns: whatever the report will quote has to be visible in the output this run\nkept.\n\n**When a declared check is performed in a browser, conduct it this way.** Which\nchecks exist stays the covering skill's to say, and nothing below adds one or\nstands in for one. What follows is how the browser is driven and what the run\nhas to report - which no template declares and every browser run needs.\n\n**`verification-checklist.md`, beside this document, is the browser walk's\ndefinition of done.** This step is the mechanics: how the browser is driven, and\nwhat each incident behind each rule cost the run that learned it. That file is the\naccounting layer over the same mechanics - the categories a claim has to satisfy,\neach with a stable id, and every item in it tracing back to a rule written out\nhere. It adds no requirement this step does not already carry.\n\n**Read it in full before the browser walk begins.** It is installed beside this\ndocument, at `skills\u002Fproject-scaffolding\u002Fverification-checklist.md` under the\ninstalled kit root, and the kit declares it as the\n`frontx_verification_checklist` resource. Open that path and read it end to end,\nfirst line to last. **A partial read does not count**: a head, a line limit, an\nexcerpt, a section jumped to, or the table of contents read as if it were the\nitems. One run read 120 of its 480 lines and asserted every category passed off\nthe contents list, which named the categories and not one of the items under\nthem. **A PASS line in the report may be written only against items this run\nactually read**, so a checklist read partly is a checklist whose unread items\ncannot be passed. Read it before the walk, so the walk is driven toward what will\nbe accounted for, and walk it again before the report is composed. Step 8 carries\nits per-category status, and a category the report leaves out fails there.\n\n**The walk runs the shipped driver.** The kit installs it as the\n`frontx_verify_walk` resource, beside this document at\n`skills\u002Fproject-scaffolding\u002Fscripts\u002Fverify-walk.mjs` under the installed kit\nroot. Resolve that path from the same installed kit root this document was read\nfrom, and run it:\n\n```bash\nnode \u003Cinstalled kit root>\u002Fskills\u002Fproject-scaffolding\u002Fscripts\u002Fverify-walk.mjs \\\n  --host \u003Cdev server origin> \\\n  --browser-cmd 'npx --yes agent-browser@\u003Cpinned version>' \\\n  --capdir \"$CAPDIR\" \\\n  --checkpoints \u003Cname>:\u003Cdestination>:\u003Cthat point's ready testid>,... \\\n  --checkpoint-selector '\u003Cthe reaching control testid, with {checkpoint} or {handle} in it>' \\\n  --variants registry --variant-registry \u003Cfile the declared set was read into> \\\n  --variant-switcher \u003Ctestid of the control that opens the values> \\\n  --variant-option '\u003Cone value option testid, with {variant} in it>' \\\n  --overlay-open \u003Ctestid of the control that opens the overlay the walk operates through> \\\n  --overlay-close \u003Ctestid of the control that closes it again> \\\n  --states \u003Cfile of declared per-checkpoint interactions> \\\n  --coverage \u003CtargetDir>\u002F.frontx\u002Fverification-coverage.md\n```\n\n**Only `--host`, `--capdir` and `--browser-cmd` are required.** Everything else describes\nsomething this project declared, and this document holds no opinion on whether a\ngiven project declares it. Two of those declarations are axes, and each is\ndeclared whole or not at all: naming part of one is refused before a browser is\nreached, and naming none of it is a legitimate invocation the walk performs.\n\n**The `--checkpoint-*` flags declare the points the walk visits, and how each one\nis reached.** What those flags describe is mechanical: a name, optionally a\ndestination the point is loaded at, optionally the handle the walk waits for to\nconfirm arrival, and optionally one control pattern the walk clicks to move\nbetween the points. What the points *are* - addressable pages, tabs, steps of a\nwizard, panes of one composed surface - is that project's own knowledge and\nbelongs with the template that carries it. **How the walk moves is derived from\nwhat was declared and never from a default:** declare `--checkpoint-selector` and\nthe walk clicks its way between the points; leave it out and each point is loaded\nat its own destination. There is no third reading, so no invocation of this\ndriver asserts that the project has URL-addressable pages, or a chrome of\ncontrols to click between them.\n\n**A run declaring no checkpoint axis walks whatever `--host` opens, once.** That\nis the shape of a project with one surface, and of a project that mounts several\nunits into one surface concurrently, where there is no one active point to walk\nto at all.\n\n**The `--variant-*` flags declare one UI dimension this project varies along.** A\nproject may vary along none, and many do. Mechanically: a set of values, a\ncontrol to click, an option handle per value, and the switcher label each value\nis confirmed from. Which dimension a project puts through them - a display mode,\na density, a locale, a layout mode - again belongs with its template.\n\n**A run that declares neither axis is not a narrowed run and is not reported as\none.** Its coverage row records each axis as not exercised, which is a statement\nabout this run; it does not say the project has no such dimension, which nothing\nin this walk establishes and no report may claim.\n\n**A reaching control keyed by something other than the point's short name is\nnamed with `{handle}`.** A host may mark each control with a whole composed\nidentity rather than a short label, and `{checkpoint}` cannot spell that: one run\nfound the pattern inexpressible, loaded each destination instead, and then owed\nevery click by hand. Where `{handle}` appears, the driver takes the id from the\npoint's fourth `--checkpoints` field when one is declared, and otherwise reads\nthe ids off the page and keeps the control whose id carries that point's name as\na whole segment - refusing, rather than picking, when none or several do.\n`{checkpoint}` is unchanged and costs no read: a host whose controls are keyed by\nthe short name goes on as before.\n\n**The two `--overlay-*` flags are for a project that draws chrome over the\nsurface under verification** - a tools panel, a debug drawer, an inspector - and\nthat declares controls to open and close it. The walk opens it to reach whatever\nsits inside, closes it before the first capture, and confirms the close by the\nopening control being back on the page. **A project that declares no such overlay\npasses neither flag, and nothing in the walk reaches for one.**\n\n`--browser-cmd` is what pins the browser CLI, and it has no default. An\nunversioned `npx --yes agent-browser` would download whatever release is newest\nat the moment each run asks - code nothing pinned, fetched on every run, and two\nruns of the same walk driven by two different browsers - so the driver refuses a\npackage runner handed a package with no version. Name the pinned package or an\ninstalled binary, and record which in the report. Every hand-driven browser call\nbelow repeats that same command: `\u003Cpinned version>` there is the version named\nhere, and an installed binary replaces the whole `npx --yes agent-browser@\u003Cpinned version>`\nprefix.\n\nAn installed binary is named here too, and the value is read as a command line\nrather than as one word: quote a path that carries spaces, or the driver is handed\na first word that names nothing and every browser command fails to spawn. Both\nquote characters work, and an unbalanced one is refused rather than guessed at, so\n`--browser-cmd '\"\u002Fpath\u002Fwith a space\u002Fbrowser-cli\" --headless'` reaches the child as\nthe path and the flag, each whole.\n\n`node \u003Cthat path> --help` prints the whole flag surface. `$CAPDIR` is the\nrun-unique capture directory made under the capture rule below, and the driver\nrefuses a directory that already holds files rather than write into another\nrun's captures. The driver exits 0 only when every control it was given dispatched,\nevery declared variant became active against its own switcher label, every\nread-back agreed, and every declared capture landed; on any failure - a refused invocation, an input file\nit cannot read, a browser command that stopped answering, an output path it cannot\nwrite - it exits non-zero with the reason in its JSON result, and it never retries\non its own.\n\nThe JSON result is what the coverage table and the report are filled from: it\ncarries, per pass, whether the switcher label confirmed the value became active,\nevery capture file with the point and the state it was taken at, every\nbyte-compare verdict with the `cmp` exit code that produced it, every fill and\nclick read-back with the value read off the page afterwards, and the failure\nlist. It also records whether each axis was declared at all, how the walk moved\nbetween the points, and where the variant set came from - the registry file, or a\nset typed in by hand - so a claim that the set came from the project's own\nregistration of that dimension is a claim the result file either backs or\ncontradicts.\n\nEverything from here to the end of this step is **the specification of the\nmechanics** - which one exists, and what each cost the run that learned it. Read\nit to know what the driver is doing on your behalf, to compose its arguments, and\nto drive by hand when you have to.\n\n**The driver performs the walk and nothing else in this step.** It carries\nsub-step 1's probe, sub-step 3's native pointer sequence, sub-step 5's whole\nvariant walk including the byte-compare, the read-backs sub-step 6 requires after\nits own clicks and loads, a readiness poll of the shape sub-step 7\nprescribes, and sub-step 8's coverage file. **These it does not perform, and a run\nowes every one of them itself:**\n\n- **sub-step 4, the address exercise.** The driver never reads a URL back - no\n  command in it asks for one - so deep-linking each declared destination,\n  clicking the control that reaches another point, and confirming the pathname\n  that results is the run's own work, and the CRITICAL addressing items are\n  satisfied by nothing else. A run that read the driver as covering them would\n  skip the one sub-step whose findings no capture can show.\n- **sub-step 2's settling of the starting variant and the one-time handle read.**\n  The driver is given its handles as arguments; learning them off the interface,\n  and starting the walk from the project's declared default rather than whatever\n  an attached profile persisted, happens before it runs.\n- **sub-step 6's snapshot reading.** The driver reads back the elements it was\n  told about; judging what is on the page at all, and what a compact snapshot's\n  silence does not mean, stays with the run.\n- **the dev-server rules above** - starting a server with its pid recorded,\n  stopping it by that pid, and confirming the ports came back.\n- **Step 8's report obligations.** The driver writes the coverage file; the\n  report, the per-category checklist walk, and every disclosure this step\n  requires are composed by the run from the driver's JSON result.\n\n**Where the applied template brings a verification flow of its own, that flow\nleads the design review and this walk keeps the functional side.** A template may\ncontribute a skill that reviews the rendered interface against a design contract\nit also ships. Discover it as a capability rather than by name - a skill of that\nkind among the ones the template activated under `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`\n- exactly as a unit-adding procedure is discovered, because naming a particular\ntemplate here would put solution knowledge in the solution-agnostic base. Where\none is present it is authoritative for the question it answers: whether what\nrendered is right. This step does not run those checks again, does not restate\ntheir findings as its own, and does not read their presence either as a reason to\nskip the walk or as a driver failure to fall back from.\n\n**What stays with this walk in every case is what no design contract answers**:\nthat every checkpoint the project declared was actually reached, that every\ndeclared value of every declared axis became active against its own control, that\neach read-back agreed with the page, and that the coverage file and the report\nstate honestly what was exercised and what was not. **Neither side covers for the\nother.** A design review that passed says nothing about a checkpoint the walk\nnever arrived at, and a walk that arrived everywhere says nothing about what the\npixels look like. The report carries both and names which produced which.\n\n**Hand-authored browser calls are the fallback, and only when the driver itself\nfails.** Not when it is inconvenient, not when its flags need working out, and\nnot when a hand-written batch looks quicker. Three separate agent hosts driven\nfrom these same sources each wrote a browser driver of their own rather than\nfollow the prose, and each broke the discipline somewhere different; the driver\nexists so the mechanics stop depending on which host is reading.\n\n**Every driver failure and every retry is disclosed in the report** - the number\nof attempts, and one line per attempt saying what failed and why. Retrying a\nharness failure is legal. Retrying it in silence is not: it turns a run that\nneeded three attempts into a report that reads like a run that needed one. That\napplies to a hand-authored fallback too - state that the driver failed, with its\nown reported reason, before the report shows anything the fallback captured.\n\n**The escape hatches this step carries, indexed.** Each is written out in full\nat the rule or sub-step named. A run that hits one of these failures goes\nstraight to it rather than deriving a replacement:\n\n- a click that lands and changes nothing - the native pointer sequence,\n  sub-step 3\n- text that never arrives, or a wait that times out on text already on the page -\n  the shadow-descending poll, sub-step 7\n- `Element is covered`, or a capture with host chrome drawn over it - the\n  overlay rule, sub-step 5.3\n- a snapshot listing none of the text expected - the compact-snapshot rule,\n  sub-step 6\n- `Element not found` on a selector that reads perfectly well - the\n  selector-form rule under \"Address every control by the stable handle\" below,\n  which names the forms this runner resolves and the ones it rejects\n- a batch line that blocks for a full timeout, or a wait that matches nothing -\n  the argument-vector rule in that same list: a flag-shaped token inside a batch\n  line is read as a selector\n- a batch that bails on its first click after an `open` - the settle rule in\n  that same list\n\nThe index exists because these are read once and needed later, mid-failure.\nThree separate runs re-derived the native pointer sequence from scratch, one of\nthem authoring throwaway scripts to do it, while the helper sat in a sub-step\nnone of them was re-reading at the time.\n\n**Narrow no declared scope without stating the reason in the visible output\ntext.** The scope this verification declares - every value of a declared variant\naxis, every point of a declared checkpoint axis, every state the declared checks\ncall for - is covered in full. When something forces a narrowing anyway, write into the text the\ndeveloper reads, not only into the coverage file, which part of the scope is\nbeing narrowed, what is left out of it, and why. The coverage file records what\nwas covered and cannot carry the reason, so a narrowing recorded only there\nreaches the developer as a bare gap they have no way to judge. An unexplained\nnarrowing is a verification failure and is reported as one, not a scope decision\nthis flow was free to make.\n\n**A scope change is declared in both directions, and widening is declared exactly\nas narrowing is.** Where the set actually walked is wider than what the\ndeveloper's own phrasing asked for - more variant values than the intent named, points\nthe intent did not mention, states nobody asked to see - the report says so in\none sentence of the same form: asked X, declared set Y, walked Y. Nothing about\nwalking more is wrong, and everything about walking more in silence is: the\ndeveloper reads the coverage table as the answer to the question they asked, and\na table answering a wider question without saying so is a table they cannot size.\nThe sentence costs one line and it is the only thing that keeps the declared set\nand the asked-for set distinguishable in the report.\n\n**The reason has to answer the axis the narrowed check verifies.** A check is\nnarrowed along the axis it covers, and only a reason on that axis closes it.\nThe variant walk and the captures under it ask a visual question - what each\nstate looks like once that value is applied - so no argument about behavior\ncloses them, however true the argument is. One run drove the interactive states\nunder the starting value alone and justified it by the state logic never reading\nthat dimension. That was correct and beside the point: what the walk was there to\nestablish is whether success, error and added states render differently across\nthe axis, and only those states rendered under each value can show it. A reason\nthat argues the wrong axis is an unexplained narrowing.\n\n**Start every dev server with its process id recorded, and stop it by that id.**\nKeep the pid the start reports, or use the runner's own stop mechanism where it\ndeclares one, and address the process that way for the rest of the run.\n**Stopping by pattern is forbidden.** A pattern matches every process whose\ncommand line happens to contain it, and the shell issuing the kill is one of\nthem: one run's `pkill -f` matched its own dev server and took down the\nenvironment in the middle of the verification it was running, which then had to\nbe rebuilt before the run could carry on. A server whose pid the run never\ncaptured is stopped by finding that pid first, not by widening the match.\n\n**A stopped parent is not a stopped server: after the kill, verify the ports are\nfree.** The recorded pid is the process this run started, not the children it\nspawned, and killing it can leave those children running and still bound. One\nrun killed its recorded pid, reported the server stopped, and left three orphans\nholding the ports. So ask the ports themselves, once per port this run started:\n\n```bash\nkill \u003Crecorded pid>\nlsof -ti tcp:\u003Cport>\n```\n\nEvery pid `lsof` prints is a survivor still holding that port. Kill each one **by\nthat printed pid**, never by pattern, exactly as the rule above requires, and\nre-run the `lsof` until it prints nothing. The run is finished with a server when\nits ports come back, not when a kill command exits zero.\n\n**Capture into a directory this run created, never a shared fixed path.** Make\nit once, before the first capture, with this command:\n\n```bash\nCAPDIR=\"\u003CtargetDir>\u002F.frontx\u002Fverify-$(date +%Y%m%d-%H%M%S)\"; mkdir -p \"$CAPDIR\"; echo \"$CAPDIR\"\n```\n\n**Every capture path in this walk starts with `$CAPDIR`.** The batch heredocs\nbelow are quoted (`\u003C\u003C'JSON'`), which is what keeps their escaped quotes intact\nand also means `$CAPDIR` does not expand inside them - that is why the command\nprints the directory: each `screenshot` line is written with the resolved path\nin it. Prose describing a run-unique directory was not enough on its own, and a\nrun under it wrote into a fixed shared path anyway.\n\nA path reused across runs leaves the previous run's files exactly where\nthis one goes looking: one run found 16 screenshots left by an earlier run in\nthe shared `\u002Ftmp` path it was about to write to, and they were captures of the\nvery states it had decided not to take. It cited none of them, and nothing\nabout the path stopped it from doing so. **A claim satisfied by another run's\ncapture is a false report even when nobody intended it**, because the\nbyte-compare in sub-step 5.5 and the states-captured cells in sub-step 8 both\naddress capture files by name, and neither can tell which run wrote them.\n\n**Address every control by the stable handle the interface puts on it, and\ndrive a whole pass in one invocation.** A run that clicks by accessibility\nreference pays for it twice: those references are re-issued on every\nnavigation and every variant switch, so each interaction costs a fresh snapshot\ntaken for no reason but to learn the handle again. One measured run spent 24 of\nits 87 browser calls that way. Six things make the difference, and all six were\nestablished against this runner rather than assumed:\n\n- **`[data-testid=\"\u003Cvalue>\"]` is the selector form to write, and the pseudo\n  forms are not.** Plain attribute and id selectors resolve for `click`, `fill`\n  and `get`. `button:has-text('...')`, `text=...` and `role=...[name=...]` each\n  come back `✗ Element not found` and exit non-zero - and it was exactly that\n  rejection, read as \"this control cannot be addressed\", that pushed the\n  measured run onto accessibility references to begin with. The runner does\n  offer the semantic locators as their own subcommands (`find role ... click\n  --name ...`), which work; what does not work is folding them into a selector\n  string. An `@eN` reference stays valid inside one page lifetime and is\n  void after a reload, which is what the variant walk performs at every boundary.\n- **Learn the handles once, from the interface itself.** Which controls a host\n  marks, and what it calls them, is the host's business - this document names\n  no handle and must not. Take one accessibility snapshot at the start of the\n  run, locate the controls the declared checks and the sub-steps below reach\n  for - whatever control reaches each point, whichever controls open and close a\n  declared overlay, the variant switcher and its per-variant options - and read\n  each one's `data-testid` off the page. Every command afterwards is written\n  against those values, and no further snapshot is taken to re-find a control.\n  **The controls inside the surface under verification are learned the same way,\n  but not off that snapshot**: its content renders inside a shadow root, so read\n  their handles\n  with one `npx --yes agent-browser@\u003Cpinned version> eval` that descends into every `shadowRoot`\n  and collects what the scaffold marked:\n\n  ```js\n  (() => {\n    const found = [];\n    const walk = (root) => {\n      for (const el of root.querySelectorAll('[data-testid]')) {\n        found.push(`${el.tagName.toLowerCase()} ${el.getAttribute('data-testid')}`);\n      }\n      for (const el of root.querySelectorAll('*')) if (el.shadowRoot) walk(el.shadowRoot);\n    };\n    walk(document);\n    return found;\n  })()\n  ```\n\n  Every value it returns is written as `[data-testid=\"\u003Cvalue>\"]` from then on,\n  exactly as the host's own controls are. A control inside that surface which the\n  scaffold marks with nothing is reached by a reference from a snapshot taken at that point,\n  and that is the only reason to take a further one.\n  **A host that marks nothing has no handles to learn**: fall back to accessibility\n  references, say in the report that the interface exposed none, and expect the\n  snapshot-per-interaction cost this rule exists to remove.\n- **Chain the commands with `batch --bail`, fed as JSON on stdin.** One\n  `batch` invocation carries a whole sequence in a single process, which is\n  what turns a variant's pass from a dozen round trips into one. Feed it JSON\n  rather than quoted argument strings: argument mode re-parses each string and\n  strips the quotes inside it, so a handle carrying dots or tildes arrives at\n  the runner as an unquoted attribute value and stops resolving, while a handle\n  that happens to be a bare word keeps working - which is the worst kind of\n  breakage, one that passes on the simple case and fails on the real ids. In\n  JSON stdin mode each command is its own argument vector and nothing is\n  re-parsed. `--bail` stops at the first failing command and exits non-zero, so\n  a pass that broke halfway through cannot be read as one that ran.\n- **A batch line is an argument vector, so every argument in it is positional\n  and bare.** A flag-shaped token is not read as a flag: `[\"wait\", \"--ms\",\n  \"800\"]` hands `--ms` to `wait` as the *selector* to wait for, and the line\n  then sits out the full 25s default timeout before failing. **A wait is written\n  `[\"wait\", \"800\"]`** - the\n  milliseconds as a bare string, nothing else - and every other line reads the\n  same way: what follows the op name is its operands, and a token starting with\n  `-` becomes one of them rather than a switch.\n- **After an `open`, the next line settles the page; it does not interact with\n  it.** A batch that chains `[\"open\", \"\u003Cdestination>\"]` straight into a click on\n  a handle inside the page bails on that click: the load is still in flight, the\n  handle is not in the document yet, and `--bail` stops the pass on a page that\n  was about to be fine. Follow every `open`, and every other load, with\n  `[\"wait\", \"800\"]` or an `[\"is\", \"visible\", \"[data-testid=\\\"\u003Ca handle that page\n  shows>\\\"]\"]`, and put the first interaction after that. The addressing\n  batch in sub-step 4 carries its `snapshot` line in exactly that position; a\n  batch composed here needs the settle written in.\n- **`get` prints, `is` enforces, and `fill` does neither.** A `get text` line\n  hands its answer back for the run to read, and the run has to read it,\n  because the batch carries on either way. An `is visible` line exits non-zero\n  when the element is absent, so under `--bail` the runner itself stops the\n  pass when that confirmation fails - which is why the confirmations below are\n  written as `is visible` wherever the expected state is an element being\n  there. `fill` reports `✓ Done` even when its selector matched nothing, typing\n  into whatever held focus instead; confirm every fill with a `get value` on\n  the same handle rather than believing its exit code.\n  **A plain CSS selector aimed at that content is that case by\n  construction.** The fields live in a shadow root and an outside selector\n  does not see in, so `fill input[name=...]` matches nothing, types into\n  whatever held focus, and still reports success - one run filled a form that\n  way and read the report as proof the form worked. Fill those controls by the\n  testids read in the handle-learning rule above, and let the `get value` this\n  bullet already requires be what establishes the text landed where it was\n  aimed. Where a control carries no testid, drive it by a reference from a\n  snapshot taken at that point, and read it back the same way.\n\nCarry the run out in this order:\n\n1. **Probe before launching.** Ask `http:\u002F\u002Flocalhost:9222\u002Fjson\u002Fversion` once.\n   When it answers, attach to the browser already listening there with\n   `npx --yes agent-browser@\u003Cpinned version> connect 9222`. When it does not, launch one with\n   `npx --yes agent-browser@\u003Cpinned version>`. The probe is a single request, and it is worth\n   making every time: a self-launched browser has hung mid-run where an attached\n   one returned every capture asked of it.\n2. **Read the interface's active variant before verifying anything, and switch to\n   the host's default variant before the first capture.** An attached browser\n   brings its profile's persisted selection with it, so the interface can open in\n   a variant nobody in this run chose, and every capture after that silently\n   belongs to that variant. Read the active variant off the variant switcher's own\n   label, by the rule the variant walk states below: a screenshot's file name\n   records what the run assumed, not what was on the page.\n\n   **This is also where the run learns its handles.** The snapshot taken to find\n   the switcher is the one snapshot the selector rule above allows for locating\n   controls, so locate the rest of them from it in the same pass - the controls\n   that reach each point, a declared overlay's two controls, the switcher's\n   per-variant options - and read each one's `data-testid`. Everything after this\n   sub-step is written against those values, and settling a declared overlay's\n   closed state here is what lets each variant's block run without a branch.\n3. **Dispatch native pointer events when a click changes nothing.** A synthetic\n   `.click()` arrives at the element carrying none of the pointer sequence around\n   it, so a control listening for `pointerdown` sees nothing at all and the page\n   stays as it was. Do not retry the synthetic click, and do not record the\n   control as broken. Re-issue that one click as the full native sequence through\n   `npx --yes agent-browser@\u003Cpinned version> eval`:\n\n   ```js\n   (() => {\n     const el = document.querySelector('\u003Cselector>');\n     if (!el) return 'not found';\n     const box = el.getBoundingClientRect();\n     const init = {\n       bubbles: true, cancelable: true, composed: true,\n       clientX: box.left + box.width \u002F 2, clientY: box.top + box.height \u002F 2,\n       pointerId: 1, pointerType: 'mouse', isPrimary: true, button: 0, buttons: 1,\n     };\n     const up = { ...init, buttons: 0 };\n     el.dispatchEvent(new PointerEvent('pointerdown', init));\n     el.dispatchEvent(new MouseEvent('mousedown', init));\n     el.dispatchEvent(new PointerEvent('pointerup', up));\n     el.dispatchEvent(new MouseEvent('mouseup', up));\n     el.dispatchEvent(new MouseEvent('click', up));\n     return 'dispatched';\n   })()\n   ```\n\n   Put the control's own selector in `\u003Cselector>`. When the control lives inside\n   a shadow root, resolve it through that host's `shadowRoot` rather than\n   `document`, which does not see in. Then confirm the outcome the way every\n   other click is confirmed here, under sub-step 6: by reading the resulting\n   state back off the page, never off the command's own `✓`.\n4. **Where the project's points carry their own addresses, exercise them before\n   the variants are walked.** Whether they do is the applied template's\n   declaration and never this document's assumption: a template whose units\n   declare a destination each - a `route`, a path, whatever that template calls\n   it - states so in the skills it activated under\n   `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`, and that is the only place this run learns\n   it from. A project whose points carry no address of their own, or that mounts\n   several units into one surface at once, has nothing here to exercise, and the\n   run reports the category as not applicable naming that declaration. **No field\n   named here is an ecosystem guarantee** - the runtime declares no\n   extension-domain values and no addressing model, so a destination read \"out of\n   the manifest\" is read out of a manifest the template's own conventions shaped.\n\n   Where they do carry addresses, the address is part of the surface under\n   verification: the host mounts the unit whose address matches the URL at load,\n   and a click on a reaching control puts that point's address into the address\n   bar. Neither fact shows up in a capture, so both are established here, in the\n   variant the run is currently in. Take each realized point in turn, one batch\n   each:\n\n   ```bash\n   npx --yes agent-browser@\u003Cpinned version> batch --bail \u003C\u003C'JSON'\n   [\n     [\"open\", \"\u003Cdev server origin>\u003Cthis point's declared destination>\"],\n     [\"snapshot\", \"-i\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe control that reaches another point>\\\"]\"],\n     [\"get\", \"url\"],\n     [\"snapshot\", \"-i\"]\n   ]\n   JSON\n   ```\n\n   1. **Load that destination hard** - the `open` line, a full load of the dev\n      server's origin with that destination as the path, not a click - and\n      confirm from the snapshot after it that this is the point that mounted. A\n      deep link that lands somewhere else is a defect. The snapshot earns its\n      place here under sub-step 6: the question is what mounted, and only a\n      reading of the whole page answers it.\n   2. **Then click the control that reaches another point and read the address\n      back** - the click, the `get url`, and the snapshot after them. Confirm the\n      path in the URL now equals that point's declared destination, and confirm\n      from that last snapshot that it is the one mounted. `get url` is the\n      reading to take rather than a scripted `location.pathname`: it is a\n      command like the others, so it rides in this same batch instead of costing\n      its own invocation. A point that mounts while the address stays where it\n      was is a defect too - the URL is what a developer copies, bookmarks and\n      reloads. **This half is skipped, and reported as not applicable, where the\n      project declares no control to click between its points** - where they are\n      reached from inside the content, from a command surface, or not at all\n      because there is one of them.\n\n   **A failure here is a defect to report, not a sub-step to skip.** Report the\n   destination asked for, what mounted, and the pathname read back, and report\n   the project as not verified for addressing. One run inherited its addressing,\n   opened no deep link, read no pathname, and handed back a report that never\n   mentioned it at all: an address left unexercised is reported as unexercised,\n   never as absent, and a category genuinely out of reach is reported as not\n   applicable with the project's own declaration named as the reason.\n5. **Establish whether this project declares a variant axis, and if it does,\n   enumerate every value of it and walk them.** A variant axis is one UI\n   dimension a project varies along; which dimension that is, and whether the\n   project has one at all, is stated by the template the project was applied\n   from and never assumed here. **A project that declares none walks its declared\n   points once** - or, where it declares none of those either, whatever its host\n   opens - records the axis as not exercised, and is complete at that: sub-steps\n   5.2 and 5.5 below have nothing to act on, and the rest of the block runs\n   unchanged. Nothing in that outcome is a narrowing, and it is never written up\n   as one.\n\n   Where an axis is declared, **the project's own registration of that dimension\n   is the source of truth for the set** - not the value the browser opened in,\n   and not the entries a switcher happens to show. Read the set from that\n   registration - the source file where the values are declared, or the list it\n   exports - and only then open the switcher, which from that point serves to\n   apply each value and nothing else. A dropdown enumerates what the switcher\n   chose to offer, which is not necessarily everything declared: one run took its\n   set from the switcher's own entries and happened to match, a match it had no\n   way to confirm and did not. This is the one thing read from source in this walk, and\n   it is read for the set alone - which value is active at any moment stays the\n   switcher label's to answer, under sub-step 5.2 below. **The walk covers every\n   value that registration reports, and that set is not negotiable**: no sample,\n   no representative subset, and no value set aside as out of scope for this run.\n   The count of declared values and the count of walked values are the same\n   number. A run that walks fewer has narrowed a declared scope, so it states the\n   reason in its output text under the rule above and reports itself as not\n   verified for every value it left out.\n\n   **Take each declared value in turn, and drive its whole pass as one\n   invocation** rather than as a click-by-click conversation. The handles come\n   from the one-time read in the selector rule above; the value's own option\n   handle and the points' reaching handles are the per-value and per-point parts.\n   The two overlay lines below are present only where the project declares such\n   an overlay, and the reaching click only where it declares a control to click:\n\n   ```bash\n   npx --yes agent-browser@\u003Cpinned version> batch --bail \u003C\u003C'JSON'\n   [\n     [\"reload\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe overlay's opening handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe variant switcher's handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthis variant's option handle>\\\"]\"],\n     [\"get\", \"text\", \"[data-testid=\\\"\u003Cthe variant switcher's handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe overlay's closing handle>\\\"]\"],\n     [\"is\", \"visible\", \"[data-testid=\\\"\u003Cthe overlay's opening handle>\\\"]\"],\n     [\"click\", \"[data-testid=\\\"\u003Cthe handle that reaches a point>\\\"]\"],\n     [\"screenshot\", \"\u003C$CAPDIR resolved>\u002F\u003Cvariant>-\u003Ccheckpoint>-fresh.png\"]\n   ]\n   JSON\n   ```\n\n   The last two lines repeat, one pair per point under verification. The\n   interactions the declared checks call for then follow as a second batch of\n   the same shape - the driving clicks and fills, each state's own `screenshot`\n   line after them, and a `get value` after every fill under the rule above.\n\n   **Where an overlay is declared, the block ends with it closed, and that is\n   what lets the next pass's block start with a bare opening click.** Settle the\n   starting state once, before the first pass, and the walk needs no branch\n   anywhere. If the block stops on its opening line, this host brought the\n   overlay back open across the reload instead: drop that line, re-run the block,\n   and use the shorter form for every remaining pass, because which of the two a\n   host does is fixed for that host and is now known. Either way `--bail` turned\n   an unknown into a stated fact at the cost of one failed invocation, and no\n   capture was taken while the answer was still open.\n\n   Packaging the pass this way changes what it costs, not what it checks. Each\n   line still answers to one of the sub-steps below, and every one of them\n   holds:\n   1. **Reload the page and wait for it to come back** - the block's first\n      line. This is the pass boundary reset. It discards every field filled,\n      item added and dialog opened during the previous pass, so the captures\n      below start from a state this run knows rather than from wherever the last\n      pass's interactions left the app. Reload for the first pass too: the\n      browser arrived carrying a profile, not a fresh application.\n   2. **Switch into the value, then confirm the switch landed** - the two clicks\n      that open the switcher and pick this value, and the `get text` line after\n      them. That line prints the switcher's label, and the label has to name the\n      value just selected. **This whole sub-step belongs to the variant axis: a\n      run that declares none has no switcher to operate and no label to read, and\n      skips it.** Where an axis is declared, **the switcher's label is the only\n      source of truth for which value is active.** Do not probe `data-*` attributes, CSS classes or computed styles\n      to detect it, and do not go reading shell or package sources for where a\n      variant is applied. Host implementations vary, which is precisely why the\n      check is a label check: one run lost its budget to a DOM probe that\n      answered `unknown` and a source hunt after it, then fell back to the label\n      this sub-step already prescribed. **This is the one confirmation the batch\n      will not make for the run**: `get text` prints and moves on, so a block\n      whose label line came back naming the previous value has still run every\n      line after it, captures included. Read that line. A label still naming the\n      previous value means this one never became active, so record it as\n      not-active with that as the reason, discard what the block captured under\n      it, capture nothing in it as verified, and take the next value.\n      **Names it, rather than carries its name somewhere.** The value's name has\n      to occupy whole words of the label: a label reading \"Denser\" does not\n      confirm `dense`, and \"Length\" does not confirm `en`. A set holding such a\n      pair - two names one label could name at once - is refused before the walk\n      rather than resolved by guess, and `--variant-labels` is where each is given\n      a label of its own.\n   3. **Where the project declares an overlay the walk operates through, close it\n      before the first capture in this variant** - the closing click and the `is\n      visible` line after it. **Whether there is one at all is the applied\n      template's declaration**, stated in the skills it activated under\n      `.frontx\u002Fai\u002F\u003Ctemplate-identity>\u002F`; a project that declares none has no such\n      pair of lines in its block, and the accounting reports the category as not\n      applicable naming that. An open tools panel, debug drawer or inspector is\n      host chrome drawn over the surface under verification, not part of it.\n      **A capture taken while it covers that surface is not a valid baseline**\n      and neither is a click aimed through it: one run lost its first pass's\n      baseline that way, and another lost a pass aborted by `Element is covered`\n      before closing the overlay and starting over. Here the confirmation\n      enforces itself - the opening control is only in the document while the\n      overlay is closed, so `is visible` on it exits non-zero and `--bail` stops\n      the block before a single capture is taken. The line sits inside every\n      pass's block, not once at the start of the walk, because the reload at each\n      pass boundary can put the overlay back.\n   4. **Capture every point under verification in its fresh state first** - the\n      reaching click and `screenshot` pairs that close the block. This is the\n      state the reload left the surface in, before anything is filled, submitted\n      or added in this pass. The interactions the declared checks call for follow\n      in the second batch, each with its own capture.\n   5. **Byte-compare this pass's captures against the previous pass's.** This\n      sub-step belongs to the variant axis too: a run that declares none takes\n      one pass, has no pair to compare, and records the comparison as not made\n      for that reason. Where an axis is declared, for each point and state, run\n      the comparison as a command over the two capture files and read the verdict\n      off what it returned:\n\n      ```bash\n      cmp -s \u003Cprevious-pass-capture> \u003Cthis-pass-capture>; echo \"cmp exit $?\"\n      # or, when hashes are preferred:\n      shasum -a 256 \u003Cprevious-pass-capture> \u003Cthis-pass-capture>\n      ```\n\n      `cmp -s` exits 0 for identical files and 1 for differing ones; two hashes\n      are identical or they are not. **The coverage cell cites that result - the\n      exit code, or the two hashes - and is filled from nothing else.** Opening\n      the two captures and judging them different by eye is not a comparison, and\n      a cell filled that way reports a fact the run never established, however\n      honestly the eye judged it. A capture pair the command was never run over\n      gets no verdict: record it as not-compared and say so in the report.\n      Identical captures are a recorded fact, not a failure: two declared values\n      can differ only in tokens the surface under verification never consumes, and\n      a report that passed them as visibly distinct claimed something the run did\n      not see. The first value has no predecessor to compare against.\n6. **Read state back after every click and every load, from something\n   that looked at the page.** `✓ Done` is the runner reporting that it issued a\n   command, and it is never the reading. Two readings qualify. When the run\n   already knows which element carries the answer, a `get text`, `get value` or\n   `is visible` line on that element's handle is the reading, and it costs\n   nothing extra because it rides in the same batch as the click. When the run\n   needs to see what is on the page at all - which controls exist now, what the\n   load mounted - the reading is the accessibility snapshot, `npx --yes\n   agent-browser@\u003Cpinned version> snapshot -i`. Reach for the snapshot for that question and not\n   as a reflex after every click, which is the habit that cost the measured run\n   24 of its 87 calls. A text-wait qualifies as neither: it does not see into a\n   shadow root, so it times out on text that was on the page the whole time. When\n   a wait is what is needed, take it from sub-step 7.\n\n   **What a compact snapshot leaves out is not evidence of anything.** It\n   enumerates the interactive nodes; static text, and the list structure around\n   it, are absent from perfectly sound markup by construction. Judge static\n   content by a screenshot or by reading the DOM through `npx --yes\n   agent-browser@\u003Cpinned version> eval`, and never from the snapshot's silence. **A snapshot-only\n   signal is not grounds for touching product source.** One run read that\n   absence as broken list semantics, stopped its dev servers, added redundant\n   roles to the unit's own source, and then concluded it had never been a real\n   defect - by which point the edit and the lost environment were the run's only\n   lasting output.\n7. **Wait for text with the shadow-descending poll below, not with `wait\n   --text`.** `wait --text` searches light DOM only, and this stack renders inside\n   shadow roots, so it spends its whole timeout on text that was already on the\n   page, and one run spent three such timeouts before reading this. Reach for\n   `wait --text` only for content known to live in light DOM. For everything else, poll through\n   `npx --yes agent-browser@\u003Cpinned version> eval`:\n\n   ```js\n   (async () => {\n     const needle = '\u003Ctext>';\n     const timeoutMs = 10000;\n     const pollMs = 250;\n     const holds = (root) => {\n       const scope = root === document ? document.body : root;\n       if (scope && (scope.textContent ?? '').includes(needle)) return true;\n       for (const el of root.querySelectorAll('*')) {\n         if (el.shadowRoot && holds(el.shadowRoot)) return true;\n       }\n       return false;\n     };\n     const deadline = Date.now() + timeoutMs;\n     for (;;) {\n       if (holds(document)) return 'found';\n       if (Date.now() >= deadline) return 'not found';\n       await new Promise((resolve) => setTimeout(resolve, pollMs));\n     }\n   })()\n   ```\n\n   Put the text to wait for in `\u003Ctext>`. `holds` reads the light DOM once and\n   then descends into every element's `shadowRoot` recursively, so text at any\n   nesting depth is seen. `found` means the text arrived; `not found` means it\n   did not arrive inside the timeout, which is a real absence to act on rather\n   than a blind spot to wait out again. If the runner hands back the promise\n   instead of its value, set `timeoutMs` to 0 and re-issue the helper until it\n   returns `found` or the wait budget is spent.\n8. **Write the coverage table to a file.** The verification's deliverable is\n   `\u003CtargetDir>\u002F.frontx\u002Fverification-coverage.md`, beside the project's provenance\n   record, written **before the final report is composed** and holding one row per\n   pair the walk covered - every pass of the variant axis against every point of\n   the checkpoint axis - each carrying its own captures and its own byte-compare\n   verdict from sub-step 5.5:\n\n   ```markdown\n   | Variant | Active | Checkpoint | States captured | Visually distinct from previous |\n   |---|---|---|---|---|\n   | \u003Cdeclared value> | verified \u002F not-active (reason) | \u003Cdeclared point> | \u003Cstate> (\u003Ccapture file>), \u003Cstate> driven, not captured | \u003Cstate>: differs (cmp exit 1) \u002F \u003Cstate>: identical (cmp exit 0) \u002F not-compared (reason) \u002F first variant |\n   ```\n\n   **The rows are the product of the axes, not a column per point.** A column per\n   point could only be written once the points were known and fixed, which is\n   exactly what this walk does not assume: the points are the project's, their\n   number is not this document's to predict, and a project declaring none still\n   has to produce a table of the same shape.\n\n   The distinctness cell carries the comparison command's own result, in the\n   parentheses shown - the `cmp` exit code, or the differing hashes. A cell\n   without one is a cell no command backed.\n\n   **A run that declared no variant axis writes the rows its one pass earned**,\n   with `(none declared)` where a value would stand and `not-exercised (no variant\n   axis was declared for this run)` in the cells that axis owns; **a run that\n   declared no checkpoint axis says the same about that axis** in the cell that\n   would otherwise name the point. That wording is the point of the row: it says\n   what this run did not do, and it does not say the project has no such\n   dimension. `no` and `none` both read as the second claim, and neither this walk\n   nor the report built on it establishes it.\n\n   Every declared value gets a row per point, including each value recorded as\n   not-active. A state is the moment a capture was taken at, named for what the\n   surface held then: a form in its fresh state after the boundary reload and\n   after it is submitted, a list fresh and after it changes. Name a state `fresh`\n   only for a capture taken after that reload and before any interaction in this\n   pass - calling a later capture fresh reports a state this run never saw.\n\n   **A states-captured cell names a state only when a capture artifact of that\n   state, in that pass, exists.** The test is whether there is a file or a\n   snapshot to point at, not whether the interaction looked like it worked.\n   Name, per state, the capture it is claimed from - the screenshot's file name,\n   or the accessibility snapshot taken at that point - in the cell itself or in a\n   notes line under the table. A state this pass only drove - a control clicked,\n   a form submitted, and the run moved on taking neither screenshot nor snapshot\n   - is listed apart from the captured ones, as `\u003Cstate> driven, not captured`.\n   **Listing it among the captured states is a false report**: one run wrote\n   `fresh, submitted` on the row of every declared value when a post-submit\n   capture existed for the first value alone, and reported screenshots and\n   snapshots as confirming all of them. A state captured under one value is\n   captured under that value only, and every other row is filled from that value's\n   own artifacts.\n\n   Step 8 carries this file's content verbatim. The file is the deliverable, not a\n   suggestion - a run that composed a report without writing it did not complete\n   the verification, whatever the report concluded.\n\n**If a declared verification fails**, stop there. Report the project as applied\nand realized but **not verified**, relay that verification's own output\nunreinterpreted, and name the units it covered. Do not report scaffolding\ncomplete, and do not attempt a correction retry - the same rule that governs a\nnon-zero command exit governs this. A failing type-check or lint is the whole\ndifference between a project that was written and one that works, so reporting\nsuccess over it would hand back the one problem this step exists to catch.\n\n## Step 8 - Report\n\n**The completion test for this step is a file on disk.** Where step 7 performed a\nbrowser verification, this step is not complete until\n`\u003CtargetDir>\u002F.frontx\u002Fverification-coverage.md` exists at that path and holds the\ncoverage table. Check for it, by reading that path, before the report is\ncomposed. A table written into the report, a table shown in the conversation, or\na table the driver printed and nobody kept is not that file and does not stand in\nfor it: the developer keeps the project, not the transcript, and the coverage\nrecord has to still be there tomorrow. One run published a complete-looking\ncoverage table and wrote nothing to disk, and its verification ended when the\nconversation scrolled. A report composed over an absent coverage file states that\nthe file is absent and reports the verification as not complete.\n\nReport, in this order:\n\n- the applied set, as read from provenance in step 6;\n- the units realized, and what each carries;\n- the coverage table any browser verification in step 7 wrote, **reproduced in\n  full inside the report**, row for row and column for column, followed by the\n  path of the file it was reproduced from. **Fenced or as rendered markdown, both\n  satisfy this**: what is required is the faithful reproduction of every row, not\n  the fencing around it. A link, a file name, a row count or a sentence\n  summarizing what the table says is still not acceptable in its place: the\n  reader is being told what was verified, and a pointer tells them where to go\n  look instead;\n- the outcome of step 7's address sub-step, one line per realized point: the\n  declared destination it was deep-linked at, what mounted there, and the\n  pathname read back after the click that reached the next one. A report silent\n  on addressing reads as a surface nobody exercised, because that is what it is -\n  and where the project declares no addresses, or no control to click between its\n  points, the line says so and names that declaration;\n- **the per-category status walk of `verification-checklist.md`**, written out\n  below, and the verdict line the walk decides;\n- **the attempt record**: how many verification attempts this run made, and one\n  line per attempt naming what failed and why. A single clean attempt is written\n  as one line saying so;\n- the residual work - only the intent that no applied template's ground contains\n  and no activated skill covers.\n\n**A FAIL on any CRITICAL item decides the verdict line, and no wording gets\naround it.** The report carries a verdict line, and where any CRITICAL item of\nthe checklist is FAIL, that line says the verification did not pass. There is no\nform of words that converts it into something else. Restating it as \"hygiene\ngaps\", as \"minor findings\", as \"notes for follow-up\", or closing the report with\n\"residual: none\" over a standing CRITICAL FAIL is not a summary of the run - it\nis the report stating something the run established the opposite of, which is the\none thing the checklist exists to stop. The checklist records that as a VER-NO\nviolation in its own right, on top of whatever the original FAIL was. A run that\nwalked the categories honestly and then softened the verdict has failed the\nverification twice.\n\n**Every attempt is disclosed, and a retry is only legal disclosed.** Verification\nattempts fail for reasons that have nothing to do with the project: a driver that\ncould not reach the host, a browser that hung, a dev server that had not finished\nstarting. Retrying those is right. What is not permitted is a report shaped like\nthe last attempt was the only one. Name the attempt count, and for each failed\nattempt name what failed and the reason it reported, before the report shows what\nthe successful attempt captured. **An undisclosed retry invalidates the whole\nreport** under VER-REPORT, however sound the final attempt was, because a reader\ncannot tell a first-time pass from a fourth-time pass and the difference is\nexactly what tells them how much to trust the environment. A retry meant to make\na *failing declared verification* pass is a different thing and is forbidden\noutright under the no-correction-loop rule; disclosure does not make that one\nlegal.\n\n**Walk every category of the checklist, one line each.** The file beside this\ndocument partitions the browser walk into categories with stable ids, and the\nreport states each one's outcome in the form that file's Reporting section fixes:\n\n```text\n\u003CID>: PASS | FAIL (\u003Cwhat the run did not establish>) | N\u002FA (\u003Cwhy out of reach>)\nVerdict: the verification passed | the verification did not pass (\u003Cthe CRITICAL items that failed>)\n```\n\nTake the categories in the order the checklist lists them and leave none out.\nThe verdict line follows the walk and is decided by it, not written before it.\n**An unmentioned category is a failure of the report, not of the run** - the run\nmay well have satisfied it, and a report that does not say so has not established\nthat it did. A blanket sentence covering several categories at once is not a walk:\neach id gets its own line, and a PASS is claimed only where this report carries\nthe evidence that category's items ask for. `N\u002FA` is available only for the\ncategories the checklist's own Applicability section admits it for, with the\nreason; a category the run skipped is a FAIL. **A PASS is also claimed only\nagainst items this run read**, under the full-read rule in step 7: a category\nwhose items were never read cannot have been checked, whatever the walk asserts\nabout it.\n\nProse alone did not carry this. Two runs re-derived facts that were sitting in\nthis document, already read, because nothing made them account for each one by\nname. Walking a fixed list of ids is what makes an omission visible - to the run\nwriting the report, and to the developer reading it.\n\n**Publish only numbers a command printed.** Test counts, lint counts, file\ncounts: find the summary line the command printed, read the figure off that line,\nand name the command it came from. Do not recall a figure from earlier in the\nsession, and do not carry one over from an earlier run. **Before any figure is\nwritten down, point at the captured output line that carries it verbatim** - a\nfigure no captured line carries is not a figure this run measured.\n\n**When no command printed a grand total, the report carries no grand total.** An\naggregate run that prints one summary line per workspace has printed\nper-workspace figures and nothing else. Publish those lines as they stand, every\none of them, and publish no number standing for the repository as a whole. A\nper-unit run is the same: publish the two per-unit lines and stop there. The\nwords `N tests total` may appear only beside the output line that itself contains\n`N`.\n\n**Adding the summary lines up yourself is the failure this rule exists to stop.**\nTwo consecutive runs teed the aggregate run correctly, grepped every workspace\nsummary line correctly, then summed those lines themselves and shipped a\nrepository-wide total no command had printed - the second reported 693 tests\ntotal where the captured lines summed to 737. Arithmetic performed over captured\nlines yields a number the run never observed, and a total the report never read\noff a command's own output is a total the report invented.\n\n**Capture the aggregate run whole, so that rule has something to read.** The run\nwhose figures the report quotes - the one covering every workspace at once - is\ncaptured without truncation that can hide a workspace's summary. Do not pipe it\nthrough `tail` or `head`: each cuts from one end, and the workspaces printed at\nthe other end disappear with their summary lines, which is exactly how a run\nreported four of its nine figures off an earlier failed run and never observed a\nninth workspace at all. When the output has to be reduced, filter **for** the\nsummary lines instead of slicing the stream, and keep the whole log beside it:\n\n```bash\n\u003Cdeclared test command> 2>&1 | tee \u003CtargetDir>\u002F.frontx\u002Ftest-run.log \\\n  | grep -E '\u003Cthe per-workspace result line pattern>'\n```\n\nThen, reading figures off that capture:\n\n- **Take every total from the last fully green run and from no other.** A figure\n  read off a run that failed, or off a run that predates the fix, is not this\n  project's result, however unchanged that workspace looks. A green run replaces\n  the earlier output entirely; it does not top it up.\n- **Report no figure whose workspace summary was never observed in captured\n  output.** Do not infer it from the workspaces around it and do not drop the\n  workspace silently. Name it, say its result was not captured, and re-run to\n  capture it.\n\n**Every figure in the report postdates the last source edit.** A gate's numbers\ndescribe the tree as it stood when that gate ran, so a source file changed\nafterwards voids them - all of them, not only the ones covering the file that\nchanged. When it happens, re-run the unit legs and then the aggregate gates, and\nreport from that run alone. One run edited a unit's source after its final aggregate\ngates, re-ran only that one unit's own checks, and published root-level numbers\nthat predated the source they were presented as measuring: the numbers were\nreal, and they were not this project's.\n\n## Worked shape\n\nA developer asks for a console with two screens and says what each shows.\n\n- Step 3 selects one template whose description says it establishes a runnable\n  application, and one whose description says it contributes the ground that\n  isolated UI units live in. That is two applications.\n- The two screens are **not** two more applications. They are two units inside\n  the second template's ground, recorded as two pieces of per-unit work against\n  its single application.\n- Step 5 seeds with the first and adds the second. Step 7 runs that second\n  template's own activated unit-adding skill twice, once per screen, and puts\n  each screen's stated content into the unit it created.\n- What comes back is a project with both screens in it, built and running.\n",{"name":5,"description":7},"main","45f8d5c2cc60628f622584077071e4bddb8addc9","packages\u002Fcyber-pilot-kit-frontx\u002Fskills\u002Fproject-scaffolding",15,"https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx","https:\u002F\u002Fcyberfabric.org","https:\u002F\u002Fgithub.com\u002Fconstructorfabric","https:\u002F\u002Fconstructorfabric.org","A unified fabric that automates the entire XaaS software development lifecycle  from planning to building to running services in prod","2026-11-12 02:36:37",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add constructorfabric\u002Fgears-frontx --skill frontx-project-scaffolding",{"tool":40,"command":41},"bunx","bunx skills add constructorfabric\u002Fgears-frontx --skill frontx-project-scaffolding",{"tool":43,"command":44},"pnpm","pnpm dlx skills add constructorfabric\u002Fgears-frontx --skill frontx-project-scaffolding","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002Fpackages\u002Fcyber-pilot-kit-frontx\u002Fskills\u002Fproject-scaffolding\u002FSKILL.md",true,[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"scripts\u002Fverify-walk.mjs","SCRIPT","脚本",76352,"https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002Fpackages\u002Fcyber-pilot-kit-frontx\u002Fskills\u002Fproject-scaffolding\u002Fscripts\u002Fverify-walk.mjs",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"verification-checklist.md","REFERENCE","参考文档",25087,"https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002Fpackages\u002Fcyber-pilot-kit-frontx\u002Fskills\u002Fproject-scaffolding\u002Fverification-checklist.md",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M74ER7C90C1NYV9NXM6B9YE6","frontx","FrontX ecosystem AI capabilities: MFE runtime substrate, GTS type system, API protocol surface, CLI scaffolding, and AI tooling kit. Routes a FrontX request to the capability that serves it. Solution-agnostic base only.","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002Fpackages\u002Fcyber-pilot-kit-frontx\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M74ER2XGM0EP1MDG068942Y0","team-lead","Use this skill whenever delegating work to subagents — whether a single Task call or a full team via TeamCreate. Guides delegation, task decomposition, agent selection, and coordination. Covers when to spawn architect (design decisions, trade-offs), researcher (explorations, technical investigation), developer (FEATURE specs and code), tech-writer (documentation), qa (post-implementation validation), and architecture-critic (stress-testing architect output). Trigger on any subagent spawn, team creation, multi-agent coordination, or parallel work request.","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fteam-lead\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M74EQZ90MVBV41KWKVXJJ426","cf-sdlc-reverse-engineer","Invoke when the user intent is reconstructing SDLC artifacts (PRD\u002FADR\u002FDESIGN\u002FDECOMPOSITION\u002FFEATURE) from existing code using code markers (@cpt-*) and the reverse-engineering methodology, without converting from another spec format.","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcf-sdlc-reverse-engineer\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74EQVTQ2K5AQ3ZRC7HD3FVM","cf-sdlc-implement","Invoke when the user asks to implement, build, or write the code for a FEATURE — e.g. \"implement\", \"write the code\", \"build this feature\", \"implement FEATURE with @cpt-* traceability\". Thin preset binding the CODE artifact KIND, delegating implementation and review to the core cf-coding engine.","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcf-sdlc-implement\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M74EQQEVEKFZZSCT65VPJH90","cf-sdlc-doc-prd","Invoke when the user asks to author, write, revise, or generate a PRD — e.g. \"generate PRD\", \"write the PRD\", \"create product requirements\", \"capture actors, FR\u002FNFR, use cases, or success criteria\". Thin preset binding the PRD artifact KIND, delegating authoring and review to the core cf-write-docs engine.","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcf-sdlc-doc-prd\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M74EQM1Q1XH4QSF3RJEMPJPG","cf-sdlc-doc-feature","Invoke when the user asks to author, write, revise, generate, or spec a FEATURE — e.g. \"generate FEATURE\", \"spec the feature\", \"define flows \u002F algorithms \u002F states \u002F definition of done (CDSL)\", \"write test scenarios for a feature\". Thin preset binding the FEATURE artifact KIND, delegating authoring and review to the core cf-write-docs engine.","https:\u002F\u002Fgithub.com\u002Fconstructorfabric\u002Fgears-frontx\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcf-sdlc-doc-feature\u002FSKILL.md",[],[]]