pij-team
Deterministic prime→pm→coders→reviewer delivery pipeline — scaffold a plan worktree, author plan + impl-guide, dispatch a pij PM from templated ddoc packets, fan out coders per composable-service units, compose, cross-model review. Use when farming a plan out to a team, or when asked to run the pij-team flow.
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- pij-team
- description
- Deterministic prime→pm→coders→reviewer delivery pipeline — scaffold a plan worktree, author plan + impl-guide, dispatch a pij PM from templated ddoc packets, fan out coders per composable-service units, compose, cross-model review. Use when farming a plan out to a team, or when asked to run the pij-team flow.
02 资源文件 10
- 参考文档EXPERIENCES.md68.2 KB
- 参考文档templates/impl-guide.dd.json6.1 KB
- 参考文档templates/impl-guide.dd.md6.2 KB
- 参考文档templates/packet-coder.dd.json12.2 KB
- 参考文档templates/packet-coder.dd.md10.8 KB
- 参考文档templates/packet-pm.dd.json9.4 KB
- 参考文档templates/packet-pm.dd.md8.2 KB
- 参考文档templates/packet-reviewer.dd.json7.3 KB
- 参考文档templates/packet-reviewer.dd.md6.5 KB
- 参考文档TENETS.md10.0 KB
03 SKILL.md 正文
pij-team — templated team delivery (PROTOTYPE, dogfooding)
We are prototyping this way of working before handing it to pij and the harness
as first-class substrate — that graduation is the end state; this skill is
the staging ground. The absorber is named: the harness-engineering prime
(pij-massive-meadowlark) takes this in after our initial trials and fixes, so
everything in this folder is written as its absorption spec. Read TENETS.md first — the doctrine (arch split as
the multiplier, frozen seams, mechanical done, structure over trust) that every
packet cites instead of restating. Every friction goes in EXPERIENCES.md
the moment it bites (plus harness observe), and every run must leave the
tenets and templates better — improving them IS the mission, not a side effect.
Dogfood flowspace3 — every seat, every repo it indexes. For any
meaning-shaped question ("where is X handled", "what owns Y"), run
flowspace3 search "<question>" BEFORE grep; orient with
flowspace3 agents-start-here; report every search miss or confusing envelope
as friction. This binds primes, PMs, coders, and reviewers alike — an agent
that greps its way around an indexed repo is skipping the product's best test.
Tech-agnostic: this skill works in any repo, any stack. Repo-specific mechanics live in each plan's impl-guide (which instantiates the tenets in the local stack); anything here marked "(Rust example)" / "(this repo)" is an illustration, not a requirement.
The shape
- Prime (o-prime) is the product owner — talks to the human, writes the plan and the impl-guide, has final say. Prime does not orchestrate coders.
- PM is deliberately dumb: it orchestrates — fans work out per the impl-guide, composes, gets review, closes the flow out. Small task, no fan-out → the PM codes it itself, then calls the reviewer.
- Coders each build ONE unit (composable service): written and tested in
isolation behind a settled interface, per
/builderimplement discipline. - Reviewer is cross-model, fires after composition (or solo-pm coding), judges plan fidelity + composition seams, read-only.
- Default models per role:
.harness/government/settings.dd.md(o-prime edits via ddocs; a plan's impl-guide may override).
The workflow
- Prime runs the scaffold tool —
harness team new <slug>(extension, see § Extension below): creates the worktree + branch and the next-ordinaldocs/plans/<ord>-<slug>/inside it, with emptyplan.dd.json(viaharness plan new) andimpl-guide.dd.json+ the packet templates copied from this skill'stemplates/. - Prime writes the plan (dd-native, from the user pre-amble + what it
knows;
/builderplanning discipline applies). - Prime writes the impl-guide — the architecture-level HOW: units,
interfaces (settled BEFORE fan-out), waves, isolation mode, composition
steps, fan-out decision. Template:
templates/impl-guide.dd.json. - Prime spawns the PM on that branch (
/pijspawn per settings defaults), canary-verifies, fillspacket-pm.dd.json, delivers by path pointer, requires ack-with-numbered-plan, rules the ack. - PM executes: fans out coders (each dispatched with a filled
packet-coder-<unit>.dd.json), composes per the impl-guide, then spawns the reviewer withpacket-reviewer.dd.json. PM defers product questions to prime; prime defers to the human. - Close-out: findings fixed/refuted,
/builderpost-flight + archive, PR into main; prime coordinates merge. Buffers rescued before worktrees die. - Run analysis: after each run, the telemetry seat (currently
pij-squealing-xoxarle) analyses the PM's and coders' actual transcripts
(pij ledgers + native session stores) to find where packets, tenets, or
templates were ignored, misread, or missing — findings land in
EXPERIENCES.mdand drive the next template iteration. Observing how the seats actually behave IS how this skill improves.
Consuming repos: a repo trialling this skill keeps its OWN experiences log (its scratch/ or government area — never write into this repo's tree) and brings a pointer to the compare-notes session; confirmed cross-repo findings get folded into this folder by ITS owner (flowspace3 o-prime) with attribution.
Templates (in templates/)
| file | schema (.dd/schemas/pij-team/) |
seeded for |
|---|---|---|
impl-guide.dd.json |
pij-team/impl-guide |
prime → pm: the HOW |
packet-pm.dd.json |
pij-team/packet |
the PM's dispatch |
packet-coder.dd.json |
pij-team/packet |
one per unit |
packet-reviewer.dd.json |
pij-team/packet |
the review dispatch |
Usage: cp the template into the plan folder, edit via ddocs set/add
(never hand-edit the rendered .dd.md), ddocs build, deliver the path.
Refs must resolve where the seat lives: every path a packet references must
exist in the WORKTREE that seat will occupy — a gitignored or main-clone-only
path (scratch/, .harness/temp/) resolves for nobody you dispatch. Vendor such
inputs into the plan's assets/inputs/ (sha-pinned, sanitized) before
dispatch. (Narwhal's find, first PM run 2026-08-28.)
Extension (spec — not yet built)
harness team new <slug>, a repo harness extension:
- Scan
git worktree list+ main'sdocs/plans/(and each worktree's) for the highestNNN-ordinal; next = max+1. git worktree add ../fs3-<slug> -b <ord>-<slug>from the main clone.- In the new worktree:
harness plan new <slug> --ordinal <ord>→docs/plans/<ord>-<slug>/with empty plan ddocs. - Copy
impl-guide.dd.json+ the three packet templates from this skill'stemplates/into the plan folder;ddocs buildeach. - Print an envelope: worktree path, branch, plan folder, next_action ("prime: write the plan, then the impl-guide").
Until it exists, prime performs steps 1–4 by hand (that is part of the prototype — capture what hurts).
04 同仓库更多 Skills
flowspace
暂无简介
flowspace
暂无简介
add-provider
Build one fs3 provider adapter (Embedder/Summarizer) end-to-end as an independent worker packet — module, stub tests, keyed contract leg, snap-in recipe. Use when adding any new LLM/embedding provider to fs3-providers.
add-language
Add one tree-sitter language to the fs3 scanner — grammar wiring, fixture, whole-tree test. Use when extending fs3-parsers language coverage.