Merge policy

The merge policy decides what happens to a change a session produced: a draft pull request, a question to a human, or a merge. This page is for admins who set the policy and for maintainers who want to know why a pull request arrived the way it did.

A parcel waits on a conveyor before a closed gate, next to a control desk with an orange lever. A parcel waits on a conveyor before a closed gate, next to a control desk with an orange lever.
The finished change waits at the gate; the policy decides whether it leaves as a draft, waits for a person, or is merged.

When the policy runs

The policy runs at the end of a session, and only when all of these hold:

  • The workspace differs from the base commit: the commit the session cloned, which for a follow-up is the pull request’s head.
  • The request is about a repository on a forge.
  • The request’s actor is trusted (see Concepts).
  • The session is not a dry run.

Otherwise nothing is published and the session answers where it was asked.

Modes

The mode is the mode key of the merge policy.

Mode What it does
draft_only Every change becomes a draft pull request. This is the default.
ask A human approves in chat before a pull request is opened. On approval it is opened ready for review, not as a draft. Without an answer by the deadline (approval_timeout), it is opened as a draft.
auto_merge Low-risk changes are opened ready for review and merged once their checks are green. Medium-risk changes are opened and a human is asked before the merge. High-risk changes are drafts.

Four rules apply in every mode and can only make the outcome more conservative:

  • A result the goal critic did not accept is always a draft pull request, with the critic’s report in its body.
  • A result with a check the critic could not verify is a draft too, with the reason in its body. That happens to an on_base check when the pull request’s merge base is not found (see checks against the code from before the pull request).
  • A mode that needs to ask a human falls back when the request has no chat thread to ask in.
  • auto_merge does nothing unless the repository was opted in and its base branch is protected. See Auto-merge.

The decision for one change, with those rules applied:

flowchart TD
    A["A change to publish"] --> B{"Goal critic accepted it?"}
    B -- no --> D["Draft pull request"]
    B -- yes --> M{"Mode"}
    M -- "draft_only" --> D
    M -- "ask" --> T{"Chat thread to ask in?"}
    M -- "auto_merge" --> L{"allow_auto_merge on the repository?"}
    L -- "no: treated as ask" --> T
    T -- no --> D
    T -- yes --> Q["Asks in chat: on approval, a ready pull request; without an answer, a draft"]
    L -- yes --> P{"Target branch protected, with required checks?"}
    P -- no --> D
    P -- yes --> R{"Risk level"}
    R -- high --> D
    R -- low --> G["Ready pull request, merged when its checks are green"]
    R -- "medium, with a chat thread" --> H["Ready pull request, approval before the merge"]
    R -- "medium, no chat thread" --> N["Ready pull request, not merged"]

Where the policy is set

The merge policy is a runtime config object named settings/merge_policy. It is versioned and hot-reloaded like every other runtime setting; see Managing kōjō.

Place Scope Who
defaults.merge_policy in kojo.yaml Seeds the org’s mode on the first start against an empty database. Ignored afterwards. Whoever deploys
settings/merge_policy in the org scope Every repository without its own policy admin
settings/merge_policy in a repo:<forge/owner/name> scope That repository admin
merge_policy: in the repository’s .factory/factory.yaml That repository. kōjō copies it into the repository’s scope on a push to the default branch and when a session starts. Whoever can change the default branch

A repository’s policy replaces the org’s policy as a whole. Keys the repository does not set take the built-in defaults below, not the org’s values.

Rules for factory.yaml:

  • mode may be left out; it then is draft_only.
  • trigger_permission in the file is ignored. Who may trigger work is not the repository’s to decide: the org’s value applies.
  • A file that does not parse or validate changes nothing. The last good policy stays in effect.
  • Removing the file, or its merge_policy key, takes back an override that came from git: kōjō writes a revision with inherit: true, and the org’s policy applies again. An override an admin made in the dashboard or through the API is left alone.
  • While the file holds the policy, an edit made in kōjō opens a pull request that changes the file, not a revision. The dashboard’s form shows the org’s trigger_permission, disabled. See Editing a setting that lives in git.

Keys

