gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmainbd3591c7conductor: gates run on the live day44 binarymremain/reports/K14-fresh-review-again.md

5.6 KB

  1. # K14: fresh Review again and vendored prompt context
  2. 2026-11-04, loreana, local main. Implements kunibert#14 and kunibert#15 using fake Gitoria and fake Codex only.
  3. ## Diff summary
  4. - `lib/gitoria-events.hl`: `review_requested` sets reset=true and force=true, using the same queue/runner reset path as `@kunibert reset`. Reset clears the session and pending notes, increments generation, and retains threads and settled keys.
  5. - `lib/review-prompt.hl`: one `withVendored` helper appends the required single line with the combined configured/HEAD ignore prefixes, and returns the original prompt when prefixes are empty.
  6. - `lib/runner.hl`: `codexTurn` applies that helper before saving instructions or using the long-prompt file indirection. Both normal and missing-session fallback calls pass the prefixes; first review, wake, and fresh-after-reset therefore use the same helper.
  7. - `lib/review-wake.hl`: forced wakes describe author notes/forced wakes accurately and name Review again and @kunibert reset as fresh-session actions. Author-note and CLI --force wakes still resume.
  8. ## Local proof
  9. Runtime: `/media/STORAGE/projects/hybriel/native/zig-out/bin/hybriel`. Working directory: `/media/STORAGE/projects/kunibert`. New fixtures and artifacts are confined to `/media/STORAGE/claude-scratch/kunibert/K14/`; K14 copies the K13 fake API/Codex setup and adds a signed-hook service on 8854 (fake API on 8853). No real model run, deployment, push, byrodin access, ticket update, or message was performed. No operator repos.json was edited.
  10. K14 checks an existing settled T1 thread through a signed review_requested hook, generation increment, reset=true child log, no Codex resume, and exact preservation of threads/settled. It checks unchanged @kunibert reset behavior, actual new-head synchronize resume, author-note forced resume, and exactly one required vendored line in first/wake/reset/missing-session fallback prompts. No-prefix first and wake prompts omit the line. Prompt/argv snapshots and service logs are retained in K14/calls and K14/svc.log.
  11. Commands were run sequentially; the driver `/media/STORAGE/claude-scratch/kunibert/K14/run-gates.py` runs the eight older gates one at a time and saves full stdout/stderr plus gate-results.json. Each gate's ALL OK marker is checked in its complete output. No older assertion was edited. Existing proof scripts regenerate their own scratch fixtures as part of their required execution.
  12. | Exact command | Exit | Output marker | PASS lines | Full stdout/stderr |
  13. | --- | ---: | --- | ---: | --- |
  14. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K4/proof.py` | 0 | `ALL OK` | 0 | [K4-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K4-output.txt) |
  15. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K6/scripts/proof.py` | 0 | `ALL OK` | 36 | [K6-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K6-output.txt) |
  16. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K7/scripts/proof.py` | 0 | `ALL OK` | 36 | [K7-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K7-output.txt) |
  17. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K8/scripts/proof.py` | 0 | `ALL OK` | 25 | [K8-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K8-output.txt) |
  18. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K9/scripts/proof.py` | 0 | `ALL OK` | 15 | [K9-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K9-output.txt) |
  19. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K11/scripts/proof.py` | 0 | `ALL OK` | 17 | [K11-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K11-output.txt) |
  20. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K12/proof.py` | 0 | `ALL OK` | 19 | [K12-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K12-output.txt) |
  21. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K13/proof.py` | 0 | `ALL OK` | 20 | [K13-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K13-output.txt) |
  22. | `python3 -I /media/STORAGE/claude-scratch/kunibert/K14/proof.py` | 0 | `ALL OK` | 12 | [K14-output.txt](/media/STORAGE/claude-scratch/kunibert/K14/K14-output.txt) |
  23. Exact K14 stdout/stderr:
  24. ```text
  25. PASS d: first review includes exactly one vendored line with plugins/
  26. PASS a: signed review_requested on existing session starts fresh Codex without resume
  27. PASS a: threads and settled keys kept exactly
  28. PASS a: review child receives reset=true
  29. PASS d: fresh-after-reset prompt includes vendored line and settled ledger
  30. PASS b: @kunibert reset remains fresh and preserves threads/settled
  31. PASS c: synchronize resumes existing session
  32. PASS d: wake includes exactly one vendored line
  33. PASS forced author-note wake still resumes with note and vendored line
  34. PASS fallback: missing session gets fresh prompt with exactly one vendored line
  35. PASS e: no prefixes leaves first prompt unchanged
  36. PASS e: no prefixes leaves wake prompt unchanged
  37. ALL OK
  38. -- stopped exact service PID 1593156
  39. -- stopped exact fake gitoria PID 1592791
  40. ```
  41. ## Ports and cleanup
  42. Before K14, and before each older gate, `ss -ltnp '( sport >= :8840 and sport <= :8859 )'` was checked. K14 stopped only its exact service PID 1593156 and fake Gitoria PID 1592791. Older gates clean up their own exact processes.
  43. Final port check returned only the header (all ports 8840–8859 free):
  44. ```text
  45. State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
  46. ```
  47. `git diff --check` passed without output.
  48. ## Open points / DOCS
  49. No open implementation or proof failures. K4, K6, K7, K8, K9, K11, K12, K13, and K14 are each ALL OK. Local fake validation only; deployment remains outside this mission.
  50. No language documentation gap blocked the work; no handwritten JavaScript was added. Unrelated pre-existing LOG.md, STATUS.md, and the untracked mission file are excluded from the implementation commit.

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