Spaces:
Sleeping
Sleeping
Commit History
-
Engine: SEARCH/REPLACE mutations + graceful no-op; wire World Digest sibling bridge
Sam Cole +1: Claude Opus 4.8 (1M context)Evolution engine: - Replace fragile line-numbered diffs with exact-text SEARCH/REPLACE edits (models hallucinate hunk line numbers on a 2k-line file). A block matches verbatim or the cycle is a clean SKIP. Only the target file is ever written. - evolve.yml uses an evolution/.mutation_applied marker so an unusable-edit cycle is a green no-op (logs + pushes the skip) instead of a failed run; only an applied + test-passing mutation commits and deploys to the live Space. Sibling integration (co-developed): - main.py: /api/news/world-digest bridge (never-500 fallback, schema world-digest/news-exchange@1) reading contract/news_exchange.md. - static/globe_patch.js: globe "Digest view" calls the bridge. - tests/: 3 frozen tests pin the bridge route, fallback shape, and globe wiring. - evolution/prompts.md: priority #5 (sibling integration) + contract/ as a read-only shared interface. - scripts/sibling_dashboard.py + health.yml co-evolution dashboard step. Co-Authored-By: Claude O…660b778 -
Self-improving dev/test/deploy loop: frozen tests, diff-based evolution engine, CI
Sam Cole +1: Claude Opus 4.8 (1M context)Migrates InsightsEngine into the WorldDigest-style self-evolving process: - tests/: frozen fitness suite (reliability, analysis correctness, performance, coverage ratchet) + frontend gate (node --check + index.html structure) - evolution/: diff-based mutation engine on the HF Inference router, goal prompts, metrics + attempts logs - .github/workflows/: nightly evolve (mutate->test->merge/revert->deploy to live Space) + daily health metrics - scripts/collect_metrics.py, requirements-dev.txt (CI-only), CLAUDE.md, .gitignore Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>887650c