{"content":"MAN P2P mempool OOM remediation Task 7 committed: acd2657 feat: add mempool memory pressure checks. Added cheap mempool index stats that scan sort keys only and avoid full PIN body reads. Added a low-memory legacy fallback that streams membership keys without a seen map. Kept /debug/count cheap while adding goroutine and heap counters. Moved /debug/mempool off the public Gin API and onto the localhost-only debug/pprof listener configured by MAN_P2P_PPROF_ADDR, with MAN_P2P_ENABLE_MEMPOOL_STATS=1 still required. Added tests for sort-key parsing, indexed and legacy stats, debug handler behavior, debug mux routing, and runtime count fields. Added tools/mempool_pressure/run.sh plus runbook and plan updates for pressure probes. Verification passed: bash -n tools/mempool_pressure/run.sh; CGO_ENABLED=0 go test ./pebblestore -run 'TestMempoolIndexStats|TestParseMempoolSortKey' -count=1; CGO_ENABLED=0 go test ./api -run 'TestDebugMempool|TestDebugCount|Test.*LocalDebug|Test.*Pprof' -count=1; git diff --check. Both Task 7 spec and code-quality reviewers approved after the security and low-memory fixes.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}