gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit9e6039ee9e6039eeRecords: gates K11, K12Kunibert9e6039ee/docs/konrad-handover/3-output-schema.md

3.0 KB

  1. # Konrad handover part 3: output schema and how it is used
  2. ## Output schema (verbatim, used with codex --output-schema)
  3. ```json
  4. {
  5. "type": "object",
  6. "additionalProperties": false,
  7. "required": [
  8. "summary",
  9. "axes",
  10. "verdict",
  11. "findings",
  12. "replies"
  13. ],
  14. "properties": {
  15. "summary": {
  16. "type": "string"
  17. },
  18. "axes": {
  19. "type": "object",
  20. "additionalProperties": false,
  21. "required": [
  22. "correctness",
  23. "spec",
  24. "standards"
  25. ],
  26. "properties": {
  27. "correctness": {
  28. "type": "string"
  29. },
  30. "spec": {
  31. "type": "string"
  32. },
  33. "standards": {
  34. "type": "string"
  35. }
  36. }
  37. },
  38. "verdict": {
  39. "type": "string",
  40. "enum": [
  41. "approve",
  42. "comment",
  43. "request_changes"
  44. ]
  45. },
  46. "findings": {
  47. "type": "array",
  48. "items": {
  49. "type": "object",
  50. "additionalProperties": false,
  51. "required": [
  52. "axis",
  53. "path",
  54. "line",
  55. "severity",
  56. "title",
  57. "body"
  58. ],
  59. "properties": {
  60. "axis": {
  61. "type": "string",
  62. "enum": [
  63. "correctness",
  64. "spec",
  65. "standards"
  66. ]
  67. },
  68. "path": {
  69. "type": "string"
  70. },
  71. "line": {
  72. "type": "integer"
  73. },
  74. "severity": {
  75. "type": "string",
  76. "enum": [
  77. "blocker",
  78. "major",
  79. "minor",
  80. "nit"
  81. ]
  82. },
  83. "title": {
  84. "type": "string"
  85. },
  86. "body": {
  87. "type": "string"
  88. }
  89. }
  90. }
  91. },
  92. "replies": {
  93. "type": "array",
  94. "items": {
  95. "type": "object",
  96. "additionalProperties": false,
  97. "required": [
  98. "thread",
  99. "body",
  100. "resolve"
  101. ],
  102. "properties": {
  103. "thread": {
  104. "type": "string"
  105. },
  106. "body": {
  107. "type": "string"
  108. },
  109. "resolve": {
  110. "type": "boolean"
  111. }
  112. }
  113. }
  114. }
  115. }
  116. }
  117. ```
  118. ## How the output is used
  119. - **Inline comment:** `**<badge> <Severity> · <Axis>: <title>**` followed by the body. Badges: 🛑 blocker, 🔶 major, 🔹 minor, 💬 nit.
  120. - **Review body:**
  121. - the summary;
  122. - per axis: `### Correctness (N new, M still open)`, then the axis text, then "_Not on changed lines:_" findings, then "_Still open from earlier rounds:_".
  123. - **Status:** failure if the verdict is request_changes. The summary line reads "<n> new finding(s), <m> thread replies".
  124. - **Thread keys:** T<root comment id>. The axis of an old thread is parsed back from its badge line.
  125. ## Suggested first tickets
  126. 1. Forge event intake + job queue.
  127. 2. Local git cache + diff.
  128. 3. Model runner + schema.
  129. 4. Posting reviews, threads and status.
  130. 5. Per-PR session memory.
  131. 6. A lane with gates (the gap Konrad still has).

Branches

Latest commits

  • 9e6039eeRecords: gates K11, K12Kunibert
  • 59b8fe83Use Hybriel day39 helpersKunibert
  • c2e393a2Records: K12 startedKunibert
  • 00696678Records: Anton day39 notemre
  • 070e01a4Records: parkmre
  • bf8af0dcRecords: v1.4 checkedmre
  • 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