Commit Graph
21 Commits
Author SHA1 Message Date
alex 5baa7f4508 Merge ticket/t6-journal: journal workflow runs as resume-ready entries
Resolve the t4/t6 overlap in index.ts by keeping the trust-gated workflow
start path and adding the journal persistence hook and entry renderer.

Adapt journal step lookup to the item engine: an each-step's item children
share their step's id, so the run journal records one row per plan step from
the coordinator's aggregate status and joined output. Per-item journal rows
remain a follow-up. Adds a regression test for the seam.
2026-11-26 19:30:47 +00:00
alex 9a42c809d5 Merge ticket/t5-start-surface: add the workflow start surface and trust gate 2026-11-26 19:28:39 +00:00
alex 96095f9a10 Merge ticket/t4-each-fanout: execute each-step fan-out with fail-soft item semantics 2026-11-26 19:27:07 +00:00
alex f4e1535eec Execute each-step fan-out with fail-soft item semantics 2026-11-26 19:25:52 +00:00
alex cfa4a2389b Add the each-step split, template, and bound pipeline 2026-11-26 19:25:52 +00:00
alex e6f062f402 Journal workflow runs as resume-ready entries 2026-11-26 19:24:14 +00:00
alex 5922d8a8bc Add workflow start surface with trust gate 2026-11-26 19:23:38 +00:00
alex b09c649604 Merge ticket/t3-dag-runs: execute workflow plans as DAG jobs 2026-11-26 19:19:39 +00:00
alex 1ea40a68f2 Preserve workflow step ids when restoring job history 2026-11-26 19:18:50 +00:00
alex d24693fa04 Teach job surfaces about workflow runs and skipped steps 2026-11-26 19:18:02 +00:00
alex 3aabfb2e63 Execute workflow plans as DAG jobs on the manager 2026-11-26 19:18:02 +00:00
alex d8c2a6dfc8 Merge ticket/t2-tla-model: model the workflow run in the TLA+ scheduler 2026-11-26 19:12:47 +00:00
alex 2ed2ac9130 Merge ticket/t1-plan-module: workflow plan parsing, validation, and discovery 2026-11-26 19:12:21 +00:00
alex 6d9322d74b Model workflow runs in the TLA+ scheduler: needs sets, skips, per-run reservation
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.
2026-11-26 19:11:19 +00:00
alex 3e536b4e02 Add workflow plan parsing, validation, and discovery 2026-11-26 17:58:17 +00:00
alex 7753d6778a Add workflow item cap environment configuration 2026-11-26 17:58:17 +00:00
alex f644224eb0 Add agent wiki: goal page and index for the workflow layer pipeline 2026-11-26 17:53:19 +00:00
alex 7f15fe1754 Add domain docs (glossary, workflow ADRs) and wiki worker rules 2026-11-26 17:52:45 +00:00
alex 1915add8e6 Add Claude Code workflows research backing the workflow layer design (#3) 2026-11-26 17:50:56 +00:00
alex 4deccb95ef Turn the subagent extension into the pi-subagent Pi package
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
2026-11-25 13:40:16 +00:00
alex 496e6334c9 Configure agent skills: Gitea issue tracker, triage labels, domain docs
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
2026-11-25 13:35:51 +00:00