Skip to content

Rust review sweep + runtime fixes, reconciled onto main#1468

Merged
NathanFlurry merged 623 commits into
mainfrom
claude/rust-review-and-runtime-fixes
Jun 14, 2026
Merged

Rust review sweep + runtime fixes, reconciled onto main#1468
NathanFlurry merged 623 commits into
mainfrom
claude/rust-review-and-runtime-fixes

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

Large branch landing the Rust Agent OS review/hardening sweep plus follow-up fixes, rebased and 3-way-merged onto current main.

What's in it

  • Revision review sweep: the full SLOP review of the Rust revision stack (60 stray empty revisions abandoned; 18 fixes applied).
  • 18 review fixes: pty waiter-queue cleanup (kernel), bounded session output queues (v8-runtime), unzip parser bounds/allocation hardening, sidecar permission-request wiring (client), ctrlc/uu_sort WASI signal handling, CJS runtime-export fallback, sidecar prompt-interrupt enum exhaustiveness, formatting, and description corrections.
  • Runtime fixes (~/.agents/todo/agent-os-runtime-fixes.md): shell-mode exec routed through the VM /bin/sh -c (redirect emulation deleted), vanilla Pi bash via the unmodified SDK (process.kill pid/pgid semantics), VmLimits typed limits config + classified inventory audit, and CLAUDE.md constraints (shell-grammar, Linux-semantics, locking/polling/parsing/jj-hygiene).

Merge reconciliation onto main

main diverged (origin added releases + node_modules + base-layer work). This branch was rebased onto it and the 33 true 3-way overlap hunks across agent_os.rs, session.rs, service.rs, tests/service.rs, execution.rs were resolved (union imports, audit-merge of same-fix duplicates picking the more-mature implementation, take-main for superseded code). Reconciliation is the final merge: commit.

Reviewer attention (medium-confidence resolutions)

  • session.rs "superseded → main" hunks (our older code yields to origin's typed sidecar-binary-path plumbing).
  • service.rs/agent_os.rs same-fix merges that dropped one side's now-unused fields/consts.
    Full per-hunk reasoning grouped by confidence: ~/.agents/reviews/agent-os-rust-revision-reviews-2026-06-12/merge-conflicts-to-review.md.

OS_INSTRUCTIONS

Kept our OS_INSTRUCTIONS const + bootstrap write (no regression); origin's base-layer bake is left in place (redundant-but-safe, same fixture source). The proper "single-source, dynamic-from-tools, sidecar-owned, not-baked" redesign is tracked in ~/.agents/todo/agent-os-os-instructions-sidecar-ownership.md.

Verification (local)

cargo check, cargo clippy, and cargo test --test limits_audit all green on agent-os-{client,sidecar,v8-runtime,execution}. Full functional suite deferred to CI.

🤖 Generated with Claude Code

@mintlify

mintlify Bot commented Jun 13, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rivet-c4d395ab 🟡 Building Jun 13, 2026, 9:46 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

…/main (3-way resolve 33 hunks across 5 files)
…nd skip_os_instructions to CreateSessionRequest
…d assemble+inject system prompt at CreateSession
…kip instructions; stop assembling prompt host-side
…er that errors on non-flat node_modules (drop pnpm-hoisting resolver per review)
@NathanFlurry NathanFlurry force-pushed the claude/rust-review-and-runtime-fixes branch from 5955345 to 37c45a1 Compare June 14, 2026 05:26
@NathanFlurry NathanFlurry merged commit 40cfe2c into main Jun 14, 2026
1 check failed
@NathanFlurry NathanFlurry deleted the claude/rust-review-and-runtime-fixes branch June 14, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant