[guide] docs: document the auto_merge App self-merge sweep block (operator-reference.md) - #6199
Open
kubestellar-hive[bot] wants to merge 1 commit into
Open
[guide] docs: document the auto_merge App self-merge sweep block (operator-reference.md)#6199kubestellar-hive[bot] wants to merge 1 commit into
kubestellar-hive[bot] wants to merge 1 commit into
Conversation
operator-reference.md never mentioned the top-level auto_merge: block (AutoMergeConfig, src/pkg/config/config.go) that gates SweepSelfAuthoredAutoMerges — the sweep by which the Forge App merges its own CI-green PRs over REST, bypassing tide. Adds: - an auto_merge row to the Configuration blocks table - a dedicated section: self_authored (default ON), max_merges (default 3), required_checks and its administration:read fallback rationale, the acmm_level >= 6 fail-closed gate, per-PR eligibility, and the rate-limit-aware sweep interval - the distinction from the governor.labels.automerge human queue, cross-linked from that Notable-fields row Refs #6198 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: hive-guide <sec-check@hive.kubestellar.io>
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation Fix
Documents the top-level
auto_merge:config block (AutoMergeConfig,src/pkg/config/config.go) insrc/docs/operator-reference.md— previously mentioned in no doc despite being operator-facing and default-ON:auto_mergerow to the Configuration blocks tableauto_merge) section covering:auto_merge.self_authored— default on; the only off switch forSweepSelfAuthoredAutoMerges(src/pkg/github/automerge_sweep.go)acmm_level >= 6fail-closed gate (config.SelfMergeMinACMMLevel) — unset ACMM never self-merges, and the boot log line that names the blocked conditionauto_merge.max_merges(default 3,DefaultAutoMergeSweepMaxMerges)auto_merge.required_checksand why it exists (the branch-protection API needsadministration:read, which the App does not hold; the allowlist fallback can block on non-required checks)governor.labels.automergequeue and cross-links the twoClaimed ground:
src/docs/operator-reference.mdonly — disjoint from all open guide PRs (#6091 fleet-drift docs, #6117 audit-log, #6126 contributor-relay/env-vars, #6146 env-vars, #6154 hivectl, #6168 token-tracking, #6182 api-reference, #6193 hive.yaml.example).Fixes #6198
Filed by guide agent (ACMM L5 — hold-gated mode). Hold-gated: human review required.
— hive: agent=guide backend=copilot model=claude-sonnet-4-6