Skip to content

feat(pi): sync project pi config with the Claude config — pi-claude-marketplace import + new packages - #41

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/pi-config-sync
Aug 29, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/pi-config-sync

Conversation

@atrawog

@atrawog atrawog commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Brings the project pi config (.pi/) fully in sync with the current Claude Code config (.claude/settings.json) and adds the requested packages.

Packages (.pi/settings.json):

  • Added: npm:[email protected] (web search/content extraction), npm:[email protected] (tool/agent runtime), npm:[email protected] (Claude-plugin-marketplace bridge), git:github.com/Michaelliv/[email protected] (persistent goals)
  • Upgraded: npm:pi-mcp-adapter 2.26.1 → 2.31.0
  • Removed: git:github.com/opencharly/marketplace — its charly-* skills are now installed by the pi-claude-marketplace import; the Claude config is the single source of truth for the plugin topology. umbrella_load_skills reads the marketplace/ submodule directly, so R0 skill loading is unaffected.

Sync mechanism (.pi/claude-plugins.json, new): materialized by /claude:plugin import --scope project, which reads .claude/settings.json (enabledPlugins + extraKnownMarketplaces) — 2 marketplaces (charly-plugins, claude-plugins-official), 11 plugins. gopls-lsp@claude-plugins-official was skipped by the import as an unsupported LSP plugin (expected; the umbrella does not use gopls in pi).

Housekeeping: .gitignore covers the regenerable state (.pi/pi-claude-marketplace/ — 50MB of marketplace clones, .pi/agents/, .pi/fabric/, .pi/claude-plugins.local.json); .pi/README.md documents the packages and the sync flow.

How tested

All tests run via pi -p (non-interactive CLI) from the committed tree:

$ pi list
  npm:[email protected]        /…/.pi/npm/node_modules/pi-mcp-adapter
  npm:[email protected]         /…/.pi/npm/node_modules/pi-web-access
  npm:[email protected]             /…/.pi/npm/node_modules/pi-fabric
  npm:[email protected] /…/.pi/npm/node_modules/pi-claude-marketplace
  git:github.com/Michaelliv/[email protected]  /…/.pi/git/github.com/Michaelliv/pi-goal
$ pi -p --no-session "Reply with exactly: CONFIG_LOAD_OK"
CONFIG_LOAD_OK          # exit 0, zero errors/warnings — no duplicate-tool collisions
$ pi -p --no-session "…umbrella_load_skills ['gitlink policy']…"
TEST1: umbrella_load_skills returned skill content — git-workflow FOUND (30607 chars)
TEST2: web_search (pi-web-access) = PRESENT; fabric_exec (pi-fabric) = PRESENT; create_goal (pi-goal) = PRESENT
TEST3: 90 skills visible in the available skills list
$ pi -p --no-session "…create_goal, web_search, pi-goal-writer…"
TEST1: create_goal succeeded — active goal created with objective "test goal from config validation"
TEST2: web_search returned search results (result snippet: "Pi Coding Agent …")
TEST3: pi-goal-writer in available skills: YES

Import materialization (86 skills + 1 prompt installed from the 11 plugins):

$ ls .pi/pi-claude-marketplace/resources/skills | wc -l
86
$ ls .pi/pi-claude-marketplace/resources/prompts
claude-md-management:revise-claude-md.md

Pre-commit gate on the final tree:

pre-commit: running the umbrella gate…
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
R3 (no duplication) Import is the single mechanism; the git marketplace package removed; no hand-written mirror of the Claude config
R6 (git safety) feat/ branch, push only, no force-push
R7 (gate proven) Live pi -p tests + pre-commit gate pasted above
R10 (fresh tree) All tests run from the committed tree
Rule 8 (harness parity) .pi/settings.json is not in the parity SHARED list; check-harness-parity OK

Change classification

  • Change class: harness config (pi project config + docs)
  • Verification gate: live pi -p runs (load, tools, skills) + pre-commit gate
  • Attribution tier: fully tested and validated

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

…arketplace import + new packages

Adds the requested packages to .pi/settings.json and brings the pi plugin
topology in sync with .claude/settings.json via pi-claude-marketplace:

- packages: [email protected], [email protected],
  [email protected], [email protected] (git, pinned);
  pi-mcp-adapter upgraded 2.26.1 -> 2.31.0; the git marketplace package is
  removed (its charly-* skills are now installed by the import — the Claude
  config is the single source of truth; umbrella_load_skills reads the
  marketplace/ submodule directly and is unaffected).
