fix(pegas-memory): web fetch SOCKS5h proxy fallback + stale_guard supported double-count fix

- ingest.parse_web: direct fetch; on block/timeout retry via socks5h://127.0.0.1:1080 (SOCKS_FALLBACK_PROXY); raises ValueError if both fail.
- config: add SOCKS_FALLBACK_PROXY default (socks5h://127.0.0.1:1080).
- self_improve.stale_guard: supported LLM verdict now sets status_change='supported' (authoritative), no fallthrough to age fallback -> no double-checked/skipped_no_source.
- README: document auto-fallback.
This commit is contained in:
Pegas committed 2026-10-15 22:25:22 +05:00
1 parent eca8a11e23
commit 13e0b87446
4 files changed
+44 -15

No files matched your search

+2
View File
@@ -198,6 +198,8 @@ def stale_guard(conn, *, atom_id=None, all: bool = False, limit: int = 20,
status_change = "stale"
reason = f"source_{v['verdict']}: {v.get('reason', '')}"
else:
# content-staleness re-fetch succeeded -> verdict is authoritative
status_change = "supported"
reason = "supported"
if status_change is None:
# proxy-free fallback: возраст контента