Skip to content

docs(autonomy): name c3-this-run per-invocation merge widening in matrix - #2334

Merged
kyle-sexton merged 1 commit into
mainfrom
cursor/autonomy-c3-this-run-matrix-63e1
Aug 12, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
cursor/autonomy-c3-this-run-matrix-63e1

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Fixes #2087.

The guardrail matrix now acknowledges the autopilot + --merge c3-this-run typed-pair exception and routes to the source-control config-resolution contract. Standing merge promotion is unchanged.

Related

@cursor

cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 5s —— View job


Security Review

  • Gather context (diff, changed files)
  • Review plugins/autonomy/.claude-plugin/plugin.json
  • Review plugins/autonomy/CHANGELOG.md
  • Review plugins/autonomy/reference/guardrails.md
  • Post findings

Scope: This PR is docs-only — a version bump (0.15.1 → 0.15.2), a changelog entry, and a new table row + "Per-invocation merge widening" section in plugins/autonomy/reference/guardrails.md that summarizes and cross-links to an existing, unmodified contract in plugins/source-control/reference/config-resolution.md. No code, scripts, or GitHub Actions workflows are touched, so the injection/permissions/supply-chain lanes zizmor covers don't apply here.

Since these guardrail docs function as behavioral policy that an autonomous agent reads to decide its own merge authority, I specifically checked whether the new summary text weakens, mischaracterizes, or expands the underlying autopilot + --merge c3-this-run exception relative to the authoritative source it points to:

  • The widened-authority ceiling ("up to and including C3, still bounded by the unconditional C4/C5 human-merge floor") is stated correctly and matches config-resolution.md#L132-L148.
  • The non-persistence property ("never persisted... reverts to the tracked babysit_loop_merge resolution") is consistent with the source's precedence rules, not looser.
  • The relative link (../../source-control/reference/config-resolution.md) resolves correctly to the actual file — not a dead/misleading pointer.
  • This PR doesn't itself grant any new authority — the exception mechanism already existed in config-resolution.md prior to this change; this PR only adds a cross-reference to it from the matrix doc.

No security issues found. This is an accurate, non-expanding documentation cross-reference with no code or workflow surface.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d2a3f2b5e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 3m 2s —— View job


Review complete

  • Gather context (diff, CLAUDE.md, REVIEW.md)
  • Understand the request
  • Review changed files for correctness & maintainability
  • Post findings

Summary

This PR adds a glance-table row and a new ## Per-invocation merge widening section to plugins/autonomy/reference/guardrails.md, plus a version bump (0.15.1 → 0.15.2) and CHANGELOG entry, documenting the autopilot + --merge c3-this-run typed-pair exception owned by source-control/reference/config-resolution.md.

I checked the new prose against plugins/source-control/reference/config-resolution.md (the "one named exception" paragraphs, the C4/C5 floor, and the "never persisted / no config layer supplies either token" rules) — the paraphrase is accurate: the C3 ceiling, the C4/C5 floor, the baseline-adoption requirement, and the "invocation-line only, never config" rule are all represented faithfully.

One finding posted inline on plugins/autonomy/reference/guardrails.md (L60-75): the new content contradicts two invariants this same document states about itself — "every deeper question routes to a named leaf under guardrails/" (L6-7) and "depth is never answered from this document" (L51-52). The new table row is the only leaf link in this file (and the only cross-plugin link anywhere under plugins/autonomy/reference/) that points outside reference/guardrails/, and the new section inlines ~14 lines of contract explanation into the hub instead of deferring to a leaf. Suggested fix: move the explanation into a new reference/guardrails/merge-widening.md leaf that cites out to config-resolution.md, and point the glance-table row at that local leaf instead.
Fix this →

No security-relevant surface in this diff (pure documentation/version-metadata change), so nothing routed to the security lane.
· branch cursor/autonomy-c3-this-run-matrix-63e1

Fixes #2087.

Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/autonomy-c3-this-run-matrix-63e1 branch from 5d2a3f2 to 5d38c13 Compare August 12, 2026 04:37
@github-actions

Copy link
Copy Markdown
Contributor

Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count.

@github-actions

Copy link
Copy Markdown
Contributor

Warning

Automated security review did not complete — this is an infrastructure failure, not a review verdict.

Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."

The check is green on purpose, and it is not evidence. It certifies that a security pass ran, and this one did not complete — but the cause is outside this PR's control, so merging is deliberately left unblocked rather than locking every merge for the length of the outage. Nothing was reviewed at this head. Where this check is required, it is satisfied without that evidence; a human should review security-sensitive changes here before merging.

Re-run the job to retry the review; a new push also retries it only if the caller's pull_request triggers include synchronize (the canonical security caller keeps it). An automatic retry may already have run — it is skipped when a partial review could duplicate comments, or when the failure class needs an operator.

Re-running does NOT help for every class:

  • rate-limit that persists across re-runs, or auth — the credential or usage budget needs an operator; retrying will not clear it.
  • a run that exhausted its turn budget ("subtype":"error_max_turns" above) will exhaust it again. As the PR author, split the change into smaller PRs; raising --max-turns is a change to the caller workflow, not something you can set on this PR.

@kyle-sexton
kyle-sexton merged commit 4c90b45 into main Aug 12, 2026
1 check passed
@kyle-sexton
kyle-sexton deleted the cursor/autonomy-c3-this-run-matrix-63e1 branch August 12, 2026 04:45
@github-actions

Copy link
Copy Markdown
Contributor

Warning

Automated review did not complete — this is an infrastructure failure, not a review verdict.

Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."

Re-run the job to retry the review. A new push re-triggers this lane only if the caller's pull_request triggers include synchronize (the canonical caller omits it).
An automatic retry may already have run — it is skipped when a partial review could duplicate comments, or when the failure class needs an operator (auth).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

governance(autonomy): the guardrail matrix is silent on the c3-this-run per-invocation merge widening

2 participants