Files
buzz/desktop/scripts
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67dandTyler Longwell 0ec684477d Merge origin/main into duncan/byoh-generic-acp-harness
Main's #2974 modularized managed_agents/runtime.rs (process / orphan_sweep /
instance_reaper / lifecycle / metadata) from pre-PR content, conflicting with
this PR's runtime.rs changes. Resolution re-applies the PR's semantics into
the new module layout, changing nothing else:

- process.rs: valid_agent_runtime_receipt delegates to injectable
  valid_agent_runtime_receipt_with; marker-only ownership (name gate dropped).
- orphan_sweep.rs: sweep ownership rule comment block; marker-only gates in
  sweep_orphaned/sweep_system/collect_same_instance_orphans (macOS + Linux).
- instance_reaper.rs: name pre-gate removed on both platforms (marker is the
  authoritative proof).
- lifecycle.rs: kill_stale_tracked_processes delegates to injectable
  kill_stale_tracked_processes_with.
- runtime.rs: build_managed_agent_summary/spawn_agent_child keep the PR's
  descriptor resolver, global_config param, MissingBinary requirement, and
  descriptor.env write-back (main refactor did not touch these hunks);
  cfg(test) re-exports added for the injectable seams.
- check-file-sizes.mjs: took main's side (runtime.rs override removed by
  #2974; post-merge runtime.rs is 944 lines, under the 1000 ceiling).
  runtime/tests.rs keeps the PR's 1320 ratchet.

Verified at merge tree: cargo test --lib 1705/0 (14 ignored), clippy -D
warnings, fmt, file-size gate all clean.

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
2026-07-26 12:05:38 -04:00
..