mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-10 14:52:57 +00:00
feat: add NIP compliance audit artifacts and regression tests
- 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]>
This commit is contained in:
1 parent
0607367f1a
commit
7054401c37
9 files changed
+434
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
# 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`. |
|
||||
Reference in new issue
Block a user