Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# Capability Spec Delta: crypto-curve (spec-conformance)
**Package**: `@suaveplan/crypto-curve`
**Status**: PROPOSED
This delta annotates each existing requirement in `openspec/specs/crypto-curve/spec.md` with a `**Verified by:**` line. No requirement semantics change.
## MODIFIED Requirements
| Requirement | Verified by |
|---|---|
| Universal curve primitive surface | `tests/spec-conformance.test.ts` AND `src/primitives/{secp256k1,ed25519,x25519,p256}/*.test.ts` |
| Per-primitive replaceability | `tests/spec-conformance.test.ts` (every-curve `noble.ts`+`native.ts`+banner) AND per-primitive `every operation throws PrimitiveNotImplemented` |
| Vendored noble source (Phase 0.5) | `tests/spec-conformance.test.ts::"is a Phase-0.5 forward gate; current state is pre-0.5 (noble dep + no vendored/)"` |
| Dangerous-tier CI gate | `tests/spec-conformance.test.ts::"every native is a stub today, so no curve has been flipped without an audit"` |
| Constant-time curve math | `tests/spec-conformance.test.ts` (every native still a `PrimitiveNotImplemented` stub) |
## Newly added tests in this change
- `tests/spec-conformance.test.ts` — pins layout, GENERATED banner, Phase-0.5 consistency, dangerous-tier runtime reflection, and constant-time-stub state.