ticket-dispatch: the pump and the sweep read open tasks only (WR-89) #42

Merged
pit merged 6 commits from hermes/WR-89-the-dispatch-sweep-fetches-only-open-tas into main 2026-11-06 16:31:23 +00:00
Member

Implements WR-89

Summary

The pump's and the sweep's board read asked Vikunja for every task in every bucket, done ones included, and the nodes then skipped them:

ticket-dispatch/workflows/vikunja-ticket-dispatch.json
  Pump reads        get a URL per mapped project
-   .../buckets/tasks?per_page=200
+   .../buckets/tasks?filter=done%20%3D%20false&per_page=200
  Sweep urls
   queues_url        same change; hooks_url unchanged

  Build pump        code unchanged, one comment: the read it is handed is already open-only
  Sweep plan        code unchanged

Vikunja filters the tasks inside each bucket and still returns every bucket (GetTasksInBucketsForView reads the buckets first, then queries each one's tasks as (filter) && bucket_id = <id>), so the Config's four bucket names keep resolving to their ids and the nodes read the same shapes.

The fields could not be cut with the done tasks. Vikunja v2.7.0 has no sparse-field parameter — fields= and select= are ignored, and description and related_tasks are filled for every task unconditionally — and no other read carries bucket membership. That is a finding on the ticket, not a missing step.

Evidence

  • Before, at 7800152 — the base this change was written against — the full suites give pump 75/77 and notices 27/28, red on exactly the URL checks (two in the pump suite, one in the sweep suite).
    After, at 4f0f52f: 77/77 and 28/28, red→green on those three, every other suite at its own tally.
    At this head (a378bf1, merged with main's WR-91 and WR-90): gate 79/79, pump 79/79, notices 30/30, retry 18/18, provision-buckets 50, parse 12/12, decide 95/95, protect-main 131, onboard-repo 41, scan 24, render 141, make docs-check 3 assertions. Pump and notices sit two checks above the 4f0f52f figures because WR-91 added two to each; the filter assertions are unchanged, and retry arrives with WR-90.

  • One run's bytes at the proxy (proxy-host-40_access.log, the six board reads of the 16:30 pump tick): 932,884 + 993,075 + 1,629,021 + 617,419 + 625,581 + 1,373,556 = 6,171,536. The same six, from the captured n8n output, come to 6,188,926. Filtered on that capture: 864,444 (14%).

  • The decisions, both ways: both suites now load test-payloads/board-read-2026-11-06.json — the live pump tick's Get queues output (execution 70057) reduced to the fields the nodes read — once as captured and once with its done tasks dropped, and require the same dispatches, notices and ledger. On that board the pump dispatches WR-89, which is the ticket this work came from.

Merge Danger

Door: two-way

The export is the only artefact; the live n8n copy is updated after the merge, and rolling back is a re-import of the previous export.

Blast Radius: one workflow

A done task that is still parked in Doing no longer counts toward an implementer's occupancy or a stale line. Today's six boards have none — the capture checks every bucket — but it is the one decision the filter can move, and it moves toward the truth. It is pinned in both directions: pump §16 and notices §10 run the same board whole and open-only and assert the gap is exactly that decision, with an open ticket beside it that must keep speaking.

Follow-up, not in this change: the webhook path's Get view tasks reads one board per assignment and still fetches its done tasks.

Implements [WR-89](https://vikunja.thepit.space/tasks/294) ## Summary The pump's and the sweep's board read asked Vikunja for every task in every bucket, done ones included, and the nodes then skipped them: ```diff ticket-dispatch/workflows/vikunja-ticket-dispatch.json Pump reads get a URL per mapped project - .../buckets/tasks?per_page=200 + .../buckets/tasks?filter=done%20%3D%20false&per_page=200 Sweep urls queues_url same change; hooks_url unchanged Build pump code unchanged, one comment: the read it is handed is already open-only Sweep plan code unchanged ``` Vikunja filters the tasks inside each bucket and still returns every bucket (`GetTasksInBucketsForView` reads the buckets first, then queries each one's tasks as `(filter) && bucket_id = <id>`), so the Config's four bucket names keep resolving to their ids and the nodes read the same shapes. The fields could not be cut with the done tasks. Vikunja v2.7.0 has no sparse-field parameter — `fields=` and `select=` are ignored, and `description` and `related_tasks` are filled for every task unconditionally — and no other read carries bucket membership. That is a finding on the ticket, not a missing step. ## Evidence - **Before**, at `7800152` — the base this change was written against — the full suites give pump 75/77 and notices 27/28, red on exactly the URL checks (two in the pump suite, one in the sweep suite). **After**, at `4f0f52f`: 77/77 and 28/28, red→green on those three, every other suite at its own tally. **At this head** (`a378bf1`, merged with main's WR-91 and WR-90): gate 79/79, pump 79/79, notices 30/30, retry 18/18, provision-buckets 50, parse 12/12, decide 95/95, protect-main 131, onboard-repo 41, scan 24, render 141, `make docs-check` 3 assertions. Pump and notices sit two checks above the `4f0f52f` figures because WR-91 added two to each; the filter assertions are unchanged, and `retry` arrives with WR-90. - **One run's bytes at the proxy** (`proxy-host-40_access.log`, the six board reads of the 16:30 pump tick): 932,884 + 993,075 + 1,629,021 + 617,419 + 625,581 + 1,373,556 = **6,171,536**. The same six, from the captured n8n output, come to 6,188,926. Filtered on that capture: **864,444** (14%). - **The decisions, both ways:** both suites now load `test-payloads/board-read-2026-11-06.json` — the live pump tick's `Get queues` output (execution 70057) reduced to the fields the nodes read — once as captured and once with its done tasks dropped, and require the same dispatches, notices and ledger. On that board the pump dispatches `WR-89`, which is the ticket this work came from. ## Merge Danger **Door:** two-way The export is the only artefact; the live n8n copy is updated after the merge, and rolling back is a re-import of the previous export. **Blast Radius:** one workflow A done task that is still parked in Doing no longer counts toward an implementer's occupancy or a stale line. Today's six boards have none — the capture checks every bucket — but it is the one decision the filter can move, and it moves toward the truth. It is pinned in both directions: pump `§16` and notices `§10` run the same board whole and open-only and assert the gap is exactly that decision, with an open ticket beside it that must keep speaking. Follow-up, not in this change: the webhook path's `Get view tasks` reads one board per assignment and still fetches its done tasks.
ticket-dispatch: the pump and the sweep read open tasks only (WR-89)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 18s
pr-checks / protect-main (pull_request) Successful in 19s
12d689e5a7
Both timers opened every board with per_page=200 and took the done half with it:
6,171,536 bytes per pump tick at 16:30 on 6 November, measured at the proxy, of
which the pump uses To-Do and Doing and the sweep uses Doing alone.

The two read builders now send filter=done = false. Vikunja applies it to the
tasks of each bucket and still returns every bucket, so the Config's four names
keep resolving to their ids; the nodes read the same fields off the same
shapes, and the tests drive both code nodes over a captured board read with and
without its done tasks and require the same dispatches, notices and ledger.

What the API cannot cut is the fields: there is no sparse-field parameter
(fields= and select= are ignored, and description and related_tasks are filled
unconditionally), so the read stays a whole-task read per open task.
Member

Review started (round 1/5) on 12d689e5a7 — reading the diff now.

**Review started** (round 1/5) on 12d689e5a70060a405615664010c5024f9beb12e — reading the diff now.
bot-minos approved these changes 2026-11-06 15:37:32 +00:00
Dismissed
bot-minos left a comment

repo=olympus/workshop · PR #42 · head 12d689e5a7 · round 1/5 (the thread has no earlier review) · verdict: merge, no blocker

Recommendation: merge

Spec source: WR-89 (Vikunja project 5, index 89), its acceptance criteria and the triage Agent Brief in its comments, read live; the PR body and the ticket's handoff comment agree with each other. Standards source: AGENTS.md (§Decisions: org ADRs under docs/adr/ bind), docs/adr/0001–0012, README.md (§test commands). None of the ADRs speaks to a workflow-export read URL; ADR 0009 governs infra repos' deploys, and the publish-to-n8n step is outside this diff. Beyond those: the smell baseline of the code-review skill, judgement calls only.

Reviewed delta: git diff 7800152...12d689e (base main @ 7800152, one commit). Four files: the export (3 nodes), two test files, one new capture. Pump reads and Sweep urls change their URL; Build pump differs by comment lines only (identical once full-line // comments are stripped); every other node and all non-node keys of the export are identical (compared as JSON).

Spec

One ADVISORY, no BLOCKER.

  1. ADVISORY — the one decision the filter can move has no test. ticket-dispatch/tests/pump.test.js:497-527 and ticket-dispatch/tests/notices.test.js:170-211. The PR body (Merge Danger → Blast Radius) says a done task still parked in Doing/To-Do "no longer counts toward an implementer's occupancy or a stale line", and calls it "the one decision the filter can move". The capture has none (checked: 0 done tasks outside a Done bucket, 0 open tasks in a Done bucket), so both new sections compare two runs that cannot differ. They are not vacuous (I drove section 14: the pump dispatches WR-89 and posts one queue line, and section 8 finds the one Doing ticket), but they pin "no change where the filter has nothing to move", and the changed behaviour itself is argued in prose only. The criterion "identical decisions" is met on this board. Clearing it: one case in each suite that parks a done task in Doing (and one in To-Do with a dispatched entry) and asserts the whole-board read and the open-only read differ in exactly the documented way.

Criteria against the ticket:

Criterion (WR-89) State Evidence
Read URLs exclude done tasks met Pump reads and Sweep urls build …/buckets/tasks?filter=done%20%3D%20false&per_page=200; hooks_url unchanged. New checks are red on the base export, green at head (below).
Bytes per run, before and after before met; after is a projection, named as one Sum recounted: 932,884 + 993,075 + 1,629,021 + 617,419 + 625,581 + 1,373,556 = 6,171,536, as stated. The 864,444 figure is the author's own projection; see "What I could not verify".
Code nodes run against a captured read, identical decisions met on the board captured see finding 1 above for the limit
Published; activeVersion.sameAsDraft; next sweep succeeds pending the merge disclosed by the author; not a defect of this diff

Standards

standards: no rule of the repo is broken. One baseline smell, a judgement call.

  1. ADVISORY (judgement call: possible Duplicated Code) — ticket-dispatch/tests/pump.test.js:505-509 and ticket-dispatch/tests/notices.test.js:177-188. The capture loader and the openOnly bucket filter are written twice, line for line. ticket-dispatch/tests/harness.js is already the file both suites share. Nothing repo-written requires it; it is advice to move them there.

What I verified, by my own hand

Claim How Result
Suites green at head mise exec -- on gate, pump, notices, provision-buckets, parse, decide, make docs-check 75/75, 73/73, 24/24, 50, 12/12, 95/95, 3 assertions. CI by SHA: both pr-checks contexts success.
New checks fail on the old export pump and notices suites run with the base export as argv 71/73 (2 red: both pump URL checks) and 23/24 (1 red: the sweep URL check)
The sweep check guards the sweep node mutation: only Sweep urls reverted to the unfiltered URL notices 23/24, red
The capture decides something scratch copy of pump.test.js printing section 14's output 1 dispatch (WR-89), 1 notice, 1 ledger entry
Capture hygiene key census, grep for tokens/secrets/mail addresses task fields only; the grep hits are ticket titles that contain the word "secret"/"token", no value
The filter keeps every bucket live GET, read-only, on the v1 kanban read /api/v1/projects/<p>/views/<v>/tasks?filter=done%20%3D%20false&per_page=200 (same bucket model the PR cites), projects 5/20, 3/12, 4/16 4 buckets either way, empty ones kept (Doing:0); done tasks 50→0, 37→0, 47→0; bytes 2,038,512→235,112 (12%), 1,201,499→73,058 (6%), 1,257,941→103,009 (8%)

What I could not verify

  • The v2 route itself. /api/v2/projects/<p>/views/<v>/buckets/tasks?filter=… answers 401 to the token this machine holds, as it did for the author, before and after the filter. The v1 read above corroborates the bucket-retention claim and the size drop, but it is not the route the nodes call. If v2 rejected filter (a 4xx), Get queues would fail the pump. The ticket's own fourth criterion (next real run after publishing succeeds) is the check that closes this; the door is two-way (re-import of the previous export).
  • "fields=/select= are ignored on v2.7.0; expand=none is a 422" — same route, same reason. I take it as the author's, uncharged.

Named, not charged

  • The PR body says the new checks are "red on exactly the two URL checks"; the base run shows three red checks (two in the pump suite, one in the sweep suite), all URL checks. The 71/73 and 23/24 figures are right and reproduced. Prose slip only.
  • Fields are not trimmed (ticket asks for "only the fields"): the author states why (no sparse-field parameter on v2.7.0) and quantifies what remains (864,444 projected bytes). A disclosed deferral, not charged.
  • The webhook path's Get view tasks still reads whole boards: the author names it as a follow-up outside this change.
  • docs/postmortems/2026-11-05-n8n-disk-full.md still describes the whole-board read; it is a record of a past incident and is rightly untouched.
  • The ticket-dispatch suites are not wired into pr-checks (pre-existing; not this diff's).

Summary

Axis Findings BLOCKER ADVISORY Worst
Standards 1 0 1 Duplicated test helper in two suites (judgement call)
Spec 1 0 1 The one decision the filter can move is argued, not tested

Two advisories: under the three-advisory line, so the recommendation is merge and the advisories travel as advice. Verdict: no blocker.

<!-- minos review-loop: repo=olympus/workshop pr=42 head=12d689e5a70060a405615664010c5024f9beb12e round=1/5 axes=standards,spec --> repo=olympus/workshop · PR #42 · head 12d689e5a70060a405615664010c5024f9beb12e · round 1/5 (the thread has no earlier review) · verdict: merge, no blocker Recommendation: merge **Spec source:** WR-89 (Vikunja project 5, index 89), its acceptance criteria and the triage Agent Brief in its comments, read live; the PR body and the ticket's handoff comment agree with each other. **Standards source:** `AGENTS.md` (§Decisions: org ADRs under `docs/adr/` bind), `docs/adr/0001–0012`, `README.md` (§test commands). None of the ADRs speaks to a workflow-export read URL; ADR 0009 governs infra repos' deploys, and the publish-to-n8n step is outside this diff. Beyond those: the smell baseline of the `code-review` skill, judgement calls only. **Reviewed delta:** `git diff 7800152...12d689e` (base `main` @ 7800152, one commit). Four files: the export (3 nodes), two test files, one new capture. `Pump reads` and `Sweep urls` change their URL; `Build pump` differs by comment lines only (identical once full-line `//` comments are stripped); every other node and all non-node keys of the export are identical (compared as JSON). ## Spec One ADVISORY, no BLOCKER. 1. **ADVISORY — the one decision the filter can move has no test.** `ticket-dispatch/tests/pump.test.js:497-527` and `ticket-dispatch/tests/notices.test.js:170-211`. The PR body (Merge Danger → Blast Radius) says a done task still parked in Doing/To-Do "no longer counts toward an implementer's occupancy or a stale line", and calls it "the one decision the filter can move". The capture has none (checked: 0 done tasks outside a Done bucket, 0 open tasks in a Done bucket), so both new sections compare two runs that cannot differ. They are not vacuous (I drove section 14: the pump dispatches `WR-89` and posts one queue line, and section 8 finds the one Doing ticket), but they pin "no change where the filter has nothing to move", and the changed behaviour itself is argued in prose only. The criterion "identical decisions" is met on this board. Clearing it: one case in each suite that parks a done task in Doing (and one in To-Do with a dispatched entry) and asserts the whole-board read and the open-only read differ in exactly the documented way. Criteria against the ticket: | Criterion (WR-89) | State | Evidence | | --- | --- | --- | | Read URLs exclude done tasks | met | `Pump reads` and `Sweep urls` build `…/buckets/tasks?filter=done%20%3D%20false&per_page=200`; `hooks_url` unchanged. New checks are red on the base export, green at head (below). | | Bytes per run, before and after | before met; after is a projection, named as one | Sum recounted: 932,884 + 993,075 + 1,629,021 + 617,419 + 625,581 + 1,373,556 = 6,171,536, as stated. The 864,444 figure is the author's own projection; see "What I could not verify". | | Code nodes run against a captured read, identical decisions | met on the board captured | see finding 1 above for the limit | | Published; `activeVersion.sameAsDraft`; next sweep succeeds | pending the merge | disclosed by the author; not a defect of this diff | ## Standards standards: no rule of the repo is broken. One baseline smell, a judgement call. 1. **ADVISORY (judgement call: possible Duplicated Code)** — `ticket-dispatch/tests/pump.test.js:505-509` and `ticket-dispatch/tests/notices.test.js:177-188`. The capture loader and the `openOnly` bucket filter are written twice, line for line. `ticket-dispatch/tests/harness.js` is already the file both suites share. Nothing repo-written requires it; it is advice to move them there. ## What I verified, by my own hand | Claim | How | Result | | --- | --- | --- | | Suites green at head | `mise exec --` on gate, pump, notices, provision-buckets, parse, decide, `make docs-check` | 75/75, 73/73, 24/24, 50, 12/12, 95/95, 3 assertions. CI by SHA: both `pr-checks` contexts `success`. | | New checks fail on the old export | pump and notices suites run with the base export as argv | 71/73 (2 red: both pump URL checks) and 23/24 (1 red: the sweep URL check) | | The sweep check guards the sweep node | mutation: only `Sweep urls` reverted to the unfiltered URL | notices 23/24, red | | The capture decides something | scratch copy of `pump.test.js` printing section 14's output | 1 dispatch (`WR-89`), 1 notice, 1 ledger entry | | Capture hygiene | key census, grep for tokens/secrets/mail addresses | task fields only; the grep hits are ticket titles that contain the word "secret"/"token", no value | | The filter keeps every bucket | live GET, read-only, on the v1 kanban read `/api/v1/projects/<p>/views/<v>/tasks?filter=done%20%3D%20false&per_page=200` (same bucket model the PR cites), projects 5/20, 3/12, 4/16 | 4 buckets either way, empty ones kept (`Doing:0`); done tasks 50→0, 37→0, 47→0; bytes 2,038,512→235,112 (12%), 1,201,499→73,058 (6%), 1,257,941→103,009 (8%) | ## What I could not verify - **The v2 route itself.** `/api/v2/projects/<p>/views/<v>/buckets/tasks?filter=…` answers 401 to the token this machine holds, as it did for the author, before and after the filter. The v1 read above corroborates the bucket-retention claim and the size drop, but it is not the route the nodes call. If v2 rejected `filter` (a 4xx), `Get queues` would fail the pump. The ticket's own fourth criterion (next real run after publishing succeeds) is the check that closes this; the door is two-way (re-import of the previous export). - **"`fields=`/`select=` are ignored on v2.7.0; `expand=none` is a 422"** — same route, same reason. I take it as the author's, uncharged. ## Named, not charged - The PR body says the new checks are "red on exactly the two URL checks"; the base run shows three red checks (two in the pump suite, one in the sweep suite), all URL checks. The 71/73 and 23/24 figures are right and reproduced. Prose slip only. - Fields are not trimmed (ticket asks for "only the fields"): the author states why (no sparse-field parameter on v2.7.0) and quantifies what remains (864,444 projected bytes). A disclosed deferral, not charged. - The webhook path's `Get view tasks` still reads whole boards: the author names it as a follow-up outside this change. - `docs/postmortems/2026-11-05-n8n-disk-full.md` still describes the whole-board read; it is a record of a past incident and is rightly untouched. - The ticket-dispatch suites are not wired into `pr-checks` (pre-existing; not this diff's). ## Summary | Axis | Findings | BLOCKER | ADVISORY | Worst | | --- | --- | --- | --- | --- | | Standards | 1 | 0 | 1 | Duplicated test helper in two suites (judgement call) | | Spec | 1 | 0 | 1 | The one decision the filter can move is argued, not tested | Two advisories: under the three-advisory line, so the recommendation is merge and the advisories travel as advice. Verdict: no blocker.
Owner

Fix advisories

Fix advisories
Author
Member

Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
Both suites loaded the captured board read and wrote the same stand-in filter
beside it, line for line. Neither is a rule -- an n8n code node cannot import a
module, so the rules live in the export -- so the wiring belongs in
tests/harness.js, which both suites already require for the gate.

The proof that the module is load-bearing is a mutation of the one filter:
openOnly handing back the tasks unchanged reds pump 74/77 (the filtered read
carries 18) and notices 26/28 (the open read speaks the finished ticket too).
Tallies do not move: the extraction adds no check.
ticket-dispatch: pin the one decision the filter can move (WR-89)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 11s
pr-checks / protect-main (pull_request) Successful in 19s
4f0f52faad
The filter's only consequence was argued in the PR body and tested nowhere: a
done ticket parked in Doing stops holding an implementer's session, and one
parked in To-Do with a dispatch still on the ledger ends its assignment instead
of being retired and requeued. The live capture carries no such ticket, so the
whole-board and open-only runs it compares could not differ.

Each suite now composes both reads over a board that has one, beside an open
ticket that must keep speaking, and asserts the gap is exactly that decision and
nothing else: the whole board frees no session and speaks the requeue, the
open-only read frees the session and drops the entry silently; the sweep speaks
the finished ticket's stale line on the whole board and only the live one's on
the open read, with the heartbeat's occupancy moving to match.

A guard on what the read is responsible for, so it is proved by a
plausible-wrong variant rather than by the previous export: a client-side
`t.done` skip in Build pump's occupancy loop reds "a finished ticket in Doing
spends the session on the whole-board read" (76/77), the same skip in its retire
branch reds the requeue check (76/77), and one in Sweep plan's Doing index reds
both of section 9's whole-board checks (26/28). pump 73 -> 77, notices 24 -> 28.
bot-efesto dismissed bot-minos's review 2026-11-06 15:45:12 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Author
Member

Round 1/5 — both advisories taken; no blocker was filed. Head is now 4f0f52f (was 12d689e). State label review/needs-fix → review/needs-review. Nothing disagreed with: I could not reproduce a reason to leave either finding standing.

Minos's review is a merge recommendation with two advisories (Spec 1, Standards 1). Mapping:

Finding Commit What changed
Spec advisory — "the one decision the filter can move has no test" 4f0f52f one case in each suite parking a done ticket where the filter can move it, asserting the whole-board and open-only reads differ in exactly the documented way
Standards advisory — capture loader and openOnly written twice, line for line 1aa366c both moved to ticket-dispatch/tests/harness.js, the file both suites already require for the gate

What the Spec case pins

pump.test.js §15, both halves of the Blast Radius sentence, over the pump's code node:

  • a done ticket in Doing holds the implementer's only session on the whole-board read (0 dispatches, counts.running 1) and frees it on the open-only read (WR-90 dispatched, counts.running 0);
  • a done ticket in To-Do with a dispatch still on the ledger is retired and requeued on the whole-board read (WR-92 ✗ dispatch produced no start — bot-efesto, 15 min in To-Do. Requeued (attempt 2/3)) and, on the open-only read, the entry is dropped silently (tasks['92'] gone, no notice).

notices.test.js §9, the same decision at the sweep: with a done ticket and a live one both in Doing, 62 minutes past dispatch, the whole-board read speaks both stale lines and writes counts = {waiting: 0, running: 2, stale: 2}; the open-only read speaks only the live one's and writes {waiting: 0, running: 1, stale: 1}. The live line surviving is the guard half — the filter must not silence the line it exists to keep.

The red proof is a plausible-wrong variant, not the base export

The new case is a guard on "the read is where this decision lives", so the base export does not red it. I measured that instead of asserting it — the branch's full suites against origin/main's export:

mise exec -- node ticket-dispatch/tests/pump.test.js <7800152 export>     75/77 checks passed
  FAIL  the read filters out done tasks  -> "…/buckets/tasks?per_page=200"
  FAIL  ...and no read asks for a whole board  -> false
mise exec -- node ticket-dispatch/tests/notices.test.js <7800152 export>  27/28 checks passed
  FAIL  the sweep read filters out done tasks  -> "…/buckets/tasks?per_page=200"

§15 and §9 stay green there — guards, not proof of the URL. What reds them is the mistake they exist to catch, compensating client-side for what the read already does. Each variant is the head export with one line changed, driven through the suite's own argv[2]:

Variant (one line, in the head export) Suite Failing line
Build pump: occupancy loop also counts done tickets (if (t.done !== true && …doingId)) pump FAIL a finished ticket in Doing spends the session on the whole-board read -> [1,1] (want [0,1]) — 76/77
Build pump: retire treats a done To-Do ticket as gone (here.t.done === true in the !here test) pump FAIL a finished ticket in To-Do with a dispatch on the ledger is retired and requeued -> [] — 76/77
Sweep plan: Doing index skips done tickets notices FAIL the whole-board read makes the finished ticket stale… -> [WR-84 only] and FAIL …the heartbeat counts both as running — 26/28

The extraction is load-bearing in both suites

One mutation of the shared helper — openOnly handing the tasks back unchanged — reds both suites, so neither bypasses the module: pump 74/77 (FAIL the filtered read carries none -> 18) and notices 26/28 (FAIL the open-only read keeps the live line and drops the finished one). Tallies do not move on the extraction itself; it adds no check.

Verification at 4f0f52f

python3 nas-disk-report/tests/scan.test.py        24 passed, 0 failed
python3 nas-disk-report/tests/render.test.py      141 passed, 0 failed
node pr-review-loop/tests/decide.test.js          95/95 checks passed
node pr-review-loop/tests/parse.test.js           12/12 checks passed
scripts/tests/protect-main.test.sh                all 131 checks pass
scripts/tests/onboard-repo.test.sh                all 41 checks pass
node ticket-dispatch/tests/gate.test.js           75/75 checks passed
node ticket-dispatch/tests/pump.test.js           77/77 checks passed   (was 73)
node ticket-dispatch/tests/notices.test.js        28/28 checks passed   (was 24)
ticket-dispatch/tests/provision-buckets.test.sh   all 50 checks pass
mise exec -- make docs-check                      all 3 assertions hold

All through mise exec --, each run unpiped and rc=0. The branch's delta is +4 checks per suite, quoted above beside the red proof for each.

CI at the new head, run #57:

Context State Duration
pr-checks / protect-main (pull_request) success 19s
pr-checks / loop-decide (pull_request) success 11s

The three ticket-dispatch suites are not wired into pr-checks (pre-existing, unchanged by this round), so the tallies above are the record for them.

Left alone, and edits outside the commits

  • Nothing disagreed with. Both advisories are fixed, none declined.
  • Named-not-charged, left as they are: the fields=/select=/expand=none claim on v2 (unverifiable from here, and it is the author's, uncharged) and the webhook path's Get view tasks (a stated follow-up). No blocker was filed on either.
  • Body edit (no commit, so the head sha will not show it): the Evidence bullet's tallies now read pump 75/77 / notices 27/28 before and 77/77 / 28/28 after, since this round moved both. In the same bullet, the slip you named — "red on exactly the two URL checks" — now reads three, two in the pump suite and one in the sweep suite. Blast Radius gained one sentence saying the decision is pinned in both suites. Read back byte-for-byte after the PATCH.
  • Tracker record: the WR-89 handoff comment (task 294, comment 388) restated the old tallies and "one commit"; corrected in place and read back. Neither that nor the body edit appears in the head sha.
**Round 1/5 — both advisories taken; no blocker was filed.** Head is now `4f0f52f` (was `12d689e`). State label `review/needs-fix` → `review/needs-review`. Nothing disagreed with: I could not reproduce a reason to leave either finding standing. Minos's review is a merge recommendation with two advisories (Spec 1, Standards 1). Mapping: | Finding | Commit | What changed | | --- | --- | --- | | **Spec advisory** — "the one decision the filter can move has no test" | `4f0f52f` | one case in each suite parking a done ticket where the filter can move it, asserting the whole-board and open-only reads differ in exactly the documented way | | **Standards advisory** — capture loader and `openOnly` written twice, line for line | `1aa366c` | both moved to `ticket-dispatch/tests/harness.js`, the file both suites already require for the gate | ## What the Spec case pins `pump.test.js` §15, both halves of the Blast Radius sentence, over the pump's code node: - a done ticket in **Doing** holds the implementer's only session on the whole-board read (0 dispatches, `counts.running` 1) and frees it on the open-only read (`WR-90` dispatched, `counts.running` 0); - a done ticket in **To-Do** with a dispatch still on the ledger is retired and requeued on the whole-board read (`WR-92 ✗ dispatch produced no start — bot-efesto, 15 min in To-Do. Requeued (attempt 2/3)`) and, on the open-only read, the entry is dropped silently (`tasks['92']` gone, no notice). `notices.test.js` §9, the same decision at the sweep: with a done ticket and a live one both in Doing, 62 minutes past dispatch, the whole-board read speaks both stale lines and writes `counts = {waiting: 0, running: 2, stale: 2}`; the open-only read speaks only the live one's and writes `{waiting: 0, running: 1, stale: 1}`. The live line surviving is the guard half — the filter must not silence the line it exists to keep. ## The red proof is a plausible-wrong variant, not the base export The new case is a guard on "the read is where this decision lives", so the base export does not red it. I measured that instead of asserting it — the branch's full suites against `origin/main`'s export: ``` mise exec -- node ticket-dispatch/tests/pump.test.js <7800152 export> 75/77 checks passed FAIL the read filters out done tasks -> "…/buckets/tasks?per_page=200" FAIL ...and no read asks for a whole board -> false mise exec -- node ticket-dispatch/tests/notices.test.js <7800152 export> 27/28 checks passed FAIL the sweep read filters out done tasks -> "…/buckets/tasks?per_page=200" ``` §15 and §9 stay green there — guards, not proof of the URL. What reds them is the mistake they exist to catch, compensating client-side for what the read already does. Each variant is the head export with one line changed, driven through the suite's own `argv[2]`: | Variant (one line, in the head export) | Suite | Failing line | | --- | --- | --- | | `Build pump`: occupancy loop also counts done tickets (`if (t.done !== true && …doingId)`) | pump | `FAIL a finished ticket in Doing spends the session on the whole-board read -> [1,1] (want [0,1])` — **76/77** | | `Build pump`: retire treats a done To-Do ticket as gone (`here.t.done === true` in the `!here` test) | pump | `FAIL a finished ticket in To-Do with a dispatch on the ledger is retired and requeued -> []` — **76/77** | | `Sweep plan`: Doing index skips done tickets | notices | `FAIL the whole-board read makes the finished ticket stale… -> [WR-84 only]` and `FAIL …the heartbeat counts both as running` — **26/28** | ## The extraction is load-bearing in both suites One mutation of the shared helper — `openOnly` handing the tasks back unchanged — reds both suites, so neither bypasses the module: pump **74/77** (`FAIL the filtered read carries none -> 18`) and notices **26/28** (`FAIL the open-only read keeps the live line and drops the finished one`). Tallies do not move on the extraction itself; it adds no check. ## Verification at `4f0f52f` ``` python3 nas-disk-report/tests/scan.test.py 24 passed, 0 failed python3 nas-disk-report/tests/render.test.py 141 passed, 0 failed node pr-review-loop/tests/decide.test.js 95/95 checks passed node pr-review-loop/tests/parse.test.js 12/12 checks passed scripts/tests/protect-main.test.sh all 131 checks pass scripts/tests/onboard-repo.test.sh all 41 checks pass node ticket-dispatch/tests/gate.test.js 75/75 checks passed node ticket-dispatch/tests/pump.test.js 77/77 checks passed (was 73) node ticket-dispatch/tests/notices.test.js 28/28 checks passed (was 24) ticket-dispatch/tests/provision-buckets.test.sh all 50 checks pass mise exec -- make docs-check all 3 assertions hold ``` All through `mise exec --`, each run unpiped and `rc=0`. The branch's delta is +4 checks per suite, quoted above beside the red proof for each. CI at the new head, run [#57](https://forgejo.thepit.space/olympus/workshop/actions/runs/57): | Context | State | Duration | | --- | --- | --- | | `pr-checks / protect-main (pull_request)` | `success` | 19s | | `pr-checks / loop-decide (pull_request)` | `success` | 11s | The three `ticket-dispatch` suites are not wired into `pr-checks` (pre-existing, unchanged by this round), so the tallies above are the record for them. ## Left alone, and edits outside the commits - **Nothing disagreed with.** Both advisories are fixed, none declined. - **Named-not-charged, left as they are:** the `fields=`/`select=`/`expand=none` claim on v2 (unverifiable from here, and it is the author's, uncharged) and the webhook path's `Get view tasks` (a stated follow-up). No blocker was filed on either. - **Body edit** (no commit, so the head sha will not show it): the Evidence bullet's tallies now read pump `75/77` / notices `27/28` before and `77/77` / `28/28` after, since this round moved both. In the same bullet, the slip you named — "red on exactly the two URL checks" — now reads three, two in the pump suite and one in the sweep suite. Blast Radius gained one sentence saying the decision is pinned in both suites. Read back byte-for-byte after the `PATCH`. - **Tracker record:** the WR-89 handoff comment (task 294, comment 388) restated the old tallies and "one commit"; corrected in place and read back. Neither that nor the body edit appears in the head sha.
Owner

Loop stopped — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.

**Loop stopped** — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.
Member

Review started (round 1/5) on 4f0f52faad — reading the diff now.

**Review started** (round 1/5) on 4f0f52faad36aea34c0c4391f8eab22ddc78492e — reading the diff now.
bot-minos approved these changes 2026-11-06 16:13:45 +00:00
Dismissed
bot-minos left a comment

repo=olympus/workshop · PR #42 · head 4f0f52faad · round 2/5 · verdict: merge, no blocker, no advisory

The dispatch said round 1/5. The thread already holds my review 434 (head 12d689e, APPROVED, since dismissed as stale by the push), so this is round 2 and the header counts it so. The 1/5 is the dispatch counter, which restarted when the review/* label was moved by hand.

Recommendation: merge

Spec source: WR-89 (Vikunja project 5, index 89), read live: its acceptance criteria and the triage Agent Brief in its comments. The Operator's PR comment "Fix advisories" governs this round's scope. Standards source: AGENTS.md (§Decisions: org ADRs under docs/adr/ bind), README.md (§test commands). None speaks to a test helper's location. Beyond those: the smell baseline of the code-review skill, judgement calls only.

Fixed point: 12d689e (the head my review 434 examined). git merge-base --is-ancestor 12d689e 4f0f52f is true, so the fixer stacked and the round's delta is git diff 12d689e 4f0f52f: three files, ticket-dispatch/tests/harness.js, notices.test.js, pump.test.js, +130 −25. No base merge (origin/main is still 7800152, an ancestor of head). The export (ticket-dispatch/workflows/vikunja-ticket-dispatch.json) and the capture (test-payloads/board-read-2026-11-06.json) are byte-identical to what I reviewed: empty git diff --stat over both paths. Nothing the delta touches can change what the workflow does.

Round 1 findings, re-driven

Prior finding State Resolved at Evidence
Spec ADVISORY: the one decision the filter can move has no test resolved 4f0f52f pump.test.js:527-573 (§15), notices.test.js:210-245 (§9). Both halves of the Blast Radius sentence are now cases. Red/green below.
Standards ADVISORY (possible Duplicated Code): capture loader and openOnly written twice resolved 1aa366c harness.js:47 boardRead(), harness.js:56 openOnly(), exported at harness.js:62. Both suites import them (pump.test.js:16, notices.test.js:8). Census of the tests dir: one definition of openOnly, one reader of the capture.

Spec

No findings.

The new cases are not vacuous. I drove them as a red/green pair. Each variant is the head export with one line changed, run through the suite's own copy of the tree:

Variant (one line) Suite result Failing check
Build pump: occupancy loop skips done tickets client-side pump 76/77 a finished ticket in Doing spends the session on the whole-board read -> [1,1] (want [0,1])
Build pump: retire loop treats a done To-Do ticket as gone pump 76/77 a finished ticket in To-Do with a dispatch on the ledger is retired and requeued -> []
Sweep plan: Doing index skips done tickets notices 26/28 the whole-board read makes the finished ticket stale… and …the heartbeat counts both as running
harness.openOnly hands the tasks back unchanged pump 74/77, notices 26/28 the filtered read carries none -> 18, the open-only read keeps the live line and drops the finished one, and three more
harness.openOnly drops emptied buckets (the server keeps them) pump 76/77 the dispatches do not move (§14 catches a stand-in that diverges from the server's shape)

Green at head: pump 77/77, notices 28/28. Against main's export (7800152) the same suites give 75/77 and 27/28, red on exactly the three URL checks, and §15 and §9 stay green there. They guard "the read is where this decision lives"; the URL checks prove the URL. The author says the same.

Tallies recounted: pump 73 → 77 and notices 24 → 28, +4 each, matching §15's four checks and §9's four. The PR body's "pump 75/77 and notices 27/28 before, 77/77 and 28/28 after" matches my runs, and "three" URL checks is now correct.

Criteria against WR-89, unchanged since round 1:

Criterion State
Read URLs exclude done tasks met (Pump reads, Sweep urls; hooks_url unchanged)
Bytes per run, before and after before met; after is the author's projection, named as one
Code nodes against a captured read, identical decisions met on the captured board; the decision that can move is now pinned both ways
Published; activeVersion.sameAsDraft; next sweep succeeds pending the merge, disclosed

Standards

No findings. standards: no repo rule is broken. Baseline smells in the delta: Duplicated Code is gone; harness.js now holds the stand-ins both suites share and its header says so (harness.js:1-5: no rule lives there, the stand-in is shared). boardRead() returns a fresh object per call, as harness.js:43-46 claims: I mutated one read and a second read was untouched.

What I verified, by my own hand

Claim How Result
Every suite green at head mise exec --, each unpiped, rc captured gate 75/75, pump 77/77, notices 28/28, provision-buckets 50, parse 12/12, decide 95/95, protect-main 131, onboard-repo 41, scan 24, render 141, make docs-check 3 assertions; all rc=0
CI by SHA get_commit_statuses at 4f0f52f pr-checks / protect-main and pr-checks / loop-decide: success (run 57)
Head is what was dispatched ls-remote refs/pull/42/head and the fetched ref both 4f0f52f…
Suites carry no state between runs, and run from any cwd pump twice in a row; notices from /tmp 77/77 twice; 28/28
Capture shape the helper comments claim jq per board 3 done tasks per board, all in Done buckets
Working tree clean git status --porcelain empty

What I could not verify

  • The v2 route itself. /api/v2/projects/<p>/views/<v>/buckets/tasks?filter=… still answers 401 to the token this machine holds (as it did for the author), so whether v2.7.0 honours filter on that route is the ticket's fourth criterion, closed by the first sweep after publishing. Unchanged from round 1 and not touched by this delta; the door is two-way.
  • The ticket handoff's "204 done tasks, all in their Done buckets". It is a count over the live execution 70057, which this host cannot read. The capture I can read shows 18 done tasks, all in Done buckets. Uncharged.

Named, not charged

  • The after figure (864,444 bytes) is a projection; disclosed, and the first post-publish sweep settles it.
  • The webhook path's Get view tasks still reads whole boards: the author names it as a follow-up outside this change.
  • The ticket-dispatch suites are not wired into pr-checks (pre-existing, not this diff's).
  • gate.test.js:91 still says the harness is "shared with pump.test.js"; it is also shared with notices now. True as written, so not a defect.

Summary

Axis Findings BLOCKER ADVISORY Worst
Standards 0 0 0 none
Spec 0 0 0 none

Both round 1 advisories are resolved at the commits cited above. Zero advisories, so the volume rule does not trip. Verdict: no blocker.

<!-- minos review-loop: repo=olympus/workshop pr=42 head=4f0f52faad36aea34c0c4391f8eab22ddc78492e round=2/5 axes=standards,spec --> repo=olympus/workshop · PR #42 · head 4f0f52faad36aea34c0c4391f8eab22ddc78492e · round 2/5 · verdict: merge, no blocker, no advisory The dispatch said `round 1/5`. The thread already holds my review 434 (head `12d689e`, APPROVED, since dismissed as stale by the push), so this is round 2 and the header counts it so. The `1/5` is the dispatch counter, which restarted when the `review/*` label was moved by hand. Recommendation: merge **Spec source:** WR-89 (Vikunja project 5, index 89), read live: its acceptance criteria and the triage Agent Brief in its comments. The Operator's PR comment "Fix advisories" governs this round's scope. **Standards source:** `AGENTS.md` (§Decisions: org ADRs under `docs/adr/` bind), `README.md` (§test commands). None speaks to a test helper's location. Beyond those: the smell baseline of the `code-review` skill, judgement calls only. **Fixed point:** `12d689e` (the head my review 434 examined). `git merge-base --is-ancestor 12d689e 4f0f52f` is true, so the fixer stacked and the round's delta is `git diff 12d689e 4f0f52f`: three files, `ticket-dispatch/tests/harness.js`, `notices.test.js`, `pump.test.js`, +130 −25. No base merge (`origin/main` is still `7800152`, an ancestor of head). The export (`ticket-dispatch/workflows/vikunja-ticket-dispatch.json`) and the capture (`test-payloads/board-read-2026-11-06.json`) are byte-identical to what I reviewed: empty `git diff --stat` over both paths. Nothing the delta touches can change what the workflow does. ## Round 1 findings, re-driven | Prior finding | State | Resolved at | Evidence | | --- | --- | --- | --- | | Spec ADVISORY: the one decision the filter can move has no test | resolved | `4f0f52f` | `pump.test.js:527-573` (§15), `notices.test.js:210-245` (§9). Both halves of the Blast Radius sentence are now cases. Red/green below. | | Standards ADVISORY (possible Duplicated Code): capture loader and `openOnly` written twice | resolved | `1aa366c` | `harness.js:47` `boardRead()`, `harness.js:56` `openOnly()`, exported at `harness.js:62`. Both suites import them (`pump.test.js:16`, `notices.test.js:8`). Census of the tests dir: one definition of `openOnly`, one reader of the capture. | ## Spec No findings. The new cases are not vacuous. I drove them as a red/green pair. Each variant is the head export with one line changed, run through the suite's own copy of the tree: | Variant (one line) | Suite result | Failing check | | --- | --- | --- | | `Build pump`: occupancy loop skips done tickets client-side | pump 76/77 | `a finished ticket in Doing spends the session on the whole-board read -> [1,1] (want [0,1])` | | `Build pump`: retire loop treats a done To-Do ticket as gone | pump 76/77 | `a finished ticket in To-Do with a dispatch on the ledger is retired and requeued -> []` | | `Sweep plan`: Doing index skips done tickets | notices 26/28 | `the whole-board read makes the finished ticket stale…` and `…the heartbeat counts both as running` | | `harness.openOnly` hands the tasks back unchanged | pump 74/77, notices 26/28 | `the filtered read carries none -> 18`, `the open-only read keeps the live line and drops the finished one`, and three more | | `harness.openOnly` drops emptied buckets (the server keeps them) | pump 76/77 | `the dispatches do not move` (§14 catches a stand-in that diverges from the server's shape) | Green at head: pump 77/77, notices 28/28. Against `main`'s export (`7800152`) the same suites give 75/77 and 27/28, red on exactly the three URL checks, and §15 and §9 stay green there. They guard "the read is where this decision lives"; the URL checks prove the URL. The author says the same. Tallies recounted: pump 73 → 77 and notices 24 → 28, +4 each, matching §15's four checks and §9's four. The PR body's "pump 75/77 and notices 27/28 before, 77/77 and 28/28 after" matches my runs, and "three" URL checks is now correct. Criteria against WR-89, unchanged since round 1: | Criterion | State | | --- | --- | | Read URLs exclude done tasks | met (`Pump reads`, `Sweep urls`; `hooks_url` unchanged) | | Bytes per run, before and after | before met; after is the author's projection, named as one | | Code nodes against a captured read, identical decisions | met on the captured board; the decision that can move is now pinned both ways | | Published; `activeVersion.sameAsDraft`; next sweep succeeds | pending the merge, disclosed | ## Standards No findings. standards: no repo rule is broken. Baseline smells in the delta: Duplicated Code is gone; `harness.js` now holds the stand-ins both suites share and its header says so (`harness.js:1-5`: no rule lives there, the stand-in is shared). `boardRead()` returns a fresh object per call, as `harness.js:43-46` claims: I mutated one read and a second read was untouched. ## What I verified, by my own hand | Claim | How | Result | | --- | --- | --- | | Every suite green at head | `mise exec --`, each unpiped, rc captured | gate 75/75, pump 77/77, notices 28/28, provision-buckets 50, parse 12/12, decide 95/95, protect-main 131, onboard-repo 41, scan 24, render 141, `make docs-check` 3 assertions; all rc=0 | | CI by SHA | `get_commit_statuses` at `4f0f52f` | `pr-checks / protect-main` and `pr-checks / loop-decide`: success (run 57) | | Head is what was dispatched | `ls-remote refs/pull/42/head` and the fetched ref | both `4f0f52f…` | | Suites carry no state between runs, and run from any cwd | pump twice in a row; notices from `/tmp` | 77/77 twice; 28/28 | | Capture shape the helper comments claim | jq per board | 3 done tasks per board, all in Done buckets | | Working tree clean | `git status --porcelain` | empty | ## What I could not verify - **The v2 route itself.** `/api/v2/projects/<p>/views/<v>/buckets/tasks?filter=…` still answers 401 to the token this machine holds (as it did for the author), so whether v2.7.0 honours `filter` on that route is the ticket's fourth criterion, closed by the first sweep after publishing. Unchanged from round 1 and not touched by this delta; the door is two-way. - **The ticket handoff's "204 done tasks, all in their Done buckets".** It is a count over the live execution 70057, which this host cannot read. The capture I can read shows 18 done tasks, all in Done buckets. Uncharged. ## Named, not charged - The after figure (864,444 bytes) is a projection; disclosed, and the first post-publish sweep settles it. - The webhook path's `Get view tasks` still reads whole boards: the author names it as a follow-up outside this change. - The `ticket-dispatch` suites are not wired into `pr-checks` (pre-existing, not this diff's). - `gate.test.js:91` still says the harness is "shared with pump.test.js"; it is also shared with notices now. True as written, so not a defect. ## Summary | Axis | Findings | BLOCKER | ADVISORY | Worst | | --- | --- | --- | --- | --- | | Standards | 0 | 0 | 0 | none | | Spec | 0 | 0 | 0 | none | Both round 1 advisories are resolved at the commits cited above. Zero advisories, so the volume rule does not trip. Verdict: no blocker.
Owner

Fix merge conflicts

Fix merge conflicts
Author
Member

Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
main moved to 99d8fb3 (WR-91), which took the board reads off their literals and
onto Config's vikunja_api_origin / vikunja_link_origin. WR-89 changes the same two
URL builders, so the export and both suites conflicted on three nodes and two
section lists.

`Pump reads` and `Sweep urls` now read `apiOrigin` from Config (WR-91) and append
`filter=done = false&per_page=200` (WR-89): each side's reason kept, neither
literal reintroduced. `Build pump` takes WR-91's body -- CFG.linkOrigin on the
ledger entry -- with WR-89's comment on the `done` guard. Both suites keep WR-91's
"every address comes from Config" section, and WR-89's sections follow renumbered;
the two URL assertions that pinned a literal origin now build on the fixture's.

Suites: gate 79/79, pump 79/79, notices 30/30, provision-buckets 50/50.
notices: one stand-in for "Sweep urls", not one per section (WR-89)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 10s
pr-checks / protect-main (pull_request) Successful in 17s
78d7dec6d9
The merge left two sections driving that node, each building its own `$` stub with
its own Config fixture. One `runUrls(config)` beside `run()` and `runExit()` serves
both, so the next section that reads the node does not add a third.

No check moves: gate 79/79, pump 79/79, notices 30/30.
bot-efesto dismissed bot-minos's review 2026-11-06 16:22:53 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Merge origin/main into hermes/WR-89-the-dispatch-sweep-fetches-only-open-tas (WR-90)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 10s
pr-checks / protect-main (pull_request) Successful in 17s
a378bf13ea
main moved again mid-round, to 61cc3a2 (WR-90): the two bucket-task reads now carry
retryOnFail/3 tries and a 10 s timeout, and the repo gained retry.test.js with its
fake Vikunja. The merge is clean -- WR-90 touches the HTTP nodes' options and WR-89
the code nodes that build their URLs -- so nothing is resolved by hand here.

Suites at this merge: gate 79/79, pump 79/79, notices 30/30, retry 18/18,
provision-buckets 50/50.
Author
Member

Merge conflicts resolved — head is now a378bf1. No textual finding was open: Minos' round-2 review (436, on 4f0f52f) approved with zero blockers and zero advisories. The blocker on this round is the one the Operator filed — mergeable: false — because main moved twice under the branch after that review.

What changed

Commit What it is
dd96b6e Merge of origin/main 99d8fb3 (WR-91: Vikunja over its LAN origin) into the branch. Three conflicted files resolved by hand.
78d7dec notices.test.js: the two sections that drive Sweep urls share one runUrls(config) stand-in instead of each building its own.
a378bf1 Merge of origin/main 61cc3a2 (WR-90: retry under the tick). Clean — no resolution needed.

The conflict, node by node

Node / file WR-89 side WR-91 side Resolution at dd96b6e
Pump reads .../buckets/tasks?' + OPEN with filter=done = false apiOrigin + '/api/v2/projects/…?per_page=200' both: apiOrigin + '…/buckets/tasks?' + OPEN
Sweep urls queues_url gains the filter both URLs from apiOrigin both; hooks_url stays unfiltered
Build pump one comment on the done guard CFG.linkOrigin on the ledger entry WR-91's body, WR-89's comment
pump.test.js §13–15 (filter, capture, both-ways) §13 (addresses from Config) WR-91's §13 first, then WR-89's renumbered §14–16
notices.test.js §8–9 §8 (addresses from Config) same shape: WR-91's §8, WR-89's renumbered §9–10

Two assertions had to move with the merge rather than be kept: WR-91's two "addresses come from Config" checks expected ?per_page=200, and at this head the node also appends the filter — so both now expect ?filter=done%20%3D%20false&per_page=200. That is the two changes meeting, not either one being reverted. No openOnly, boardRead or decision-neutrality case was dropped.

Verification, run at a378bf1 with the tree clean

mise exec -- node ticket-dispatch/tests/gate.test.js              79/79 checks passed   rc=0
mise exec -- node ticket-dispatch/tests/pump.test.js              79/79 checks passed   rc=0
mise exec -- node ticket-dispatch/tests/notices.test.js           30/30 checks passed   rc=0
mise exec -- node ticket-dispatch/tests/retry.test.js             18/18 checks passed   rc=0
mise exec -- bash ticket-dispatch/tests/provision-buckets.test.sh  all 50 checks pass   rc=0
mise exec -- node pr-review-loop/tests/decide.test.js             95/95 checks passed   rc=0
mise exec -- node pr-review-loop/tests/parse.test.js              12/12 checks passed   rc=0
mise exec -- bash scripts/tests/protect-main.test.sh              all 131 checks pass   rc=0
mise exec -- bash scripts/tests/onboard-repo.test.sh              all 41 checks pass    rc=0
mise exec -- python3 nas-disk-report/tests/scan.test.py            24 passed, 0 failed  rc=0
mise exec -- python3 nas-disk-report/tests/render.test.py          141 passed, 0 failed rc=0
mise exec -- make docs-check                                       all 3 assertions hold rc=0

CI at a378bf1 (run 61):

Context State Duration
pr-checks / loop-decide (pull_request) success 10s
pr-checks / protect-main (pull_request) success 17s

The job log prints 95/95 checks passed and 12/12 checks passed in loop-decide, and all 131 checks pass in protect-main. The PR reads mergeable: true.

Not a commit, but part of this round

  • PR body edited — the Evidence bullet named the 4f0f52f tallies as the head's; it now carries three figures, each against its own sha (7800152 before, 4f0f52f after, a378bf1 at the head) and says WR-91's two checks per suite and WR-90's retry suite are why the head totals are higher. The Blast Radius paragraph's section numbers moved with the renumbering (pump §16, notices §10). Read back byte for byte.
  • WR-89 handoff comment edited in place (comment 388) — same tally block, plus the sentence that says why it moved.

Disagreed / left alone

Nothing. No finding was declined, and no behaviour outside the merge was touched: the diff against each parent is only the other parent's change plus the two URL assertions that had to state both.

**Merge conflicts resolved — head is now `a378bf1`.** No textual finding was open: Minos' round-2 review (`436`, on `4f0f52f`) approved with zero blockers and zero advisories. The blocker on this round is the one the Operator filed — `mergeable: false` — because `main` moved twice under the branch after that review. ## What changed | Commit | What it is | | --- | --- | | `dd96b6e` | Merge of `origin/main` `99d8fb3` (WR-91: Vikunja over its LAN origin) into the branch. Three conflicted files resolved by hand. | | `78d7dec` | `notices.test.js`: the two sections that drive `Sweep urls` share one `runUrls(config)` stand-in instead of each building its own. | | `a378bf1` | Merge of `origin/main` `61cc3a2` (WR-90: retry under the tick). Clean — no resolution needed. | ### The conflict, node by node | Node / file | WR-89 side | WR-91 side | Resolution at `dd96b6e` | | --- | --- | --- | --- | | `Pump reads` | `.../buckets/tasks?' + OPEN` with `filter=done = false` | `apiOrigin + '/api/v2/projects/…?per_page=200'` | both: `apiOrigin + '…/buckets/tasks?' + OPEN` | | `Sweep urls` | `queues_url` gains the filter | both URLs from `apiOrigin` | both; `hooks_url` stays unfiltered | | `Build pump` | one comment on the `done` guard | `CFG.linkOrigin` on the ledger entry | WR-91's body, WR-89's comment | | `pump.test.js` | §13–15 (filter, capture, both-ways) | §13 (addresses from Config) | WR-91's §13 first, then WR-89's renumbered §14–16 | | `notices.test.js` | §8–9 | §8 (addresses from Config) | same shape: WR-91's §8, WR-89's renumbered §9–10 | Two assertions had to move with the merge rather than be kept: WR-91's two "addresses come from Config" checks expected `?per_page=200`, and at this head the node also appends the filter — so both now expect `?filter=done%20%3D%20false&per_page=200`. That is the two changes meeting, not either one being reverted. No `openOnly`, `boardRead` or decision-neutrality case was dropped. ## Verification, run at `a378bf1` with the tree clean ``` mise exec -- node ticket-dispatch/tests/gate.test.js 79/79 checks passed rc=0 mise exec -- node ticket-dispatch/tests/pump.test.js 79/79 checks passed rc=0 mise exec -- node ticket-dispatch/tests/notices.test.js 30/30 checks passed rc=0 mise exec -- node ticket-dispatch/tests/retry.test.js 18/18 checks passed rc=0 mise exec -- bash ticket-dispatch/tests/provision-buckets.test.sh all 50 checks pass rc=0 mise exec -- node pr-review-loop/tests/decide.test.js 95/95 checks passed rc=0 mise exec -- node pr-review-loop/tests/parse.test.js 12/12 checks passed rc=0 mise exec -- bash scripts/tests/protect-main.test.sh all 131 checks pass rc=0 mise exec -- bash scripts/tests/onboard-repo.test.sh all 41 checks pass rc=0 mise exec -- python3 nas-disk-report/tests/scan.test.py 24 passed, 0 failed rc=0 mise exec -- python3 nas-disk-report/tests/render.test.py 141 passed, 0 failed rc=0 mise exec -- make docs-check all 3 assertions hold rc=0 ``` CI at `a378bf1` (run [61](https://forgejo.thepit.space/olympus/workshop/actions/runs/61)): | Context | State | Duration | | --- | --- | --- | | `pr-checks / loop-decide (pull_request)` | success | 10s | | `pr-checks / protect-main (pull_request)` | success | 17s | The job log prints `95/95 checks passed` and `12/12 checks passed` in `loop-decide`, and `all 131 checks pass` in `protect-main`. The PR reads `mergeable: true`. ## Not a commit, but part of this round - **PR body edited** — the Evidence bullet named the `4f0f52f` tallies as the head's; it now carries three figures, each against its own sha (`7800152` before, `4f0f52f` after, `a378bf1` at the head) and says WR-91's two checks per suite and WR-90's `retry` suite are why the head totals are higher. The Blast Radius paragraph's section numbers moved with the renumbering (`pump §16`, `notices §10`). Read back byte for byte. - **WR-89 handoff comment edited in place** (comment `388`) — same tally block, plus the sentence that says why it moved. ## Disagreed / left alone Nothing. No finding was declined, and no behaviour outside the merge was touched: the diff against each parent is only the other parent's change plus the two URL assertions that had to state both.
Member

Review started (round 1/5) on a378bf13ea — reading the diff now.

**Review started** (round 1/5) on a378bf13eaab4dcf58ddfae7bb5fce57f39925ce — reading the diff now.
bot-minos approved these changes 2026-11-06 16:28:57 +00:00
bot-minos left a comment

repo=olympus/workshop · PR #42 · head a378bf13ea · round 3/5 · verdict: merge, no blocker, no advisory

The dispatch said round 1/5. The thread already holds two of my reviews (434 on 12d689e, 436 on 4f0f52f, both APPROVED and since dismissed as stale by the pushes), so this is round 3 and the header counts it so. The 1/5 is the dispatch counter, which restarted when the review/* label was moved by hand.

Recommendation: merge

Spec source: WR-89 (Vikunja project 5, index 89), read live: its four acceptance criteria and the triage Agent Brief in its comments. The PR body cites it and agrees with it. Standards source: AGENTS.md (§Decisions: org ADRs under docs/adr/ bind; none speaks to a workflow-export read URL or a test helper), README.md. Beyond those: the smell baseline of the code-review skill, judgement calls only.

Fixed point: 4f0f52f, the head my review 436 approved. git merge-base --is-ancestor 4f0f52f a378bf1 is true, so the fixer stacked. The round's delta is two merges of main and one commit, which is exactly the Operator's "Fix merge conflicts":

Commit What it is Whose change it is
dd96b6e merge of main @ 99d8fb3 (WR-91, LAN origin); three files resolved by hand the round's own: the resolution
78d7dec notices.test.js: one runUrls(config) stand-in for the two sections that drive Sweep urls the round's own: test-only
a378bf1 merge of main @ 61cc3a2 (WR-90, retry under the tick); clean the base's: its files (retry.test.js, fake-vikunja.py, README.md, the retry keys on the two HTTP nodes) are WR-90's to answer for

Round 2 left no finding, so there is nothing to re-drive; the work is to prove the merge kept both sides.

Spec

No findings.

The export against main @ 61cc3a2, compared as JSON: exactly three nodes differ, Pump reads, Build pump, Sweep urls. The node count is 43/43 and every non-node key hashes the same. Build pump is identical once full-line // comments are stripped. hooks_url is still the unfiltered /api/v1/.../webhooks. WR-91's apiOrigin and WR-90's retryOnFail/maxTries/timeout keys sit on the nodes untouched by this PR, so neither side of the merge was lost.

The resolution is proved per node as a red/green pair, run after the merge (head export with one read reverted, the suites driven through argv[2]):

Variant Suite Result
head export (control) pump / notices 79/79 / 30/30
Pump reads URL back to ?per_page=200 pump 76/79: the pump reads each board on Config's API origin, the read filters out done tasks, ...and no read asks for a whole board; notices stays 30/30
Sweep urls queues_url back to ?per_page=200 notices 28/30: the sweep's reads are addressed from Config's API origin, the sweep read filters out done tasks; pump stays 79/79
main's export pump / notices 76/79 / 28/30

Each node's check reds on its own node and not on the other. The two WR-91 "addresses come from Config" assertions that had to move (pump.test.js:487, notices.test.js:182) now expect the origin and the filter, and they still red when either is lost. The origin half of them is unchanged, so WR-91's pin survives.

Nothing of main's tests was dropped: of the 21 lines the PR removes from harness.js, pump.test.js and notices.test.js against main, all are WR-89's own edits (the old URL strings, the per-section $ stand-ins, the driveGate-only export). §14–§16 in the pump suite and §9–§10 in the notices suite are the renumbered WR-89 sections; the cross-reference in pump.test.js §16 ("section 15") follows the renumbering.

Criteria against WR-89, unchanged since round 2:

Criterion State
Read URLs exclude done tasks met: Pump reads and Sweep urls carry filter=done%20%3D%20false, composed from the Config origin
Bytes per run, before and after before met; the after figure is the author's projection, named as one
Code nodes against a captured read, identical decisions met on the captured board; the decision the filter can move is pinned both ways (pump §16, notices §10)
Published; activeVersion.sameAsDraft; next sweep succeeds pending the merge, disclosed

Standards

No findings. standards: no repo rule is broken. Baseline smells in the delta: none. 78d7dec removes a duplication rather than adding one: runUrls replaces two inline copies of the same stand-in, as the smell baseline's Duplicated Code would ask.

What I verified, by my own hand

Claim How Result
Head is what was dispatched git ls-remote origin refs/pull/42/head, at fetch and again before posting a378bf13… both times
Every suite green at head mise exec --, each unpiped with rc captured, worktree at a378bf1 gate 79/79, pump 79/79, notices 30/30, retry 18/18, provision-buckets 50, decide 95/95, parse 12/12, protect-main 131, onboard-repo 41, scan 24, render 141, make docs-check 3 assertions; all rc=0
The body's tallies recounted against the runs the head figures match; pump and notices are two above 4f0f52f's 77 and 28 (WR-91 added two to each), and retry is WR-90's
CI by SHA commits/a378bf1…/status pr-checks / loop-decide and pr-checks / protect-main: success
Export differs from main in three nodes only jq -S per node, by name Pump reads, Build pump, Sweep urls
Working tree clean git status --porcelain empty
Ticket read live fetch-vikunja-task.sh 5 89 criteria as quoted above

What I could not verify

  • The v2 route itself. Whether Vikunja v2.7.0 honours filter on /api/v2/projects/<p>/views/<v>/buckets/tasks is the ticket's fourth criterion, closed by the first sweep after publishing. This host's token answered 401 on that route in rounds 1 and 2, and nothing in this delta changes the URL's shape; the door is two-way (re-import of the previous export).
  • The live n8n execution (70057) behind the capture and the ticket's "204 done tasks". Not readable from this host. Uncharged.

Named, not charged

  • The PR body's Evidence figures 75/77 and 27/28 are anchored to 7800152, where they hold. At this head the same reversion against main's export reds three checks in the pump suite and two in the notices suite, because WR-91's address check now carries the filter too. A different measurement, not a misstatement.
  • The after figure (864,444 bytes) is a projection; disclosed, and the first post-publish sweep settles it.
  • Fields are not trimmed (ticket asks for "only the fields"): the author states why (no sparse-field parameter on v2.7.0). A disclosed deferral.
  • The webhook path's Get view tasks still reads whole boards: a stated follow-up outside this change.
  • The ticket-dispatch suites are not wired into pr-checks (pre-existing, not this diff's), so the tallies above are the record for them.

Summary

Axis Findings BLOCKER ADVISORY Worst
Standards 0 0 0 none
Spec 0 0 0 none

Zero advisories, so the volume rule does not trip. The conflict resolution kept both WR-91's and WR-90's work and WR-89's filter, and each node's filter is pinned by a check that reds on its own node. Verdict: no blocker.

<!-- minos review-loop: repo=olympus/workshop pr=42 head=a378bf13eaab4dcf58ddfae7bb5fce57f39925ce round=3/5 axes=standards,spec --> repo=olympus/workshop · PR #42 · head a378bf13eaab4dcf58ddfae7bb5fce57f39925ce · round 3/5 · verdict: merge, no blocker, no advisory The dispatch said `round 1/5`. The thread already holds two of my reviews (434 on `12d689e`, 436 on `4f0f52f`, both APPROVED and since dismissed as stale by the pushes), so this is round 3 and the header counts it so. The `1/5` is the dispatch counter, which restarted when the `review/*` label was moved by hand. Recommendation: merge **Spec source:** WR-89 (Vikunja project 5, index 89), read live: its four acceptance criteria and the triage Agent Brief in its comments. The PR body cites it and agrees with it. **Standards source:** `AGENTS.md` (§Decisions: org ADRs under `docs/adr/` bind; none speaks to a workflow-export read URL or a test helper), `README.md`. Beyond those: the smell baseline of the `code-review` skill, judgement calls only. **Fixed point:** `4f0f52f`, the head my review 436 approved. `git merge-base --is-ancestor 4f0f52f a378bf1` is true, so the fixer stacked. The round's delta is two merges of `main` and one commit, which is exactly the Operator's "Fix merge conflicts": | Commit | What it is | Whose change it is | | --- | --- | --- | | `dd96b6e` | merge of `main` @ `99d8fb3` (WR-91, LAN origin); three files resolved by hand | the round's own: the resolution | | `78d7dec` | `notices.test.js`: one `runUrls(config)` stand-in for the two sections that drive `Sweep urls` | the round's own: test-only | | `a378bf1` | merge of `main` @ `61cc3a2` (WR-90, retry under the tick); clean | the base's: its files (`retry.test.js`, `fake-vikunja.py`, `README.md`, the retry keys on the two HTTP nodes) are WR-90's to answer for | Round 2 left no finding, so there is nothing to re-drive; the work is to prove the merge kept both sides. ## Spec No findings. The export against `main` @ `61cc3a2`, compared as JSON: exactly three nodes differ, `Pump reads`, `Build pump`, `Sweep urls`. The node count is 43/43 and every non-node key hashes the same. `Build pump` is identical once full-line `//` comments are stripped. `hooks_url` is still the unfiltered `/api/v1/.../webhooks`. WR-91's `apiOrigin` and WR-90's `retryOnFail`/`maxTries`/`timeout` keys sit on the nodes untouched by this PR, so neither side of the merge was lost. The resolution is proved per node as a red/green pair, run after the merge (head export with one read reverted, the suites driven through `argv[2]`): | Variant | Suite | Result | | --- | --- | --- | | head export (control) | pump / notices | 79/79 / 30/30 | | `Pump reads` URL back to `?per_page=200` | pump | 76/79: `the pump reads each board on Config's API origin`, `the read filters out done tasks`, `...and no read asks for a whole board`; notices stays 30/30 | | `Sweep urls` `queues_url` back to `?per_page=200` | notices | 28/30: `the sweep's reads are addressed from Config's API origin`, `the sweep read filters out done tasks`; pump stays 79/79 | | `main`'s export | pump / notices | 76/79 / 28/30 | Each node's check reds on its own node and not on the other. The two WR-91 "addresses come from Config" assertions that had to move (`pump.test.js:487`, `notices.test.js:182`) now expect the origin and the filter, and they still red when either is lost. The origin half of them is unchanged, so WR-91's pin survives. Nothing of `main`'s tests was dropped: of the 21 lines the PR removes from `harness.js`, `pump.test.js` and `notices.test.js` against `main`, all are WR-89's own edits (the old URL strings, the per-section `$` stand-ins, the `driveGate`-only export). `§14`–`§16` in the pump suite and `§9`–`§10` in the notices suite are the renumbered WR-89 sections; the cross-reference in `pump.test.js` §16 ("section 15") follows the renumbering. Criteria against WR-89, unchanged since round 2: | Criterion | State | | --- | --- | | Read URLs exclude done tasks | met: `Pump reads` and `Sweep urls` carry `filter=done%20%3D%20false`, composed from the Config origin | | Bytes per run, before and after | before met; the after figure is the author's projection, named as one | | Code nodes against a captured read, identical decisions | met on the captured board; the decision the filter can move is pinned both ways (pump §16, notices §10) | | Published; `activeVersion.sameAsDraft`; next sweep succeeds | pending the merge, disclosed | ## Standards No findings. standards: no repo rule is broken. Baseline smells in the delta: none. `78d7dec` removes a duplication rather than adding one: `runUrls` replaces two inline copies of the same stand-in, as the smell baseline's Duplicated Code would ask. ## What I verified, by my own hand | Claim | How | Result | | --- | --- | --- | | Head is what was dispatched | `git ls-remote origin refs/pull/42/head`, at fetch and again before posting | `a378bf13…` both times | | Every suite green at head | `mise exec --`, each unpiped with rc captured, worktree at `a378bf1` | gate 79/79, pump 79/79, notices 30/30, retry 18/18, provision-buckets 50, decide 95/95, parse 12/12, protect-main 131, onboard-repo 41, scan 24, render 141, `make docs-check` 3 assertions; all rc=0 | | The body's tallies | recounted against the runs | the head figures match; pump and notices are two above `4f0f52f`'s 77 and 28 (WR-91 added two to each), and `retry` is WR-90's | | CI by SHA | `commits/a378bf1…/status` | `pr-checks / loop-decide` and `pr-checks / protect-main`: success | | Export differs from `main` in three nodes only | `jq -S` per node, by name | `Pump reads`, `Build pump`, `Sweep urls` | | Working tree clean | `git status --porcelain` | empty | | Ticket read live | `fetch-vikunja-task.sh 5 89` | criteria as quoted above | ## What I could not verify - **The v2 route itself.** Whether Vikunja v2.7.0 honours `filter` on `/api/v2/projects/<p>/views/<v>/buckets/tasks` is the ticket's fourth criterion, closed by the first sweep after publishing. This host's token answered 401 on that route in rounds 1 and 2, and nothing in this delta changes the URL's shape; the door is two-way (re-import of the previous export). - **The live n8n execution (70057) behind the capture and the ticket's "204 done tasks".** Not readable from this host. Uncharged. ## Named, not charged - The PR body's Evidence figures `75/77` and `27/28` are anchored to `7800152`, where they hold. At this head the same reversion against `main`'s export reds three checks in the pump suite and two in the notices suite, because WR-91's address check now carries the filter too. A different measurement, not a misstatement. - The after figure (864,444 bytes) is a projection; disclosed, and the first post-publish sweep settles it. - Fields are not trimmed (ticket asks for "only the fields"): the author states why (no sparse-field parameter on v2.7.0). A disclosed deferral. - The webhook path's `Get view tasks` still reads whole boards: a stated follow-up outside this change. - The `ticket-dispatch` suites are not wired into `pr-checks` (pre-existing, not this diff's), so the tallies above are the record for them. ## Summary | Axis | Findings | BLOCKER | ADVISORY | Worst | | --- | --- | --- | --- | --- | | Standards | 0 | 0 | 0 | none | | Spec | 0 | 0 | 0 | none | Zero advisories, so the volume rule does not trip. The conflict resolution kept both WR-91's and WR-90's work and WR-89's filter, and each node's filter is pinned by a check that reds on its own node. Verdict: no blocker.
pit merged commit cc7735f5a3 into main 2026-11-06 16:31:23 +00:00
pit deleted branch hermes/WR-89-the-dispatch-sweep-fetches-only-open-tas 2026-11-06 16:31:23 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/workshop!42
No description provided.