cyberine rulings grants: what the owner pre-authorized for delivery (k5a82, 2026-11-13)
Run recipe: cyberine rulings grants (or --json) in any repo. It lists every delivery grant the owner wrote, one line each with its actions, branch, path and source. A grant is a line cyberine-grant: <push|merge|deploy>[, ...] on <branch|default> [in <path>], in a gitignored .claude/rules/*.md file or in the choice of an owner ruling.
Extend recipe: to grant, add the line yourself to a gitignored rule file (for example cyberine-grant: push, merge on main in .claude/rules/user-vibe-coding.md), or record it as an owner ruling: cyberine tasks decide <id> --choice "cyberine-grant: push, deploy on main in ft-bot" --rejected "pull requests only" --reason "<why>" --status owner. default means the repo's default branch, and in <path> names a submodule or subdirectory; without it the grant covers the repo itself only, not its submodules.
Rules it applies: a line in a tracked rule file, or in a rule file git does not ignore, grants nothing and is listed under "Ignored grant lines" with the reason. Only active owner rulings count, so an agent's own --status auto decision never grants. No grant means pull requests only.
Decide one change (kp0fj, 2026-11-13): cyberine rulings grants --decide [--branch <b>] [--path <dir>] [--checks green|red|unknown] [--json] answers push or pull request, with the reason. It answers push only when all of these hold: a push grant covers the branch and path, the checks are not red, the remote does not protect the branch (read with gh api; unknown counts as open), and any push-triggered workflow under .github/workflows/ with a deploy step is covered by a deploy grant. merge is true only when merge is granted, and deploy is true when the push deploys, which the session states in one line before pushing.
Autopilot uses it per task when the repo has a grant: cyberine autopilot --dry-run prints a Delivery <task>: line for every task. A --engine claude session gets that decision in its prompt in place of the fixed delivery mode, and it re-runs --decide --checks green|red after its checks, before it lands. A repo with no grant keeps its recorded delivery mode unchanged, and a repo recorded as --delivery main keeps it.
Known Limitations and Deferred Work: the fleet engine (the default) commits each winner locally and never pushes, so for it the decision is advice to the session that started the run. Deploy detection reads GitHub Actions workflows only; a host-side git integration (Vercel, Netlify, Cloudflare Pages connected to the repo) is not seen.
One branch per run (k36cm, 2026-11-13): in delivery mode pr, whenever the answer is a pull request, a --engine claude autopilot run lands every task on one integration branch auto/run-<runId> instead of one branch and one pull request per task. Each session checks the branch out, or creates it off HEAD, then commits, runs the verify command and pushes. The first session opens the pull request, and later sessions add their task to its description with gh pr edit. Dependent tasks run later in the same run on the same branch, so they see the earlier work, and the owner gets one pull request tested as a whole. cyberine autopilot --dry-run prints a Delivery <task>: line for every task the run would reach, and with --verbose it also prints the exact delivery prompt line. Known limitations: the fleet engine still commits locally and opens nothing, and an end-to-end run against a real repo is pending the owner's check.
Branch names and rejected pushes (k0pfs, 2026-11-13). Every branch a Cyberine-driven session creates is cy/<type>/<task-id>-<short-slug>, with <type> one of feat, fix, refactor, docs, test, chore, perf (feat when the change type is unclear). Without a task id the id is r<first 8 characters of the run id>, and a run's integration branch keeps the name auto/run-<runId> (the owner's D3 default, k0sxs), which isCyberineBranch recognises through the legacy prefix. The cy/ prefix is kept even when the repo has its own branch convention, so Cyberine can tell its branches apart; isCyberineBranch(name) in src/core/deliveryMode.ts is the only recogniser and also accepts the older auto/ prefix, and cyBranchName({ type, taskId, runId, slug }) builds a name (slug lowercased to [a-z0-9-], at most 40 characters). The main and pr delivery texts add the rejected-push steps: when a push of the default branch is rejected as non-fast-forward, the session runs git pull --rebase once and pushes again; on a rebase conflict it runs git rebase --abort, pushes a cy/ branch and opens a pull request; when the branch is protected it does not retry and pushes a cy/ branch with a pull request. If even that push fails the commit stays local and the report says so.
Run recipe: cyberine init --rules --delivery pr in a repo, then read the Delivery section of .claude/rules/cyberine-autonomy.md. A repo whose rule file still names auto/ is refreshed by cyberine sync, which rewrites the Delivery section only when it is still byte-equal to the older Cyberine wording (an edited one is left alone).
Known Limitations and Deferred Work: merging and deleting cy/ branches is cyberine land --cy (below); existing auto/ branches are still recognised but never renamed; the rejected-push steps are prompt text for the session, not code that pushes, and rulings grants --decide still checks protection before a push where it can read it; sync refreshes only the previous (single) wording of the Delivery section.
Cleaning up Cyberine branches (k3gkn, 2026-11-14). cyberine land --cy lists every branch on origin whose name starts with cy/ or the legacy auto/ (it runs git ls-remote), looks up its pull request with gh pr list --head, and acts on each: a branch whose pull request is merged is deleted on origin and locally (unless checked out), but only after gh pr view reports MERGED; an open pull request is merged with gh pr merge --merge when a cyberine-grant: merge on <base> line covers its base, every reported check passed and no review is required, and its branch is deleted once gh pr view confirms the merge (a merge the host does not confirm keeps the branch for a later run); an open pull request that needs a review, conflicts, has a failed check, reports no checks at all, or has no merge grant becomes one Owner: review PR #N (<branch>) task on the board (a second run files no duplicate); a cy/ branch with no pull request gets one against the default branch; a pull request with checks still running is left to wait, and a closed one or a legacy auto/ branch without a pull request is reported only. cyberine autopilot runs the same cleanup when it ends and prints its lines after the delivery lines (cyCleanup in --json); the session notice (cyberine notice, printed at SessionStart) adds one line counting the Cyberine branches, read from local refs only, so it makes no network call.
Run recipe: cyberine land --cy --dry-run to see the action per branch, then cyberine land --cy to carry it out; add --json for the cy-cleanup/1 report. In plain language, "cyberine don branch cy" routes here through the run skill. Set CYBERINE_AUTOPILOT_CY_CLEANUP=0 to keep autopilot from running it at the end. It exits 1 when an action failed or was not confirmed.
Landing by risk class (kx55r, 2026-11-15). Off by default until a reviewer step that posts approvals ships. Turn it on per repo with cyberine config set land.reviews required (stored in .cyberine/config.json; --local or --global as for other raw keys; cyberine config get land.reviews prints the value and its source), or by setting CYBERINE_LAND_REVIEWERS. While it is off, land --cy merges exactly as above, never calls gh pr diff, reports risk: "unclassified" on each merge candidate, and adds one note that reviews are off (on stderr, and in the report's notes; reviews carries on and its source). With it on, before land --cy merges a pull request it reads the changed files with gh pr diff <n> --name-only and gives the PR a risk, carried on each branches[] entry of the --json report with the counting vendors in approvedBy. docs-only (every file is .md / .mdx outside the agent-instruction files, or under site/content/) merges on green checks and a grant as before, with no reviewer. ordinary needs one approval from a vendor other than the builder. risky needs approvals from two distinct vendors other than the builder; a PR is risky when one file is a sensitive path (DEFAULT_SENSITIVE_PATHS, or the project policy's sensitivePaths), a file the security smoke set covers (each smoke in scripts/selftest-manifest.json's security list: its entry script and that script's direct relative imports, plus the manifest itself), or a file whose path names security, auth, sandbox, spend caps, the accept guard, migrations or the merge gate. The rules are data in src/core/landRisk.ts. A PR short of its approvals, or whose files cannot be read, is not merged and becomes the Owner: review PR #N task, with a reason that says which approvals are missing.
Reviewer source: with CYBERINE_LAND_REVIEWERS set, approvals come from the JSON file it names, {"<branch>":{"builder":"<vendor>","approvals":[{"vendor":"<vendor>","verdict":"approve"}]}}; a branch missing from it has no approvals. Without it, approvals are read from the pull request on GitHub (gh pr view <n> --json body,reviews): the builder is a cyberine-builder: <vendor> line in the PR body, and each approval is a cyberine-review: <vendor> approve line in a review body (the latest verdict per vendor counts; dismissed reviews do not). It fails closed: an unreadable source, an unknown builder or no matching review leaves the PR open.
Behaviour change (kb3mg, 2026-11-15). With the risk-class gate on, land --cy also holds back a pull request that changes behaviour the owner already accepted. A PR gets risk: "behaviour-change" (its behaviour field in the --json report lists the checks and flags) when a changed file matches the covers of a done task's acceptance check, or when a reviewer entry marks it as changing user-visible behaviour. Covers are the covers of .cyberine/accept/<id>.json plus the measured covers under .local/accept-covers/, matched with the accept gate's own coversMatch; the check counts when <id> is a done task on the board. The reviewer mark is "behaviourChange": true with a "summary": "<what changes>" on an approval entry in the CYBERINE_LAND_REVIEWERS file, or a cyberine-behaviour: <vendor> <summary> line in that vendor's review body on GitHub; a mark from the builder's own vendor is ignored. Such a PR is never merged, however many approvals it has, and becomes one Owner: decide whether PR #N (<branch>) may change behaviour task whose text names the done task id or the reviewer's summary, with a default (the PR stays open) and an undo cost; a second run files no second task, and the branch is deleted by a later run once the owner merges the PR. A PR that touches no covered file and carries no mark keeps its path-based class and merges as before.
Known Limitations and Deferred Work (behaviour change): it runs only with the risk-class gate on; a docs-only PR is checked against covers but its reviewer marks are not read (no gh pr view call), so only a covered file holds it; the covers check reads the working tree's .cyberine/accept and board, not the PR's base; a done task with no accept script has no covers and never holds a PR; if the reviewer's summary changes between runs, the task text differs and a second task can be filed; nothing in Cyberine posts the reviewer mark yet.
Known Limitations and Deferred Work (risk classes): the gate is off by default, so a repo that has not turned it on still merges every granted green PR with no cross-vendor review; nothing in Cyberine posts the cyberine-builder: and cyberine-review: markers yet, so with the gate on every non-docs PR becomes an owner review until a reviewer step writes them; the markers are trusted from anyone who can edit the PR body or post a review; covers are each security smoke's direct imports, not its full import closure; the rules read the security manifest from the working tree, not from the PR's base.
Known Limitations and Deferred Work: only the origin remote is read; only GitHub through gh is supported; a pull request with no checks is never merged unattended, so a repo without CI always gets an owner review task; the notice line counts refs as of the last fetch, so it can lag the remote; a merged pull request whose branch was already deleted by the host leaves nothing to report.
Grants are read-only here: prose such as "commit, push and merge are pre-authorized" is not parsed, so an existing vibe-coding rule needs its own cyberine-grant: line before Cyberine reads it as a grant. A session never writes that line itself.
cyberine rulings route: give every one-off owner decision a durable home (k31qz, 2026-11-17)
Since kdct8 a one-off owner decision is not a ruling: it sits in the board's decision ledger, which no session reads, so the why behind a feature fades. cyberine rulings route proposes where each...
cyberine rulings add: record a standing owner ruling from plain words (kt2tk, 2026-11-13)
Run recipe: in Claude Code, say what you allow in your own message, naming Cyberine: "cyberine ruling: when the app needs a relaunch, do it yourself", "cyberine tu gio cu relaunch app, dung hoi...