agent-orchestrator/packages
Harsh Batheja 058b3bdf14 feat(pipeline): v1.2 — command executor + builtin router + builtin compose
Adds three new stage executor kinds to the pipeline engine:

- `command`: shell-based stages parsed via stdout JSON/JSONL. Refuses
  fork PRs unless the stage opts in via Stage.allowFork; the refusal is
  surfaced as a STAGE_FAILED with the documented message. Not
  talk-to-able (per locked decision 10).
- `builtin/router`: replaces the original SEND_TO_AGENT reducer command;
  reads upstream findings, formats a payload, and delivers it to a
  target session via BuiltinTaskContext.sendToSession.
- `builtin/compose`: merges findings from multiple upstream stages into
  a single composite json artifact for downstream consumption.

Other surface changes:
- PRInfo gains `isFromFork: boolean`; scm-github and scm-gitlab populate
  it from `isCrossRepository` / source-vs-target project ids.
- Stage gains optional `allowFork` flag.
- New BuiltinTaskContext interface exposes only the capabilities
  builtins need (readSiblingArtifacts, sendToSession).
- Shared findings-parser extracted from agent.ts so command + agent
  stages validate ArtifactInput records the same way.
- Engine dispatches START_STAGE by executor kind; missing
  command/builtin executors fail the stage with a clear error rather
  than hanging.

Closes #1631
2026-05-16 23:00:56 +05:30
..
ao fix(agent-plugins,lifecycle): distinguish indeterminate probe from "not found" + bump ps timeout (closes #1838) (#1839) 2026-05-14 21:50:39 +05:30
cli chore(pipelines): merge main into pipelines (40 commits) — resolve conflicts 2026-05-16 22:13:41 +05:30
core feat(pipeline): v1.2 — command executor + builtin router + builtin compose 2026-05-16 23:00:56 +05:30
integration-tests fix(cli): reap daemon children on stop+SIGINT, sweep orphans on start (closes #1848) (#1849) 2026-05-15 03:38:09 +05:30
plugins feat(pipeline): v1.2 — command executor + builtin router + builtin compose 2026-05-16 23:00:56 +05:30
web feat(pipeline): v1.2 — command executor + builtin router + builtin compose 2026-05-16 23:00:56 +05:30