{ "archived": "2026-09-27", "reason": "OpenWolf post-write hook auto-detections (template messages such as 'Missing guard clause', 'Function not marked async'): not real bug reports. Kept verbatim; not part of .wolf/bugs/ or the index.", "bugs": [ { "id": "bug-002", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-21T07:46:54.198Z", "error_message": "Incorrect value in code", "file": ".claude/skills/kiro-spec-init/SKILL.md", "root_cause": "Had `.kiro/settings/templates/specs/init.json`", "fix": "Changed to `templates/specs/init.json`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 12, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-004", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-21T07:58:54.673Z", "error_message": "Wrong reference: g_tmpdir should be g_instdir", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "Used \"g_tmpdir\" instead of \"g_instdir\"", "fix": "Changed g_tmpdir → g_instdir", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-005", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-21T08:24:10.738Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: rc == 0", "fix": "Added guard clause: if (rc == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-008", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-21T13:20:28.953Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: getaddrinfo(host, port_str, &hints, &res", "fix": "Added guard clause: if (getaddrinfo(host, port_str, &hints, &res)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-020", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-25T11:31:55.826Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-023", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T07:17:31.980Z", "error_message": "Missing guard clause", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "No early return/throw for edge case: req->term < my_term", "fix": "Added guard clause: if (req->term < my_term)", "tags": [ "auto-detected", "guard-clause", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-024", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T07:18:36.066Z", "error_message": "Missing guard clause", "file": "../../../../../claude/.claude/plans/prancy-herding-nest.md", "root_cause": "No early return/throw for edge case: n_peers == 2", "fix": "Added guard clause: if (n_peers == 2)", "tags": [ "auto-detected", "guard-clause", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-026", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T07:26:48.363Z", "error_message": "Wrong return value", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Was returning: 1;", "fix": "Now returns: 1; // single-node: always primary", "tags": [ "auto-detected", "return-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-027", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T07:27:34.925Z", "error_message": "Wrong condition in logic", "file": "../../../../../claude/.claude/plans/prancy-herding-nest.md", "root_cause": "Condition was: if (n_peers == 2)", "fix": "Changed to: if (n_peers == 1)", "tags": [ "auto-detected", "logic-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-029", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T07:29:11.741Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Had `main.c`", "fix": "Changed to `-EINVAL`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-032", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T09:07:23.015Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Had `-EINVAL`", "fix": "Changed to `--vcpus N`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-034", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T09:23:02.818Z", "error_message": "Missing guard clause", "file": "../../../../../claude/.claude/plans/prancy-herding-nest.md", "root_cause": "No early return/throw for edge case: rc == 0", "fix": "Added guard clause: if (rc == 0)", "tags": [ "auto-detected", "guard-clause", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-035", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T09:46:12.902Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Had `sysconf(_SC_NPROCESSORS_ONLN)`", "fix": "Changed to ` when not specified. Values `", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-038", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T10:09:32.424Z", "error_message": "Missing guard clause", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "No early return/throw for edge case: c->myconf->config_version_tag != 0", "fix": "Added guard clause: if (c->myconf->config_version_tag != 0)", "tags": [ "auto-detected", "guard-clause", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-039", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T10:09:57.711Z", "error_message": "Wrong return value", "file": "../../../../../claude/.claude/plans/prancy-herding-nest.md", "root_cause": "Was returning: 0 (standby); fresher peer runs its own election", "fix": "Now returns: `-ENODATA`. Not a normal runtime path.", "tags": [ "auto-detected", "return-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-041", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T10:10:40.149Z", "error_message": "Incorrect value in code", "file": "../../../../../claude/.claude/plans/prancy-herding-nest.md", "root_cause": "Had `test_fetch_config_from_best_peer`", "fix": "Changed to `test_handle_config_request_standbys_serve_config`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-042", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T11:35:44.097Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-046", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T13:51:32.274Z", "error_message": "Missing error handling in unknown", "file": "../../../../../claude/.claude/plans/prancy-herding-nest.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: - [ ] `test_heartbeat_carries_committed_lsn`: heartbeat payl; `committed_lsn`; standby updates `ha.last_known_committed_ls", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-047", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-26T13:52:49.044Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: // Catch-up gate (Clarification 6): behind nodes must not in; if (c->ha.in_catch_up) {", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-048", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-27T03:02:34.912Z", "error_message": "Missing error handling in unknown", "file": "../../../../../claude/.claude/plans/prancy-herding-nest.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: name, key, applied_lsn, and config_tag immediately after TCP; - [ ] `test_ctrl_hello_registers_standby_in_repl`: handle_ct", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-059", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-27T07:24:56.724Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-config-bootstrap/brief.md", "root_cause": "Had `-ENOSYS`", "fix": "Changed to `bootstrap_config_if_needed()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-060", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-27T09:24:44.651Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-config-bootstrap/spec.json", "root_cause": "Had \"2026-05-27T01:24:00-07:00\"", "fix": "Changed to \"2026-05-27T01:30:00-07:00\"", "tags": [ "auto-detected", "wrong-value", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-067", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T03:42:53.810Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'worker.c'", "fix": "Changed to 'startup_validation.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-068", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T04:01:56.031Z", "error_message": "Wrong condition in logic", "file": "src/controller/main.c", "root_cause": "Condition was: if (arguments->vcpus < 1)", "fix": "Changed to: if (validate_vcpus(arguments->vcpus)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-069", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T04:02:06.925Z", "error_message": "Wrong reference: vcpus should be nres", "file": "src/include/clusterconfig.h", "root_cause": "Used \"vcpus\" instead of \"nres\"", "fix": "Changed vcpus → nres", "tags": [ "auto-detected", "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-071", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T04:02:48.429Z", "error_message": "Incorrect value in code", "file": "src/schema/controller.capnp", "root_cause": "Had \"vcpus\"", "fix": "Changed to \"resources\"", "tags": [ "auto-detected", "wrong-value", "capnp", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-074", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T05:59:28.525Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (opcode == OPCode_requestVote || opcode == OPCode_p)", "fix": "Changed to: if (opcode == OPCode_requestVote ||\n opcod)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-075", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T07:04:33.895Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'startup_validation.c'", "fix": "Changed to 'testsuite/test_ha_election.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-078", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T07:22:56.418Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: peer_idx < 0 || peer_idx >= ctx->n_peers", "fix": "Added guard clause: if (peer_idx < 0 || peer_idx >= ctx->n_peers)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-081", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T07:53:10.883Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: role != CTRL_STANDBY", "fix": "Added guard clause: if (role != CTRL_STANDBY)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-082", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T08:23:40.040Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ctx->done_posted", "fix": "Added guard clause: if (ctx->done_posted)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-083", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T08:45:37.921Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !host || !tag_out", "fix": "Added guard clause: if (!host || !tag_out)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-084", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T08:48:58.609Z", "error_message": "Wrong reference: capn_str_null should be str", "file": "src/controller/config_repl.c", "root_cause": "Used \"capn_str_null\" instead of \"str\"", "fix": "Changed capn_str_null → str", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-086", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T09:13:17.676Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'startup_validation.c'", "fix": "Changed to 'testsuite/test_ha_bootstrap_support.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-087", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T10:13:52.421Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !workdir", "fix": "Added guard clause: if (!workdir)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-091", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T13:53:09.924Z", "error_message": "Wrong reference: in_catch_up should be acked_config_lsn", "file": "src/controller/repl.c", "root_cause": "Used \"in_catch_up\" instead of \"acked_config_lsn\"", "fix": "Changed in_catch_up → acked_config_lsn", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-092", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T14:11:04.583Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: p->current_lsn == 0 || cutoff_lsn + 1 >= p->current_lsn", "fix": "Added guard clause: if (p->current_lsn == 0 || cutoff_lsn + 1 >=)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-094", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T14:47:44.445Z", "error_message": "Wrong reference: ha_state_t should be _Atomic", "file": "src/controller/ha.h", "root_cause": "Used \"ha_state_t\" instead of \"_Atomic\"", "fix": "Changed ha_state_t → _Atomic", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-095", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T15:04:44.613Z", "error_message": "Wrong reference: socket should be epoll", "file": "src/controller/ha.c", "root_cause": "Used \"socket\" instead of \"epoll\"", "fix": "Changed socket → epoll", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-096", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-28T15:05:23.129Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ha_tcp_connect_hook", "fix": "Added guard clause: if (ha_tcp_connect_hook)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-097", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T02:48:17.371Z", "error_message": "Missing guard clause", "file": "src/lib/request.c", "root_cause": "No early return/throw for edge case: (ep == NULL", "fix": "Added guard clause: if ((ep == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-098", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T02:50:46.444Z", "error_message": "Wrong reference: XCE_ERR_STANDBY should be E_XCE_STANDBY", "file": "src/lib/request.c", "root_cause": "Used \"XCE_ERR_STANDBY\" instead of \"E_XCE_STANDBY\"", "fix": "Changed XCE_ERR_STANDBY → E_XCE_STANDBY", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-099", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T02:51:03.529Z", "error_message": "Wrong reference: XCE_ERR_NOT_READY should be E_XCE_NOT_READY", "file": "src/lib/testsuite/test_libxce_retry.c", "root_cause": "Used \"XCE_ERR_NOT_READY\" instead of \"E_XCE_NOT_READY\"", "fix": "Changed XCE_ERR_NOT_READY → E_XCE_NOT_READY", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-102", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T03:37:52.117Z", "error_message": "Wrong reference: data should be ctrl_hello_reply_t", "file": "src/include/typemap.h", "root_cause": "Used \"data\" instead of \"ctrl_hello_reply_t\"", "fix": "Changed data → ctrl_hello_reply_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-104", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T03:54:23.205Z", "error_message": "Missing error handling in struct", "file": "src/include/typemap.h", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: wal_catchup_entry_t* walcatchupentrymsg;; snapshot_transfer_t* snapshottransfermsg; | Also: /* Forward declarations for types defined later in this file; typedef struct snapshot_transfer_t snapshot_transfer_fw", "tags": [ "auto-detected", "error-handling", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-109", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T06:59:14.045Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha", "fix": "Added guard clause: if (!ha)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-111", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T07:02:31.287Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (c->myconf && c->myconf->cluster_config)", "fix": "Changed to: if (c->myconf && c->myconf->peers_cfg.candidates_count)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-117", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T13:41:46.841Z", "error_message": "Incorrect value in code", "file": "src/controller/myapp.c", "root_cause": "Had \"Pre-election config loaded: tag=%016\"", "fix": "Changed to \"Pre-election config loaded: tag=%016llx\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-118", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T13:51:42.299Z", "error_message": "Wrong reference: nres should be vcpus", "file": "src/include/clusterconfig.h", "root_cause": "Used \"nres\" instead of \"vcpus\"", "fix": "Changed nres → vcpus", "tags": [ "auto-detected", "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-119", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-29T16:32:10.285Z", "error_message": "Wrong reference: data should be request_vote_reply_t", "file": "src/include/typemap.h", "root_cause": "Used \"data\" instead of \"request_vote_reply_t\"", "fix": "Changed data → request_vote_reply_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-122", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T00:05:02.052Z", "error_message": "Wrong reference: cluster_init_phase2 should be cluster_register_listener", "file": "src/controller/include/cluster.h", "root_cause": "Used \"cluster_init_phase2\" instead of \"cluster_register_listener\"", "fix": "Changed cluster_init_phase2 → cluster_register_listener", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-123", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T00:20:27.244Z", "error_message": "Missing guard clause", "file": "src/controller/cluster.c", "root_cause": "No early return/throw for edge case: c->ep.flags == 0", "fix": "Added guard clause: if (c->ep.flags == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-127", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T01:12:38.572Z", "error_message": "Wrong reference: CTRL_PERF_NHASH should be c", "file": "src/controller/cluster.c", "root_cause": "Used \"CTRL_PERF_NHASH\" instead of \"c\"", "fix": "Changed CTRL_PERF_NHASH → c", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-129", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T01:21:20.140Z", "error_message": "Wrong reference: true should be false", "file": ".claude/skills/xce-build/SKILL.md", "root_cause": "Used \"true\" instead of \"false\"", "fix": "Changed true → false", "tags": [ "auto-detected", "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-130", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T01:28:22.079Z", "error_message": "Wrong reference: 120 should be 300", "file": "src/controller/meson.build", "root_cause": "Used \"120\" instead of \"300\"", "fix": "Changed 120 → 300", "tags": [ "auto-detected", "wrong-reference", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-135", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T06:19:47.181Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/election-iomgr-refactor/design.md", "root_cause": "Had `cluster_init_phase2`", "fix": "Changed to `cluster_config == NULL`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-136", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T06:38:09.325Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/election-iomgr-refactor/design.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* After election determines role: */; int is_first_boot = !c->running; /* running=1 only after cl | Also: #### `ha_dispatch_gate` — CTRL_PRIMARY_COMMITTING case; ```c | Also: ### 3-node startup — ctrl-a wins (with COMMITTING phase); participant PeerC as ctrl-c endpoint | Also: - **`ha_start_election_async()` is fully non-blocking**: Arm; - *Initial startup* (`ha->phase2_done == 0`): calls `cluster", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 5, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-139", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T06:58:05.115Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/election-iomgr-refactor/design.md", "root_cause": "Had `delay_task_cancel()`", "fix": "Changed to `clock_gettime(CLOCK_MONOTONIC)`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-142", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T07:57:14.052Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: xce_vote_request_hook != NULL", "fix": "Added guard clause: if (xce_vote_request_hook != NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-143", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T08:16:03.222Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !pkt || !pkt->data || pkt->sz == 0", "fix": "Added guard clause: if (!pkt || !pkt->data || pkt->sz == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-144", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T08:49:04.058Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-145", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T08:49:59.817Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: atomic_load(&t->cancelled", "fix": "Added guard clause: if (atomic_load(&t->cancelled)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-147", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T09:13:19.377Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-149", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T10:31:53.836Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'startup_validation.c'", "fix": "Changed to 'testsuite/test_ha_vote_gate.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-153", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T11:43:01.989Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'startup_validation.c'", "fix": "Changed to 'testsuite/test_ha_repl_push.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-154", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T11:43:44.829Z", "error_message": "Missing error handling in XCE_TESTING", "file": "src/controller/ha.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Push config to standbys with lower config_tag (Req 7.1) *; #ifdef XCE_TESTING", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-157", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:02:39.009Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_startup.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-159", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:22:57.013Z", "error_message": "Wrong return value", "file": "src/controller/testsuite/test_ha_startup.c", "root_cause": "Was returning: in < 10ms.", "fix": "Now returns: in < 5ms (design spec).", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-160", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:23:18.560Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_ha_startup.c", "root_cause": "Had \"myapp_run path: ha_start_election_async must retu", "fix": "Changed to \"myapp_run path: ha_start_election_async must retu", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-161", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:29:45.867Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-162", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:30:10.570Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-163", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:31:02.203Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_failover.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-164", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:45:22.182Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-166", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T12:50:35.870Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_bootstrap_support.c", "root_cause": "No early return/throw for edge case: c->myconf->config_version_tag != 0", "fix": "Added guard clause: if (c->myconf->config_version_tag != 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-167", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T13:06:57.152Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: cancelled_val", "fix": "Added guard clause: if (cancelled_val)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-168", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T13:24:06.024Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'startup_validation.c'", "fix": "Changed to 'testsuite/test_ha_repl_ack.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-169", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T13:42:28.077Z", "error_message": "Wrong reference: third should be second", "file": "src/controller/testsuite/test_ha_repl_ack.c", "root_cause": "Used \"third\" instead of \"second\"", "fix": "Changed third → second", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-170", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T14:35:07.679Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-172", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-30T23:42:12.644Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-176", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T02:09:39.630Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (c->myconf && c->myconf->peers_cfg.candidates_count)", "fix": "Changed to: if (ha->my_priority > 0)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-183", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T03:02:33.311Z", "error_message": "Missing guard clause", "file": "src/lib/request.c", "root_cause": "No early return/throw for edge case: req == NULL", "fix": "Added guard clause: if (req == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-186", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T04:11:45.534Z", "error_message": "Missing error handling in struct", "file": ".kiro/specs/raft-library/design.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: Caller->>RaftSM: raft_on_vote_request(state, from, term); alt term < current_term", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-188", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T04:19:54.524Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-library/design.md", "root_cause": "Had `raft.c`", "fix": "Changed to `raft.h`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-190", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T05:07:37.759Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: cfg->n_peers < 1", "fix": "Added guard clause: if (cfg->n_peers < 1)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-191", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T05:23:19.394Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: s->role == RAFT_CANDIDATE || s->role == RAFT_LEADER", "fix": "Added guard clause: if (s->role == RAFT_CANDIDATE || s->role == )", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-197", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T07:08:23.387Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-207", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T08:47:08.484Z", "error_message": "Wrong reference: test_raft_init_zero_peers_returns_einval should be test_raft_init_even_peers_returns_einval", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"test_raft_init_zero_peers_returns_einval\" instead of \"test_raft_init_even_peers_returns_einval\"", "fix": "Changed test_raft_init_zero_peers_returns_einval → test_raft_init_even_peers_returns_einval", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-209", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T10:19:47.014Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (ha_rdhup_election_hook != NULL)", "fix": "Changed to: if (c->myconf && c->myconf->peers_cfg.candidates_count)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-211", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T11:29:03.301Z", "error_message": "Wrong reference: 2000 should be 5000", "file": "src/controller/ha.h", "root_cause": "Used \"2000\" instead of \"5000\"", "fix": "Changed 2000 → 5000", "tags": [ "auto-detected", "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-215", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T12:43:45.333Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !pkt || !pkt->data || pkt->sz == 0", "fix": "Added guard clause: if (!pkt || !pkt->data || pkt->sz == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-216", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T12:49:40.554Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-peer-connection-reuse/tasks.md", "root_cause": "Had 's vote endpoints to standby control channels\n\n- [", "fix": "Changed to 's vote endpoints to standby control channels\n\n- [", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-218", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T12:58:44.435Z", "error_message": "Wrong reference: Request_body_nodata should be Request_body_nomsg", "file": "src/controller/ha.c", "root_cause": "Used \"Request_body_nodata\" instead of \"Request_body_nomsg\"", "fix": "Changed Request_body_nodata → Request_body_nomsg", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-220", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-05-31T14:20:41.161Z", "error_message": "Wrong reference: vote_reply_msg_handler should be vote_reply_msg_handler_for_test", "file": "src/controller/ha.c", "root_cause": "Used \"vote_reply_msg_handler\" instead of \"vote_reply_msg_handler_for_test\"", "fix": "Changed vote_reply_msg_handler → vote_reply_msg_handler_for_test", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-224", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T02:07:55.176Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !c->delaymgr.running", "fix": "Added guard clause: if (!c->delaymgr.running)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-229", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T02:49:09.141Z", "error_message": "Wrong operator: && should be !=", "file": "src/controller/ha.c", "root_cause": "Used \"&&\" instead of \"!=\"", "fix": "Changed operator && → !=", "tags": [ "auto-detected", "operator-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-233", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T03:07:51.264Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_ha_connect.c'", "fix": "Changed to 'testsuite/test_ha_ctrlhello.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-235", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T03:13:14.521Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_ha_connection_reuse.c'", "fix": "Changed to 'testsuite/test_ha_connect.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-236", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T03:15:29.129Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: rc < 0", "fix": "Added guard clause: if (rc < 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-238", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T03:23:32.483Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_ha_connect.c'", "fix": "Changed to 'testsuite/test_ha_connection_reuse.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-239", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T03:28:46.956Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ha_tcp_connect_hook != NULL", "fix": "Added guard clause: if (ha_tcp_connect_hook != NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-240", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T04:08:07.950Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_ha_connect.c'", "fix": "Changed to 'testsuite/test_ha_connection_reuse.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-241", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T04:13:03.001Z", "error_message": "Wrong reference: test_ha_connect should be test_ha_ctrlhello", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_ha_connect\" instead of \"test_ha_ctrlhello\"", "fix": "Changed test_ha_connect → test_ha_ctrlhello", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-242", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T05:19:12.427Z", "error_message": "Wrong reference: vcpu should be vcpus", "file": "src/tools/deploy-ha.sh", "root_cause": "Used \"vcpu\" instead of \"vcpus\"", "fix": "Changed vcpu → vcpus", "tags": [ "auto-detected", "wrong-reference", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-250", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T07:46:05.128Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ep || !ep->data", "fix": "Added guard clause: if (!ep || !ep->data)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-252", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T08:35:29.969Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'startup_validation.c'", "fix": "Changed to 'testsuite/test_ha_rdhup_integration.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-255", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T12:02:55.635Z", "error_message": "Wrong condition in logic", "file": "src/controller/cluster.c", "root_cause": "Condition was: if (rc != 0)", "fix": "Changed to: if (validate_heartbeat_config(ha_cfg.heartbeat_timeout)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-256", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T12:36:28.381Z", "error_message": "Wrong reference: startup_validation should be testsuite_test_ha_liveness", "file": "src/xce.build/build.ninja", "root_cause": "Used \"startup_validation\" instead of \"testsuite_test_ha_liveness\"", "fix": "Changed startup_validation → testsuite_test_ha_liveness", "tags": [ "wrong-reference", "ninja", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-260", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T14:42:41.325Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: interval_s <= 0", "fix": "Added guard clause: if (interval_s <= 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-263", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-01T15:32:59.304Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "No early return/throw for edge case: !f", "fix": "Added guard clause: if (!f)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-265", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-03T08:47:25.835Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-266", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-03T08:47:54.376Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-269", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-03T08:50:58.837Z", "error_message": "Wrong reference: test_am_i_primary should be test_ha_cluster", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_am_i_primary\" instead of \"test_ha_cluster\"", "fix": "Changed test_am_i_primary → test_ha_cluster", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-279", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T11:54:56.114Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-repl-hardening/design.md", "root_cause": "Had `(checkpoint_lsn, last_received_chunk)`", "fix": "Changed to `snap.part`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-284", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T14:33:03.464Z", "error_message": "Missing error handling in XCE_TESTING", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* ── Task 2.1: OPCode_walCatchupEntry handler ─────────────; #ifdef XCE_TESTING | Also: /* Task 2.1: OPCode_walCatchupEntry handler */; RUN_TEST(test_wal_catchup_entry_advances_applied_lsn);", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-285", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T14:41:35.073Z", "error_message": "Missing error handling in XCE_TESTING", "file": "src/controller/cluster.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: case OPCode_walCatchupEntry:; /* Task 2.1: standby applies a single WAL catch-up entry fro", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-288", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T14:46:44.652Z", "error_message": "Missing error handling in unknown", "file": "src/controller/ha.h", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: #include \"persist.h\" /* persist_t, apply_wal_entry */; #include \"typemap.h\" /* wal_catchup_entry_t */", "tags": [ "auto-detected", "error-handling", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-292", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T16:15:43.743Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: peer_idx < 0 || peer_idx >= MAX_HA_CANDIDATES", "fix": "Added guard clause: if (peer_idx < 0 || peer_idx >= MAX_HA_CANDI)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-294", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T16:45:25.724Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: standby_tag < committed_tag", "fix": "Added guard clause: if (standby_tag < committed_tag)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-295", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T16:57:59.213Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_ha_role.c", "root_cause": "Had \"test_evaluate_repl_action_stream_wal_from_zero: P", "fix": "Changed to \"test_evaluate_repl_action_send_snapshot_lsn_zero:", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-296", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T16:58:16.627Z", "error_message": "Wrong reference: test_evaluate_repl_action_stream_wal_from_zero should be test_evaluate_repl_action_send_snapshot_lsn_zero", "file": "src/controller/testsuite/test_ha_role.c", "root_cause": "Used \"test_evaluate_repl_action_stream_wal_from_zero\" instead of \"test_evaluate_repl_action_send_snapshot_lsn_zero\"", "fix": "Changed test_evaluate_repl_action_stream_wal_from_zero → test_evaluate_repl_action_send_snapshot_lsn_zero", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-297", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T17:08:18.571Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha || peer_idx < 0 || peer_idx >= MAX_HA_CANDIDATES", "fix": "Added guard clause: if (!ha || peer_idx < 0 || peer_idx >= MAX_H)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-301", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T23:09:43.701Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "No early return/throw for edge case: g_snaptest_chunk_count >= 16", "fix": "Added guard clause: if (g_snaptest_chunk_count >= 16)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-302", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-04T23:10:44.426Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !snap_dir", "fix": "Added guard clause: if (!snap_dir)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-308", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T01:19:20.356Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !d", "fix": "Added guard clause: if (!d)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-309", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T01:33:20.146Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha || !p || !snap_dir || !chunk", "fix": "Added guard clause: if (!ha || !p || !snap_dir || !chunk)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-310", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T01:34:06.660Z", "error_message": "Missing guard clause", "file": "src/controller/cluster.c", "root_cause": "No early return/throw for edge case: !chunk", "fix": "Added guard clause: if (!chunk)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-311", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T02:21:15.033Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ua > ub", "fix": "Added guard clause: if (ua > ub)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-312", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T02:47:32.237Z", "error_message": "Wrong reference: uintptr_t should be void", "file": "src/controller/testsuite/test_ha_evaluate_committing.c", "root_cause": "Used \"uintptr_t\" instead of \"void\"", "fix": "Changed uintptr_t → void", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-314", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T04:01:58.721Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha", "fix": "Added guard clause: if (!ha)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-315", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T04:52:32.206Z", "error_message": "Wrong reference: 10000 should be 60000", "file": "src/controller/ha.h", "root_cause": "Used \"10000\" instead of \"60000\"", "fix": "Changed 10000 → 60000", "tags": [ "auto-detected", "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-317", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-05T04:53:55.034Z", "error_message": "Wrong reference: 10000 should be HA_DEFAULT_COMMITTING_TIMEOUT_MS", "file": "src/controller/testsuite/test_ha_evaluate_committing.c", "root_cause": "Used \"10000\" instead of \"HA_DEFAULT_COMMITTING_TIMEOUT_MS\"", "fix": "Changed 10000 → HA_DEFAULT_COMMITTING_TIMEOUT_MS", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-326", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-06T11:06:46.509Z", "error_message": "Wrong reference: DEBUG2 should be INFO", "file": "src/controller/ha.c", "root_cause": "Used \"DEBUG2\" instead of \"INFO\"", "fix": "Changed DEBUG2 → INFO", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-327", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-06T12:11:21.422Z", "error_message": "Incorrect value in code", "file": "src/controller/ha.c", "root_cause": "Had \"HA: heartbeat tick (role=%d, n_standbys=%d)\"", "fix": "Changed to \"HA: primary heartbeat armed\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-328", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-06T13:02:49.052Z", "error_message": "Missing guard clause", "file": "src/lib/delay.c", "root_cause": "No early return/throw for edge case: t1_is_ms && t2_is_ms", "fix": "Added guard clause: if (t1_is_ms && t2_is_ms)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-329", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-08T13:12:54.436Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-library/research.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-334", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-09T12:56:11.095Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (my_role == CTRL_STANDBY && ha_heartbeat_is_fresh(h)", "fix": "Changed to: if (my_role == CTRL_STANDBY && ha->primary_ctrl_fd >= )", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-341", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T00:23:52.563Z", "error_message": "Wrong reference: last_heartbeat should be voted_for_term", "file": "src/controller/ha.h", "root_cause": "Used \"last_heartbeat\" instead of \"voted_for_term\"", "fix": "Changed last_heartbeat → voted_for_term", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-344", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T00:32:34.054Z", "error_message": "Incorrect value in code", "file": "../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/project_ha_bootstrap_progress.md", "root_cause": "Had `ha->last_heartbeat`", "fix": "Changed to `ha->last_activity`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-349", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T01:39:19.368Z", "error_message": "Missing guard clause", "file": "src/lib/request.c", "root_cause": "No early return/throw for edge case: l.p.type == CAPN_NULL", "fix": "Added guard clause: if (l.p.type == CAPN_NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-350", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T01:39:31.683Z", "error_message": "Missing error handling in unknown", "file": "src/lib/request.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: if (req->body_which == Request_body_walcatchupentrymsg; && req->body.walcatchupentrymsg != NULL) { | Also: /* wal_entry_to_wire: fill a wire WalCatchupEntry from a C e; * fields and raw payload bytes. Sub-entry nesting is one le", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-358", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T03:55:44.698Z", "error_message": "Wrong condition in logic", "file": "src/controller/config_repl.c", "root_cause": "Condition was: if (!rcpr->raw_bytes || rcpr->raw_bytes_len == 0 || !r)", "fix": "Changed to: if ((ctrl_role_t)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-359", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T04:16:25.052Z", "error_message": "Missing guard clause", "file": "src/scheduler/src/scheduler.c", "root_cause": "No early return/throw for edge case: r == NULL", "fix": "Added guard clause: if (r == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-361", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T04:47:09.048Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (opcode == OPCode_requestVote || opcode == OPCode_p)", "fix": "Changed to: if (opcode == OPCode_requestVote ||\n opcode)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-364", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T06:26:24.340Z", "error_message": "Incorrect value in code", "file": "src/controller/CLAUDE.md", "root_cause": "Had `CTRL_ELECTING`", "fix": "Changed to `CTRL_INIT`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-367", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T07:56:21.347Z", "error_message": "Missing error handling in XCE_TESTING", "file": "src/controller/testsuite/test_repl_unit.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* =========================================================; * Task 1.1: repl_broadcast send path tests", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-368", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T07:57:40.792Z", "error_message": "Wrong reference: WAL_JOB should be WAL_JOB_SUBMIT", "file": "src/controller/testsuite/test_repl_unit.c", "root_cause": "Used \"WAL_JOB\" instead of \"WAL_JOB_SUBMIT\"", "fix": "Changed WAL_JOB → WAL_JOB_SUBMIT", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-371", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T07:59:24.268Z", "error_message": "Wrong reference: DEBUG3 should be TRACE", "file": "src/controller/repl.c", "root_cause": "Used \"DEBUG3\" instead of \"TRACE\"", "fix": "Changed DEBUG3 → TRACE", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-373", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T08:45:30.400Z", "error_message": "Wrong reference: request should be ep", "file": "src/controller/cluster.c", "root_cause": "Used \"request\" instead of \"ep\"", "fix": "Changed request → ep", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-374", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T08:47:48.296Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_ha_role.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Task 3.3 (ha-wal-replication): dispatch gate standby-role; RUN_TEST(test_dispatch_gate_allows_wal_catchup_in_standby_ro", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-376", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T09:17:35.218Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (opcode == OPCode_nop)", "fix": "Changed to: if (rep_s.data_which == RequestReply_data_walackreplym)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-380", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T10:37:21.924Z", "error_message": "Wrong reference: test_catchup_full_lifecycle_integration should be test_single_node_committed_lsn_unchanged", "file": "src/controller/testsuite/test_p2_integration.c", "root_cause": "Used \"test_catchup_full_lifecycle_integration\" instead of \"test_single_node_committed_lsn_unchanged\"", "fix": "Changed test_catchup_full_lifecycle_integration → test_single_node_committed_lsn_unchanged", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-382", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T11:54:19.749Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-wal-replication/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-384", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T14:13:01.581Z", "error_message": "Function not marked async", "file": ".kiro/steering/tech.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-386", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T14:43:53.161Z", "error_message": "Function not marked async", "file": "CLAUDE.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-388", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-10T14:54:18.503Z", "error_message": "Function not marked async", "file": "src/controller/CLAUDE.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-389", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T02:46:08.749Z", "error_message": "Wrong reference: signal should be stdio", "file": "src/lib/delay.c", "root_cause": "Used \"signal\" instead of \"stdio\"", "fix": "Changed signal → stdio", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-391", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T03:41:14.912Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha", "fix": "Added guard clause: if (!ha)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-392", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T03:46:02.642Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: sync_rc_out", "fix": "Added guard clause: if (sync_rc_out)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-394", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T05:09:37.037Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-consistency-invariants/research.md", "root_cause": "Had `persist_truncate_wal_above`", "fix": "Changed to `restore_job`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-398", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T06:35:26.288Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-consistency-invariants/research.md", "root_cause": "Had `restore_job`", "fix": "Changed to \"irrevocable\"", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-399", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T06:43:14.709Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-consistency-invariants/research.md", "root_cause": "Had 't span syscalls and degrade to serial mode), C ec", "fix": "Changed to 't span syscalls), C ecosystem dead (libitm unmain", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-400", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T07:23:53.901Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-consistency-invariants/research.md", "root_cause": "Had \"return quickly\"", "fix": "Changed to `--vcpus`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-401", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T07:47:34.756Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-consistency-invariants/research.md", "root_cause": "Had `mark_job_*`", "fix": "Changed to \"pending facts\"", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-403", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T08:34:47.868Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-consistency-invariants/design.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-405", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T09:47:16.750Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-single-leader-role/design.md", "root_cause": "Had `writable_lsn`", "fix": "Changed to 's \"", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-406", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T09:49:04.296Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-single-leader-role/tasks.md", "root_cause": "Had \" --exclude-dir=.git --exclude-dir=.kiro --exclude", "fix": "Changed to \" --exclude-dir=.git --exclude-dir=specs --exclude", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-407", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T10:01:15.181Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-commit-barrier-rollout/design.md", "root_cause": "Had `repl.h`", "fix": "Changed to `entry_lsn`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-408", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T10:01:39.424Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-convergence-recovery/tasks.md", "root_cause": "Had `-XCE_ERR_NOT_READY`", "fix": "Changed to `OPCode_notify`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-413", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T15:28:35.990Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_commit_engine.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* ═════════════════════════════════════════════════════════; * Task 3.1 — membership re-evaluation (commit_on_membership_ | Also: /* Task 3.1 — membership re-evaluation */; RUN_TEST(test_catchup_standby_ack_does_not_count_toward_pend", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-420", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T16:19:51.195Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_commit_engine.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Task 4.2 — wired gate: registry truth at ha_dispatch_gate; RUN_TEST(test_gate_wired_registry_catchup_standby_rejects_th", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-421", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T16:23:46.118Z", "error_message": "Missing guard clause", "file": "src/controller/repl.c", "root_cause": "No early return/throw for edge case: !r", "fix": "Added guard clause: if (!r)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-423", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T22:39:24.704Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_commit_engine.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* ═════════════════════════════════════════════════════════; * Task 5.1 — integration: ACK feed and the job-submit sync-a | Also: #include \"typemap.h\" /* wal_catchup_entry_t (task 5; #include \"wal_types.h\" /* WAL_JOB_SUBMIT (task 5.1 sy", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-424", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T23:08:49.909Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-commit-engine/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-425", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T23:15:25.014Z", "error_message": "Wrong return value", "file": "src/controller/repl.c", "root_cause": "Was returning: idx;", "fix": "Now returns: * above mutates nothing, so it deliberately skips ", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-428", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T23:43:45.216Z", "error_message": "Incorrect value in code", "file": "src/include/xce/cluster_def.h", "root_cause": "Had \"ha.h\"", "fix": "Changed to \"commit.h\"", "tags": [ "auto-detected", "wrong-value", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-429", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T23:44:16.357Z", "error_message": "Wrong condition in logic", "file": "src/controller/cluster.c", "root_cause": "Condition was: if (ha_is_primary(&c->ha)", "fix": "Changed to: if (c->commit.p == NULL)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-431", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T23:45:16.518Z", "error_message": "Incorrect value in code", "file": "src/controller/persist.c", "root_cause": "Had \"xce/types.h\"", "fix": "Changed to \"xce/errnox.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-432", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T23:45:42.031Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_p2_integration.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-433", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-11T23:45:51.649Z", "error_message": "Wrong reference: test_single_node_committed_lsn_unchanged should be test_single_node_committed_lsn_advances", "file": "src/controller/testsuite/test_p2_integration.c", "root_cause": "Used \"test_single_node_committed_lsn_unchanged\" instead of \"test_single_node_committed_lsn_advances\"", "fix": "Changed test_single_node_committed_lsn_unchanged → test_single_node_committed_lsn_advances", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-434", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-12T00:23:08.815Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_p2_integration.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-437", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-12T00:51:52.673Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-commit-engine/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-438", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-12T03:52:57.142Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'commit.c'", "fix": "Changed to 'testsuite/test_commit_barrier_rollout.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-440", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-12T04:18:19.158Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: detail == HOOK_DETAIL_WORKER_JOIN ||\n detail == H", "fix": "Added guard clause: if (detail == HOOK_DETAIL_WORKER_JOIN ||\n )", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-442", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-12T04:50:32.154Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_commit_barrier_rollout.c", "root_cause": "Had \"xce/types.h\"", "fix": "Changed to \"xce/errnox.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-443", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-12T05:14:36.392Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: p == NULL", "fix": "Added guard clause: if (p == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-452", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-12T15:03:38.962Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_commit_barrier_reply.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-457", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T00:18:17.080Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !c->ha.standby_endpoints", "fix": "Added guard clause: if (!c->ha.standby_endpoints)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-461", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T01:11:49.673Z", "error_message": "Wrong condition in logic", "file": "src/controller/config_repl.c", "root_cause": "Condition was: if (n == 0)", "fix": "Changed to: if (n_out)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-467", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T01:38:08.308Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (rep_s.data_which == RequestReply_data_replconfigpu)", "fix": "Changed to: if (0 /* REVIEWER RED CHECK */ && rep_s.data_which == )", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-468", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T03:56:09.185Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_commit_barrier_reply.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-469", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T06:33:41.449Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_ha_cluster.c'", "fix": "Changed to 'testsuite/test_ha_role_lifecycle.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-470", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T06:34:01.929Z", "error_message": "Wrong reference: test_ha_cluster should be test_ha_role_lifecycle", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_ha_cluster\" instead of \"test_ha_role_lifecycle\"", "fix": "Changed test_ha_cluster → test_ha_role_lifecycle", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-471", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T06:41:01.532Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_role_lifecycle.c", "root_cause": "No early return/throw for edge case: pid < 0", "fix": "Added guard clause: if (pid < 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-473", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T07:32:43.287Z", "error_message": "Wrong return value", "file": "src/controller/persist.c", "root_cause": "Was returning: WAL_MODE_LOCAL;", "fix": "Now returns: WAL_MODE_RETAIN;", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-476", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T08:38:00.471Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: c->ha.hooks_registered", "fix": "Added guard clause: if (c->ha.hooks_registered)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-480", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T08:57:05.687Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_role_lifecycle.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-482", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T09:36:17.806Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_start_election_async.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-483", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T09:45:01.531Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_role_lifecycle.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-484", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T10:16:06.331Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-single-leader-role/tasks.md", "root_cause": "Had `lifecycle_cluster_setup`", "fix": "Changed to `ha_promote_to_primary`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-493", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T12:08:04.621Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (role == CTRL_PRIMARY || role == CTRL_PRIMARY_COMMI)", "fix": "Changed to: if (role == CTRL_PRIMARY)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 4, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-494", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T12:10:08.938Z", "error_message": "Wrong reference: CTRL_PRIMARY_COMMITTING should be CTRL_PRIMARY", "file": "src/controller/ha.c", "root_cause": "Used \"CTRL_PRIMARY_COMMITTING\" instead of \"CTRL_PRIMARY\"", "fix": "Changed CTRL_PRIMARY_COMMITTING → CTRL_PRIMARY", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-496", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T13:07:42.791Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_ha_role_lifecycle.c", "root_cause": "Had \"winning election must land DIRECTLY in CTRL_PRIMA", "fix": "Changed to \"winning election must land DIRECTLY in CTRL_PRIMA", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-497", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T13:10:05.452Z", "error_message": "Wrong reference: CTRL_PRIMARY_COMMITTING should be CTRL_PRIMARY", "file": "src/controller/testsuite/test_ha_connection_reuse.c", "root_cause": "Used \"CTRL_PRIMARY_COMMITTING\" instead of \"CTRL_PRIMARY\"", "fix": "Changed CTRL_PRIMARY_COMMITTING → CTRL_PRIMARY", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-498", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T13:10:16.164Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_ha_connection_reuse.c", "root_cause": "Had \"err_handler: ep must be removed from standby_endp", "fix": "Changed to \"err_handler: ep must be removed from standby_endp", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-500", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T13:14:11.496Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_ha_startup.c", "root_cause": "Had \"test_dispatch_gate_committing_allows_repl_ops: PA", "fix": "Changed to \"test_dispatch_gate_primary_no_quorum_allows_repl_", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-501", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T13:15:33.777Z", "error_message": "Wrong reference: test_nonblocking_single_node_election_enters_committing should be test_nonblocking_single_node_election_enters_primary_directly", "file": "src/controller/testsuite/test_ha_startup.c", "root_cause": "Used \"test_nonblocking_single_node_election_enters_committing\" instead of \"test_nonblocking_single_node_election_enters_primary_directly\"", "fix": "Changed test_nonblocking_single_node_election_enters_committing → test_nonblocking_single_node_election_enters_primary_directly", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-505", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T14:01:32.553Z", "error_message": "Wrong reference: uint32_t should be ha_config_t", "file": "src/controller/ha.h", "root_cause": "Used \"uint32_t\" instead of \"ha_config_t\"", "fix": "Changed uint32_t → ha_config_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-507", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T14:43:54.194Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/ha-async-io.md", "root_cause": "Had `CTRL_PRIMARY_COMMITTING → CTRL_PRIMARY`", "fix": "Changed to 's own-term commit rule (§5.4.2): an election winn", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-508", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T14:54:21.781Z", "error_message": "Incorrect value in code", "file": ".claude/skills/xce-deploy-ha/SKILL.md", "root_cause": "Had `→ CTRL_PRIMARY_COMMITTING`", "fix": "Changed to `HA FSM (raft): → CTRL_PRIMARY (term=...)`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-509", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-13T15:31:21.740Z", "error_message": "Incorrect value in code", "file": "../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/project_ha_consistency_invariants.md", "root_cause": "Had \"XCE HA Raft+CP umbrella — sub-specs 1&2 of 4 IMPL", "fix": "Changed to \"XCE HA Raft+CP umbrella — sub-specs 1,2,3 of 4 IM", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-510", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T00:30:31.077Z", "error_message": "Wrong reference: stdint should be stdbool", "file": "src/controller/include/cluster.h", "root_cause": "Used \"stdint\" instead of \"stdbool\"", "fix": "Changed stdint → stdbool", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-512", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T00:34:38.745Z", "error_message": "Wrong reference: xlist_destroy should be xlist_fini", "file": "src/controller/testsuite/test_egress_filter.c", "root_cause": "Used \"xlist_destroy\" instead of \"xlist_fini\"", "fix": "Changed xlist_destroy → xlist_fini", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-513", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T00:35:13.711Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'commit.c'", "fix": "Changed to 'testsuite/test_egress_filter.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-514", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T00:37:31.926Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_egress_filter.c", "root_cause": "No early return/throw for edge case: iter_make(&it, c->jobmgr", "fix": "Added guard clause: if (iter_make(&it, c->jobmgr)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-516", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T01:46:09.600Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-518", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T01:50:24.429Z", "error_message": "Missing guard clause", "file": "src/controller/sched.c", "root_cause": "No early return/throw for edge case: l->count > 0", "fix": "Added guard clause: if (l->count > 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-519", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T01:52:56.833Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_egress_filter.c", "root_cause": "Had \"\\n>> commit-gated scheduler egress tests (RED, ta", "fix": "Changed to \"\\n>> commit-gated scheduler egress tests (GREEN, ", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-521", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T03:55:55.380Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_demotion_convergence.c", "root_cause": "Had \"commit.h\"", "fix": "Changed to \"cluster.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-523", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T04:21:18.071Z", "error_message": "Missing guard clause", "file": "src/controller/ha_convergence.c", "root_cause": "No early return/throw for edge case: ctx == NULL || ctx->c == NULL", "fix": "Added guard clause: if (ctx == NULL || ctx->c == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-526", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T04:52:58.813Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-convergence-recovery/tasks.md", "root_cause": "Had \"No space left on device\"", "fix": "Changed to `/tmp/xce_*`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-527", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T04:57:22.178Z", "error_message": "Missing error handling in unknown", "file": "src/controller/ha.h", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /*; * ha_walack_continuation_for_test: test-only entry point for", "tags": [ "auto-detected", "error-handling", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-532", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T06:12:36.513Z", "error_message": "Missing guard clause", "file": "src/controller/ha_convergence.c", "root_cause": "No early return/throw for edge case: ha == NULL", "fix": "Added guard clause: if (ha == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-533", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T06:37:35.904Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_convergence_verification.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: printf(\"\\n>> Regression pins: fan-out / snapshot fallback / ; \"re-inclusion (task 6.1 — PASS against current code)\\n\\n\"); | Also: /* ── Fan-out counting send-hook (task 6.1 (a)/(d), umbrella; * repl_broadcast routes each enqueue through repl_broadcast_", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-534", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T06:38:38.792Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_convergence_verification.c", "root_cause": "Had \"delay.h\"", "fix": "Changed to \"controller.capnp.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-536", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T07:56:01.819Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_rdhup_integration.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-537", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T08:02:40.832Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-542", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T09:29:31.490Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'commit.c'", "fix": "Changed to 'testsuite/test_coldstart_lsn0.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-550", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T11:38:09.614Z", "error_message": "Wrong reference: test_pin_dispatch_gate_degraded_allowlist should be test_empty_standby_fresh_cluster_streams_not_snapshot", "file": "src/controller/testsuite/test_convergence_verification.c", "root_cause": "Used \"test_pin_dispatch_gate_degraded_allowlist\" instead of \"test_empty_standby_fresh_cluster_streams_not_snapshot\"", "fix": "Changed test_pin_dispatch_gate_degraded_allowlist → test_empty_standby_fresh_cluster_streams_not_snapshot", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-551", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T11:45:02.411Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (standby_lsn < oldest_wal_lsn)", "fix": "Changed to: if (standby_lsn + 1 < oldest_wal_lsn)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-555", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T12:23:52.351Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_repl_apply.c", "root_cause": "No early return/throw for edge case: !p", "fix": "Added guard clause: if (!p)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-556", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T12:25:37.723Z", "error_message": "Function not marked async", "file": "src/include/persist.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-557", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T12:26:04.137Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p", "fix": "Added guard clause: if (!p)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-560", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-14T19:54:55.428Z", "error_message": "Wrong reference: myconf_t should be uint32_t", "file": "src/include/myconf.h", "root_cause": "Used \"myconf_t\" instead of \"uint32_t\"", "fix": "Changed myconf_t → uint32_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-570", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-15T11:10:10.553Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/product.md", "root_cause": "Had `raft.c`", "fix": "Changed to `src/lib/raft/`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-572", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-15T11:10:26.312Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/tech.md", "root_cause": "Had `raft.c`", "fix": "Changed to `src/lib/raft/`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-575", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T00:10:49.295Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-prevote/research.md", "root_cause": "Had 't understand PreVote (older binary) — does the ca", "fix": "Changed to 's \"", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-576", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T00:18:28.793Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-prevote/research.md", "root_cause": "Had 's \"", "fix": "Changed to `ha_heartbeat_is_fresh()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-578", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T03:00:48.818Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-prevote/design.md", "root_cause": "Had `ha_elect_ctx_t`", "fix": "Changed to `raft_on_vote_reply`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 9, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-579", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T03:01:07.659Z", "error_message": "Wrong return value", "file": ".kiro/specs/ha-prevote/design.md", "root_cause": "Was returning: codes (e.g. `RAFT_PRE_VOTE_WON`, `RAFT_PRE_VOTE_LO", "fix": "Now returns: codes (e.g. `RAFT_PRE_VOTE_WON`, `RAFT_PRE_VOTE_LO", "tags": [ "auto-detected", "return-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-584", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T04:27:50.039Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: s->cbs->on_trace", "fix": "Added guard clause: if (s->cbs->on_trace)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-585", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T04:36:28.796Z", "error_message": "Missing guard clause", "file": "src/lib/testsuite/test_raft.c", "root_cause": "No early return/throw for edge case: rc != 0", "fix": "Added guard clause: if (rc != 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-586", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T04:50:38.855Z", "error_message": "Missing error handling in struct", "file": "src/controller/testsuite/test_ha_vote_gate.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Task 3.1 — voter-side PreVote dispatch gate (stickiness +; * no mutation, reply term unchanged) */", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-591", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T05:27:09.380Z", "error_message": "Wrong reference: test_commit_engine should be test_ha_prevote", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_commit_engine\" instead of \"test_ha_prevote\"", "fix": "Changed test_commit_engine → test_ha_prevote", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-592", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T05:28:01.236Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !c || !c->myconf", "fix": "Added guard clause: if (!c || !c->myconf)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-593", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T05:44:57.430Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-prevote/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-594", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T05:50:25.729Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_commit_engine.c'", "fix": "Changed to 'testsuite/test_ha_failover_prevote.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-595", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T05:50:35.123Z", "error_message": "Wrong reference: test_commit_engine should be test_ha_failover_prevote", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_commit_engine\" instead of \"test_ha_failover_prevote\"", "fix": "Changed test_commit_engine → test_ha_failover_prevote", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-597", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T05:59:43.939Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-598", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T06:33:05.644Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: role == CTRL_STANDBY && ha->raft.pre_vote_in_progress", "fix": "Added guard clause: if (role == CTRL_STANDBY && ha->raft.pre_vot)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-603", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T08:18:48.567Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-613", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T13:15:11.048Z", "error_message": "Function not marked async", "file": ".kiro/specs/libxce-failover/design.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-614", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T13:18:29.113Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/libxce-failover/design.md", "root_cause": "Had `xce_ctx_call`", "fix": "Changed to `xcecli_retry_next`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-617", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T23:38:24.000Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/libxce-failover/design.md", "root_cause": "Had `redirect_host/port`", "fix": "Changed to `host/port`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-619", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-16T23:40:22.003Z", "error_message": "Wrong reference: address should be hint", "file": ".kiro/specs/libxce-failover/tasks.md", "root_cause": "Used \"address\" instead of \"hint\"", "fix": "Changed address → hint", "tags": [ "auto-detected", "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-623", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T00:04:51.775Z", "error_message": "Wrong reference: XCE_MAXHOST_LEN should be XCE_MAXHOSTNAME_LEN", "file": ".kiro/specs/libxce-failover/design.md", "root_cause": "Used \"XCE_MAXHOST_LEN\" instead of \"XCE_MAXHOSTNAME_LEN\"", "fix": "Changed XCE_MAXHOST_LEN → XCE_MAXHOSTNAME_LEN", "tags": [ "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-624", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T02:35:29.695Z", "error_message": "Incorrect value in code", "file": "src/lib/meson.build", "root_cause": "Had 'dataq.c'", "fix": "Changed to 'client_failover.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-626", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T02:48:27.547Z", "error_message": "Missing guard clause", "file": "src/lib/client_failover.c", "root_cause": "No early return/throw for edge case: ac == NULL || host_out == NULL || host_sz == 0 || port_out =", "fix": "Added guard clause: if (ac == NULL || host_out == NULL || host_s)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-629", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T03:18:22.365Z", "error_message": "Missing guard clause", "file": "src/lib/client_failover.c", "root_cause": "No early return/throw for edge case: base >= (double", "fix": "Added guard clause: if (base >= (double)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-631", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T03:31:29.120Z", "error_message": "Missing guard clause", "file": "src/lib/client_failover.c", "root_cause": "No early return/throw for edge case: ac == NULL", "fix": "Added guard clause: if (ac == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-633", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T03:40:10.853Z", "error_message": "Missing guard clause", "file": "src/lib/client_failover.c", "root_cause": "No early return/throw for edge case: ac == NULL", "fix": "Added guard clause: if (ac == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-635", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T03:51:08.767Z", "error_message": "Wrong return value", "file": "src/lib/client.c", "root_cause": "Was returning: xce_reslist(&(ctx->ctx), res);", "fix": "Now returns: XCECLI_FAILOVER_CALL(ctx, /*is_write=*/false,", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 8, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-637", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T03:57:33.232Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/libxce-failover/design.md", "root_cause": "Had `nop`", "fix": "Changed to `jobinfo`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-638", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T04:02:05.572Z", "error_message": "Missing guard clause", "file": "src/lib/client_failover.c", "root_cause": "No early return/throw for edge case: ac == NULL", "fix": "Added guard clause: if (ac == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-639", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T04:11:59.759Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_p1_integration.c'", "fix": "Changed to 'testsuite/test_join_redirect.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-640", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T04:12:01.203Z", "error_message": "Wrong reference: test_p1_integration should be test_join_redirect", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_p1_integration\" instead of \"test_join_redirect\"", "fix": "Changed test_p1_integration → test_join_redirect", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-641", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T04:19:58.697Z", "error_message": "Wrong reference: test_recover_resets_err_state_to_run should be test_decide_jitter_staggers_many_clients", "file": "src/lib/testsuite/test_libxce_retry.c", "root_cause": "Used \"test_recover_resets_err_state_to_run\" instead of \"test_decide_jitter_staggers_many_clients\"", "fix": "Changed test_recover_resets_err_state_to_run → test_decide_jitter_staggers_many_clients", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-644", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T08:15:04.978Z", "error_message": "Incorrect value in code", "file": "src/lib/meson.build", "root_cause": "Had 'testsuite/test_raft.c'", "fix": "Changed to 'testsuite/test_netio_arm_failure.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-647", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T08:21:56.735Z", "error_message": "Wrong reference: 611 should be 646", "file": "src/lib/netio.c", "root_cause": "Used \"611\" instead of \"646\"", "fix": "Changed 611 → 646", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-651", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T10:44:37.350Z", "error_message": "Wrong return value", "file": "src/lib/request.c", "root_cause": "Was returning: 0;", "fix": "Now returns: (enq_rc < 0) ? enq_rc : 0;", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-654", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T11:21:51.571Z", "error_message": "Wrong return value", "file": "src/lib/testsuite/test_netio_arm_failure.c", "root_cause": "Was returning: a negative error and (2) invoke the endpoint's err", "fix": "Now returns: a negative, RETRIABLE error so the caller propagat", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-656", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T11:22:17.916Z", "error_message": "Wrong reference: test_enq_arm_failure_is_loud_and_fires_errhandler should be test_enq_arm_failure_is_loud_no_errhandler", "file": "src/lib/testsuite/test_netio_arm_failure.c", "root_cause": "Used \"test_enq_arm_failure_is_loud_and_fires_errhandler\" instead of \"test_enq_arm_failure_is_loud_no_errhandler\"", "fix": "Changed test_enq_arm_failure_is_loud_and_fires_errhandler → test_enq_arm_failure_is_loud_no_errhandler", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-658", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T14:46:54.135Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (role == CTRL_STANDBY && ha_heartbeat_is_fresh(ha)", "fix": "Changed to: if (role == CTRL_STANDBY && ha->primary_ctrl_fd >= 0 &)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-659", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T14:47:25.446Z", "error_message": "Wrong condition in logic", "file": "src/controller/cluster.c", "root_cause": "Condition was: if (role == CTRL_STANDBY &&\n )", "fix": "Changed to: if (role == CTRL_STANDBY &&\n )", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-662", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T23:34:32.115Z", "error_message": "Function not marked async", "file": "../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/MEMORY.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-664", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-17T23:59:44.577Z", "error_message": "Incorrect value in code", "file": "src/tools/test-commit-durability.sh", "root_cause": "Had \"${2:-6}\"", "fix": "Changed to \"${2:-8}\"", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-666", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T02:32:07.670Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-commit-durability/brief.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-667", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T02:35:08.157Z", "error_message": "Function not marked async", "file": ".kiro/steering/roadmap.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-668", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T03:12:26.259Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-commit-durability/design.md", "root_cause": "Had `persist.c:515`", "fix": "Changed to `fsync_worker`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 5, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-671", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T03:15:13.287Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/roadmap.md", "root_cause": "Had `fsync_worker`", "fix": "Changed to `/kiro-validate-design`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-673", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T03:50:26.761Z", "error_message": "Function not marked async", "file": "src/controller/CLAUDE.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-676", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T04:00:06.872Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-commit-durability/design.md", "root_cause": "Had `src/include/persist.h`", "fix": "Changed to `persist_wal_sync_append`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-677", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T04:39:24.460Z", "error_message": "Wrong reference: myconf_t should be uint32_t", "file": "src/include/myconf.h", "root_cause": "Used \"myconf_t\" instead of \"uint32_t\"", "fix": "Changed myconf_t → uint32_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-678", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T04:50:36.884Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'commit.c'", "fix": "Changed to 'testsuite/test_commit_durability.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-679", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T04:51:30.430Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p", "fix": "Added guard clause: if (!p)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-682", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T05:02:07.556Z", "error_message": "Incorrect value in code", "file": "src/tools/test-commit-durability.sh", "root_cause": "Had \"$(mktemp /tmp/xce-durability-acked.XXXXXX)\"", "fix": "Changed to \"$(mktemp \"", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-684", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T05:28:05.352Z", "error_message": "Function not marked async", "file": "src/tools/test-commit-durability.sh", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-686", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T05:43:02.761Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-688", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T05:54:46.908Z", "error_message": "Function not marked async", "file": "src/include/persist.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-690", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T05:55:33.474Z", "error_message": "Wrong reference: else should be RUN_TEST", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Used \"else\" instead of \"RUN_TEST\"", "fix": "Changed else → RUN_TEST", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-692", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T05:59:17.869Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-694", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:09:08.298Z", "error_message": "Incorrect value in code", "file": "../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/project_ha_commit_durability.md", "root_cause": "Had `/kiro-spec-init ha-commit-durability`", "fix": "Changed to 't fence the stale node because the entries were d", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-695", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:12:59.924Z", "error_message": "Function not marked async", "file": "src/include/persist.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-696", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:13:32.891Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-697", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:13:40.659Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p", "fix": "Added guard clause: if (!p)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-699", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:14:16.158Z", "error_message": "Function not marked async", "file": "src/controller/commit.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-701", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:15:45.248Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Had \"config.h\"", "fix": "Changed to \"commit.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-705", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:33:12.523Z", "error_message": "Function not marked async", "file": "src/include/persist.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-707", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:34:06.875Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: p", "fix": "Added guard clause: if (p)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-708", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:34:36.356Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-711", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T06:50:49.987Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: written_lsn > durable", "fix": "Added guard clause: if (written_lsn > durable)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-714", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T07:00:36.008Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: written_lsn > durable", "fix": "Added guard clause: if (written_lsn > durable)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-720", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T07:52:20.595Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* task 3.2 — Boot Policy Decision Table skeletons (IGNORED,; * 3.3/4.3). Registered so each row is reported as IGNORED, n", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-721", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T08:04:18.857Z", "error_message": "Missing error handling in enum", "file": "src/include/persist.h", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Bounded catch-up window (ha-commit-durability task 3.3, R; * The FINITE deadline a recovery-truncated / behind member i", "tags": [ "auto-detected", "error-handling", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-726", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T08:19:47.036Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-728", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T08:39:54.889Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-commit-durability/design.md", "root_cause": "Had `durable_floor ≤ applied_lsn`", "fix": "Changed to `applied_lsn`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-732", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T08:51:34.635Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_vote_gate.c", "root_cause": "No early return/throw for edge case: !mkdtemp(tmp", "fix": "Added guard clause: if (!mkdtemp(tmp)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-733", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T08:52:12.840Z", "error_message": "Wrong return value", "file": "src/controller/ha.c", "root_cause": "Was returning: persist_durable_floor(p);", "fix": "Now returns: floor > 8ULL ? floor : 8ULL; /* BUG: pretends lear", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-735", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T09:08:09.215Z", "error_message": "Missing error handling in unknown", "file": "src/controller/ha.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* ── ha-commit-durability task 4.3: pre-promotion eligibili; * Refuse promotion BEFORE the node becomes authoritative CTR", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-736", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T09:09:28.348Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Empty first-boot WAL: durable=0, HWM=0 -> ELIGIBLE. A fr; * member is not behind anything and must be promotable (no f", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-738", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T09:45:40.163Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-739", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T09:46:18.019Z", "error_message": "Function not marked async", "file": "src/include/persist.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-740", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T09:46:46.814Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-741", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T09:49:58.840Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Test-injectable send hook (defined in repl.c under XCE_TE; * repl_broadcast from dereferencing the dummy endpoints as r", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-743", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T10:25:02.673Z", "error_message": "Missing error handling in unknown", "file": "src/controller/ha.h", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* ha_cancel_promotion_fence_timer: cancel a pending bounded; * (idempotent; no-op when none is armed). Called when the m", "tags": [ "auto-detected", "error-handling", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-745", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T10:26:34.227Z", "error_message": "Wrong operator: != should be ==", "file": "src/controller/ha.c", "root_cause": "Used \"!=\" instead of \"==\"", "fix": "Changed operator != → ==", "tags": [ "auto-detected", "operator-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-746", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T10:30:18.073Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* task 4.4 — bounded-window catch-up before FATAL (no synch; * deferred-timer FATAL only after a real bounded failure; fe", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-755", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T10:55:31.898Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-commit-durability/design.md", "root_cause": "Had \"bounded window\"", "fix": "Changed to `DEFAULT_RECOVERY_CATCHUP_WINDOW_MS`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-759", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T11:21:44.844Z", "error_message": "Incorrect value in code", "file": "../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/project_ha_commit_durability.md", "root_cause": "Had `--wal-sync-ms`", "fix": "Changed to `:FAIL:`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-761", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T13:13:49.968Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_commit_barrier_rollout.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-762", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T13:18:43.638Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-commit-durability/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-763", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-18T14:54:25.478Z", "error_message": "Function not marked async", "file": ".kiro/steering/roadmap.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-766", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T02:55:49.212Z", "error_message": "Wrong return value", "file": ".kiro/specs/scheduler-controller-msg-gap/tasks.md", "root_cause": "Was returning: `-ENOENT` if job not found", "fix": "Now returns: `-ENOENT` if job not found. _Remediation (bug-765,", "tags": [ "auto-detected", "return-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-768", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T03:30:28.056Z", "error_message": "Wrong condition in logic", "file": "src/scheduler/src/schedobj.c", "root_cause": "Condition was: if (job->rusages != NULL && job->rusages != rusages)", "fix": "Changed to: if (job->rusages != rusages)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-772", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T03:49:23.624Z", "error_message": "Wrong reference: xce_sched_op_name should be sched_op_name", "file": ".kiro/specs/scheduler-controller-msg-gap/design.md", "root_cause": "Used \"xce_sched_op_name\" instead of \"sched_op_name\"", "fix": "Changed xce_sched_op_name → sched_op_name", "tags": [ "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-773", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T03:49:39.373Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/scheduler-controller-msg-gap/design.md", "root_cause": "Had `xce_sched_op_name()`", "fix": "Changed to `sched_op_name()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-774", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T03:50:12.460Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/scheduler-controller-msg-gap/tasks.md", "root_cause": "Had `xce_sched_op_name()`", "fix": "Changed to `sched_op_name()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-781", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T14:02:49.235Z", "error_message": "Wrong reference: hdr should be payload_len", "file": "src/controller/persist.c", "root_cause": "Used \"hdr\" instead of \"payload_len\"", "fix": "Changed hdr → payload_len", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-785", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T14:08:12.866Z", "error_message": "Wrong reference: NULL should be type", "file": "src/controller/testsuite/test_ha_role_lifecycle.c", "root_cause": "Used \"NULL\" instead of \"type\"", "fix": "Changed NULL → type", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-788", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T15:34:41.623Z", "error_message": "Wrong condition in logic", "file": "src/controller/testsuite/test.c", "root_cause": "Condition was: if (active_ctx->parent != NULL)", "fix": "Changed to: if (i > 1)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-792", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-19T16:13:02.715Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test.c", "root_cause": "Had \"shutdown\"", "fix": "Changed to \"expect-jobs\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-796", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T00:32:43.144Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-commit-durability/spec.json", "root_cause": "Had \"2026-06-18T04:00:00Z\"", "fix": "Changed to \"2026-06-19T00:00:00Z\"", "tags": [ "auto-detected", "wrong-value", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-799", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T01:05:25.091Z", "error_message": "Incorrect value in code", "file": "src/tools/test-commit-durability.sh", "root_cause": "Had \"$label: DATA LOSS — a committed job vanished (bug", "fix": "Changed to \"$label: DATA LOSS — a committed job vanished from", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-804", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T03:29:22.678Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/controller-lsid/requirements.md", "root_cause": "Had \"none\"", "fix": "Changed to \"unknown\"", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-805", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T03:29:29.570Z", "error_message": "Wrong return value", "file": ".kiro/specs/controller-lsid/requirements.md", "root_cause": "Was returning: a well-defined \"unknown\" or \"none\" value for that ", "fix": "Now returns: a well-defined \"unknown\" value for that field rath", "tags": [ "auto-detected", "return-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-808", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T04:08:49.684Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/controller-status/design.md", "root_cause": "Had `committed_config_tag`", "fix": "Changed to `committedConfigVersion`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 5, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-809", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T04:40:36.648Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'commit.c'", "fix": "Changed to 'ctrlstatus.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-810", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T04:45:48.985Z", "error_message": "Wrong reference: Data should be Text", "file": "src/schema/controller.capnp", "root_cause": "Used \"Data\" instead of \"Text\"", "fix": "Changed Data → Text", "tags": [ "auto-detected", "wrong-reference", "capnp", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-811", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T04:45:49.790Z", "error_message": "Wrong reference: xce_data_t should be char", "file": "src/include/typemap.h", "root_cause": "Used \"xce_data_t\" instead of \"char\"", "fix": "Changed xce_data_t → char", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-812", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T05:08:41.030Z", "error_message": "Incorrect value in code", "file": "src/lib/meson.build", "root_cause": "Had 'raft/raft_sim.c'", "fix": "Changed to 'testsuite/test_ctrlstatus.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-813", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T05:42:31.707Z", "error_message": "Wrong operator: >= should be ==", "file": "src/controller/testsuite/test.c", "root_cause": "Used \">=\" instead of \"==\"", "fix": "Changed operator >= → ==", "tags": [ "auto-detected", "operator-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-818", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T06:11:49.084Z", "error_message": "Wrong condition in logic", "file": "src/controller/testsuite/test.c", "root_cause": "Condition was: if (!g_continue_on_error)", "fix": "Changed to: if (!g_continue_on_error && !g_interactive)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-820", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T06:16:34.685Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/xce-test-e2e-primitives/tasks.md", "root_cause": "Had `g_interactive = isatty(STDIN_FILENO)`", "fix": "Changed to `-e`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-821", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T08:14:43.577Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/controller-status/requirements.md", "root_cause": "Had 's identity and role, the configured controller to", "fix": "Changed to 's identity and role, the configured controller to", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-824", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T09:30:23.040Z", "error_message": "Function not marked async", "file": ".kiro/specs/controller-status/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-825", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T09:31:24.076Z", "error_message": "Function not marked async", "file": ".kiro/specs/controller-status/spec.json", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-829", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T11:44:25.496Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'ctrlstatus.c'", "fix": "Changed to 'testsuite/test_ha_heartbeat_committed.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-830", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T11:45:26.943Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !c", "fix": "Added guard clause: if (!c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-831", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T11:54:30.060Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_ha_heartbeat_committed.c", "root_cause": "Had \"xce/cluster_def.h\"", "fix": "Changed to \"typemap.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-832", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T11:56:28.240Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !c || !hb", "fix": "Added guard clause: if (!c || !hb)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-834", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T12:22:39.011Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-heartbeat-committed-propagation/tasks.md", "root_cause": "Had `heartbeatmsg`", "fix": "Changed to `xce-build.sh controller`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-835", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T12:26:15.999Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'ctrlstatus.c'", "fix": "Changed to 'testsuite/test_ha_vote_floor_heartbeat.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-836", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T12:31:51.359Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-heartbeat-committed-propagation/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-837", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T12:32:25.549Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-heartbeat-committed-propagation/spec.json", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-840", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T14:05:49.912Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test.c", "root_cause": "Had \"xce/cluster.h\"", "fix": "Changed to \"waldump.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-841", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T14:06:11.393Z", "error_message": "Wrong condition in logic", "file": "src/controller/testsuite/test.c", "root_cause": "Condition was: if (active_ctx->parent != NULL)", "fix": "Changed to: if (argc < 2)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-843", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T14:15:35.599Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/roadmap.md", "root_cause": "Had `!`", "fix": "Changed to `xce_test`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-853", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-20T15:27:41.698Z", "error_message": "Wrong reference: test_wal_batch_entry_without_payload should be test_wal_batch_roundtrip_large_payloads", "file": "src/lib/testsuite/test_wal_wire.c", "root_cause": "Used \"test_wal_batch_entry_without_payload\" instead of \"test_wal_batch_roundtrip_large_payloads\"", "fix": "Changed test_wal_batch_entry_without_payload → test_wal_batch_roundtrip_large_payloads", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-861", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T00:20:55.974Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test_persist_recovery.c", "root_cause": "Had \"persist.h\"", "fix": "Changed to \"ha.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-864", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T03:39:07.483Z", "error_message": "Missing guard clause", "file": "src/controller/repl.c", "root_cause": "No early return/throw for edge case: r->standbys[i].ep == ep", "fix": "Added guard clause: if (r->standbys[i].ep == ep)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-871", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T04:01:07.089Z", "error_message": "Wrong reference: test_repl_write_rejects_checkpoint should be test_repl_write_rejects_forward_gap", "file": "src/controller/testsuite/test_repl_apply.c", "root_cause": "Used \"test_repl_write_rejects_checkpoint\" instead of \"test_repl_write_rejects_forward_gap\"", "fix": "Changed test_repl_write_rejects_checkpoint → test_repl_write_rejects_forward_gap", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-875", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T10:04:37.876Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-term-safety/requirements.md", "root_cause": "Had `OPCode_replConfigPush`", "fix": "Changed to `snapshot_transfer_s`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-878", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T10:34:30.593Z", "error_message": "Function not marked async", "file": ".kiro/steering/roadmap.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-879", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T10:59:29.212Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-term-safety/TLA-gap-analysis.md", "root_cause": "Had `raft.c`", "fix": "Changed to 's split architecture, the chosen direction is to ", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-880", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T12:56:07.740Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-term-safety/requirements.md", "root_cause": "Had `snapshot_transfer_s`", "fix": "Changed to `(term, lsn)`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-881", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T13:00:46.210Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-term-safety/design.md", "root_cause": "Had `xce_test`", "fix": "Changed to `OPCode_replConfigPush`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 4, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-883", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T13:05:44.284Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-term-safety/research.md", "root_cause": "Had `config_repl.c:1857-1944`", "fix": "Changed to `xzarray_freeze`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-885", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T15:21:59.689Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: index < 1 || index > RAFT_SIM_MAX_LOG", "fix": "Added guard clause: if (index < 1 || index > RAFT_SIM_MAX_LOG)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-886", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T15:41:42.176Z", "error_message": "Wrong reference: test_raft_init_zero_peers_returns_einval should be test_raft_init_oversize_peers_returns_einval", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"test_raft_init_zero_peers_returns_einval\" instead of \"test_raft_init_oversize_peers_returns_einval\"", "fix": "Changed test_raft_init_zero_peers_returns_einval → test_raft_init_oversize_peers_returns_einval", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-887", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T15:45:29.785Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: s->role != RAFT_LEADER", "fix": "Added guard clause: if (s->role != RAFT_LEADER)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-888", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T15:52:45.272Z", "error_message": "Missing guard clause", "file": "src/lib/testsuite/test_raft.c", "root_cause": "No early return/throw for edge case: index >= 1 && index <= RAFT_SIM_MAX_LOG", "fix": "Added guard clause: if (index >= 1 && index <= RAFT_SIM_MAX_LOG)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-889", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T15:53:14.276Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: s->cbs->on_trace", "fix": "Added guard clause: if (s->cbs->on_trace)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-890", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T15:59:59.295Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: rc != 0", "fix": "Added guard clause: if (rc != 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-891", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T16:06:37.923Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: s->cbs->on_trace", "fix": "Added guard clause: if (s->cbs->on_trace)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-893", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T16:16:47.908Z", "error_message": "Wrong reference: g_te_spy should be g_pe_spy", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"g_te_spy\" instead of \"g_pe_spy\"", "fix": "Changed g_te_spy → g_pe_spy", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-894", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T16:20:39.535Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: s->cbs->on_trace", "fix": "Added guard clause: if (s->cbs->on_trace)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-895", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T16:29:35.778Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: c->nodes[src].partition || c->nodes[dst].partition", "fix": "Added guard clause: if (c->nodes[src].partition || c->nodes[dst])", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-899", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T16:42:30.241Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: node_idx >= 0 && node_idx < c->n", "fix": "Added guard clause: if (node_idx >= 0 && node_idx < c->n)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-900", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T16:51:25.960Z", "error_message": "Missing error handling in unknown", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: RUN_TEST(test_sim_9_1_replication_and_partition_catch_up);; RUN_TEST(test_sim_9_2_divergent_suffix_truncation);", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-903", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T17:04:17.830Z", "error_message": "Wrong operator: <= should be >=", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"<=\" instead of \">=\"", "fix": "Changed operator <= → >=", "tags": [ "auto-detected", "operator-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-904", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T21:44:26.804Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: node_idx < 0 || node_idx >= c->n", "fix": "Added guard clause: if (node_idx < 0 || node_idx >= c->n)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-905", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T21:49:10.796Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-log-replication/tasks.md", "root_cause": "Had `initial_log_len`", "fix": "Changed to `raft_sim_restart_node`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-907", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T23:14:37.837Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft.c", "root_cause": "No early return/throw for edge case: s->role != RAFT_LEADER", "fix": "Added guard clause: if (s->role != RAFT_LEADER)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-908", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T23:14:55.547Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: node_idx >= 0 && node_idx < c->n", "fix": "Added guard clause: if (node_idx >= 0 && node_idx < c->n)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-909", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T23:30:04.636Z", "error_message": "Missing guard clause", "file": "src/lib/testsuite/test_raft.c", "root_cause": "No early return/throw for edge case: g_mock.get_entry_term_log_len != 0 &&\n index == g_moc", "fix": "Added guard clause: if (g_mock.get_entry_term_log_len != 0 &&\n )", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-911", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-21T23:32:38.225Z", "error_message": "Wrong condition in logic", "file": "src/lib/raft/raft.c", "root_cause": "Condition was: if (s->cbs->on_vote_eligible != NULL)", "fix": "Changed to: if (!raft_log_ok(s, cand_last_log_term, cand_last_log_)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-913", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T00:19:56.768Z", "error_message": "Wrong reference: TEST_ASSERT_NOT_EQUAL_INT should be TEST_ASSERT_NOT_EQUAL", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"TEST_ASSERT_NOT_EQUAL_INT\" instead of \"TEST_ASSERT_NOT_EQUAL\"", "fix": "Changed TEST_ASSERT_NOT_EQUAL_INT → TEST_ASSERT_NOT_EQUAL", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-914", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T01:24:34.541Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-term-safety/spec.json", "root_cause": "Had \"design-generated\"", "fix": "Changed to \"tasks-generated\"", "tags": [ "auto-detected", "wrong-value", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-920", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T03:58:08.538Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_waldump.c'", "fix": "Changed to 'testsuite/test_term_safety_adapter.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-921", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T03:58:19.392Z", "error_message": "Wrong reference: test_waldump should be test_term_safety_adapter", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_waldump\" instead of \"test_term_safety_adapter\"", "fix": "Changed test_waldump → test_term_safety_adapter", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-922", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T03:59:43.099Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p || lsn == 0", "fix": "Added guard clause: if (!p || lsn == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-923", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T04:01:37.467Z", "error_message": "Wrong condition in logic", "file": "src/controller/persist.c", "root_cause": "Condition was: if (hdr.lsn <= from_lsn)", "fix": "Changed to: if (hdr.type < WAL_CHECKPOINT)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-925", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T04:42:28.897Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_term_safety_adapter.c", "root_cause": "No early return/throw for edge case: !c", "fix": "Added guard clause: if (!c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-926", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T04:45:07.018Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha || !ha->raft_c", "fix": "Added guard clause: if (!ha || !ha->raft_c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-928", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T04:55:58.789Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_term_safety_adapter.c", "root_cause": "No early return/throw for edge case: !c", "fix": "Added guard clause: if (!c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-929", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T04:57:03.605Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha || !ha->raft_c", "fix": "Added guard clause: if (!ha || !ha->raft_c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-930", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T04:57:25.141Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p", "fix": "Added guard clause: if (!p)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-931", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T05:45:09.373Z", "error_message": "Function not marked async", "file": "src/include/repl.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-933", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T05:47:50.037Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !d", "fix": "Added guard clause: if (!d)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-937", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T06:39:51.351Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha || !ha->raft_c", "fix": "Added guard clause: if (!ha || !ha->raft_c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-941", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T07:53:06.457Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_term_safety_adapter.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-942", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T07:54:52.956Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !c", "fix": "Added guard clause: if (!c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-943", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T07:55:30.714Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-944", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T07:56:08.623Z", "error_message": "Wrong reference: ha_arm_own_term_gate should be ha_arm_own_term_gate_for_test", "file": "src/controller/testsuite/test_term_safety_adapter.c", "root_cause": "Used \"ha_arm_own_term_gate\" instead of \"ha_arm_own_term_gate_for_test\"", "fix": "Changed ha_arm_own_term_gate → ha_arm_own_term_gate_for_test", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-945", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T08:09:41.508Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-term-safety/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-948", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T08:21:57.062Z", "error_message": "Missing error handling in unknown", "file": "src/controller/ha.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* ha-term-safety task 3.2 (R2.6 / G5): route the heartbeat ; * library as a 0-entry AppendEntries so the LIBRARY performs", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-953", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T08:48:45.792Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: rc == 0 && out_lsn", "fix": "Added guard clause: if (rc == 0 && out_lsn)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-957", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T09:08:41.177Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ep_is_vote", "fix": "Added guard clause: if (ep_is_vote)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-960", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T09:20:00.000Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "No early return/throw for edge case: !c", "fix": "Added guard clause: if (!c)", "tags": [ "ha-term-safety", "raft", "peer-index", "match_index", "oob", "false-quorum", "task-3.3", "remediation", "c", "auto-detected", "guard-clause", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [ "bug-851" ], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-959", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T09:31:11.227Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !sha256 || !buf || !out_len", "fix": "Added guard clause: if (!sha256 || !buf || !out_len)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-961", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T09:45:31.779Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !c || !sha256", "fix": "Added guard clause: if (!c || !sha256)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-962", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T10:04:06.960Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: committed == 0", "fix": "Added guard clause: if (committed == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-964", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T10:05:22.007Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: acked_out", "fix": "Added guard clause: if (acked_out)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-966", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T10:10:11.668Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p", "fix": "Added guard clause: if (!p)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-967", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T10:10:17.811Z", "error_message": "Wrong reference: persist_roll_segment should be persist_test_force_new_segment", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "Used \"persist_roll_segment\" instead of \"persist_test_force_new_segment\"", "fix": "Changed persist_roll_segment → persist_test_force_new_segment", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-971", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T10:39:44.072Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "No early return/throw for edge case: !mc", "fix": "Added guard clause: if (!mc)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-972", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T10:40:31.131Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !c", "fix": "Added guard clause: if (!c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-975", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T11:00:42.661Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: !ha", "fix": "Added guard clause: if (!ha)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-977", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T11:21:09.742Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !c", "fix": "Added guard clause: if (!c)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-980", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T11:32:35.966Z", "error_message": "Wrong reference: ClusterConfig should be cluster_config_t", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "Used \"ClusterConfig\" instead of \"cluster_config_t\"", "fix": "Changed ClusterConfig → cluster_config_t", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-983", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T11:53:36.582Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: commit_index", "fix": "Added guard clause: if (commit_index)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-984", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T12:03:15.865Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-term-safety/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-985", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T12:06:43.530Z", "error_message": "Wrong return value", "file": "src/controller/testsuite/waldump.c", "root_cause": "Was returning: -EINVAL;", "fix": "Now returns: waldump_path_visit(path, out, stats, NULL, NULL);", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-986", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T12:08:51.529Z", "error_message": "Incorrect value in code", "file": "src/controller/testsuite/test.c", "root_cause": "Had \"waldump.h\"", "fix": "Changed to \"walcompare.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-987", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T12:09:28.306Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test.c", "root_cause": "No early return/throw for edge case: st.n_gaps > 0 || st.crc_broken", "fix": "Added guard clause: if (st.n_gaps > 0 || st.crc_broken)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-993", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T15:10:39.717Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p || lsn == 0", "fix": "Added guard clause: if (!p || lsn == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-998", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T15:27:10.703Z", "error_message": "Wrong reference: test_repl_ack_currentterm_quorum_advances_commit should be test_live_broadcast_receive_persists_leader_term", "file": "src/controller/testsuite/test_term_safety_adapter.c", "root_cause": "Used \"test_repl_ack_currentterm_quorum_advances_commit\" instead of \"test_live_broadcast_receive_persists_leader_term\"", "fix": "Changed test_repl_ack_currentterm_quorum_advances_commit → test_live_broadcast_receive_persists_leader_term", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1000", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T15:44:38.466Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-term-safety/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1001", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T15:44:54.113Z", "error_message": "Missing error handling in errno", "file": ".kiro/specs/ha-term-safety/tasks.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: - _Blocked (live portion only — build+unit gate CONFIRMED GR", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1002", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T21:10:31.345Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-term-safety/tasks.md", "root_cause": "Had 's term and standbys persist it, proven at the int", "fix": "Changed to 's REAL term (2) for the committed prefix (pre-3.4", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1003", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T22:09:23.064Z", "error_message": "Wrong condition in logic", "file": "src/lib/raft/raft.c", "root_cause": "Condition was: if (agreed == 0)", "fix": "Changed to: if (s->cbs->on_trace)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1005", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T22:31:03.315Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_term_safety_adapter.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: RUN_TEST(test_catchup_applied_lsn_is_last_held_no_skip);", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1006", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T22:32:53.722Z", "error_message": "Missing error handling in unknown", "file": "src/controller/ha.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Advance applied_lsn to last_good_lsn after the full batch; * last contiguously-held LSN, NOT last_good_lsn + 1 — see th", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1009", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-22T22:44:50.365Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1025", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T04:09:25.647Z", "error_message": "Wrong reference: $MASTERS should be $MASTERS_LIVE", "file": "src/controller/testsuite/clean_failover_preservation.sh", "root_cause": "Used \"$MASTERS\" instead of \"$MASTERS_LIVE\"", "fix": "Changed $MASTERS → $MASTERS_LIVE", "tags": [ "wrong-reference", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1033", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T08:05:43.916Z", "error_message": "Incorrect value in code", "file": "repro854.sh", "root_cause": "Had 'set masters %s\\nwait-primary 6000\\nctrlstatus\\nqu", "fix": "Changed to 'set masters %s\\nset myname failover-test\\nclient\\", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1035", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T09:53:37.812Z", "error_message": "Incorrect value in code", "file": "src/lib/xcectx.c", "root_cause": "Had \"xcectx.h\"", "fix": "Changed to \"controller.capnp.h\"", "tags": [ "auto-detected", "wrong-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1036", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T10:44:48.074Z", "error_message": "Wrong reference: handle_ssl_handshake should be endpoint_ssl_handshake", "file": "src/lib/netio.c", "root_cause": "Used \"handle_ssl_handshake\" instead of \"endpoint_ssl_handshake\"", "fix": "Changed handle_ssl_handshake → endpoint_ssl_handshake", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1037", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T10:48:18.493Z", "error_message": "Wrong reference: handle_ssl_handshake should be endpoint_ssl_handshake", "file": "src/controller/cluster.c", "root_cause": "Used \"handle_ssl_handshake\" instead of \"endpoint_ssl_handshake\"", "fix": "Changed handle_ssl_handshake → endpoint_ssl_handshake", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1040", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T10:54:14.342Z", "error_message": "Wrong reference: endpoint_ssl_handshake should be handle_ssl_handshake", "file": "src/lib/netio.c", "root_cause": "Used \"endpoint_ssl_handshake\" instead of \"handle_ssl_handshake\"", "fix": "Changed endpoint_ssl_handshake → handle_ssl_handshake", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1045", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T14:08:05.466Z", "error_message": "Missing error handling in unknown", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: # ── Steps 7–10 looped: kill primary, verify, submit, restar; #", "tags": [ "auto-detected", "error-handling", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1049", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T14:39:01.881Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (0 && recovered_tip > ha->raft.log_len)", "fix": "Changed to: if (recovered_tip > ha->raft.log_len)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1051", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T14:48:18.998Z", "error_message": "Wrong operator: >= should be ==", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Used \">=\" instead of \"==\"", "fix": "Changed operator >= → ==", "tags": [ "auto-detected", "operator-fix", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1054", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-23T16:02:42.489Z", "error_message": "Incorrect value in code", "file": ".claude/skills/xce-test-ha/SKILL.md", "root_cause": "Had \"End-to-end HA failover soak test for an XCE contr", "fix": "Changed to \"End-to-end HA failover soak test for an XCE contr", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1066", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T04:36:50.602Z", "error_message": "Incorrect value in code", "file": "src/controller/CLAUDE.md", "root_cause": "Had `persist_truncate_wal_above(safe_committed_lsn)`", "fix": "Changed to 's own durable log**: the cutoff is `", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1070", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T08:18:27.510Z", "error_message": "Missing error handling in unknown", "file": "src/controller/config_repl.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: if (c && c->persist.wal_path[0]) {; /* bug-1067: pass the leader's CURRENT term so historical ca", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1075", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T08:23:04.980Z", "error_message": "Wrong reference: standby_lsn should be leader_term", "file": "src/controller/testsuite/test_coldstart_lsn0.c", "root_cause": "Used \"standby_lsn\" instead of \"leader_term\"", "fix": "Changed standby_lsn → leader_term", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1078", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T09:18:52.605Z", "error_message": "Wrong reference: handle_reply should be xce_handle_reply", "file": "src/lib/xcectx.c", "root_cause": "Used \"handle_reply\" instead of \"xce_handle_reply\"", "fix": "Changed handle_reply → xce_handle_reply", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1079", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T09:27:59.772Z", "error_message": "Wrong reference: libxce_failover_client_hang should be project_libxce_failover_hang", "file": "../../../../../claude/.claude/projects/-home-rshen-projects-xce-xce/memory/project_bug1077_reply_union_type_confusion.md", "root_cause": "Used \"libxce_failover_client_hang\" instead of \"project_libxce_failover_hang\"", "fix": "Changed libxce_failover_client_hang → project_libxce_failover_hang", "tags": [ "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1080", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T10:24:07.439Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-sim-conformance/design.md", "root_cause": "Had \"on_get_entry_term -> node.log[idx].term | 0\"", "fix": "Changed to \"on_get_entry_term -> node.log[idx].term | 0\"", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1081", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T10:30:45.585Z", "error_message": "Wrong reference: apply should be advanced", "file": ".kiro/specs/raft-sim-conformance/design.md", "root_cause": "Used \"apply\" instead of \"advanced\"", "fix": "Changed apply → advanced", "tags": [ "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1082", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T10:30:56.237Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-sim-conformance/design.md", "root_cause": "Had \"vote/AE requests + responses;
Drop/Duplicate/", "fix": "Changed to \"vote/AE requests + responses,
Drop/Duplicate/", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1083", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T11:45:52.473Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: n > sizeof(v", "fix": "Added guard clause: if (n > sizeof(v)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1085", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T12:00:01.924Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: i != last", "fix": "Added guard clause: if (i != last)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1086", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T12:13:27.532Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: i < 0 || i >= c->bag_count", "fix": "Added guard clause: if (i < 0 || i >= c->bag_count)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1087", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T12:22:22.094Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: sa.role != RAFT_LEADER", "fix": "Added guard clause: if (sa.role != RAFT_LEADER)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1088", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T12:30:35.436Z", "error_message": "Wrong reference: test_sim_check_election_safety_fail_on_two_leaders should be test_sim_3_2_log_matching_shared_idx_term_requires_identical_prefix", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"test_sim_check_election_safety_fail_on_two_leaders\" instead of \"test_sim_3_2_log_matching_shared_idx_term_requires_identical_prefix\"", "fix": "Changed test_sim_check_election_safety_fail_on_two_leaders → test_sim_3_2_log_matching_shared_idx_term_requires_identical_prefix", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1089", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T12:38:40.360Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: sl.role != RAFT_LEADER", "fix": "Added guard clause: if (sl.role != RAFT_LEADER)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1090", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T12:47:03.843Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: shared > RAFT_SIM_MAX_LOG", "fix": "Added guard clause: if (shared > RAFT_SIM_MAX_LOG)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1091", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T13:04:27.057Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: c->trace_len >= RAFT_SIM_MAX_STEPS", "fix": "Added guard clause: if (c->trace_len >= RAFT_SIM_MAX_STEPS)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1094", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T13:22:05.858Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: c->bag[i].kind != RAFT_SIM_MSG_VOTE_RSP", "fix": "Added guard clause: if (c->bag[i].kind != RAFT_SIM_MSG_VOTE_RSP)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1099", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T14:08:44.250Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: failing != RAFT_SIM_INV_NONE", "fix": "Added guard clause: if (failing != RAFT_SIM_INV_NONE)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1104", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T14:28:33.169Z", "error_message": "Wrong condition in logic", "file": "src/lib/raft/raft_sim.c", "root_cause": "Condition was: if (c->n >= 2 && c->nodes[0].commit_index >= 1 && c->n)", "fix": "Changed to: if (c->n >= 2)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1108", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T14:38:06.432Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: chk < 0", "fix": "Added guard clause: if (chk < 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1110", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T14:51:30.855Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: i == leader", "fix": "Added guard clause: if (i == leader)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1111", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T15:13:15.333Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: p == leader", "fix": "Added guard clause: if (p == leader)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1113", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T15:16:52.683Z", "error_message": "Missing error handling in unknown", "file": "src/lib/raft/raft_sim.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /*; * sim_scen_catch_up_commit: drive bounded AppendEntries-to-a | Also: * on a CONNECTED quorum, yet raft_advance_commit must NOT co; * count alone — the current-term Figure-8 rule (raft.c G4) f", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1115", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T15:18:59.248Z", "error_message": "Wrong operator: != should be ==", "file": "src/lib/raft/raft_sim.c", "root_cause": "Used \"!=\" instead of \"==\"", "fix": "Changed operator != → ==", "tags": [ "auto-detected", "operator-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1116", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T15:25:17.886Z", "error_message": "Missing guard clause", "file": "src/lib/raft/raft_sim.c", "root_cause": "No early return/throw for edge case: i == leader", "fix": "Added guard clause: if (i == leader)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1117", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T15:32:34.085Z", "error_message": "Wrong condition in logic", "file": "src/lib/raft/raft.c", "root_cause": "Condition was: if (s->cbs->on_get_entry_term(s->ctx, agreed)", "fix": "Changed to: if (0 && s->cbs->on_get_entry_term(s->ctx, agreed)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1120", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T16:09:04.749Z", "error_message": "Wrong reference: test_sim_6_1_seed_sweep should be test_sim_7_1_fault_switch_mechanism", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"test_sim_6_1_seed_sweep\" instead of \"test_sim_7_1_fault_switch_mechanism\"", "fix": "Changed test_sim_6_1_seed_sweep → test_sim_7_1_fault_switch_mechanism", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1123", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T16:22:58.427Z", "error_message": "Wrong reference: test_sim_6_1_seed_sweep should be test_sim_7_2_negative_both_directions", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"test_sim_6_1_seed_sweep\" instead of \"test_sim_7_2_negative_both_directions\"", "fix": "Changed test_sim_6_1_seed_sweep → test_sim_7_2_negative_both_directions", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1125", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T16:42:32.261Z", "error_message": "Wrong reference: test_sim_4_2_step_liveness_and_coverage should be test_sim_8_1_export_trace_named_and_gated", "file": "src/lib/testsuite/test_raft.c", "root_cause": "Used \"test_sim_4_2_step_liveness_and_coverage\" instead of \"test_sim_8_1_export_trace_named_and_gated\"", "fix": "Changed test_sim_4_2_step_liveness_and_coverage → test_sim_8_1_export_trace_named_and_gated", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1126", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-24T16:43:39.427Z", "error_message": "Wrong condition in logic", "file": "src/lib/raft/raft_sim.c", "root_cause": "Condition was: if (node_idx < 0 || node_idx >= c->n)", "fix": "Changed to: if (getenv(\"RAFT_SIM_EXPORT\")", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1127", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T03:17:45.530Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_demotion_convergence.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1133", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T07:12:01.309Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-log-replication/spec.json", "root_cause": "Had \"2026-06-21T11:00:00Z\"", "fix": "Changed to \"2026-06-25T00:00:00Z\"", "tags": [ "auto-detected", "wrong-value", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1134", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T08:18:43.915Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-apply-decoupling/facts-in-raft.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1135", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T09:26:49.441Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-apply-decoupling/facts-in-raft.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1136", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T09:27:00.312Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-apply-decoupling/brief.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1138", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T11:36:52.942Z", "error_message": "Function not marked async", "file": ".kiro/steering/roadmap.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1139", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T14:02:51.225Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/research.md", "root_cause": "Had `VTASK_IO`", "fix": "Changed to `endpoint_block_tasks()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 4, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1141", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T15:12:16.193Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-drive-async/research.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1142", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T15:13:00.445Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/roadmap.md", "root_cause": "Had `.kiro/specs/raft-drive-async/brief.md`", "fix": "Changed to `delay_task_ms`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1143", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T23:37:38.579Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/raft-drive-async/design.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: - Commit-advance under pool load (R4.5): with the vtask pool; - Snapshot/checkpoint concurrency (R1.1/1.3/1.5): concurrent", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1144", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T23:37:49.697Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/design.md", "root_cause": "Had `persist_checkpoint`", "fix": "Changed to `wait_all_with_timeout`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1145", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-25T23:38:08.746Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-drive-async/design.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1148", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T03:46:51.038Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/design.md", "root_cause": "Had 's boundary or any standby'", "fix": "Changed to `persist.c:1374`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1149", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T03:48:48.222Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/roadmap.md", "root_cause": "Had `/kiro-spec-design raft-drive-async`", "fix": "Changed to `approved: false`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1151", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:31:53.879Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/design.md", "root_cause": "Had `commit_submit`", "fix": "Changed to `commit.c`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1152", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:32:20.960Z", "error_message": "Wrong reference: PeerCtrlDispatch should be LivenessAdmission", "file": ".kiro/specs/raft-drive-async/design.md", "root_cause": "Used \"PeerCtrlDispatch\" instead of \"LivenessAdmission\"", "fix": "Changed PeerCtrlDispatch → LivenessAdmission", "tags": [ "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1153", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:33:10.286Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/roadmap.md", "root_cause": "Had `COMMIT_WAIT_RESERVED=2`", "fix": "Changed to `commit.c:16`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1154", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:37:18.052Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Had `VTASK_LIVENESS_RESERVED`", "fix": "Changed to `R = clamp(n_peers − 1, 1, n_vcpus − 1)`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1155", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:47:49.937Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_waldump.c'", "fix": "Changed to 'testsuite/test_drive_async_config.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1156", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:48:34.246Z", "error_message": "Function not marked async", "file": "src/include/config.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1157", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:48:50.005Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1158", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:49:04.568Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1159", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:49:44.821Z", "error_message": "Function not marked async", "file": "src/controller/cluster.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1160", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T04:57:57.877Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1161", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T05:02:36.720Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_waldump.c'", "fix": "Changed to 'testsuite/test_slowlane.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1162", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T05:06:30.148Z", "error_message": "Function not marked async", "file": "src/include/xce/cluster_def.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1163", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T05:06:42.680Z", "error_message": "Wrong condition in logic", "file": "src/controller/cluster.c", "root_cause": "Condition was: if (ha_is_primary(&c->ha)", "fix": "Changed to: if (c->slowlane.workers == NULL)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1164", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T05:06:53.129Z", "error_message": "Function not marked async", "file": "src/controller/cluster.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1165", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T06:51:00.808Z", "error_message": "Wrong reference: test_request_send_propagation should be test_netio_bounded_connect", "file": "src/lib/testsuite/test.c", "root_cause": "Used \"test_request_send_propagation\" instead of \"test_netio_bounded_connect\"", "fix": "Changed test_request_send_propagation → test_netio_bounded_connect", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1166", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T06:51:57.649Z", "error_message": "Function not marked async", "file": "src/lib/netio.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1168", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T06:52:21.608Z", "error_message": "Function not marked async", "file": "src/include/netio.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1169", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:16:36.377Z", "error_message": "Function not marked async", "file": "src/include/vtaskmgr.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1171", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:18:02.307Z", "error_message": "Function not marked async", "file": "src/lib/vtaskmgr.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1172", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:19:14.857Z", "error_message": "Function not marked async", "file": "src/controller/include/commit.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1173", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:19:45.059Z", "error_message": "Function not marked async", "file": "src/controller/commit.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1174", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:20:07.233Z", "error_message": "Wrong operator: >= should be !=", "file": "src/controller/commit.c", "root_cause": "Used \">=\" instead of \"!=\"", "fix": "Changed operator >= → !=", "tags": [ "auto-detected", "operator-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1175", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:20:41.448Z", "error_message": "Function not marked async", "file": "src/controller/cluster.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1177", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:47:19.731Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1178", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:48:00.209Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1179", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:51:01.491Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "No early return/throw for edge case: deadline.tv_nsec >= 1000000000L", "fix": "Added guard clause: if (deadline.tv_nsec >= 1000000000L)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1180", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:51:10.764Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1183", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T07:57:35.484Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1184", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T08:12:52.624Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1185", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T08:13:19.511Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1186", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T08:15:44.315Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (cur_sctx && cur_sctx->peer_idx == sctx->peer_idx)", "fix": "Changed to: if (0 && cur_sctx && cur_sctx->peer_idx == sctx->peer_)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1188", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:20:33.560Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1189", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:21:12.319Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 5, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1190", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:24:21.473Z", "error_message": "Function not marked async", "file": "src/controller/cluster.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1191", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:27:00.557Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "No early return/throw for edge case: atomic_load(&g_pc_gate_on", "fix": "Added guard clause: if (atomic_load(&g_pc_gate_on)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1192", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:27:14.358Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1193", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:56:43.461Z", "error_message": "Function not marked async", "file": "src/include/vtaskmgr.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1194", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:57:18.280Z", "error_message": "Function not marked async", "file": "src/lib/vtaskmgr.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1195", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T10:57:44.750Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 4, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1196", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T11:00:15.213Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1202", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T11:33:28.328Z", "error_message": "Missing error handling in task", "file": "src/controller/testsuite/test_e2e_checkpoint.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Helper: check if a file exists in a directory ; static int file_exists_in(const char* dir, const char* name)", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1204", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T11:35:37.597Z", "error_message": "Wrong reference: file_exists_for_trim_test should be seg_file_exists", "file": "src/controller/testsuite/test_e2e_checkpoint.c", "root_cause": "Used \"file_exists_for_trim_test\" instead of \"seg_file_exists\"", "fix": "Changed file_exists_for_trim_test → seg_file_exists", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1205", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T11:39:53.357Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1206", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T15:16:40.996Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1207", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T15:28:19.885Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ha_repl_send_snapshot_hook != NULL", "fix": "Added guard clause: if (ha_repl_send_snapshot_hook != NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1211", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T15:49:46.434Z", "error_message": "Function not marked async", "file": "src/controller/ha.h", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1212", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T15:50:27.084Z", "error_message": "Function not marked async", "file": "src/controller/ha.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1213", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T15:51:29.747Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ha_configpush_probe != NULL", "fix": "Added guard clause: if (ha_configpush_probe != NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1214", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T15:54:05.463Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1216", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T16:54:57.384Z", "error_message": "Wrong reference: ssl_handshake_done should be tearing_down", "file": "src/include/netio.h", "root_cause": "Used \"ssl_handshake_done\" instead of \"tearing_down\"", "fix": "Changed ssl_handshake_done → tearing_down", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1217", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T16:55:15.332Z", "error_message": "Wrong reference: ssl_handshake_done should be tearing_down", "file": "src/lib/netio.c", "root_cause": "Used \"ssl_handshake_done\" instead of \"tearing_down\"", "fix": "Changed ssl_handshake_done → tearing_down", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1218", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T16:55:48.690Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ectx", "fix": "Added guard clause: if (ectx)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1222", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-26T17:44:25.670Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_waldump.c'", "fix": "Changed to 'testsuite/test_ha_dispatch_integration.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1226", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T02:53:39.273Z", "error_message": "Incorrect value in code", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Had \"$REPO/src/xce.build/controller/xce_controller\"", "fix": "Changed to \"${XCE_HA_BIN:-$REPO/src/xce.build/controller/xce_", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1227", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T03:04:05.891Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1228", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T04:13:35.943Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/design.md", "root_cause": "Had `; no silent retention of a stale-term entry.\n- In", "fix": "Changed to `; no silent retention of a stale-term entry.\n- In", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1233", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T04:59:57.805Z", "error_message": "Missing error handling in unknown", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: # ── Chaotic-mode primitives (count outcomes into the verdic; # Run `walcompare --report` across all three members and ADD | Also: # ── Chaotic mode: overlapping-kill rounds → isolated verdic; # Opt-in (--chaotic / XCE_HA_MODE=chaotic). Kills land insid", "tags": [ "auto-detected", "error-handling", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1234", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T05:00:06.726Z", "error_message": "Function not marked async", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1236", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T09:27:45.080Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/design.md", "root_cause": "Had `raft_on_append_entries_request`", "fix": "Changed to `research.md`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1237", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T09:28:07.944Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/raft-ha-core-safety/design.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: - **Technical debt addressed:** the silent empty-payload shi | Also: - `.claude/skills/xce-test-ha/run-ha-soak.sh` (and `SKILL.md; - `src/controller/` log init (only if the client-probe appro | Also: | Catch-up Payload Integrity | Adapter | Stream a non-empty ; | Persist Conflict Guard | Persist | `(term,lsn,payload-crc) | Also: - The live-repro gate (task 1.3) has **already run and refut; - A green synthetic unit test over a still-red soak is not a", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 5, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1243", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T10:02:56.820Z", "error_message": "Wrong operator: == should be <<", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Used \"==\" instead of \"<<\"", "fix": "Changed operator == → <<", "tags": [ "auto-detected", "operator-fix", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1244", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T10:04:31.979Z", "error_message": "Incorrect value in code", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Had \"no primary elected within 45s (check $TOP/logs)\"", "fix": "Changed to \"no primary elected within ~90s via client probe (", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1246", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T10:07:37.692Z", "error_message": "Incorrect value in code", "file": ".claude/skills/xce-test-ha/SKILL.md", "root_cause": "Had `no primary elected within 45s`", "fix": "Changed to `no primary elected within ~90s via client probe`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1247", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T10:25:38.366Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p || lsn == 0", "fix": "Added guard clause: if (!p || lsn == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1249", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T10:45:00.686Z", "error_message": "Missing error handling in unknown", "file": "src/controller/persist.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* (a) non-empty incoming whose payload differs at an existi; * — a genuine payload conflict. Branch on tip vs below-tip.", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1250", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T10:45:34.063Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1252", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T10:47:06.628Z", "error_message": "Wrong condition in logic", "file": "src/controller/persist.c", "root_cause": "Condition was: if (lsn != tip_lsn)", "fix": "Changed to: if (trc0 != 0)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1254", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T11:14:27.133Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_ha_core_safety.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: * TASK 2.3 — cross-term catch-up streamer payload integrity ; * | Also: /* Task 2.3 cross-term catch-up streamer payload integrity:; * CORE RED — the streamer must never ship a non-empty cro", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1255", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-27T11:28:45.351Z", "error_message": "Missing guard clause", "file": "src/controller/config_repl.c", "root_cause": "No early return/throw for edge case: !pbuf", "fix": "Added guard clause: if (!pbuf)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1264", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-29T04:13:02.187Z", "error_message": "Incorrect value in code", "file": "src/controller/meson.build", "root_cause": "Had 'testsuite/test_waldump.c'", "fix": "Changed to 'testsuite/test_ha_partition.c'", "tags": [ "auto-detected", "wrong-value", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1266", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-29T04:25:39.111Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_partition.c", "root_cause": "No early return/throw for edge case: peer_idx == g_partition_peer_idx && g_reconnect_gate", "fix": "Added guard clause: if (peer_idx == g_partition_peer_idx && g_re)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1269", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T01:47:07.635Z", "error_message": "Missing await", "file": "src/controller/ha.c", "root_cause": "Async call without await — returned Promise instead of value", "fix": "Added await to async call", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1271", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T02:25:32.055Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: - _Depends: 1.5, 6.2, 5.2, 5.3_; - _Blocked: first soak run (HEAD 01419e1, Phase-2+5 fixes) i", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1273", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T02:41:41.017Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_ha_core_safety.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Task 5.3 lagging-but-safe survivor electability under ove; * CORE RED — a catching-up survivor with NO live primary m", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1275", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T02:55:23.808Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1276", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T02:55:37.693Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had `research.md`", "fix": "Changed to 's persist flusher jams on `", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1279", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T03:33:06.273Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had 's persist flusher jams on `", "fix": "Changed to `xce_controller`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1280", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T03:57:32.784Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had \"Task 7.2 on ~/tmp\"", "fix": "Changed to \"Task 7.2/5.4 — UNIFIED root cause\"", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1283", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T04:17:58.579Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had `xce_controller`", "fix": "Changed to `src/lib`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1285", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T08:24:48.860Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had `vtask_eligible`", "fix": "Changed to `endpoint_is_task_blocked`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1290", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T09:15:12.861Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had 't crash) — STILL blocks the gate; likely an endpo", "fix": "Changed to 't crash) — is now **ROOT-CAUSED** (via the new `", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1292", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T09:33:08.918Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had `1+2*njobs`", "fix": "Changed to `c = ep->owner`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1295", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T13:19:42.706Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: jmax > 0", "fix": "Added guard clause: if (jmax > 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1297", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T13:28:01.170Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: jmax > 0", "fix": "Added guard clause: if (jmax > 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1299", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T13:39:09.194Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1304", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T14:24:36.874Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-ha-core-safety/research.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1308", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T21:22:32.991Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Had `research.md`", "fix": "Changed to 't-preempt-in-flight-election; reduced term churn)", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1310", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-06-30T18:40:00Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: p == NULL || jlist == NULL", "fix": "Added guard clause: if (p == NULL || jlist == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "election-liveness", "rdhup", "term-escalation", "debounce", "5.10b", "raft", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [ "bug-1296", "bug-1306" ], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1312", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T00:29:56.872Z", "error_message": "Wrong reference: test_job_hook_start_writes_wal_entry should be test_job_hook_new_is_notify_only", "file": "src/controller/testsuite/test_persist_hooks.c", "root_cause": "Used \"test_job_hook_start_writes_wal_entry\" instead of \"test_job_hook_new_is_notify_only\"", "fix": "Changed test_job_hook_start_writes_wal_entry → test_job_hook_new_is_notify_only", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1313", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T00:42:13.591Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1315", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T01:26:38.341Z", "error_message": "Wrong reference: unistd should be time", "file": "src/controller/testsuite/test_ha_rdhup_integration.c", "root_cause": "Used \"unistd\" instead of \"time\"", "fix": "Changed unistd → time", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1319", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T04:04:13.051Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-entity-snapshots/design.md", "root_cause": "Had \"collect+encode jobs\\n(RTTI_LOCK_READ on jobmgr)\"", "fix": "Changed to \"collect+encode jobs\\n(table READ lock + per-job R", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1320", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T04:47:19.662Z", "error_message": "Wrong reference: test_ha_partition should be test_persist_snapshot_entities", "file": "src/controller/testsuite/controller_test.c", "root_cause": "Used \"test_ha_partition\" instead of \"test_persist_snapshot_entities\"", "fix": "Changed test_ha_partition → test_persist_snapshot_entities", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1326", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T06:17:52.049Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_persist_snapshot_entities.c", "root_cause": "No early return/throw for edge case: fd < 0", "fix": "Added guard clause: if (fd < 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1327", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T06:18:39.877Z", "error_message": "Wrong reference: pthread should be fcntl", "file": "src/controller/testsuite/test_persist_snapshot_entities.c", "root_cause": "Used \"pthread\" instead of \"fcntl\"", "fix": "Changed pthread → fcntl", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1328", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T06:33:25.117Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_persist_snapshot_entities.c", "root_cause": "No early return/throw for edge case: fd < 0", "fix": "Added guard clause: if (fd < 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1330", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T07:24:22.541Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_ha_liveness.c", "root_cause": "No early return/throw for edge case: cleared == 0", "fix": "Added guard clause: if (cleared == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1331", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T07:46:42.046Z", "error_message": "Wrong return value", "file": "src/controller/persist.c", "root_cause": "Was returning: load_snapshot(p, path, lsn);", "fix": "Now returns: rc;", "tags": [ "auto-detected", "return-value", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1340", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T09:55:17.967Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: !p || checkpoint_lsn == 0", "fix": "Added guard clause: if (!p || checkpoint_lsn == 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1343", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T13:27:42.519Z", "error_message": "Missing error handling in every", "file": "src/controller/testsuite/test_ha_core_safety.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block | Also: /* Task 6.1 integration: leader->standby replication carries; * payload) faithfully end-to-end across BOTH live in-term re", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1348", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T14:10:48.987Z", "error_message": "Wrong reference: test_pre_vote_catch_up_denies should be test_pre_vote_catch_up_grants_when_primary_unreachable", "file": "src/controller/testsuite/test_ha_vote_gate.c", "root_cause": "Used \"test_pre_vote_catch_up_denies\" instead of \"test_pre_vote_catch_up_grants_when_primary_unreachable\"", "fix": "Changed test_pre_vote_catch_up_denies → test_pre_vote_catch_up_grants_when_primary_unreachable", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1349", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-01T14:24:21.310Z", "error_message": "Wrong condition in logic", "file": "src/controller/ha.c", "root_cause": "Condition was: if (atomic_load_explicit(&ha->in_catch_up, memory_orde)", "fix": "Changed to: if (0 && atomic_load_explicit(&ha->in_catch_up, memory)", "tags": [ "auto-detected", "logic-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1355", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T03:03:21.985Z", "error_message": "Wrong reference: myconf_t should be uint32_t", "file": "src/include/myconf.h", "root_cause": "Used \"myconf_t\" instead of \"uint32_t\"", "fix": "Changed myconf_t → uint32_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1357", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T03:03:51.842Z", "error_message": "Function not marked async", "file": "src/controller/main.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1362", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T03:50:14.650Z", "error_message": "Wrong reference: persist_config_t should be uint32_t", "file": "src/include/persist.h", "root_cause": "Used \"persist_config_t\" instead of \"uint32_t\"", "fix": "Changed persist_config_t → uint32_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1363", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T03:50:42.583Z", "error_message": "Wrong reference: WAL_SEGMENT_SIZE_BYTES should be p", "file": "src/controller/persist.c", "root_cause": "Used \"WAL_SEGMENT_SIZE_BYTES\" instead of \"p\"", "fix": "Changed WAL_SEGMENT_SIZE_BYTES → p", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1364", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T03:52:09.933Z", "error_message": "Wrong reference: myconf_t should be uint32_t", "file": "src/include/myconf.h", "root_cause": "Used \"myconf_t\" instead of \"uint32_t\"", "fix": "Changed myconf_t → uint32_t", "tags": [ "wrong-reference", "h", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1369", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T03:57:52.302Z", "error_message": "Incorrect value in code", "file": ".claude/skills/xce-test-ha/run-ha-soak.sh", "root_cause": "Had \"MODE=force-snapshot — forcing one full-checkpoint", "fix": "Changed to \"MODE=force-snapshot — forcing one full-checkpoint", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1370", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T04:10:10.430Z", "error_message": "Function not marked async", "file": ".kiro/specs/raft-ha-core-safety/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1372", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T04:39:29.527Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "No early return/throw for edge case: fd < 0", "fix": "Added guard clause: if (fd < 0)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1380", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T07:16:35.420Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Had `, differential-verified: this specific soak scena", "fix": "Changed to `, differential-verified). (4) Re-ran `", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1382", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T07:23:50.910Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Had `snapshot_lane_fn`", "fix": "Changed to `configpush_offload`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1383", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T07:31:28.737Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "No early return/throw for edge case: waited >= timeout_ms", "fix": "Added guard clause: if (waited >= timeout_ms)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1384", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T07:37:33.427Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Had ` (test_ha_liveness.c). Blocked on **bug-1381** (o", "fix": "Changed to ` (test_ha_liveness.c). **bug-1381 CLOSED 2026-07-", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1388", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T08:19:04.015Z", "error_message": "Missing guard clause", "file": "src/controller/testsuite/test_config_repl.c", "root_cause": "No early return/throw for edge case: g_snaptest_chunk_count >= 16", "fix": "Added guard clause: if (g_snaptest_chunk_count >= 16)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1393", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T12:05:51.415Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Had `~/tmp/xce-ha-deploy/controller/ctrl-{1,2}/data/sn", "fix": "Changed to `ha_send_snapshot_to_standby`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1395", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T13:25:19.081Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/raft-drive-async/tasks.md", "root_cause": "Had `[~]`", "fix": "Changed to `[x]`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1397", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T13:57:56.610Z", "error_message": "Function not marked async", "file": ".kiro/specs/ha-commit-durability/tasks.md", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1398", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T13:58:18.885Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-commit-durability/tasks.md", "root_cause": "Had `/kiro-validate-impl`", "fix": "Changed to `src/tools/test-commit-durability.sh ~/tmp/xce-dur", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1399", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T14:03:20.814Z", "error_message": "Incorrect value in code", "file": "src/controller/CLAUDE.md", "root_cause": "Had `xce-test-e2e-primitives`", "fix": "Changed to `ha-commit-durability`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1402", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-02T14:21:35.080Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/controller-status/tasks.md", "root_cause": "Had `/xce-deploy-ha`", "fix": "Changed to `~/tmp`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1405", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-07-03T00:08:25.320Z", "error_message": "Wrong reference: test_xcecli_ctrlstatus_null_ctx_typed_failure should be test_xce_free_ctrlstatus_frees_the_struct_itself", "file": "src/lib/testsuite/test_ctrlstatus.c", "root_cause": "Used \"test_xcecli_ctrlstatus_null_ctx_typed_failure\" instead of \"test_xce_free_ctrlstatus_frees_the_struct_itself\"", "fix": "Changed test_xcecli_ctrlstatus_null_ctx_typed_failure → test_xce_free_ctrlstatus_frees_the_struct_itself", "tags": [ "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1510", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-10T13:07:36.020Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/design.md", "root_cause": "Had `hardware_monitor`", "fix": "Changed to `worker_process_update()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1511", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-10T13:09:14.910Z", "error_message": "Significant refactor of ", "file": ".kiro/specs/component-failover-adoption/design.md", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 3→4 lines (2 removed)", "tags": [ "auto-detected", "refactor", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1512", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-10T13:10:14.229Z", "error_message": "Significant refactor of ", "file": ".kiro/specs/component-failover-adoption/requirements.md", "root_cause": "8 lines replaced/restructured", "fix": "Rewrote 21→7 lines (8 removed)", "tags": [ "auto-detected", "refactor", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1513", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-10T13:47:21.938Z", "error_message": "Significant refactor of ", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 6→6 lines (2 removed)", "tags": [ "auto-detected", "refactor", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1516", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T11:35:00.157Z", "error_message": "Significant refactor of ", "file": "src/scheduler/testsuite/meson.build", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 5→12 lines (2 removed)", "tags": [ "auto-detected", "refactor", "build", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1517", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T11:35:50.895Z", "error_message": "Wrong reference: true should be false", "file": "src/scheduler/src/scheduler.c", "root_cause": "Used \"true\" instead of \"false\"", "fix": "Changed true → false", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1518", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T12:22:54.348Z", "error_message": "Significant refactor of ", "file": "src/scheduler/src/scheduler.c", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 7→11 lines (2 removed) | Also: ERROR(\"%s: xcecli_join() failed across %d candidat; __func__, sched->cluster_cfg.candidates_count, rc)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1520", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T13:05:01.694Z", "error_message": "Significant refactor of ", "file": "src/scheduler/src/scheduler.c", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 12→10 lines (3 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1521", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T13:14:08.399Z", "error_message": "Wrong reference: test_sched_init_no_peers_default_also_fails_cleanly should be test_all_candidates_unreachable_log_names_every_candidate_host_port", "file": "src/scheduler/testsuite/test_scheduler_connect.c", "root_cause": "Used \"test_sched_init_no_peers_default_also_fails_cleanly\" instead of \"test_all_candidates_unreachable_log_names_every_candidate_host_port\"", "fix": "Changed test_sched_init_no_peers_default_also_fails_cleanly → test_all_candidates_unreachable_log_names_every_candidate_host_port", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1522", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T13:14:51.964Z", "error_message": "Significant refactor of ", "file": "src/scheduler/testsuite/test_scheduler_connect.c", "root_cause": "4 lines replaced/restructured", "fix": "Rewrote 11→21 lines (4 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1523", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T14:34:18.839Z", "error_message": "Significant refactor of ", "file": "src/scheduler/testsuite/test_scheduler_decision_redelivery.c", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 6→7 lines (2 removed) | Also: * Fixtures call xce_sched_core_init()/xce_sched_co; * the full sched_init()) -- the same minimal-fixtu", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1524", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T14:37:43.571Z", "error_message": "Significant refactor of ", "file": "src/scheduler/src/scheduler.c", "root_cause": "5 lines replaced/restructured", "fix": "Rewrote 26→27 lines (5 removed) | Also: /* TEMPORARY RED-PHASE PROBE #2 (task 3.4 evidence; * immediately after use) -- core.stop checked only", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1525", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T23:39:27.643Z", "error_message": "Significant refactor of ", "file": "src/scheduler/src/scheduler.c", "root_cause": "15 lines replaced/restructured", "fix": "Rewrote 27→11 lines (15 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1526", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-11T23:49:56.443Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1527", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T02:41:37.052Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/clib.go", "root_cause": "6 lines replaced/restructured", "fix": "Rewrote 21→26 lines (6 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1528", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T02:41:56.690Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/config.go", "root_cause": "4 lines replaced/restructured", "fix": "Rewrote 5→8 lines (4 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1529", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T03:09:17.720Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/candidates.go", "root_cause": "13 lines replaced/restructured", "fix": "Rewrote 40→74 lines (13 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1530", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T04:33:27.866Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `scheduler.c`", "fix": "Changed to `xce_parse_peers()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1531", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T07:05:08.345Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/clib.go", "root_cause": "40 lines replaced/restructured", "fix": "Rewrote 83→229 lines (40 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1533", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T07:46:01.677Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `scheduler.c`", "fix": "Changed to 's two connect mechanisms into one — the deleted `", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1534", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T08:45:46.229Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/reconnect_test.go", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 9→14 lines (3 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1535", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T09:15:53.632Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `scheduler.c`", "fix": "Changed to `go_backend_rejoin_handler`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1536", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T09:25:02.926Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/heartbeat.go", "root_cause": "4 lines replaced/restructured", "fix": "Rewrote 17→62 lines (4 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1537", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T09:25:33.041Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/clib.go", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 7→14 lines (3 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1538", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T09:26:08.038Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/heartbeat_test.go", "root_cause": "4 lines replaced/restructured", "fix": "Rewrote 48→214 lines (4 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1539", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T09:58:02.265Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `scheduler.c`", "fix": "Changed to `runHeartbeat()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1540", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T10:16:08.309Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/clib.go", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 23→95 lines (2 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1541", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T10:17:17.099Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/reconnect.go", "root_cause": "4 lines replaced/restructured", "fix": "Rewrote 16→26 lines (4 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1543", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T10:20:03.350Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/reconnect_test.go", "root_cause": "8 lines replaced/restructured", "fix": "Rewrote 17→30 lines (8 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1544", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T10:51:41.466Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `sched_init()`", "fix": "Changed to `callBackend()`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1545", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T12:21:30.458Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `sched_init()`", "fix": "Changed to \"zero new code is a valid outcome when genuinely t", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1546", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T12:42:35.605Z", "error_message": "Significant refactor of ", "file": "../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-scheduler-framework/93f96538-d154-48c8-b92b-c8f9342a87cf/scratchpad/phase2_failover.sh", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 11→13 lines (3 removed)", "tags": [ "auto-detected", "refactor", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1547", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T12:48:36.145Z", "error_message": "Incorrect value in code", "file": "../../../../../../tmp/claude-1000/-home-rshen-projects-xce-worktrees-scheduler-framework/93f96538-d154-48c8-b92b-c8f9342a87cf/scratchpad/phase2_failover.sh", "root_cause": "Had \"$TOP/logs/apiserver.stdout.log\"", "fix": "Changed to \"$APISERVER_LOG\"", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1550", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-12T13:22:40.852Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `sched_init()`", "fix": "Changed to `xcecd_virtual`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1551", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T02:38:03.922Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `sched_init()`", "fix": "Changed to 's bug-1548 finding (heartbeat-only, zero write tra", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1552", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T03:02:32.434Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had `sched_init()`", "fix": "Changed to `client_failover.c`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-872", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T07:20:20.800Z", "error_message": "Significant refactor of ", "file": "src/xceadmin/src/xcecommon/mapping.py", "root_cause": "7 lines replaced/restructured", "fix": "Rewrote 8→14 lines (7 removed)", "tags": [ "auto-detected", "refactor", "py", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-873", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T07:20:42.831Z", "error_message": "Significant refactor of ", "file": "src/xceadmin/tests/test_mapping.py", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 3→5 lines (3 removed)", "tags": [ "auto-detected", "refactor", "py", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-874", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T07:25:51.662Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_worker_join.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1633", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T07:27:23.041Z", "error_message": "Significant refactor of ", "file": "src/controller/worker.c", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 49→67 lines (3 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1634", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T08:06:37.286Z", "error_message": "Significant refactor of ", "file": "src/controller/testsuite/test.c", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 30→41 lines (2 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1635", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T08:16:40.941Z", "error_message": "Significant refactor of ", "file": "src/schema/controller.capnp", "root_cause": "11 lines replaced/restructured", "fix": "Rewrote 14→3 lines (11 removed) | Also: # Display-unit hint copied from the resource's own; # at reply-build time -- empty/unset means \"raw nu", "tags": [ "auto-detected", "refactor", "capnp", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-882", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T08:18:53.065Z", "error_message": "Significant refactor of ", "file": "src/controller/opget.c", "root_cause": "7 lines replaced/restructured", "fix": "Rewrote 20→9 lines (7 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1636", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T08:19:26.708Z", "error_message": "Incorrect value in code", "file": "src/configs/schema/resources.schema.json", "root_cause": "Had \"unit\"", "fix": "Changed to \"resourcemap\"", "tags": [ "auto-detected", "wrong-value", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1637", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T08:20:21.520Z", "error_message": "Significant refactor of ", "file": "src/xceadmin/src/xcecommon/mapping.py", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 5→3 lines (2 removed)", "tags": [ "auto-detected", "refactor", "py", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1638", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T08:22:12.974Z", "error_message": "Significant refactor of ", "file": "src/controller/testsuite/test.c", "root_cause": "5 lines replaced/restructured", "fix": "Rewrote 8→37 lines (5 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1639", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T09:22:19.958Z", "error_message": "Significant refactor of ", "file": "src/worker/src/xcecd.c", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 3→7 lines (2 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1640", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T09:22:43.708Z", "error_message": "Incorrect value in code", "file": "src/configs/resources.yaml", "root_cause": "Had \"available memory in MB (built-in dynamic load ind", "fix": "Changed to \"available memory in bytes (built-in dynamic load ", "tags": [ "auto-detected", "wrong-value", "yaml", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1641", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T09:23:07.016Z", "error_message": "Significant refactor of ", "file": "src/configs/resources.yaml", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 7→7 lines (2 removed)", "tags": [ "auto-detected", "refactor", "yaml", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1642", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T09:23:47.981Z", "error_message": "Significant refactor of ", "file": "src/controller/testsuite/test.c", "root_cause": "6 lines replaced/restructured", "fix": "Rewrote 12→16 lines (6 removed) | Also: /* MaxMem is stored/wired as raw bytes (xce_resour; * for the maxmem resource definition) -- humanize ", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1643", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T09:25:25.166Z", "error_message": "Significant refactor of ", "file": "src/configs/schema/hosts.schema.json", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 10→17 lines (2 removed)", "tags": [ "auto-detected", "refactor", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1644", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T09:25:49.927Z", "error_message": "Significant refactor of ", "file": "src/configs/schema/queues.schema.json", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 10→17 lines (2 removed)", "tags": [ "auto-detected", "refactor", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-892", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T09:26:55.689Z", "error_message": "Significant refactor of ", "file": "src/xceadmin/src/xcecommon/mapping.py", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 16→58 lines (3 removed)", "tags": [ "auto-detected", "refactor", "py", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1645", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T10:45:55.441Z", "error_message": "Significant refactor of ", "file": "src/tools/deploy-ha.sh", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 21→34 lines (2 removed) | Also: # NOT retroactively update an already-built snapsh; # priority order (as this used to be) silently pic", "tags": [ "auto-detected", "refactor", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1646", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T10:52:01.122Z", "error_message": "Incorrect value in code", "file": "src/tools/deploy-ha.sh", "root_cause": "Had \"Warning: no xceadmin found in $BINARY'", "fix": "Changed to \"Warning: no xceadmin found alongside $BINARY (che", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-896", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T13:08:50.126Z", "error_message": "Significant refactor of ", "file": "src/xceadmin/src/xcecommon/mapping.py", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 3→5 lines (3 removed)", "tags": [ "auto-detected", "refactor", "py", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-897", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-13T13:11:27.503Z", "error_message": "Wrong reference: write_output should be dump_cluster_config", "file": "src/xceadmin/src/xceadmin/cli.py", "root_cause": "Used \"write_output\" instead of \"dump_cluster_config\"", "fix": "Changed write_output → dump_cluster_config", "tags": [ "auto-detected", "wrong-reference", "py", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1647", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T13:02:22.188Z", "error_message": "Significant refactor of ", "file": "src/frontend/apiserver/backend/clib.go", "root_cause": "6 lines replaced/restructured", "fix": "Rewrote 14→30 lines (6 removed)", "tags": [ "auto-detected", "refactor", "go", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-901", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T13:05:02.816Z", "error_message": "Significant refactor of ", "file": "src/frontend/Makefile", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 3→6 lines (3 removed)", "tags": [ "auto-detected", "refactor", "unknown", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-902", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T13:06:10.183Z", "error_message": "Wrong reference: 039 should be 1548", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Used \"039\" instead of \"1548\"", "fix": "Changed 039 → 1548", "tags": [ "auto-detected", "wrong-reference", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1648", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T13:07:00.267Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Had 's own scope to fix (task 5.x is cross-component v", "fix": "Changed to `/kiro-validate-impl`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1649", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T13:07:21.491Z", "error_message": "Significant refactor of ", "file": ".kiro/specs/component-failover-adoption/spec.json", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 20→30 lines (2 removed)", "tags": [ "auto-detected", "refactor", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1650", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T14:20:32.090Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/component-failover-adoption/tasks.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-906", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T14:20:51.010Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/component-failover-adoption/spec.json", "root_cause": "Had \"2026-08-15T13:10:00Z\"", "fix": "Changed to \"2026-08-15T14:20:00Z\"", "tags": [ "auto-detected", "wrong-value", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1651", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-15T14:21:07.376Z", "error_message": "Significant refactor of ", "file": ".kiro/specs/component-failover-adoption/spec.json", "root_cause": "5 lines replaced/restructured", "fix": "Rewrote 11→17 lines (5 removed)", "tags": [ "auto-detected", "refactor", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1652", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T03:42:14.435Z", "error_message": "Missing error handling in unknown", "file": "reports/aug08-aug15-2026.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-910", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T03:57:07.719Z", "error_message": "Incorrect value in code", "file": "reports/aug08-aug15-2026.md", "root_cause": "Had `build.py`", "fix": "Changed to `3afe3d5`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1653", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T04:29:20.063Z", "error_message": "Significant refactor of ", "file": ".kiro/specs/config-upgrade-snapshot/spec.json", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 21→29 lines (3 removed) | Also: \"updated_at\": \"2026-07-29T09:20:00Z\",; \"phase\": \"tasks-generated\",", "tags": [ "auto-detected", "refactor", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1654", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T04:51:52.141Z", "error_message": "Significant refactor of ", "file": "src/controller/testsuite/test_commit_barrier_reply.c", "root_cause": "11 lines replaced/restructured", "fix": "Rewrote 11→16 lines (11 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1655", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T04:54:26.304Z", "error_message": "Missing guard clause", "file": "src/controller/persist.c", "root_cause": "No early return/throw for edge case: j == NULL", "fix": "Added guard clause: if (j == NULL)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-912", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T05:04:02.838Z", "error_message": "Significant refactor of ", "file": "src/controller/persist.c", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 37→86 lines (3 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1656", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T05:22:23.386Z", "error_message": "Missing error handling in unknown", "file": "src/controller/testsuite/test_e2e_checkpoint.c", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block", "tags": [ "auto-detected", "error-handling", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1657", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T05:25:35.899Z", "error_message": "Significant refactor of ", "file": "src/controller/persist.c", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 6→17 lines (2 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-915", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T06:54:02.070Z", "error_message": "Missing guard clause", "file": "src/controller/ha.c", "root_cause": "No early return/throw for edge case: ha->standby_endpoints", "fix": "Added guard clause: if (ha->standby_endpoints)", "tags": [ "auto-detected", "guard-clause", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-916", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T07:03:34.559Z", "error_message": "Significant refactor of ", "file": "src/controller/worker.c", "root_cause": "9 lines replaced/restructured", "fix": "Rewrote 12→23 lines (9 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-917", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T09:54:06.127Z", "error_message": "Significant refactor of ", "file": "src/controller/worker.c", "root_cause": "7 lines replaced/restructured", "fix": "Rewrote 15→8 lines (7 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1658", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T11:12:53.822Z", "error_message": "Missing error handling in unknown", "file": ".kiro/specs/admin-config-tool/tasks.md", "root_cause": "Code path had no error handling — exceptions would propagate uncaught", "fix": "Added try/catch block", "tags": [ "auto-detected", "error-handling", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-919", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T12:12:34.395Z", "error_message": "Incorrect value in code", "file": ".kiro/specs/ha-config-bootstrap/spec.json", "root_cause": "Had \"All tasks 1.x-11.x done (verified 2026-06-09 gap ", "fix": "Changed to \"CLOSED 2026-08-16. All 3 known deviations from th", "tags": [ "auto-detected", "wrong-value", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1659", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-16T12:12:57.617Z", "error_message": "Significant refactor of ", "file": ".kiro/specs/resval-id-decoupling/spec.json", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 21→22 lines (3 removed)", "tags": [ "auto-detected", "refactor", "json", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1660", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T03:45:49.314Z", "error_message": "Significant refactor of ", "file": "src/controller/ha.c", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 6→8 lines (2 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1661", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T04:59:39.812Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_term_safety_adapter.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1662", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T05:01:33.795Z", "error_message": "Function not marked async", "file": "src/controller/persist.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1663", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T06:41:48.625Z", "error_message": "Significant refactor of ", "file": "src/tools/deploy-ha.sh", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 40→93 lines (2 removed)", "tags": [ "auto-detected", "refactor", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-927", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T06:44:51.034Z", "error_message": "Significant refactor of ", "file": ".claude/skills/xce-deploy-ha/SKILL.md", "root_cause": "7 lines replaced/restructured", "fix": "Rewrote 65→132 lines (7 removed) | Also: # 1. Stop running controllers; bash \"$TOP/scripts/cleanup.sh\"", "tags": [ "auto-detected", "refactor", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 2, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1664", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T06:51:13.785Z", "error_message": "Significant refactor of ", "file": ".claude/skills/xce-build/SKILL.md", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 3→26 lines (2 removed) | Also: does not need to run from inside this repo or the ; **not** bundle its dependencies (`click`, `pycapnp | Also: ## Installing the xceadmin wheel elsewhere; `/xce-build xceadmin` always leaves a fresh, teste", "tags": [ "auto-detected", "refactor", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1665", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T06:52:21.795Z", "error_message": "Significant refactor of ", "file": "src/xceadmin/pyproject.toml", "root_cause": "5 lines replaced/restructured", "fix": "Rewrote 6→9 lines (5 removed)", "tags": [ "auto-detected", "refactor", "toml", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1666", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T07:00:05.291Z", "error_message": "Significant refactor of ", "file": "src/tools/deploy-ha.sh", "root_cause": "13 lines replaced/restructured", "fix": "Rewrote 22→44 lines (13 removed)", "tags": [ "auto-detected", "refactor", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1667", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T07:00:21.077Z", "error_message": "Incorrect value in code", "file": "src/tools/deploy-ha.sh", "root_cause": "Had \"xceadmin installed at $TOP/xceadmin-venv -- use i", "fix": "Changed to \"xceadmin installed at $TOP/xceadmin-site -- use i", "tags": [ "auto-detected", "wrong-value", "sh", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-932", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T07:15:26.246Z", "error_message": "Function not marked async", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Function uses await but wasn't declared async", "fix": "Added async modifier", "tags": [ "auto-detected", "async-fix", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1668", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T07:15:58.937Z", "error_message": "Wrong reference: fire_count should be g_durable_advance_fire_count", "file": "src/controller/testsuite/test_commit_durability.c", "root_cause": "Used \"fire_count\" instead of \"g_durable_advance_fire_count\"", "fix": "Changed fire_count → g_durable_advance_fire_count", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-936", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T08:02:07.121Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/persistence.md", "root_cause": "Had `on_durable_advance(ctx)`", "fix": "Changed to `fdatasync`", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1669", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T08:03:27.006Z", "error_message": "Significant refactor of ", "file": ".kiro/steering/build-deployment.md", "root_cause": "7 lines replaced/restructured", "fix": "Rewrote 32→48 lines (7 removed)", "tags": [ "auto-detected", "refactor", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-938", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T08:18:40.345Z", "error_message": "Significant refactor of ", "file": ".claude/skills/xce-build/SKILL.md", "root_cause": "4 lines replaced/restructured", "fix": "Rewrote 11→12 lines (4 removed)", "tags": [ "auto-detected", "refactor", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-939", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T08:19:13.328Z", "error_message": "Wrong operator: && should be <<", "file": ".claude/skills/xce-build/SKILL.md", "root_cause": "Used \"&&\" instead of \"<<\"", "fix": "Changed operator && → <<", "tags": [ "auto-detected", "operator-fix", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-940", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T08:19:30.812Z", "error_message": "Incorrect value in code", "file": ".kiro/steering/build-deployment.md", "root_cause": "Had 're gone until something explicitly rebuilds them ", "fix": "Changed to 're gone until something explicitly rebuilds them ", "tags": [ "auto-detected", "wrong-value", "md", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1670", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T08:24:49.130Z", "error_message": "Incorrect value in code", "file": "src/xceadmin/tests/test_cli.py", "root_cause": "Had \", event_count=0, started_at=None)\n\n monkeypatc", "fix": "Changed to \", event_count=0, started_at=0)\n\n monkeypatch.s", "tags": [ "auto-detected", "wrong-value", "py", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1671", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T09:14:31.784Z", "error_message": "Significant refactor of ", "file": "src/scheduler/src/sim_loop.c", "root_cause": "47 lines replaced/restructured", "fix": "Rewrote 52→12 lines (47 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-946", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T09:14:35.731Z", "error_message": "Wrong reference: sim_register_default_picker should be sim_bootstrap_picker", "file": "src/scheduler/src/sim_loop.c", "root_cause": "Used \"sim_register_default_picker\" instead of \"sim_bootstrap_picker\"", "fix": "Changed sim_register_default_picker → sim_bootstrap_picker", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-947", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T10:14:50.237Z", "error_message": "Wrong reference: test_job_rusage_applies_state_when_hook_is_null should be test_workers_push_twice_updates_existing_worker_in_place", "file": "src/scheduler/testsuite/test_core_events.c", "root_cause": "Used \"test_job_rusage_applies_state_when_hook_is_null\" instead of \"test_workers_push_twice_updates_existing_worker_in_place\"", "fix": "Changed test_job_rusage_applies_state_when_hook_is_null → test_workers_push_twice_updates_existing_worker_in_place", "tags": [ "auto-detected", "wrong-reference", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-1672", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T10:16:21.240Z", "error_message": "Significant refactor of ", "file": "src/scheduler/src/core_events.c", "root_cause": "3 lines replaced/restructured", "fix": "Rewrote 74→151 lines (3 removed) | Also: xce_sched_worker_t* worker; = core_build_worker(core, ev->u.workers_push.worke | Also: * WORKERS_PUSH core_build_worker() + sched_; * No picker hook (Req 1 AC 2:", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 3, "last_seen": "2026-09-19T09:00:00Z" }, { "id": "bug-949", "status": "fixed", "status_updated": "2026-09-24", "timestamp": "2026-08-17T10:31:46.356Z", "error_message": "Significant refactor of ", "file": "src/scheduler/src/repl_info.c", "root_cause": "2 lines replaced/restructured", "fix": "Rewrote 4→9 lines (2 removed)", "tags": [ "auto-detected", "refactor", "c", "fixed", "closed-by-scheduler-sim-live-allocation" ], "related_bugs": [], "occurrences": 1, "last_seen": "2026-09-19T09:00:00Z" } ] }