Repository navigation
Closed
Labels
Description
Children (decomposed 2026-05-17)
- feat(maintenance): wire SOURCE_REPLAY dispatch to re-acquire raw artifacts #1195 — feat(maintenance): wire SOURCE_REPLAY dispatch to re-acquire raw artifacts (M)
- feat(maintenance): typed scope filters — conversation_ids, provider, date range, source root #1196 — feat(maintenance): typed scope filters (conversation_ids, provider, date range, source root) (M)
- feat(maintenance): persistent operation registry + status surface (CLI/HTTP/MCP) #1197 — feat(maintenance): persistent operation registry + status surface (CLI/HTTP/MCP) (M)
- feat(maintenance): route replay failures to daemon raw-failure surface (#844) #1198 — feat(maintenance): route replay failures to daemon raw-failure surface (fix(daemon): surface raw validation and parse failures in ingest/status #844) (M)
- docs(maintenance): operator guide — when to use replay vs reset, resume, scope filters #1200 — docs(maintenance): operator guide — when to use replay vs reset, resume, scope filters (S)
Dependency order: #1196 → (#1195, #1197) in parallel; #1198 any time; #1200 last.
Context
#871 was closed 2026-05-09 although PR #980 explicitly declared "op implementations are explicit OUT OF SCOPE." Only CLI route scaffolding landed. The typed contract and derived-rebuild dispatch landed subsequently via #1144/#1147, but the full feature acceptance remains open as the children above.
Acceptance criteria — all open
- Backfill planner can enumerate candidate replay scopes — feat(maintenance): wire SOURCE_REPLAY dispatch to re-acquire raw artifacts #1195, feat(maintenance): typed scope filters — conversation_ids, provider, date range, source root #1196
- Operator can preview a replay plan before execution — partially landed; scope filtering feat(maintenance): typed scope filters — conversation_ids, provider, date range, source root #1196
- Replay execution is idempotent and resumable — partially landed; source-replay feat(maintenance): wire SOURCE_REPLAY dispatch to re-acquire raw artifacts #1195
- Progress and outcomes are surfaced in CLI/daemon/MCP — partially landed; status surface feat(maintenance): persistent operation registry + status surface (CLI/HTTP/MCP) #1197
- Failed records are routed to the failure surfacing path (fix(daemon): surface raw validation and parse failures in ingest/status #844) — feat(maintenance): route replay failures to daemon raw-failure surface (#844) #1198
- Tests cover plan generation, dry-run, partial-failure resume — distributed across feat(maintenance): wire SOURCE_REPLAY dispatch to re-acquire raw artifacts #1195/feat(maintenance): typed scope filters — conversation_ids, provider, date range, source root #1196/feat(maintenance): persistent operation registry + status surface (CLI/HTTP/MCP) #1197/feat(maintenance): route replay failures to daemon raw-failure surface (#844) #1198
- Documentation describes when/why to use replay vs reset — docs(maintenance): operator guide — when to use replay vs reset, resume, scope filters #1200
(Pull verbatim AC text from #871 when starting work — list above is reconstructed from audit notes.)
Source
- Closed parent: feat(maintenance): add backfill replay and rebuild planner UX #871
- Closing PR: feat(cli,daemon): register maintenance group and wire HTTP endpoints (#871) #980 (declared op impl OUT OF SCOPE)
- Audit: 2026-05-09 closed-issue gap audit
- Subsequent partial landings: PRs from feat(maintenance): typed planner contract (scope, reason, cursor, failures) #1144 (typed planner contract), feat(maintenance): idempotent and resumable replay execution #1147 (replay executor)
Activity
Sinity commentedon May 11, 2026
Strengthening pass — backfill replay planner
This issue should be framed as a real operation-planning feature, not CLI scaffolding. It depends on #861 for operation result contracts and on #844/raw-failure surfacing for failed records, but it can define its own planning semantics now.
Required planner semantics:
Implementation anchors:
polylogue/daemon/http.py.Acceptance should include tests for plan generation, dry-run output stability, partial-failure resume, idempotent rerun, and cross-surface result parity. Close only when actual replay execution exists, not just route registration.
feat(maintenance): staleness inventory preview (#1145) (#1154)
feat(maintenance): typed planner contract (#1144) (#1157)
Sinity commentedon May 17, 2026
Decomposed into 5 child issues
Decomposed against current
master(existing scaffolding:polylogue/maintenance/{planner,replay,preview,envelope,registry-missing}.py, CLImaintenance plan/run/preview, daemon/api/maintenance/{plan,run}, MCPmaintenance_preview/execute). What landed is the typed contract and the derived-rebuild dispatch; what is missing maps 1:1 to the 7 ACs in this umbrella body.BackfillKind.SOURCE_REPLAYto boundedingest_batchre-acquisition; idempotent + resumable per-artifactMaintenanceScopeFilterplumbed through CLI/HTTP/MCP — conversation_ids, provider, source family, source root, raw artifact, date range, failure kindpolylogue maintenance status,GET /api/maintenance/status/<op_id>, MCPmaintenance_status/maintenance_list_raw_failure_info()+_check_raw_failures_medium(the #844 surface)docs/maintenance.md: when to use replay vs reset, scope filter usage, resume pattern, status/failure surfacesAC #6 (tests for plan generation, dry-run, partial-failure resume) is distributed across #1195/#1196/#1197/#1198 — each child carries its own test suite as part of acceptance. No standalone test issue is needed.
Dependency order: #1196 (scope filter shape) → #1195 (source-replay needs the source_root filter) and #1197 (registry shape stable for status surface) can run in parallel. #1198 can run any time. #1200 lands last so it describes the shipped surface.
This umbrella stays open until all 5 children close.
docs(maintenance): operator guide + runbooks (#1200) (#1281)
refactor(api): typed import operation contract — Operations pattern f…
feat(maintenance): typed scope filters (#1196)
feat(maintenance): typed scope filters (#1196) (#1323)
feat(maintenance): wire SOURCE_REPLAY dispatch with per-artifact curs…
feat(reader): granular SSE topics + live tail + progress events (#1204)…
feat(maintenance): route replay failures to daemon raw-failure surface (
feat(maintenance): persistent op registry + status surface (#1197) (#…
Sinity commentedon May 25, 2026
All five children (#1195-#1200) are closed. Closing this umbrella as complete.