diff --git a/README.md b/README.md index 76939f174c..9d179536e3 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Hive uses an **AI Codebase Maturity Model** (ACMM) with six levels that control | L3 | Quality-Gated (Measured) | Quality agent opens issues and PRs gated by the literal `hold` level-gate label. Others remain advisory. | | L4 | Security-Aware (Adaptive) | All agents file issues. Quality, sec-check, and CI open PRs gated by `hold`. | | L5 | Semi-Autonomous (Semi-Automated) | All agents open PRs gated by `hold`. Humans batch-review and approve. | -| L6 | Fully Autonomous | Agents open PRs and auto-merge when checks pass. Non-outreach PRs have no level hold; outreach PRs remain held. | +| L6 | Autonomous | Agents open PRs and auto-merge when checks pass. Non-outreach PRs have no level hold; outreach PRs remain held. | See [src/docs/acmm-policy-matrix.md](src/docs/acmm-policy-matrix.md) for the full matrix and [src/docs/labels-and-control-signals.md](src/docs/labels-and-control-signals.md) for label behavior. diff --git a/bin/hive-setup.sh b/bin/hive-setup.sh index 5409665a41..9628127f0c 100755 --- a/bin/hive-setup.sh +++ b/bin/hive-setup.sh @@ -25,7 +25,7 @@ # L1: (local tooling only — no hive needed) # L2: supervisor scanner reviewer (analysis + issue filing, NO PRs) # L3: supervisor scanner reviewer architect (opens PRs) -# L4: supervisor scanner reviewer architect outreach sec-check (full autonomy) +# L4: supervisor scanner reviewer architect outreach sec-check (autonomous) # L5+: supervisor scanner reviewer architect outreach sec-check strategist quality set -euo pipefail diff --git a/changelog.d/changed-l6-autonomous-wording.md b/changelog.d/changed-l6-autonomous-wording.md new file mode 100644 index 0000000000..c911ce9657 --- /dev/null +++ b/changelog.d/changed-l6-autonomous-wording.md @@ -0,0 +1 @@ +- ACMM L6 is now labelled **Autonomous** rather than "Fully Autonomous" everywhere operators see it — the dashboard header pill (`L6 · Autonomous`), the maturity-level dialog, the hub's level picker and ACMM pages, the `level-6` pack name, advisor criteria text, the tool-approval desk rationale, and the docs. L6 still parks items for human decisions, honours `hold`, cannot grant secrets, org membership, or workflow pushes, and keeps an owner in the loop, so "fully" overstated what the level does. The ladder is otherwise unchanged (L1 Inception → L5 Semi-Autonomous → L6 Autonomous); the numeric `acmm_level: 6` config value and the pack filename `level-6.yaml` are untouched, so no configuration changes are needed. diff --git a/dashboard/index.html b/dashboard/index.html index 5a937ce9f6..acade3948d 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -3444,7 +3444,7 @@

Agents

const titles = { observe: 'Data collection only — governor unchanged', suggest: 'Experiments require your approval', - evolve: 'Fully autonomous experimentation', + evolve: 'Autonomous experimentation', }; html += ``; } diff --git a/docs/presentations/hive-hub-and-spoke.html b/docs/presentations/hive-hub-and-spoke.html index 0843904029..1bb528dcad 100644 --- a/docs/presentations/hive-hub-and-spoke.html +++ b/docs/presentations/hive-hub-and-spoke.html @@ -42,7 +42,7 @@

Hive: Hub & Spoke

AI Agent Orchestration for Open Source

-

From brainstorming to full autonomy and everything in-between.

+

From brainstorming to autonomous operation and everything in-between.

A fully customizable fleet of AI agents covering every level of project maintenance.

hive.hivecommons.dev

@@ -97,7 +97,7 @@

Agents & the Governor

ACMM Levels & the Proxy

-

The AI Codebase Maturity Model - 6 levels from brainstorming to fully autonomous.

+

The AI Codebase Maturity Model - 6 levels from brainstorming to autonomous.

The ACMM Proxy sits between agents and GitHub, enforcing level constraints and preventing rogue behavior.

