kunibert
All repositories: gitoria
3.0 KB
# Konrad handover part 3: output schema and how it is used## Output schema (verbatim, used with codex --output-schema)```json{"type": "object","additionalProperties": false,"required": ["summary","axes","verdict","findings","replies"],"properties": {"summary": {"type": "string"},"axes": {"type": "object","additionalProperties": false,"required": ["correctness","spec","standards"],"properties": {"correctness": {"type": "string"},"spec": {"type": "string"},"standards": {"type": "string"}}},"verdict": {"type": "string","enum": ["approve","comment","request_changes"]},"findings": {"type": "array","items": {"type": "object","additionalProperties": false,"required": ["axis","path","line","severity","title","body"],"properties": {"axis": {"type": "string","enum": ["correctness","spec","standards"]},"path": {"type": "string"},"line": {"type": "integer"},"severity": {"type": "string","enum": ["blocker","major","minor","nit"]},"title": {"type": "string"},"body": {"type": "string"}}}},"replies": {"type": "array","items": {"type": "object","additionalProperties": false,"required": ["thread","body","resolve"],"properties": {"thread": {"type": "string"},"body": {"type": "string"},"resolve": {"type": "boolean"}}}}}}```## How the output is used- **Inline comment:** `**<badge> <Severity> · <Axis>: <title>**` followed by the body. Badges: 🛑 blocker, 🔶 major, 🔹 minor, 💬 nit.- **Review body:**- the summary;- per axis: `### Correctness (N new, M still open)`, then the axis text, then "_Not on changed lines:_" findings, then "_Still open from earlier rounds:_".- **Status:** failure if the verdict is request_changes. The summary line reads "<n> new finding(s), <m> thread replies".- **Thread keys:** T<root comment id>. The axis of an old thread is parsed back from its badge line.## Suggested first tickets1. Forge event intake + job queue.2. Local git cache + diff.3. Model runner + schema.4. Posting reviews, threads and status.5. Per-PR session memory.6. A lane with gates (the gap Konrad still has).
Branches
Latest commits
- 44af321bRecords: contract v1.4mre
- 310f3fd0Records: outdated semanticsmre
- 268ebfe6Records: #11 proven live and closedmre
- 88e8aad3Records: K11 verified and deployedmre
- cd4cb09cNo review and status error when the model's tools did not run (kunibert#11)Kunibert
- a6b54efaStatus updatemre
- 5a72268eRecords: #4-#10 done, #11 started, review package on #1mre
- 194c7da6Records: real proof greenmre
- cdfa94a9Records: AppArmor profile for the review sandboxmre
- c1bf02d8Status: sandbox blockermre
- 88aaacc5Records: real proof part 2 (posting works, sandbox blocked by AppArmor userns)mre
- 401df4e8Records: review user logged inmre
- 6ca681b3Records: login command, status cleanupmre
- 6b8d763cRecords: review user, device login startedKunibert
- 07025b99Open the job worktree read-only for the review user before each model runKunibert
- 2a44bd54Runner CLI: --review-user/--codex-bin/--work-dir work in every modeKunibert
- 2177f66fReview model runs as its own unix user (reviewUser, codexBin, workDir)Kunibert
- 35df8306Records: live service on byrodin, real proof part 1Kunibert
- 7480a98dkunibert.service: SIGTERM stop is a clean exitKunibert
- 3a8d93f9gitoria client: parse only JSON answers, accept a plain-text errorKunibert