Teleo evaluation pipeline infrastructure — Python async daemon for claim extraction, validation, evaluation, and merge
Find a file
m3taversal 5f554bc2de
Some checks failed
CI / lint-and-test (pull_request) Has been cancelled
feat: atomic extract-and-connect + stale PR monitor + response audit
Atomic extract-and-connect (lib/connect.py):
- After extraction writes claim files, each new claim is embedded via
  OpenRouter, searched against Qdrant, and top-5 neighbors (cosine > 0.55)
  are added as `related` edges in the claim's frontmatter
- Edges written on NEW claim only — avoids merge conflicts
- Cross-domain connections enabled, non-fatal on Qdrant failure
- Wired into openrouter-extract-v2.py post-extraction step

Stale PR monitor (lib/stale_pr.py):
- Every watchdog cycle checks open extract/* PRs
- If open >30 min AND 0 claim files → auto-close with comment
- After 2 stale closures → marks source as extraction_failed
- Wired into watchdog.py as check #6

Response audit system:
- response_audit table (migration v8), persistent audit conn in bot.py
- 90-day retention cleanup, tool_calls JSON column
- Confidence tag stripping, systemd ReadWritePaths for pipeline.db

Supporting infrastructure:
- reweave.py: nightly edge reconnection for orphan claims
- reconcile-sources.py: source status reconciliation
- backfill-domains.py: domain classification backfill
- ops/reconcile-source-status.sh: operational reconciliation script
- Attribution improvements, post-extract enrichments, merge improvements

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 22:34:20 +00:00
.forgejo/workflows ganymede: add dev infrastructure — pyproject.toml, CI, deploy script 2026-03-13 14:24:27 +00:00
diagnostics feat: Qdrant vector search — bulk embed script + OpenRouter embeddings 2026-03-26 17:44:34 +00:00
lib feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
ops feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
telegram feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
tests feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
.gitignore ganymede: add dev infrastructure — pyproject.toml, CI, deploy script 2026-03-13 14:24:27 +00:00
ARCHITECTURE.md epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
backfill-ci.py doc: label backfill as one-shot, not cron (Ganymede review) 2026-03-26 15:09:47 +00:00
backfill-domains.py feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
backfill-source-authors.py feat: source author backfill — credits intellectual foundations of KB 2026-03-26 15:26:04 +00:00
backfill-sources.py epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
batch-extract-50.sh fix: zombie retry loop + cost tracking 2026-03-28 11:29:58 +00:00
bootstrap-contributors.py epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
deploy.sh ganymede: add dev infrastructure — pyproject.toml, CI, deploy script 2026-03-13 14:24:27 +00:00
DIAGNOSTICS-AGENT-SPEC.md epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
embed-claims.py feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
extract-decisions.py fix: delete existing branch before re-creating in decision extractor 2026-03-24 11:43:27 +00:00
INFRASTRUCTURE.md Initial commit: Pipeline v2 daemon + infrastructure docs 2026-03-12 14:11:18 +00:00
migrate-entity-schema.py epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
migrate-source-archive.py epimetheus: source archive restructure — inbox/queue + inbox/archive/{domain} + inbox/null-result 2026-03-18 11:50:04 +00:00
openrouter-extract-v2.py feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
PIPELINE-AGENT-SPEC.md epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
pyproject.toml ganymede: add dev infrastructure — pyproject.toml, CI, deploy script 2026-03-13 14:24:27 +00:00
reconcile-sources.py feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
research-prompt-leo-synthesis.md epimetheus: source archive restructure — inbox/queue + inbox/archive/{domain} + inbox/null-result 2026-03-18 11:50:04 +00:00
research-prompt-v2.md epimetheus: source archive restructure — inbox/queue + inbox/archive/{domain} + inbox/null-result 2026-03-18 11:50:04 +00:00
reweave.py feat: atomic extract-and-connect + stale PR monitor + response audit 2026-03-28 22:34:20 +00:00
sync-mirror.sh epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
teleo-pipeline.py epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00
teleo-pipeline.service Initial commit: Pipeline v2 daemon + infrastructure docs 2026-03-12 14:11:18 +00:00
tier0-gate.py epimetheus: sync VPS-deployed code to repo — Mar 18-20 reliability + features 2026-03-20 20:17:27 +00:00