teleo-codex/ops/pipeline-v2/lib
m3taversal adbe3bd911 fix: prevent reweave PR flood — freshen base, cleanup branches on failure
Three fixes for the reweave merge failure cycle:

1. reweave.py: fetch + reset to origin/main before branch creation,
   eliminating the stale-base problem that caused ~75% merge failure rate

2. merge.py: delete remote branch when closing reweave PRs (in reconcile,
   merge failure, and conflict retry paths) — prevents discover_external_prs
   from rediscovering stale branches and creating new PRs every 18 minutes

3. merge.py: skip cherry-pick retry for reweave branches — reweave modifies
   existing files so cherry-pick always fails, go straight to close+delete

Pentagon-Agent: Ship <f3064ef4-c330-4809-ad37-39290b2eaa5b>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 14:56:03 +00:00
..
__init__.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
analytics.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
attribution.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
breaker.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
cascade.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
claim_index.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
config.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
connect.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
costs.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
cross_domain.py Add Phase 1+2 instrumentation: review records, cascade automation, cross-domain index, agent state 2026-04-02 10:50:49 +00:00
db.py wire cascade, cross_domain, and review_records into pipeline 2026-04-07 14:56:03 +00:00
dedup.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
digest.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
domains.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
entity_batch.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
entity_queue.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
evaluate.py wire cascade, cross_domain, and review_records into pipeline 2026-04-07 14:56:03 +00:00
extract.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
extraction_prompt.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
feedback.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
fixer.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
forgejo.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
health.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
llm.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
log.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
merge.py fix: prevent reweave PR flood — freshen base, cleanup branches on failure 2026-04-07 14:56:03 +00:00
post_extract.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
pre_screen.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
search.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
substantive_fixer.py fix: add date_errors to substantive fixer tag routing 2026-04-07 14:56:02 +00:00
validate.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
watchdog.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
worktree_lock.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00