Key Default Meaning
inherit false Only meaningful in a repository’s scope: true means the repository has no override and the org’s policy applies. The other keys are then ignored.
mode draft_only draft_only, ask or auto_merge
trigger_permission write The forge permission a user needs for a request to cause write actions: read, triage, write, maintain or admin. Set it in the org’s policy or in a repository’s override made by an admin; a factory.yaml cannot set it.
merge_method squash merge, squash or rebase. GitLab accepts merge and squash only.
approval_timeout 2h How long a question in chat stays open, as a duration (45m, 4h). Without an answer by then, “Open a pull request?” becomes a draft pull request and “Merge this pull request?” leaves the pull request open. See No answer.
risk.max_changed_lines 400 The number of changed lines (added plus removed) at which size alone is high risk
risk.sensitive_paths See below Globs that make a change high risk when a changed file matches. Setting the key replaces the default list.
risk.low_below 0.3 Scores below this are low risk
risk.high_above 0.6 Scores at or above this are high risk
risk.classifier false Adds a fast-tier model’s opinion to the rules

Validation: mode, trigger_permission and merge_method must be one of the listed values, approval_timeout must be at least 1m, and the thresholds must satisfy 0 <= low_below <= high_above <= 1. When the object is written through the API or kojo config apply, mode is required unless inherit is true; in factory.yaml it may be left out.

The default risk.sensitive_paths:

sensitive_paths:
  - ".github/**"
  - ".gitlab-ci.yml"
  - ".forgejo/**"
  - "bitbucket-pipelines.yml"
  - ".factory/**"
  - "**/Dockerfile"
  - "**/*.tf"
  - "deploy/**"
  - "charts/**"
  - "k8s/**"
  - "**/migrations/**"
  - "**/auth/**"
  - "**/security/**"
  - "**/*secret*"
  - "go.mod"
  - "go.sum"
  - "package.json"
  - "package-lock.json"
  - "pnpm-lock.yaml"
  - "requirements.txt"
  - "Cargo.toml"
  - "Cargo.lock"

Examples

A repository that asks before opening pull requests, in .factory/factory.yaml:

merge_policy:
  mode: ask
  risk:
    max_changed_lines: 200

The same change for the whole org, as a document for kojo config apply:

version: 1
objects:
  - scope: org
    object: settings/merge_policy
    content:
      mode: ask
      trigger_permission: write
      merge_method: squash
      approval_timeout: 1h
      risk:
        max_changed_lines: 200
        low_below: 0.3
        high_above: 0.6
kojo config apply -i merge-policy.yaml --dry-run
kojo config apply -i merge-policy.yaml

Risk score

The score is a number from 0 (safe) to 1 (risky). It is computed with deterministic rules over the session’s diff. The score is the highest rule that fired, not a sum, so one serious signal is not diluted by harmless ones. A change that fires no rule scores 0.

Rule Score
The goal critic did not accept the result 1.0
A changed file matches a sensitive_paths glob 0.9
Changed lines are at or above max_changed_lines 0.8
Changed lines are above 25% of max_changed_lines 0.6 * ratio + 0.1, where ratio is changed lines divided by max_changed_lines
More than 15 files changed 0.5
The change reaches beyond the session’s own repository: it spans linked repositories, or is in a linked repository alone 0.5
A code file changed and no test file changed 0.45
At least one file was deleted 0.4

The level follows from the thresholds: high when the score is at or above high_above, low when it is below low_below, medium in between.

With the defaults this means:

  • On size alone, up to 133 changed lines is low, 134 to 333 is medium, and 334 or more is high.
  • A code change without a test change, a deleted file, or more than 15 files is at least medium.
  • A sensitive path is high.

How the rules classify files:

  • A test file has _test., .test. or .spec. in its name, a name that starts with test_, or a path that contains /tests/, /test/ or __tests__/ or starts with tests/ or test/.
  • A code file has one of these extensions: .go, .js, .jsx, .ts, .tsx, .py, .rb, .rs, .java, .kt, .c, .h, .cc, .cpp, .cs, .php, .swift, .scala, .sh, .sql.

The design asked for “test coverage of changed lines”. The build approximates it with the rule “code changed without any test changing”. kōjō does not measure coverage.

The classifier

With risk.classifier: true, a fast-tier model rates the diff as low, medium or high after the rules ran. Its rating maps to a score of 0.1, 0.45 or 0.85.

  • The classifier can only raise the score, never lower it.
  • It runs only when the goal critic accepted the result.
  • If the model call fails, the rules decide alone.
  • Its rating and reason are added to the list of reasons.

The score, the level and the reasons of every rule that fired are stored in the session result, written into the pull request body and recorded in the audit log as merge.decide.

