docs: sync governance and validation with hardening pass

Update contributor, security, validation, and compute handoff documentation to reflect new runtime safeguards, CI gates, and expected regression checks.

Made-with: Cursor
This commit is contained in:
2026-04-17 08:23:37 -06:00
parent 92a417c102
commit ce137dd1c2
6 changed files with 26 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ Last Updated: 2026-04-16
## Integration
- `solver-api/tests/api.test.js` — solve routes, diagnostic path, golden hash, `validate-card`, `both` comparison keys.
- API error contract checks: assert `schemaVersion` + machine-readable `code` on expected 4xx responses.
- `comparison` schema v2 includes:
- `peakLoadDeltas` for Pmax/Pmin and Dmax/Dmin
- `pointwiseResiduals.series[]` (position + polished/downhole residuals)
@@ -70,6 +71,7 @@ Last Updated: 2026-04-16
### 5) CI checks
- C sanitizers (ASan/UBSan) lane.
- Dependency audit lane (`npm audit --omit=dev --audit-level=high`) for API and GUI packages.
- Performance budget lane (fixed representative cases).
- Artifact lane emits comparison/drift summaries.