@herbertgao/pi-extensions 2026.11.15 → 2026.11.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +4 -4
  3. package/THIRD_PARTY_NOTICES.md +2 -2
  4. package/node_modules/@herbertgao/pi-agency/CHANGELOG.md +6 -0
  5. package/node_modules/@herbertgao/pi-agency/README.md +3 -1
  6. package/node_modules/@herbertgao/pi-agency/package.json +1 -1
  7. package/node_modules/@herbertgao/pi-agency/src/index.ts +151 -9
  8. package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +6 -0
  9. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/names.ts +7 -2
  10. package/node_modules/@herbertgao/pi-cc-extensions/package.json +1 -1
  11. package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +6 -0
  12. package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
  13. package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
  14. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +5 -5
  15. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/audit.md +8 -1
  16. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/audit.native.md +8 -1
  17. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/craft-floor.md +3 -3
  18. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/critique.md +8 -6
  19. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/finish-reviewer.md +2 -2
  20. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/doctor.md +5 -1
  21. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/init.md +2 -0
  22. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/live.md +1 -1
  23. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work.md +8 -9
  24. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/polish.md +1 -1
  25. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
  26. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
  27. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +55 -32
  28. package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
  29. package/node_modules/@herbertgao/pi-subagents/docs/rpc.md +7 -1
  30. package/node_modules/@herbertgao/pi-subagents/package.json +1 -1
  31. package/node_modules/@herbertgao/pi-subagents/src/agent-color.ts +6 -2
  32. package/node_modules/@herbertgao/pi-subagents/src/agent-types.ts +82 -1
  33. package/node_modules/@herbertgao/pi-subagents/src/cross-extension-rpc.ts +107 -2
  34. package/node_modules/@herbertgao/pi-subagents/src/index.ts +9 -2
  35. package/node_modules/pi-provider-qoder/dist/index.js +50 -10
  36. package/node_modules/pi-provider-qoder/package.json +1 -1
  37. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @herbertgao/pi-extensions
2
2
 