diff --git a/examples/acmm/README.md b/examples/acmm/README.md index fdc3e3c0b4..44b7259b67 100644 --- a/examples/acmm/README.md +++ b/examples/acmm/README.md @@ -10,6 +10,6 @@ These Markdown fragments document the operating constraints for each AI Codebase | [l3.md](l3.md) | L3 Quality-Gated | Measured quality-lane behavior plus the reviewer on the hold-gated PR queue. | | [l4.md](l4.md) | L4 Security-Aware | Issues plus selected hold-gated PR behavior; reviewer on the hold-gated PR queue. | | [l5.md](l5.md) | L5 Semi-Autonomous | Hold-gated PR behavior for trusted lanes. | -| [l6.md](l6.md) | L6 Fully Autonomous | Auto-merge-on-green constraints. | +| [l6.md](l6.md) | L6 Autonomous | Auto-merge-on-green constraints. | See [src/docs/acmm-policy-matrix.md](../../src/docs/acmm-policy-matrix.md) for the authoritative lane-by-lane policy matrix used by the built-in packs. diff --git a/examples/acmm/l6.md b/examples/acmm/l6.md index 806dc400c2..232c0f0242 100644 --- a/examples/acmm/l6.md +++ b/examples/acmm/l6.md @@ -1,8 +1,8 @@ -# ACMM Level 6 — Fully Autonomous +# ACMM Level 6 — Autonomous **This file OVERRIDES any conflicting instruction in your agent policy.** -You are operating at **ACMM Level 6**. The project grants full autonomous operation. +You are operating at **ACMM Level 6**. The project grants autonomous operation. ## Permissions @@ -24,4 +24,4 @@ At L6, you own the full lifecycle. The operator trusts you to: ## Budget Awareness -Full autonomy does not mean unlimited spending. Respect the governor's token budget and mode signals. If budget is low, focus on high-impact work and defer low-priority items. +Autonomy does not mean unlimited spending. Respect the governor's token budget and mode signals. If budget is low, focus on high-impact work and defer low-priority items. diff --git a/examples/kubestellar/auto-qa-skill.md b/examples/kubestellar/auto-qa-skill.md index 2d6b7a861b..f997cc54e2 100644 --- a/examples/kubestellar/auto-qa-skill.md +++ b/examples/kubestellar/auto-qa-skill.md @@ -41,7 +41,7 @@ Process items in this priority order: --- -### 2. For Each Item — Full Autonomous Workflow +### 2. For Each Item — Autonomous Workflow #### 2a. Close Stalled Copilot PR (if one exists for this issue) diff --git a/src/cmd/hive/approvalhook.go b/src/cmd/hive/approvalhook.go index 99ffe5f38f..a0e1a5cf76 100644 --- a/src/cmd/hive/approvalhook.go +++ b/src/cmd/hive/approvalhook.go @@ -13,7 +13,7 @@ import ( type hookApprovalAdapter struct { inbox *toolapprove.Inbox // acmmLevel is the hive's level, recorded on the queued item so the panel - // can flag an approval parked on a full-autonomy hive as a probable policy + // can flag an approval parked on an L6 (Autonomous) hive as a probable policy // bug (throughput-contract requirement 4) exactly as it does for the // sweep-produced ones. acmmLevel int diff --git a/src/cmd/hive/outreach_hold_test.go b/src/cmd/hive/outreach_hold_test.go index c604970b3d..721011f362 100644 --- a/src/cmd/hive/outreach_hold_test.go +++ b/src/cmd/hive/outreach_hold_test.go @@ -16,8 +16,8 @@ func TestShouldHoldAgentPR(t *testing.T) { ownsRepo func(agent, repo string) bool want bool }{ - {name: "cross-repo outreach is held at full autonomy", agent: "outreach", repo: "someone-else/awesome-list", level: 6, ownsRepo: ownsRepo, want: true}, - {name: "same-repo outreach is not held at full autonomy", agent: "outreach", repo: "hive", level: 6, ownsRepo: ownsRepo, want: false}, + {name: "cross-repo outreach is held at L6", agent: "outreach", repo: "someone-else/awesome-list", level: 6, ownsRepo: ownsRepo, want: true}, + {name: "same-repo outreach is not held at L6", agent: "outreach", repo: "hive", level: 6, ownsRepo: ownsRepo, want: false}, {name: "same-repo outreach accepts an org-qualified target", agent: "outreach", repo: "hivecommons/hive", level: 6, ownsRepo: ownsRepo, want: false}, {name: "same-repo outreach still follows the level gate", agent: "outreach", repo: "console", level: 4, ownsRepo: ownsRepo, want: true}, {name: "outreach identity is normalized", agent: " Outreach ", repo: "other/repo", level: 6, ownsRepo: ownsRepo, want: true}, diff --git a/src/crux/toolapprove/decide.go b/src/crux/toolapprove/decide.go index 2d4b98e54a..0b8b35c3c6 100644 --- a/src/crux/toolapprove/decide.go +++ b/src/crux/toolapprove/decide.go @@ -165,11 +165,11 @@ func Decide(ctx context.Context, req ToolRequest, acmmLevel int, agentId AgentId Agent: agentName, } - default: // L6 Full Autonomy - // L6 Full: side-effectful tools route through security scan, auto-approve on green + default: // L6 Autonomous + // L6 Autonomous: side-effectful tools route through security scan, auto-approve on green return Verdict{ Decision: DecisionSecurityScan, - Rationale: "ACMM L6 (full autonomy): side-effectful tool routes through pre-execution security scan; auto-approves on green", + Rationale: "ACMM L6 (Autonomous): side-effectful tool routes through pre-execution security scan; auto-approves on green", Tool: toolName, ACMMLevel: acmmLevel, Agent: agentName, @@ -213,7 +213,7 @@ func Resolve(ctx context.Context, req ToolRequest, acmmLevel int, agentId AgentI switch { case acmmLevel >= 6: v.Decision = DecisionAutoApprove - v.Rationale = "ACMM L6 full autonomy: auto-approved on green security scan" + v.Rationale = "ACMM L6 (Autonomous): auto-approved on green security scan" case acmmLevel == 5: v.Decision = DecisionAutoApprove v.Rationale = "ACMM L5 hold-gated: auto-approved on green security scan" diff --git a/src/crux/toolapprove/desk.go b/src/crux/toolapprove/desk.go index af6105bdb1..7e7edde542 100644 --- a/src/crux/toolapprove/desk.go +++ b/src/crux/toolapprove/desk.go @@ -115,7 +115,7 @@ type RuleMatch struct { // // L0-L2 operator-approve — nothing side-effectful resolves without a human // L3-L5 security-scan — may reach auto-approve only via a green scan -// L6+ auto-approve — full autonomy; the desk is an audit record, not a gate +// L6+ auto-approve — autonomous; the desk is an audit record, not a gate // // An unknown/negative level clamps to the most restrictive lane, so a // mis-parsed or absent level can never widen authority. diff --git a/src/crux/toolapprove/inbox.go b/src/crux/toolapprove/inbox.go index 2012a11e9e..e533f9fa04 100644 --- a/src/crux/toolapprove/inbox.go +++ b/src/crux/toolapprove/inbox.go @@ -452,12 +452,12 @@ func (i *Inbox) ResolveMany(ids []string, approved bool, operator, rationale str return out } -// PendingAtFullAutonomy returns the pending items queued at an ACMM level that -// claims full autonomy. Per requirement 4 of the throughput contract, these are +// PendingAtAutonomousLevel returns the pending items queued at an ACMM level that +// is Autonomous (L6). Per requirement 4 of the throughput contract, these are // surfaced as PROBABLE POLICY BUGS rather than silently waiting: an inbox that -// accumulates on a hive whose level says "full autonomy" is a misconfiguration +// accumulates on a hive whose level says "Autonomous" is a misconfiguration // signal. The API marks them and the dashboard renders them distinctly. -func (i *Inbox) PendingAtFullAutonomy() []PendingItem { +func (i *Inbox) PendingAtAutonomousLevel() []PendingItem { var out []PendingItem for _, p := range i.List() { if p.ACMMLevel >= 6 { diff --git a/src/crux/toolapprove/inbox_l6_test.go b/src/crux/toolapprove/inbox_l6_test.go index 6c8fb9c510..13544cd585 100644 --- a/src/crux/toolapprove/inbox_l6_test.go +++ b/src/crux/toolapprove/inbox_l6_test.go @@ -146,9 +146,9 @@ func TestL6RuleAutoApproveNeverQueues(t *testing.T) { } } -// TestPendingAtFullAutonomyIsFlagged pins requirement 4: an item queued on a +// TestPendingAtAutonomousLevelIsFlagged pins requirement 4: an item queued on a // hive at L6 is surfaced as a probable policy bug rather than silently waiting. -func TestPendingAtFullAutonomyIsFlagged(t *testing.T) { +func TestPendingAtAutonomousLevelIsFlagged(t *testing.T) { inbox := NewInbox(filepath.Join(t.TempDir(), "inbox.json")) if _, err := inbox.Enqueue(sideEffectfulRequest(), Verdict{ @@ -156,9 +156,9 @@ func TestPendingAtFullAutonomyIsFlagged(t *testing.T) { }); err != nil { t.Fatalf("Enqueue: %v", err) } - bugs := inbox.PendingAtFullAutonomy() + bugs := inbox.PendingAtAutonomousLevel() if len(bugs) != 1 { - t.Fatalf("PendingAtFullAutonomy returned %d items, want 1 — an inbox accumulating at L6 "+ + t.Fatalf("PendingAtAutonomousLevel returned %d items, want 1 — an inbox accumulating at L6 "+ "is a misconfiguration signal that must be surfaced, not queued politely", len(bugs)) } @@ -172,8 +172,8 @@ func TestPendingAtFullAutonomyIsFlagged(t *testing.T) { if _, err := inbox.Enqueue(other, Verdict{Decision: DecisionOperatorApprove, ACMMLevel: 3}); err != nil { t.Fatalf("Enqueue: %v", err) } - if got := len(inbox.PendingAtFullAutonomy()); got != 1 { - t.Errorf("an L3 pending item was flagged as a policy bug: PendingAtFullAutonomy=%d, want 1", got) + if got := len(inbox.PendingAtAutonomousLevel()); got != 1 { + t.Errorf("an L3 pending item was flagged as a policy bug: PendingAtAutonomousLevel=%d, want 1", got) } } diff --git a/src/docs/acmm-advisor.md b/src/docs/acmm-advisor.md index 489c7524e4..1fc17f3008 100644 --- a/src/docs/acmm-advisor.md +++ b/src/docs/acmm-advisor.md @@ -18,7 +18,7 @@ The advisor evaluates a fixed set of six signals (`Signals` struct, `src/pkg/acm | `HoldCount` | Count of open PRs still carrying a `hold` label awaiting human review. | | `HasQualityAgent` | Whether an active quality/coverage agent is present in the config. | -Levels run L1 (Assisted) through L6 (Fully Autonomous), matching the level pack files and the dashboard's 1–6 bound (`src/pkg/acmmadvisor/acmmadvisor.go:34-42`). The advisor never proposes a target more than one level above the current level — advancement is always incremental (`levelStep = 1`, same file). +Levels run L1 (Assisted) through L6 (Autonomous), matching the level pack files and the dashboard's 1–6 bound (`src/pkg/acmmadvisor/acmmadvisor.go:34-42`). The advisor never proposes a target more than one level above the current level — advancement is always incremental (`levelStep = 1`, same file). ### Where the live signals come from @@ -42,7 +42,7 @@ The advisor computes the checklist for advancing to the level **one above** the | L3 (Measured) | required | ≥ 40% | ≥ 3 | — | — | — | | L4 (Adaptive) | required | ≥ 60% | ≥ 5 | ≥ 70% | — | — | | L5 (Semi-Automated) | required | ≥ 75% | ≥ 8 | ≥ 85% | ≤ 25 | ≤ 15 | -| L6 (Fully Autonomous) | required | ≥ 90% | ≥ 12 | ≥ 95% | ≤ 10 | ≤ 5 | +| L6 (Autonomous) | required | ≥ 90% | ≥ 12 | ≥ 95% | ≤ 10 | ≤ 5 | The L2 pack includes a COMMENT-only `reviewer` as the review-first entry point, and the reviewer ships in every pack from L2 up (L3/L4 review the `hold`-gated queue with no merge power; L5/L6 per [#8023](https://github.com/hivecommons/hive/issues/8023)); the advisor criteria above are unchanged by it. Decision taken by hive: review is part of L2 proper (COMMENT-only); no L2.5 level — a new level would ripple through level enums, advisor and dashboard; keeping L2 triage+review preserves the review-first entry point the vote asked for. diff --git a/src/docs/acmm-policy-matrix.md b/src/docs/acmm-policy-matrix.md index 99122d54ca..7c82d24480 100644 --- a/src/docs/acmm-policy-matrix.md +++ b/src/docs/acmm-policy-matrix.md @@ -101,7 +101,7 @@ Agents open issues AND pull requests. Agent PRs get literal `hold` from the leve | operations (paused) | holdgated | `operations-holdgated.md` | | brainstorm | advisory | `brainstorm-advisory.md` | -### L6 — Fully Autonomous (15 agents) +### L6 — Autonomous (15 agents) Existing autonomous lanes can open issues, create PRs, and auto-merge on green CI. Auto-merge is off below L6; switching to L6 turns it on for every active repository, after which owners can toggle repositories individually. L6 PRs do not get the level hold, except outreach PRs into a repository the hive does not manage, which are still held for human review; outreach PRs into the hive's own repos auto-merge like any other lane's. Contributor PRs can merge through the contributor lane when the author has an operator-trusted tier or the conservative `auto_merge.contributor_tier.auto_promote_after_merged` clean-history ratchet admits them; reviewer verdict, CI, diff fences, soak and branch protection still apply. Hive never needs App Actions write for `action_required` workflow runs: when trusted same-repo bot/App/registry-trusted clanker PRs hit the workflow-approval banner, Hive posts `/ok-to-test` once per head and the repository's self-contained `hive-ok-to-test` workflow approves those runs with its `GITHUB_TOKEN`; if the workflow is absent or a `sentinel-alert` is present, Hive surfaces `workflow-approval-required:` / stage 085 for a human decision. Outreach handles community engagement. Reviewer stays advisory unless the self-authored review gate is enforcing: `review.require_approval: true` (or `governor.review_gate.mode: enforce`) makes the App self-authored sweep require same-head aggregate approval, while `requires_human`/incomplete verdicts can be cleared by a trusted human's normal GitHub Approve review on that exact head. For Hive-authored PRs, `review.self_authored_decision_policy: resolve` (the default) lets the reviewer resolve every decision question itself except those in a named risk class (permissions/credentials, security, sensitive paths, data loss/irreversible, merge/trust policy, external side effects, licensing/legal, unverifiable) or marked `hive-decision-risk: high`; set `escalate` to park every decision question at 085. Swarm `changes_requested`/`reject` still requires a fix or direct human merge. Use actual holds or GitHub branch rules for a universal merge stop. Adjudicator is the reviewer lane: it repairs, de-escalates, or recommends closing (and may close) escalated `needs-human` hive PRs, and never merges. Dedupe posts the same daily consolidation checklist as at L5 and stays recommendation-only. Telemetry and operations remain paused and use `ISSUES_AND_PRS`, so they never merge their own PRs. diff --git a/src/docs/agent-configuration.md b/src/docs/agent-configuration.md index 0417aa892c..b39c882ee7 100644 --- a/src/docs/agent-configuration.md +++ b/src/docs/agent-configuration.md @@ -775,7 +775,7 @@ You don't have to design a roster. Hive ships six **ACMM packs** (`level-1.yaml` | L3 | Quality-Gated (Measured) | quality opens issues and test PRs gated by literal `hold`; the rest stay advisory | | L4 | Security-Aware (Adaptive) | scanner/guide file issues; quality, ci-maintainer, and sec-check can open PRs gated by literal `hold` | | L5 | Semi-Autonomous (Semi-Automated) | issues **and** PRs; PRs are gated by literal `hold`; humans batch-approve | -| L6 | Fully Autonomous | auto-merge on green CI; no level hold, except cross-repo outreach PRs (target repo not managed by this hive) remain held | +| L6 | Autonomous | auto-merge on green CI; no level hold, except cross-repo outreach PRs (target repo not managed by this hive) remain held | Applying a level **reconciles the whole roster**, not just the diff: missing agents are created (as overlay files in `/data/agent-configs/`), existing agents are merged — pack values fill blanks, but your explicit `backend:`, `model:`, and `enabled: false` always win — and the level's `kick_template`, `mode` and `on_demand` are updated so the agent's *policy* matches the level (an `on_demand` you toggled yourself in the agent's settings dialog is operator-owned and left alone; leaving on-demand starts the agent, entering it stops it). A failed agent doesn't abort the rest; the level is only recorded as cleanly applied when every agent reconciled. diff --git a/src/docs/architecture.md b/src/docs/architecture.md index eaff927769..0647de65b1 100644 --- a/src/docs/architecture.md +++ b/src/docs/architecture.md @@ -293,7 +293,7 @@ flowchart LR L3["L3 Quality-Gated
quality opens PRs"] L4["L4 Security-Aware
more agents file/PR"] L5["L5 Semi-Autonomous
all PRs, hold gated"] - L6["L6 Fully Autonomous
auto-merge switches on"] + L6["L6 Autonomous
auto-merge switches on"] L1 --> L2 --> L3 --> L4 --> L5 --> L6 ``` @@ -304,7 +304,7 @@ flowchart LR | L3 | Quality-Gated (Measured) | `quality` opens PRs gated by literal `hold` about testing gaps, coverage, and CI health; others advisory. This measurement foundation is what earns automation at higher levels | | L4 | Security-Aware (Adaptive) | All agents file issues; quality, ci-maintainer, and sec-check can open PRs gated by literal `hold` | | L5 | Semi-Autonomous (Semi-Automated) | All agents open PRs — every PR carries literal `hold` for human review | -| L6 | Fully Autonomous | Agents open PRs and **auto-merge on green CI**; switching to L6 enables auto-merge for every active repo, owners may toggle repos afterward, no level hold, except cross-repo outreach PRs (target repo not managed by this hive) remain held | +| L6 | Autonomous | Agents open PRs and **auto-merge on green CI**; switching to L6 enables auto-merge for every active repo, owners may toggle repos afterward, no level hold, except cross-repo outreach PRs (target repo not managed by this hive) remain held | `supervisor` is always advisory. The full matrix is in [`acmm-policy-matrix.md`](acmm-policy-matrix.md). diff --git a/src/docs/cncf-reference-architecture.md b/src/docs/cncf-reference-architecture.md index dd9f76c5d0..131a128966 100644 --- a/src/docs/cncf-reference-architecture.md +++ b/src/docs/cncf-reference-architecture.md @@ -132,7 +132,7 @@ Two ideas define the architecture: judgment calls (read code, reason about a fix, write a PR). 2. **Autonomy is a dial, enforced in depth.** An **AI-native Capability Maturity - Model (ACMM)** with six levels (advisory → fully autonomous) is the single + Model (ACMM)** with six levels (advisory → autonomous) is the single control a human turns. Each level maps deterministically to a per-agent permission mode, and that mode is enforced at three independent layers: CLI tool denial, least-privilege scoped GitHub App tokens, and a network-level diff --git a/src/docs/design/knowledge-system.md b/src/docs/design/knowledge-system.md index 0861012c7e..f265610440 100644 --- a/src/docs/design/knowledge-system.md +++ b/src/docs/design/knowledge-system.md @@ -2,7 +2,7 @@ ## Context -Hive today targets teams at ACMM Level 3-4 — repos with CI, agents running 24/7. The goal is to make Hive useful starting from Level 1 (someone with an idea and no code), guiding them through the full developer journey to full automation. Along the way, a layered knowledge base (powered by llm-wiki) accumulates learnings, test patterns, and project-specific facts that compound over time — making agents smarter and automation safer at every level. +Hive today targets teams at ACMM Level 3-4 — repos with CI, agents running 24/7. The goal is to make Hive useful starting from Level 1 (someone with an idea and no code), guiding them through the full developer journey to autonomous operation. Along the way, a layered knowledge base (powered by llm-wiki) accumulates learnings, test patterns, and project-specific facts that compound over time — making agents smarter and automation safer at every level. This design is informed by contrasting MetaSwarm (dsifry/metaswarm) with Hive. MetaSwarm's best idea — a self-improving knowledge base with automated extraction and selective priming — is adopted here. Its weakest idea — using more LLMs to verify LLM output — is replaced by Hive's existing deterministic pipeline approach, with **testing** as the primary trust mechanism instead of adversarial LLM review. diff --git a/src/docs/design/tool-approval-desk.md b/src/docs/design/tool-approval-desk.md index b3060ba5eb..493ac168f0 100644 --- a/src/docs/design/tool-approval-desk.md +++ b/src/docs/design/tool-approval-desk.md @@ -61,7 +61,7 @@ verdict (`CeilingApplied`), and it shows up in the audit record. Pinned by | --- | --- | --- | | L0–L2 | `operator-approve` | Nothing side-effectful resolves without a human. | | L3–L5 | `security-scan` | May reach `auto-approve`, but only *via* a green scan. | -| L6+ | `auto-approve` | Full autonomy; the desk is an audit record, not a gate. | +| L6+ | `auto-approve` | Autonomous; the desk is an audit record, not a gate. | An unknown or negative level clamps to the most restrictive lane, so a mis-parsed or absent `acmm_level` can never widen authority @@ -154,10 +154,10 @@ audited policy changes — never as conservative shipped defaults. > `TestNoConservativeDowngradeAtHighAutonomy` states requirement 3 directly. **4. Operator-lane items at L6 are probable policy bugs.** An inbox that quietly -accumulates on a hive whose level says "full autonomy" is a misconfiguration -signal. `Inbox.PendingAtFullAutonomy` surfaces them, the API returns +accumulates on a hive whose level says "Autonomous" is a misconfiguration +signal. `Inbox.PendingAtAutonomousLevel` surfaces them, the API returns `policy_bug_count`, and the dashboard renders a warning banner rather than -letting them wait politely (`TestPendingAtFullAutonomyIsFlagged`). +letting them wait politely (`TestPendingAtAutonomousLevelIsFlagged`). Unchanged and deliberate: operator kill-switches and the `hold` label sit **above** the desk at every level. diff --git a/src/docs/env-vars.md b/src/docs/env-vars.md index fa4be53d0a..07cc69e78b 100644 --- a/src/docs/env-vars.md +++ b/src/docs/env-vars.md @@ -17,7 +17,7 @@ This reference is compiled by hand from the Go source under `src/`, the deployme | `HIVE_DASHBOARD_COOKIE` | No | none | **Client-side only** - read by `hivectl tui`, never by the server. Cookie header value (e.g. `hive_session=...`) carrying a per-user session, for hives that do not accept the shared token: hub-hosted ones, and spokes with an `authorized_users` allowlist. See [hivectl.md, Credentials](hivectl.md#credentials). | | `HIVE_DASHBOARD_BIND` | No | `127.0.0.1` for the legacy `dashboard/server.js` | Legacy Node dashboard listen address. Leave unset for loopback-only binding; set `HIVE_DASHBOARD_BIND=0.0.0.0` only when an authenticated reverse proxy or equivalent network control protects the unauthenticated legacy control endpoints. | | `HIVE_AUTHORIZED_USERS` | No | none | Comma-separated direct-route dashboard allowlist, with optional `user:role` entries. Used when `dashboard.authorized_users` is empty. | -| `HIVE_SELF_AUTHORIZATION_HOLD` | No | `github.self_authorization_hold` / `project.repo_policies[].self_authorization_hold`; when all are unset, default `true` through ACMM L5 and `false` at ACMM L6 Fully Autonomous | Process-level override for the #5117 self-authorization hold. Set `false` to let this hive skip and release self-authorization holds for every repo while preserving unrelated human holds; set `true` to keep the hold enabled even at L6. | +| `HIVE_SELF_AUTHORIZATION_HOLD` | No | `github.self_authorization_hold` / `project.repo_policies[].self_authorization_hold`; when all are unset, default `true` through ACMM L5 and `false` at ACMM L6 (Autonomous) | Process-level override for the #5117 self-authorization hold. Set `false` to let this hive skip and release self-authorization holds for every repo while preserving unrelated human holds; set `true` to keep the hold enabled even at L6. | | `HIVE_SELF_EXPERIMENTS_OPT_IN` | No | unset (off) | Opts this hive in to receiving hub-delivered Hive-self feature-flag assignments over heartbeat (`pkg/hub/spoke/self_experiment_flags.go`). Only the exact string `true` enables it; `1`, `yes`, `on` and any other value leave it off. Consent is local: the hub cannot opt a spoke in. Unsetting it withdraws the flags on the next heartbeat. Separate from the Experiment Lab/governor settings. | | `HIVE_REPORTER_TRUST_HOLD` | No | `github.reporter_trust_hold` / `project.repo_policies[].reporter_trust_hold`; when all are unset, follows `project.issue_filter.reporter_trust.enabled` | Process-level override for the #9665 reporter-trust hold (a PR whose rationale traces to an issue from an untrusted reporter is held at every ACMM level). When set, the dashboard toggle and per-repo overrides are locked and say so. | | `HIVE_REPO` | No | none | Bootstrap shortcut in `owner/repo` form; fills `project.org`, `project.repos`, and `project.primary_repo` if missing. | diff --git a/src/docs/getting-started.md b/src/docs/getting-started.md index 45d9c9f6c6..afcd57b18e 100644 --- a/src/docs/getting-started.md +++ b/src/docs/getting-started.md @@ -10,7 +10,7 @@ The biggest mistake new users make: seeing agent output and either (a) panicking ## Trust > Level. Always. -> You do not need to reach L6. Ever. L6 is full automation — agents merging code without human review. Some teams run at L4 or L5 indefinitely and that is completely fine. The number doesn't matter. What matters is whether you trust what the agents are producing. A team that runs at L3 with high confidence is in a better place than a team that jumped to L6 and is now drowning in agent change requests they don't understand. +> You do not need to reach L6. Ever. L6 is Autonomous — agents merge code on green CI without per-PR human review. Some teams run at L4 or L5 indefinitely and that is completely fine. The number doesn't matter. What matters is whether you trust what the agents are producing. A team that runs at L3 with high confidence is in a better place than a team that jumped to L6 and is now drowning in agent change requests they don't understand. > > **The goal is trust, not level.** @@ -295,7 +295,7 @@ See [sandbox-isolation.md](sandbox-isolation.md) for the full threat model, the **When to move up:** Only when you **genuinely trust the agents' judgment** — meaning you've reviewed enough of their PRs to know they're consistently doing the right thing, and your test suite is strong enough that passing checks genuinely means "safe to ship." There's no calendar for this one. -## L6 — Full Automation +## L6 — Autonomous **The level:** Full trust. Auto-merge is off below L6; when you switch to L6, Hive enables auto-merge for every active repo, then agents open PRs and merge them automatically when CI goes green. Owners can toggle individual repos off or back on afterward. No level hold, except outreach PRs into repositories the hive does not manage, which remain held for human review; outreach PRs into the hive's own repos auto-merge like any other. @@ -314,7 +314,7 @@ Telemetry and operations don't auto-enable just because you reached L6 — they **Be patient:** Trust the loop. If a bad PR merges, that's a signal to add a test, not to panic and drop levels. -> 💡 **Tip: L6 doesn't mean you're done reviewing.** Even at full automation, read the merged PRs weekly. Not to intervene — to calibrate. If you see a pattern you don't like (agents always touching the same file, tests that are too shallow), update the policy template and the next run corrects course. +> 💡 **Tip: L6 doesn't mean you're done reviewing.** Even at L6, read the merged PRs weekly. Not to intervene — to calibrate. If you see a pattern you don't like (agents always touching the same file, tests that are too shallow), update the policy template and the next run corrects course. **When to move up:** There is no up. You made it. 🐝 diff --git a/src/docs/github-write-surface.md b/src/docs/github-write-surface.md index 6e01a3df88..5d0d7c9a6a 100644 --- a/src/docs/github-write-surface.md +++ b/src/docs/github-write-surface.md @@ -252,7 +252,7 @@ write_surface: ``` - **Default off.** With no `enforce` list nothing changes: every lane keeps - its direct access, and an ACMM L6 hive stays fully autonomous. Enforcement + its direct access, and an ACMM L6 hive stays autonomous. Enforcement starts only when an operator lists a lane, at any ACMM level. - **Per lane.** Listing one lane does not affect the others. A replica (`scanner-2`) follows its base agent; `"*"` enforces every lane. Names are @@ -391,7 +391,7 @@ them survives. ## Not yet done These are deliberately out of scope so far. They change what an agent can do, -so they need operator sign-off first. ACMM L6 is full autonomy by design: none +so they need operator sign-off first. ACMM L6 is autonomous by design: none of them may reduce what an L6 hive can do by default. - **Removing direct write access by default.** The per-lane opt-in has landed diff --git a/src/docs/labels-and-control-signals.md b/src/docs/labels-and-control-signals.md index 97f735fc30..f0fad16268 100644 --- a/src/docs/labels-and-control-signals.md +++ b/src/docs/labels-and-control-signals.md @@ -63,7 +63,7 @@ Some hive-authored labels look like provenance but are read as signals, so they | GitHub "blocked by" dependency | Issues | GitHub enumeration, kick-list assembly | An open issue whose GitHub dependency list names an open blocker is enumerated with `DependsOn` edges and kept out of the ACTIONABLE ISSUES an agent picks from; the kick names it once in a `Blocked by open dependencies` footer with its blockers. A blocker that is closed resolves the edge; a mutual pair (A↔B) is dropped with a warning so neither hides the other. The blocker list failing to load fails open (issue offered). | Soft hold | Human (GitHub UI) or agent via `hive-open-issue --blocked-by` when splitting ordered children | Enumeration | Close the blocker, or remove the dependency on GitHub | None (`src/pkg/github/issue_dependencies.go`, `src/pkg/scheduler/kickmessage.go` `partitionBlockedIssues`/`formatBlockedIssuesNote`) | | `hive/` (**retired**, #12539) | Issues, PRs | None | Formerly marked which hive filed or touched an item. Replaced by the `` marker `bin/gh-wrapper.sh` appends after the identity footer (`**Instance:** \`\``) on every body it injects; `github.OriginHive` reads the marker and falls back to a leftover label. Fleet reports name the hive in ``, the seen-marker comment and the `Affected hives` block; claim markers carry `hive=`. Never a hold (#9371). | None | Nobody (was: `gh-wrapper.sh`, self-report joiner, hub relay) | — | `Client.RetireHiveIDLabels` runs at every boot until clean: strips the label from open items, deletes the definition once nothing open carries it, writes `/data/hive-id-label-retire-.json` and a `.done` marker | Hive id (`src/pkg/github/origin_marker.go`, `src/pkg/github/hive_id_label_retire.go`) | | `hold` from ACMM level gate | PRs | PR-request watcher, self-authored auto-merge release | Agent PRs at L3-L5 get literal `hold`; `outreach` PRs whose target repo is not one the hive manages (cross-repo outreach) are held at every level, while same-repo outreach PRs follow the level. The watcher, not the policy prompt, applies it from the PR's target repo (`config.AgentOwnsRepo`). | Hard merge gate | Hive App | PR creation, later self-authored auto-merge release | Auto-release only when current policy no longer requires the level hold, latest hold event was by the App, and the release path runs; otherwise a human removes it | Hive-wide ACMM and agent (`src/pkg/github/pr_request_watcher.go:452-524`, `src/pkg/github/pr_level_hold.go:16-124`) | -| `hold` from #5117 self-authorization | PRs | PR-request watcher and self-authorization release | A PR whose only rationale is unacknowledged hive-filed issues gets literal `hold`. Acknowledging the issue later does not remove an existing PR hold by itself. At ACMM L6 Fully Autonomous, the unset default is off; lower levels default on. | Hard merge gate | Hive App | PR creation; evaluated only when no level hold applies | Acknowledge the issue and remove the PR `hold`; disabled policy release can remove Hive's own hold. At L6, that release path also clears existing Hive-applied #5117 holds when no explicit config keeps the policy on. | `github.self_authorization_hold`, per-repo `project.repo_policies[].self_authorization_hold`, `HIVE_SELF_AUTHORIZATION_HOLD` (`src/pkg/github/pr_self_authorization.go:14-226`, `src/pkg/github/pr_request_watcher.go:452-524`) | +| `hold` from #5117 self-authorization | PRs | PR-request watcher and self-authorization release | A PR whose only rationale is unacknowledged hive-filed issues gets literal `hold`. Acknowledging the issue later does not remove an existing PR hold by itself. At ACMM L6 (Autonomous), the unset default is off; lower levels default on. | Hard merge gate | Hive App | PR creation; evaluated only when no level hold applies | Acknowledge the issue and remove the PR `hold`; disabled policy release can remove Hive's own hold. At L6, that release path also clears existing Hive-applied #5117 holds when no explicit config keeps the policy on. | `github.self_authorization_hold`, per-repo `project.repo_policies[].self_authorization_hold`, `HIVE_SELF_AUTHORIZATION_HOLD` (`src/pkg/github/pr_self_authorization.go:14-226`, `src/pkg/github/pr_request_watcher.go:452-524`) | | `triage/accepted` (or `project.issue_filter.reporter_trust.untrusted_require_labels`); `needs-triage` while waiting | Human-filed issues from untrusted reporters | GitHub enumeration | With `reporter_trust.enabled: true`, an issue whose reporter's GitHub `author_association` is outside the trusted set (default `OWNER`, `MEMBER`, `COLLABORATOR`) and whose login is not in `trusted_logins` is not actionable until it carries one of these labels. On the first excluded scan, core `github.Client.fetchIssues` posts one marked explanation comment and applies `needs-triage` (or `awaiting_label`); later scans do not repeat the comment. This is a poller-side write, not an agent prompt, and is capped at 10 new notices per poll. When the triage label appears, the same poll loop removes `needs-triage` only if the marker records that Hive added it, then the issue enters the backlog. Trusted reporters' issues pass untouched. Runs after holds/exempts and before `require_labels`, so the ordinary allow-list still applies afterwards. Hive- and bot-filed issues are not judged here (#5117 owns them). Counted as "needs triage" on the repo card, not as a generic filter refusal. | Hard admission gate (off by default) | Human; Hive App for the visibility comment/label | Enumeration | Add the label, trust the login or association under **Settings → Labels → Reporter trust**, or disable the gate | `project.issue_filter.reporter_trust.{enabled,trusted_associations,trusted_logins,untrusted_require_labels,awaiting_label,comment}` (`src/pkg/config/reporter_trust.go`, `src/pkg/github/client.go` `fetchIssues`) | | `hold` from #9665 reporter trust | PRs | PR-request watcher, level-hold release | A PR whose rationale (closing or referencing links, or the request's declared issues) traces to an issue filed by an untrusted reporter gets literal `hold` at **every** ACMM level, including L6, plus `needs-human` (so it surfaces as waiting on a person, #10773) and a marked notice naming the untrusted reporter and stating the PR itself was authored by the hive. Any one untrusted citation holds. Evaluated even at hold-gated levels, because the notice is what stops promotion to L6 from releasing the label. | Hard merge gate | Hive App | PR creation; re-checked by the level-hold release path | A human removes `hold`. Hive never auto-releases it: the release sweep sees the notice (or re-evaluates and re-posts it) and leaves the label. Holdguard re-holds on a new head SHA. | `github.reporter_trust_hold` (nil follows `reporter_trust.enabled`), per-repo `project.repo_policies[].reporter_trust_hold`, `HIVE_REPORTER_TRUST_HOLD` (`src/pkg/github/pr_reporter_trust.go`, `src/pkg/github/pr_level_hold.go`) | | `project.repo_policies[].auto_merge: false` | PRs | `hive-merge` relay, App self-authored auto-merge sweep, proxy | Below L6 this resolves off for every repo; at L6, PRs can still be opened, reviewed and held when the per-repo switch is off, but Hive refuses every merge path for that repo. Existing `hold` / `hive-pause/` labels stay put because the disabled repo is skipped before hold release or merge. | Hard merge gate | Operator/dashboard | Merge relay request, self-merge sweep tick, proxy direct merge attempt | Dashboard repo-card switch or config edit sets `auto_merge: true`/removes the override at L6; enabling is rejected below L6 | `project.repo_policies[].auto_merge` (`src/pkg/config/repo_policy.go`, `src/pkg/agent/manager_modes.go`, `src/pkg/github/automerge/automerge_sweep.go`, `src/pkg/proxy/rules.go`) | @@ -1234,7 +1234,7 @@ is a Prow `plugins.yaml` (kubestellar/infra) change, not a hive write. ## Config that changes label behavior -- `github.self_authorization_hold`, `project.repo_policies[].self_authorization_hold`, and `HIVE_SELF_AUTHORIZATION_HOLD` change #5117 holds. When all are unset, the default follows the live ACMM level: on through L5, off at L6 Fully Autonomous. +- `github.self_authorization_hold`, `project.repo_policies[].self_authorization_hold`, and `HIVE_SELF_AUTHORIZATION_HOLD` change #5117 holds. When all are unset, the default follows the live ACMM level: on through L5, off at L6 Autonomous. - Hive-wide ACMM level controls level holds; per-repo ACMM overrides do not make PRs skip the level hold. - `governor.labels.exempt`, `governor.labels.automerge`, and `project.issue_filter.require_labels` decide exempt/admit/queue behavior. - `project.issue_filter.reporter_trust.*` (admission by reporter), `github.reporter_trust_hold`, `project.repo_policies[].reporter_trust_hold`, and `HIVE_REPORTER_TRUST_HOLD` (the matching merge hold) are the #9665 reporter-trust gate. Off unless `reporter_trust.enabled: true`; the hold follows that switch unless set on its own. Both are edited under **Settings → Labels** (who is trusted, which triage label) and **Settings → Repos** (the hold). diff --git a/src/docs/manual-provisioning.md b/src/docs/manual-provisioning.md index 07d72f6a93..3fc0a6604e 100644 --- a/src/docs/manual-provisioning.md +++ b/src/docs/manual-provisioning.md @@ -382,7 +382,7 @@ data: ai_author: your-bot-login # GitHub login agents use when authoring PRs primary_repo: your-repo # must appear in repos: above - acmm_level: 2 # 2 = plan+approve gating; 3 = fully autonomous + acmm_level: 2 # 2 = plan+approve gating; 3 = autonomous hub: enabled: false # standalone; no hub connection diff --git a/src/docs/running-at-level-6.md b/src/docs/running-at-level-6.md index 01de6cd4ca..7ba219788d 100644 --- a/src/docs/running-at-level-6.md +++ b/src/docs/running-at-level-6.md @@ -10,7 +10,7 @@ This guide walks through preparation, a weekly routine, and recovery. Start with ## Read this before enabling unattended merges -**ACMM** is Hive's AI-native Capability Maturity Model: levels determine permitted automation. Level 6 (L6) is Fully Autonomous, not a release-branch name. An **agent** is a configured AI worker; a **pack** supplies a level's roster, modes and defaults. The **governor** schedules workers according to workload modes; a **cadence** is an agent's wake interval in one mode. These definitions and the shipped roster are grounded in the [Level 6 pack](../pkg/config/packs/level-6.yaml). Only `scanner` has `ISSUES_PRS_MERGE`; other delivery agents create PRs but the App can merge them independently. +**ACMM** is Hive's AI-native Capability Maturity Model: levels determine permitted automation. Level 6 (L6) is Autonomous, not a release-branch name. An **agent** is a configured AI worker; a **pack** supplies a level's roster, modes and defaults. The **governor** schedules workers according to workload modes; a **cadence** is an agent's wake interval in one mode. These definitions and the shipped roster are grounded in the [Level 6 pack](../pkg/config/packs/level-6.yaml). Only `scanner` has `ISSUES_PRS_MERGE`; other delivery agents create PRs but the App can merge them independently. **Auto-merge** here means Hive initiating a merge without a person doing it, not GitHub's similarly named feature. A **hold** is a label-based exclusion from work/merging, including literal `hold` and the dashboard's `hive-pause/` item hold. See [labels and control signals](labels-and-control-signals.md); the enforcing predicates are `HasHoldLabel`, `IsHeldLabels` and `HasExemptLabel` in [GitHub client](../pkg/github/client.go). diff --git a/src/hive.yaml.example b/src/hive.yaml.example index e52811d8df..bf193461e8 100644 --- a/src/hive.yaml.example +++ b/src/hive.yaml.example @@ -119,7 +119,7 @@ project: # min_focus_window: 30m # GitHub App / PR policy. The #5117 self-authorization hold defaults on through -# ACMM L5 and off at ACMM L6 Fully Autonomous. App-authored PRs whose only +# ACMM L5 and off at ACMM L6 (Autonomous). App-authored PRs whose only # tracked rationale is an unacknowledged hive-filed issue receive `hold` until a # human signs off on the direction. Set true to keep that hold at L6; set false # below L6 only for hives that are allowed to act on their own findings. diff --git a/src/pkg/acmmadvisor/acmmadvisor.go b/src/pkg/acmmadvisor/acmmadvisor.go index b83c3609bc..a9e83e6661 100644 --- a/src/pkg/acmmadvisor/acmmadvisor.go +++ b/src/pkg/acmmadvisor/acmmadvisor.go @@ -25,14 +25,14 @@ import ( // ── Level bounds ──────────────────────────────────────────────────────────── // -// ACMM levels run L1 (Assisted) through L6 (Fully Autonomous), matching the +// ACMM levels run L1 (Assisted) through L6 (Autonomous), matching the // level-*.yaml packs and the dashboard's 1..6 bound (pkg/dashboard/api_packs.go // handlePackSetLevel). The advisor never proposes a target below MinLevel, // above MaxLevel, or more than one level above the current level. const ( // MinLevel is the lowest ACMM level a hive can run at. MinLevel = 1 - // MaxLevel is the highest ACMM level (Fully Autonomous). No recommendation + // MaxLevel is the highest ACMM level (Autonomous). No recommendation // ever proposes a target above this. MaxLevel = 6 // levelStep is the number of levels a single recommendation may raise. @@ -62,7 +62,7 @@ const ( coverageFloorL3 = 40.0 // L2→L3: measurement infra appearing; baseline coverage. coverageFloorL4 = 60.0 // L3→L4: closed-loop feedback needs a real safety net. coverageFloorL5 = 75.0 // L4→L5: semi-automated PRs demand strong coverage. - coverageFloorL6 = coverageGate // L5→L6: full autonomy requires the full gate. + coverageFloorL6 = coverageGate // L5→L6: L6 requires the full gate. ) // ── Green-CI streak thresholds ────────────────────────────────────────────── @@ -74,7 +74,7 @@ const ( greenStreakL3 = 3 // L2→L3: a short proven streak. greenStreakL4 = 5 // L3→L4. greenStreakL5 = 8 // L4→L5. - greenStreakL6 = 12 // L5→L6: full autonomy requires a long, stable streak. + greenStreakL6 = 12 // L5→L6: L6 requires a long, stable streak. ) // ── Merge-success-rate thresholds ─────────────────────────────────────────── @@ -86,7 +86,7 @@ const ( const ( mergeRateL4 = 0.70 // L3→L4. mergeRateL5 = 0.85 // L4→L5. - mergeRateL6 = 0.95 // L5→L6: near-flawless track record for full autonomy. + mergeRateL6 = 0.95 // L5→L6: near-flawless track record for L6. ) // ── Backlog / hold thresholds ─────────────────────────────────────────────── @@ -99,10 +99,10 @@ const ( // is premature. Both are ceilings (Actual must be at or below the ceiling). const ( maxActionableL5 = 25 // L4→L5: backlog must be under control. - maxActionableL6 = 10 // L5→L6: near-empty backlog for full autonomy. + maxActionableL6 = 10 // L5→L6: near-empty backlog for L6. maxHoldsL5 = 15 // L4→L5: holds must be drained regularly. - maxHoldsL6 = 5 // L5→L6: almost no unreviewed holds for full autonomy. + maxHoldsL6 = 5 // L5→L6: almost no unreviewed holds for L6. ) // AdviseAction is the top-level recommendation verb. @@ -216,7 +216,7 @@ func Recommend(s Signals) Recommendation { TargetLevel: level, Ready: true, Rationale: fmt.Sprintf( - "At the maximum ACMM level (L%d, Fully Autonomous). No higher level to propose.", + "At the maximum ACMM level (L%d, Autonomous). No higher level to propose.", MaxLevel, ), } @@ -263,7 +263,7 @@ func Recommend(s Signals) Recommendation { // criteriaForTarget returns the ordered checklist required to propose raising // *to* the given target level, evaluated against the supplied signals. The bar -// is gentler for the low levels (L1→L2) and strictest for full autonomy +// is gentler for the low levels (L1→L2) and strictest for L6 (Autonomous) // (L5→L6). target is assumed to be in [MinLevel+1, MaxLevel]. func criteriaForTarget(target int, s Signals) []Criterion { switch target { @@ -321,21 +321,21 @@ func criteriaForTarget(target int, s Signals) []Criterion { "Humans must be draining the hold queue, not drowning in it."), } default: // target == 6 - // L5→L6 (Semi-Automated → Fully Autonomous): the strictest gate. Full - // autonomy (auto-merge on green) requires meeting the real 90% coverage + // L5→L6 (Semi-Automated → Autonomous): the strictest gate. L6 + // (auto-merge on green) requires meeting the real 90% coverage // gate, a long streak, a near-flawless merge rate, a near-empty backlog, // and almost no outstanding holds. return []Criterion{ boolCriterion("Quality agent present", s.HasQualityAgent, - "Full autonomy requires an active quality agent."), + "L6 requires an active quality agent."), floorPctCriterion("Test coverage", s.CoveragePct, s.l6CoverageFloor(), - "Full autonomy requires meeting the enforced coverage gate."), + "L6 requires meeting the enforced coverage gate."), floorIntCriterion("Green-CI streak", s.GreenStreak, greenStreakL6, "A long, stable streak before auto-merge is granted."), floorRateCriterion("Merge success rate", s.MergeSuccessRate, mergeRateL6, "A near-flawless merge track record for auto-merge."), ceilIntCriterion("Actionable-issue backlog", s.ActionableIssues, maxActionableL6, - "A near-empty backlog before granting full autonomy."), + "A near-empty backlog before granting L6."), ceilIntCriterion("Open holds", s.HoldCount, maxHoldsL6, "Almost no unreviewed holds before removing the hold gate."), } diff --git a/src/pkg/config/acmm_packs_planapprove_test.go b/src/pkg/config/acmm_packs_planapprove_test.go index 30f9b2ef93..bfa994b2c1 100644 --- a/src/pkg/config/acmm_packs_planapprove_test.go +++ b/src/pkg/config/acmm_packs_planapprove_test.go @@ -3,7 +3,7 @@ package config import "testing" // TestPlanAutoApproveForLevel checks the plan_auto_approve knob resolves from -// the embedded pack YAML: true only for fully autonomous L6, false for L1-L5 +// the embedded pack YAML: true only for autonomous L6, false for L1-L5 // and unknown levels. func TestPlanAutoApproveForLevel(t *testing.T) { cases := []struct { diff --git a/src/pkg/config/config.go b/src/pkg/config/config.go index ca97d607c4..688026a55c 100644 --- a/src/pkg/config/config.go +++ b/src/pkg/config/config.go @@ -1539,7 +1539,7 @@ type GovernorConfig struct { // CoverageTarget is the test-coverage goal, in percent (1–100), that the // quality card, the ci-maintainer pct-bar, the agent coverage preamble, and - // the ACMM advisor's full-autonomy coverage gate measure against. 0 means + // the ACMM advisor's L6 coverage gate measure against. 0 means // unset and resolves to DefaultCoverageTarget — see EffectiveCoverageTarget. CoverageTarget int `yaml:"coverage_target,omitempty" json:"coverage_target,omitempty"` diff --git a/src/pkg/config/forge_config.go b/src/pkg/config/forge_config.go index 8b95a6de39..59675e0949 100644 --- a/src/pkg/config/forge_config.go +++ b/src/pkg/config/forge_config.go @@ -17,7 +17,7 @@ func (g GitHubConfig) SelfAuthorizationHoldEnabled() bool { // SelfAuthorizationHoldEnabledAtLevel reports whether the #5117 // self-authorization hold is active at the provided live ACMM level. Explicit -// env/config values win; otherwise L6 fully autonomous defaults the policy off. +// env/config values win; otherwise L6 autonomous defaults the policy off. func (g GitHubConfig) SelfAuthorizationHoldEnabledAtLevel(acmmLevel int) bool { if g.selfAuthorizationHoldEnvOverride != nil { return *g.selfAuthorizationHoldEnvOverride diff --git a/src/pkg/config/packs/level-6.yaml b/src/pkg/config/packs/level-6.yaml index 36fe0ee92f..b4179d9c95 100644 --- a/src/pkg/config/packs/level-6.yaml +++ b/src/pkg/config/packs/level-6.yaml @@ -1,6 +1,6 @@ level: 6 -name: Fully Autonomous -description: 'Fully autonomous operation. Fifteen agents run the complete roster: existing autonomous lanes can open issues, create PRs, and auto-merge on green CI, while outreach handles community engagement. Reviewer remains advisory, adjudicator repairs or closes escalated hive PRs without merging, dedupe posts a daily consolidation checklist of duplicate and overlapping issues and PRs, brainstorm stays advisory, and telemetry/operations remain opt-in/paused and never merge their own PRs. +name: Autonomous +description: 'Autonomous operation. Fifteen agents run the complete roster: existing autonomous lanes can open issues, create PRs, and auto-merge on green CI, while outreach handles community engagement. Reviewer remains advisory, adjudicator repairs or closes escalated hive PRs without merging, dedupe posts a daily consolidation checklist of duplicate and overlapping issues and PRs, brainstorm stays advisory, and telemetry/operations remain opt-in/paused and never merge their own PRs. ' governor: @@ -102,7 +102,7 @@ agents: - name: supervisor display_name: Supervisor role: supervisor - description: 'Full autonomous oversight. Self-healing: restarts stalled agents, + description: 'Autonomous oversight. Self-healing: restarts stalled agents, triggers rollbacks on deploy failures. ' @@ -117,7 +117,7 @@ agents: include_repos: true clear_on_kick: false stale_timeout: 600 - interactions: 'Full autonomous oversight of all agents. Triggers self-healing actions + interactions: 'Autonomous oversight of all agents. Triggers self-healing actions without human intervention. ' @@ -230,7 +230,7 @@ agents: - name: sec-check display_name: security role: sec-check - description: 'Full autonomous security scanning with auto-patch for known CVEs. + description: 'Autonomous security scanning with auto-patch for known CVEs. ' emoji: 🛡 @@ -257,7 +257,7 @@ agents: - name: architect display_name: architect role: architect - description: 'Full autonomous architecture. Implements RFCs and auto-merges structural + description: 'Autonomous architecture. Implements RFCs and auto-merges structural changes. ' @@ -277,7 +277,7 @@ agents: - rfc - design - feature - interactions: 'Full autonomous design and implementation. + interactions: 'Autonomous design and implementation. ' knowledge_use: 'Full architecture knowledge access. @@ -286,7 +286,7 @@ agents: - name: strategist display_name: strategist role: strategist - description: 'Full autonomous strategic planning with roadmap execution. + description: 'Autonomous strategic planning with roadmap execution. ' emoji: 🧠 @@ -303,7 +303,7 @@ agents: - strategy - roadmap - planning - interactions: 'Full autonomous strategic planning and priority setting. + interactions: 'Autonomous strategic planning and priority setting. ' knowledge_use: 'Full cross-agent knowledge synthesis. @@ -312,7 +312,7 @@ agents: - name: outreach display_name: outreach role: outreach - description: 'Full autonomous outreach. Files issues on partner projects and manages + description: 'Autonomous outreach. Files issues on partner projects and manages community engagement. Highest trust — external-facing. ' @@ -331,7 +331,7 @@ agents: - adopters - outreach - ecosystem - interactions: 'Fully autonomous community engagement. + interactions: 'Autonomous community engagement. ' knowledge_use: 'Full community knowledge access. diff --git a/src/pkg/config/repo_policy.go b/src/pkg/config/repo_policy.go index 82923e23f4..3304ae738b 100644 --- a/src/pkg/config/repo_policy.go +++ b/src/pkg/config/repo_policy.go @@ -513,7 +513,7 @@ func (c *Config) SetLabelDrivenForRepos(values map[string]*LabelDrivenRepoSettin // RepoAutoMergeEnabled resolves the effective per-repo auto-merge switch. // Auto-merge is fail-closed below L6, regardless of the stored per-repo // override. At L6, an unset repo override means enabled so hives keep their -// prior fully-autonomous behavior until an owner switches a repo off. +// prior autonomous behavior until an owner switches a repo off. func (c *Config) RepoAutoMergeEnabled(repo string) bool { if c == nil || c.ACMMLevelOrZero() < SelfMergeMinACMMLevel { return false diff --git a/src/pkg/config/testdata/agent_runtime_golden.json b/src/pkg/config/testdata/agent_runtime_golden.json index 02969f1a5a..db65e13407 100644 --- a/src/pkg/config/testdata/agent_runtime_golden.json +++ b/src/pkg/config/testdata/agent_runtime_golden.json @@ -76,7 +76,7 @@ "kick_template": "Supervise {{.Repo}}", "include_repos": true, "bead_role": "supervisor", - "mode": "full-autonomy", + "mode": "autonomous", "explain_mode": "brief", "sandbox": { "enabled": true, diff --git a/src/pkg/config/testdata/agent_runtime_golden.yaml b/src/pkg/config/testdata/agent_runtime_golden.yaml index 2861a4c143..4319975aab 100644 --- a/src/pkg/config/testdata/agent_runtime_golden.yaml +++ b/src/pkg/config/testdata/agent_runtime_golden.yaml @@ -21,7 +21,7 @@ agents: launch_cmd: "agent-launch.sh --backend claude --model claude-sonnet-4-6" display_name: supervisor role: coordinator - mode: full-autonomy + mode: autonomous kick_template: "Supervise {{.Repo}}" github_api_hourly_cap: 60 reasoning_effort: high diff --git a/src/pkg/config/write_surface.go b/src/pkg/config/write_surface.go index 707fd9bcf1..89276ad3e2 100644 --- a/src/pkg/config/write_surface.go +++ b/src/pkg/config/write_surface.go @@ -46,7 +46,7 @@ type WriteSurfaceConfig struct { // write methods, GraphQL mutations and git push. For those lanes the // relays above become the only write path. Default empty: no lane is // enforced, so every agent keeps its direct access (and an ACMM L6 hive - // stays fully autonomous) until an operator lists a lane here. A replica + // stays autonomous) until an operator lists a lane here. A replica // with no entry of its own follows its base agent; "*" enforces every // lane. Enforce []string `yaml:"enforce,omitempty" json:"enforce,omitempty"` diff --git a/src/pkg/dashboard/acmm_criteria.go b/src/pkg/dashboard/acmm_criteria.go index a8d8e9e4cc..3c15358907 100644 --- a/src/pkg/dashboard/acmm_criteria.go +++ b/src/pkg/dashboard/acmm_criteria.go @@ -22,7 +22,7 @@ var acmmLevelNames = map[int]string{ 3: "Quality-Gated", 4: "Security-Aware", 5: "Semi-Autonomous", - 6: "Fully Autonomous", + 6: "Autonomous", } // universalCriteria contains the 43 repo-universal ACMM criteria ported @@ -123,7 +123,7 @@ var universalCriteria = []ACMMCriterion{ {ID: "acmm:reflection-log", Source: "acmm", Level: 5, Category: "feedback-loop", Name: "Reflection log", Patterns: []string{".claude/reflections/", "memory/", ".memory/", "docs/reflections/", "REFLECTIONS.md"}}, - // ── L6 Fully Autonomous (6 acmm) ── + // ── L6 Autonomous (6 acmm) ── {ID: "acmm:auto-issue-gen", Source: "acmm", Level: 6, Category: "autonomy", Name: "Auto issue generation", Patterns: []string{".github/workflows/auto-issues.yml", ".github/workflows/auto-issue.yml", ".github/workflows/issue-gen.yml", ".github/workflows/auto-generate-issues.yml", "scripts/generate-issues.mjs"}}, {ID: "acmm:multi-agent-orchestration", Source: "acmm", Level: 6, Category: "autonomy", Name: "Multi-agent orchestration", diff --git a/src/pkg/dashboard/api_approvals.go b/src/pkg/dashboard/api_approvals.go index f4dc4db030..44a0a46a1b 100644 --- a/src/pkg/dashboard/api_approvals.go +++ b/src/pkg/dashboard/api_approvals.go @@ -70,7 +70,7 @@ type ApprovalRow struct { // RuleAction is what that rule asks for. RuleAction string `json:"rule_action,omitempty"` // PolicyBug marks an item queued on a hive at ACMM L6+. Per requirement 4 - // of the throughput contract, an inbox accumulating at full autonomy is a + // of the throughput contract, an inbox accumulating at L6 (Autonomous) is a // misconfiguration signal, not a normal wait — the UI renders these // distinctly rather than letting them sit politely. PolicyBug bool `json:"policy_bug,omitempty"` diff --git a/src/pkg/dashboard/dashboard_section_visual_summaries_test.go b/src/pkg/dashboard/dashboard_section_visual_summaries_test.go index 0cc8b94f95..13ea3900ba 100644 --- a/src/pkg/dashboard/dashboard_section_visual_summaries_test.go +++ b/src/pkg/dashboard/dashboard_section_visual_summaries_test.go @@ -93,18 +93,18 @@ for (const [section, text] of Object.entries(fixtures)) { _acmmEvalData = { overall_level: 0, operational_level: 6, levels: [ { level: 0, name: 'Prerequisites not met', passed: false, matched: 0, total: 8 }, { level: 1, name: 'Inception', passed: true, matched: 3, total: 3 }, - { level: 6, name: 'Fully Autonomous', passed: false, matched: 8, total: 10 } + { level: 6, name: 'Autonomous', passed: false, matched: 8, total: 10 } ] }; window._lastStatus.acmmLevel = 6; let acmm = visualSectionSummary('acmm-eval-section', 'L6 · last eval now'); -if (!acmm.includes('L6 · Fully Autonomous') || acmm.includes('>L0<') || acmm.includes('L0 Prerequisites')) throw new Error('ACMM collapsed pill must show the current level, not the lowest evaluated level: ' + acmm); +if (!acmm.includes('L6 · Autonomous') || acmm.includes('>L0<') || acmm.includes('L0 Prerequisites')) throw new Error('ACMM collapsed pill must show the current level, not the lowest evaluated level: ' + acmm); if (!acmm.includes('2 gaps')) throw new Error('ACMM collapsed pill should report current-level gaps when no next level exists: ' + acmm); -if (!acmm.includes('current level L6 · Fully Autonomous')) throw new Error('ACMM collapsed tooltip should identify current level: ' + acmm); +if (!acmm.includes('current level L6 · Autonomous')) throw new Error('ACMM collapsed tooltip should identify current level: ' + acmm); _acmmEvalData = null; acmm = visualSectionSummary('acmm-eval-section', 'L6 · last eval pending'); -if (!acmm.includes('L6 · Fully Autonomous') || !acmm.includes('not yet evaluated')) throw new Error('ACMM collapsed pill should prefer navbar level and show unevaluated placeholder: ' + acmm); +if (!acmm.includes('L6 · Autonomous') || !acmm.includes('not yet evaluated')) throw new Error('ACMM collapsed pill should prefer navbar level and show unevaluated placeholder: ' + acmm); window._lastStatus.acmmLevel = 5; -_acmmEvalData = { overall_level: 0, operational_level: 6, levels: [{ level: 5, name: 'Semi-Autonomous', passed: true, matched: 4, total: 4 }, { level: 6, name: 'Fully Autonomous', passed: false, matched: 7, total: 10 }] }; +_acmmEvalData = { overall_level: 0, operational_level: 6, levels: [{ level: 5, name: 'Semi-Autonomous', passed: true, matched: 4, total: 4 }, { level: 6, name: 'Autonomous', passed: false, matched: 7, total: 10 }] }; acmm = visualSectionSummary('acmm-eval-section', 'L5 · last eval now'); if (!acmm.includes('L5 · Semi-Autonomous') || acmm.includes('>L6<')) throw new Error('ACMM collapsed pill should agree with navbar level instead of eval overall/next level: ' + acmm); if (!acmm.includes('3 gaps to L6')) throw new Error('ACMM collapsed pill should count gaps toward next level when present: ' + acmm); diff --git a/src/pkg/dashboard/static/index.html b/src/pkg/dashboard/static/index.html index ea0da049c3..cf6d7e6f1a 100644 --- a/src/pkg/dashboard/static/index.html +++ b/src/pkg/dashboard/static/index.html @@ -6860,7 +6860,7 @@
-
@@ -7137,7 +7137,7 @@

