mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
1.6 KiB
1.6 KiB
Memory Update — docs-alignment-agent — 2026-02-20
Key findings
src/constants.mjsis the single source of truth for numeric defaults (RACE_CHECK_DELAY_MS=1500, DEFAULT_QUERY_TIMEOUT_MS=30000, DEFAULT_PUBLISH_TIMEOUT_MS=15000). Docs frequently show stale values — always re-verify these numbers.- USAGE_TEXT in
src/constants.mjs(displayed bytorch-lock --help) had a wrong default forNOSTR_LOCK_QUERY_TIMEOUT_MS: said 15000 but constant is 30000. This was likely copy-paste of the publish timeout value. docs/AGENT_COVERAGE_GAPS.mdtech claims can be stale — verify againstpackage.json(Playwright was not present despite being claimed as a dependency).
Patterns / reusable knowledge
- Claims tracing sequence: Read doc → extract numeric/behavioral claim → Grep
src/constants.mjsfor actual constant → compare. Repeat for every timeout/delay/count. - Four env vars most likely to be missing from lists:
NOSTR_LOCK_PUBLISH_TIMEOUT_MS,NOSTR_LOCK_MIN_SUCCESSFUL_PUBLISHES,NOSTR_LOCK_RELAY_FALLBACKS,NOSTR_LOCK_MIN_ACTIVE_RELAY_POOL. Checkdocs/removal.md, README.md, and any other env-var reference lists. - Architecture file paths in
docs/architecture/system-overview.mdare accurate and do not need re-verification unless new files are added.
Warnings / gotchas
- Claude Code sandbox: outbound WebSocket/EPERM restrictions prevent
npm run lintandnpm test— document this in test_logs but do not treat it as a failure for docs-only changes. - The 2000ms RACE_CHECK_DELAY_MS value may appear in other agents' memory or notes — it is wrong; actual value is 1500ms.