Auto-merge

Auto-merge is opt-in, in two places, by an admin.

  1. The policy in effect for the repository has mode: auto_merge.
  2. The repository’s entry in the repos object has allow_auto_merge: true.

Only an admin can set allow_auto_merge. An operator can enable repositories and edit their entries, but the API refuses an operator’s change that turns allow_auto_merge on. A repository’s own factory.yaml can set mode: auto_merge, but it cannot opt itself in: without the admin’s flag the mode is treated as ask.

version: 1
objects:
  - scope: org
    object: repos
    content:
      repos:
        github/acme/api:
          enabled: true
          allow_auto_merge: true
  - scope: repo:github/acme/api
    object: settings/merge_policy
    content:
      mode: auto_merge
      merge_method: squash
      risk:
        classifier: true

An object is replaced as a whole when it is applied: the repos object above must list every repository you want enabled, not only the one you change.

Preconditions

A change is merged by kōjō only when every one of these holds:

Precondition If it does not hold
Mode auto_merge and allow_auto_merge: true on the repository Without the flag the mode is treated as ask
The goal critic accepted every delegated skill and the session did not stop early Draft pull request with the report
The branch the pull request targets is protected and has at least one required check. kōjō reads this from the forge when it decides. If the read fails, the branch is treated as unprotected. Draft pull request
The risk level is low, or it is medium and a human approved the merge in chat medium without a chat thread: a pull request left for review. high: a draft.
The checks of the pull request’s head commit are green See below
The merge call succeeds. It is pinned to the head commit the policy looked at, so a later push makes it fail. The pull request stays open and the session says why
The change is confined to the session’s own repository A change across repositories, or in a linked repository alone: opened ready for review, never merged, and no merge approval is asked for

Waiting for checks

After the pull request is opened (and approved, for medium risk), the session enters its merge_wait phase and looks at the checks of the head commit once a minute.

Checks What kōjō does
Success Merges with merge_method, records pr.merge in the audit log, and reports “Merged”. Outcome merged.
Failure Does not merge. The pull request stays open for a maintainer. Outcome pr_opened (pushed for a follow-up).
Pending, or no checks at all Looks again in a minute, up to 120 times (about two hours). Then it gives up: the pull request stays open. Outcome pr_opened (pushed for a follow-up).

kōjō never merges on anything but a success. It looks at the combined state of all checks and statuses of the commit, not only the ones the branch protection requires: one failing optional check stops the merge.

kōjō does not look at review approvals before it calls the forge’s merge API. Whether a branch that requires reviews accepts the merge is the forge’s decision; when the forge refuses, the pull request stays open and the session reports the refusal.

The branch a pull request targets is the repository’s default branch. A session about an existing pull request proposes its change as a pull request against that pull request’s head branch, and it is that branch whose protection is read. A follow-up on a pull request kōjō opened adds to it instead, and reads the protection of the branch that pull request goes into.

A repository can only be enabled when its default branch is protected: the API refuses the change otherwise, except in development mode. kojo doctor also fails its branch protection check for an enabled repository whose default branch is not protected, and for a repository under auto_merge whose default branch has no required checks.

Approvals in Slack

The modes ask and auto_merge ask a human through the chat thread of the request. It can be Slack, Mattermost, Discord or Microsoft Teams; see chat platforms for their setup.

A request has a chat thread when it came from Slack, or when it is a scheduled run whose schedule has a notify channel. A request that came from a forge mention has none, so nothing can be asked: ask falls back to a draft pull request, and a medium-risk change under auto_merge is opened for review without a merge.

What the message contains

kōjō posts one message in the thread, with a header, a text and two buttons, Approve and Deny.

Approval Header Text
Open a pull request (ask) “Open a pull request?” The session’s summary (up to 1500 characters), the number of files and the added and removed lines, the risk level and score, one line per risk reason, and “Without an answer by 15:04 UTC on Dec 3, it is opened as a draft pull request.”
Merge (auto_merge, medium risk) “Merge this pull request?” The pull request URL, the risk level and score, one line per risk reason, “It merges once the required checks are green.”, and “Without an answer by 15:04 UTC on Dec 3, it is not merged and stays open for review.” For a follow-up, the line names the commit the round pushed: “It merges at <commit> once the required checks are green.”
Push a follow-up (ask) “Push follow-up round N to pull request #M?” The round’s summary (up to 1500 characters), the pull request URL, the files and lines of this round and of the whole pull request, the risk level and score of the whole pull request, one line per risk reason, and “Without an answer by 15:04 UTC on Dec 3, it is pushed only if the pull request is still a draft.”

