Generalizes the chain predecessor to needs sets, adds skipped as a terminal
step status with a transitive cascade, encodes each-step items (fail-soft,
zero items fail the step, failed items fail the run), and reserves at most
min(MaxWorkers - 1, 4) concurrent steps per workflow run inside the global
pool. Commits a run's outcome only after every step settled, so skip
propagation completes before a run is called failed.
Move the extension from ~/.pi/agent/extensions/subagent into this repo
and package it for pi install:
- Sources under src/, entry exposed via the pi manifest in package.json
- Host packages (@earendil-works/*, typebox) stay peer dependencies
- Tests, TLA+ spec, and research notes move along unchanged in behavior
- Gates (.pi/verify.json): typecheck, tests, tlc, smoke — all green
- Install: pi install git:git.rwiesner.com/alex/pi-subagent or local path
Scaffold the per-repo configuration the engineering skills read:
- docs/agents/issue-tracker.md: Gitea (git.rwiesner.com/alex/pi-subagent)
driven by the `gt` CLI, including Gitea's native issue dependencies and
the absence of sub-issues
- docs/agents/triage-labels.md: the five canonical triage roles at their
default label strings
- docs/agents/domain.md: single-context layout (root GLOSSARY.md + docs/adr/)
- AGENTS.md: the `## Agent skills` block pointing at each of the above