mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- Added `NIP_INVENTORY.md` tracking compliance status for all referenced NIPs/Kinds. - Added `nip-report-2025-02-12.md` summarizing audit findings. - Added `CONTEXT.md`, `TODO.md`, `DECISIONS.md`, `TEST_LOG.md`. - Added automated regression tests in `tests/compliance/`: - `nip04_44_compliance.test.mjs`: Verifies encryption fallback logic. - `nip65_compliance.test.mjs`: Verifies relay list loading (Kind 10002). - `video_note_compliance.test.mjs`: Verifies video note (Kind 30078) structure and NIP-71 tagging. Co-authored-by: PR0M3TH3AN <[email protected]>
1.1 KiB
1.1 KiB
NIP Compliance Audit Context
Goal
Build a rigorous, repo-tethered NIP & note-kind compliance program. Inventory NIPs & kinds relevant to the client, extract authoritative specifications and best practices, map each to the client code, and produce verification steps + small fixes/PRs or issues to bring the client into compliance.
Scope
- Primary NIPs: NIP-07, NIP-04/44, NIP-33, NIP-46, NIP-51/56, NIP-59, NIP-94.
- Note Kinds: 30078 (video), 10000 (mute), 30002 (block list), 10002 (relay list), Watch History.
- Cross-cutting: Tag semantics, Event validation, Relay behavior, Encryption/Decryption, Addressing, Moderation.
Definition of Done (DoD)
- A per-NIP / per-kind checklist exists in
NIP_INVENTORY.mdwith compliance status. - All P0 NIPs/kinds have concrete testable validation steps and at least one small PR or issue created.
- Documentation (
CONTEXT.md,TODO.md,DECISIONS.md,TEST_LOG.md) created/updated. nip-report-YYYY-MM-DD.mdproduced.
Timeline
- Day 1: Inventory complete, P0 items listed.
- Day 2: Research + specs; tests for NIP-04/44/07.
- Day 3: PRs for P0 fixes; update docs.