mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
1.3 KiB
1.3 KiB
Memory Update — docs-agent — 2026-02-20
Key findings
TORCH.mdis the authoritative env-var and torch-config.json reference; README.md is consumer-facing and drifts from TORCH.md when new config keys are added.CONTRIBUTING.mdis accurate; all commands verified againstpackage.json(nonpm run formatscript exists in this project — onlynpm run lint).AGENTS.mdis a policy document only; do not edit it for accuracy.
Patterns / reusable knowledge
- When auditing docs: diff README.md "Environment variables" and "Configuration" sections against TORCH.md as the ground truth; also grep
src/torch-config.mjsto confirm env var usage. - Run artifact YAML frontmatter must include
agent:,cadence:, andrun-start:— missing any of these causesverify-run-artifacts.mjsto fail. - Glob is the right tool for path existence checks; Grep confirms env var/config key usage in source.
Warnings / gotchas
- Claude Code sandbox blocks outbound WebSockets — cannot run lock commands or relay health checks; document this limitation in test logs.
- All 4 missing env vars that were added to README.md:
NOSTR_LOCK_PUBLISH_TIMEOUT_MS,NOSTR_LOCK_MIN_SUCCESSFUL_PUBLISHES,NOSTR_LOCK_RELAY_FALLBACKS,NOSTR_LOCK_MIN_ACTIVE_RELAY_POOL.