myxce/.kiro/specs/worker-rejoin-resync
Rongsong Shen cfe58c3dcf
feat(worker-rejoin-resync): task 4.2 - worker answers job-state query with extras
Classify each queried job ID as running/finished-ok/finished-fail/
unrecognized (Req 3.1-3.3, 3.6), report unqueried running/recently-
finished jobs as extras, and send both via task 1.4's paginated wire
helper (Req 8.2, 8.3). Composes correctly with the already-implemented
controller-side consumer (resync_apply_report).

Adds xcecd_finished_job_retention_snapshot() to xcecd_worker_utils, a
small additive companion needed to enumerate all retained jobs for the
extras set (task 4.1 only exposed single-jobid lookup).

Folds the still-open OPCode_jobStateQuery receive-dispatch wiring gap
into task 4.3's scope in tasks.md, since 4.3 already needs the real
receive path to implement its post-join gate.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4M5MJM2zK6nU43da267Ku
2026-09-01 16:35:28 +00:00
..
brief.md docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
design.md feat(worker-rejoin-resync): apply reported outcomes idempotently (task 3.2) 2026-09-01 15:24:29 +00:00
requirements.md docs(worker-rejoin-resync): add requirements, design, and research docs 2026-09-01 07:08:41 +00:00
research.md docs(worker-rejoin-resync): add requirements, design, and research docs 2026-09-01 07:08:41 +00:00
spec.json docs(worker-rejoin-resync): fix design review findings; add tasks.md 2026-09-01 08:03:10 +00:00
tasks.md feat(worker-rejoin-resync): task 4.2 - worker answers job-state query with extras 2026-09-01 16:35:28 +00:00