tickets

kunibert #1

Build a code reviewer for gitoria like an existing reviewer design, with gitoria and Hybriel

review

opened by Kunibert · assigned to Caramboleyo

opened · updated

caramboleyo (via Apollo, 2026-10-31):

> basically we want [the consultant] now to build a similar tool with gitoria and hybriel. maybe that code reviwer gets its own project and [the consultant] is its consultant?

> with the code reviwere in the making we then start to move to a PR focused development. full goal here is to auto deploy PRs in an own review container. features can then be merged by me, when i accept them. smaller and utility things directly from you.

His decision (2026-11-01, via Apollo): its own app with its own conductor, a design consultant, name Kunibert.

Kunibert's reading (unconfirmed)

This ticket is the design phase. No code yet. The full design is in docs/DESIGN.md in the kunibert repo. In short:

  • Reviews: every PR on a repo that connected Kunibert. Three separate axes, as in the earlier reviewer design: correctness, spec (against the linked tickets) and standards (the repo's own rules). Plus a checklist of what the earlier reviewer missed (caching, timeouts, deploy order and more).
  • Gets PRs: signed events from gitoria's push API (gitoria#38). It reads the code with git fetch and makes the diff locally.
  • Reports: one review on the PR (verdict, summary, line comments), replies and resolves in its own threads, a red/green status. Kunibert never merges.
  • Model (proposal, NOT HIS): the same one as the earlier reviewer, codex gpt-6.1-sol (median under 2 minutes per review there).

Plan (NOT HIS; each step its own ticket, build only after Apollo's GO)

  1. Event intake and job queue
  2. Git cache and local diff
  3. Model runner and output schema
  4. Posting reviews, threads and status
  5. Memory per PR
  6. Later: run the repo's checks (lint, tests) before review

Steps 1, 2 and 4 wait for gitoria#38.

Open for caramboleyo: should Kunibert read linked tickets directly with its own read-only token, with gitoria only naming them? (The design consultant advises yes.)

Children

all children done (17)

  • donekunibert #2Kunibert runs the review model on a local repo and returns a checked review
  • donekunibert #3Kunibert remembers each pull request and on new commits reviews only what changed
  • donekunibert #4Kunibert fetches the PR with git into its own cache and builds the diff locally (step 2).
  • donekunibert #5Kunibert receives gitoria's signed events and queues one review job per PR (step 1).
  • donekunibert #6Kunibert posts its review, thread replies, resolves and a status to the PR on gitoria (step 4).
  • donekunibert #7Kunibert runs as one service: an event from gitoria leads to a posted review on the PR.
  • donekunibert #8Kunibert reads the tickets a PR links to and reviews the PR against them (spec axis).
  • donekunibert #9Kunibert uses the earlier reviewer's current review rules in its prompts, word for word.
  • donekunibert #10The review model runs as its own user that cannot read Kunibert's keys.
  • donekunibert #11Kunibert posts nothing and sets status error when the model could not read the code.
  • donekunibert #12Use the new Hybriel day39 functions instead of the workarounds (JSON.tryParse, timingSafeEqual, tryFetch, map)
  • donekunibert #13Vendored framework code must not block an app PR's verdict
  • donekunibert #14'Review again' always starts a fresh review session.
  • donekunibert #15The review prompt names the repo's vendored paths so the summary does not call framework findings blocking.
  • donekunibert #16Reviews run in parallel across repos: one running job per repo, with a global cap.
  • donekunibert #17A fresh review session answers under the open threads instead of raising them again.
  • donekunibert #18Kunibert's vendored Hybriel plugins are re-vendored from day42 once it is live, as a PR on Kunibert's own repo.

Blocked by

  • reviewgitoria.worldapi.org #38Evaluate a push API where outside apps register to work with gitoria, first a code reviewer

History

  1. Kunibert opened the ticket
  2. 1 comment

    1. Kunibert
        Write…
    2. Kunibert changed the state pending
    3. Kunibert assigned the ticket to Apollo
    4. Kunibert assigned the ticket to Caramboleyo
    5. 1 comment

      1. Kunibert
          Write…
      2. Kunibert changed the state progress
      3. 1 comment

        1. Kunibert
            Write…
        2. Kunibert changed the state review
        3. 2 comments

          1. Kunibert
              Write…
            • Kunibert
                Write…
            • Kunibert edited the ticket

              Subject before: Build a code reviewer for gitoria like Konrad, with gitoria and Hybriel

              Summary before

              caramboleyo (via Apollo, 2026-10-31):

              > basically we want vinzenz now to build a similar tool with gitoria and hybriel. maybe that code reviwer gets its own project and vinzenz is its consultant?

              > with the code reviwere in the making we then start to move to a PR focused development. full goal here is to auto deploy PRs in an own review container. features can then be merged by me, when i accept them. smaller and utility things directly from you.

              His decision (2026-11-01, via Apollo): its own app with its own conductor, Vinzenz as consultant, name Kunibert.

              Kunibert's reading (unconfirmed)

              This ticket is the design phase. No code yet. The full design is in docs/DESIGN.md in the kunibert repo. In short:

              • Reviews: every PR on a repo that connected Kunibert. Three separate axes, as in Konrad: correctness, spec (against the linked tickets) and standards (the repo's own rules). Plus a checklist of what Konrad missed (caching, timeouts, deploy order and more).
              • Gets PRs: signed events from gitoria's push API (gitoria#38). It reads the code with git fetch and makes the diff locally.
              • Reports: one review on the PR (verdict, summary, line comments), replies and resolves in its own threads, a red/green status. Kunibert never merges.
              • Model (proposal, NOT HIS): the same one as Konrad, codex gpt-6.1-sol (median under 2 minutes per review in Konrad).

              Plan (NOT HIS; each step its own ticket, build only after Apollo's GO)

              1. Event intake and job queue
              2. Git cache and local diff
              3. Model runner and output schema
              4. Posting reviews, threads and status
              5. Memory per PR
              6. Later: run the repo's checks (lint, tests) before review

              Steps 1, 2 and 4 wait for gitoria#38.

              Open for caramboleyo: should Kunibert read linked tickets directly with its own read-only token, with gitoria only naming them? (Vinzenz advises yes.)

            Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.