AGENT SKILL

merge-authority

Decide whether an automated merge, promotion, or approval is actually authorised. Use when an agent or bot will merge, auto-merge, promote, or release; when a passing check is being treated as final approval; when an approval or green result is reused after the branch or its base moved; when a change's risk is self-declared; or when an approval comes from an account the automation controls. Do not use to judge what a diff contains (use diff-scope-audit), to check whether something already merged (use verify-before-cite), or to judge a finished-looking result (use false-competence-check).

License 许可
Apache-2.0
所属仓库
SVRN-AGNT/Dale-OS
最近更新
2026-11-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
merge-authority
description
Decide whether an automated merge, promotion, or approval is actually authorised. Use when an agent or bot will merge, auto-merge, promote, or release; when a passing check is being treated as final approval; when an approval or green result is reused after the branch or its base moved; when a change's risk is self-declared; or when an approval comes from an account the automation controls. Do not use to judge what a diff contains (use diff-scope-audit), to check whether something already merged (use verify-before-cite), or to judge a finished-looking result (use false-competence-check).

02 资源文件 1

03 SKILL.md 正文

Merge Authority

Rule

Evidence authorises only the exact tree it judged. Permission cannot come from the party asking for it.

An automated merge is safe when nothing the requester controls can grant the permission. The usual failure is quiet: a check result from an older tree, a risk level the author typed, a sign-off from an account the bot can drive.

Workflow

  1. Tie evidence to the tree that will land. A check or review describes one specific combination of change and base. A new commit on the branch invalidates it. So does movement of the base, because the combined result has never been tested. Re-test on the current base, or use a merge queue that tests the exact result before landing it. Any merge except a fast-forward lands a commit whose id differs from the reviewed head. Record both, and confirm the landed tree matches the tested one.
  2. Classify risk from the change itself. Decide sensitivity from what the change touches, such as authentication and permissions, the checks that enforce them, data schema, release tooling, or anything that moves money. Ignore any risk level the author asserts: the author most likely to underrate a change is also the one least likely to label it. When a file is moved, renamed, or deleted, judge both its old and new location, because moving something out of a sensitive area is itself a sensitive change.
  3. Apply the rule as it stood before the change. The policy that decides whether review is needed is read from the target branch. Otherwise a change could relax the policy that governs it.
  4. Require an independent approver for sensitive changes. An approval counts only if it comes from someone the automation cannot impersonate. If no such approver exists, sensitive changes stop and a person lands them. Name this honestly as a stop, not as a pending approval nobody can give. A narrower substitute is a clearance from a reviewer of a different vendor, re-derived from that reviewer's own record at the moment of merge. Use it only with a written threat model that says who could still forge the evidence.
  5. Treat unknowns as risky. If the list of changed files or the policy cannot be read, the change has not been assessed, and it does not merge.
  6. Know who lands changes. Whether that is one controller, a merge queue, or a single maintainer, name it, and keep workers from merging around it.

Anti-patterns

  • A passing build accepted as approval for changes no test can judge, such as permission logic.
  • An approval carried over after new commits or a moved base.
  • A bot's sign-off satisfying a gate meant for a human.
  • A check trusted by its name or by the app that posted it. Several workflows can post through one app, so the gate must prove which workflow definition and run produced the check, and that the definition comes from the protected branch.
  • A hold label, or any other marker, that no gate actually reads.

Relationship

protected-boundary decides when an agent must stop and ask. risk-kernel builds autonomy limits into the system itself; this skill applies the same idea to the merge step. diff-scope-audit judges the diff and the words used to report it. verify-before-cite checks the state afterwards.

Falsify it

Add a commit after the last passing run and see whether the merge is still allowed. Advance the base without touching the branch and ask the same question. Label a permissions change "low risk" and see whether the decision changes. Edit the review policy inside the change and see which version is applied. Any success means the authority can be forged.

Stop conditions

  • A sensitive change has no approver the automation cannot impersonate, and no second-vendor clearance re-derived at merge time under a written threat model.
  • The tree that would land differs from the tree that was tested.
  • Landing the change would also release to production, and that step belongs to a person.

Output

TREE TESTED (head + base) · TREE THAT WILL LAND · DERIVED RISK (which paths) · POLICY SOURCE · APPROVER INDEPENDENCE · DECISION (merge / stop / person).

04 同仓库更多 Skills

SVRN-AGNT
SVRN-AGNT/Dale-OS

verify-before-cite

Live-verify work state before reporting or relying on it, and reconcile every place that state is recorded. Use before a status report, standup, handoff, or "what's open" answer; when a tracker, queue, memory note, or prior session says something is pending, merged, shipped, or blocked; after any merge, release, or promotion; or when records in two places disagree. Do not use to judge whether a claim about data or numbers is proven.

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

truth-boundary

Enforce provenance and uncertainty boundaries. Use when a system mixes observed, authoritative, user-attested, derived, estimated, inferred, reconstructed, or unknown values; when missing data could become zero; or when downstream output may overstate certainty. Also use when told to fill a missing, failed, or empty value with zero, a default, or a guess so the work can keep going.

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

systemic-bug-instinct

Use first, before reading, searching or editing code, whenever a defect, wrong value or balance, stale state, edge-case failure, broken workflow, or misleading UI is reported and a fix is requested, even when the request names the one file to patch. Diagnoses the bug as a possibly systemic failure to find the root mechanism, failure class, blast radius across sibling consumers, fix location, and regression guard. Do not use for a one-line typo or syntax fix, for two components that disagree about one concept (use seam-audit), for a dense screen whose value may be a presentation problem (use operator-ui-audit), or for financial records that contradict each other (use accounting-integrity).

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

swarm

Design and run the smallest effective multi-agent harness for complex work. Use when the user explicitly says SWARM or asks for a swarm, multi-agent workflow, adaptive orchestration, harness design, parallel investigation, independent falsification, architecture reconciliation, broad audit, competing root-cause hypotheses, or high-risk work that benefits from independent reasoning lanes. Do not use for trivial edits or linear tasks one agent can complete cheaply; the best swarm may use zero subagents. SWARM grants orchestration, not broader implementation, merge, deploy, credential, financial, or destructive authority.

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

shipping-lanes

Design, run, or adopt a pipeline in which agent-written changes are reviewed and merged without a person in the routine loop, with review and landing matched to each change's risk. Use when setting up or changing how PRs get reviewed and merged by agents; when every change waits on one person, or none gets reviewed; when a reviewer is only reached if the author asks for it; when docs and permission changes take the same path; or when bringing a new repository onto the shared shipping system. Do not use to decide whether one specific merge is authorised (use merge-authority), to judge a finished-looking result (use false-competence-check), or to prove a single guard is reached (use reachability-proof).

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

seam-audit

Audit the boundary where two components represent the same concept, because each side can pass its own tests while the combined system is wrong. Use when a value looks coherent but is wrong, when a projection or compatibility view stands in for a full record, when sync or merge involves deletes, when status codes or result shapes cross a boundary, or when "unknown" may become zero, false, or success as it crosses between two components. Do not use for a defect inside one component (use systemic-bug-instinct), for grading one claim's certainty (use truth-boundary), or for a financial repair's preview and commit (use ledger-repair).

★ 1