Zero-Touch-by-Operator
Retained review integrations
The shared catalog preserves host-installed /advice and /web-advice integrations instead of installing them. Before invoking either, resolve its ../advice/SKILL.md or ../web-advice/SKILL.md relative to this package and read the existing skill. For a remote invocation, check the corresponding skill on the target host. If absent, report that integration as UNAVAILABLE and identify the missing package; do not invent a replacement runner, claim an approval, or treat a required gate as passed. Continue independent authorized work, but leave any dependent readiness or plan-approval gate unmet. Existing review quorum, external-disclosure authorization, and optional-review rules still apply.
Definition
A PR is zero-touch when AO (Agent Orchestrator) produced a PR that completed
the applicable draft-first quality sequence and reached current-head /green
without human or terminal intervention. The audit window runs from the AO
spawn through the point immediately before the merge action; read-only status
checks are observation, not intervention. Canonical definitions live in
pr-lifecycle and pr-green-definition.
This repo requires explicit human MERGE APPROVED authorization before any
merge (see this repo's merge-safety policy) — that authorization step, and the
gh pr merge command it triggers, are not by themselves a zero-touch
violation. The metric measures AO's autonomy in producing a mergeable-quality
PR, not who executes the final merge click. (Prior to
PR #8217, condition
#3 required skeptic-cron.yml to have auto-merged the PR; that gate and its
auto-merge mechanism no longer exist in this repo, so this condition is retired
rather than left permanently unsatisfiable.)
Specifically:
- AO spawned the worker session autonomously (via
ao spawn, lifecycle-worker, or poller) - The worker completed the applicable draft gates per
pr-lifecycle, then reached/green, without external nudges - No human/terminal session pushed commits, changed PR content, resolved comments, fixed CI, or posted reviews on the PR branch before the authorized merge action. The required
MERGE APPROVEDauthorization and merge action itself are excluded.
Quality-complete criteria
Use ~/.claude/skills/pr-lifecycle/SKILL.md for the draft-phase sequence and
~/.claude/skills/pr-green-definition/SKILL.md for the two /green gates.
CodeRabbit and Bugbot are advisory and do not determine zero-touch status.
Repo evidence exceptions still apply where the evidence standards permit them.
What breaks zero-touch
- A Claude Code terminal session (human-operated) pushed fixes to the PR branch
- A human or terminal session posted review comments or approvals
- A human dismissed a bot review to unblock merge
- A terminal session ran
@coderabbitai approveor similar to bypass a gate - A human manually triggered CI re-runs to get past flaky tests
Not counted as breaking zero-touch: the mandatory MERGE APPROVED human
authorization and the merge command itself — every PR in this repo requires
this regardless of how autonomously it was produced.
What does NOT break zero-touch
- The operator asking questions about the PR in Slack (observation, not intervention)
- Bot-to-bot interactions (CR, Bugbot, Skeptic, evidence-review-bot)
- The operator approving the AO spawn itself (dispatch is expected; execution must be autonomous)
Measurement — GitHub actor audit
A PR is zero-touch if, **from AO spawn until immediately before the merge
action**, the only GitHub actors (commits, reviews, comments) are:
$AO_AGENT_GH_LOGIN(AO agent GitHub identity)github-actions[bot](CI)coderabbitai[bot](code review)cursor[bot](Bugbot)
**The required MERGE APPROVED authorization and merge action are excluded
from this audit.** Since PR #8217 removed the auto-merge mechanism, every merge
in this repo is executed by a human-facing session under explicit authorization.
Only actions before the merge command are audited. A human fix or review after
the PR first reaches /green still makes it operator-assisted; the current
merge candidate must remain green at its live head.
If $OPERATOR_GH_LOGIN (the operator's personal account, default gh api user -q .login) or any other human/terminal identity
appears as a commit author, reviewer, or commenter before the merge, it's
operator-assisted.
KPI
zero_touch_rate = (zero-touch merged PRs) / (total merged PRs) * 100
Measured weekly. Target: increasing trend.
Labeling (planned)
Previously planned to run via skeptic-cron.yml; that workflow no longer exists
(removed by PR #8217). Labeling mechanism TBD — not yet implemented, tracked in beads.
Reference
(No external doc currently exists — this SKILL.md is the sole source of truth.
A prior external doc reference pointed to files that do not exist; it was
removed rather than left as a dead link.)