- .pi/claude-plugins.json: materialized by '/claude:plugin import --scope
  project' from .claude/settings.json (2 marketplaces, 11 plugins —
  gopls-lsp skipped by the import as an unsupported LSP plugin, as planned).
- .gitignore: .pi/pi-claude-marketplace/ (50MB of regenerable clones),
  .pi/agents/, .pi/fabric/, .pi/claude-plugins.local.json.
- .pi/README.md: packages table + Claude plugin sync section.

Tested live via pi -p: clean load (no duplicate-tool errors), 90 skills
visible, umbrella_load_skills resolves git-workflow from the marketplace/
submodule, create_goal + web_search execute successfully, pi-goal-writer
present.

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

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: a4de0f2cc417 (branch: feat/pi-sync)

Security screen: PASS — no scope mismatch (all 4 files accounted for in the body), no secrets/exfiltration, no weakened guardrails, no build-supply-chain changes (pi extension packages, README warns to review source; new packages tested live).

Checklist: All applicable rules PASS or NA.

  • Change class: harness config + docs. Body supplies a complete Summary accounting for every diff item, live pi -p evidence (packages loaded, tools web_search/fabric_exec/create_goal exercised, 86 skills installed, pre-commit gate OK), and a justified fully tested and validated tier (new/changed package paths executed live). Internal consistency verified: claude-plugins.json lists exactly 2 marketplaces / 11 plugins as claimed; gopls-lsp skip is consistent with its absence; skill counts (86 installed vs 90 visible) are distinct measurements, not contradictions. Single atomic commit; R0/R3/R6/R8/R9/R10/RDD/ADE/SDD/architecture/concurrency N/A for this config/docs class. Assisted-by line present in correct form at body end.

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:42
@github-actions
github-actions Bot merged commit 5c6db8a into main Aug 29, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 29, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 8, 2026
…l-* (the post-#41 standard location) + the R0 loading mandate for the rerun (#165)
github-actions Bot pushed a commit that referenced this pull request Sep 8, 2026
… report, fail loudly (#166)

* feat(agents): reference the eval skills at .agents/skills/omarchy-eval-* (the post-#41 standard location) + the R0 loading mandate for the rerun

* feat(agents): FAIL-HARD CONTRACT — every lane must stop + preserve evidence + write an RCA-ready block + fail loudly on ANY failure; the CONFIG AUDIT includes a runtime vm-build check (a config that validates but fails at runtime is a hard FAIL)
@aitrawog
aitrawog deleted the feat/pi-config-sync branch September 25, 2026 18:27
github-actions Bot pushed a commit that referenced this pull request Nov 14, 2026
* wip(pins): the unit-7 sync's two gitlinks (checkpoint; wave unfinished)

* chore(pins)!: advance the unit-7 pins and re-anchor the census

The umbrella's pin wave for opencharly/spec#304 unit 7 (#1015).

- plugin-substrate b2e7d3a -> 54be554: the thirty-two firecracker defs, their five
  moved tests and the InputDef (plugin-substrate#40, #41).
- spec 94ea24f -> 548f4f0: the contract deletion (spec#319).
- the census moves with the body and stays 357: two citation rows re-anchor to the
  plugin's module (ranges recomputed, not shifted), and the twin's union row swaps
  modules - one out, one in.
- TODO.md row 2.1 reads Units 1-7 of 11 with the unit's legs, counts and lessons;
  the ledger carries the P01 row (3 units left) and the unit-7 record.

Measured on the served tree: 2,014 corpus bodies with zero verdict classes moved,
currency 5 of 409 -> 3 of 409 (2 advanced, 406 cur), and the 48-step pin gate green.

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

* fix(record): four units left, and the premise pasted as it really is

Round 1's three findings, all mine: the P01 row merged android and deploy into one
unit so 7 + 3 = 10 of 11; the re-anchor narrative said the plugin's copy sits 18 lines
LATER when it sits 18 EARLIER; and the R10 section pasted an 'ls' from memory instead of
the tree - the umbrella's root has ~400 entries and its charly.yml declares 56
check/disposable lines, so the premise is re-stated around the gate that actually owns
this class (charly task verify, pasted).

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

---------

Co-authored-by: aitrawog <[email protected]>
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