Design Notes¶
Status¶
Placeholder for initial design notes on context retention.
Purpose¶
This document is the working note for how workspace-mcp should retain stable context that helps agents and maintainers recover architecture, tooling, and operational intent without broad repo scanning.
It complements:
docs/architecture.mdfor the high-level modelWORKSPACE_MCP_ARCHITECTURE.mdfor the fuller architecture notedocs/context/contracts.mdfor boundaries and rulesdocs/context/workflows.mdfor stable operating paths
ADR Review Notes¶
Current state in this repo:
- no dedicated
docs/adr/directory exists yet - ADRs are treated as part of the expected repo contract
- architecture guidance currently lives in
docs/architecture.mdandWORKSPACE_MCP_ARCHITECTURE.md
Implication:
- the repo already assumes ADR-style authority, but still needs an explicit ADR index and decision-record location if decisions are to be retained systematically
Initial Context Retention Policy¶
Retain only stable, reusable context in versioned documents. Prefer small indexes and routing documents over large narrative dumps.
Recommended retained context categories:
- Architecture
- system model
- authority order
- major components
-
boundary decisions
-
Tools
- MCP resources and tools
- registry generation scripts
- server entrypoints
-
local operating commands
-
Contracts
- manifest schema expectations
- repo participation requirements
-
compatibility and migration rules
-
Workflows
- discovery flow
- provisioning flow
-
update and validation flow
-
Decisions
- ADR index
- individual decision records for changes that affect authority, routing, schema, or compatibility
Proposed Document Set¶
Suggested baseline set for context retention in this repo:
docs/architecture.mddocs/context/design-notes.mddocs/context/contracts.mddocs/context/workflows.mddocs/context/capabilities.mddocs/adr/index.mddocs/adr/ADR-0001-context-retention-policy.md
Initial Design Questions¶
- What qualifies as durable context versus session-only working notes?
- Which decisions require a formal ADR instead of a design-note update?
- Should tool descriptions live in one consolidated catalog or next to each implementation area?
- How should generated registry artifacts be documented versus regenerated?
Next Notes To Author¶
- ADR index placeholder
- first ADR for context retention and authority precedence
- tool catalog for server, scripts, and generated registry flows
- ownership note for who can change schemas, manifests, and routing behavior