[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CQWBM533RQZ5RZFJPQ3TYW":3,"skill-same:01M7CQWBM533RQZ5RZFJPQ3TYW":90},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7CQWBM533RQZ5RZFJPQ3TYW","verify-timely",null,"Launch an isolated Timely stack (Go API on :8081 in its own Postgres schema, Next.js web on :4002) from a scratch worktree of the current checkout, drive the web app in headless Chromium the way a user does (sign up, capture to the Inbox, create tasks, events and docs), and save screenshots, ARIA snapshots and API reads as proof. Use when you need to prove a Timely web\u002FAPI change works in the real app, reproduce a UI bug, or check a feature end to end. Never touches the user's :8080 API or :4001 web server.","thalhath2234\u002Ftimely-app","thalhath2234","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69391707?v=4","01M7CQNWTHSAP0D50RQY6W9YZQ","Thalhath","01M7CQNWVQN600VKQXRGTWCDPH",0,"MIT","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: verify-timely\ndescription: >-\n  Launch an isolated Timely stack (Go API on :8081 in its own Postgres schema,\n  Next.js web on :4002) from a scratch worktree of the current checkout, drive\n  the web app in headless Chromium the way a user does (sign up, capture to the\n  Inbox, create tasks, events and docs), and save screenshots, ARIA snapshots\n  and API reads as proof. Use when you need to prove a Timely web\u002FAPI change\n  works in the real app, reproduce a UI bug, or check a feature end to end.\n  Never touches the user's :8080 API or :4001 web server.\n---\n\n# Verify Timely (web + API)\n\nThe primary surface is the desktop web app (`apps\u002Fweb`, Next.js 16) backed by the Go API (`apps\u002Fapi`). This skill runs both on the worktree ports from `AGENTS.md` and drives them through a headless Playwright Chromium that keeps its pages between commands. Secondary surfaces (Electron, mobile) are at the end; this skill does not prove them.\n\nEverything here is run from the root of the checkout under test. Set these once per shell:\n\n```bash\nV=.agents\u002Fskills\u002Fverify-timely\u002Fscripts\u002Fverify-timely.sh\nB=\"node .agents\u002Fskills\u002Fverify-timely\u002Fscripts\u002Fbrowser.mjs\"\n```\n\n## Hard rules\n\n- Never stop, restart or send requests that change data to `:8080` or `:4001`. Those are the user's own `make dev` servers. The script refuses those ports.\n- The verify instance is API `:8081` and web `:4002` only. If something you did not start holds either port, `up` stops it (the listener, plus its `air` or `next dev` parent), as `AGENTS.md` says.\n- The API always runs with `DB_SCHEMA=verify_timely` (`VERIFY_TIMELY_SCHEMA` overrides it), so it never claims the main checkout's chat runs or jobs. It also runs with `ALLOW_REGISTRATION=true`, so every run can sign up a fresh account.\n- Configuration comes from the root `.env`. The scratch worktree gets a copy of the source checkout's root `.env`, which is what `make setup-env` does. Never create a per-app `.env`.\n- Kill only what this skill started. `down` kills the sessions it recorded. Never `pkill -f` on `apps\u002Fapi\u002Ftmp\u002Fmain`, because that pattern also matches the user's API.\n- Don't run the Android emulator, Gradle or `expo run:android` for this skill.\n- Only one verify stack can run per machine, because the ports are fixed and all checkouts share the default state dir `~\u002F.cache\u002Fverify-timely`. Running `up` from another checkout or worktree replaces the stack that is running. When teammates share the machine, only one of them runs `up` at a time.\n\n## Launch\n\n```bash\n$V up\n```\n\nWhat `up` does, in order:\n\n1. Stops a previous verify stack. Frees `:8081`, `:4002` and the browser port `:9339`.\n2. Creates or refreshes a detached git worktree at `~\u002F.cache\u002Fverify-timely\u002Fwt` (`VERIFY_TIMELY_STATE` moves it). The worktree is set to the source checkout's `HEAD`, the source's uncommitted diff is applied, and its untracked files are copied in. A separate tree is needed because `next dev` holds a lock on `apps\u002Fweb\u002F.next\u002Fdev`, so a second dev server can't run from the checkout that serves `:4001`. The worktree lives on disk, not on `\u002Ftmp` (tmpfs), because `node_modules` is about 3.7 GB.\n3. Runs `pnpm install --frozen-lockfile --prefer-offline` in the worktree. This takes a few seconds once the store is warm, and about 45 s cold.\n4. In the worktree, runs `make dev-worktree-api DB_SCHEMA=verify_timely ALLOW_REGISTRATION=true` (air, `API_PORT=8081`) in its own session. Goose migrations run on start into the empty schema.\n5. Waits until `GET http:\u002F\u002F127.0.0.1:8081\u002Fhealth` returns `\"status\":\"ok\"` (db ok, migrations read).\n6. In the worktree, runs `make dev-worktree-web` (`next dev -p 4002`, `API_ORIGIN=http:\u002F\u002Flocalhost:8081`) in its own session. Then waits until `\u002Fsignup` returns 200 **and** `\u002Fapi-proxy\u002Fhealth` returns ok through the proxy. Without that second check, Next can answer while the proxy is still broken.\n7. Starts headless Playwright Chromium with CDP on `127.0.0.1:9339` and a fresh profile, so the browser is signed out.\n8. Runs `doctor`.\n\nReady means `up` ends with `doctor: OK - drive http:\u002F\u002F127.0.0.1:4002`. A cold start takes about 1 to 2 minutes, and the first visit to each route compiles it (5 to 20 s). Logs are in `~\u002F.cache\u002Fverify-timely\u002Flogs\u002F{install,api,web,browser}.log`. Read them with `$V logs api|web|browser [lines]`.\n\nIf the code under test changes after `up`, run `$V up` again. `doctor` fails the \"worktree matches the source checkout\" check until you do. Inside the worktree, air and Next reload edits, but the source checkout's edits are not synced live.\n\n## Doctor\n\n```bash\n$V doctor     # read-only; exit 1 means do not drive this instance\n```\n\nDoctor checks each of these:\n\n- `:8081` and `:4002` listeners exist and are in the sessions `up` recorded.\n- Each listener's cwd is the scratch worktree.\n- The API process env has `DB_SCHEMA=verify_timely` and `API_PORT=8081`.\n- `\u002Fhealth` reports status and db ok and `registrationOpen:true`.\n- The Next server env has `API_ORIGIN=http:\u002F\u002Flocalhost:8081`.\n- `\u002Fapi-proxy\u002Fhealth` is ok.\n- The worktree fingerprint (HEAD, diff and untracked list, excluding this skill's dir) matches the source.\n- The CDP browser is ours.\n- Nothing of ours listens on `:8080` or `:4001`.\n\nRun doctor first whenever anything looks off. `$V status` prints sessions, port owners and paths.\n\n## Drive\n\n`browser.mjs` runs one action per call against the persistent headless Chromium, then disconnects and leaves the page open. A journey is therefore a sequence of shell commands. Each command prints one JSON line `{\"ok\":true,...,\"url\":...}`, or prints `{\"ok\":false,\"error\":...}` and exits 1. `open` only accepts the verify origin `http:\u002F\u002F127.0.0.1:4002`.\n\nLocators, from most to least preferred:\n\n- `--role R --name N [--exact]`: accessible role and name. This is the default choice.\n- `--label L`, `--placeholder P`, `--text T`, `--testid ID`: other ways to find an element.\n- `--css S`: last resort only. The doc body (`.ProseMirror`) is the one place that needs it.\n- Scope a locator with `--in-role R --in-name N` (a dialog, a region) or `--in-testid ID`.\n- Pick one of several matches with `--nth K` or `--first`.\n\nCommands:\n\n| Command | Effect |\n| --- | --- |\n| `$B open \u002Finbox` | Navigate to a path (waits for DOMContentLoaded, 120 s budget for first compile). |\n| `$B click \u003Clocator>` | Click. |\n| `$B fill \u003Clocator> --value \"text\"` | Replace the field's text (also works on contenteditable). |\n| `$B press --key Enter [\u003Clocator>]` | Key press on the locator or the page. |\n| `$B wait \u003Clocator> [--state hidden] [--timeout ms]` \u002F `$B wait --url-includes \u002Fonboarding` | Wait for an element state or URL. |\n| `$B expect \u003Clocator> [--count N] [--absent]` | Assert; exits 1 when it does not hold. |\n| `$B text [\u003Clocator>]` | Print innerText (whole page when no locator). |\n| `$B snapshot [\u003Clocator>] [--path f.aria.yml]` | ARIA snapshot (YAML). Print it to discover roles and names. |\n| `$B screenshot --path f.png [--full] [\u003Clocator>]` | Screenshot. |\n| `$B url` | Current URL. |\n| `$B api GET \"\u002Ftasks?inbox=true\" [--body JSON] [--path f.json]` | Same-origin fetch to `\u002Fapi-proxy\u003Cpath>` with the page's session (cookie plus bearer token). Use it for read-only second views, and for fixture cleanup only. |\n| `$B signup-onboard [--email E] [--password P] [--workspace W]` | Baseline account through the real UI: `\u002Fsignup`, then onboarding \"Skip for now\", then name the workspace, then skip the tour. Prints the credentials. It is the same UI path as [account-onboarding](features\u002Faccount-onboarding.md). |\n\nSet `VERIFY_TIMELY_EVIDENCE=\u003Cdir>` and every command, passed or failed, is appended to `\u003Cdir>\u002Factions.jsonl` with its locator and result. That file is the action log for the proof.\n\nFeature recipes, with exact handles, are in [`features\u002FREADME.md`](features\u002FREADME.md). Read the index, then follow the feature's file.\n\nExample (a slice of [inbox-capture](features\u002Finbox-capture.md)):\n\n```bash\n$B signup-onboard\n$B open \u002Finbox\n$B fill --role textbox --name \"What's on your mind?\" --value \"Book the dentist\"\n$B press --role textbox --name \"What's on your mind?\" --key Enter\n$B wait --text \"Captured. Add the next one.\"\n$B expect --in-testid inbox-up-next --text \"Book the dentist\"\n```\n\n## Evidence\n\nPut each run's proof in `.agents\u002Fskills\u002Fverify-timely\u002Fevidence\u002F\u003CUTC timestamp>-\u003Cfeature-id>\u002F`. That directory is git-ignored by its own `.gitignore`, and `down` never touches it.\n\n```bash\nRUN=.agents\u002Fskills\u002Fverify-timely\u002Fevidence\u002F$(date -u +%Y%m%dT%H%M%SZ)-inbox-capture\nmkdir -p \"$RUN\" && export VERIFY_TIMELY_EVIDENCE=\"$RUN\"\n$V doctor > \"$RUN\u002Fdoctor.txt\"\n```\n\nProof standards:\n\n- Drive the real user path: visible controls, keyboard and routes. `$B api` is for reading state back and for cleanup. Never use it to perform the action under test.\n- Capture the action and the state it produces. Take a snapshot or screenshot before and after, and keep `actions.jsonl`. A final screen alone is not proof.\n- Check side effects in a second view: reload the page, open another screen that shows the same data (the Tasks list, the Calendar), and read it back with `$B api GET ...` into a `.json` file.\n- Make screenshots show the app identity: the sidebar or page heading must be visible.\n- There are no mocks. The API talks to the real Postgres schema `verify_timely`. External AI providers are not configured on a fresh account (see the chat gotcha in the feature map).\n- When a journey cannot run, record the attempted command and the unmet precondition. Never report an entry point you did not drive as verified.\n\n## Cleanup\n\n```bash\n$B api DELETE \u002Fme --body '{\"password\":\"\u003Cthe run password>\"}'   # optional fixture cleanup: drops the run's account\n$V down                    # stop browser, web, API sessions; remove the scratch worktree; keep evidence\n$V down --keep-worktree    # same, but keep ~\u002F.cache\u002Fverify-timely\u002Fwt (and its node_modules) for a faster next `up`\n```\n\n`down` kills only the sessions it recorded and their descendants. That covers air's `tmp\u002Fmain.exe` and the Next workers, which run in their own process groups. It then reports any port still held by someone else, and runs `git worktree remove --force` plus `prune` on the scratch tree. The `verify_timely` schema stays in `timely_db` as disposable scratch data, and every run signs up a fresh account in it. To start the schema from empty, use a new `VERIFY_TIMELY_SCHEMA=verify_timely_2`. The host has no `psql` to drop the old one. After `down`, check the proof survived: `ls \"$RUN\"`.\n\nRun `$V down` after every failed attempt too, so broken attempts don't strand ports.\n\n## Helpers\n\n- `scripts\u002Fverify-timely.sh up|doctor|status|browser|logs [api|web|browser|install] [N]|down [--keep-worktree]`. `browser` restarts only Chromium with a fresh, signed-out profile.\n- `scripts\u002Fbrowser.mjs \u003Ccommand> ...` is described in the Drive section. It loads `@playwright\u002Ftest` from the source checkout's root `node_modules`. If Chromium is missing, run `make install-browser`.\n- Environment overrides:\n  - `VERIFY_TIMELY_STATE`: state dir, default `~\u002F.cache\u002Fverify-timely`.\n  - `VERIFY_TIMELY_SCHEMA`: API schema.\n  - `VERIFY_TIMELY_CDP_PORT`: browser CDP port, default 9339.\n  - `VERIFY_TIMELY_TIMEOUT`: action timeout in ms, default 20000.\n  - `VERIFY_TIMELY_EVIDENCE`: action log dir.\n\n## Agent engine runs (stub model, fixture pages, fake CLIs)\n\nChats on the New engine need a model, and a fresh account has none. To verify them without a live provider, keep the stack from `up` (web, browser, scratch worktree) and replace its API:\n\n1. Start the stub model: `python3 -I apps\u002Fapi\u002Fscripts\u002Fagentqa\u002Follama_shim.py 11435 apps\u002Fagent\u002Ftests \u003Cdir>\u002Fphrases.json`. Set `TIMELY_SHIM_LOG=\u003Cfile>` to log what the model saw. The phrase table maps the person's words to a stub directive. See `apps\u002Fapi\u002Fscripts\u002Fagentqa\u002FREADME.md`.\n2. Kill the session in `~\u002F.cache\u002Fverify-timely\u002Fapi.sid`. Start `make dev-worktree-api DB_SCHEMA=\u003Cschema> ALLOW_REGISTRATION=true` in the scratch worktree, in a new session that writes `api.sid`, with these variables:\n   - `OLLAMA_BASE_URL=http:\u002F\u002F127.0.0.1:11435`.\n   - `TIMELY_AGENT_RUNTIME=\u003Cthis checkout>\u002Fapps\u002Fagent`. The scratch worktree has no `.venv`.\n   - `TIMELY_DATA_DIR=\u003Cscratch>`.\n   - `TIMELY_AGENT_WEB_FIXTURES=\u003Cdir>`: `https:\u002F\u002F\u003Cname>.fixture.invalid\u002F` is served from `\u003Cdir>\u002F\u003Cname>\u002Findex.html`.\n   - `TIMELY_AGENT_CLARIFY_TIMEOUT_S=90`.\n   - `CORS_ORIGINS=http:\u002F\u002Flocalhost:8082` for the phone.\n   - For Claude Code and Codex without a live model: `CLAUDE_BIN` and `CODEX_BIN` pointing at wrappers of `apps\u002Fapi\u002Finternal\u002Ffeatures\u002Fprovider\u002Ftestdata\u002Ffakecli\u002F*`. Each wrapper reports signed in and sets its own `FAKECLI_DIR`.\n   - The test switches (`TIMELY_AGENT_CLARIFY_TIMEOUT_S`, `TIMELY_AGENT_SENSITIVE_NO_PERSIST`, the fixtures) work only with `DB_SCHEMA` set.\n3. For fixture pages, run the API under `unshare -rm` with `mount --bind \u003Chosts> \u002Fetc\u002Fhosts`, mapping the fixture names to `93.184.216.34`. Hermes' SSRF floor resolves every `web_extract` host in the worker and fails closed. Nothing connects to that address, because Go's `FixtureFetcher` answers. A live Claude Code check needs an API outside the namespace, which runs as uid 0.\n4. Phone: `make dev-mobile-web` in the scratch worktree, which serves Expo web on `:8082` against `:8081`.\n\n`doctor` accepts this API when it runs in the recorded `api` session. The API marks itself non-dumpable (`internal\u002Fprocguard`), so `doctor` reads the environment and working directory of `air` instead of the API binary's. The recipe is [features\u002Fagent-question-cards.md](features\u002Fagent-question-cards.md).\n\n## Secondary surfaces (not proved by this skill)\n\n- **Electron shell** (`apps\u002Fweb\u002Felectron`). `make audit-desktop AUDIT_PORT=4002` runs Electron under Xvfb against this skill's `:4002` web, with CDP on `127.0.0.1:4061`. It lists a page only once the web answers below 500. Stop it with `pkill -f \"[t]imely-design-audit-electron\"`. Hosted mode, with its own Postgres and API, is `make dev-desktop-hosted`. Desktop-only UI, such as Settings → Account → Delete account and Settings → Server, appears only inside Electron.\n- **Mobile** (`apps\u002Fmobile`, Expo SDK 57). Run `CI=1 make dev-mobile EXPO_PUBLIC_API_URL=http:\u002F\u002F10.0.2.2:8081`, passing the URL as a make argument because the `.env` include otherwise wins. Metro runs on `:8082`. It needs the capped emulator (`make emu-start` \u002F `make emu-stop`) or a USB phone, and APKs only through `make build-apk`. See `.agents\u002Fskills\u002Fandroid-emulator` and `.agents\u002Fskills\u002Fbuild-mobile-apk`.\n","# Verify Timely (web + API)\n\nThe primary surface is the desktop web app (`apps\u002Fweb`, Next.js 16) backed by the Go API (`apps\u002Fapi`). This skill runs both on the worktree ports from `AGENTS.md` and drives them through a headless Playwright Chromium that keeps its pages between commands. Secondary surfaces (Electron, mobile) are at the end; this skill does not prove them.\n\nEverything here is run from the root of the checkout under test. Set these once per shell:\n\n```bash\nV=.agents\u002Fskills\u002Fverify-timely\u002Fscripts\u002Fverify-timely.sh\nB=\"node .agents\u002Fskills\u002Fverify-timely\u002Fscripts\u002Fbrowser.mjs\"\n```\n\n## Hard rules\n\n- Never stop, restart or send requests that change data to `:8080` or `:4001`. Those are the user's own `make dev` servers. The script refuses those ports.\n- The verify instance is API `:8081` and web `:4002` only. If something you did not start holds either port, `up` stops it (the listener, plus its `air` or `next dev` parent), as `AGENTS.md` says.\n- The API always runs with `DB_SCHEMA=verify_timely` (`VERIFY_TIMELY_SCHEMA` overrides it), so it never claims the main checkout's chat runs or jobs. It also runs with `ALLOW_REGISTRATION=true`, so every run can sign up a fresh account.\n- Configuration comes from the root `.env`. The scratch worktree gets a copy of the source checkout's root `.env`, which is what `make setup-env` does. Never create a per-app `.env`.\n- Kill only what this skill started. `down` kills the sessions it recorded. Never `pkill -f` on `apps\u002Fapi\u002Ftmp\u002Fmain`, because that pattern also matches the user's API.\n- Don't run the Android emulator, Gradle or `expo run:android` for this skill.\n- Only one verify stack can run per machine, because the ports are fixed and all checkouts share the default state dir `~\u002F.cache\u002Fverify-timely`. Running `up` from another checkout or worktree replaces the stack that is running. When teammates share the machine, only one of them runs `up` at a time.\n\n## Launch\n\n```bash\n$V up\n```\n\nWhat `up` does, in order:\n\n1. Stops a previous verify stack. Frees `:8081`, `:4002` and the browser port `:9339`.\n2. Creates or refreshes a detached git worktree at `~\u002F.cache\u002Fverify-timely\u002Fwt` (`VERIFY_TIMELY_STATE` moves it). The worktree is set to the source checkout's `HEAD`, the source's uncommitted diff is applied, and its untracked files are copied in. A separate tree is needed because `next dev` holds a lock on `apps\u002Fweb\u002F.next\u002Fdev`, so a second dev server can't run from the checkout that serves `:4001`. The worktree lives on disk, not on `\u002Ftmp` (tmpfs), because `node_modules` is about 3.7 GB.\n3. Runs `pnpm install --frozen-lockfile --prefer-offline` in the worktree. This takes a few seconds once the store is warm, and about 45 s cold.\n4. In the worktree, runs `make dev-worktree-api DB_SCHEMA=verify_timely ALLOW_REGISTRATION=true` (air, `API_PORT=8081`) in its own session. Goose migrations run on start into the empty schema.\n5. Waits until `GET http:\u002F\u002F127.0.0.1:8081\u002Fhealth` returns `\"status\":\"ok\"` (db ok, migrations read).\n6. In the worktree, runs `make dev-worktree-web` (`next dev -p 4002`, `API_ORIGIN=http:\u002F\u002Flocalhost:8081`) in its own session. Then waits until `\u002Fsignup` returns 200 **and** `\u002Fapi-proxy\u002Fhealth` returns ok through the proxy. Without that second check, Next can answer while the proxy is still broken.\n7. Starts headless Playwright Chromium with CDP on `127.0.0.1:9339` and a fresh profile, so the browser is signed out.\n8. Runs `doctor`.\n\nReady means `up` ends with `doctor: OK - drive http:\u002F\u002F127.0.0.1:4002`. A cold start takes about 1 to 2 minutes, and the first visit to each route compiles it (5 to 20 s). Logs are in `~\u002F.cache\u002Fverify-timely\u002Flogs\u002F{install,api,web,browser}.log`. Read them with `$V logs api|web|browser [lines]`.\n\nIf the code under test changes after `up`, run `$V up` again. `doctor` fails the \"worktree matches the source checkout\" check until you do. Inside the worktree, air and Next reload edits, but the source checkout's edits are not synced live.\n\n## Doctor\n\n```bash\n$V doctor     # read-only; exit 1 means do not drive this instance\n```\n\nDoctor checks each of these:\n\n- `:8081` and `:4002` listeners exist and are in the sessions `up` recorded.\n- Each listener's cwd is the scratch worktree.\n- The API process env has `DB_SCHEMA=verify_timely` and `API_PORT=8081`.\n- `\u002Fhealth` reports status and db ok and `registrationOpen:true`.\n- The Next server env has `API_ORIGIN=http:\u002F\u002Flocalhost:8081`.\n- `\u002Fapi-proxy\u002Fhealth` is ok.\n- The worktree fingerprint (HEAD, diff and untracked list, excluding this skill's dir) matches the source.\n- The CDP browser is ours.\n- Nothing of ours listens on `:8080` or `:4001`.\n\nRun doctor first whenever anything looks off. `$V status` prints sessions, port owners and paths.\n\n## Drive\n\n`browser.mjs` runs one action per call against the persistent headless Chromium, then disconnects and leaves the page open. A journey is therefore a sequence of shell commands. Each command prints one JSON line `{\"ok\":true,...,\"url\":...}`, or prints `{\"ok\":false,\"error\":...}` and exits 1. `open` only accepts the verify origin `http:\u002F\u002F127.0.0.1:4002`.\n\nLocators, from most to least preferred:\n\n- `--role R --name N [--exact]`: accessible role and name. This is the default choice.\n- `--label L`, `--placeholder P`, `--text T`, `--testid ID`: other ways to find an element.\n- `--css S`: last resort only. The doc body (`.ProseMirror`) is the one place that needs it.\n- Scope a locator with `--in-role R --in-name N` (a dialog, a region) or `--in-testid ID`.\n- Pick one of several matches with `--nth K` or `--first`.\n\nCommands:\n\n| Command | Effect |\n| --- | --- |\n| `$B open \u002Finbox` | Navigate to a path (waits for DOMContentLoaded, 120 s budget for first compile). |\n| `$B click \u003Clocator>` | Click. |\n| `$B fill \u003Clocator> --value \"text\"` | Replace the field's text (also works on contenteditable). |\n| `$B press --key Enter [\u003Clocator>]` | Key press on the locator or the page. |\n| `$B wait \u003Clocator> [--state hidden] [--timeout ms]` \u002F `$B wait --url-includes \u002Fonboarding` | Wait for an element state or URL. |\n| `$B expect \u003Clocator> [--count N] [--absent]` | Assert; exits 1 when it does not hold. |\n| `$B text [\u003Clocator>]` | Print innerText (whole page when no locator). |\n| `$B snapshot [\u003Clocator>] [--path f.aria.yml]` | ARIA snapshot (YAML). Print it to discover roles and names. |\n| `$B screenshot --path f.png [--full] [\u003Clocator>]` | Screenshot. |\n| `$B url` | Current URL. |\n| `$B api GET \"\u002Ftasks?inbox=true\" [--body JSON] [--path f.json]` | Same-origin fetch to `\u002Fapi-proxy\u003Cpath>` with the page's session (cookie plus bearer token). Use it for read-only second views, and for fixture cleanup only. |\n| `$B signup-onboard [--email E] [--password P] [--workspace W]` | Baseline account through the real UI: `\u002Fsignup`, then onboarding \"Skip for now\", then name the workspace, then skip the tour. Prints the credentials. It is the same UI path as [account-onboarding](features\u002Faccount-onboarding.md). |\n\nSet `VERIFY_TIMELY_EVIDENCE=\u003Cdir>` and every command, passed or failed, is appended to `\u003Cdir>\u002Factions.jsonl` with its locator and result. That file is the action log for the proof.\n\nFeature recipes, with exact handles, are in [`features\u002FREADME.md`](features\u002FREADME.md). Read the index, then follow the feature's file.\n\nExample (a slice of [inbox-capture](features\u002Finbox-capture.md)):\n\n```bash\n$B signup-onboard\n$B open \u002Finbox\n$B fill --role textbox --name \"What's on your mind?\" --value \"Book the dentist\"\n$B press --role textbox --name \"What's on your mind?\" --key Enter\n$B wait --text \"Captured. Add the next one.\"\n$B expect --in-testid inbox-up-next --text \"Book the dentist\"\n```\n\n## Evidence\n\nPut each run's proof in `.agents\u002Fskills\u002Fverify-timely\u002Fevidence\u002F\u003CUTC timestamp>-\u003Cfeature-id>\u002F`. That directory is git-ignored by its own `.gitignore`, and `down` never touches it.\n\n```bash\nRUN=.agents\u002Fskills\u002Fverify-timely\u002Fevidence\u002F$(date -u +%Y%m%dT%H%M%SZ)-inbox-capture\nmkdir -p \"$RUN\" && export VERIFY_TIMELY_EVIDENCE=\"$RUN\"\n$V doctor > \"$RUN\u002Fdoctor.txt\"\n```\n\nProof standards:\n\n- Drive the real user path: visible controls, keyboard and routes. `$B api` is for reading state back and for cleanup. Never use it to perform the action under test.\n- Capture the action and the state it produces. Take a snapshot or screenshot before and after, and keep `actions.jsonl`. A final screen alone is not proof.\n- Check side effects in a second view: reload the page, open another screen that shows the same data (the Tasks list, the Calendar), and read it back with `$B api GET ...` into a `.json` file.\n- Make screenshots show the app identity: the sidebar or page heading must be visible.\n- There are no mocks. The API talks to the real Postgres schema `verify_timely`. External AI providers are not configured on a fresh account (see the chat gotcha in the feature map).\n- When a journey cannot run, record the attempted command and the unmet precondition. Never report an entry point you did not drive as verified.\n\n## Cleanup\n\n```bash\n$B api DELETE \u002Fme --body '{\"password\":\"\u003Cthe run password>\"}'   # optional fixture cleanup: drops the run's account\n$V down                    # stop browser, web, API sessions; remove the scratch worktree; keep evidence\n$V down --keep-worktree    # same, but keep ~\u002F.cache\u002Fverify-timely\u002Fwt (and its node_modules) for a faster next `up`\n```\n\n`down` kills only the sessions it recorded and their descendants. That covers air's `tmp\u002Fmain.exe` and the Next workers, which run in their own process groups. It then reports any port still held by someone else, and runs `git worktree remove --force` plus `prune` on the scratch tree. The `verify_timely` schema stays in `timely_db` as disposable scratch data, and every run signs up a fresh account in it. To start the schema from empty, use a new `VERIFY_TIMELY_SCHEMA=verify_timely_2`. The host has no `psql` to drop the old one. After `down`, check the proof survived: `ls \"$RUN\"`.\n\nRun `$V down` after every failed attempt too, so broken attempts don't strand ports.\n\n## Helpers\n\n- `scripts\u002Fverify-timely.sh up|doctor|status|browser|logs [api|web|browser|install] [N]|down [--keep-worktree]`. `browser` restarts only Chromium with a fresh, signed-out profile.\n- `scripts\u002Fbrowser.mjs \u003Ccommand> ...` is described in the Drive section. It loads `@playwright\u002Ftest` from the source checkout's root `node_modules`. If Chromium is missing, run `make install-browser`.\n- Environment overrides:\n  - `VERIFY_TIMELY_STATE`: state dir, default `~\u002F.cache\u002Fverify-timely`.\n  - `VERIFY_TIMELY_SCHEMA`: API schema.\n  - `VERIFY_TIMELY_CDP_PORT`: browser CDP port, default 9339.\n  - `VERIFY_TIMELY_TIMEOUT`: action timeout in ms, default 20000.\n  - `VERIFY_TIMELY_EVIDENCE`: action log dir.\n\n## Agent engine runs (stub model, fixture pages, fake CLIs)\n\nChats on the New engine need a model, and a fresh account has none. To verify them without a live provider, keep the stack from `up` (web, browser, scratch worktree) and replace its API:\n\n1. Start the stub model: `python3 -I apps\u002Fapi\u002Fscripts\u002Fagentqa\u002Follama_shim.py 11435 apps\u002Fagent\u002Ftests \u003Cdir>\u002Fphrases.json`. Set `TIMELY_SHIM_LOG=\u003Cfile>` to log what the model saw. The phrase table maps the person's words to a stub directive. See `apps\u002Fapi\u002Fscripts\u002Fagentqa\u002FREADME.md`.\n2. Kill the session in `~\u002F.cache\u002Fverify-timely\u002Fapi.sid`. Start `make dev-worktree-api DB_SCHEMA=\u003Cschema> ALLOW_REGISTRATION=true` in the scratch worktree, in a new session that writes `api.sid`, with these variables:\n   - `OLLAMA_BASE_URL=http:\u002F\u002F127.0.0.1:11435`.\n   - `TIMELY_AGENT_RUNTIME=\u003Cthis checkout>\u002Fapps\u002Fagent`. The scratch worktree has no `.venv`.\n   - `TIMELY_DATA_DIR=\u003Cscratch>`.\n   - `TIMELY_AGENT_WEB_FIXTURES=\u003Cdir>`: `https:\u002F\u002F\u003Cname>.fixture.invalid\u002F` is served from `\u003Cdir>\u002F\u003Cname>\u002Findex.html`.\n   - `TIMELY_AGENT_CLARIFY_TIMEOUT_S=90`.\n   - `CORS_ORIGINS=http:\u002F\u002Flocalhost:8082` for the phone.\n   - For Claude Code and Codex without a live model: `CLAUDE_BIN` and `CODEX_BIN` pointing at wrappers of `apps\u002Fapi\u002Finternal\u002Ffeatures\u002Fprovider\u002Ftestdata\u002Ffakecli\u002F*`. Each wrapper reports signed in and sets its own `FAKECLI_DIR`.\n   - The test switches (`TIMELY_AGENT_CLARIFY_TIMEOUT_S`, `TIMELY_AGENT_SENSITIVE_NO_PERSIST`, the fixtures) work only with `DB_SCHEMA` set.\n3. For fixture pages, run the API under `unshare -rm` with `mount --bind \u003Chosts> \u002Fetc\u002Fhosts`, mapping the fixture names to `93.184.216.34`. Hermes' SSRF floor resolves every `web_extract` host in the worker and fails closed. Nothing connects to that address, because Go's `FixtureFetcher` answers. A live Claude Code check needs an API outside the namespace, which runs as uid 0.\n4. Phone: `make dev-mobile-web` in the scratch worktree, which serves Expo web on `:8082` against `:8081`.\n\n`doctor` accepts this API when it runs in the recorded `api` session. The API marks itself non-dumpable (`internal\u002Fprocguard`), so `doctor` reads the environment and working directory of `air` instead of the API binary's. The recipe is [features\u002Fagent-question-cards.md](features\u002Fagent-question-cards.md).\n\n## Secondary surfaces (not proved by this skill)\n\n- **Electron shell** (`apps\u002Fweb\u002Felectron`). `make audit-desktop AUDIT_PORT=4002` runs Electron under Xvfb against this skill's `:4002` web, with CDP on `127.0.0.1:4061`. It lists a page only once the web answers below 500. Stop it with `pkill -f \"[t]imely-design-audit-electron\"`. Hosted mode, with its own Postgres and API, is `make dev-desktop-hosted`. Desktop-only UI, such as Settings → Account → Delete account and Settings → Server, appears only inside Electron.\n- **Mobile** (`apps\u002Fmobile`, Expo SDK 57). Run `CI=1 make dev-mobile EXPO_PUBLIC_API_URL=http:\u002F\u002F10.0.2.2:8081`, passing the URL as a make argument because the `.env` include otherwise wins. Metro runs on `:8082`. It needs the capped emulator (`make emu-start` \u002F `make emu-stop`) or a USB phone, and APKs only through `make build-apk`. See `.agents\u002Fskills\u002Fandroid-emulator` and `.agents\u002Fskills\u002Fbuild-mobile-apk`.\n",{"name":5,"description":7},"dev","4d9b346961dd1d220a07fe4e6ed44b52daa57e0b",".agents\u002Fskills\u002Fverify-timely","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app","https:\u002F\u002Fgithub.com\u002Fthalhath2234","2026-11-14 05:26:10",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add thalhath2234\u002Ftimely-app --skill verify-timely",{"tool":36,"command":37},"bunx","bunx skills add thalhath2234\u002Ftimely-app --skill verify-timely",{"tool":39,"command":40},"pnpm","pnpm dlx skills add thalhath2234\u002Ftimely-app --skill verify-timely","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002FSKILL.md",true,[44,50,56,60,64,68,72,76,80,86],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"evidence\u002F.gitignore","OTHER","其他",14,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Fevidence\u002F.gitignore",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"features\u002Faccount-onboarding.md","REFERENCE","参考文档",4770,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Ffeatures\u002Faccount-onboarding.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"features\u002Fagent-question-cards.md",6917,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Ffeatures\u002Fagent-question-cards.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"features\u002Fcalendar-events.md",3644,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Ffeatures\u002Fcalendar-events.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"features\u002Ffiles-docs.md",3018,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Ffeatures\u002Ffiles-docs.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"features\u002Finbox-capture.md",6583,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Ffeatures\u002Finbox-capture.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"features\u002FREADME.md",5090,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Ffeatures\u002FREADME.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"features\u002Ftasks.md",3309,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Ffeatures\u002Ftasks.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fbrowser.mjs","SCRIPT","脚本",9442,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Fscripts\u002Fbrowser.mjs",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fverify-timely.sh",13403,"https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002F.agents\u002Fskills\u002Fverify-timely\u002Fscripts\u002Fverify-timely.sh",[91,98,105,112,119,126],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7CRJRHHG68Q3XZX37TD85JB","timely","Test fixture standing in for the Timely skill (IDs, markdown dialect, workspace rule).","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002Fapps\u002Fagent\u002Ftests\u002Ffixtures\u002Fskills\u002Ftimely\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7CRJPPNS8SKWVTDP3TJ9EHG","product-price-monitor","Test fixture override of the upstream product-price-monitor skill.","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002Fapps\u002Fagent\u002Ftests\u002Ffixtures\u002Fskills\u002Foverrides\u002Fproduct-price-monitor\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7CRJKRY4QH4RAA2MKHNZT04","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002Fapps\u002Fagent\u002Fhermes\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7CRJG3JC6PRSTH3MW62KTH6","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002Fapps\u002Fagent\u002Fhermes\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M7CRJ8K3ACJYKSYDJWKJM6HV","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002Fapps\u002Fagent\u002Fhermes\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7CRJ3Q5QP1CVBG959M3A3BM","spike","Throwaway experiments to validate an idea before build.","https:\u002F\u002Fgithub.com\u002Fthalhath2234\u002Ftimely-app\u002Fblob\u002Fdev\u002Fapps\u002Fagent\u002Fhermes\u002Fskills\u002Fsoftware-development\u002Fspike\u002FSKILL.md",[],[]]