3
+ ## 2026.11.17
4
+
5
+ ### Patch Changes
6
+
7
+ - [#398](https://github.com/HerbertGao/pi-extensions/pull/398) [`1eccc1a`](https://github.com/HerbertGao/pi-extensions/commit/1eccc1ab99247b9b1f1772ea027f3b8c48cf23ba) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Raise the promoted dependency floors to what the bundled packages require: `nanoid@^5.1.16`, `turndown@^7.2.4`, and `undici@^8.12.3`. The installed versions already meet these floors, so this changes no resolved package today; it removes ranges that could resolve below a bundled package's own requirement, including the patched `undici` floor `pi-antigravity` needs.
8
+
9
+ - [#397](https://github.com/HerbertGao/pi-extensions/pull/397) [`42647d1`](https://github.com/HerbertGao/pi-extensions/commit/42647d16b171f766da6135fc937bd087e005a161) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Label an `Agent` run by identity: a registered type (Code Reviewer) keeps its type name while a named generic run shows its own `name`, in both the ccstyle transcript row and the pi-subagents badges. The `name` parameter accepts any characters — labels show it as given, `@handles` are slugged. `agency_register` seats catalog personas as session-scoped agent types over the new `subagents:rpc:register-agents` bus channels: the persona body becomes the system prompt, the card name and color become the label and badge, and the types vanish at the next session start without ever shadowing file-loaded agents.
10
+
11
+ - Updated dependencies [[`42647d1`](https://github.com/HerbertGao/pi-extensions/commit/42647d16b171f766da6135fc937bd087e005a161)]:
12
+ - @herbertgao/pi-agency@0.1.4
13
+ - @herbertgao/pi-cc-extensions@1.0.21
14
+ - @herbertgao/pi-subagents@0.26.1
15
+
16
+ ## 2026.11.16
17
+
18
+ ### Patch Changes
19
+
20
+ - [#395](https://github.com/HerbertGao/pi-extensions/pull/395) [`43a108a`](https://github.com/HerbertGao/pi-extensions/commit/43a108ac173ed4d6fc137433a958ef43c1a64812) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Pin pi-provider-qoder 0.6.13. A plan-disabled catalog model stays listed so a configured model still resolves, and auto stays hidden unless the server enables it. After login the provider refreshes that catalog, waiting at most 15 seconds, instead of keeping the static fallback until restart.
21
+
22
+ - [#395](https://github.com/HerbertGao/pi-extensions/pull/395) [`43a108a`](https://github.com/HerbertGao/pi-extensions/commit/43a108ac173ed4d6fc137433a958ef43c1a64812) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Resolve @narumitw/pi-tui-kit 0.70.1 under the existing ^0.70.0 range. A questionnaire summary names the selected option.
23
+
24
+ - Updated dependencies [[`43a108a`](https://github.com/HerbertGao/pi-extensions/commit/43a108ac173ed4d6fc137433a958ef43c1a64812)]:
25
+ - @herbertgao/pi-impeccable@0.6.0
26
+
3
27
  ## 2026.11.15
4
28
 
5
29
  ### Patch Changes
package/README.md CHANGED
@@ -22,7 +22,7 @@ The package bundles 7 active `@herbertgao/*` child packages—`pi-agency`, `pi-b
22
22
 
23
23
  - `pi-antigravity@0.14.0`
24
24
  - `pi-commandcode-provider@0.8.4`
25
- - `pi-provider-qoder@0.6.12`
25
+ - `pi-provider-qoder@0.6.13`
26
26
  - `@dietrichgebert/ponytail@5.3.3`
27
27
  - `@juicesharp/rpiv-ask-user-question@2.15.0`
28
28
  - `@narumitw/pi-btw@0.63.8`
@@ -47,7 +47,7 @@ Antigravity `0.14.0` enriches search citations by visiting source sites by defau
47
47
 
48
48
  Ponytail `5.3.2` updates the Pi skill guidance, including how to turn it off. Its Pi extension entry is unchanged; the new Claude Code band/board hooks are not registered by this aggregate.
49
49
 
50
- Impeccable `4.9.2` is vendored as `@herbertgao/pi-impeccable` and loaded with `/skill:impeccable`. Its native engine downloads to `~/.impeccable` on first use after SHA-256 verification; set `IMPECCABLE_BIN` for offline or preinstalled setups. The launcher pins engine 0.1.25 and skips a sibling engine binary that reports a different version. A GitHub HTTP 5xx during that download says the outage is on GitHub's side. `/impeccable foundations` walks a product-foundations checklist. A critique's design-review rubric is `reference/critique-rubric.md`, and a new surface reads `reference/new-work-world.md` or `reference/new-work-comp.md` when that part applies. Go leaves a staged removal in the page so Undo and Discard can restore it. The package does not install automatic post-edit hooks, and upstream `pin`/`unpin` do not discover npm-loaded skills.
50
+ Impeccable `4.10.0` is vendored as `@herbertgao/pi-impeccable` and loaded with `/skill:impeccable`. Its native engine downloads to `~/.impeccable` on first use after SHA-256 verification; set `IMPECCABLE_BIN` for offline or preinstalled setups. The launcher pins engine 0.1.27 and skips a sibling engine binary that reports a different version. A GitHub HTTP 5xx during that download says the outage is on GitHub's side. Context loads a long DESIGN.md as a map, and the first launcher failure is not retried. `/impeccable foundations` walks a product-foundations checklist. A critique's design-review rubric is `reference/critique-rubric.md`, and a new surface reads `reference/new-work-world.md` or `reference/new-work-comp.md` when that part applies. Go leaves a staged removal in the page so Undo and Discard can restore it. A user exit stays down for a minute and clears the live init flag, so a later inject on the same page can start Live. The missing-PRODUCT.md notice shows once, and hovering the live bar no longer widens it. The package does not install automatic post-edit hooks, and upstream `pin`/`unpin` do not discover npm-loaded skills.
51
51
 
52
52
  ### Agency Agents
53
53
 
@@ -59,13 +59,13 @@ Impeccable `4.9.2` is vendored as `@herbertgao/pi-impeccable` and loaded with `/
59
59
 
60
60
  `@herbertgao/pi-inline-skill-commands` completes and expands Pi's native `/skill:<name>` commands inside a larger prompt. At token boundaries the dropdown lists only skills and completion keeps the surrounding text. Submission renders the same collapsed skill block a start-of-prompt command produces and keeps your sentence, command included, beneath it. Commands at the start of the prompt stay native, ordinary commands such as `/model` remain start-only, and no `/<name>` aliases are added, so skill entries are not duplicated. It uses `CustomEditor`'s private autocomplete trigger to fire on `/`; see the [package README](../pi-inline-skill-commands/README.md).
61
61
 
62
- `@narumitw/pi-caffeinate@0.49.15` uses the host platform's sleep inhibitor during each Pi agent run. On macOS, `/caffeinate sleep` keeps the system awake while allowing the display to sleep; `/caffeinate display` also keeps the display awake. It releases the inhibitor when the run or session ends. Its D-Bus dependency remains on the normal socket transport under Node; Bun on Linux/macOS can use FFI and an in-process reader thread for Unix file-descriptor transport, and that thread can be unreferenced so the connection need not keep the process alive. It falls back when FFI is unavailable. No daemon or build step is added. The published extension source is unchanged from 0.49.13 aside from the manifest. It declares `@narumitw/pi-tui-kit@^0.70.0` and `dbus-native@^0.16.3`. BTW `0.63.8` requires the same kit range, so the aggregate resolves one `0.70.0` install for both.
62
+ `@narumitw/pi-caffeinate@0.49.15` uses the host platform's sleep inhibitor during each Pi agent run. On macOS, `/caffeinate sleep` keeps the system awake while allowing the display to sleep; `/caffeinate display` also keeps the display awake. It releases the inhibitor when the run or session ends. Its D-Bus dependency remains on the normal socket transport under Node; Bun on Linux/macOS can use FFI and an in-process reader thread for Unix file-descriptor transport, and that thread can be unreferenced so the connection need not keep the process alive. It falls back when FFI is unavailable. No daemon or build step is added. The published extension source is unchanged from 0.49.13 aside from the manifest. It declares `@narumitw/pi-tui-kit@^0.70.0` and `dbus-native@^0.16.3`. BTW `0.63.8` requires the same kit range, so the aggregate resolves one `0.70.1` install for both. A questionnaire summary names the selected option.
63
63
 
64
64
  `@narumitw/pi-btw@0.63.8` opens its side workspace through the `@narumitw/pi-tui-kit@^0.70.0` fullscreen handoff. Published `src` and `dist` are unchanged from 0.63.7 aside from the manifest and changelog. Fullscreen, menu, and transcript modules load on first use. An already ended session does not open that UI. The loaded flow still stops when the dedicated UI is disposed or the parent terminal cannot be restored. Only one BTW flow can be open per session; a second `/btw` warns and stays closed. In split layout, mounting the first split releases Pi's idle wait so the main input stays usable. Importing new main-thread context stays manual. The main-thread tree picker walks an arbitrarily deep session on the heap, keeps raw copy text as fragments until a copy, and stores a saved label only when the entry has one. Settings rows keep a clipped label or value in full under the list, and a searchable model choice shows how many results match. A searchable choice keeps page scrolling; the host still owns search activation. The promoted kit can name an editor-status widget and collapse it to that divider; BTW does not mount that widget.
65
65
 
66
66
  `clef` asks Cloudflare Clef-flash an on-demand yes/no, choice, or score and prints the questions and answers in the transcript, plus a one-line notice. It is not a permission gate. `pi-typesafe@0.14.0` provides `/typesafe` and `typesafe_evaluate` for explicit structured decisions; `/typesafe enable` or `PI_TYPESAFE_ENABLED=1` is still required for agent tool calls. The default backend remains `https://api.typesafe.ai`. `PI_TYPESAFE_BACKEND` and `PI_TYPESAFE_MODEL` select the session backend and model, and `/typesafe login` stores a key for the named backend. Only HTTP 401 refuses that key, and only for 15 minutes; a 403 refuses one request and leaves the key usable. Nace.AI (`https://console.nace.ai`, `NACE_API_KEY`, default model `drex-v2.0`) is a judgment backend. Daily request, token, and USD caps are opt-in. OpenRouter, Command Code, Liquid, SubQ, Nace.AI, and a named endpoint stay explicit and use that backend's own key. The promoted SDK is `@typesafe-ai/sdk@0.7.0`. Under Bun, the judge transport reads each response body once and replays it, so the SDK can still read the result after Bun marks the original body used.
67
67
 
68
- `@herbertgao/sol-pi` adds opt-in Action Fusion, ObservationPack, Evidence-Preserving Reducer, and Online Context Compact; see its [configuration guide](../sol-pi/docs/configuration.md). `pi-lens@4.5.1` publishes a public LSP config schema, reads user-level custom rule directories (project before user before built-in), normalizes argv-style server entries, downgrades `throw-new-error` to a warning, and counts Docker, JSON, and Jedi servers in idle eviction; language routing and the retained multi-root diagnostic facts are unchanged. `.mts` and `.cts` use the TypeScript rules. Groovy files still classify as Groovy, and the vendored Groovy grammar lists classes and methods. `--no-read-expansion` turns off read widening without disabling the read-before-edit guard. It promotes `@ast-grep/cli` to `0.51.1` and `@ast-grep/napi` to `^0.51.0`. A blank `PI_LENS_*` number falls back to the default, and an explicit `0` is a value. An edit that raises a named function past the high-complexity threshold and past the default branch names that function on one line; a function the edit improved, or that is still no worse than the default branch, is not named. `ast_grep_replace` no longer requests strict JSON-schema sampling; `lens_diagnostic_mark` still does. A language server for a project outside the session folder starts only when Pi would trust that project. Four MCP tools advertise only `path`. A session rooted at `/` keeps `lsp.disabledServers`. Concatenated SQL passed to `.execute()` is an advisory full-analysis finding; a parameterized `execute(sql, values)` call stays quiet. Keeping injected findings in later requests is opt-in. A workspace edit through a dangling symlink is refused, and a symlink that resolves outside the workspace is refused; the fallback Biome config no longer names a nursery rule. An identity `filter(x => x).map(...)` stays a warning, and a non-identity `filter(fn).map(...)` is no longer flagged. An async array callback with a block body is not flagged for a missing return. A sync block callback that does not return still is. `--lens-issues-status` can show diagnostic counts in the footer and stays off unless set. Esc cancels a hung language-server request instead of leaving that server busy. A reduce that copies its accumulator with `Object.assign` is a warning. A directory whose name starts with `..` stays inside its project. `.groovy`, `.gvy`, `.gy`, `.gsh`, `Jenkinsfile`, `build.gradle`, and `settings.gradle` classify as Groovy; `build.gradle.kts` does not. `minimatch` is `^11.0.4` and `vscode-jsonrpc` is `^10.0.0`. `pi-web-access@0.48.0` provides configurable web search and fetch tools; its `toolActivation` defaults to `auto`, choosing eager or dynamic tool activation per model. `toolActivation: "none"` stays opt-in and still requires deferred exposure. Field extraction, 9router, empty or off-topic search fallback, and plain HTTP gateway URLs stay off unless configured. An unknown tool-call provider name fails instead of selecting a provider automatically, and DuckDuckGo searches stay spaced apart after a bot check. It adds structured search/fetch data for codemode and an optional, manually started `pi-web-access-mcp` stdio CLI; installing the aggregate does not start that server. Degoog, Keenable, Ceramic, Linkup, DeepSeek fetch, Cloudflare search, SearchApi, Outcrawl, Sofya, cloro, Autom, SpecStream, and Tabstack are explicit-only, excluded from automatic and `all` selection. DuckDuckGo searches in one process start at least 10 seconds apart and at most 10 in any 10 minutes. `lockProxy: true` rejects a tool-call proxy other than the configured one. A GitHub repository README is returned up to 100K characters, and a clone with no `githubClone.clonePath` goes under the OS temp directory. Optional `fetchContent.curl` and Exa/Tabstack fetch routing stay off unless configured. Provider gateway base URLs are opt-in and are not configured by the aggregate. OpenAI search now defaults to `gpt-6-luna`, results and clone cleanup are scoped per extension instance, and the promoted `@modelcontextprotocol/sdk@^1.32.1` moves the bundle off GHSA-6qxp-vccf-f47h. Perplexity search now uses the Search API's ranked pages and snippets rather than a Sonar-generated answer; requests requiring prose still use Sonar. `pi-antigravity@0.14.0` reads Pi 0.86+ transcript system messages, so Antigravity requests carry Pi's system prompt and tools; it also registers `google_search`, `read_url_content`, and `generate_image` tools that use the signed-in Antigravity account. Those tools stay direct unless `ANTIGRAVITY_DEFER_TOOLS=1`. `ANTIGRAVITY_NO_FETCH_TOOL=1` skips `read_url_content`. A private or credentialed fetch URL is rejected before a request. The User-Agent is `antigravity/cli/1.5.5`. A model removed by catalog refresh is not filled back in from the bootstrap list. Image saves reject symlink destinations. The aggregate keeps host `typebox` and `undici@^8.11.2`. `pi-provider-qoder@0.6.12` registers the `qoder` and `qoder-cn` model providers. A tool-call argument stream that is cut off before a usable call is reported as a retryable server error. Startup logs one line when the npm registry has a newer release; `PI_PROVIDER_QODER_SKIP_UPDATE_CHECK=1` skips that lookup. A queued model-busy response reports its wait instead of being ignored; a ready busy response stays retryable. A queued wait that does not fit in a safe millisecond count uses `retryAfterSeconds` instead. Agent chat prefers the account's remote-agent node and, on daily chat limit code 110, tries the next node. The chosen node is cached for one hour. Sign in with `/login qoder` (browser or a personal access token from [qoder.com/account/integrations](https://qoder.com/account/integrations)) or `/login qoder-cn` (token from [qoder.com.cn/account/integrations](https://qoder.com.cn/account/integrations)). `QODER_PERSONAL_ACCESS_TOKEN` and `QODERCN_PERSONAL_ACCESS_TOKEN` log those providers in at startup. `/qoder-usage footer on` replaces the status-bar footer for that session, so leave it off while the pi-cc footer is in use. `pi-commandcode-provider@0.8.6` registers `commandcode` beside `qoder`, `qoder-cn`, and `antigravity`. Inference uses the Provider API only. `/login` lists those subscription providers and runs only the one you select. `@tifan/pi-preferred-thinking` is no longer bundled. Per-model thinking levels come from Pi. Deprecated `@tifan/pi-titlebar-spinner` is no longer bundled; Rename remains the single owner of Herdr tab naming. `@tifan/pi-handoff` imports `@tifan/pi-rename/naming` when it generates a session name, so Rename stays installed and its `/rename` command stays registered.
68
+ `@herbertgao/sol-pi` adds opt-in Action Fusion, ObservationPack, Evidence-Preserving Reducer, and Online Context Compact; see its [configuration guide](../sol-pi/docs/configuration.md). `pi-lens@4.5.1` publishes a public LSP config schema, reads user-level custom rule directories (project before user before built-in), normalizes argv-style server entries, downgrades `throw-new-error` to a warning, and counts Docker, JSON, and Jedi servers in idle eviction; language routing and the retained multi-root diagnostic facts are unchanged. `.mts` and `.cts` use the TypeScript rules. Groovy files still classify as Groovy, and the vendored Groovy grammar lists classes and methods. `--no-read-expansion` turns off read widening without disabling the read-before-edit guard. It promotes `@ast-grep/cli` to `0.51.1` and `@ast-grep/napi` to `^0.51.0`. A blank `PI_LENS_*` number falls back to the default, and an explicit `0` is a value. An edit that raises a named function past the high-complexity threshold and past the default branch names that function on one line; a function the edit improved, or that is still no worse than the default branch, is not named. `ast_grep_replace` no longer requests strict JSON-schema sampling; `lens_diagnostic_mark` still does. A language server for a project outside the session folder starts only when Pi would trust that project. Four MCP tools advertise only `path`. A session rooted at `/` keeps `lsp.disabledServers`. Concatenated SQL passed to `.execute()` is an advisory full-analysis finding; a parameterized `execute(sql, values)` call stays quiet. Keeping injected findings in later requests is opt-in. A workspace edit through a dangling symlink is refused, and a symlink that resolves outside the workspace is refused; the fallback Biome config no longer names a nursery rule. An identity `filter(x => x).map(...)` stays a warning, and a non-identity `filter(fn).map(...)` is no longer flagged. An async array callback with a block body is not flagged for a missing return. A sync block callback that does not return still is. `--lens-issues-status` can show diagnostic counts in the footer and stays off unless set. Esc cancels a hung language-server request instead of leaving that server busy. A reduce that copies its accumulator with `Object.assign` is a warning. A directory whose name starts with `..` stays inside its project. `.groovy`, `.gvy`, `.gy`, `.gsh`, `Jenkinsfile`, `build.gradle`, and `settings.gradle` classify as Groovy; `build.gradle.kts` does not. `minimatch` is `^11.0.4` and `vscode-jsonrpc` is `^10.0.0`. `pi-web-access@0.48.0` provides configurable web search and fetch tools; its `toolActivation` defaults to `auto`, choosing eager or dynamic tool activation per model. `toolActivation: "none"` stays opt-in and still requires deferred exposure. Field extraction, 9router, empty or off-topic search fallback, and plain HTTP gateway URLs stay off unless configured. An unknown tool-call provider name fails instead of selecting a provider automatically, and DuckDuckGo searches stay spaced apart after a bot check. It adds structured search/fetch data for codemode and an optional, manually started `pi-web-access-mcp` stdio CLI; installing the aggregate does not start that server. Degoog, Keenable, Ceramic, Linkup, DeepSeek fetch, Cloudflare search, SearchApi, Outcrawl, Sofya, cloro, Autom, SpecStream, and Tabstack are explicit-only, excluded from automatic and `all` selection. DuckDuckGo searches in one process start at least 10 seconds apart and at most 10 in any 10 minutes. `lockProxy: true` rejects a tool-call proxy other than the configured one. A GitHub repository README is returned up to 100K characters, and a clone with no `githubClone.clonePath` goes under the OS temp directory. Optional `fetchContent.curl` and Exa/Tabstack fetch routing stay off unless configured. Provider gateway base URLs are opt-in and are not configured by the aggregate. OpenAI search now defaults to `gpt-6-luna`, results and clone cleanup are scoped per extension instance, and the promoted `@modelcontextprotocol/sdk@^1.32.1` moves the bundle off GHSA-6qxp-vccf-f47h. Perplexity search now uses the Search API's ranked pages and snippets rather than a Sonar-generated answer; requests requiring prose still use Sonar. `pi-antigravity@0.14.0` reads Pi 0.86+ transcript system messages, so Antigravity requests carry Pi's system prompt and tools; it also registers `google_search`, `read_url_content`, and `generate_image` tools that use the signed-in Antigravity account. Those tools stay direct unless `ANTIGRAVITY_DEFER_TOOLS=1`. `ANTIGRAVITY_NO_FETCH_TOOL=1` skips `read_url_content`. A private or credentialed fetch URL is rejected before a request. The User-Agent is `antigravity/cli/1.5.5`. A model removed by catalog refresh is not filled back in from the bootstrap list. Image saves reject symlink destinations. The aggregate keeps host `typebox` and `undici@^8.11.2`. `pi-provider-qoder@0.6.13` registers the `qoder` and `qoder-cn` model providers. A plan-disabled catalog model stays listed so a configured model still resolves, and auto stays hidden unless the server enables it. After login the provider refreshes that catalog, waiting at most 15 seconds, instead of keeping the static fallback until restart. A tool-call argument stream that is cut off before a usable call is reported as a retryable server error. Startup logs one line when the npm registry has a newer release; `PI_PROVIDER_QODER_SKIP_UPDATE_CHECK=1` skips that lookup. A queued model-busy response reports its wait instead of being ignored; a ready busy response stays retryable. A queued wait that does not fit in a safe millisecond count uses `retryAfterSeconds` instead. Agent chat prefers the account's remote-agent node and, on daily chat limit code 110, tries the next node. The chosen node is cached for one hour. Sign in with `/login qoder` (browser or a personal access token from [qoder.com/account/integrations](https://qoder.com/account/integrations)) or `/login qoder-cn` (token from [qoder.com.cn/account/integrations](https://qoder.com.cn/account/integrations)). `QODER_PERSONAL_ACCESS_TOKEN` and `QODERCN_PERSONAL_ACCESS_TOKEN` log those providers in at startup. `/qoder-usage footer on` replaces the status-bar footer for that session, so leave it off while the pi-cc footer is in use. `pi-commandcode-provider@0.8.6` registers `commandcode` beside `qoder`, `qoder-cn`, and `antigravity`. Inference uses the Provider API only. `/login` lists those subscription providers and runs only the one you select. `@tifan/pi-preferred-thinking` is no longer bundled. Per-model thinking levels come from Pi. Deprecated `@tifan/pi-titlebar-spinner` is no longer bundled; Rename remains the single owner of Herdr tab naming. `@tifan/pi-handoff` imports `@tifan/pi-rename/naming` when it generates a session name, so Rename stays installed and its `/rename` command stays registered.
69
69
 
70
70
  `pi-stash` is no longer bundled: `/btw` already preserves the main editor draft while handling side questions outside the main conversation. Prior `@herbertgao/pi-stash` releases remain available but are no longer maintained here.
71
71
 
@@ -213,8 +213,8 @@ THE SOFTWARE.
213
213
 
214
214
  ## `pi-provider-qoder`
215
215
 
216
- The aggregate bundles [`pi-provider-qoder`](https://github.com/simonsmh/pi-provider-qoder) version 0.6.12 under its original package name. npm metadata and the repository README declare the MIT license. The published tarball does not include a LICENSE file. The published package corresponds to git commit [`a8de674d2fdc1f7715ab8d794e51e8e620469ed9`](https://github.com/simonsmh/pi-provider-qoder/commit/a8de674d2fdc1f7715ab8d794e51e8e620469ed9).
216
+ The aggregate bundles [`pi-provider-qoder`](https://github.com/simonsmh/pi-provider-qoder) version 0.6.13 under its original package name. npm metadata and the repository README declare the MIT license. The published tarball does not include a LICENSE file. The published package corresponds to git commit [`63abcb4ca319bd37cb015a7bf5eee168eef7b306`](https://github.com/simonsmh/pi-provider-qoder/commit/63abcb4ca319bd37cb015a7bf5eee168eef7b306).
217
217
 
218
218
  ## `@herbertgao/pi-impeccable`
219
219
 
220
- The aggregate bundles [`@herbertgao/pi-impeccable`](https://github.com/HerbertGao/pi-extensions/tree/master/packages/pi-impeccable), vendored from [`pbakaus/impeccable`](https://github.com/pbakaus/impeccable) release `4.9.2` at commit `bba37e8ff05a099ae8f72db929453b31c82bef20`, under the Apache License 2.0. `scripts/live-browser.js` includes one local fix that keeps a staged removal in the live DOM. The bundled child package includes the complete upstream `LICENSE` and `NOTICE.md`, including its third-party attributions.
220
+ The aggregate bundles [`@herbertgao/pi-impeccable`](https://github.com/HerbertGao/pi-extensions/tree/master/packages/pi-impeccable), vendored from [`pbakaus/impeccable`](https://github.com/pbakaus/impeccable) release `4.10.0` at commit `ab3617920fcdb5009163a725ba8ff59927a63474`, under the Apache License 2.0. `scripts/live-browser.js` includes two local fixes: a staged removal stays in the live DOM, and a one-minute exit clears the live init flag so a later inject can start. The bundled child package includes the complete upstream `LICENSE` and `NOTICE.md`, including its third-party attributions.
@@ -1,5 +1,11 @@
1
1
  # @herbertgao/pi-agency
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#397](https://github.com/HerbertGao/pi-extensions/pull/397) [`42647d1`](https://github.com/HerbertGao/pi-extensions/commit/42647d16b171f766da6135fc937bd087e005a161) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Label an `Agent` run by identity: a registered type (Code Reviewer) keeps its type name while a named generic run shows its own `name`, in both the ccstyle transcript row and the pi-subagents badges. The `name` parameter accepts any characters — labels show it as given, `@handles` are slugged. `agency_register` seats catalog personas as session-scoped agent types over the new `subagents:rpc:register-agents` bus channels: the persona body becomes the system prompt, the card name and color become the label and badge, and the types vanish at the next session start without ever shadowing file-loaded agents.
8
+
3
9
  ## 0.1.3
4
10
 
5
11
  ### Patch Changes
@@ -24,7 +24,9 @@ The catalog location is fixed at `~/.agency-agents`. `agency_dispatch` also need
24
24
  - `max_turns` is omitted unless you pass it, so a run decides when it is done; set it only to bound a runaway.
25
25
  - `record_dir` must be absolute and used by one dispatch at a time. It receives `<id>.prompt.txt` and `<id>.return.txt` with mode `0600`. The call fails before any dispatch if one of those files already exists.
26
26
 
27
- Both tools return `structuredContent`, so codemode scripts receive objects instead of text.
27
+ `agency_register({ personas, tools? })` registers catalog personas as session-scoped pi-subagents agent types over its RPC bus and returns the type names to pass as `subagent_type`. The persona body becomes the type's system prompt, the card name becomes the label, and the card color becomes the badge — a seat shows as `MCP Builder` with its color instead of `general-purpose`. `tools: "none"` gives the type no tools at all; the default `"builtin"` keeps pi's built-in tools. Types vanish at the next session start, never shadow file-loaded agents, and need `@herbertgao/pi-subagents` on the event bus — an older or upstream pi-subagents answers nothing and the call fails, so the seat falls back to carrying the persona file's absolute path.
28
+
29
+ All three tools return `structuredContent`, so codemode scripts receive objects instead of text.
28
30
 
29
31
  ```js
30
32
  const { results } = await tools.agency_search({
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-agency",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Search the Agency Agents catalog and dispatch its personas to Pi subagents without loading them into context.",
5
5
  "keywords": [
6
6
  "agency-agents",
@@ -1,4 +1,4 @@
1
- import { createHash } from "node:crypto"
1
+ import { createHash, randomUUID } from "node:crypto"
2
2
  import {
3
3
  existsSync,
4
4
  mkdirSync,
@@ -129,8 +129,11 @@ export function searchCatalog(
129
129
  .slice(0, limit)
130
130
  }
131
131
 
132
- /** A catalog persona's body without frontmatter. */
133
- export function loadPersona(root: string, persona: string): string {
132
+ /** A catalog persona, frontmatter and body, path-guarded like every loader here. */
133
+ export function loadPersonaEntry(
134
+ root: string,
135
+ persona: string,
136
+ ): { name: string; description: string; color?: string; body: string } {
134
137
  const base = realRoot(root)
135
138
  const file = realpathSync(isAbsolute(persona) ? persona : join(base, persona))
136
139
  if (!file.startsWith(base + sep) || !file.endsWith(".md")) {
@@ -143,7 +146,21 @@ export function loadPersona(root: string, persona: string): string {
143
146
  if (/<\/?persona>/i.test(body)) {
144
147
  throw new Error(`${persona} contains a reserved <persona> delimiter`)
145
148
  }
146
- return body
149
+ return {
150
+ name: frontmatter.name,
151
+ description:
152
+ typeof frontmatter.description === "string"
153
+ ? frontmatter.description
154
+ : `${persona} has no persona description`,
155
+ color:
156
+ typeof frontmatter.color === "string" ? frontmatter.color : undefined,
157
+ body,
158
+ }
159
+ }
160
+
161
+ /** A catalog persona's body without frontmatter. */
162
+ export function loadPersona(root: string, persona: string): string {
163
+ return loadPersonaEntry(root, persona).body
147
164
  }
148
165
 
149
166
  /** Fills `{{persona}}` and `{{shared}}` in one pass, so inserted text is never rescanned or `$`-expanded. */
@@ -200,7 +217,53 @@ export function dropPlaceholders(args: unknown): any {
200
217
  )
201
218
  }
202
219
 
203
- export function agencyTools(root = CATALOG_ROOT) {
220
+ /** The slice of pi's event bus the RPC client needs — same shape pi-subagents handles. */
221
+ export interface AgencyEvents {
222
+ on(event: string, handler: (data: unknown) => void): () => void
223
+ emit(event: string, data: unknown): void
224
+ }
225
+
226
+ export type AgencyToolsOptions = {
227
+ /** pi.events; agency_register needs it to reach pi-subagents' RPC bus. */
228
+ events?: AgencyEvents
229
+ /** Reply timeout for the register RPC; tests shrink it. */
230
+ rpcTimeoutMs?: number
231
+ }
232
+
233
+ /** Call pi-subagents' register-agents RPC and await its reply envelope. */
234
+ export async function rpcRegisterAgents(
235
+ events: AgencyEvents,
236
+ agents: Array<Record<string, string>>,
237
+ tools: "none" | "builtin",
238
+ timeoutMs: number,
239
+ ): Promise<void> {
240
+ const requestId = randomUUID()
241
+ const channel = `subagents:rpc:register-agents:reply:${requestId}`
242
+ return new Promise((resolve, reject) => {
243
+ let timer: ReturnType<typeof setTimeout>
244
+ const unsub = events.on(channel, (raw) => {
245
+ clearTimeout(timer)
246
+ unsub()
247
+ const reply = raw as { success: true } | { success: false; error: string }
248
+ if (reply.success) resolve()
249
+ else reject(new Error(reply.error))
250
+ })
251
+ timer = setTimeout(() => {
252
+ unsub()
253
+ reject(
254
+ new Error(
255
+ `pi-subagents did not answer register-agents within ${timeoutMs}ms; it may be missing or too old for ephemeral agent types`,
256
+ ),
257
+ )
258
+ }, timeoutMs)
259
+ events.emit("subagents:rpc:register-agents", { requestId, agents, tools })
260
+ })
261
+ }
262
+
263
+ export function agencyTools(
264
+ root = CATALOG_ROOT,
265
+ options: AgencyToolsOptions = {},
266
+ ) {
204
267
  const search = defineTool({
205
268
  name: "agency_search",
206
269
  label: "Agency Search",
@@ -397,7 +460,7 @@ export function agencyTools(root = CATALOG_ROOT) {
397
460
  for (const run of runs) record(`${run.id}.prompt.txt`, run.prompt)
398
461
  }
399
462
 
400
- const options = Object.fromEntries(
463
+ const spawnOptions = Object.fromEntries(
401
464
  Object.entries({
402
465
  model: params.model,
403
466
  thinking: params.thinking,
@@ -414,7 +477,7 @@ export function agencyTools(root = CATALOG_ROOT) {
414
477
  prompt: run.prompt,
415
478
  run_in_background: false,
416
479
  isolated: params.isolated ?? true,
417
- ...options,
480
+ ...spawnOptions,
418
481
  }),
419
482
  ),
420
483
  )
@@ -475,11 +538,90 @@ export function agencyTools(root = CATALOG_ROOT) {
475
538
  },
476
539
  })
477
540
 
478
- return { search, dispatch }
541
+ const register = defineTool({
542
+ name: "agency_register",
543
+ label: "Agency Register",
544
+ description:
545
+ "Register catalog personas as session-scoped pi-subagents agent types and return the type names to pass as `subagent_type` to Agent. The persona's body becomes the type's system prompt, its card name becomes the agent's label, and its card color becomes the badge — so a seat shows as its persona instead of general-purpose. `tools: \"none\"` gives the type no tools at all (advisory seats); the default `\"builtin\"` keeps pi's built-in tools. Types vanish at the next session start and never shadow agents loaded from files. Needs pi-subagents on the session's event bus; if it is missing or too old the call fails and a seat can still be given the persona file's absolute path instead.",
546
+ promptSnippet: "Seat catalog personas as labeled, colored agent types",
547
+ prepareArguments: dropPlaceholders,
548
+ promptGuidelines: [
549
+ "For Agency Agents personas, use agency_search to pick the seat, agency_register to turn it into a session-scoped agent type, and one Agent call per seat with that type; without registration the call carries the persona's absolute path instead. Reach for agency_dispatch only for bulk work that does not need a run per row.",
550
+ ],
551
+ parameters: Type.Object({
552
+ personas: Type.Array(Type.String(), {
553
+ minItems: 1,
554
+ description:
555
+ "Persona files relative to the catalog, e.g. security/security-appsec-engineer.md, or absolute paths inside it.",
556
+ }),
557
+ tools: Type.Optional(
558
+ Type.Union([Type.Literal("none"), Type.Literal("builtin")], {
559
+ description:
560
+ 'The type\'s tool surface: "none" for tool-less advisory seats, "builtin" (default) for pi\'s built-in tools.',
561
+ }),
562
+ ),
563
+ }),
564
+ outputSchema: Type.Object({
565
+ results: Type.Array(
566
+ Type.Object({
567
+ persona: Type.String(),
568
+ type: Type.String(),
569
+ color: NullableString,
570
+ tools: Type.Union([Type.Literal("none"), Type.Literal("builtin")]),
571
+ }),
572
+ ),
573
+ }),
574
+ async execute(_toolCallId, params) {
575
+ const events = options.events
576
+ if (!events) {
577
+ throw new Error("agency_register needs the pi.events bus")
578
+ }
579
+ const tools = params.tools ?? "builtin"
580
+ const entries = params.personas.map((persona) => {
581
+ const card = loadPersonaEntry(root, persona)
582
+ return { persona, card }
583
+ })
584
+ await rpcRegisterAgents(
585
+ events,
586
+ entries.map(({ card }) => ({
587
+ name: card.name,
588
+ description: card.description,
589
+ systemPrompt: card.body,
590
+ ...(card.color ? { color: card.color } : {}),
591
+ })),
592
+ tools,
593
+ options.rpcTimeoutMs ?? 2000,
594
+ )
595
+ const results = entries.map(({ persona, card }) => ({
596
+ persona,
597
+ type: card.name,
598
+ color: card.color ?? null,
599
+ tools,
600
+ }))
601
+ const text =
602
+ results
603
+ .map(
604
+ (result) =>
605
+ `- ${result.persona} → subagent_type: ${result.type}${result.color ? ` (${result.color})` : ""} [${result.tools}]`,
606
+ )
607
+ .join("\n") +
608
+ "\n\nTypes vanish at the next session start; after a session switch or resume, register again before spawning."
609
+ return {
610
+ content: [{ type: "text", text }],
611
+ details: {},
612
+ structuredContent: { results },
613
+ }
614
+ },
615
+ })
616
+
617
+ return { search, dispatch, register }
479
618
  }
480
619
 
481
620
  export default function piAgency(pi: ExtensionAPI): void {
482
- const { search, dispatch } = agencyTools()
621
+ const { search, dispatch, register } = agencyTools(CATALOG_ROOT, {
622
+ events: pi.events,
623
+ })
483
624
  pi.registerTool(search)
484
625
  pi.registerTool(dispatch)
626
+ pi.registerTool(register)
485
627
  }
@@ -1,5 +1,11 @@
1
1
  # @herbertgao/pi-cc-extensions
2
2
 
3
+ ## 1.0.21-local.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#397](https://github.com/HerbertGao/pi-extensions/pull/397) [`42647d1`](https://github.com/HerbertGao/pi-extensions/commit/42647d16b171f766da6135fc937bd087e005a161) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Label an `Agent` run by identity: a registered type (Code Reviewer) keeps its type name while a named generic run shows its own `name`, in both the ccstyle transcript row and the pi-subagents badges. The `name` parameter accepts any characters — labels show it as given, `@handles` are slugged. `agency_register` seats catalog personas as session-scoped agent types over the new `subagents:rpc:register-agents` bus channels: the persona body becomes the system prompt, the card name and color become the label and badge, and the types vanish at the next session start without ever shadowing file-loaded agents.
8
+
3
9
  ## 1.0.21-local.1
4
10
 
5
11
  ### Patch Changes
@@ -269,11 +269,16 @@ export function toolCallSummary(
269
269
  return { main: title, detail: "", payload: clip(args.agent_id) };
270
270
  }
271
271
  if (name === "agent" || name === "agents") {
272
- const displayName = args.subagent_type ?? args.agent_type ?? args.agent;
272
+ // general-purpose 是无身份的默认类型,命名运行的 name 优先;其余类型(Code Reviewer 等)
273
+ // 自身就是身份,类型名优先于 name。`·` 分隔后描述作灰色载荷:单卡与组内行同一写法。
274
+ const type = args.subagent_type ?? args.agent_type ?? args.agent;
275
+ const displayName =
276
+ typeof type === "string" && type.toLowerCase() !== "general-purpose"
277
+ ? type
278
+ : (args.name ?? type);
273
279
  const description =
274
280
  typeof args.description === "string" ? oneLine(args.description, clipLimit()) : "";
275
281
  if (typeof displayName === "string" && displayName) {
276
- // 类型进标题,`·` 分隔后描述作灰色载荷:单卡与组内行同一写法。
277
282
  return {
278
283
  main: `${title} ${displayName}`,
279
284
  detail: "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-cc-extensions",
3
- "version": "1.0.21-local.1",
3
+ "version": "1.0.21-local.2",
4
4
  "license": "MIT",
5
5
  "description": "A Pi productivity suite with Claude Code-style UI, context inspection, and agent/session references",
6
6
  "type": "module",
@@ -1,5 +1,11 @@
1
1
  # @herbertgao/pi-impeccable
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#395](https://github.com/HerbertGao/pi-extensions/pull/395) [`43a108a`](https://github.com/HerbertGao/pi-extensions/commit/43a108ac173ed4d6fc137433a958ef43c1a64812) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Vendor the official Impeccable 4.10.0 Pi skill. The launcher pins engine 0.1.27. Context loads a long DESIGN.md as a map, and the first launcher failure is not retried. A user exit stays down for a minute and clears the live init flag, so a later inject on the same page can start Live. The missing-PRODUCT.md notice shows once, and hovering the live bar no longer widens it. Go still leaves a staged removal in the page.
8
+
3
9
  ## 0.5.0
4
10
 
5
11
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  # @herbertgao/pi-impeccable
2
2
 
3
- The [Impeccable](https://github.com/pbakaus/impeccable) design skill for [Pi](https://pi.dev/), vendored from the official `4.9.2` Pi skill payload (`cli-v4.9.2`). It provides design steering, critique, audit, and deterministic anti-pattern detection without an installer, background service, or global skill directory.
3
+ The [Impeccable](https://github.com/pbakaus/impeccable) design skill for [Pi](https://pi.dev/), vendored from the official `4.10.0` Pi skill payload (`cli-v4.10.0`). It provides design steering, critique, audit, and deterministic anti-pattern detection without an installer, background service, or global skill directory.
4
4
 
5
5
  ## Install
6
6
 
@@ -27,7 +27,7 @@ Upstream `pin` and `unpin` only discover skill installations in project harness
27
27
 
28
28
  ## Updates and provenance
29
29
 
30
- This package vendors the official Pi payload: 63 files from commit [`bba37e8ff05a099ae8f72db929453b31c82bef20`](https://github.com/pbakaus/impeccable/commit/bba37e8ff05a099ae8f72db929453b31c82bef20). `scripts/live-browser.js` has one local fix on top of that commit: Go still cleans edit markers on the live selection, but it no longer detaches a staged removal, so Undo and Discard can restore the hidden node. The review cursor stays at that commit. Updates are reviewed and released through this repository rather than the upstream auto-updater. The launcher pins engine `0.1.25`. `/impeccable foundations` walks a product-foundations checklist, and a hidden live bar stops capturing page clicks.
30
+ This package vendors the official Pi payload: 63 files from commit [`ab3617920fcdb5009163a725ba8ff59927a63474`](https://github.com/pbakaus/impeccable/commit/ab3617920fcdb5009163a725ba8ff59927a63474). `scripts/live-browser.js` has two local fixes on top of that commit: Go still cleans edit markers on the live selection, but it no longer detaches a staged removal, so Undo and Discard can restore the hidden node. A user exit still keeps Live down for a minute, and that early return clears the live init flag so a later inject on the same page can start. The review cursor stays at that commit. Updates are reviewed and released through this repository rather than the upstream auto-updater. The launcher pins engine `0.1.27`. Context loads a long DESIGN.md as a map, and the first launcher failure is not retried. A user exit stays down for a minute, the missing-PRODUCT.md notice shows once, and hovering the live bar no longer widens it. `/impeccable foundations` walks a product-foundations checklist, and a hidden live bar stops capturing page clicks.
31
31
 
32
32
  ## License
33
33
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-impeccable",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "The Impeccable design skill for Pi, vendored from the official release.",
5
5
  "keywords": [
6
6
  "design",
@@ -46,9 +46,9 @@
46
46
  },
47
47
  "x-upstream": {
48
48
  "package": "impeccable",
49
- "version": "4.9.2",
50
- "reviewedVersion": "4.9.2",
49
+ "version": "4.10.0",
50
+ "reviewedVersion": "4.10.0",
51
51
  "repository": "https://github.com/pbakaus/impeccable",
52
- "commit": "bba37e8ff05a099ae8f72db929453b31c82bef20"
52
+ "commit": "ab3617920fcdb5009163a725ba8ff59927a63474"
53
53
  }
54
54
  }
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: impeccable
3
3
  description: "Use when the user wants to design, redesign, shape, critique, audit, polish, simplify, harden, animate, or otherwise improve a frontend interface: websites, landing pages, dashboards, product UI, components, forms, settings, onboarding, empty states, and native iOS or Android screens. Handles UX review, hierarchy, layout, typography, color, motion, UX copy, accessibility, responsive behavior, edge cases, and capturing or documenting design systems (DESIGN.md, tokens). Also for making bland UI bolder, loud UI quieter, or ambitious visual effects. Not for backend-only or non-UI tasks."
4
- version: 4.9.2
4
+ version: 4.10.0
5
5
  license: Apache 2.0
6
6
  allowed-tools:
7
7
  - Bash(npx impeccable *)
@@ -13,15 +13,15 @@ This skill gives you the tools and permission to make design that earns the name
13
13
  Core principles:
14
14
  - Finish the job. No hedging, no shortcuts: the deliverable is complete, except assets the user must provide.
15
15
  - Scale ambition to the surface's mode (see Modes). Persuade and Experience get full commitment: bold, distinct work with a point of view. On Operate and Read, ambition shows as precision and restraint, and patterns the visitor already knows earn their place.
16
- - Verify by looking at the rendered result at the sizes it ships at, and batch the checks: fix what one look shows before looking again, rather than screenshotting after every tweak.
16
+ - Verify by looking at the rendered result at the sizes it ships at (web: `.pi/skills/impeccable/scripts/impeccable shot <page>`), and batch the checks: fix what one look shows before looking again.
17
17
 
18
18
  ## Setup
19
19
 
20
- 1. Run `<skill-base-dir>/scripts/impeccable context` once per session, where `<skill-base-dir>` is the directory that contains this SKILL.md (the skill folder, not a plugin root two levels above it); keep cwd at the user's project. That base directory resolves every `.pi/skills/impeccable/scripts/impeccable <verb>` command in this skill and its references, and `.pi/skills/impeccable/scripts` is the fallback only when the runtime reports no base directory. On a Windows shell without `sh`, call `.pi/skills/impeccable/scripts/impeccable.cmd` instead. The launcher runs a self-contained binary that ships next to it or is downloaded once on first run; no Node or other runtime is required. Pass a named source file or route as `--target <path>`. It loads PRODUCT.md, DESIGN.md, the matching surface brief, and native-platform guidance when applicable; follow its directives and do not rerun it.
21
- 2. Load the request's playbook: its Commands-table reference for an explicit/implied sub-command, or [reference/new-work.md](reference/new-work.md) for a new surface, a replacement visual world, or a build from an approved comp. Some playbooks come in parts; read the part this request needs in the same step, not when the playbook later mentions it: [reference/new-work-world.md](reference/new-work-world.md) when a visual world is created or replaced (a redesign, a new look, or no established world), [reference/new-work-comp.md](reference/new-work-comp.md) for a build from an approved comp or on a comp-led build path, and [reference/critique-rubric.md](reference/critique-rubric.md) for a critique whose Assessment A runs in this context (a native platform, or no sub-agent tool); a delegated Assessment A gets the rubric's path in its prompt instead. Inspect target and incumbent visual truth before editing. When the app cannot run, start with committed visual-regression goldens or screenshot fixtures; verify target and freshness against current tokens, CSS, components, or assets, resolve conflicts, and compare theme/variant captures.
20
+ 1. Run `<skill-base-dir>/scripts/impeccable context` once per session, where `<skill-base-dir>` is the directory that contains this SKILL.md (the skill folder, not a plugin root two levels above it); keep cwd at the user's project. That base directory resolves every `.pi/skills/impeccable/scripts/impeccable <verb>` command in this skill and its references, and `.pi/skills/impeccable/scripts` is the fallback only when the runtime reports no base directory. On a Windows shell without `sh`, call `.pi/skills/impeccable/scripts/impeccable.cmd` instead. The launcher runs a self-contained binary that ships next to it or is downloaded once on first run; no Node or other runtime is required. Pass a named source file or route as `--target <path>`. It loads PRODUCT.md and DESIGN.md (long ones as a map: read the sections your task needs), the matching surface brief, and native-platform guidance when applicable; follow its directives and do not rerun it.
21
+ 2. Load the request's playbook: its Commands-table reference for an explicit/implied sub-command, or [reference/new-work.md](reference/new-work.md) for a new surface, a replacement visual world, or a build from an approved comp. Some playbooks come in parts; read the part this request needs in the same step: [reference/new-work-world.md](reference/new-work-world.md) when a visual world is created or replaced (a redesign, a new look, or no established world), [reference/new-work-comp.md](reference/new-work-comp.md) for a build from an approved comp or on a comp-led build path, and [reference/critique-rubric.md](reference/critique-rubric.md) for a critique whose Assessment A runs in this context (a native platform, or no sub-agent tool); a delegated Assessment A gets the rubric's path in its prompt instead. Inspect target and incumbent visual truth before editing. When the app cannot run, start with committed visual-regression goldens or screenshot fixtures; verify target and freshness against current tokens, CSS, components, or assets, resolve conflicts, and compare theme/variant captures.
22
22
  3. After resolving analysis and direction, read [reference/craft-floor.md](reference/craft-floor.md) immediately before any UI edit, including small refinements. It carries the quality floor, the absolute bans, and the reflexes no detector catches. Do not load it for planning-only work.
23
23
 
24
- **Launcher unavailable:** On refusal or failure, send a separate message **before the next tool call**: “Context loading did not run; I’ll read the existing project context directly.” Then read existing PRODUCT.md and DESIGN.md without inventing missing context, follow applicable steps 2–3, including reading [reference/craft-floor.md](reference/craft-floor.md) immediately before any UI edit, and continue through permitted tools. This applies to planning and editing; launcher failure alone does not block either.
24
+ **Launcher unavailable:** On the first refusal or failure, don’t retry; send a separate message **before the next tool call**: “Context loading did not run; I’ll read the existing project context directly.” Then read existing PRODUCT.md and DESIGN.md without inventing missing context, follow applicable steps 2–3, including reading [reference/craft-floor.md](reference/craft-floor.md) immediately before any UI edit, and continue through permitted tools. This applies to planning and editing; launcher failure alone does not block either.
25
25
 
26
26
  ## How to design
27
27
 
@@ -147,4 +147,11 @@ Keep P3s few: a long tail of minor issues buries the ones that matter.
147
147
 
148
148
  ## Save the Report
149
149
 
150
- After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file, then run `.pi/skills/impeccable/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file>` and delete the temp file. The helper prints the path it wrote, which you mention in one line; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
150
+ After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file, then run the write command with the scores as metadata and delete the temp file:
151
+
152
+ ```bash
153
+ IMPECCABLE_REPORT_META='{"target":"<user phrasing, or .>","total_score":<n>,"max_score":20,"p0_count":<n>,"p1_count":<n>,"p2_count":<n>,"p3_count":<n>}' \
154
+ .pi/skills/impeccable/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file>
155
+ ```
156
+
157
+ The helper prints the path it wrote, which you mention in one line; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
@@ -140,4 +140,11 @@ Keep P3s few: a long tail of minor issues buries the ones that matter.
140
140
 
141
141
  ## Save the Report
142
142
 
143
- After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file, then run `.pi/skills/impeccable/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file>` and delete the temp file. The helper prints the path it wrote, which you mention in one line; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
143
+ After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file, then run the write command with the scores as metadata and delete the temp file:
144
+
145
+ ```bash
146
+ IMPECCABLE_REPORT_META='{"target":"<user phrasing, or .>","total_score":<n>,"max_score":20,"p0_count":<n>,"p1_count":<n>,"p2_count":<n>,"p3_count":<n>}' \
147
+ .pi/skills/impeccable/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file>
148
+ ```
149
+
150
+ The helper prints the path it wrote, which you mention in one line; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
@@ -4,7 +4,7 @@ Load this after the direction is settled, and build without announcing the check
4
4
 
5
5
  ## Verify
6
6
 
7
- Each of these is a check on the built result, not an intention. Run them together in each batched look at the render, not as separate screenshot trips; the checks share one render.
7
+ Each of these is a check on the built result, not an intention. Run them together in each batched look at the render (on the web, one `.pi/skills/impeccable/scripts/impeccable shot <page or url>`), not as separate screenshot trips; the checks share one render.
8
8
 
9
9
  - **Contrast:** body and placeholder text ≥4.5:1, large text ≥3:1. On colored surfaces tint secondary text from that hue or the foreground; never gray.
10
10
  - **Depth:** shadows carry an offset and a soft blur. A zero-offset colored halo is decoration.
@@ -32,11 +32,11 @@ Surface habits:
32
32
 
33
33
  - Gradient text. Emphasis comes from weight or size.
34
34
  - Glass and blur as decoration rather than as a specific effect.
35
- - A colored `border-left` or `border-right` above 1px on cards, list items, callouts, or alerts.
35
+ - A bar down one side of a rounded box (a one-sided border, inset shadow or pseudo-element), any colour or state. Use a full border, a tint, or a leading icon or label.
36
36
  - Hard offset shadows (`box-shadow: 4px 4px 0`) outside a world that is actually neobrutalist. The zero-blur block shadow is a costume, not a depth system; a world that did not choose it never earns it as a default.
37
37
  - Sparklines, progress rings, and soft-shadowed rounded rectangles standing in for content.
38
38
  - Monospace as a costume for "technical" rather than for code, data, or measurement.
39
- - A system display face (Impact, Arial Black, the platform sans) as the display voice of an own-world page. Source and self-host a face whose character matches the approved lettering; the closest installed font is a failure, not a fallback.
39
+ - A system display face (Impact, Arial Black, the platform sans) as the display voice of an own-world page. Source and self-host a face whose character matches the approved lettering (Google: `.pi/skills/impeccable/scripts/impeccable font-fetch <Family>`); the closest installed font is a failure, not a fallback.
40
40
  - Unicode glyphs or emoji standing in for an icon system. Icons are drawn, from a real library or authored SVG, in one consistent stroke and weight.
41
41
  - Geometric masks standing in for organic contours. A circle, polygon, or radial-gradient cutout approximating a photographic subject's edge is the cheap version of the effect and reads worse than omitting it. Derive an alpha matte from the actual image, or produce a cut-out asset.
42
42
  - Light or dark picked by category. Pick it from the use scene: who, where, under what ambient light.