myxce/.kiro/specs
lei.chen 5e2985542f merge: sync Rongsong's scheduler-framework (88 commits, f01ae353..c5b172c7)
Two-sided divergence from f01ae353 (2026-08-30): theirs +88 (worker
rejoin-resync reconciliation, terminal-state bug-1737/1738/1739/1764,
scheduler-sim verbosity, hermetic offline build, go mod vendor of Go deps
in apiserver -- 3375 pure-adds), ours +89 (job-finish robustness bug-1509
B1/B3, PEND-reason, worker reconnect resend, apiserver job control).

Conflict resolutions (kept both sides' fixes):
- controller_connector.c checking_connection(): combine theirs
  xcecd_resync_is_pending() rejoin deferral gate with ours
  resend_job_status() actual-state re-report on rejoin success.
- job.c: keep both unknown-finish registry (ours, bug-1509) and
  record_job_finish_fact_at (theirs, bug-1747); keep both
  mark_jobs_unknown_core family (ours) and record_job_reconcile_*
  (theirs). No double-notify: on_job_finish unchanged, theirs is
  resync-path-only.
- scheduler handler.c/test_handlers.c/meson: theirs schedExitJob
  exit_code branch (bug-1737) + ours jobDispatchFail success-ack no-op
  (bug-1512) + configpush enq_pend_update (bug-1513) both present; both
  test suites and REPL/sim targets wired.
- apiserver jobs.go: keep ours normalizeJobInt64/jobArrayIdx superset +
  JobIDHuman; drop theirs strict IntOrInt64 early-reject (superseded --
  ours tolerates float64/json.Number, no panic path).
- jobs_test.go: keep both regression suites (ours bug-1490, theirs
  bug-1742).
- .kiro/specs scheduler-sim-*/worker-rejoin-resync + .wolf/*: keep our
  deletions (established convention -- drop Rongsong bookkeeping on merge).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-03 14:11:43 +00:00
..
commit-batch-window docs: mark scheduler-dispatch-commit tasks complete; add parked commit-batch-window spec 2026-09-01 07:08:43 +00:00
scheduler-primary-lifecycle docs(scheduler-primary-lifecycle): add superseded spec (requirements/design/tasks) 2026-09-03 09:13:01 +00:00
scheduler-sim-diagnostics merge: sync Rongsong's scheduler-framework (88 commits, f01ae353..c5b172c7) 2026-09-03 14:11:43 +00:00
scheduler-sim-reconcile-terminal-guard test(scheduler-sim-reconcile-terminal-guard): task 2.2 - final REPL-level verification 2026-09-03 08:31:37 +00:00
scheduler-sim-step-verbosity docs(scheduler-sim-step-verbosity): task 2.2 - final regression and transcript verification 2026-09-03 05:15:45 +00:00
worker-rejoin-resync merge: sync Rongsong's scheduler-framework (88 commits, f01ae353..c5b172c7) 2026-09-03 14:11:43 +00:00
xce-node-manager docs(xce-node-manager): add spec (requirements/design approved) 2026-09-03 09:13:38 +00:00