0.7.0: the pipeline engine

Spec: SPEC. Build log: PROGRESS. Research notes: engine extraction. A feature release on 0.6.1, released on 23 November 2026.

0.7.0 shipped in three build PRs: the engine extraction (#50), the SDLC on the engine runner (#59) and the CLI retirement (#60). Tevrin’s orchestration is now a reusable engine, and the software lifecycle is its first pack. Users see the same product. The release PR adds the docs and the release date.

What changed

  • Characterisation first (M54). The whole SDLC flow runs end to end on the Fake LLM provider, and every transition, gate, artifact and job is snapshotted. The snapshots are frozen: CI fails if one changes (FR-260, FR-261).
  • The engine (M55 to M61). New projects Tevrin.Engine.Domain, Tevrin.Engine.Runtime and Tevrin.Engine.Api hold the state machine, job queue, gates, artifact store, LLM layer and run log. Tevrin.Pack.Sdlc holds the SDLC. An architecture test stops any engine assembly referencing Aide.* or a pack.
  • String keys. Agent, artifact and gate kinds are string keys. Stored and wire values are unchanged, and openapi/api.json is byte-identical.
  • Definitions and packs. A pipeline is a YAML definition with a validator, a canonical hash and named C# extension points. Each run is pinned to its definition hash, so editing the YAML never changes a run in progress. Only manual triggers run.
  • One generic state machine. The old lifecycle machine, phase order, gate table and cascade table are gone. sdlc.pipeline.yaml now holds them, and every SDLC transition keeps its unit test.
  • Generic API and UI. Read endpoints, the timeline, run replay and gate decisions work for any definition. The engine UI adds a Pipeline tab, replay, a gate inbox and a prompt comparison, with no frontend code per pipeline. It lives in frontend/src/engine/ behind a lint boundary.
  • The SDLC on the engine runner (M62). All eight SDLC agents run through the engine AgentStageRunner. Hooks, context providers, tools, validate: guards and stage handlers carry the SDLC’s own behaviour. The old agent runner is deleted, and the snapshots and golden prompt tests are unchanged. At start-up, non-final runs pinned to the earlier 0.7.0 definition are re-pinned once.
  • The CLI is retired (M63). The tevrin command, the aide alias and their packages are removed. The API and personal API tokens stay. The Retired CLI page lists the files and the restore steps.

Amended requirements

Earlier Change New
CLAUDE.md rule 8, 0.1.0 FR-11 Lifecycle changes go through the engine state machine running the SDLC definition FR-287
0.1.0 phase order, gates by approval mode, invalidation cascade Read from sdlc.pipeline.yaml, with the same values FR-283, FR-289, FR-290
0.1.0 FR-23 enums String keys with the same wire values FR-269 to FR-271
0.1.0 FR-24 to FR-26, 0.6.1 plan validation Every SDLC agent runs on the engine runner FR-310 to FR-321
0.1.0 FR-52 and later CLI requirements Retired FR-322

New requirements are FR-260 to FR-322. There is no breaking API change.

Data and API

  • New tables pipeline_definitions, pipeline_runs and stage_executions. state_transitions, approval_gates, artifacts and agent_runs gain a pipeline run link, and agent_runs also stores the redacted input (capped at 1 MB) and latency. All migrations are additive.
  • projects.current_phase, status and checkpoint stay, written with the run in one transaction, so a rollback to 0.6.1 still works.
  • New read endpoints under /api/pipeline-runs, and engine hub events.
  • New error code DEFINITION_UNAVAILABLE (409): the run’s pinned definition names something this build doesn’t register.

Decisions

ID Decision
D-0.7.0-1 Extract in place in this repo with new Tevrin.* projects. Aide.* stays as the SDLC host
D-0.7.0-2 One feature version covering research steps 1 to 5. Packaging and other packs are out
D-0.7.0-3 schedule and webhook triggers are validated but refused at load
D-0.7.0-4 The generic API is read-only plus gate decisions. SDLC runs move through the project endpoints
D-0.7.0-8 pipeline_runs is the source of truth. The project columns stay as a same-transaction copy
D-0.7.0-9 The engine’s run is a pipeline run, because “runs” already means agent runs
D-0.7.0-24 The OpenAPI contract stays byte-identical
D-0.7.0-38 The whole SDLC pack also moves onto the engine runner, in a second build PR
D-0.7.0-39 The snapshot freeze holds through the SDLC move, with no re-baseline
D-0.7.0-41 Non-final runs on the earlier definition are re-pinned at start-up
D-0.7.0-45 The CLI is retired. The snapshot is the docs page plus commit e8c3990. API tokens are kept
D-0.7.0-46 The engine keeps the PolyForm Shield licence for now
D-0.7.0-47 Stored agent-run inputs keep the 1 MB cap
D-0.7.0-48 JsonSchema.Net stays at 8.0.5, the last MIT release

See the SPEC for all 48 decisions. The change is covered in Pipelines and packs and Pipeline definitions.