Plan of Record (Ordered Execution)¶
Status: Superseded
Canonical Roadmap: ai-tools-stack/docs/roadmap.md
This page consolidates all proposals and PRDs into a single, ordered execution sequence. It is intentionally Go‑architecture focused: concurrency safety, context propagation, and production operational boundaries are explicit in each phase.
Principles (Go Architect Evaluation)¶
- Context propagation is a contract: every long‑running or remote execution path must honor
context.Contextfor cancellation and timeouts. - Concurrency safety by default: all registries and caches must be thread‑safe under concurrent reads/writes.
- Errors are data: tool errors should be structured and preserved end‑to‑end rather than surfaced as raw panics.
- Stable seams first: prioritize interfaces, wiring, and deterministic behaviors before adding new feature surface.
Current Baseline (already in place)¶
These libraries and contracts are the foundation and must remain stable:
toolfoundation– core types + adapters + versioningtooldiscovery– registry, docs, search strategiestoolexec– execution, orchestration, runtime isolationtoolcompose– toolsets + skillstoolops– observability, cache, auth, resilience, healthtoolprotocol– transport, wire, content, session, task primitives
See the canonical stack roadmap for current status and version matrix: ai-tools-stack/docs/roadmap.md
Phase 0 — Spec Alignment & Server Correctness (P1)¶
Goal: Ensure the MCP server edge is protocol‑correct before expanding capability.
- MCP spec alignment
notifications/tools/list_changed- pagination/cursor consistency
- cancellation propagation
- optional progress forwarding
Docs: - Proposal: MCP Spec Alignment - PRD: PRD‑180
Phase 1 — Core Exposure (MVP Foundation)¶
Goal: Provide CLI, configuration, transport, and provider/backends for production use.
- Repo scaffolding + CLI surface
- Configuration layer
- Transport layer
- Tool provider registry
- Backend registry
- Middleware chain
Docs: - PRDs: PRD‑110, PRD‑111, PRD‑112, PRD‑113
Phase 2 — Protocol Layer¶
Goal: Normalize tools into composable, protocol‑agnostic sets without changing core semantics.
- tooladapter → now
toolfoundation/adapter - toolset → now
toolcompose/set
Phase 3 — Cross‑Cutting Observability & Caching¶
Goal: Make the system operationally measurable and resilient.
- toolobserve → now
toolops/observe - toolcache → now
toolops/cache
Phase 4 — Enterprise Extensions¶
Goal: Enable scale, isolation, and advanced discovery without destabilizing core APIs.
- Multi‑tenancy core
- toolsemantic → now
tooldiscovery/semantic
Docs: - Proposal: Multi‑Tenancy - PRD‑132
Phase 5 — Agent Skills¶
Goal: Higher‑level capability composition for reusable workflows.
- toolskill → now
toolcompose/skill
Docs: - PRD‑151
Phase 6 — Runtime Expansion¶
Goal: Expand sandbox options and isolation strategies.
- toolruntime Docker backend → now
toolexec/runtime
Docs: - PRD‑141
Go Architecture Review (Summary)¶
- Context propagation: enforce in all public execution APIs; cancellation must be honored by toolexec/run and toolexec/runtime to avoid leaked goroutines.
- Concurrency safety: all registries must be RW‑safe; avoid maps without guards under write paths.
- Pagination correctness: use stable cursors and cap limits across list endpoints.
- Error semantics: preserve tool errors as structured data; avoid panics in runtime paths.
- Observability: add tracing hooks before multi‑tenant and semantic layers to avoid blind spots.