Skip to content

[EPIC] MCP admission, bounded context, and release-readiness trust boundary #172

Description

@Joncallim

Execution mode: tracking
VNext programme: #333
Canonical policy: docs/adr/0009-mcp-admission-contract.md
Bounded context: docs/adr/0008-filesystem-mcp-bounded-context-grants.md

Issue Type

Epic - MCP trust/release tracking. Do not dispatch this Epic directly to an implementation agent.

Context

Epic #172 established one fail-closed MCP admission and bounded-context trust model for the coding beta. Its implementation slices S1-S5 are completed and remain critical foundations under VNext; they are not throwaway Project-specific work.

Delivered behavior includes:

  • one canonical capability/admission classifier used across planning/preview/approval/handoff;
  • planning-only vs bounded read-only vs deferred/blocked live-MCP semantics;
  • explicit filesystem grant/denial/revocation/reapproval recovery;
  • privacy-preserving bounded context packet/run evidence;
  • protected Architect plan/session/evidence boundaries;
  • typed operator recovery/presentation surfaces;
  • append-only signed release/evidence/transition state and strict lock/lease/fencing contracts;
  • no live unrestricted MCP tool handles or credentials granted to workers.

S6 repository-side regression/controller scaffolding is also largely present. The remaining release-grade trust work is now tracked by #181/#357 rather than by reopening the entire Epic.

Desired Outcome

VNext reuses MCP admission/bounded-context/recovery/evidence as a stricter protected subsystem behind generic Resource/Capability/Grant/Operation contracts. No generic layer may bypass or silently weaken these decisions, and future live MCP/tool capabilities require the #336/#342 confinement/adapter security model rather than prompt policy.

Tasks

Canonical Invariants

  • Planning/prompt context is not permission.
  • Live MCP handles/credentials remain unavailable unless a future explicitly reviewed adapter/Capability is implemented through VNext confinement/Grant policy.
  • Required bounded project filesystem context is explicit, Resource-bound, recoverable and auditable.
  • Unknown/typo/unsafe capability requests fail closed; optional/deferred states remain distinguishable from broken installation.
  • Preview/approval/handoff consume one canonical admission decision for a fixed policy/health snapshot.
  • Host writes are not MCP filesystem-write grants; mutation authority belongs to the separate confined Operation path.
  • Bounded packet selected names/paths/excerpts/contents/prompts/credentials are not normal persisted evidence.
  • Signed evidence/transition identity, append-only decisions, lock order, leases and stale-owner fencing remain authoritative.
  • Browser/model presentation cannot grant recovery authority; server re-authorizes every mutation.
  • Generic VNext Resource/Grant/adapter code may wrap/reuse these contracts but not replace them with weaker editable/package policy.

Acceptance Criteria

Out of Scope

Technical Notes

Physical Epic-172 schema/protocol names may remain behind generic service interfaces until a separately justified migration proves equivalent trust/evidence. Do not perform schema aesthetic rewrites during VNext Phase 0-2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Priority 0: urgent bug or vulnerabilityenhancementNew feature or requesttracking-onlyREADINESS PROJECTION — Issue is a tracking/umbrella issue and is not implementation-dispatchable.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions