[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M735K4CX8EQ1XZP02JKSRZWE":3,"skill-same:01M735K4CX8EQ1XZP02JKSRZWE":61},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M735K4CX8EQ1XZP02JKSRZWE","mock-verification",null,"Smoke-walk a `web-application` in a real browser once it builds clean — stand it up in mock mode, walk the flows of its prototype, fix each failure where you find it, post progress item by item. Required for every change to a webapp component. Judging a DEPLOYED system is the `validation-task` skill's job instead.","wso2\u002Flabs-agentic-engineer","wso2","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F533043?v=4","01M6CDAFS40T9Y86DYXWE0NJES","WSO2","01M735EE4N2PP2ZR56AX7DNPNP",24,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fmock-verification\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: mock-verification\ndescription: \"Smoke-walk a `web-application` in a real browser once it builds clean — stand it up in mock mode, walk the flows of its prototype, fix each failure where you find it, post progress item by item. Required for every change to a webapp component. Judging a DEPLOYED system is the `validation-task` skill's job instead.\"\nmetadata:\n  aep:\n    kind: platform\n    audience: [coding]\n---\n\n# Mock verification\n\nA clean build says the code is well formed and nothing about what the screens\ndo: a screen the prototype shows and the router never registered, a button wired\nto nothing, a form that flips a row and sends no request. So you open the app\nand use it. Mock mode stands it up on this machine with no cluster, no sibling\nservice and no IDP. You verify and repair in one pass.\n\n**This is a smoke walk: breadth over depth.** You are looking for a screen that\nis missing, an arrow that goes nowhere, a control that does nothing, a request\nthat never leaves the page. Data, layout and wording are not your questions.\nYour prompt names the flows in scope: the flows of its item and of earlier\nitems. A cycle's regressions land in shared chrome and on pages nobody meant to\ntouch, so walk every flow in scope, whichever issue built it.\n\n## What you verify\n\n### The map\n\n`specs\u002Fdesign\u002Fcomponents\u002F\u003Ccomponent>\u002Fprototype.json`, under the project root:\nyour working directory, one level above the App Path you edit in. A flow is\none role (`roleId`) and the screens that role walks (`screenIds`), in order.\n`prototype.tsx` beside the manifest shows what each screen holds: the\ncomponent for a screen id in `defineApp({ screens })` has the screen's\ncontrols and, as `to` or `useNav().go(…)`, where each one leads.\n\n**Each flow in scope is one item, by its `id`.** Walk it under its role\n(`?role=\u003Cid>`) by clicking from its first screen through its `screenIds`, and\ndo what its `name` says. Two flows on one screen are two items: the screen is\nnot the unit.\n\n**A flow starts where its control is.** Its start state is the state in which\nits first screen shows the control that its `name` needs. `prototype.tsx`\ngives that state as the branch around the control (`status === \"draft\"` around\n`Publish menu`). When the seed data does not start there, put the data in that\nstate before you walk the flow:\n\n1. Through the app's own controls, by clicking (a close, a delete, a create).\n2. If no control of the app gets there, set that record of the seed in\n   `mock\u002Fhandlers.ts` to the state, as the contract allows it, and `restart`.\n   After the flow, put the seed back as it was and `restart`. Change only the\n   seed, never what a handler answers.\n\nOpen a screen in no flow at its route. Reach the shell screens (Account,\nSettings when the prototype has one, Signed out) through the user menu.\n\nThe manifest lists the display states (`states`); `prototype.tsx` shows which\nscreen renders each. Walk the states that mock mode can show: the empty state,\nand the validation error through the empty-submit probe. Mock mode cannot show\na failed or a delayed state (a request failure, a slow dependency). Such a\nstate is its own item, after its screen. Check it ONCE in the page source:\nname the condition and the element that renders it. Record it **outside**,\nwith \"mock mode cannot show it\". Never try to force it: a forced failure costs\nmore tool calls than the rest of the screen.\n\n**The manifest is your only map**: it sets what you walk. You open a source\nfile to repair, to find the route of a screen in no flow, or to check a state\nthat mock mode cannot show. A component with no `prototype.json` gives you its\nregistered routes instead, one flow per role. The prototype is the review's\ncopy, not the app's code: never edit it.\n\n### Per screen\n\nOn each screen that a flow reaches, and on each screen in no flow, ask three\nquestions of the controls that the role sees there. A screen that an earlier\nitem answered under the same role and state needs only the controls that this\nflow uses. Each question is one action and one snapshot with the first\nplausible input. A screen is answered in a handful of actions; past that you\nare past the smoke.\n\n| | Question | Evidence |\n|---|---|---|\n| **Reach** | Did the step before this screen in its flow bring you here, and does every link it shows land on the screen it names? | the target's snapshot |\n| **Act** | Does every control the prototype shows change something visible when used? A create is in the next list as that list opens, with no filter changed by hand; a filter narrows; a toggle flips a row. | the snapshot after the action |\n| **Request** | Did a change leave the page as the request the contract declares, with the status it declares? A row that flips and sends nothing is the one defect a build cannot see. | `agent-browser network requests` |\n\n### Once per app\n\n- **Roles** (`mock\u002Fauthz\u002Froles.gen.ts` exists): each flow's entry screen under its own\n  role (`?role=\u003Cid>`), and once under a role whose `roleIds` leave it out.\n  Both directions are defects. Then three more, which the scope model makes\n  walkable and which no build can see:\n  - **Every role, and the no-role visitor.** Walk `?role=\u003Cname>` for each role\n    in `mock\u002Fauthz\u002Froles.gen.ts`, then `?role=` (empty — signed in, holding nothing).\n    The empty one must give **`NoAccess` replacing the shell**, naming the\n    groups to ask to be added to. A shell with an empty nav around it is a\n    defect; so is being let into a screen.\n  - **Forbidden, by hand.** Open one screen a role must NOT reach, by URL,\n    under that role. Expect that screen's **`Forbidden` state INSIDE the app\n    shell** — the rail the role can use still there — naming the role that\n    would unlock it. Never a redirect to sign-in, never a blank page, never the\n    screen itself.\n  - **The mock must have refused something.** None of this means anything\n    unless the mock's gateway layer is actually enforcing. It reads the handles\n    out of `openapi.yaml`, so they cannot be wrong — but it can be OFF, and an\n    app where it is off is green everywhere and proves nothing. Two checks, and\n    both are cheap: the dev server prints how many operations it enforces and\n    from which contracts at startup, and one refusal shows in\n    `agent-browser network requests` as a bare **401** with the reason on the\n    console (`[mock gateway] 401 GET \u002Fclaims — …`). See one before you trust\n    the rest.\n\n  A screen a role is *meant* to reach but cannot, because the design does not\n  grant it the handle the operation declares, is **open**, naming the role, the\n  screen and the handle. It is a design defect, not a code one: do not widen a\n  mock handler or a route guard to make it pass.\n- **Session** (an auth dependency): `?auth=out` on one entry screen runs the\n  app's own guard and `signIn()` brings you back; then **Sign out** where the\n  prototype puts it (the user menu) leaves the screen through `signOut()`. The\n  mock signs the next load in again, so the session being gone is outside; the click leaving\n  the page is not.\n- **Probes**: submit one form empty; open one detail route with an id that does\n  not exist. These are two states the happy path implies. The empty submit\n  also walks `state.validation-error` where the manifest lists it.\n- **Short window**: reload ONE screen that has a primary action low on the page\n  at `agent-browser set viewport 1280 600`, and click that action. A layout that\n  only works on a tall window is a layout most laptops do not have, and the way\n  it fails is silent: a sticky footer sits over the button, the content pane does\n  not scroll, and the click lands on the footer. Set the viewport back afterwards.\n- **Deep entry**: load one nested route as a fresh page load in the address\n  bar, not by clicking into it. Clicking never leaves the first document, so\n  only this exercises the app booting at that URL — the path a bookmark, a\n  shared link and F5 all take. A blank page is the finding; `agent-browser\n  errors` names it.\n- **Console** (`agent-browser console`, read whole, once, before you stop): a\n  page that renders and throws is broken for whoever touches it next, and the\n  error text is the finding.\n\n### Outcomes\n\nEvery item ends in exactly one:\n\n- **done** — what you did and what the page did back.\n- **fixed** — what was wrong; what you changed; what it does now, re-walked.\n- **open** — what happens, after three attempts.\n- **outside** — the truth lives outside the app, or mock mode cannot show it.\n  Outside the app: a computed total, a generated checklist, what the real IdP\n  grants a real account. The mock answers to `openapi.yaml`, so it proves the\n  request went out, never that the number is right; `validation-task` judges\n  that against the deployed system. Mock mode cannot show a failed or a delayed\n  state: name the condition in the source and the element that renders it. A\n  **refusal is not outside** — the mock's gateway layer answers it from the contract's own\n  handle, so `Forbidden` is something you walk and see.\n\nAn unreachable screen is **open**, naming the navigation that failed, never\n**done** read off the source. A flow whose start state the walk did not reach\nis **open**, naming that state: a flow whose control the screen did not show\nwas not walked, and it is never **done**. A fix does not remove or hide what\nthe prototype shows. If the app cannot fill an element the prototype shows, the item is\n**open**.\n\n## Progress\n\nYour prompt says where progress goes. Post there, in these three shapes and no\nother: the plan once, one line per item as it settles, the close once.\n\n```text\nMock verification: \u003Ccomponent> — \u003CN> items\n1. \u003Cflow id> · \u003Cflow name> (\u003Crole>): \u003CScreen> -> \u003CScreen>; starts at \u003Cthe state its control needs>; states: \u003Cits states>\n2. \u003CScreen> · \u003Cstate>: source check\n3. \u003Cflow id> · ...\n\u003Ck>. \u003CScreen> (no flow): \u003Cits controls>; -> \u003Cthe screens its `to`s name>\n\u003CN-4>. Roles\n\u003CN-3>. Session\n\u003CN-2>. Probes\n\u003CN-1>. Short window\n\u003CN>. Console\n```\n\n`\u003CItem>` below is the flow id, the screen in no flow, the screen's state, or\nthe once-per-app item.\n\n```text\n\u003Cn>\u002F\u003CN> \u003CItem>: done — \u003Cwhat you did and what the page did back>\n\u003Cn>\u002F\u003CN> \u003CItem>: fixed — \u003Cwhat was wrong>; \u003Cwhat you changed>; re-walked, \u003Cwhat it does now>\n\u003Cn>\u002F\u003CN> \u003CItem>: open — \u003Cwhat happens, or the start state not reached>, 3 attempts\n\u003Cn>\u002F\u003CN> \u003CItem>: outside — \u003Cthe truth that lives outside the app>\n\u003Cn>\u002F\u003CN> \u003CScreen> · \u003Cstate>: outside — mock mode cannot show it; \u003Cthe condition> renders \u003Cthe element>\n```\n\n```text\nMock verification done: \u003Ccomponent> — \u003CN> items · \u003Cd> done, \u003Cf> fixed, \u003Co> open (\u003Cn> \u003CItem>, ...), \u003Ct> outside\n```\n\nThe newest line is where the walk is, and that is what the person watching\nreads. An item with no line is a flow or a screen you never reached, and it\nstays visible as one.\n\n## 1 · Stand it up\n\n```bash\ncd \u003CApp Path> && bash \"$AEP_SKILLS_DIR\u002Fmock-verification\u002Fscripts\u002Fwalk.sh\" up\n```\n\nThe `cd` is part of the command, not advice around it: the script keys its\nstate off the working directory, so run from anywhere else it starts a second,\nunrelated server and hangs waiting for one that was never yours.\n\nIt starts `npm run dev:mock` on a free port, reaps a stale server from an\nearlier attempt first, and prints `READY \u003Curl>`. The url is what you open;\n`?role=` and `?auth=out` go on it. If it prints the log instead, that is your\nfirst finding: the harness is `react-webapp`'s `references\u002Fmock-mode.md`; fix\nit and run `up` again.\n\n**Done when:** `READY`.\n\n## 2 · Plan\n\nBefore the browser opens, post the plan from the map alone: one numbered item\nper flow in scope, by its id in the manifest's order, with its role, its\nscreens in walking order and the state it starts in, and one per state that\nmock mode cannot show, after the flow that reaches its screen. Then screens in\nno flow, the shell screens, Roles (with `mock\u002Fauthz\u002Froles.gen.ts`), Session (with an\nauth dependency), Probes, Short window, and Console. Posting it first puts\nyour coverage in front of the person watching while there is still time to say\na screen is missing.\n\n**Done when:** every flow id in scope has a number, every screen in scope is in\na flow item or has its own, and the plan is posted.\n\n## 3 · Walk\n\nLoad `agent-browser` and follow it: open, snapshot, act on what the snapshot\nshows.\n\n**An item ends green, and posted.** Walk it; if it fails, fix it now, walk that\nsame item again, and see it pass; then post its line, and only then open the\nnext. A line posted at the end for an item settled an hour ago is a history,\nnot progress. Every failure is yours, whichever issue put it there.\n**Repair the app, never the plan.**\n\n**Three attempts on an item, then post it open and walk on.** The screens\nbehind it are still unopened. A fix is the wiring a screen is missing; a defect\nthat wants a redesign is open with its cause named.\n\n**Click between screens.** Mock state lives in the page, so `open`, reload and\nback restore the seed data: a record you created a moment ago is gone, and that\nis the mock telling the truth, not the app. Spend full loads at the start of a\nblock, where there is no state to lose — a role switch, `?auth=out`, an unknown\nid. The once-per-app items are walked off the plan like any other.\n\n`restart` after a change to `vite.config.ts`, `mock\u002F` or a dependency;\neverything else hot-reloads.\n\n**Done when:** every number has its line, each posted before the next item was\nopened.\n\n## 4 · Close\n\nPost the closing line, then:\n\n```bash\nbash \"$AEP_SKILLS_DIR\u002Fmock-verification\u002Fscripts\u002Fwalk.sh\" down\n```\n\n`down` stops the server, closes the browser and confirms the port let go. Hand\nback to whoever dispatched you the closing line and the numbered list with each\nitem's outcome: the closing line is what the pull request quotes, and the open\nitems are what it carries.\n\n**Done when:** the close is posted, `down` printed `STOPPED`, and the list is\nin your reply.\n\n## Never\n\n- **Make the mock agree with the app.** `mock\u002Fhandlers.ts` answers to\n  `openapi.yaml`, the same document `src\u002Fgenerated\u002F` came from, and to nothing\n  else. A handler bent until a screen passes hides the defect from the deployed\n  system too. A `501` is a handler you never wrote: write it against the\n  contract.\n- **Widen a scope to make a walk pass.** Not in `mock\u002Fauthz\u002Froles.gen.ts`, not in a route\n  guard, and not by adding a check to a handler that overrides the gateway\n  layer. Scope comparison is a whole-string match at the gateway, so a mock bent\n  to accept a sibling handle passes a walk the deployed system 401s. A role that\n  cannot reach its own screen is a **design defect**: post it open, naming the\n  role, the screen and the handle.\n- **Run `git`, commit, or open a pull request.** The record belongs to the agent\n  that dispatched you. Progress, where your prompt says it goes, is the only\n  writing you do outside the App Path.\n","# Mock verification\n\nA clean build says the code is well formed and nothing about what the screens\ndo: a screen the prototype shows and the router never registered, a button wired\nto nothing, a form that flips a row and sends no request. So you open the app\nand use it. Mock mode stands it up on this machine with no cluster, no sibling\nservice and no IDP. You verify and repair in one pass.\n\n**This is a smoke walk: breadth over depth.** You are looking for a screen that\nis missing, an arrow that goes nowhere, a control that does nothing, a request\nthat never leaves the page. Data, layout and wording are not your questions.\nYour prompt names the flows in scope: the flows of its item and of earlier\nitems. A cycle's regressions land in shared chrome and on pages nobody meant to\ntouch, so walk every flow in scope, whichever issue built it.\n\n## What you verify\n\n### The map\n\n`specs\u002Fdesign\u002Fcomponents\u002F\u003Ccomponent>\u002Fprototype.json`, under the project root:\nyour working directory, one level above the App Path you edit in. A flow is\none role (`roleId`) and the screens that role walks (`screenIds`), in order.\n`prototype.tsx` beside the manifest shows what each screen holds: the\ncomponent for a screen id in `defineApp({ screens })` has the screen's\ncontrols and, as `to` or `useNav().go(…)`, where each one leads.\n\n**Each flow in scope is one item, by its `id`.** Walk it under its role\n(`?role=\u003Cid>`) by clicking from its first screen through its `screenIds`, and\ndo what its `name` says. Two flows on one screen are two items: the screen is\nnot the unit.\n\n**A flow starts where its control is.** Its start state is the state in which\nits first screen shows the control that its `name` needs. `prototype.tsx`\ngives that state as the branch around the control (`status === \"draft\"` around\n`Publish menu`). When the seed data does not start there, put the data in that\nstate before you walk the flow:\n\n1. Through the app's own controls, by clicking (a close, a delete, a create).\n2. If no control of the app gets there, set that record of the seed in\n   `mock\u002Fhandlers.ts` to the state, as the contract allows it, and `restart`.\n   After the flow, put the seed back as it was and `restart`. Change only the\n   seed, never what a handler answers.\n\nOpen a screen in no flow at its route. Reach the shell screens (Account,\nSettings when the prototype has one, Signed out) through the user menu.\n\nThe manifest lists the display states (`states`); `prototype.tsx` shows which\nscreen renders each. Walk the states that mock mode can show: the empty state,\nand the validation error through the empty-submit probe. Mock mode cannot show\na failed or a delayed state (a request failure, a slow dependency). Such a\nstate is its own item, after its screen. Check it ONCE in the page source:\nname the condition and the element that renders it. Record it **outside**,\nwith \"mock mode cannot show it\". Never try to force it: a forced failure costs\nmore tool calls than the rest of the screen.\n\n**The manifest is your only map**: it sets what you walk. You open a source\nfile to repair, to find the route of a screen in no flow, or to check a state\nthat mock mode cannot show. A component with no `prototype.json` gives you its\nregistered routes instead, one flow per role. The prototype is the review's\ncopy, not the app's code: never edit it.\n\n### Per screen\n\nOn each screen that a flow reaches, and on each screen in no flow, ask three\nquestions of the controls that the role sees there. A screen that an earlier\nitem answered under the same role and state needs only the controls that this\nflow uses. Each question is one action and one snapshot with the first\nplausible input. A screen is answered in a handful of actions; past that you\nare past the smoke.\n\n| | Question | Evidence |\n|---|---|---|\n| **Reach** | Did the step before this screen in its flow bring you here, and does every link it shows land on the screen it names? | the target's snapshot |\n| **Act** | Does every control the prototype shows change something visible when used? A create is in the next list as that list opens, with no filter changed by hand; a filter narrows; a toggle flips a row. | the snapshot after the action |\n| **Request** | Did a change leave the page as the request the contract declares, with the status it declares? A row that flips and sends nothing is the one defect a build cannot see. | `agent-browser network requests` |\n\n### Once per app\n\n- **Roles** (`mock\u002Fauthz\u002Froles.gen.ts` exists): each flow's entry screen under its own\n  role (`?role=\u003Cid>`), and once under a role whose `roleIds` leave it out.\n  Both directions are defects. Then three more, which the scope model makes\n  walkable and which no build can see:\n  - **Every role, and the no-role visitor.** Walk `?role=\u003Cname>` for each role\n    in `mock\u002Fauthz\u002Froles.gen.ts`, then `?role=` (empty — signed in, holding nothing).\n    The empty one must give **`NoAccess` replacing the shell**, naming the\n    groups to ask to be added to. A shell with an empty nav around it is a\n    defect; so is being let into a screen.\n  - **Forbidden, by hand.** Open one screen a role must NOT reach, by URL,\n    under that role. Expect that screen's **`Forbidden` state INSIDE the app\n    shell** — the rail the role can use still there — naming the role that\n    would unlock it. Never a redirect to sign-in, never a blank page, never the\n    screen itself.\n  - **The mock must have refused something.** None of this means anything\n    unless the mock's gateway layer is actually enforcing. It reads the handles\n    out of `openapi.yaml`, so they cannot be wrong — but it can be OFF, and an\n    app where it is off is green everywhere and proves nothing. Two checks, and\n    both are cheap: the dev server prints how many operations it enforces and\n    from which contracts at startup, and one refusal shows in\n    `agent-browser network requests` as a bare **401** with the reason on the\n    console (`[mock gateway] 401 GET \u002Fclaims — …`). See one before you trust\n    the rest.\n\n  A screen a role is *meant* to reach but cannot, because the design does not\n  grant it the handle the operation declares, is **open**, naming the role, the\n  screen and the handle. It is a design defect, not a code one: do not widen a\n  mock handler or a route guard to make it pass.\n- **Session** (an auth dependency): `?auth=out` on one entry screen runs the\n  app's own guard and `signIn()` brings you back; then **Sign out** where the\n  prototype puts it (the user menu) leaves the screen through `signOut()`. The\n  mock signs the next load in again, so the session being gone is outside; the click leaving\n  the page is not.\n- **Probes**: submit one form empty; open one detail route with an id that does\n  not exist. These are two states the happy path implies. The empty submit\n  also walks `state.validation-error` where the manifest lists it.\n- **Short window**: reload ONE screen that has a primary action low on the page\n  at `agent-browser set viewport 1280 600`, and click that action. A layout that\n  only works on a tall window is a layout most laptops do not have, and the way\n  it fails is silent: a sticky footer sits over the button, the content pane does\n  not scroll, and the click lands on the footer. Set the viewport back afterwards.\n- **Deep entry**: load one nested route as a fresh page load in the address\n  bar, not by clicking into it. Clicking never leaves the first document, so\n  only this exercises the app booting at that URL — the path a bookmark, a\n  shared link and F5 all take. A blank page is the finding; `agent-browser\n  errors` names it.\n- **Console** (`agent-browser console`, read whole, once, before you stop): a\n  page that renders and throws is broken for whoever touches it next, and the\n  error text is the finding.\n\n### Outcomes\n\nEvery item ends in exactly one:\n\n- **done** — what you did and what the page did back.\n- **fixed** — what was wrong; what you changed; what it does now, re-walked.\n- **open** — what happens, after three attempts.\n- **outside** — the truth lives outside the app, or mock mode cannot show it.\n  Outside the app: a computed total, a generated checklist, what the real IdP\n  grants a real account. The mock answers to `openapi.yaml`, so it proves the\n  request went out, never that the number is right; `validation-task` judges\n  that against the deployed system. Mock mode cannot show a failed or a delayed\n  state: name the condition in the source and the element that renders it. A\n  **refusal is not outside** — the mock's gateway layer answers it from the contract's own\n  handle, so `Forbidden` is something you walk and see.\n\nAn unreachable screen is **open**, naming the navigation that failed, never\n**done** read off the source. A flow whose start state the walk did not reach\nis **open**, naming that state: a flow whose control the screen did not show\nwas not walked, and it is never **done**. A fix does not remove or hide what\nthe prototype shows. If the app cannot fill an element the prototype shows, the item is\n**open**.\n\n## Progress\n\nYour prompt says where progress goes. Post there, in these three shapes and no\nother: the plan once, one line per item as it settles, the close once.\n\n```text\nMock verification: \u003Ccomponent> — \u003CN> items\n1. \u003Cflow id> · \u003Cflow name> (\u003Crole>): \u003CScreen> -> \u003CScreen>; starts at \u003Cthe state its control needs>; states: \u003Cits states>\n2. \u003CScreen> · \u003Cstate>: source check\n3. \u003Cflow id> · ...\n\u003Ck>. \u003CScreen> (no flow): \u003Cits controls>; -> \u003Cthe screens its `to`s name>\n\u003CN-4>. Roles\n\u003CN-3>. Session\n\u003CN-2>. Probes\n\u003CN-1>. Short window\n\u003CN>. Console\n```\n\n`\u003CItem>` below is the flow id, the screen in no flow, the screen's state, or\nthe once-per-app item.\n\n```text\n\u003Cn>\u002F\u003CN> \u003CItem>: done — \u003Cwhat you did and what the page did back>\n\u003Cn>\u002F\u003CN> \u003CItem>: fixed — \u003Cwhat was wrong>; \u003Cwhat you changed>; re-walked, \u003Cwhat it does now>\n\u003Cn>\u002F\u003CN> \u003CItem>: open — \u003Cwhat happens, or the start state not reached>, 3 attempts\n\u003Cn>\u002F\u003CN> \u003CItem>: outside — \u003Cthe truth that lives outside the app>\n\u003Cn>\u002F\u003CN> \u003CScreen> · \u003Cstate>: outside — mock mode cannot show it; \u003Cthe condition> renders \u003Cthe element>\n```\n\n```text\nMock verification done: \u003Ccomponent> — \u003CN> items · \u003Cd> done, \u003Cf> fixed, \u003Co> open (\u003Cn> \u003CItem>, ...), \u003Ct> outside\n```\n\nThe newest line is where the walk is, and that is what the person watching\nreads. An item with no line is a flow or a screen you never reached, and it\nstays visible as one.\n\n## 1 · Stand it up\n\n```bash\ncd \u003CApp Path> && bash \"$AEP_SKILLS_DIR\u002Fmock-verification\u002Fscripts\u002Fwalk.sh\" up\n```\n\nThe `cd` is part of the command, not advice around it: the script keys its\nstate off the working directory, so run from anywhere else it starts a second,\nunrelated server and hangs waiting for one that was never yours.\n\nIt starts `npm run dev:mock` on a free port, reaps a stale server from an\nearlier attempt first, and prints `READY \u003Curl>`. The url is what you open;\n`?role=` and `?auth=out` go on it. If it prints the log instead, that is your\nfirst finding: the harness is `react-webapp`'s `references\u002Fmock-mode.md`; fix\nit and run `up` again.\n\n**Done when:** `READY`.\n\n## 2 · Plan\n\nBefore the browser opens, post the plan from the map alone: one numbered item\nper flow in scope, by its id in the manifest's order, with its role, its\nscreens in walking order and the state it starts in, and one per state that\nmock mode cannot show, after the flow that reaches its screen. Then screens in\nno flow, the shell screens, Roles (with `mock\u002Fauthz\u002Froles.gen.ts`), Session (with an\nauth dependency), Probes, Short window, and Console. Posting it first puts\nyour coverage in front of the person watching while there is still time to say\na screen is missing.\n\n**Done when:** every flow id in scope has a number, every screen in scope is in\na flow item or has its own, and the plan is posted.\n\n## 3 · Walk\n\nLoad `agent-browser` and follow it: open, snapshot, act on what the snapshot\nshows.\n\n**An item ends green, and posted.** Walk it; if it fails, fix it now, walk that\nsame item again, and see it pass; then post its line, and only then open the\nnext. A line posted at the end for an item settled an hour ago is a history,\nnot progress. Every failure is yours, whichever issue put it there.\n**Repair the app, never the plan.**\n\n**Three attempts on an item, then post it open and walk on.** The screens\nbehind it are still unopened. A fix is the wiring a screen is missing; a defect\nthat wants a redesign is open with its cause named.\n\n**Click between screens.** Mock state lives in the page, so `open`, reload and\nback restore the seed data: a record you created a moment ago is gone, and that\nis the mock telling the truth, not the app. Spend full loads at the start of a\nblock, where there is no state to lose — a role switch, `?auth=out`, an unknown\nid. The once-per-app items are walked off the plan like any other.\n\n`restart` after a change to `vite.config.ts`, `mock\u002F` or a dependency;\neverything else hot-reloads.\n\n**Done when:** every number has its line, each posted before the next item was\nopened.\n\n## 4 · Close\n\nPost the closing line, then:\n\n```bash\nbash \"$AEP_SKILLS_DIR\u002Fmock-verification\u002Fscripts\u002Fwalk.sh\" down\n```\n\n`down` stops the server, closes the browser and confirms the port let go. Hand\nback to whoever dispatched you the closing line and the numbered list with each\nitem's outcome: the closing line is what the pull request quotes, and the open\nitems are what it carries.\n\n**Done when:** the close is posted, `down` printed `STOPPED`, and the list is\nin your reply.\n\n## Never\n\n- **Make the mock agree with the app.** `mock\u002Fhandlers.ts` answers to\n  `openapi.yaml`, the same document `src\u002Fgenerated\u002F` came from, and to nothing\n  else. A handler bent until a screen passes hides the defect from the deployed\n  system too. A `501` is a handler you never wrote: write it against the\n  contract.\n- **Widen a scope to make a walk pass.** Not in `mock\u002Fauthz\u002Froles.gen.ts`, not in a route\n  guard, and not by adding a check to a handler that overrides the gateway\n  layer. Scope comparison is a whole-string match at the gateway, so a mock bent\n  to accept a sibling handle passes a walk the deployed system 401s. A role that\n  cannot reach its own screen is a **design defect**: post it open, naming the\n  role, the screen and the handle.\n- **Run `git`, commit, or open a pull request.** The record belongs to the agent\n  that dispatched you. Progress, where your prompt says it goes, is the only\n  writing you do outside the App Path.\n",{"name":5,"metadata":24,"description":7},{"aep":25},{"kind":26,"audience":27},"platform",[28],"coding","main","e3b5fc8668f26761380b2d4965719f2d8f2eb246","skills\u002Fmock-verification","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer","https:\u002F\u002Fgithub.com\u002Fwso2","https:\u002F\u002Fwso2.com","Welcome to the WSO2 source code! For info on working with the WSO2 repositories and contributing code, click the link below.","2026-11-11 15:36:27",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add wso2\u002Flabs-agentic-engineer --skill mock-verification",{"tool":43,"command":44},"bunx","bunx skills add wso2\u002Flabs-agentic-engineer --skill mock-verification",{"tool":46,"command":47},"pnpm","pnpm dlx skills add wso2\u002Flabs-agentic-engineer --skill mock-verification","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fmock-verification\u002FSKILL.md",true,[51,57],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"scripts\u002Fwalk.sh","SCRIPT","脚本",4373,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fmock-verification\u002Fscripts\u002Fwalk.sh",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Fwalk.test.mjs",8223,"https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fmock-verification\u002Fscripts\u002Fwalk.test.mjs",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M735MP9NFFRPS260G9D16JQX","validation-task","Load when working a VALIDATION task dispatched by WSO2 Labs Agentic Engineer — judging a deployed version against its acceptance criteria.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fvalidation-task\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M735MJ8ZMRZR20A57TMF7R9Q","thunder-authentication","Apply when a component sits on the project's sign-in — a SPA whose users authenticate through the auth platform-resource dependency, or a protected backend those signed-in users call.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fthunder-authentication\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M735MFQMY8DY1EM7JKS784D3","task-planning","Use when planning a version's build from a design — the plan turn that writes the build's checklist with planBuild, one item per feature the version carries in build order, after a Foundation item when the version needs one.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Ftask-planning\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M735MCJQ4EVH7G4ZFMC682Y4","start","Use when kicking off a project from its idea — the product pass that agrees the feature list and writes the product page, the product-wide page and a stub per feature — or re-running \u002Fstart on a project that already has requirements.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fstart\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M735M9R050KT3H34PVXN2MKK","security-design","Write specs\u002Fdesign\u002Fsecurity.json when a design has sign-in, permissions, roles or test users — the permission catalog every API operation is gated on.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-design\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M735M60CTW4S7XMS6XCX9A7Y","resolve-dependency","Use for taking one external dependency from open to resolved — `\u002Fresolve-dependency \u003Cname> [answer]` names it and may carry the provider the user chose; `\u002Fresolve-dependencies` walks every open one in turn. Ask which provider (their suggestions as options; never choose for them), get its interface on disk (found, uploaded from the card, or assumed under the authorization the card records), then derive the config keys.","https:\u002F\u002Fgithub.com\u002Fwso2\u002Flabs-agentic-engineer\u002Fblob\u002Fmain\u002Fskills\u002Fresolve-dependency\u002FSKILL.md",[],[]]