Commit Graph
55 Commits
Author SHA1 Message Date
alex 7cf6a3cc2c Merge ticket/ultra-t3: ultra mode with injected guidance and size guideline (#17) 2026-11-30 17:24:41 +00:00
alex 44e1fd2367 Merge ticket/ultra-t2: completion notices for ultra runs (#16) 2026-11-30 17:22:55 +00:00
alex d7f345ac04 Add completion notices for ultra runs 2026-11-30 17:21:35 +00:00
alex d7c311139c Add ultra mode with injected guidance and size guideline 2026-11-30 17:20:47 +00:00
alex a867d9460a Wiki: wave 1 complete (#15 merged) 2026-11-30 17:17:44 +00:00
alex 964c60d030 Merge ticket/ultra-t1: inline plans and the ultra tool (#15) 2026-11-30 17:16:14 +00:00
alex b89ba63fd0 Document inline plans in ADR 0005 2026-11-30 17:14:59 +00:00
alex d78d6fc31b Add inline plans and the ultra tool 2026-11-30 17:14:59 +00:00
alex 4e0e737ba3 Wiki: open the ultra-layer goal (spec #14, tickets #15-#19) 2026-11-30 17:11:36 +00:00
alex 03036c5903 Add ultracode research and proposal 2026-11-30 17:10:56 +00:00
alex b8e5c7eab5 Add live subagent dashboard and default to 16 workers 2026-11-26 20:43:59 +00:00
alex 7b3686f55d Wiki: #13 merged, frontier clear 2026-11-26 20:13:03 +00:00
alex 355fe866f1 Merge ticket/t13-journal-items: journal per-item rows for each-steps (#13) 2026-11-26 20:12:20 +00:00
alex 90c179a8b9 Describe per-item records in the journal docs 2026-11-26 20:11:09 +00:00
alex c6dae27ec4 Journal each-step items as per-item rows
Each `pi-workflow-run-v1` step record now carries `items`: one row per
fanned-out child with its source line, a stable per-item input hash, status,
attempt count, bounded output, and timings, alongside the step's aggregate
record. The format has shipped nowhere, so it is extended in place.

Item identity (`itemValue`) now rides the task identity into the child's
snapshot instead of living only on the manager's internal task, so the
journal reads the line the child actually ran rather than re-deriving it
from the source output. Item hashes key the plan, step, args, and item line
— never prior outputs — so identical items hash alike across runs, and item
outputs use the same bound and truncation marker as step outputs.

Persistence validates the rows (one-based index, required fields) and the
optional item identity on job snapshots. Round-trip tests cover restore,
bounding, and hash stability, plus a property test for the hash inputs.
2026-11-26 20:09:54 +00:00
alex 626b82c4ee Wiki: record the pipeline retro and its follow-ups 2026-11-26 20:05:39 +00:00
alex 2f09d007ce Require workers to paste the merge output in their reports
The t2 implementer claimed a merge it had not made; briefs since carried the verification wording per-brief. The rule belongs in the standing worker rules once, with a checkable criterion.
2026-11-26 20:05:39 +00:00
alex 01cea75342 Add an append-only state-log check as a verify gate
The 2026-11-26 pipeline session mangled committed wiki state-log bullets three times with prefix-anchored edits, each silent at edit time. scripts/check-state-log.ts fails when a state-log line present in HEAD is missing or modified in the working tree; additions pass. Wired as npm run wikicheck, on_settle in .pi/verify.json.
2026-11-26 20:05:39 +00:00
alex 8108628a1c Ignore .scratch/ (local working files: handoffs, draft tickets) 2026-11-26 20:00:21 +00:00
alex e38f45d4e3 Wiki: #12 merged, frontier is #13 2026-11-26 19:58:19 +00:00
alex 29b3e4c6a9 Merge ticket/t12-manager-split: extract the DAG workflow supervisor (#12) 2026-11-26 19:57:37 +00:00
alex d30afe89c1 Split workflow DAG supervision out of the manager
Move ready-step release, skip propagation, item fan-out and settle, the per-run cap, and workflow cancellation settlement into src/workflow-supervisor.ts. The manager keeps the FIFO pool, worker accounting, admission, and the job/task lifecycle, and hands a run to the supervisor through a small host seam. Behavior-preserving move; spec/SubagentJobs.tla untouched.
2026-11-26 19:56:43 +00:00
alex 298ebe79d3 Wiki: merge to main, 0.2.0 release, follow-ups #12/#13 filed 2026-11-26 19:52:50 +00:00
alex 908d6fda87 Make the smoke gate hermetic: isolate the agent dir so worktree runs don't collide with the user-scope install 2026-11-26 19:52:38 +00:00
alex 20414d5fb2 Release 0.2.0: declarative workflow layer 2026-11-26 19:51:46 +00:00
alex c0eae0c150 Merge workflow-layer: declarative workflow layer (spec #4, closes the implementation) 2026-11-26 19:50:52 +00:00
alex 9eded8da3c Wiki: review pass, pipeline closure, follow-ups and retro due 2026-11-26 19:46:30 +00:00
alex d4eb164b03 Fix workflow-layer review findings
Correctness: exclude workflow dispatch from child sessions, surface invalid workflow item configuration, reject {item} outside each-steps, and confirm every untrusted project directory once per workflow start. Refactors: share task settlement, status icons, validation failures, task identity construction, and workflow run state; normalize item counts to a map. Document YAML repair leniency and glossary wording.
2026-11-26 19:44:12 +00:00
alex 688ae96dfe Merge ticket/t7-authoring-docs: document workflow authoring skill and README section 2026-11-26 19:35:50 +00:00
alex 99bccb7091 Document workflows in the README 2026-11-26 19:34:42 +00:00
alex 35d8bb34a2 Add the workflow authoring skill 2026-11-26 19:34:41 +00:00
alex 52d0843df6 Wiki: wave 3 merged, follow-ups noted, frontier is #11 2026-11-26 19:31:18 +00:00
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 798fa52847 Wiki: wave 2 merged, frontier is #8/#9/#10 2026-11-26 19:20:31 +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 55171bc855 Wiki: wave 1 merged, process notes for retro 2026-11-26 19:13:44 +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