033-dev-substrate-and-harness
The dev substrate and the harness: compose for N=1, boot the real binary, wait on /readyz, a cookie jar
Lifecycle approvedImplementation completeVerification unknownQualification unknown
Two things a contributor needs: a compose file that runs the N=1 topology (the image with a bind-mounted volume, watched rebuilds) and a harness crate that boots a built cell binary under a throwaway data directory with fresh keys and OS-allocated ports, starts a rauthy on loopback when one is available, waits on /readyz and never on /healthz, and hands back an HTTP client with a cookie jar so authenticated flows are testable. One instance per test file, never per test. Carries enrahitu://033.
Read the full pinned specification ↗Relationships
depends on
depended on by
Claimed units
- establishes
{ "kind": "file", "path": "docker/compose.yml" } - establishes
{ "kind": "file", "path": "crates/rahi-harness/Cargo.toml" } - establishes
{ "kind": "file", "path": "crates/rahi-harness/src/lib.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-harness/src/boot.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-harness/src/client.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-harness/src/cookies.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-harness/src/rauthy.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-harness/tests/boot.rs" } - extends
{ "nature": "additive", "spec": "031-single-container-packaging", "unit": { "kind": "file", "path": "crates/rahi-ops/src/rauthy_env.rs" } }
Source headings
- 033: The dev substrate and the harness
- 1. Purpose
- 2. Territory
- 3. Behavior
- 4. Functional requirements
- 5. Acceptance criteria
- 6. Out of scope
- 7. Resolved decisions
- 8. Status
- Verification
Frozen anchors
No frozen anchors declared.