{
  "status": "done",
  "check": {
    "exitCode": 0,
    "tail": " (155.495411ms)\n✔ real witness and local durable commit precede ACK; witness failure never acknowledges inputs (123.920514ms)\n✔ WS close cleans binding, disconnects once, reconnect rotates generation and refresh rotates bearer (170.048597ms)\n✔ SIWE renewal reauthenticates the same live WS without consuming a reconnect or reviving (157.467203ms)\n✔ monotonic session expiry survives a backwards wall clock (81.699412ms)\n✔ failed or retrospective witness anchors cannot be bypassed by reconnect/refresh (152.941902ms)\n✔ peer HMAC routes use real runtime and verifier, with role isolation and no live seed disclosure (191.732832ms)\n✔ authenticated witness append schema is bounded and preserves the actual hash chain (98.384564ms)\n✔ WS auth, queue, capacity, huge messages and injected backpressure are bounded (169.670035ms)\n✔ unknown adapter errors and accidental seed/custody returns are sanitized (141.775857ms)\n✔ real HTTP serves free mode; enforces origin, content types, length, chunks and CORS (55.099273ms)\n✔ real HTTP SIWE challenge/login/session/logout never exposes the admission bearer (189.21473ms)\n✔ real WS attaches, carries ordered ACKs/snapshots, cleans disconnect and reconnects (211.365404ms)\n✔ WS rejects origin attacks, URL tokens and unauthenticated messages (100.165971ms)\n✔ real WS remains live across same-wallet SIWE renewal and closes on logout (177.532902ms)\n✔ HTTP timeout keeps its concurrency slot until the actual pending adapter completes (58.390419ms)\n✔ RFC 6455 UTF8, fragmentation, ping/pong and oversized frames are handled by vendored ws (112.638678ms)\n✔ raw WS rejects unmasked and 64-bit oversized frame declarations without reading payload (90.862548ms)\n✔ short configured auth and request deadlines free unused sockets and request slots (320.465734ms)\n✔ public cleartext binds are refused; trusted proxy headers cannot bypass per-client quotas (7.821326ms)\nℹ tests 26\nℹ suites 0\nℹ pass 26\nℹ fail 0\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms 3914.948396\n"
  },
  "notes": "Added services/api/{index,server,main,schema,sessions,limits,readiness,peers,errors,check}.mjs, test/{fixture,handler.test,transport.test}.mjs, README.md, AUDIT.md and pinned MIT ws 8.23.1 vendor files/manifest (under 300 KiB total). Interfaces: createApi/createApiServer, SIWE challenge/login/session/logout, admission quote, HTTP+WS start/input/snapshot/disconnect/reconnect/refresh/finish/result, finalized indexer reads, and existing HMAC verifier/witness routes. Real AdmissionService/SessionStore/ChainIndexer/PaidRuntime/LiveWitness/verifyTerminal exercised with generated test identities and simulated chain; actual localhost HTTP/RFC6455 tested. node services/api/check.mjs: exit 0, 26/26; syntax checks for 10 modules, source whitespace and git diff --check passed; 19 vendored files verified offline. Fixed origin/login-CSRF/wallet confusion, unbounded ingress/recovery/queues, premature ACKs, disconnect races, renewal consuming reconnect, retrospective witness anchoring, credential/seed error disclosure and paid-gate bypass. README documents exact bodies/replies, renewal, composition and operational limits. Open: existing verifier 4-MiB evidence-response limit needs coordinated streaming/pagination before maximum-envelope paid approval; process-local sessions require sticky routing and aggregate quotas. Missing real inputs: deployed ledger/verifier addresses/block, independent RPCs and Sepolia test-token deployment, TLS/approved origins/hosting, encrypted storage and trusted clock/recovery, admission signer/custody provider, independent replay/score/witness operators and credentials/peer secrets, current security/infrastructure/IP-rights/legal approvals and eligibility assessor. No deployment, fork/Sepolia/UI certification or purchases claimed. Free mode remains available; paid operations fail closed without real adapters/approvals. Only API source and this required output are delivered."
}
