gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmainbd3591c7conductor: gates run on the live day44 binarymremain/missions/K17-fresh-open-threads.md

4.1 KB

  1. # Mission K17: a fresh review session answers under the open threads (kunibert#17)
  2. Task (ticket title): "A fresh review session answers under the open threads instead of raising them again."
  3. Apollo's GO 2026-11-04 (verbatim): "on a fresh run list the open threads in the prompt and answer under them, no duplicates."
  4. ## Background
  5. Since 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).
  6. ## Read first
  7. - /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).
  8. - 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.
  9. ## Build
  10. 1. 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.
  11. 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).
  12. 3. Vendored threads stay excluded (kunibert#13 rules).
  13. ## 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)
  14. 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.
  15. 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.
  16. ## Limits
  17. About 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/.
  18. 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

  • bd3591c7conductor: gates run on the live day44 binarymre
  • 47f747a7records: jukebox #9 fix livemre
  • 0a3169fdMerge branch 'vendored-size' into mainKunibert
  • e447bb09Vendored size fix: keep renames with an app side whole; type the filter parameter (L10)mre
  • 99ccc742Vendored size fix: no renames in the app diff, filter the resumed delta toomre
  • 1a52e100|||PR Diff size limit counts only app files when vendored paths are setmre
  • 50a1867estatus: jukebox #9mre
  • c57484e6log: jukebox #9 diff sizemre
  • 795a20carecords: guard fix live (PR 8)mre
  • 6981d96fMerge branch 'fresh-on-nocmd' into mainKunibert
  • 37c47840runner: one shared prompt for both fresh-session fallbacks (L16)mre
  • f945d2e1|||PR runner: a resumed run with no command on a new head gets one fresh session instead of a tool errormre
  • 10b2a49estatus: PR 314, guard fix proposedmre
  • e73995a3log: hycon PR 314 approved after fresh reviewmre
  • f60427falog: hycon PR 314 false tool errormre
  • 481974f7log: Hermes accepts PR 259 findingmre
  • bb0976acrecords: hycon PR 259 design findingmre
  • 5c637c24records: hycon PR 259 false tool errormre
  • a344c406log: routger 132 reviewedmre
  • 56e70dcbrecords: review time limit 1800 s (routger 132)mre