Skip to content

feat(pi): add [email protected] to the project config - #42

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/pi-web-ui
Aug 29, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/pi-web-ui

Conversation

@atrawog

@atrawog atrawog commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds npm:[email protected] to the project pi config (.pi/settings.json) — the browser cockpit for pi (chat UI, files, terminal, model management) via the /webui slash command. Proper pi package: extensions/webui.ts registers the command; dist/server/index.js is the spawned server. No tool-name collisions — it registers a slash command, not tools.

How tested

$ pi install npm:[email protected] -l
Installed npm:[email protected]

$ pi list
  npm:[email protected]
    /…/.pi/npm/node_modules/pi-web-ui

$ pi -p --no-session "Reply with exactly: WEBUI_LOAD_OK…"
WEBUI_LOAD_OK          # exit 0, no duplicate-tool errors

Command registration + server entry verified directly in the installed package (slash commands are not visible to the model in print mode):

$ grep -n "registerCommand" .pi/npm/node_modules/pi-web-ui/extensions/webui.ts
101:  pi.registerCommand("webui", {
$ ls .pi/npm/node_modules/pi-web-ui/dist/server/index.js
.pi/npm/node_modules/pi-web-ui/dist/server/index.js   # server entry OK

Pre-commit gate on the final tree:

check-policy-b: OK — 5 distro pins equal charly's gitlinks
check-harness-parity: OK — 5 shared harness files identical to charly/
pre-commit: OK

Rulebook compliance

Rule Status
R6 (git safety) feat/ branch, push only, no force-push
R7 (gate proven) Live pi -p load test + direct registration check pasted above
R10 (fresh tree) Tests run from the committed tree
Rule 8 (harness parity) .pi/settings.json not in parity SHARED list; check-harness-parity OK

Change classification

  • Change class: harness config (pi project config + docs)
  • Verification gate: live pi -p load + installed-package source check + pre-commit gate
  • Attribution tier: fully tested and validated

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

Browser cockpit for pi (chat UI, files, terminal, model management) via the
/webui slash command. Proper pi package (extensions/webui.ts registers the
command; dist/server/index.js is the spawned server). No tool-name
collisions — it registers a slash command, not tools.

Tested live via pi -p: clean load (WEBUI_LOAD_OK, no duplicate-tool errors);
command registration + server entry verified directly in the installed
package (pi.registerCommand("webui") at extensions/webui.ts:101).

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: e38ec9dd2385 (branch: feat/pi-web-ui)

Security screen: PASS — config-only change (adds one pinned npm package to .pi/settings.json + one README row); no secrets, no exfiltration, no guardrail weakening, no scope mismatch (body accounts for both files).

Checklist: All applicable rules PASS or NA.

  • Change class: harness config (pi project config + docs). Live pi -p load test + installed-package registration check + pre-commit gate pasted; internally consistent with the diff (adds npm:[email protected], registers /webui slash command, no tool collisions).
  • Attribution tier fully tested and validated justified — the new package's load path executed live against the committed tree.
  • R6 (git safety), R7 (gate proven), R10 (fresh tree), Rule 8 (harness parity) all addressed with evidence.
  • Single atomic commit; no comments on thread; no RDD/ADE/SDD/architecture/quality concerns (no candy/schema/Go changes).

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 29, 2026 18:44
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 8f4b39232990 (branch: feat/pi-web-ui)

Security screen: PASS — config-only change (adds one pinned npm package to .pi/settings.json + one README row); no secrets, no exfiltration, no guardrail weakening, no scope mismatch (body accounts for both files), no embedded directives.

Checklist: All applicable rules PASS or NA.

  • Change class: harness config (pi project config + docs). Live pi -p load test + installed-package registration check + pre-commit gate pasted; internally consistent with the diff (adds npm:[email protected], registers /webui slash command, no tool collisions).
  • Attribution tier fully tested and validated justified — the new package's load path executed live against the committed tree.
  • R6 (git safety), R7 (gate proven), R10 (fresh tree), Rule 8 (harness parity) all addressed with evidence.
  • Single atomic change (plus a main-merge commit); no RDD/ADE/SDD/architecture/quality concerns (no candy/schema/Go changes).
  • Prior github-actions[bot] PASS comment re-derived against current state — consistent, non-blocking.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot merged commit 842fd8a into main Aug 29, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 29, 2026
@aitrawog
aitrawog deleted the feat/pi-web-ui branch September 25, 2026 18:27
github-actions Bot pushed a commit that referenced this pull request Nov 14, 2026
* chore(pins)!: advance the unit-8 pins and re-anchor the census

The umbrella pin wave for opencharly/spec#304 unit 8 (#1024).

Eight pins move: charly (the fleet), the three distros (their own waves), plugin-check
(#149), plugin-substrate (#42/#43/#44/#45/#46/#47), sdk (#514) and spec (#320/#321).

The census follows the body: three dulling rows re-anchor to the plugin module, with the
three KEEPER citations (#VmBackend, #VmBackendName, #VmKrun) correctly staying in spec -
a blanket rewrite moved them and the control caught it. The D-PAT census lowers the twin
row and records the plugin union: the six D-PAT-2 dup findings the deletion created are
gone because plugin-substrate#47 removed the duplicate defs.

TODO.md row 2.1 reads Units 1-8 of 11 with the unit nine legs, its counts (KindValueDefs
3 -> 2, five bodies remain) and its three lessons; the ledger carries the P01 row (3 units
left) and the §9 record.

Measured on the served tree: the assembled graph builds clean, the corpus sweep moved zero
verdict classes, currency 8 of 409 -> 3 of 409, the design controls and the 48-step pin
gate green.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)

* docs: the four gitlinks and where the other four went (review round)

* docs(ledger): the P01 state column names unit 8 (review round)

* docs: the rollback sentence says four (review round)

---------

Co-authored-by: aitrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Nov 25, 2026
Merged, TAGGED refs only, at both levels:

- `charly` → `193f0ffa` (#1284, the `box/fedora` pin).
- `pod-cdi` → `d3b5bb4e` (#17, `v2026.329.2115`) — the toolkit-free base.
- `layer-cdi` → `b7fffea4` (#24, `v2026.329.2058`) — the require-free contract, the ICD file.
- `layer-cuda` → `326d8d8f` (#42, `v2026.329.2022`) — the driver-free install and the vdpau predicate.
- `layer-nvidia` → `506c1c02` (#35, `v2026.329.1836`) — the host/VM skill.
- `distro-fedora` → `fe8eb26c` (#137, `v2026.329.1729`) — the Fedora CDI boxes dropped.

`sdk` stays at its recorded pin `dd87eb2c`: the worktree carried `617763ab`, which the DESIGN
pin-tag control refused — it is the MERGE commit and the tagged CHANGELOG commit follows it, so the
pin would be untagged. Its advance is its own change, not this wave's.

Refs #1287

*Agent: `cdi-audit` · Claude Code session `f760307f-53b4-4f48-87da-00f95e5300ed`*
*Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant