bvandeusen and Claude Opus 5
441a1ac31d
CI & Build / Python lint (push) Successful in 4s
CI & Build / Plugin hooks (push) Successful in 11s
CI & Build / TypeScript typecheck (push) Successful in 1m2s
CI & Build / integration (push) Successful in 1m0s
CI & Build / Python tests (push) Successful in 1m39s
CI & Build / Build & push image (push) Successful in 39s
fix( #4016 ): records that cite each other are created together, and a guessed id is refused
...
Sessions predicted the ids their next creates would get and wrote them into
plan bodies and reference notes before the records existed. The database
never collides; the sequence is shared by every session and user, so any
concurrent create took the guessed numbers and the references pointed at
someone else's records.
- create_records (new MCP tool) and start_planning(body=, steps=) create
their records in ONE transaction: insert, flush for the real ids, rewrite
{{ref:N}} / {{ref:milestone}} placeholders as #id "title", commit. No
prediction, no waiting, no stub records left behind when a batch fails.
Ids need not be consecutive and nothing depends on it.
- Every MCP create/update of a note, task or milestone refuses a #N sitting
just above the highest assigned id (within 50): that can only be a guess.
Refusal, not warning. Numbers far above the max (PRs, forge issues) pass.
- notes.build_note splits validation out of create_note so the batch
validates records exactly as a single create does.
- writing-plans and using-scribe say to pass steps up front and never write
an unassigned id; plugin version minted.
Integration test runs six concurrent batches and checks each resolves its
placeholders to its own records, and that a failing batch writes nothing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-14 08:33:56 -04:00
..
2026-05-27 22:39:50 -04:00
2026-03-08 18:46:54 -04:00
2026-08-26 16:35:36 -04:00
2026-09-11 16:22:17 -04:00
2026-08-23 11:05:42 -04:00
2026-08-21 12:34:28 -04:00
2026-07-31 14:52:06 -04:00
2026-08-08 23:51:01 -04:00
2026-09-14 08:33:56 -04:00
2026-08-21 11:13:17 -04:00
2026-08-03 11:37:20 -04:00
2026-08-21 11:13:17 -04:00
2026-08-07 13:01:45 -04:00
2026-08-31 08:09:09 -04:00
2026-06-03 16:16:44 -04:00
2026-08-21 11:03:48 -04:00
2026-09-02 14:59:41 -04:00
2026-05-27 22:39:50 -04:00
2026-09-11 16:26:56 -04:00
2026-09-11 16:22:17 -04:00
2026-08-28 15:22:50 -04:00
2026-09-02 16:55:22 -04:00
2026-09-11 16:22:17 -04:00
2026-08-21 11:03:48 -04:00
2026-08-31 08:09:09 -04:00
2026-08-21 11:03:48 -04:00
2026-09-11 16:22:17 -04:00
2026-08-21 11:03:48 -04:00
2026-09-14 08:33:56 -04:00
2026-09-10 21:14:29 -04:00
2026-09-11 16:38:14 -04:00
2026-09-11 16:22:17 -04:00
2026-08-29 23:46:15 -04:00
2026-08-23 21:30:21 -04:00
2026-08-21 11:13:17 -04:00
2026-08-27 15:55:04 -04:00
2026-08-28 12:06:43 -04:00
2026-08-21 11:20:36 -04:00
2026-06-03 15:48:35 -04:00
2026-06-03 15:48:35 -04:00
2026-08-24 01:28:07 -04:00
2026-08-17 12:54:58 -04:00
2026-09-14 08:33:56 -04:00
2026-08-21 11:13:17 -04:00
2026-08-21 11:13:17 -04:00
2026-08-30 13:17:52 -04:00
2026-09-14 08:33:56 -04:00
2026-08-21 11:13:17 -04:00
2026-09-11 16:22:17 -04:00
2026-09-11 16:22:17 -04:00
2026-08-21 11:03:48 -04:00
2026-08-30 13:17:52 -04:00
2026-08-26 13:02:09 -04:00
2026-08-21 11:13:17 -04:00
2026-08-27 15:55:04 -04:00
2026-08-21 11:13:17 -04:00
2026-08-21 11:13:17 -04:00
2026-09-02 18:05:00 -04:00
2026-08-21 11:13:17 -04:00
2026-08-23 21:27:27 -04:00
2026-09-02 00:38:50 -04:00
2026-09-02 00:15:45 -04:00
2026-09-10 21:59:23 -04:00
2026-08-06 08:51:21 -04:00
2026-08-30 13:10:04 -04:00
2026-08-28 16:01:28 -04:00
2026-09-11 20:11:43 -04:00
2026-08-21 11:13:17 -04:00
2026-06-03 15:48:35 -04:00
2026-06-14 17:53:24 -04:00
2026-08-21 11:13:17 -04:00
2026-06-03 15:48:35 -04:00
2026-09-11 16:22:17 -04:00
2026-07-28 18:42:29 -04:00
2026-06-13 23:14:54 -04:00
2026-06-03 15:48:35 -04:00
2026-06-03 15:48:35 -04:00
2026-09-04 20:11:42 -04:00
2026-09-11 14:07:32 -04:00
2026-09-11 16:22:17 -04:00
2026-09-11 16:33:16 -04:00
2026-06-03 15:48:35 -04:00
2026-08-28 12:06:43 -04:00
2026-09-11 16:33:16 -04:00
2026-08-26 12:31:18 -04:00
2026-08-27 18:43:45 -04:00
2026-08-21 11:13:17 -04:00
2026-08-21 11:13:17 -04:00
2026-08-21 11:03:48 -04:00
2026-08-19 11:23:22 -04:00
2026-08-28 12:06:43 -04:00
2026-08-21 11:03:48 -04:00
2026-08-28 16:59:41 -04:00
2026-08-21 11:03:48 -04:00
2026-08-28 15:42:12 -04:00
2026-08-08 23:47:34 -04:00
2026-06-14 12:22:22 -04:00
2026-09-11 16:22:17 -04:00
2026-08-21 11:13:17 -04:00
2026-09-14 08:33:56 -04:00
2026-06-10 01:33:58 -04:00
2026-09-09 21:24:32 -04:00
2026-08-26 15:00:49 -04:00
2026-09-02 23:06:40 -04:00
2026-09-11 16:22:17 -04:00
2026-07-28 18:42:29 -04:00
2026-08-21 11:13:17 -04:00
2026-08-26 13:02:09 -04:00
2026-08-21 11:03:48 -04:00
2026-09-09 00:04:33 -04:00
2026-09-11 20:30:06 -04:00
2026-08-23 21:27:27 -04:00
2026-08-21 11:13:17 -04:00
2026-08-21 11:13:17 -04:00
2026-08-16 13:05:00 -04:00
2026-08-09 10:33:11 -04:00
2026-08-23 22:36:04 -04:00
2026-08-21 15:14:34 -04:00
2026-08-21 11:13:17 -04:00
2026-08-28 15:42:12 -04:00
2026-08-21 11:03:48 -04:00
2026-08-21 11:13:17 -04:00
2026-08-21 11:03:48 -04:00
2026-07-30 12:53:57 -04:00
2026-08-21 11:13:17 -04:00
2026-09-11 11:48:14 -04:00
2026-06-03 15:48:35 -04:00
2026-06-03 15:48:35 -04:00
2026-08-29 00:10:43 -04:00
2026-08-31 00:45:22 -04:00
2026-08-21 11:13:17 -04:00
2026-08-21 11:14:44 -04:00
2026-06-03 15:48:35 -04:00
2026-09-02 11:23:43 -04:00
2026-09-11 14:36:18 -04:00