Repository navigation
feat(server): add bare launch with native receipts - #335
Conversation
|
What: Current bare launch passed real Codex and Claude shell-and-receipt proof, concurrent fresh Codex starts, native fork and native resume. Head Authenticated public current-protocol WebSocket launch, dispatch, subscription milestones and projection reads against an isolated source server on bestia used real subscription Codex 0.162.1 and Claude 2.1.299. Task state/project root Both concurrent fresh Codex threads ran actual native commands with exit 0, distinct homes and printed receipts: BARE_289_INTEGRATED_0_OK and BARE_289_INTEGRATED_2_OK. Claude’s actual native Bash result was BARE_289_INTEGRATED_1_OK, six tools and empty skills/MCP/slash inventory. Its exact three builtin plugin IDs are observed_retained and effective permissions bypassPermissions. Codex admitted/effective full-access. All three projections completed. Native fork inherited the source owner home, acquired a different native conversation/process, executed BARE_289_FORK_OK and retained the earlier conversation. Reopening only this task-owned source server against its own state then executed BARE_289_RESUME_0_OK and BARE_289_RESUME_1_OK on source and fork, exit 0. Both projections completed. Native protocol explicitly contains thread/fork and both thread/resume requests. No history copies/links or summary reconstruction. All task-native Codex rollouts have zero base text and developer messages, no unnamed sentinel and no receipt text in model history. Claude’s actual native transcript also has the shell marker and no unnamed sentinel. Skills/list discovery is honestly unobserved for prompt inclusion; partial inventories do not certify whole-launch removal. Sessions and roots:
Actual persisted and printed notice examples: Task-owned server PIDs 220497 and 240352 were stopped through captured process groups after proof. No live Chromeria restart, deployment, browser, memory write, credential publication or version bump. Reviews Requirements and who asked: User requires native Codex/Claude shell and receipts on bestia plus isolation and preserved supported paths before gated merge. |
|
What: Independent review requests one correction: valid long MCP request IDs prevent a supported bare Grok launch from opening. Verdict: REQUEST CHANGES, one blocking finding under the supported-provider-breakage bar. Reviewed cumulative head B1 [P2]: Bound the Grok home directory component independently of public thread-ID lengthLocation: provider-grok adapter.ts:463. Concrete public trigger: from an active admitted MCP caller, call Actual result: Independent discriminating proof: in separate reviewer scratch workspace Smallest correction: derive a bounded, stable directory name from the Grok thread ID, as the Codex repair already does for its home owner. Preserve Grok's per-thread separation and stable resume root. Add focused adapter/preparation coverage proving valid long public IDs reach the process boundary and reopen the same home, with the ordinary path unchanged. No auth, history-copy or retry machinery is needed. Searches for Inspected scope and cleared concernsRead the complete cumulative diff, exact-SHA source and surrounding callers, current Issue body, settled user decision, accepted revision 2.1 and both corrections/rechecks, implementation/native-defect/home-owner/repair handoffs, and current PR body/proof comment. Traced public client/MCP launch, delegation, batch, Spectrum, admission/read grants, destination/worktree resolution, persisted schedules and checked sends, peer capability/retry guards, role/persona/context suppression, final addition delivery, resume refusal, rollback/native-fork carrier handling, provider controls and receipts, and omitted-bare compatibility. The Codex owner is server-stamped for fresh creation and inherited by native forks; raw launch requests cannot provide it and client resolved-state dispatch is refused. Its hashed component addresses this long-ID mechanism. Managed Codex retains its credential route; no credential-copy, new OAuth or bare lock was introduced. OpenCode config covers both build and plan, and per-prompt session permissions preserve native plan edit restrictions. Claude records the exact three Evidence and remaining proof limitsInspected the actual parent focused-test log: 47 files / 1,275 tests passed. I did not rerun that suite or typechecks. Inspected task-owned raw native protocol and Codex rollouts, rather than accepting the summary file alone: fresh sessions have distinct roots/native IDs, source/fork share the intended home, actual Required gap from this review: B1 repair and focused long-ID boundary proof on the changed candidate, followed by the required exact-head review/status. CI and the other independent review remain separate merge gates. Native recipe/inventory observations are partial; I claim no new integrated Grok/OpenCode/Cursor/managed-Codex execution, refresh stress result or delivery readiness. PR remains draft. Existing excluded follow-ups remain #315 native refresh, #316 exact integrations, #317 immutable bodies, #318 Cursor prompt, #319 client controls, #320 OpenCode 2, #321 Grok helpers, and Agent Observer #92. No duplicate follow-up or settled decision was reopened. Requirements and who asked: User #289 and this review brief require one maximum-stripping bare mode, admitted native tools, explicit/body-only additions, honest receipts and working supported providers across callers; this serves Drafters and Spectrum in the Objective. Reviewer: GPT-6.1 Sol through Codex, actual configured reasoning effort medium. This running harness exposes no in-turn effort control, so high effort is not claimed. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
|
What: Sol found one Grok path-length blocker, and CI found a missing BareLaunch fixture dependency. Current published head remains CI Test Server 6 failed four cases in Repair continuation Requirements and who asked: User requires working supported providers, current exact-head Sol/Grok success and green CI before merge. |
|
What: The Grok path and CI fixture repairs are complete; bare launch is now integrating main’s new native ContextMD hooks. Repair handoff at local Main is now Implementation continuation ordinal 5 owns the sole workspace/branch writer. It will publish exact base/head and focused normal/bare lifecycle evidence. Parent then refreshes public native artifact proof, pushes, requests fresh Sol/Grok comments/statuses and verifies CI before merge. Prior exact-head review remains historical; the active Grok round 1 is still pinned to that old head. No native service or live-state mutation accompanies this source integration. Requirements and who asked: User’s current-main rebase instruction and settled bare exclusion of ContextMD serving/context. |
|
What: Independent review of Why: The Grok home directory uses the whole encoded application thread id as one filesystem component, and a UUID MCP namespace plus a long accepted So what: The implementation owner bounds that home name on a new exact head. This review does not certify native resume, whole-context stripping, or CI, and the PR stays draft. Requirements and who asked: The user, in #289, asked for one bare mode, maximum harness-supported stripping, honest receipts, and full native shell and file tools only inside admitted authority. The parent asked for this independent Grok review of exact head Deleted: A second reduced mode, bwrap, normal fallback, auth copies, version bump, deployment, follow-ups #315-#321 and agent-observer#92, optional UI, the Cursor account gate, and any live native or subscription call by this review. Bottleneck: Checked myself: This is the same reachable break Sol reported. I did not treat later unpushed commits or the moving worktree as the candidate. The live PR head at comment time is still No second behavior blocker under the stated bar. I found no reachable launch that grants access the user did not ask for, and no harness-removable content left off the receipt, on the callers and provider edges below. The missing Checked on this head, without re-running the suite:
Required proof gaps, not certified by this review: parent-owned native resume and whole-context evidence, Cursor's account-gated prompt, and CI. Partial native observations do not certify the whole context. ContextMD rebase work after this head was not part of this review. |
fa828ee to
8dd683b
Compare
|
What: The pushed ContextMD integration passes required Codex/Claude native proof, but an additional integrated Grok check found a profile-default mismatch before inference. Published head The added long-ID Grok public launch reaches its bounded native home and session, proving the path repair. Its exact pre-inference gate then reports unexpected kill_command_or_subagent, get_command_or_subagent_output, wait_commands_or_subagents, scheduler_create, scheduler_delete, scheduler_list and loop. It refuses before session/prompt, so no unexpected model tools were used. The task-native record contains only initial system text, not a submitted task. I corrected the earlier inference with a controlled native metadata comparison on installed Grok 1.0.52. Using the exact production profile (name/description plus deny14, no tools/allowedTools) reproduces 12 tools and loop, without a model prompt: Simply denying the six extra tools fails native session initialization because background shell defaults require output/kill helpers. A scheduler=false experiment was unnecessary on reversal and is discarded. The smallest correction retains deny14 and the inventory gate, and restores the single positive native-tool field. Earlier claims that this field is entirely inert are superseded; no allowedTools field, retry, extra permission or new mode is needed. Runtime proof still decides the complete integrated recipe. Repair continuation ordinal 6 owns the only source writer. Parent stopped task-only proof server captured PID 543052 before handing back source. No live Chromeria restart/database, deployment, browser, memory write or credential publication. New independent review is postponed until this known native defect is repaired; no prior status is carried forward. Requirements and who asked: User requests native shell/file defaults, stripped unnamed extras and working supported providers; current native proof exposed a real recipe gap. |
|
What: Current candidate passes authenticated bestia native bare shell launches, receipts, concurrent Codex startup, native fork and persisted resume. Candidate Actual native command outputs: Codex native sessions: Representative emitted receipts: Evidence retained outside tracked source in task root The proof collector initially treated Requirements and who asked: User #289 requires real Codex/Claude shell commands and receipts on bestia plus honest harness limits. |
|
What: Fresh independent Sol round 2 passes cumulative PR #335 at Verdict: PASS, reviewed exact head Prior blocker and current repairsB1 is cleared. Grok's adapter hashes the complete application thread ID into The final Grok metadata correction retains the original deny14 and adds exactly the six native foreground tools. I inspected both the production metadata path and the regression's serialized Main's ContextMD lifecycle is bypassed at its owners before staging, installation accounting, attachment, native-fork accounting, rollback lookup/accounting and reservation cleanup for bare threads. ProviderSessionManager and the ACP runtime-input builder also discard accidental native creation instructions for bare. Normal Grok retains its lifecycle, and ACP session/new merges normal creation rules and native metadata into one object. The memory fixture supplies the new BareLaunch dependency alongside ContextmdServing while retaining its substantive lifetime/GC assertions. Cumulative inspected scopeRead the full cumulative Git diff and matching Traced client RPC, MCP top-level launch/delegation/batch, Spectrum, ordinary and checked schedules/replay, remote persisted intent and every-attempt destination capability guard; caller ceilings and realpath read grants; server-owned native-home identity and client-forging refusal; role/persona/ContextMD/handoff/restart/app-context suppression; final adapter-facing named-body delivery; accepted-native carrier, rollback/native-fork inheritance and resume failure; supported-provider controls, concrete unsupported refusals, and receipt evidence. No concrete source-reachable launch was found that grants unrequested access, leaves harness-removable content without receipt disclosure, or breaks a supported provider. Native file and managed Codex credential routes remain distinct. Native forks retain the source's initialized home while fresh owners have separate homes/processes. Claude retains its exact three builtin plugin identities and discloses uncertain init timing. OpenCode covers both effective build and plan, reconciles session permissions before prompts and preserves native plan restrictions; external servers and 2.x refuse. Cursor's SDK controls remain supported with the unauthenticated prompt-replacement gate disclosed. Antigravity and adapters lacking a demonstrated stripping interface refuse concretely. Omitted bare intent retains the normal path. Existing notice rendering covers web/desktop/mobile receipts; no new UI control is in scope. No source, Git, service, browser, native CLI/model, credential, memory, version, merge or deployment mutation was performed by this review. I did not run tests or create a reviewer worktree. Evidence inspected and proof limitsInspected actual focused logs, rather than handoff counts alone: Inspected current task root The corrected collector waits for positive terminal statuses on the same launches. Its earlier This review does not certify whole-context stripping from partial inventories, every possible addition, managed-Codex/OpenCode/Cursor live execution, credential-refresh stress, CI, merge readiness or deployment. Receipts keep planned controls, known retained native content and unobserved categories distinct. Earlier native records remain evidence only for their own heads. No new follow-up was established. Existing excluded owners remain #315 native refresh, #316 exact integrations, #317 immutable bodies, #318 Cursor prompt, #319 client controls, #320 OpenCode 2, #321 Grok helpers and toolboxmd/agent-observer#92; no duplicate or settled decision was reopened. Requirements and who asked: User #289 and this review brief require one maximum-stripping bare mode, full native shell/file defaults within admitted authority, named/body-only additions, honest receipts, supported-provider correctness, and a fresh independent Sol exact-head review; this supports Drafters and Spectrum in the Objective. Reviewer: GPT-6.1 Sol through Codex, actual configured reasoning effort medium. High effort was requested if available; this running harness exposes no in-turn effort control, so high effort is not claimed. No other agents. |
|
What: Independent review of Why: A maximum-length public request id now gets a 71-byte So what: This exact head can take Verdict: PASS, no blocking finding. Reviewed cumulative head Checked repairs
Cleared on this headNo source-reachable launch grants shell, file, or MCP access beyond the admitted runtime mode and named additions. Client Proof limitsI did not rerun tests or native providers. I read No new follow-up. Existing exclusions remain #315, #316, #317, #318, #319, #320, #321, and toolboxmd/agent-observer#92. Requirements and who asked: The user, in #289, asked for one maximum-stripping bare mode, honest receipts, and full native shell and file tools inside admitted authority. This round asks for a fresh Grok review of exact head Deleted: A second mode, bwrap, normal fallback, auth copies, transferring the Bottleneck: The three source-reachable breaks named for this head: Grok home length, ContextMD lifecycle, and foreground tool selection. Checked myself: Canonical operations Verification and code-review method, issue #289, the settled decision, the revision 2.1 corrections, both prior PR findings, and the repair handoffs. Exact source for the home hash, ContextMD guards, session metadata, caller intent, home-owner stamp, and receipts. The logs named above. Live head matched Reviewer: Grok 4.7. This harness exposes no separate effort control, so high effort is not a configured setting I can claim. |
* wip: preserve bare launch implementation before upstream rebase * feat(server): add bare launches with native context receipts * fix(server): isolate fresh bare Codex homes and correct Claude receipts * docs: link bare launch pull request in feature map * fix(server): bound bare Grok homes and restore memory fixture * fix(server): exclude bare threads from ContextMD lifecycle * fix(grok): select foreground tools for bare sessions
What: Add one bare launch mode with native shell/file tools and receipts across supported providers.
Why: Narrow tasks currently inherit unrelated harness and Chromeria context, and the manual Codex wrapper denies PTY creation.
So what: Merged as
f23fad2d94a8832c744fc679948fefb1d5f3b11b; deployment rides the planner’s next batch.Closes #289. Implements the settled user decisions and accepted Opus design, including the Sol and Grok correction verdicts recorded on the Issue. Bare intent persists through public launch calls, delegation, Spectrum, schedules, remote routing and native recovery. Admitted permissions retain caller ceilings; additions are explicit, and a skill contributes only its body. Receipts distinguish planned controls, actual observations and retained harness content.
Codex, Claude, Grok and OpenCode v1 have stripping recipes supported by native evidence. Cursor supports the SDK controls with its unauthenticated custom-prompt gate disclosed. Antigravity and other adapters lacking a demonstrated stripping interface refuse with concrete reasons. Normal launches keep their existing path. No version bump, new credentials or deployment.
The original Codex
Permission denied (os error 13)was caused by bubblewrap device binding denying PTY creation; production bare launch uses no bubblewrap. Integrated proof also caught shared Codex SQLite bootstrap state, repaired with a fresh-thread native home owner inherited by native forks, plus exact Claude builtin plugin identities.Proof and limits: current-head authenticated native proof on
2b8baee7bd65dec9e4f7720c6f4049ef2ac57ae0, rebased onto main9f46c833b19223e38a1dfb654d2735e54d47c1f7. Bare Codex, Claude and Grok each ran actual shell commands and emitted receipts; two fresh Codex threads ran concurrently with distinct homes; native fork and persisted source/fork resume passed. The Grok launch used the maximum public request ID length. Native records corroborate outputs and receipt limits. Integrated ContextMD lifecycle hooks are bypassed in bare mode, with ordinary-launch control regressions.Focused proof: 47 files / 1,275 tests before subsequent affected changes; refreshed ContextMD integration proof passed 17 files / 561 tests and five affected typechecks; final Grok profile correction passed 3 files / 52 tests, provider-grok typecheck, scoped lint/format and fork checks. CI owns complete-suite proof. Final worker handoff and ContextMD integration handoff retain commands and candidate identity. Sol and Grok fresh exact-head reviews passed; both required statuses are success from the authenticated repository account, and complete CI is green. Native proof and acceptance are satisfied within the declared provider limits. Managed Codex, OpenCode and Cursor were not live exercised by this integrated run; their adapter support and limits are stated above.
Upstream-first search found no bare/minimal launch candidate to port; the Issue records the searched upstream revision and results. Optional client controls, named integrations and other adjacent work remain linked follow-ups. Shared notice rendering carries receipts to web, desktop and mobile; no new UI control or browser verification is part of this PR.
Requirements and who asked: User #289 requests maximum harness-supported stripping, honest receipts, full native tools within admitted authority, explicit additions/body-only skills, six-provider decisions, native proof and gated merge.
Deleted: Separate reduced mode, dependency closure, shared fresh native bootstrap state, OS masking, normal fallback, auth copying/locks, version bump and deployment.
Bottleneck: None for merge; native proof, independent reviews and CI passed.
Checked myself: Accepted design/recheck comments, upstream search, actual rebased source and focused test/typecheck output, authenticated native launch/projection/receipt, native transcripts and concurrent startup stderr.
Implementation and integration: GPT-6.1 Sol through Codex; design: Claude Opus 5.5; roasts: GPT-6.1 Sol and Grok 4.7.