What we keep, adapt, freeze, and retire

Sagewai has more subsystems than any one product story needs. This page says which of them the Work coordinator is actually built on, which remain available as lower-level capabilities, and which have stopped being a product surface — so you can tell a supported path from a parked one before you build on it.

Nothing here is a deprecation schedule. Git history is the archive, a classification promises no backward compatibility, and none of it authorises mass deletion.

The four classifications

  • Keep — already supports the Work control plane, or is a useful capability with its own tests.
  • Adapt — reuse it and add the smallest Work-facing surface required; do not rewrite it.
  • Freeze — the code and its tests stay, but it is not extended as an alternate product centre without new evidence.
  • Retire as a product surface — the narrative and the entry points go once their direct consumers and a replacement are checked. The code may well stay.

The decisions

Package or subsystemDecisionRepository evidenceBoundary
packages/sdk/sagewai/workKEEPFrozen Work models, event store, Evidence Board, TaskCapsule compiler, operator runtimes, discipline controller, software profile, and tests under packages/sdk/tests/work/.The generic kernel owns Work state and control semantics. Profile-specific software and optional delivery concepts stay behind profile context.
packages/sdk/sagewai/cli/work.pyADAPTpackages/sdk/tests/cli/test_work_cli.py covers required project scope, direct and GitHub start, status, resume, pending, approval, and explicit Fleet selection.Keep the CLI a thin operator surface over canonical durable state. Do not create a second lifecycle in command code.
packages/sdk/sagewai/fleet and packages/sdk/sagewai/cli/fleet.pyADAPTExisting registration, heartbeat, lease recovery, task persistence, project isolation, and worker auth are reused by Work. Work-specific tests cover heterogeneous capabilities and worker loss.Reuse Fleet dispatch. Native Codex and Claude authentication stays on workers; central tasks remain credential-free. Standalone agent-task dispatch remains available.
packages/sdk/sagewai/artifacts, packages/sdk/sagewai/db, and packages/sdk/sagewai/sandboxKEEPThe Work store uses the established database layer; content-addressed artifacts and networkless disposable verification have focused tests.Reuse persistence, artifact, and sandbox primitives. Add no new graph, vector, scheduler, or storage service without recorded failure evidence.
apps/backend and packages/sdk/sagewai/adminADAPTCanonical project-scoped Work routes and pending attention are tested in packages/sdk/tests/admin/test_work_routes.py; Fleet authorization has multi-tenant tests.The backend/store remains lifecycle owner. API routes expose projections and actions, not duplicate state. The first-time setup wizard remains the authentication boundary.
apps/adminADAPTapps/admin/app/work/page.tsx, Work API types, and apps/admin/e2e/15-work-control.spec.ts; the coordinator console — apps/admin/app/board/page.tsx, apps/admin/app/tasks/[id]/, apps/admin/app/decisions/page.tsx, apps/admin/components/coordinator/, and apps/admin/e2e/16-coordinator-*.spec.ts — reuse the existing Next.js application and design system.Keep a responsive Work Control Console in the existing app. Do not start a native mobile application or add speculative dashboard metrics.
apps/docs, root README.md, and packages/sdk/README.mdADAPTThese are the public entry points and previously centered agent/workflow examples rather than canonical Work commands.Make Work the primary narrative while linking retained lower-level capabilities accurately. Never publish private design inputs.
packages/sdk/sagewai/engines and legacy workflow APIs in packages/sdk/sagewai/coreFREEZE as product centerTheir implementations, examples, and focused test suites remain in the repository and have real consumers independent of Work.Retain and maintain them as lower-level or parked capabilities. Do not route the canonical Work lifecycle through them or preserve obsolete claims through aliases.
packages/sdk/sagewai/autopilotRETIRE as product surfaceThe coordinator ships what Autopilot narrated, over durable state: packages/sdk/sagewai/work/tasks/ (schedule, templates, transitions, feed, health), the Task API in packages/sdk/sagewai/admin/tasks_routes.py, sagewai task, and the console at apps/admin/app/board, apps/admin/app/tasks, and apps/admin/app/decisions. The lifespan runner, the router mount, the sidebar section and pages, the Autopilot e2e specs, the docs page, the README claims, and the sagewai autopilot CLI registration are removed.The cleanup pass ran (2026-09-05, platform #112 and its follow-up): the product surface, the admin routes and the mission runtime (controller, healing, mission, the sealed matcher and tool scopes) are gone with their tests and examples 28, 30 and 35. curator, eval_harness, routing, sagewai_llm, blueprint, agent_graph and models stay as retained library code, tested and importable, with examples 36, 38 and 38a. This is not a compatibility-alias instruction.
gateway, harness, mcp, connections, memory, observability, safety, and sealedKEEP as supporting capabilitiesEach has an existing package boundary and focused tests; Work can reference capabilities without absorbing their domain models.Keep available for evidence-backed contracts. They are not mandatory dependencies of a basic software Work run.
Software delivery adapters under packages/sdk/sagewai/work/profiles/softwareKEEP as optional extensionSoftwareContractContext.delivery is optional; lifecycle tests prove repository-only completion, while delivery tests exercise explicitly selected contracts.No deployment provider, Cloudflare account, or external delivery dogfood is required for Core Work. Delivery runs only when a WorkContract activates it.
Legacy copy that presents Autopilot, workflows, or the Training Loop as Sagewai's primary pathRETIREThe actual primary CLI is sagewai work; canonical state and pending attention are implemented in WorkStore and shared by CLI/API/console. Git preserves the former copy.Remove the obsolete product-center claim surgically. Do not delete the underlying packages or manufacture compatibility promises.

Changing one of these

A decision moves only on one of four kinds of evidence: a current WorkContract requires the subsystem; a reproducible runtime or retrieval failure identifies the minimum missing mechanism; repository consumers and tests prove a retained surface is obsolete; or an accepted security or correctness finding requires a boundary repair.

Tool availability, credentials, hypothetical future consumers, and convenience are not evidence.