Repository navigation
feat(serve,core,ep,domain): implement SPEC-0003 Stage B pool driver, waker health gate, unified CLI flags, and property tests - #12
Merged
Conversation
…waker health gate, unified CLI flags, and property tests - Add CortexPoolDriver, InMemoryCortexPoolDriver, and HttpCortexPoolDriver in escapement-serve::pool with TCP loopback round-trip verification - Wire Orchestrator::dispatch_next_to_pool and Orchestrator::poll_pool_status for live Cortex capability pool dispatch and status reconciliation - Implement WakerProbe, TcpWakerProbe, WakerGateError, and WakerHealthGate with CrashLoopBackOff circuit breaking in escapement-core::waker and Orchestrator - Add --json output across ep plan, ep wal, ep lanes, and ep mesh, --mermaid DAG rendering, and ep serve [--bind <addr>] daemon entrypoint - Add deterministic property-based invariant suites across ep-domain (TokenBucket, resolve_pool_job_state, max_pool_inflight) and escapement-core (Plan Kahn DAG topological/permutation invariants, Changeset CRDT idempotence/associativity) - Align ROADMAP.md, specs/SPEC-0002-roadmap.md, and CHANGELOG.md Co-authored-by: Gullveig <gullveig@types.unsigned.gg> Reviewed-by: Mimir <mimir@unsigned.gg>
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
Completes the four remaining horizon tracks across
SPEC-0003Stage B andSPEC-0002Phases 2–4:Track 1 (
SPEC-0003Stage B Live Cortex Pool Driver & Daemon Entrypoint):CortexPoolDriver,InMemoryCortexPoolDriver, andHttpCortexPoolDriver(POST /v1/mesh/messagestopool:<capability>andGET /v1/mesh/message-status) inescapement-serve::poolwith TCP loopback round-trip verification.Orchestrator::dispatch_next_to_poolandOrchestrator::poll_pool_statusinescapement-serve.ep serve [--bind <addr>]daemon entrypoint toep.Track 2 (
SPEC-0002Phase 2 Unified CLI Completion & Spec Alignment):--jsonoutput acrossep plan,ep wal,ep lanes, andep mesh.--mermaidDAG output toep plan render <path.json> --mermaid.ROADMAP.md,specs/SPEC-0002-roadmap.md, andCHANGELOG.md.Track 3 (
SPEC-0002Phase 3 Scale-to-Zero Waker Health Gate):WakerProbe,TcpWakerProbe,WakerGateError, andWakerHealthGate(CrashLoopBackOffcircuit breaker) inescapement-core::waker.Orchestrator::register_waker_targetandOrchestrator::wake_capability.Track 4 (
SPEC-0002Phase 4 Algebraic & Property-Based Verification):ep-domain(TokenBucketconservation/cap,resolve_pool_job_statetotality,max_pool_inflightbounds) andescapement-core(PlanKahn DAG topological & permutation invariants,ChangesetCRDT idempotence/associativity).Verification
cargo fmt --all -- --checkcargo test -j 2 --workspace(242 unit & property tests passing)cargo clippy -j 2 --workspace --all-targets -- -D warnings