mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +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]>
859 B
859 B
Test Log
Environment
- Node Version: v22.22.0
- NPM Version: 11.10.0
- OS: Linux
Automated Tests
| Date | Test Suite | Result | Notes |
|---|---|---|---|
| 2025-02-12 | tests/compliance/nip04_44_compliance.test.mjs | PASS | Verified NIP-04/44 encryption preference and fallback. |
| 2025-02-12 | tests/compliance/nip65_compliance.test.mjs | PASS | Verified NIP-65 Relay List loading and parsing. |
| 2025-02-12 | tests/compliance/video_note_compliance.test.mjs | PASS | Verified Kind 30078 creation and NIP-71 tagging. Note: Requires magnet-uri package (currently extraneous). |
Manual Tests
| Date | Test Case | Command | Result | Notes |
|---|---|---|---|---|
| 2025-02-12 | NIP-07 Auth | Code Review | PASS | Verified async permission request logic in nip07Permissions.js. |