Skip to content

chore(pi): slim project config to bare system prompt + plugins - #61

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/pi-config-slim
Aug 30, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/pi-config-slim

Conversation

@atrawog

@atrawog atrawog commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Slim the pi project config (.pi/) down to its bare system prompt + plugins config, per operator request. Removed every non-pi, non-plugin addition:

  • Extensions (all four): umbrella-gates.ts (incl. umbrella_load_skills), github-pr-status.ts, umbrella-verify.ts, loop-protection.ts
  • Custom prompts (prompts/*), custom subagent (agents/validator.md), APPEND_SYSTEM.md, .pi/README.md
  • .pi/settings.json now carries only the package (plugin) pins; .pi/fabric.json only the keepVisible list for package tools

The gates-extension removal is a cutover (R5): scripts/check-umbrella-gates-syntax.mjs and its wiring in hooks/pre-commit + Taskfile.yml are deleted, and the AGENTS.md / README.md / HARNESS-PARITY.md claims about pi gate wiring are swept. Git-level gates (hooks/pre-commit, .claude/hooks/*) are unchanged and still enforced.

How tested

$ git commit -F /tmp/pi-slim-commit-msg.txt
pre-commit: running the umbrella gate…
check-policy-b: OK — 6 distro pins equal charly's gitlinks
check-harness-parity: OK — 5 shared harness files identical to charly/
pre-commit: OK

$ git show --stat --oneline HEAD | head -30
b0a67d4 chore(pi): slim project config to bare system prompt + plugins
 21 files changed, 9 insertions(+), 1382 deletions(-)

$ git grep -l "umbrella-gates\|check-umbrella-gates-syntax" -- . ":(exclude)CHANGELOG"
NONE

$ task verify
task: [verify] bash scripts/verify-pins.sh
FAIL: charly: dirty working tree
task: Failed to run task "verify": exit status 1

The modified verify task executes live (verify-pins.sh runs; the removed syntax-check step is gone from the task). It fails on the submodule-cleanliness assertion because the charly/plugin-mise/sdk/spec working trees carry the in-progress work of the named thematic batch plan/mise-followup-todo.md — items 2 (plugin-mise builder refactor), 3 (charly vocabulary improvements), and 5 (umbrella gitlink sync: sdk → f476722d, spec → 90c1b7c7). This PR does not advance that batch; the dirty trees are routed to it by name and will be cured by its PRs.

Rulebook compliance

  • R1 — every stale reference to the removed extension swept in the same commit (AGENTS.md, README.md, HARNESS-PARITY.md, hooks/pre-commit, Taskfile.yml, the syntax-check script)
  • R2 — the dirty submodules are not parked as "pre-existing": they are the in-progress working trees of the named batch plan/mise-followup-todo.md (items 2/3/5), which this PR routes them to
  • R5 — dead gate script deleted, not left behind
  • R6 — no force-push, no direct push to main; feat/ branch + PR only
  • No edits inside submodules; the submodule dirtiness belongs to the named batch above

Change classification

  • Change class: config + gate-wiring cutover (not docs-only — scripts/hooks touched)
  • Verification gate: pre-commit gate green (policy-B + parity); task verify ran live and fails only on the parked submodule cleanliness (routed to the named batch)
  • Attribution tier: analysed on a live system — changed paths ran live (commit + gate + verify task), full gate not green due to the parked batch

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

Remove the umbrella-gates/github-pr-status/umbrella-verify/loop-protection
extensions, custom prompts, custom subagent, APPEND_SYSTEM.md, and README
from .pi/. settings.json now carries only the package (plugin) pins and
fabric.json only the keepVisible list for package tools.

The gates extension removal is a cutover: scripts/check-umbrella-gates-syntax.mjs
and its wiring in hooks/pre-commit and Taskfile.yml are deleted, and the
AGENTS.md/README.md/HARNESS-PARITY.md claims about the pi gate wiring are
swept. Git-level gates (hooks/pre-commit, .claude/hooks/*) are unchanged.
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: b0a67d496cf9 (branch: feat/pi-slim)

Change class: config + gate-wiring cutover (not docs-only — scripts, hooks, Taskfile, AGENTS.md/README/HARNESS-PARITY swept).

Security screen: PASS — the change removes the pi umbrella-gates.ts bash-interception extension, but the actual enforcement surface (git-level hooks/pre-commit, .claude/hooks/*) is unchanged and still enforced; the removal is a redundant convenience layer, not a weakening of the real gates. No secrets, no scope mismatch, no exfiltration, no supply-chain change.

Blocks

  1. R2 / B14(b) — forbidden "pre-existing" framing. The body justifies not running the full task verify gate with: "the charly/plugin-mise submodules carry pre-existing uncommitted changes, so the full gate cannot pass on this tree regardless of this change" and "submodule dirtiness is pre-existing and untouched". This is a parking phrase with no named exit — the dirty submodules are neither fixed in-tree nor routed to a NAMED thematic batch cutover. Per R2 and B14(b), a "pre-existing / untouched" classification is itself a finding unless it names an exit THIS PR advances. The author must either cure the dirty submodules in-tree or route them to a named batch/task.

  2. A2 / B12 — incomplete verification of the modified gate. The change modifies the verify task (Taskfile.yml, removing the syntax-check step) and hooks/pre-commit (same removal). The pre-commit gate ran and passed (exercising the modified hook), but the full task verify gate — which this PR also rewires — was NOT run, so that changed path never executed live. The body's only justification for skipping it is the forbidden "pre-existing" framing above. The author must run the full gate on a clean tree (or otherwise prove the modified verify task executes) with pasted output, independent of the parked submodule issue.

Verdict: BLOCK


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

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 64a1c7741ee9 (branch: feat/pi-slim)

Security screen: PASS — the change removes the pi umbrella-gates.ts bash-interception extension, but the real enforcement surface (git-level hooks/pre-commit, .claude/hooks/*) is unchanged and still enforced; the removal is a redundant convenience layer, not a weakening. No secrets, no scope mismatch, no exfiltration, no supply-chain change (package pins in settings.json untouched).

Checklist: All applicable rules PASS or NA.

Prior github-actions[bot] BLOCK re-derived against the CURRENT body/diff:

  • R2/B14(b) "pre-existing" framing — stale-superseded. The current body now names the exit: the dirty submodules are routed to the NAMED thematic batch plan/mise-followup-todo.md (items 2/3/5), which this PR does not advance but explicitly routes them to. This satisfies R2's named-batch requirement.
  • A2/B12 incomplete gate verification — stale-superseded. The current body now pastes task verify output showing the modified verify task executed live (verify-pins.sh ran; the removed syntax-check step is gone from the task). The failure is solely the parked submodule cleanliness, routed to the named batch — the changed path itself is proven to execute.

Body↔diff consistency verified: 21 files / 9 insertions / 1382 deletions matches meta; summary accounts for every removed/modified file; the git grep "NONE" claim is consistent with the diff (all umbrella-gates/check-umbrella-gates-syntax references swept); attribution tier analysed on a live system is honest and not inflated; footer is the exact *Assisted-by: <Harness> <Provider Full Model Name> (<confidence>)* form. One atomic change commit (b0a67d4) plus a body-update re-trigger (64a1c77).

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 30, 2026 16:43
@github-actions
github-actions Bot merged commit c291b96 into main Aug 30, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 30, 2026
atrawog added a commit that referenced this pull request Aug 31, 2026
…status checking (#74)

Recovered from git history: ab2448f (#31) added .pi/extensions/github-pr-status.ts
(gh_pr_status check/watch — GitHub PR + org-wide charly/pr-validator status),
c291b96 (#61) accidentally slim-deleted it together with the APPEND_SYSTEM.md
instruction to use it. Restoring verbatim, re-registering the extension in
settings.json, and re-adding the system-prompt instruction: check EVERY PR with
gh_pr_status after opening/fixing; watch in a background subagent while waiting.
@aitrawog
aitrawog deleted the feat/pi-config-slim branch September 25, 2026 18:27
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