docs(plans): lead decision 60, schema v3b accepted

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-04 22:34:37 -05:00
co-authored by Claude Opus 5.5
parent 6050d3da54
commit 24c81a6142
2 changed files with 28 additions and 0 deletions
+27
View File
@@ -987,3 +987,30 @@ which stay with him. Each item names who decided it and what happened.
- Dewey's Q3 correction also stands: the trail joins a task to its
request through `task.created`'s `request`, not through `subject`
on the `human.input` event.
60. **Schema v3b accepted, and the S3 poller compares against the
current snapshot (2026-10-04).** Source: Darkwing,
`agents/darkwing/work/slice1-proto/` at 48d76de7, `schema-v3b.sql`
sha256 179ffe35…, stored schema digest 52514a11…, notes in
`proto-v3b-notes.md`. Tables 8, triggers 36, views 5.
- The v3b change is one view, `task_current`, and `tasks_open` is
rebuilt on it. `diff schema-v3a.sql schema-v3b.sql` shows nothing
else. I reran `proto-v3b.mjs` on Node 26.8.1 on the host and on
Node 24 in the `node:24` image with no network. Both outputs match
Darkwing's recorded files byte for byte.
- S2 pins v3b instead of v3a. Rocko already has the change from
Darkwing.
- Darkwing's poller rule is accepted and amends addendum B section 5.
The poller decides whether to write a read by comparing its digest
against `task_current`, not against the task's raw latest row.
Compared against the raw row, a stale write followed by a person's
real move back hides that move from both views. The prototype
shows it on `vikunja:3/46`. S3 carries the rule and a test for it.
- One condition for the writers. Both views compare `read_at` and
`at` as text, and the schema doesn't check their format, which was
already true of v3a's external-change view. Every writer, S2's bus
and S3's poller, stamps both columns in one fixed-width UTC form
with the same precision. S2 and S3 each test that a mixed-format
write is refused or can't happen.
- Dewey moves `checks/slice1-verify.mjs` from v3a to v3b in Dewey's
own working files. Darkwing's fixture replay already shows v3b
agreeing with the mockup on all 72 rows.