feat(lease): verified lease-remediation stack (rebased onto next) — promotion trigger + promote CLI + carve-out + TTL #1109

Merged
Ghost merged 26 commits from feat/lease-promotion-and-harness-isolation into next 2026-08-12 03:07:33 +00:00
Showing only changes of commit 13c70a7a10 - Show all commits
@@ -196,7 +196,12 @@ raise SystemExit(0 if len(session_id) == 64 and denied else 1)
env: {
...process.env,
PATH: `${binDir}:${process.env.PATH ?? ''}`,
MOSAIC_HOME: frameworkRoot,
// Point MOSAIC_HOME at the per-entry temp root, NOT the shipped framework
// tree: launch-runtime.py appends its launch ledger to
// $MOSAIC_HOME/fleet/run/sessions/events.ndjson, and writing that into
// framework/ pollutes the tree manifest.spec.ts walks. Nothing in the
// launch chain resolves tools via MOSAIC_HOME (scripts use SCRIPT_DIR).
MOSAIC_HOME: root,
MOSAIC_PRDY_RUNTIME: 'claude',
MOSAIC_LEASE_BROKER_SOCKET: socket,
MOSAIC_RUNTIME_GENERATION: '1',