The time in the last line is the question’s deadline, in UTC; see No answer.

Who may approve

A click counts only when the Slack user’s email has the operator or admin role in kōjō. Roles are the RBAC settings described in Roles.

  • A click from anyone else changes nothing. The buttons stay, kōjō posts that the user cannot decide, and the attempt is recorded in the audit log as request.reject.
  • The first valid click stands. Later clicks are ignored.
  • After the decision the buttons are replaced by “Approved by” or “Denied by” and the name. The decision is recorded as approval.decide.
  • A click after the question’s deadline changes nothing, even when kōjō has not acted on the deadline yet. kōjō answers in the thread that the click came too late and what happened instead, and records the click as approval.late.

Approve, deny, and no answer

Approval Approved Denied No answer by the deadline
Open a pull request The pull request is opened ready for review. Outcome pr_opened. Nothing is pushed. The session posts “No pull request was opened”. Outcome declined. A draft pull request, as draft_only would open it. Outcome draft_pr_opened.
Merge The session waits for green checks, then merges The pull request stays open for review. Outcome pr_opened. The pull request stays open for review, not merged. Outcome pr_opened.
Push a follow-up The commit is pushed. Outcome pushed. Nothing is pushed. Outcome declined. Pushed only if the pull request is still a draft; otherwise nothing is pushed and the outcome is declined.

The session result’s approval field says how the question ended: approved, denied or expired.

No answer

A question stays open for the policy’s approval_timeout, 2 hours by default. Until then the session is in the waiting status. When the deadline passes without a decision:

  • The buttons are replaced by “No answer by” and the time, and the audit log records approval.expire with the actor kojo.
  • The session publishes as the table above says, posts in the thread that nobody answered in time, and ends succeeded. For “Open a pull request?”, the reason in the draft’s ## Risk section says that nobody answered.

The deadline is stored with the question and with the session in Postgres. At the deadline one worker of one replica claims the session, also after a restart, and a click that arrives at the same moment is either the decision or too late, never both.

The change of an “Open a pull request?” or “Push follow-up round N” question waits in the session’s sandbox, which lives for sandbox.ttl (in kojo.yaml, default 4 hours) from when it was created. So that question closes 30 minutes before the sandbox expires when that comes before approval_timeout. The 30 minutes leave time to publish the draft from the sandbox when the workers are busy at the deadline. When less than 10 minutes would be left to answer, nobody is asked: the change becomes a draft pull request at once, and the reason in its body says why. With both defaults the cap only applies when the sandbox was created more than 90 minutes before the question was asked.

A “Merge this pull request?” question has no such cap. The pull request is already open and nothing that follows needs a sandbox, so the session destroys its sandboxes before it waits.

Changes across repositories

A session on a repository with linked repositories can change several repositories and opens one pull request per repository that changed. The policy makes one decision for all of them:

  • The most careful mode applies. The mode is the one of the session’s own repository, unless a linked repository that changed has a more careful one: draft_only is more careful than ask, and ask than auto_merge. The decision’s reason names the repository whose mode applied.
  • One approval covers all. Under ask, the approval message lists each repository with its files and lines, and one approval opens every pull request ready for review. Without an answer by the deadline, every pull request is opened as a draft.
  • No merge. Merges cannot be made atomic across repositories: if one pull request merged and another failed its checks, the product would be left half changed. So kōjō never merges a change that reaches beyond the session’s own repository, and never asks for a merge approval for one. The risk rule for it (0.5) puts the change at medium risk with the default thresholds, and whatever the score and the mode, such a change is at most opened ready for review. A person merges the pull requests, in the order the product needs.

Follow-ups

