feat(cli): orch8 dev — ephemeral engine with hot reload and virtual time#70
Merged
Conversation
ovasylenko
added a commit
that referenced
this pull request
Jun 10, 2026
… 16 features shipped Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
Item #9 from docs/FEATURE_OPPORTUNITIES.md, the last one:
orch8 dev [path]— the local dev loop. Starts an ephemeral in-process engine (in-memory SQLite via theorch8facade crate — dogfooding the public API), loadssequence.json(or--sequence <file>), creates an instance, and drives fast ticks with live step-by-step output.--skip-timers: injects aManualClock(facade builder gained.clock(...)); when a tick is idle but the instance has a futurenext_fire_at, the clock advances to it. A workflow with a 3-day delay completes in milliseconds — verified by running the binary:--mock handler='{json}'(repeatable) registers stub handlers; failing steps print a hint naming the unregistered handler.--dry-runflows to the instance flag (facadeCreateInstanceOptionsextended).--onceexits 0/1 on completed/failed for CI smoke use. Ctrl-C shuts down gracefully with a session summary.Tests
24 new tests in the dev module (mock parsing, sequence loading/invalid-JSON, mtime-poll reload detection,
next_advance_targetpure-function logic, skip-timers e2e through the facade: delayed sequence completes near-instantly).cargo test -p orch8-cli -p orch8: 61 passed. fmt/clippy(pedantic)/doc/check gates clean. Binary smoke-tested manually.🤖 Generated with Claude Code