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
- 1aa4d64crecords: HL-STANDARD L10 update livemre
- 2b04c240Merge branch 'hl-standard-l10' into mainKunibert
- 88c7b09d|||PR HL-STANDARD L10 update (hybriel 5885d688), rules version 3mre
- 00869ecbrecords: gitoria#50 step 3 livemre
- f97a0e5fMerge branch 'hl-standard' into mainKunibert
- 9710e39fType STANDARD as String (L10, Kunibert review)mre
- 4140b664|||PR Review against HL-STANDARD and cite rule ids (gitoria#50 step 3)mre
- 75c6888drecords: gitoria#50 step 1 connected and provenmre
- aa6d997frecords: gitoria#50 connect plan, Anton reportmre
- 8a190ba7Records: kunibert#18 and #15 donemre
- 2eee9dbbMerge branch 'revendor-day44' into mainKunibert
- e96721cb|||PR Re-vendor plugins from Hybriel day44 (hl:fetch redirect fix)mre
- 0c67ab8cLog: kunibert repo ping provenmre
- b6f3039cLog: kunibert repo connectedmre
- b143c3c7CONDUCTOR: push recipemre
- 7a1279eeRule: conductor merges own utility PRs after green reviewmre
- 4038b3e0Log: kunibert#18 openedmre
- 18543db1Log: day42 fetch fix, re-vendor pendingmre
- 81a12f96Statusmre
- 6ce706abRecords: neutral wording, split cleanupmre