A mention on a pull request kōjō opened, or a failed check on one where the repository opts in, continues that pull request instead of opening another: a follow-up. The session works on the pull request’s branch at its current head, commits people pushed included, and the policy decides again before anything is pushed:

  • The whole pull request is measured. The risk rules run on the pull request’s whole diff after this round: the workspace against the commit where the pull request leaves its base branch (the merge base, found by fetching up to 200 commits of the base branch). When that commit is not found, the rules run on this round’s change alone, a rule of 0.5 says so, and kōjō does not merge.
  • The goal critic judges this round. As in every session, a skill’s change is measured from where its run started, so the critic judges what this round did, not the pull request as a whole.
  • A draft stays a draft. kōjō never changes a pull request’s draft state, and a follow-up never merges a draft.
  • ask asks again. Before pushing, the session asks in chat: in its own thread, or, for a follow-up from a forge, in the thread the pull request was asked for in. The question shows the round’s change and the whole pull request’s size and risk.
  • Auto-merge stays pinned. The merge waits for the checks of the commit the round pushed, and is made only while that commit is the pull request’s head.
  • A change across repositories is never merged, as for the session that opened it.
Situation Result
draft_only, or a decision for a draft or a ready pull request The commit is pushed. The pull request keeps its state.
The critic rejected the round, the pull request is a draft The commit is pushed, with a warning in the description
The critic rejected the round, the pull request is ready for review Nothing is pushed. The report is posted on the pull request; the change is in the session.
A check of the round could not be verified As a rejected round: pushed only to a draft
ask, a chat thread to ask in “Push follow-up round N to pull request #M?” On approval the commit is pushed; on denial nothing is.
ask, nobody answers by the deadline, or there is no thread to ask in Pushed only to a draft. A pull request ready for review gets nothing.
auto_merge, low risk, a pull request ready for review Pushed, then merged when the checks of that commit are green
auto_merge, medium risk, a chat thread to ask in Pushed, then a merge approval
The branch moved while the session worked Nothing is pushed (see below)

A branch that moved is not overwritten. The commit is written through the forge’s API on top of the commit the session started from, and only while the branch still points there. When someone pushed in the meantime, nothing is pushed: the pull request gets a comment that names both commits, the session’s outcome is branch_moved, and the change stays in the session. kōjō does not retry on its own: its change was made and judged on a state of the branch that is gone, and redoing it unasked would double the cost. Mention kōjō again to start a new round from the new head.

After a push, kōjō writes the pull request’s description again (see what a pull request contains) and comments with the commit, the round number and what comes next. The session’s outcome is pushed, or merged once the merge is made.

A person’s pull request is outside the policy. When its author, or the kojo:commit label, asks kōjō to commit to a pull request kōjō did not open, the policy decides nothing there: kōjō never merges such a pull request, marks it ready or changes its draft state, title or description, so ask asks nothing and a high risk does not hold the push back. Only a round the goal critic accepted is pushed, and the round’s comment states its risk, measured on the whole pull request. See commits on a person’s pull request.

A red default branch’s fix is always a draft. A session that a failed check on the default branch started opens a draft pull request that kōjō never merges, marks ready or asks about, whatever the mode, as for production alerts; follow-up rounds on it never merge it either. See a red default branch.

What a pull request contains

