Files
2ro b35ddb29d3 scripts: smoke test covers gift wraps and long-form (4 checks)
Extend smoke_test_lockdown.py from two checks to four, all signed by one
throwaway unauthorized key:

  kind 1     text note          -> BLOCKED  (lockdown)
  kind 0     profile            -> ACCEPTED (profiles stay open)
  kind 1059  gift wrap          -> ACCEPTED (money path ungated; p-tag a
                                   random recipient, opaque base64 content)
  kind 30023 long-form article  -> BLOCKED  (lockdown)

Prints all four results; RESULT: PASS and exit 0 only if every expectation
holds, nonzero otherwise. Verified offline end to end against a local mock
relay driven by the real plugin decide() (PASS) and against an accept-all
relay (FAIL, exit 1).
2026-07-04 20:07:15 -04:00
..