Skip to content

feat(cli): colony bridge replay subcommand#573

Merged
NagyVikt merged 2 commits into
mainfrom
worktree-agent-a7e4bbff1c9e40837
May 15, 2026
Merged

feat(cli): colony bridge replay subcommand#573
NagyVikt merged 2 commits into
mainfrom
worktree-agent-a7e4bbff1c9e40837

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary

Promotes colony bridge lifecycle --replay <file> into a first-class subcommand colony bridge replay <file.pre.json> with --dry-run as the safe default (today's flag silently writes to live SQLite).

  • Default --dry-run (ephemeral in-memory SQLite); --apply writes to live store
  • --rewrite-root <from>=<to> for cross-machine path captures
  • Reuses packages/contracts/fixtures/colony-omx-lifecycle-v1/ fixtures
  • Shell shim auto-falls-through to Node (only bridge lifecycle short-circuits to daemon)

Closes the ⏳ Bridge replay tool for offline debugging from a saved .pre.json line under README §v0.x "Lifecycle bridge polish".

OpenSpec

openspec/changes/bridge-replay-subcommand-2026-05-16/CHANGE.md

Test plan

  • pnpm --filter colonyq typecheck — clean
  • pnpm --filter colonyq test --run bridge — 13/13 pass
  • pnpm --filter colonyq test --run bin-shim — 6/6 pass
  • pnpm --filter colonyq build — clean
  • Manual smoke: node apps/cli/dist/index.js bridge replay --help

Merge order

Independent of other in-flight v0.x PRs. Safe to merge first.

🤖 Generated with Claude Code

NagyVikt and others added 2 commits May 16, 2026 00:59
- Default to --dry-run; require --apply for live writes
- Add --rewrite-root <from>=<to> for cross-machine path captures
- Reuse packages/contracts/fixtures/colony-omx-lifecycle-v1 fixtures
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@NagyVikt NagyVikt merged commit 99936fa into main May 15, 2026
1 of 3 checks passed
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