fix(fleet): harden operator sends for release #565

Merged
jason.woltje merged 1 commits from fix/fleet-release-hardening into main 2026-06-20 20:41:11 +00:00
Owner

Summary

Release-hardens the Mosaic fleet local dogfood path before official rollout.

Changes:

  • fixes operator-origin mosaic agent send preambles by always passing explicit source labels to agent-send.sh
  • adds --source-label and --source overrides for intentional handoff labels
  • keeps inter-agent agent-send.sh -S behavior intact
  • strengthens tests for tmux liveness verification instead of trusting systemd active exited
  • adds regression coverage for package file allowlist containing framework assets
  • documents fleet release preflight: AI dogfood, restart-stop-idempotency, package dry-run, mosaic update test

Validation:

  • pnpm --filter @mosaicstack/mosaic test -- src/commands/fleet.spec.ts src/cli-smoke.spec.ts: 49 passed
  • pnpm typecheck: passed
  • pnpm lint: passed
  • pnpm exec prettier --check changed files: passed
  • npm pack --dry-run --json from packages/mosaic: fleet framework/systemd/tmux assets present
  • Codex code review: approve, no findings
  • Codex security review: risk none, no findings

Closes #564

Summary Release-hardens the Mosaic fleet local dogfood path before official rollout. Changes: - fixes operator-origin mosaic agent send preambles by always passing explicit source labels to agent-send.sh - adds --source-label and --source overrides for intentional handoff labels - keeps inter-agent agent-send.sh -S behavior intact - strengthens tests for tmux liveness verification instead of trusting systemd active exited - adds regression coverage for package file allowlist containing framework assets - documents fleet release preflight: AI dogfood, restart-stop-idempotency, package dry-run, mosaic update test Validation: - pnpm --filter @mosaicstack/mosaic test -- src/commands/fleet.spec.ts src/cli-smoke.spec.ts: 49 passed - pnpm typecheck: passed - pnpm lint: passed - pnpm exec prettier --check changed files: passed - npm pack --dry-run --json from packages/mosaic: fleet framework/systemd/tmux assets present - Codex code review: approve, no findings - Codex security review: risk none, no findings Closes #564
jason.woltje added 1 commit 2026-06-20 20:27:40 +00:00
fix(fleet): harden operator sends for release
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
e7b184b0e2
jason.woltje merged commit b5c1381e45 into main 2026-06-20 20:41:11 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#565