gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmainbd3591c7conductor: gates run on the live day44 binarymremain/docs/reviewer-design/3-output-schema.md

3.0 KB

  1. # The earlier reviewer 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 the earlier reviewer still has).

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