Initial commit: SWOOSH bootstrap with statechart spec, OpenAPI, ADRs, and ops harnesses
Some checks failed
ci / validate (push) Has been cancelled
Some checks failed
ci / validate (push) Has been cancelled
This commit is contained in:
11
adr/0001-adopt-statecharts.md
Normal file
11
adr/0001-adopt-statecharts.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# ADR 0001: Adopt Deterministic Statecharts
|
||||
|
||||
## Decision
|
||||
Use hierarchical statecharts with pure reducers governing SWOOSH orchestration.
|
||||
|
||||
## Rationale
|
||||
Chaos resilience, auditability, time-gated cadence (BACKBEAT), idempotency, replay.
|
||||
|
||||
## Consequences
|
||||
- Requires WAL + snapshots.
|
||||
- Transition API becomes the single mutation path.
|
||||
8
adr/0002-transition-api-and-wal.md
Normal file
8
adr/0002-transition-api-and-wal.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# ADR 0002: Transition API & WAL
|
||||
|
||||
## Decision
|
||||
All mutations flow through a signed Transition API. Accepted transitions append to WAL, then mutate state.
|
||||
|
||||
## Details
|
||||
- Store `(state_pre_hash, transition, inputs_hash, signer, idem_key, hlc, window_id)`.
|
||||
- Emit BUBBLE DR with UCXL backlinks upon accept.
|
||||
Reference in New Issue
Block a user