kunibert
All repositories: gitoria
4.1 KB
# Mission K17: a fresh review session answers under the open threads (kunibert#17)Task (ticket title): "A fresh review session answers under the open threads instead of raising them again."Apollo's GO 2026-11-04 (verbatim): "on a fresh run list the open threads in the prompt and answer under them, no duplicates."## BackgroundSince kunibert#14 a "Review again" (review_requested) and '@kunibert reset' start a fresh codex session; review-memory reset() keeps state.threads and settled keys. In lib/runner.hl (~line 150) a fresh session with earlier threads gets only `ledger(state, true)` (settled ones) and the text "earlier unresolved judgements are discarded". Live result on kunibert-proof PR #1: the still-open T1 (cart.py:3) was posted again as a NEW thread on each fresh run (now 3 threads on cart.py:3).## Read first- /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md, /media/STORAGE/projects/hybriel/docs/CODE-ORDER.md (copy working shapes; gap → DOCS line, no workaround, no hand-written JavaScript).- lib/runner.hl (prompt building ~140–200, the fallback prompt with `ledger(state)`), lib/review-memory.hl (ledger, applyResult, thread fields), lib/review-wake.hl (rules text, reply format by key), lib/review-prompt.hl (firstReview: `replies` field), lib/review-post.hl (postReplies, reviewBody "still open"), reports/K14-fresh-review-again.md and its proof /media/STORAGE/claude-scratch/kunibert/K14/proof.py.## Build1. Fresh session with earlier threads (reset path, and the session-missing fallback): the prompt lists the OPEN threads too (key, path:line, axis, title; not resolved and not settled) with the instruction: re-check each against the current head; if still valid, do NOT report it again as a new finding: add a reply to that key (body = short current assessment, resolve=false); if fixed, reply and resolve=true. Settled threads keep their current "never raise again" rule. Remove the "earlier unresolved judgements are discarded" wording.2. Backstop in code (after appResult, before applyResult): a new finding with the same path AND line as an open earlier thread is not posted as a new thread; it becomes a reply to that thread (body = the finding's title + body, resolve=false) unless the model already replied to that key in this run (then it is dropped). Log the count in the CLI output JSON (e.g. "merged": n).3. Vendored threads stay excluded (kunibert#13 rules).## Proof (local, loreana, fake gitoria/fake codex only, NO real model run; set an absolute fake codex path via --codex-bin, never rely on PATH)In /media/STORAGE/claude-scratch/kunibert/K17/ (copy the K14 setup; the dir already holds the conductor's t*.json/scrub files: leave them): (a) state with open T1 cart.py:3 → review_requested → prompt received by fake codex lists T1 as open with the reply instruction; (b) fake model returns a reply to T1 and no finding → no new thread, one reply posted to T1's gitoria thread; (c) fake model returns a NEW finding on cart.py:3 (same path+line) and no reply → no new thread, it is posted as a reply to T1; (d) a finding on another line still becomes a new thread; (e) settled threads still listed as settled; (f) normal resume path (synchronize) unchanged.All local gates one at a time: `python3 -I /media/STORAGE/claude-scratch/kunibert/{K4/proof.py,K6/scripts/proof.py,K7/scripts/proof.py,K8/scripts/proof.py,K9/scripts/proof.py,K11/scripts/proof.py,K12/proof.py,K13/proof.py,K14/proof.py,K16/proof.py}` plus the K17 proof → each ALL OK. If an older gate asserts the old "discarded" text, update only that assertion and say so. Ports 8840–8859: check `ss -ltnp` first, kill only exact PIDs you started, all free after.## LimitsAbout 50 tool calls. Do NOT deploy, push, touch byrodin. Commit locally on main only your code + report (`git add` the exact paths, never -A; `-c user.name=Kunibert -c [email protected]`, short message, no self-attribution). No tickets, no messages. Scratch only under /media/STORAGE/claude-scratch/kunibert/K17/.Report: /media/STORAGE/projects/kunibert/reports/K17-fresh-open-threads.md: diff summary, exact proof commands and outputs, any changed old assertion, open points. Stop when done or blocked.
Branches
Latest commits
- 1d2d938aLOG: #439 findings acceptedmre
- 261f25a3LOG/STATUS: hybriel #439 review, 11-24 reviews approvedmre
- 011883dcLOG: PR 26, PR 382 approvedmre
- 38313f2dverdict guard live: LOG, STATUS, K19 gatemre
- 94db01c5Merge branch 'verdict-guard' into mainKunibert
- 8d3fb2e7verdict guard: unknown severity blocks; L2mre
- 9cb7994fverdict guard: severity of older off-diff findings from review bodies; tolerant read; L2mre
- fa2ba67c|||PR verdict guard: an open Blocker/Major thread holds request_changesmre
- 9e89de3cSTATUS 11-24mre
- 841ce528LOG: gitoria PR 25 round 2mre
- 3c6c05feLOG: gitoria PR 25 reviewmre
- 5a5c1accLOG: hycon PR 382 round 3mre
- 0ab030b9LOG: gitoria PR 24 approvedmre
- 0e7be144LOG: gitoria PR 24 round 4mre
- 58075360LOG: hycon PR 382 clarificationmre
- b5c8d9c5LOG: gitoria PR 24 round 3mre
- d9c9857bLOG: gitoria PR 24 re-reviewmre
- d678c1e3LOG: gitoria PR 24 reviewmre
- bd3591c7conductor: gates run on the live day44 binarymre
- 47f747a7records: jukebox #9 fix livemre