feat(harness): own bounded native Prime sessions - #6
Conversation
Implements the private native session-host slice for #5 using the reviewed Prime daemon contract.
|
Exact candidate opened as PR #6: #6 Commit-bound candidate:
The first review pass blocked the old head on poison-horizon, reaper-startup, UTF-8 serialization, and fake shutdown/coverage P1s. All were repaired. Fresh exact-head security/concurrency, API/privacy/consumer, and adversarial-test reviews now each report no P0/P1. Any head change invalidates those approvals. Validation at this head: 36 Prime unit; 24 deterministic session (+2 env-gated ignored); 23 daemon (+1 env-gated ignored); exact reviewed-artifact and stock-negative gates pass; wider harness passes with the identical main/candidate Receipts:
Trusted hosted release-build CI is running at https://github.com/rynfar/comet/actions/runs/33298602520, bound to exact head |
|
Trusted hosted release-build CI passed for exact reviewed head
Maintainer merge approval is recorded for this exact head/tree only, based on the three commit-bound no-P0/P1 reviews, exact validation/artifact receipts, zero review threads, and this successful hosted run. Any head change invalidates approval. |
Summary
Closes #5.
Adds Comet's private, host-only native Prime session owner on top of the merged daemon foundation (#4) and reviewed Prime dependency
7238ac8cff25962ada9ffe4530b7d4d1cddc1b47.bounded_daemon_ingress_v1proof before client construction;client_owned_sessions,chunked_snapshot,immutable_snapshot_transfer_v1, andauthoritative_owned_session_cleanup_v1before connect/create;draftclient-owned session using the public constructor plus instanceattach();complete_owned_session, or crash cleanup through fresh non-owner authoritativesettledstatus;Droponly transfer ownership to an already-live bounded runtime;Scope
This is deliberately not a user-visible Prime provider. It adds no
Harness, registry, RPC, synchronized document, settings, model selector, or UI. Prompts, streaming, steering, interruption, reconnect/resume, subagents, resources, advanced Prime features, and ACP fallback remain follow-up issues under #1.Dependency provenance
7238ac8cff25962ada9ffe4530b7d4d1cddc1b47d6065af7b7eb0bf8bb945d84618c4d06fecea66cf3d07ed75737310b447913ccValidation
Exact candidate:
3ba88e519d2b062dc705a4e17629ac135d286020(treebb5b90da8c098ac595a4b79afbda5ee4513d3d15)cargo check -p zeron-harness: passed; only 9 pre-existing ACP unused-value warningscargo clippyfor the library plusprime_sessionandprime_daemon: passed with only unrelated baseline lint classes allowedrustfmt --checkon every owned Rust file: passednode --checkon both private shims: passedgit diff --check, clean worktree, and post-suite process/socket/descriptor leak scan: passedThe excluded test,
shell_env::unix::tests::falls_back_when_interactive_attempt_hangs, fails identically atcrates/harness/src/shell_env.rs:330:74on this candidate and unchangedmain@de66c08c3687208effe2e2fdb514d6d690f1cc0a. It is outside this diff.Local validation receipt SHA-256:
b31279d53828b9b0a91aea54bde73d2922e85bc50fca83295ea7e1d60a1ca445.Artifact-install verification receipt SHA-256:
6e45ce08d50241ee9e8c1ba45e85f4b6a894c3532b6bae06f7c99c7380f3c12e.Review gate
This PR must remain unmerged until: