Skip to content

feat(pi): add pi-simple-team package and teams escalation guidance - #45

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/pi-simple-team-integration
Aug 29, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/pi-simple-team-integration

Conversation

@atrawog

@atrawog atrawog commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Add the pi-simple-team extension to the umbrella's per-project pi config and teach the system prompt to escalate to teams when sub-agents are insufficient.

  • .pi/settings.json: add git:github.com/giladbarnea/[email protected] to packages (pinned to the latest tag, same pattern as pi-goal).
  • .pi/APPEND_SYSTEM.md (new): teams escalation guidance — spawn a TEAM (via "Spawn a team") when a job exceeds a single sub-agent: parallel workstreams that must coordinate, adversarial review loops, or missions needing multiple perspectives. Teams are the escalation path AFTER sub-agents; /team gives a live read-only dashboard.

How tested

All verification ran live with pi -p (non-interactive mode) from the umbrella root:

  1. Boot test — pi -p "Reply with exactly: PACKAGE_TEST_OK" → PACKAGE_TEST_OK
  2. System prompt carries the guidance — pi -p confirmed the # Teams (pi-simple-team) section is in the system prompt, quoting verbatim: "Teams are the escalation path AFTER sub-agents: prefer a single sub-agent for bounded, isolated work; use a team when the work is too large, too parallel, or needs internal challenge to converge."
  3. Extension registered — pi -p listed the 5 team tools: team_spawn, team_shutdown, teamstatus, teamsend, teamlog
  4. End-to-end team spawn — pi -p spawned a 2-agent team (implementer + reviewer), implementer computed 6×7=42, reviewer independently verified, team shut down → TEAM_ANSWER=42
  5. Pre-commit gate — check-policy-b: OK, check-harness-parity: OK (5 shared harness files identical to charly/)

Rulebook compliance

  • R0: skills loaded first (git-workflow for the PR landing path).
  • R6: git status audited before staging; only the two intended files staged (pre-existing untracked plan/*.md left alone); no force-push, no direct push to main.
  • R7: pre-commit gate ran and passed on the committed tree.
  • Harness parity (rule 8): .pi/settings.json + .pi/APPEND_SYSTEM.md are umbrella-root harness config; check-harness-parity passed (the shared files are unchanged; this change is additive to the umbrella's own package list and prompt, not a fork of a shared file).

Change classification

  • Change class: configuration + prompt guidance (no runtime code in charly or submodules).
  • Verification gate: live pi -p runs (boot, prompt content, extension registration, team spawn) — changed paths executed live.
  • Attribution tier: analysed on a live system — the changed runtime path (pi session boot with the new package + prompt) ran live with retained output; the full task verify pinning gate is unaffected by this change (no pins touched).

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

- Add git:github.com/giladbarnea/[email protected] to .pi/settings.json packages
- Add .pi/APPEND_SYSTEM.md: teams escalation path after sub-agents (spawn a team
  when a job exceeds a single sub-agent: parallel workstreams, adversarial
  review loops, multi-perspective missions)
- Verified: pi -p boots clean, system prompt carries the teams section,
  extension registers team_spawn/team_shutdown/teamstatus/teamsend/teamlog,
  end-to-end 2-agent team spawn completed (implementer+reviewer, verified answer)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 0f837ba0cc58 (branch: feat/pi-simple-team)

Security screen: PASS — no scope mismatch (both diff files accounted for in body), no secrets/exfiltration, no weakened guardrails. The new git:github.com/giladbarnea/[email protected] package pin follows the same pinned-tag pattern as the existing pi-goal entry; additive capability, not a security weakening.

Checklist: All applicable rules PASS or NA.

  • Change class: config + prompt guidance (.pi/settings.json package add + new .pi/APPEND_SYSTEM.md). No runtime code in charly/submodules → no bed required; live pi -p runs (boot, prompt content, extension registration, team spawn) executed the changed path.
  • Attribution tier analysed on a live system is justified and not inflated; Assisted-by: footer present in exact form and consistent with the pi -p authoring evidence.
  • R6 (git status audited), R7 (pre-commit gate passed), harness-parity claim internally consistent. R0/R3/R4/R5/R8/R9/R10/RDD/ADE/SDD/architecture/concurrency N/A for this config-only class.
  • Single atomic commit; no forbidden-framing, no parking phrases, no comments to adjudicate.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 29, 2026 19:45
@github-actions
github-actions Bot merged commit 5e5fb88 into main Aug 29, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 29, 2026
atrawog added a commit that referenced this pull request Sep 8, 2026
… re-capture fix, #44 eval-pr driver, #45 redo-wave reports + their CHANGELOG commits)
github-actions Bot pushed a commit that referenced this pull request Sep 8, 2026
…l-pr driver + redo-wave reports) (#168)

* sync(eval-omarchy): gitlink 41174c45 -> 95b778e (the re-capture fix #43, the eval-pr driver #44, the redo-wave reports #45)

* sync(eval-omarchy): gitlink -> a8e8fa1 (the real current main HEAD: #43 re-capture fix, #44 eval-pr driver, #45 redo-wave reports + their CHANGELOG commits)
@aitrawog
aitrawog deleted the feat/pi-simple-team-integration 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]>
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