feat(coding-agent): finalize v0.8 Core lifecycle and project MCP hardening - #1224
Draft
sethkarten wants to merge 8 commits into
Draft
feat(coding-agent): finalize v0.8 Core lifecycle and project MCP hardening#1224sethkarten wants to merge 8 commits into
sethkarten wants to merge 8 commits into
Conversation
7 tasks
This was referenced Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v0.8 Core lifecycle and project MCP hardening
Links #1182.
Provenance
2857), fix(coding-agent): finalize timed-out worker stops instead of stranding registrations #851 (e9ef), and fix(coding-agent): self-heal stale worker registrations on resume #852 (14d6).b54droot ownership,1b375catalog,e599C05, andda683project MCP/openat.Delivered outcomes
Validation gates
tsgo.Evidence
/Users/milkkarten/.prime/agent/session-artifacts/019fdead-3a11-779b-b344-92432391502c/sub-469ba6c1/019ff0ce-028b-754a-9bdf-906aee5b2910/FINAL-MANIFEST.mdFresh security review: APPROVE.
This supersedes the old candidate topology, but does not close or otherwise mutate #1186.
Status
This is deliberately a draft and is not merge-ready or human-ready. MCP, Prompts, ACP, Eval, and Release work remains ongoing. No paid eval or release has been performed. No tag or version change is included.
Note
Finalize Core v0.8 kernel host-request lifecycle hardening and project MCP declaration pipeline
HostRequestHandlertype requiring binary(payload, context)signatures; handlers must be created viacreateHostRequestHandler— raw or forged functions are rejected at runtime viaassertHostRequestHandler.HostRequestContextwith per-callrequestId,generation,AbortSignal, andisCurrent()so handlers can detect staleness or revocation during teardown/replacement.KernelManagernow tracks all in-flight host requests, revokes them on teardown/replace, and awaits settlement (5 s timeout) before closing sockets, preventing stale handlers from surviving session replacement.McpDeclarationDocumentstorage inSettings,SettingsManagerread/write methods, a credential-free URL parser, redaction helpers, a saferunMcpDeclarationProbehandshake, and an immutablecreateMcpRuntimeDeclarationSnapshotcombining user and conditionally project declarations.ProjectMcpDeclarationAdmissiontoken backed by aMcpProjectTrustAuthoritythat uses device/inode identity and retained directory fds to mitigate path-race attacks; project I/O goes through a Python stdlib helper (project-settings-openat) with advisory locking and atomic replace.mcpCLI subcommand (parseMcpDeclarationCommand/executeMcpDeclarationCommand) for list/inspect/preview/test/add/enable/disable/remove, with project-scope operations requiring a valid admission derived from global trust policy.AgentDaemonandDaemonSupervisornow capture an immutableagentFamilyCatalogEntries()snapshot before any wake/route decision, preventing TOCTOU mismatches; sibling authorization requires exactly one unambiguous catalog-resolved parent.filterPersistedDaemonLaunchEnv.(payload, context)and be wrapped withcreateHostRequestHandler; unary handlers throw at dispatch time.📊 Macroscope summarized da683ec. 28 files reviewed, 0 issues evaluated, 0 issues filtered, 0 comments posted
🗂️ Filtered Issues
No issues evaluated.