kunibert
All repositories: gitoria
3.7 KB
# Mission K9: the earlier reviewer's live rules in Kunibert's prompts (kunibert#9)Task (his words, kunibert#1): "basically we want [the consultant] now to build a similar tool with gitoria and hybriel."This step only: bring the earlier reviewer's current prompt rules into Kunibert's fresh and wake-up prompts, word for word, as the design consultant decided (docs/reviewer-design/4-apps-api-review.md point 18; texts in docs/reviewer-design/5-rules-verbatim.md).## Read first- docs/reviewer-design/5-rules-verbatim.md (all of it: REACH, CONTRACT, CHECKLIST, SPEC_SOFT, CALIBRATION, memory RULES, the wake-prompt note, the schema note, the design consultant's notes).- docs/reviewer-design/4-apps-api-review.md points 18, 24; reports/K8-tickets.md (spec.md, how the prompt points to it).- Existing: lib/review-prompt.hl, lib/review-wake.hl, lib/review-memory.hl, lib/runner.hl, schema.json.- Hybriel: docs/HL-PRIMER.md (strings: no backslash escapes; see the K6 DOCS line), docs/CODE-ORDER.md.## Build1. **Fresh prompt** (lib/review-prompt.hl): use the earlier reviewer's PROMPT structure: correctness line followed by REACH, CONTRACT, CHECKLIST (indented); the spec line with spec.md text (the earlier reviewer's line 170 wording, `.reviewer` → `.kunibert`) + SPEC_SOFT when tickets exist, else the "no ticket" line. Kunibert's existing extra spec rules stay where they don't contradict (its stricter "moving work to a separate PR is never a finding" stays, the design consultant confirmed it); remove duplicates that SPEC_SOFT/CHECKLIST now say word for word. No SUGGEST anywhere; keep the existing "no suggestion blocks" line.2. **Names**: only in CONTRACT and REACH replace the earlier setup's names with ours, keep every other word: CONTRACT services → "the worldapi.org services (e.g. gitoria, tickets, ident, HyperConductor and the repos on gitoria that read each other's data)"; REACH producers → "Hybriel hl:data schemas and field configs, JSON schemas, mapper functions, DB constraints". Show both lines in the report next to the earlier reviewer's original.3. **Wake-up** (lib/review-wake.hl): RULES word for word (`.reviewer` → `.kunibert`, the earlier reviewer → Kunibert), including "Withdrawn:". A withdrawal is a normal `replies` entry (body starts "Withdrawn:", resolve true): no schema change; check the posting code treats it like any resolve.4. **CALIBRATION once**: a `RULES_VERSION = 1` constant; the per-PR state stores `rules`; a session whose stored rules < RULES_VERSION gets CALIBRATION (without the SUGGEST line) once in its next wake prompt, right before RULES; then `rules` is saved. New sessions start at RULES_VERSION.## Proof (fake codex only; no real codex)- Print the full fresh prompt with and without spec.md, and a wake prompt for an old-state PR (rules missing) and again after (no CALIBRATION the second time). Put them in scratch and quote the relevant lines in the report.- diff Kunibert's rule lines against the verbatim file: only the named replacements differ (show the check, e.g. a script that strips the known replacements and compares).- A fake codex reply with "Withdrawn: …" + resolve true → posted as reply + resolve to the fake gitoria (reuse K7/K8's proof setup).- K7 scripts/proof.py and K8's proof still pass.Stop every process you started by its PID.## LimitsAbout 50 tool calls. No real codex, no sudo, no network beyond localhost, no commits, no tickets, no messages to others. Scratch only under /media/STORAGE/claude-scratch/kunibert/K9/.Runtime: /media/STORAGE/projects/hybriel/native/zig-out/bin/hybriel, launched from /media/STORAGE/projects/kunibert.Report: /media/STORAGE/projects/kunibert/reports/K9-spec-rules.md (files, exact commands, proof output, DOCS/GAP lines, open points). Stop when done or blocked.
Branches
Latest commits
- 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
- 81a4d31bDocs: neutral wordingKunibert
- 8205b05eRecords: #17 livemre
- c3391204Answer fresh reviews under open threadsKunibert
- a0f3d147Records: #16 livemre