feat(cli): colony bridge replay subcommand#573
Merged
Conversation
- 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>
This was referenced May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Promotes
colony bridge lifecycle --replay <file>into a first-class subcommandcolony bridge replay <file.pre.json>with--dry-runas the safe default (today's flag silently writes to live SQLite).--dry-run(ephemeral in-memory SQLite);--applywrites to live store--rewrite-root <from>=<to>for cross-machine path capturespackages/contracts/fixtures/colony-omx-lifecycle-v1/fixturesbridge lifecycleshort-circuits to daemon)Closes the
⏳ Bridge replay tool for offline debugging from a saved .pre.jsonline under README §v0.x "Lifecycle bridge polish".OpenSpec
openspec/changes/bridge-replay-subcommand-2026-05-16/CHANGE.mdTest plan
pnpm --filter colonyq typecheck— cleanpnpm --filter colonyq test --run bridge— 13/13 passpnpm --filter colonyq test --run bin-shim— 6/6 passpnpm --filter colonyq build— cleannode apps/cli/dist/index.js bridge replay --helpMerge order
Independent of other in-flight v0.x PRs. Safe to merge first.
🤖 Generated with Claude Code