Epic: certify safe multi-LLM execution through securely isolated remote MCP #955
Open
opened 2026-07-28 02:49:51 -05:00 by jcwalker3
·
1 comment
No Branch/Tag Specified
master
feat/issue-708-mcp-namespace-attachment
feat/issue-664-break-glass-restart
feat/issue-665-restart-audit
fix/issue-700-durable-walls
fix/issue-704-prevent-env-workspace-bindings
feat/issue-707-cross-project-boundaries
fix/issue-690-review-profile-switch-guard
fix/issue-953-bootstrap-lock-provenance
feat/issue-949-native-fleet-inventory
fix/issue-943-runtime-context-helpers
fix/issue-945-owning-pr-renewal-evidence
fix/issue-941-scope-guard-bootstrap-wiring
docs/issue-930-remote-mcp-coupling-inventory
fix/issue-892-author-bootstrap-deadlock
fix/issue-686-detect-reject-manual-mcp
fix/issue-672-mcp-config-drift
fix/issue-689-deterministic-mcp-namespace
feat/issue-666-concurrent-mcp-restart-tests
feat/issue-659-maintenance-drain-mode
feat/issue-648-notifications-console
fix/issue-670-direct-master-incident
feat/issue-644-console-recovery
feat/issue-650-providers-insights
feat/issue-669-scoped-component-recovery
docs/issue-668-mcp-ha-rolling-restart
feat/issue-667-console-restart-controls
feat/issue-645-linkage-console
feat/issue-643-request-preview-initiate
fix/issue-897-permission-stale-runtime-classification
feat/issue-641-runtime-session-view
feat/issue-663-restart-classes
feat/issue-661-drain-proof-hard-gate
fix/issue-854-semantic-container-exclusion
issue-640
fix/issue-682-starlette-httpx2
v1.1.0
Labels
Clear labels
allocator
anti-stomp
architecture
bug
chore
codex
concurrency
contamination
control-plane
dashboard
database
design
documentation
enhancement
gitea
glitchtip
important
incident
incident-bridge
integration
jenkins
labels
leases
mcp
mcp-health
mcp-menu
multi-project
mutating
nice-to-have
observability
portability
preflight
protected-branch
queue
read-only
reconnect
recovery
refactor
release
reliability
resumable-review
reviewer
roadmap
safety
security
self-hosted
sentry
stale-runtime
status:blocked
status:in-progress
status:pr-open
status:ready
terminal-lock
testing
tracker
type:bug
type:feature
type:feature
type:guardrail
visibility
workflow
workflow-hardening
workflow-hardening
Controller-owned work allocator
Prevent concurrent LLM session stomping
Architecture / structural design
OpenAI Codex client / workflow session surface
Concurrent session safety
Workflow or session contamination incident
MCP control-plane coordination and allocation authority
MCP operational dashboard/queue view
Internal coordination storage (SQLite/Postgres)
Design / investigation, no implementation
Docs / runbooks
New feature or improvement
Gitea MCP workflow
GlitchTip integration
Operational or process incident requiring durable audit trail
Sentry-to-Gitea incident bridging
Integration testing
Jenkins integration
Label taxonomy management
Lease adopt/release/expire lifecycle
MCP server / tooling
MCP namespace and runtime health
MCP menu surface
Work spanning multiple monitoring projects or Gitea repos
Mutating action; requires gating
Observability, metrics, traces, error reporting
Cross-platform / portability
Shared preflight gates before mutation
Protected branch / stable-branch policy concern
Work queue visibility and allocation
Read-only, no mutation
MCP client reconnect/reload recovery path
Recovery paths for stale/foreign leases
Code refactor / restructure
Release / versioning
Reliability / failure handling
Persist and resume prepared review verdicts across sessions
Reviewer workflow tooling
Roadmap / umbrella issue
Safety rails and fail-closed mutation guards
Security / trust boundary
Self-hosted infrastructure integration
Sentry error monitoring integration
Stale backend daemon / runtime-vs-master parity failures
Issue is blocked
Issue is being worked on
Issue has an open pull request
Issue is ready for work
Terminal review lock (#332) path
Tests / test coverage
Issue tracker hygiene / meta
Bug or defect
Feature or enhancement
Feature or enhancement
Safety gate or guardrail
Workflow state visibility for LLMs/operators
Cross-tool workflow
LLM workflow coordination hardening
LLM workflow coordination hardening
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Scaled-Tech-Consulting/Gitea-Tools#955
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Coordination-only umbrella. This issue does not restate or duplicate the implementation scope of #887 or #929.
Summary
Two independent programs must both complete before unattended multi-client operation is safe: #887 (transactional author workflows for multiple LLM clients) and #929 (remote MCP deployment). Neither epic references the other, and neither owns the joint end state.
Goal supported: both — multi-LLM and secure isolation.
Problem
The two end states are coupled. Safe concurrency without credential isolation still leaves every workstation holding a Gitea token. Credential isolation without concurrency safety still serializes the fleet. Today nothing tracks the conjunction, and nothing prevents unattended scheduling from starting once only one half completes.
Current evidence
roadmap-labelled issue links them. #820 is the control-plane architecture program, and #887 explicitly classes it as different scope. #75 and #10 are closed.Scope
Non-goals
Dependencies
Definition of done
Both end states below hold, both canaries pass, and the combined gate is enforced in code rather than by convention.
Multi-LLM end state
Multiple independent clients work simultaneously without identity reuse, repository crossover, lease theft, duplicate work, invalid review, or unsafe recovery.
Secure-isolation end state
LLM clients hold no Gitea credentials or privileged infrastructure access, and interact only through authenticated, encrypted, server-authorized, sanitized MCP operations.
[THREAD STATE LEDGER] Issue #955 — linked epics, both canaries, the certification gate, and the combined completion state
What is true now
aad5c8b42361d380a8eeb07b94b90815e594c2c5.aad5c8b42361d380a8eeb07b94b90815e594c2c5; mutation_safe true; live_stale false; restart_required false.Linked canonical epics
This umbrella does not restate or duplicate either epic's implementation scope. It owns only the conjunction.
The two canaries
Each exists because the corresponding epic's completion gate is prose in an epic body that no code consults. #887 and #929 each name two clients; the operator runs five scheduled workers. #948 AC24 runs simulated clients inside pytest rather than five real concurrent ones. #700 records a session whose final report asserted no credential leak while its own trace showed token material, which is why #962 must be adversarial and externally run rather than self-asserted.
The combined certification gate
#964 — depends on #962, #963, and #899. It records a durable certification naming each canary, the commit certified, the timestamp, and the evidence, then makes enabling or running any unattended scheduled worker fail closed until both certifications are current for the code being run.
#899 answers "the operator turned it off." #964 answers "it was never certified on." They are different states with different lifetimes and neither substitutes for the other.
The requirement this umbrella enforces
Unattended scheduling remains fail closed until all three hold:
A certification for a superseded commit, an expired certification, or only one of the two canaries is insufficient. The certification store must live where an LLM client cannot write it, which is satisfied once #961 completes.
Combined completion state
Multi-LLM: multiple independent clients work simultaneously without identity reuse, repository crossover, lease theft, duplicate work, invalid review, or unsafe recovery. Owned by #887 and its children, #948, #949, #896, #916, #792, #793, #900, and proven by #963.
Secure isolation: LLM clients hold no Gitea credentials or privileged infrastructure access, and interact only through authenticated, encrypted, server-authorized, sanitized MCP operations. Owned by #929 and its children plus #956, #957, #958, #959, #960, objectively completed by #961, and proven by #962.
Certification: unattended scheduling is impossible until both canaries certify and #964 holds a current certification.
Critical path
What changed
What is blocked
Who/what acts next
Canonical Issue State
STATE:
open — both epics linked; both canaries tracked; certification gate tracked as #964
WHO_IS_NEXT:
author
NEXT_ACTION:
Begin the unblocked entry points: #931 and #956 for secure isolation, and #888, #889, #890, #891 for multi-LLM.
NEXT_PROMPT:
WHAT_HAPPENED:
A live roadmap audit at master
aad5c8b423found that the two programs required for safe unattended multi-client operation were tracked independently, referenced each other nowhere, and jointly left eighteen requirements without a canonical owner. This umbrella and nine sibling issues were created to close that gap: #956 through #962 for secure isolation, #963 for multi-LLM concurrency proof, and #964 for the combined certification gate. Roadmap summary comments were posted on #887 and #929.WHY:
Safe concurrency without credential isolation still leaves every workstation holding a Gitea token, and credential isolation without concurrency safety still serializes the fleet. Neither epic owned the conjunction, and nothing prevented unattended scheduling from starting once only one half completed. #964 makes that impossible by requiring both canaries to certify against the exact commit being run.
ISSUE: 955
RELATED_PRS:
954 (PR state closed, merge_commit_sha aad5c8b42361d380a8eeb07b94b90815e594c2c5; satisfies #953)
BLOCKERS:
none
VALIDATION:
Parity verified before and after every mutation and unchanged at
aad5c8b423with mutation_safe true, live_stale false, restart_required false. The create_issue capability was resolved immediately before each of the ten creations, and comment_issue immediately before each of the three comments. Every created issue was read back natively with issue state open, correct title, complete body, and valid workflow labels carrying exactly one type label and one status label. A duplicate search after the final creation returned exactly one instance of each of the ten new titles.LAST_UPDATED_BY:
jcwalker3 / prgs-author / AUTHOR / 2026-07-28