Trust ladder (L3–L6)

  • L3 — Quality-Gated (Measured): quality may open hold-gated test/CI PRs; ci-maintainer watches build health. The reviewer agent works the hold-gated PR queue every 30 minutes and comments for the human who lifts the hold; it never approves or merges.
  • L4 — Security-Aware (Adaptive): sec-check joins; delivery agents may file issues; only quality, sec-check, and ci-maintainer may open hold-gated PRs. The reviewer agent works the hold-gated PR queue every 30 minutes and comments for the human who lifts the hold; it never approves or merges.
  • L5 — Semi-Autonomous: most lanes may open issues and hold-gated PRs; humans batch-review and remove holds. The reviewer keeps working the queue every 30 minutes; adjudicator and dedupe join and recommend, never merge or close.
  • -
  • L6 — Fully Autonomous: eligible App-authored PRs auto-merge when checks pass. Auto-merge is off below L6; switching to L6 turns it on for all active repos, and owners can toggle individual repos afterward. The reviewer still never merges — and its requires_human / reject verdicts do not stop the App auto-merge sweep; use a hold label or a GitHub branch rule when merging must stop.
  • +
  • L6 — Autonomous: eligible App-authored PRs auto-merge when checks pass. Auto-merge is off below L6; switching to L6 turns it on for all active repos, and owners can toggle individual repos afterward. The reviewer still never merges — and its requires_human / reject verdicts do not stop the App auto-merge sweep; use a hold label or a GitHub branch rule when merging must stop.
  • Promotion adds agents and capability; demotion narrows them again. Hive removes only level-owned holds when the level no longer calls for them — a hold you applied is never removed automatically. See the ACMM policy matrix, Running at Level 6, and hive-open-pr.

    @@ -8753,7 +8753,7 @@

    Where to get help

    function acmmCollapsedLevelLabel(level) { if (!Number.isFinite(level) || level <= 0) return 'not yet evaluated'; if (typeof acmmLevelLabel === 'function') return acmmLevelLabel(level).replace(' ', ' · '); - const levelNames = {1:'Inception',2:'Advisory',3:'Quality-Gated',4:'Security-Aware',5:'Semi-Autonomous',6:'Fully Autonomous'}; + const levelNames = {1:'Inception',2:'Advisory',3:'Quality-Gated',4:'Security-Aware',5:'Semi-Autonomous',6:'Autonomous'}; return `L${level}${levelNames[level] ? ' · ' + levelNames[level] : ''}`; } function acmmCollapsedGapDetail(data, level, dims, total, met) { @@ -28251,12 +28251,12 @@

    All labels

    badge.style.display = (dto.count > 0) ? '' : 'none'; } - // Requirement 4: items queued at full autonomy are probable policy bugs. + // Requirement 4: items queued at L6 (Autonomous) are probable policy bugs. const bug = document.getElementById('approvals-policy-bug'); if (bug) { if (dto.policy_bug_count > 0) { bug.style.display = ''; - bug.innerHTML = '⚠️ ' + dto.policy_bug_count + ' item(s) are waiting on a hive at ACMM L6 (full autonomy). ' + + bug.innerHTML = '⚠️ ' + dto.policy_bug_count + ' item(s) are waiting on a hive at ACMM L6 (Autonomous). ' + 'An inbox that accumulates at L6 usually means a policy rule is over-restrictive, not that a human is needed.'; } else { bug.style.display = 'none'; @@ -29226,7 +29226,7 @@

    All labels

    const titles = { observe: 'Data collection only — no changes proposed', suggest: 'Experiments require your approval', - evolve: 'Fully autonomous experimentation', + evolve: 'Autonomous experimentation', }; html += ``; } @@ -29575,7 +29575,7 @@

    All labels

    const trustSteps = [ { id: 'observe', label: 'Observe', desc: 'Data collection only' }, { id: 'suggest', label: 'Suggest', desc: 'Experiments need approval' }, - { id: 'evolve', label: 'Evolve', desc: 'Fully autonomous' }, + { id: 'evolve', label: 'Evolve', desc: 'Autonomous' }, ]; for (const step of trustSteps) { const isCurrent = step.id === mode; @@ -37726,7 +37726,7 @@

    Configure LiteLLM

    // ACMM Evaluation const ACMM_EVAL_INTERVAL_MS = 3600000; // 1 hour - const ACMM_LEVEL_NAMES = {0:'Prerequisites not met',1:'Inception',2:'Advisory',3:'Quality-Gated',4:'Security-Aware',5:'Semi-Autonomous',6:'Fully Autonomous'}; + const ACMM_LEVEL_NAMES = {0:'Prerequisites not met',1:'Inception',2:'Advisory',3:'Quality-Gated',4:'Security-Aware',5:'Semi-Autonomous',6:'Autonomous'}; const ACMM_LEVEL_DESCRIPTIONS = { 0: 'Foundational tooling: test suites, CI/CD, templates, and code style enforcement.', 2: 'AI agents receive explicit instructions via CLAUDE.md, copilot-instructions, cursor rules, and prompt catalogs.', @@ -38273,7 +38273,7 @@

    Configure LiteLLM

    3: 'Observability in place — metrics, dashboards, and review rubrics track agent quality.', 4: 'Self-tuning — agents adapt their behavior based on feedback loops and compliance checks.', 5: 'Semi-autonomous — CI/CD triggers agents, auto-QA self-tunes, policies enforced as code.', - 6: 'Fully autonomous — multi-agent orchestration, auto issue generation, strategic oversight.' + 6: 'Autonomous — multi-agent orchestration, auto issue generation, strategic oversight.' }; const desc = opsDescriptions[d.operational_level] || 'Level not recognized.'; acmmShowDialog('Operational Autonomy — L' + d.operational_level + ' ' + escapeHtml(name), @@ -40315,7 +40315,7 @@

    Configure LiteLLM

    // row carrying data-setting-key (webstatic TestSettingsSearchIndexResolvesToControls). // `lazy: true` marks controls that a tab fills in after its own fetch. const SETTINGS_SEARCH_STATIC_HITS = [ - { tab: 'General', section: 'Governor', label: 'Maturity Level', key: 'acmm_level', text: 'ACMM maturity level agent packs advisory fully autonomous' }, + { tab: 'General', section: 'Governor', label: 'Maturity Level', key: 'acmm_level', text: 'ACMM maturity level agent packs advisory autonomous' }, { tab: 'General', section: 'Governor', label: 'Eval loop pacing', key: 'governor.eval_interval_max_s', text: 'eval interval max cap webhook wake debounce gap conserve multiplier optional sweep every n cycles provider spend limit budget probe threshold ownership pack governor.eval_interval_s governor.eval_interval_max_s governor.eval_interval_webhook_s governor.webhook_wake_debounce_s governor.webhook_wake_min_gap_s governor.conserve_interval_multiplier governor.optional_sweep_every_n_cycles governor.provider_budget.probe_interval_s governor.thresholds_source governor.explain_mode' }, { tab: 'Labels', section: 'Labels', label: 'Auto-merge queue label', key: 'governor.labels.automerge', text: 'auto merge queue label lgtm merger governor.labels.automerge' }, { tab: 'Labels', section: 'Labels', label: 'Stage labels', key: 'governor.labels.stage.enabled', text: 'stage labels pipeline state review-pending merge-queue stalled role tier author kind human clanker hive governor.labels.stage.enabled' }, @@ -41165,7 +41165,7 @@

    Configure LiteLLM

    // Short "L3 Quality-Gated"-style label for an ACMM pack level. Shared by the // badges, the level dialog subtitle, and the Governor config General tab. function acmmLevelLabel(level) { - const levelNames = ['', 'L1 Inception', 'L2 Advisory', 'L3 Quality-Gated', 'L4 Security-Aware', 'L5 Semi-Autonomous', 'L6 Fully Autonomous']; + const levelNames = ['', 'L1 Inception', 'L2 Advisory', 'L3 Quality-Gated', 'L4 Security-Aware', 'L5 Semi-Autonomous', 'L6 Autonomous']; return levelNames[level] || 'L' + level; } @@ -46426,7 +46426,7 @@

    ${hiveIdEditable ? 'Format: hive-adjective-noun (e.g. hive-bold-hawk). Lowercase letters, digits and hyphens only. Changes take effect immediately.' : esc(hiveIdLockReason)}

    - +
    ${currentACMMLevel > 0 ? acmmLevelLabel(currentACMMLevel) : 'Not set'} @@ -46870,7 +46870,7 @@

    Backend placement policy

    ${activeScope === 'per_repo' ? '

    Scaling is ignored when cadence mode scope is per repo.

    ' : ''}
    - +

    Drag the handles to set issue-count thresholds for governor mode transitions.

    @@ -48591,7 +48591,7 @@

    Escalation Breaker

    function securityWarningsHtml(sec) { const level = (window._lastStatus || {}).acmmLevel || 0; const warnings = []; - if (level >= 6 && !sec.intentEnforce) warnings.push('L6 is fully autonomous; intent enforcement is recommended before merge automation.'); + if (level >= 6 && !sec.intentEnforce) warnings.push('L6 is autonomous; intent enforcement is recommended before merge automation.'); if (level >= 5 && (sec.ioscanFailMode || 'open') === 'open') warnings.push('L5+ with ioscan fail-open keeps work flowing, but fail-closed gives stronger prompt-injection protection.'); if (sec.reviewRequireApproval && (sec.reviewCapableAgents || 0) === 0) warnings.push('Review approval is required, but no enabled review-capable agents were detected.'); // #4918: the sandbox opt-in is two-gated (global agent_sandbox.enabled AND @@ -55442,7 +55442,7 @@

    ${esc(s.title)}

    id: 'acmm', title: 'Set your ACMM level', auto: (data) => !!(data && data.acmmLevelConfigured === true), - body: 'The amber badge in the sidebar opens the maturity-level dialog. ACMM (AI Codebase Maturity Model) is the dial for how much the agents may do on their own: L1 (advise only — agents report, never change anything) → L6 (fully autonomous — agents may merge on green CI), each level adding to the last. A default is preset — confirm it matches how much autonomy you want.', + body: 'The amber badge in the sidebar opens the maturity-level dialog. ACMM (AI Codebase Maturity Model) is the dial for how much the agents may do on their own: L1 (advise only — agents report, never change anything) → L6 (autonomous — agents may merge on green CI), each level adding to the last. A default is preset — confirm it matches how much autonomy you want.', autoNote: 'Checks itself once an ACMM level is explicitly saved on the hive.', actions: [{ label: 'Show me', action: 'welcomeShowACMM' }] } diff --git a/src/pkg/github/pr_supersession_autoclose_test.go b/src/pkg/github/pr_supersession_autoclose_test.go index e2228e6669..cc0d229f6c 100644 --- a/src/pkg/github/pr_supersession_autoclose_test.go +++ b/src/pkg/github/pr_supersession_autoclose_test.go @@ -142,7 +142,7 @@ func runAutoCloseSweep(t *testing.T, open supersessionPRFixture, opts Supersessi c.SetAppBotLogin(autoCloseBot) c.SetStageFactSink(&stageenginetest.Recorder{}) if opts.ACMMLevelForRepo == nil { - opts.ACMMLevelForRepo = func(string) int { return acmmLevelFullyAutonomous } + opts.ACMMLevelForRepo = func(string) int { return acmmLevelAutonomous } } res, err := c.SweepSupersededOpenPRs(context.Background(), opts) if err != nil { @@ -285,7 +285,7 @@ func TestSupersessionAutoClose_Guards(t *testing.T) { {"extra files, reference only", supersessionPRFixture{Comments: []supersessionCommentFixture{notice}, Files: []string{"pkg/a.go", "pkg/c.go"}}, autoCloseEnabled}, {"disabled", supersessionPRFixture{Comments: []supersessionCommentFixture{notice}}, SupersessionSweepOptions{}}, {"below L6", supersessionPRFixture{Comments: []supersessionCommentFixture{notice}}, - SupersessionSweepOptions{CloseContributorPRs: true, ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous - 1 }}}, + SupersessionSweepOptions{CloseContributorPRs: true, ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous - 1 }}}, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { diff --git a/src/pkg/github/pr_supersession_resolve.go b/src/pkg/github/pr_supersession_resolve.go index 6622602939..227e432d67 100644 --- a/src/pkg/github/pr_supersession_resolve.go +++ b/src/pkg/github/pr_supersession_resolve.go @@ -247,7 +247,7 @@ func (c *Client) resolveOwnSupersededPR(ctx context.Context, prRepo, owner, repo // A person parked it; the hive does not resolve over them. return event, "", nil } - if level < acmmLevelFullyAutonomous { + if level < acmmLevelAutonomous { return c.escalateSupersededPR(ctx, prRepo, owner, repo, pr, event, closer, "this hive is below ACMM L6, so the sweep will not close or update PRs automatically. A human should decide whether to close this PR.") } diff --git a/src/pkg/github/pr_supersession_resolve_test.go b/src/pkg/github/pr_supersession_resolve_test.go index b541cb7ae2..cb4b956944 100644 --- a/src/pkg/github/pr_supersession_resolve_test.go +++ b/src/pkg/github/pr_supersession_resolve_test.go @@ -75,7 +75,7 @@ func TestSupersessionResolve_BehindBaseRequestsUpdateAndReleasesOwnPark(t *testi LabelEvents: []supersessionLabelEventFixture{ {Event: "labeled", Label: issueNeedsHumanLabel, Actor: resolveBot}, }, - }, acmmLevelFullyAutonomous) + }, acmmLevelAutonomous) assertNoEscalation(t, obs, parked) if len(res.Resolved) != 1 || res.Resolved[0].Action != SupersessionActionRebased { t.Fatalf("result = %+v, want one %q", res, SupersessionActionRebased) @@ -101,7 +101,7 @@ func TestSupersessionResolve_PersonParkedPRIsLeftAlone(t *testing.T) { LabelEvents: []supersessionLabelEventFixture{ {Event: "labeled", Label: issueNeedsHumanLabel, Actor: "maintainer"}, }, - }, acmmLevelFullyAutonomous) + }, acmmLevelAutonomous) assertNoEscalation(t, obs, parked) if res.Actions() != 0 || len(obs.comments[13782]) != 0 || obs.updated[13782] != "" || len(obs.removedLabels[13782]) != 0 { t.Fatalf("a person's park must not be resolved over: res=%+v obs=%+v", res, obs) @@ -109,7 +109,7 @@ func TestSupersessionResolve_PersonParkedPRIsLeftAlone(t *testing.T) { } func TestSupersessionResolve_SameHeadIsIdempotent(t *testing.T) { - first, obs1, _ := runResolveSweep(t, supersessionPRFixture{BehindBy: 2}, acmmLevelFullyAutonomous) + first, obs1, _ := runResolveSweep(t, supersessionPRFixture{BehindBy: 2}, acmmLevelAutonomous) if len(first.Resolved) != 1 { t.Fatalf("first pass = %+v", first) } @@ -117,7 +117,7 @@ func TestSupersessionResolve_SameHeadIsIdempotent(t *testing.T) { res, obs, parked := runResolveSweep(t, supersessionPRFixture{ BehindBy: 2, Comments: []supersessionCommentFixture{{ID: 700, Body: notice, Author: resolveBot, Bot: true, CreatedAt: time.Now().Add(-time.Minute)}}, - }, acmmLevelFullyAutonomous) + }, acmmLevelAutonomous) assertNoEscalation(t, obs, parked) if res.Actions() != 0 || obs.updated[13782] != "" || len(obs.comments[13782]) != 0 { t.Fatalf("second pass on the same head must not re-request the update: res=%+v updated=%q comments=%v", res, obs.updated[13782], obs.comments[13782]) @@ -128,7 +128,7 @@ func TestSupersessionResolve_SameHeadIsIdempotent(t *testing.T) { } func TestSupersessionResolve_UpdateRefusedIsReportedOnce(t *testing.T) { - res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 2, UpdateBranchStatus: http.StatusUnprocessableEntity}, acmmLevelFullyAutonomous) + res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 2, UpdateBranchStatus: http.StatusUnprocessableEntity}, acmmLevelAutonomous) assertNoEscalation(t, obs, parked) if len(res.Resolved) != 1 || res.Resolved[0].Action != SupersessionActionRebaseFailed { t.Fatalf("result = %+v, want %q", res, SupersessionActionRebaseFailed) @@ -146,7 +146,7 @@ func TestSupersessionResolve_UpdateRefusedIsReportedOnce(t *testing.T) { res2, obs2, _ := runResolveSweep(t, supersessionPRFixture{ BehindBy: 2, UpdateBranchStatus: http.StatusUnprocessableEntity, Comments: []supersessionCommentFixture{{ID: 701, Body: refused, Author: resolveBot, Bot: true, CreatedAt: time.Now().Add(-time.Minute)}}, - }, acmmLevelFullyAutonomous) + }, acmmLevelAutonomous) if res2.Actions() != 0 || obs2.updated[13782] != "" { t.Fatalf("refused update must not be retried on the same head: res=%+v", res2) } @@ -159,7 +159,7 @@ func TestSupersessionResolve_CurrentHeadWithExtraFilesRewritesClaim(t *testing.T LabelEvents: []supersessionLabelEventFixture{ {Event: "labeled", Label: issueNeedsHumanLabel, Actor: resolveBot}, }, - }, acmmLevelFullyAutonomous) + }, acmmLevelAutonomous) assertNoEscalation(t, obs, parked) if len(res.Resolved) != 1 || res.Resolved[0].Action != SupersessionActionResolved { t.Fatalf("result = %+v, want %q", res, SupersessionActionResolved) @@ -187,7 +187,7 @@ func TestSupersessionResolve_ResolvedBodyIsSkipped(t *testing.T) { if !ok { t.Fatal("first rewrite must apply") } - res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 0, Body: body}, acmmLevelFullyAutonomous) + res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 0, Body: body}, acmmLevelAutonomous) assertNoEscalation(t, obs, parked) if res.Actions() != 0 || res.Seen != 1 || len(obs.comments[13782]) != 0 || obs.bodies[13782] != "" { t.Fatalf("already-resolved PR must be skipped: res=%+v comments=%v", res, obs.comments[13782]) @@ -209,7 +209,7 @@ func TestSupersessionResolve_CurrentHeadWithNoRemainingDiffSelfCloses(t *testing // serves the same list both times, so model "extra at detection, // none after" by a closer that covers everything but keeping the // own path: a hive PR whose remaining files are all covered. - res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 0, Files: tc.files}, acmmLevelFullyAutonomous) + res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 0, Files: tc.files}, acmmLevelAutonomous) assertNoEscalation(t, obs, parked) if len(res.Closed) != 1 || len(obs.closed) != 1 || obs.closed[0] != 13782 { t.Fatalf("result = %+v closed=%v, want self-close", res, obs.closed) @@ -225,7 +225,7 @@ func TestSupersessionResolve_CurrentHeadWithNoRemainingDiffSelfCloses(t *testing } func TestSupersessionResolve_BelowL6EscalatesOwnPRThroughStageEngine(t *testing.T) { - res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 2}, acmmLevelFullyAutonomous-1) + res, obs, parked := runResolveSweep(t, supersessionPRFixture{BehindBy: 2}, acmmLevelAutonomous-1) if len(res.Commented) != 1 || res.Commented[0].Action != SupersessionActionEscalated { t.Fatalf("result = %+v, want escalation", res) } @@ -241,7 +241,7 @@ func TestSupersessionResolve_BelowL6EscalatesOwnPRThroughStageEngine(t *testing. } func TestSupersessionResolve_ContributorExtraFilesEscalatesWithFiles(t *testing.T) { - res, obs, parked := runResolveSweep(t, supersessionPRFixture{Author: "contributor", BehindBy: 2}, acmmLevelFullyAutonomous) + res, obs, parked := runResolveSweep(t, supersessionPRFixture{Author: "contributor", BehindBy: 2}, acmmLevelAutonomous) if len(res.Commented) != 1 || res.Commented[0].Action != SupersessionActionEscalated { t.Fatalf("result = %+v, want escalation", res) } diff --git a/src/pkg/github/pr_supersession_sweep.go b/src/pkg/github/pr_supersession_sweep.go index 7b38503a66..a33fc286b4 100644 --- a/src/pkg/github/pr_supersession_sweep.go +++ b/src/pkg/github/pr_supersession_sweep.go @@ -213,7 +213,7 @@ func (c *Client) trySweepSupersededPR(ctx context.Context, prRepo, prOwner, prRe opts.Audit(event) } } - if reason == "" && opts.CloseContributorPRs && level >= acmmLevelFullyAutonomous { + if reason == "" && opts.CloseContributorPRs && level >= acmmLevelAutonomous { return c.trySupersessionAutoCloseContributorPR(ctx, prOwner, prRepoName, pr, event, closer, identity, now, opts.GracePeriod) } notice := supersessionDecisionNotice(prOwner, closer, reason) diff --git a/src/pkg/github/pr_supersession_sweep_test.go b/src/pkg/github/pr_supersession_sweep_test.go index 30ecea8e67..da12e25c10 100644 --- a/src/pkg/github/pr_supersession_sweep_test.go +++ b/src/pkg/github/pr_supersession_sweep_test.go @@ -395,7 +395,7 @@ func TestSweepSupersededOpenPRs_ClosedByPullRequestReferenceClosesOwnAtL6(t *tes c := newTestClient(t, server, org, []string{repo}) c.SetAppBotLogin("hive-app[bot]") - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -420,7 +420,7 @@ func TestSweepSupersededOpenPRs_ClosedByCommitYieldsCandidate(t *testing.T) { c := newTestClient(t, server, org, []string{repo}) c.SetAppBotLogin("hive-app[bot]") - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -442,7 +442,7 @@ func TestSweepSupersededOpenPRs_ContributorCommentOnly(t *testing.T) { c := newTestClient(t, server, org, []string{repo}) c.SetAppBotLogin("hive-app[bot]") - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -466,7 +466,7 @@ func TestSweepSupersededOpenPRs_BelowL6LabelsOwnPR(t *testing.T) { defer server.Close() c, rec := newSupersessionTestClient(t, server, org, repo) - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous - 1 }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous - 1 }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -494,7 +494,7 @@ func TestSweepSupersededOpenPRs_HeldOwnPRIsLeftAlone(t *testing.T) { c := newTestClient(t, server, org, []string{repo}) c.SetAppBotLogin("hive-app[bot]") - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -519,7 +519,7 @@ func TestSweepSupersededOpenPRs_DoNotMergeContributorPRIsLeftAlone(t *testing.T) c := newTestClient(t, server, org, []string{repo}) c.SetAppBotLogin("hive-app[bot]") - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{CloseContributorPRs: true, ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{CloseContributorPRs: true, ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -542,7 +542,7 @@ func TestSweepSupersededOpenPRs_HivePauseLabelIsLeftAlone(t *testing.T) { c := newTestClient(t, server, org, []string{repo}) c.SetAppBotLogin("hive-app[bot]") c.SetHoldLabels([]string{CanonicalHiveHoldLabel("abc123")}) - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -589,7 +589,7 @@ func TestSweepSupersededOpenPRs_OpenClosingClaimKeepsPRLive(t *testing.T) { c := newTestClient(t, server, org, []string{repo}) c.SetAppBotLogin("hive-app[bot]") - for _, level := range []int{acmmLevelFullyAutonomous - 1, acmmLevelFullyAutonomous} { + for _, level := range []int{acmmLevelAutonomous - 1, acmmLevelAutonomous} { res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return level }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) @@ -642,7 +642,7 @@ func TestSweepSupersededOpenPRs_AllClosingClaimsClosedEscalates(t *testing.T) { defer server.Close() c, rec := newSupersessionTestClient(t, server, org, repo) - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous - 1 }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous - 1 }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -694,7 +694,7 @@ func TestSweepSupersededOpenPRs_DoesNotReapplyNeedsHumanAfterClear(t *testing.T) defer server.Close() c, rec := newSupersessionTestClient(t, server, org, repo) - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous - 1 }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous - 1 }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } @@ -895,7 +895,7 @@ func TestSweepSupersededOpenPRs_ReleasesOwnParkWhenCauseIsGone(t *testing.T) { defer server.Close() c, rec := newSupersessionTestClient(t, server, org, repo) - res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelFullyAutonomous }}) + res, err := c.SweepSupersededOpenPRs(context.Background(), SupersessionSweepOptions{ACMMLevelForRepo: func(string) int { return acmmLevelAutonomous }}) if err != nil { t.Fatalf("SweepSupersededOpenPRs: %v", err) } diff --git a/src/pkg/github/tokenscopes.go b/src/pkg/github/tokenscopes.go index e32cfabe2f..17b61f8a0e 100644 --- a/src/pkg/github/tokenscopes.go +++ b/src/pkg/github/tokenscopes.go @@ -101,7 +101,7 @@ type scopeRequirement struct { // ACMM level boundaries at which new GitHub capabilities switch on. These // mirror the level packs in pkg/config/packs/: L1 Inception, L2 Advisory // (read + comment), L3 Quality-Gated, L4 Security-Aware (issue filing), -// L5 Semi-Autonomous (PR creation), L6 Fully Autonomous (auto-merge). +// L5 Semi-Autonomous (PR creation), L6 Autonomous (auto-merge). const ( // acmmLevelAdvisory (L2) is where agents first read repositories and post // advisory comments — the lowest level that touches GitHub at all. @@ -121,9 +121,9 @@ const ( // default here — L1 requires no scopes, so it would suppress everything. ACMMLevelUnset = -1 - // acmmLevelFullyAutonomous (L6) is the ceiling, and what ACMMLevelUnset + // acmmLevelAutonomous (L6) is the ceiling, and what ACMMLevelUnset // resolves to. - acmmLevelFullyAutonomous = 6 + acmmLevelAutonomous = 6 ) // scopeRequirements maps the GitHub REST surface this hive actually calls to @@ -204,7 +204,7 @@ var scopeRequirements = []scopeRequirement{ // capability is reported first. func requiredScopesForLevel(level int) []scopeRequirement { if level == ACMMLevelUnset { - level = acmmLevelFullyAutonomous + level = acmmLevelAutonomous } var out []scopeRequirement seen := make(map[string]bool) diff --git a/src/pkg/hub/assets/dashboard.html b/src/pkg/hub/assets/dashboard.html index fd66b63187..d1c7a88228 100644 --- a/src/pkg/hub/assets/dashboard.html +++ b/src/pkg/hub/assets/dashboard.html @@ -2183,7 +2183,7 @@

    L3 — Quality-Gated (Measured) - +

    diff --git a/src/pkg/hub/evidence_findings.go b/src/pkg/hub/evidence_findings.go index 4e1ceb491b..82f05a5cf6 100644 --- a/src/pkg/hub/evidence_findings.go +++ b/src/pkg/hub/evidence_findings.go @@ -122,7 +122,7 @@ func evidenceHiveName(h EvidenceHive) string { // scale: only L6 has a short plain name. func evidenceLevelName(level int) string { if level == 6 { - return "full autonomy (L6)" + return "autonomous (L6)" } return fmt.Sprintf("autonomy level L%d", level) } diff --git a/src/pkg/hub/journey.go b/src/pkg/hub/journey.go index b5c65d8a32..bb3e37380e 100644 --- a/src/pkg/hub/journey.go +++ b/src/pkg/hub/journey.go @@ -174,7 +174,7 @@ var acmmLevels = map[int]acmmLevelInfo{ 3: {"Quality-Gated", "the quality agent starts opening issues and hold-gated PRs about testing gaps, and ci-maintainer joins to watch build health — nothing merges without you"}, 4: {"Security-Aware", "delivery agents file GitHub issues in their lanes and sec-check joins for vulnerabilities"}, 5: {"Semi-Autonomous", "agents open hold-gated pull requests as well as issues; architect and strategist join, while telemetry and operations are available paused for deliberate opt-in"}, - 6: {"Fully Autonomous", "agents can auto-merge on green CI at the highest trust setting; outreach joins, while telemetry and operations remain paused until deliberately enabled"}, + 6: {"Autonomous", "agents can auto-merge on green CI at the highest trust setting; outreach joins, while telemetry and operations remain paused until deliberately enabled"}, } // maxACMMLevel is the top of the 6-level model. A hive here has nowhere to diff --git a/src/pkg/hub/journey_test.go b/src/pkg/hub/journey_test.go index 07e7e05928..aabf7241d5 100644 --- a/src/pkg/hub/journey_test.go +++ b/src/pkg/hub/journey_test.go @@ -376,7 +376,7 @@ func TestACMMSuggestionIsLevelSpecific(t *testing.T) { {2, "L2 Advisory", "L3 Quality-Gated", "hold-gated"}, {3, "L3 Quality-Gated", "L4 Security-Aware", "issues"}, {4, "L4 Security-Aware", "L5 Semi-Autonomous", "pull requests"}, - {5, "L5 Semi-Autonomous", "L6 Fully Autonomous", "auto-merge"}, + {5, "L5 Semi-Autonomous", "L6 Autonomous", "auto-merge"}, } for _, tc := range tests { t.Run(tc.wantCurrent, func(t *testing.T) { @@ -828,7 +828,7 @@ func TestACMMLevelLabel(t *testing.T) { want string }{ {1, "L1 Inception"}, - {6, "L6 Fully Autonomous"}, + {6, "L6 Autonomous"}, {99, "L99"}, // unknown levels degrade gracefully, never "L99 " } for _, tc := range tests { diff --git a/src/pkg/hub/quadrant_curve.go b/src/pkg/hub/quadrant_curve.go index 8b02f495c6..4f9fdd3feb 100644 --- a/src/pkg/hub/quadrant_curve.go +++ b/src/pkg/hub/quadrant_curve.go @@ -56,7 +56,7 @@ func (c curve) score(v float64) int { // native unit. Named so that docs, tests and the explainer all cite the same // number. const ( - // ACMM autonomy: L1 is the floor every hive starts at, L6 full autonomy. + // ACMM autonomy: L1 is the floor every hive starts at, L6 autonomous. curveAutonomyWorst, curveAutonomyBest = 1, 6 // Merge acceptance: half of agent PRs rejected is the floor; all merged // is the ceiling. diff --git a/src/pkg/hub/static/cncf-reference-architecture.html b/src/pkg/hub/static/cncf-reference-architecture.html index b94bf44e63..6cf389cada 100644 --- a/src/pkg/hub/static/cncf-reference-architecture.html +++ b/src/pkg/hub/static/cncf-reference-architecture.html @@ -273,7 +273,7 @@

    The autonomy dial (ACMM)

    L3Quality-Gated (Measured) — the quality agent opens hold-gated PRs about testing gaps, coverage, and CI health. This measurement foundation is what earns automation above.
    L4Security-Aware (Adaptive) — all agents file issues (bugs, docs, workflows, vulns); still no PRs.
    L5Semi-Autonomous (Semi-Automated) — all agents open PRs, each auto-labeled hold for human batch-review. The system proposes; it does not merge.
    -
    L6Fully Autonomous — agents open PRs and auto-merge when checks pass; no hold label.
    +
    L6Autonomous — agents open PRs and auto-merge when checks pass; no hold label.

    Enforcement in depth

    diff --git a/src/pkg/hub/static/get-started.html b/src/pkg/hub/static/get-started.html index 1dfcee7913..67d34365d2 100644 --- a/src/pkg/hub/static/get-started.html +++ b/src/pkg/hub/static/get-started.html @@ -343,7 +343,7 @@

    Your project

    @@ -524,7 +524,7 @@

    Contribute compute Ready

    {level: 3, label: 'L3 — Quality-Gated (Measured)', desc: 'Improve quality through better test coverage. Agents open hold-gated PRs that raise coverage behind CI gates; every PR waits for a human.'}, {level: 4, label: 'L4 — Security-Aware (Adaptive)', desc: 'Agents open issues and hold-gated PRs, plus security checks. Still a human on every merge.'}, {level: 5, label: 'L5 — Semi-Autonomous (Semi-Automated)', desc: 'PRs carry a hold label for batch review, so you approve in groups rather than one at a time.'}, - {level: 6, label: 'L6 — Fully Autonomous', desc: 'Auto-merge when checks pass. Only for projects with checks you already trust.'} + {level: 6, label: 'L6 — Autonomous', desc: 'Auto-merge when checks pass. Only for projects with checks you already trust.'} ]; /* L3 Quality-Gated is the recommended entry point: it is the first level that produces useful work (test-coverage PRs) while still gating every merge diff --git a/src/pkg/hub/static/index.html b/src/pkg/hub/static/index.html index d23f0b6928..4fac22be24 100644 --- a/src/pkg/hub/static/index.html +++ b/src/pkg/hub/static/index.html @@ -1042,7 +1042,7 @@

    Running in minutes

    3 -

    Choose your autonomy level

    Pick an ACMM level from L1 Inception to L6 Fully Autonomous. Start conservative, upgrade anytime.

    +

    Choose your autonomy level

    Pick an ACMM level from L1 Inception to L6 Autonomous. Start conservative, upgrade anytime.

    4 @@ -1391,14 +1391,14 @@

    Thanks to the organizations that power Hive Commons< } function acmmBadge(level) { - var names = {1:'Inception',2:'Advisory',3:'Quality-Gated',4:'Security-Aware',5:'Semi-Autonomous',6:'Fully Autonomous'}; + var names = {1:'Inception',2:'Advisory',3:'Quality-Gated',4:'Security-Aware',5:'Semi-Autonomous',6:'Autonomous'}; var tips = { 1:'L1 Inception — Advisory only. Agents suggest but take no action.', 2:'L2 Advisory — Advisory beads only, no provider writes.', 3:'L3 Quality-Gated — Quality agent opens hold-gated test PRs. CI gates.', 4:'L4 Security-Aware — Agents open issues, sec-check joins. Still hold-gated.', 5:'L5 Semi-Autonomous — PRs carry a hold label, batch-reviewed by humans.', - 6:'L6 Fully Autonomous — auto-merge when checks pass.' + 6:'L6 Autonomous — auto-merge when checks pass.' }; return 'L' + level + ' ' + esc(names[level] || '') + ''; } diff --git a/src/pkg/hub/static/learn.html b/src/pkg/hub/static/learn.html index 6bba6328b3..6da35d96f1 100644 --- a/src/pkg/hub/static/learn.html +++ b/src/pkg/hub/static/learn.html @@ -273,7 +273,7 @@

    How Hive works

    The ACMM ladder

    -

    The AI Codebase Maturity Model (ACMM) defines six levels of AI agent autonomy, from advisory-only to fully autonomous. Each level controls which agents are active and what actions they can take. Start conservative, climb when you’re ready — raising the level is always a human decision.

    +

    The AI Codebase Maturity Model (ACMM) defines six levels of AI agent autonomy, from advisory-only to autonomous. Each level controls which agents are active and what actions they can take. Start conservative, climb when you’re ready — raising the level is always a human decision.

    L1 — Inception (Assisted)

    Inception & advisory

    An interactive brainstorm agent turns ideas into project scaffolding; a guide agent audits docs. Every action needs human approval. No feedback loops.

    @@ -281,7 +281,7 @@

    The ACMM ladder

    L3 — Quality-Gated (Measured)

    Quality & test coverage

    The quality agent opens issues and hold-gated PRs about testing gaps, coverage, and CI health. Every PR keeps a hold label — no agent merges. This measurement foundation is what earns automation in the levels above.

    L4 — Security-Aware (Adaptive)

    Closed-loop, issues

    All agents now file issues — bugs, doc gaps, workflow failures, vulnerabilities. Security agent joins. Still no PRs; the loop is closing.

    L5 — Semi-Autonomous (Semi-Automated)

    Hold-gated PRs

    All agents open PRs, each auto-labeled hold for human batch-review. Architect (RFCs) and strategist join. The system proposes; it does not merge on its own.

    -
    L6 — Fully Autonomous

    Merge when checks pass

    Agents open pull/merge requests and auto-merge when checks pass — no hold label. Outreach agent handles community engagement. Highest trust; governor at fastest cadence.

    +
    L6 — Autonomous

    Merge when checks pass

    Agents open pull/merge requests and auto-merge when checks pass — no hold label. Outreach agent handles community engagement. Highest trust; governor at fastest cadence.

    LevelNameAgentsAllowed Actions