Skip to content

Commit 4f17941

Browse files
committed
[W11-log] sprint-log: agent W11 commit log + self-review
1 parent 238d85c commit 4f17941

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Agent W11 — medcare-realtime/tests/integration.rs
2+
3+
**Round:** 3 (Stage 3)
4+
**Owner:** crates/medcare-realtime/tests/integration.rs (7 tests)
5+
**Commit:** medcare-rs `cec95f5`
6+
**Status:** ✅ committed
7+
8+
## Action
9+
10+
Integration tests living outside lib.rs (the `tests/` directory in
11+
Cargo treats each .rs file as a separate test crate, exercising only
12+
the public API). 7 tests covering gate × stack composition.
13+
14+
## Coverage
15+
16+
| Test | Verifies |
17+
|---|---|
18+
| stack_and_gate_compose | smoke test for canonical wiring |
19+
| doctor_gate_full_clinical_authority | doctor reads all 6 entities (loop) |
20+
| auditor_gate_read_only_across_entities | auditor split, all 6 entities (loop) |
21+
| unknown_role_uniformly_denied | unknown role denial, all 6 entities (loop) |
22+
| admin_gate_full_authority_including_anamnese_redact | GDPR Art.17 path |
23+
| doctor_anamnese_predicate_write_denied_via_gate | BMV-Ä §57 (loop over 4 predicates) |
24+
| stack_clone_is_cheap | clone preserves domain_profile |
25+
26+
## Self-review
27+
28+
- ✅ Loop-over-entity tests catch regressions on missing permissions
29+
- ✅ All public-API symbols imported via `medcare_realtime::*` (no
30+
back-channel into internal modules)
31+
- ⚠️ No performance test for the 20-200 ns claim — defer to bench harness

0 commit comments

Comments
 (0)