The core pushes and opens the pull request through the forge API. Pushes only go to kojo/* branches, and to the branch of a person’s open pull request in the same repository when its author asked or someone with trigger_permission added the kojo:commit label (see triggers).

Part Content
Branch kojo/<slug>-<id>: a slug of the session title (at most 40 characters) and the last 8 characters of the session ID
Base The repository’s default branch. For a session about a pull request: that pull request’s head branch, except on a pull request kōjō opened, where a follow-up adds a commit to it instead.
Commit One commit. Its message is the pull request title, a blank line, and kōjō session <id>.
Title The first line of the issue or pull request title, or of the session title, cut at 100 characters
Draft As the policy decided
Labels, reviewers, assignees None. kōjō sets none of them.

The body has these parts, in order:

  1. The session’s summary.
  2. A warning block when the change did not meet all of its acceptance criteria.
  3. ## Goal critic: one line per delegated skill with a pass or fail mark, the number of attempts and the files changed, then each check’s state and each unmet criterion.
  4. ## Risk: the level, the score, the policy’s reason for its decision, and the reasons of the rules that fired.
  5. ## Plan, when a person approved a plan before the work: who approved it, after how many revisions, and the plan in a collapsed block.
  6. ## Where the changes came from: each changed file of this pull request’s repository with its blocks of changed lines, grouped by the step of the session that last wrote them. + ranges are lines of the new version, − ranges lines of the old version that were removed. Each step links to itself on the session’s shareable report when settings/reports allows the session one, and otherwise in the session’s replay on the dashboard (both need server.public_url), and shows its number, its tool (write_file, edit_file or exec), its skill and why it was made: the purpose the tool call gave, the model’s text with the call, or what the call did, on one line of at most 120 characters with its Markdown escaped. Lines no tool call wrote, from a kit’s setup or a check of the goal critic, say so. When it could not be worked out, the section says why, and the change is published all the same.
  7. Fixes #N when the request was about an issue and everything passed, Refs #N when it did not. A change across repositories closes no issue: its pull request on the session’s repository says Refs #N, the ones on linked repositories Refs owner/name#N.
  8. For a change across repositories, ## Part of a change across N repositories: every repository of the change with its pull request, or its branch when that pull request is opened after this one. Once all are open, kōjō writes the description again with every link; when the forge refuses the edit, a comment adds the links instead.
  9. “Requested by” with the actor and the surface, a link to the session in the dashboard and, when the session may have one, to its read-only report, and a footer that names the session.

After a follow-up pushed a commit, the description is written again, in this order: the summary of the session that opened the pull request; ## Follow-ups, one line per round with who asked (a login, without @, so the record notifies nobody) or which check failed, the commit it pushed or why it pushed none, and the first line of its summary; ## Round N with this round’s summary, a warning when it did not meet its criteria, and its goal critic report; ## Risk of the whole pull request; the Fixes or Refs line the pull request was opened with; who asked for the pull request and for this round, with links to both sessions and to this round’s report when it may have one. Whatever a person wrote in the description is replaced.

The body is at most 65,536 bytes, which keeps it within GitHub’s limit of 65,536 characters, the smallest of the forges. Part 6 takes the room the others leave: the files that do not fit are counted, not listed, and the section is left out when not even that fits. When the body would still be longer, parts 1 to 6 are shortened from their end and a note says so; parts 7 to 9 stay whole.

What happens when

Situation Result
Default policy, the critic accepted the change Draft pull request. Session succeeded, outcome draft_pr_opened.
Any mode, the critic rejected the change after its last attempt Draft pull request with a warning and the report. Session failed, outcome failed_with_report.
Any mode, the critic accepted the change but could not verify a check Draft pull request with a warning that names the check. Session succeeded, outcome draft_pr_opened.
Any mode, the session ran out of budget or turns with a change in the workspace Same as a rejected change
The request came from an untrusted actor No pull request. The answer is posted as a comment or reply.
The skills changed nothing No pull request. Outcome answered.
ask, request from Slack Approval message; on approval a pull request ready for review
ask, nobody answers by the deadline Draft pull request. Outcome draft_pr_opened, result approval: expired.
ask, the session’s sandbox would leave less than 10 minutes to answer Draft pull request, without asking
ask, request from a forge mention, the CLI or the dashboard Draft pull request
auto_merge without allow_auto_merge on the repository Treated as ask
auto_merge, target branch unprotected or without required checks Draft pull request
auto_merge, low risk Pull request ready for review, merged when the checks are green
auto_merge, medium risk, request from Slack Pull request ready for review, then a merge approval
auto_merge, medium risk, nobody answers the merge question by the deadline Pull request ready for review, not merged
auto_merge, medium risk, no chat thread Pull request ready for review, not merged
auto_merge, high risk Draft pull request
A change across linked repositories, any mode One pull request per repository that changed, decided together under the most careful mode among them; never merged
A mention, or an opted-in failed check, on a pull request kōjō opened A commit on that pull request’s branch, decided as in follow-ups. Outcome pushed.
The same, but the branch moved while the session worked Nothing pushed. Outcome branch_moved.
The same, past the pull request’s rounds Nothing queued; a mention is answered on the pull request
A mention by its author, or with the kojo:commit label, on a person’s pull request kōjō may write to A commit on that pull request’s branch when the critic accepted the round, whatever the mode; never merged. Outcome pushed. See commits on a person’s pull request.
A mention on a pull request from a fork A draft pull request against the fork’s base, carrying the fork’s commits, whatever the mode; never merged. See which branches kōjō writes to.
A failed check on the head of the default branch, with follow_up.default_branch on Draft pull request, whatever the mode; never merged. See a red default branch.
The same, but no check of the head fails when the session starts No pull request. Outcome already_green.
Checks fail or do not finish in about two hours Not merged. The pull request stays open.
Dry run (a skill test or an eval) Nothing is pushed. The diff is in the session result.
Scroll to move. + - zoom, 0 fit, Esc close.100%