Isolate Project Streams
Required sequence
- Resolve the workspace, project, agent, session, workstream, lease, intent, and correlation IDs.
- Reject missing, ambiguous, untagged, or foreign context.
- Confirm the lease declares roots, tools, expiry, write mode, and side-effect budget.
- Permit project-local context and immutable universal policy only.
- For a project switch, require checkpoint, lock and handle release, cache flush, old-lease revocation, root rebinding, and a negative old-project access test.
- For cross-project reuse, require a sanitized, approved transfer package; import it as destination-owned material.
- Return a structured allow/deny decision and evidence receipt.
Operational commands
- Initialize the bounded workspace with
engineering-bootstrap workspace init. - Admit direct children of
projects/withworkspace discover. - Inspect the authoritative projection with
workspace status. - Bind exactly one project using
project activate. - For a switch, require
--context-reset-confirmed; verify the persisted checkpoint, revoked lease, rebound writable root, and negative old-project access receipt. - End the writable lease with
project release --context-reset-confirmed.
Hard boundaries
- One execution session may have only one writable project lease.
- Project-private memory, embeddings, prompts, logs, source, and agent state never enter global indexes.
- Cross-project access is deny-by-default. Ranking foreign context lower is not isolation.
- Private memory cannot be transferred. Promote only minimal generic capability material.
- The
runtime.workspace_manageradapter performs approved mutations and snapshots every replaced control projection.
Read scope contract for exact checks and failure behavior.
Runtime binding
- Controls:
runtime.project_stream_controls,runtime.workspace_manager - Effects: validation is read-only; initialization, discovery, activation, switching, and release require explicit approved workspace writes
- Activation: metadata-only at startup; load this body only after selection
Completion
Complete only after boundary tests prove foreign read, write, prompt/log exposure, and stale cache access are denied. A positive happy-path test is insufficient.