myxce/.kiro/specs/job-array-single-wal-record/spec.json
Rongsong Shen 575f928bbc plan(job-array-single-wal-record): reopen spec for residual gap closure
User directed (2026-07-16) that this feature's own open residual gaps
be fixed: bug-1443 (restore_job_array()'s bulk-insert partial-visibility
gap), task 4.2's boot-replay fence gap, and task 5.3b's bounded leak.
Unrelated pre-existing bugs 1437/1438 explicitly excluded from this
reopening per user's scope decision.

Adds Phase 7 (tasks 7.1-7.3) to tasks.md:
- 7.1: add a purely-additive kvmgr_reserve() capacity-reservation
  primitive (mirroring the existing kvmgr_capture_keys() template) so
  restore_job_array()'s bulk-insert pass can pre-grow its backing store
  before mutating, closing the dominant N-scaling failure trigger; plus
  make a genuinely-inserted partial prefix always get notified even in
  the now-much-narrower residual failure case
- 7.2: extend the Live Apply Resource Fence's halt-and-fence protection
  to replay_wal() (boot/restart replay), reusing the same primitives
  task 4.1/4.2 already built for the live path
- 7.3: free dataset->rows in sched_handle_dataset()'s jobArray case

spec.json phase reverted to tasks-generated to reflect the reopening.
2026-07-16 13:14:03 +00:00

32 lines
1.2 KiB
JSON

{
"feature_name": "job-array-single-wal-record",
"created_at": "2026-07-09T17:20:00Z",
"updated_at": "2026-07-16T06:15:00Z",
"language": "en",
"phase": "tasks-generated",
"approvals": {
"requirements": {
"generated": true,
"approved": true
},
"design": {
"generated": true,
"approved": true
},
"tasks": {
"generated": true,
"approved": true
}
},
"ready_for_implementation": true,
"blocked_on": [],
"validate_impl": {
"decision": "GO",
"validated_at": "2026-07-16T02:10:00Z",
"known_limitations": [
"bug-1443: restore_job_array()'s bulk-insert-phase failure can permanently orphan array elements (violates Req 2.3/9.4 literally); tracked in .wolf/buglog.json, not fixed in this spec"
],
"reopened_at": "2026-07-16T06:15:00Z",
"reopen_reason": "User directed all of this feature's own open residual gaps be fixed (2026-07-16): bug-1443 (bulk-insert partial-visibility), task 4.2's boot-replay fence gap, and task 5.3b's bounded leak. Added as Phase 7 (tasks 7.1-7.3) in tasks.md. Unrelated pre-existing bugs 1437/1438 explicitly excluded from this reopening per user's scope decision."
}
}