Skip to content

Decision: define maturity:stable surface signal vs stable-defect queue #950

Closed

Description

@brokemac79

Context

PR #949 merged on 2026-07-30. It corrected the verified routing bug where an issue whose primary owner was below M4 could receive maturity:stable merely because it used shared Gateway or CLI plumbing.

The merged rule is now explicit: apply the label only when the issue's primary taxonomy surface is M4/M5.

What #949 solved

Examples such as an Agent Runtime, plugin, or Signal issue being promoted through an incidental Gateway/CLI dependency should no longer receive maturity:stable.

Remaining contract decision

The current OpenClaw scorecard has two levels of maturity information:

  • A surface may be M4 Stable, for example Gateway, CLI, or Discord.
  • Its directly affected category can still have Beta quality or completeness.

Examples observed during the audit:

  • CLI / Onboarding and Auth Setup: quality Beta, completeness Stable.
  • Gateway / Approvals and Remote Execution: quality Beta, completeness Stable.
  • Every currently listed Discord category: quality Beta, completeness Stable.

Therefore #949 makes maturity:stable a correct primary stable-surface signal, but it does not make it a strict "the exact affected capability is fully stable" signal. It also does not restrict the label to defects: feature requests can qualify when their primary surface is M4/M5.

Maintainer decision requested

Please record the intended contract for maturity:stable before another implementation PR is opened:

  1. Is it a primary M4/M5 surface signal, as fix: prevent stable labels from leaking across surfaces #949 now implements?
  2. Or is it intended to be a clean stable-defect queue? If so, define:
    • whether it must be limited to confirmed bug / regression issues;
    • the category threshold (for example, both quality and completeness must be Stable); and
    • whether a mixed-surface issue needs one stable primary category or should remain unlabelled.
  3. If the contract changes, approve the scope for a non-mutating dry-run and an exact keep/remove manifest before any historical-label retriage.

Follow-up boundary

No new PR, bulk label mutation, or retriage is proposed by this issue. A follow-up should be limited to openclaw/clawsweeper routing policy, helper/prompt/schema/tests; openclaw/openclaw owns the scorecard taxonomy itself.

Audit evidence

At audit time, the live maturity:stable cohort was actively changing under ClawSweeper automation. A reproducible sample showed labels were later applied by clawsweeper[bot], not reporters. The scorecard had 50 surfaces: 7 M4, 0 M5, and 43 below M4.

The audit confirmed both valid stable-category examples (Gateway RPC and CLI observability) and prior cross-surface leaks. PR #949 is the corrective reference for the latter.

Activity

  1. added
    P3
    issue-rating: 🌊 off-meta tidepool
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    on Jul 30, 2026
  2. clawsweeper commented on Jul 30, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 8, 2026, 12:06 AM ET / 04:06 UTC.

    Summary
    Keep open: current main already uses the primary M4/M5 owning-surface rule, but the remaining question is an intentional product-policy choice about what the public label should mean. Likely related people: vincentkoc (high) and Martin Cleary (medium).

    Reproducibility: not applicable. this is a label-semantics decision, not a report of failing runtime behavior.

    Root-cause cluster
    Relationship: canonical
    Canonical: #950
    Summary: This issue is the canonical remaining decision about label semantics; the related merged PR corrected a separate cross-surface routing defect.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.
    • Share version, platform, channel/provider, and relevant config details.

    Maintainer decision needed

    Question Recommendation
    Should maturity:stable continue to mean that an issue’s primary owning surface is M4/M5, or should it instead denote a bug-only queue with stable category-quality requirements? Keep the owning-surface signal: Retain the current M4/M5 primary-surface meaning and document that it is not a per-category stability or defect-only guarantee.

    Why: Current code and the merged leak correction establish the owning-surface rule, but neither source can choose the intended public meaning or authorize historical-label retriage.

    Next step
    A maintainer must select the label’s public semantics before a safe implementation or historical-label operation can be scoped.

    Review details

    Best possible solution:

    Record the primary M4/M5 owning-surface contract as the durable meaning of the label, or explicitly approve a narrower replacement contract with category thresholds and a reviewed non-mutating migration manifest.

    Do we have a high-confidence way to reproduce the issue?

    Not applicable: this is a label-semantics decision, not a report of failing runtime behavior.

    Is this the best way to solve the issue?

    Unclear until maintainers choose the durable public contract; implementation before that choice could encode the wrong triage meaning.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Changing the label from a surface signal to a defect/category-quality queue would alter historical and future triage semantics, so any retriage needs an approved dry-run manifest first.
    • The prepared helper could not read the external OpenClaw scorecard from this checkout, so this review did not independently recalculate the current mixed-category cohort.

    Codex review notes: model internal, reasoning high; reviewed against 985651bf6642.

    Label changes

    Label justifications:

    • P3: This is a bounded policy-definition task with no current user-facing runtime failure.
    • impact:other: The issue affects maintainer-facing triage semantics rather than a specific runtime impact class.
    Evidence reviewed

    What I checked:

    Likely related people:

    • vincentkoc: Authored the merged related implementation that established the current owning-surface eligibility boundary. (role: introduced primary-surface correction; confidence: high; commits: 2e6bacee3813; files: scripts/maturity-stable-shortlist.mjs, src/clawsweeper-policy.ts)
    • Martin Cleary: Git history ties the current policy module and maturity shortlist helper to the durable lifecycle implementation. (role: current policy-module contributor; confidence: medium; commits: e16de6e9b477; files: src/clawsweeper-policy.ts, scripts/maturity-stable-shortlist.mjs)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  3. added
    impact:other
    on Aug 2, 2026
  4. steipete commented on Aug 8, 2026

    @steipete
    Contributor

    Deferred by maintainer ruling: the surface-vs-category question needs quantification before a rule change. Next step is an audit producing, for currently maturity:stable-labeled issues: (a) how many keep the label under the landed #949 rule (primary surface M4/M5), (b) how many would lose it if the affected category must also be stable quality, and (c) the category-level breakdown of the flips (e.g. how many are CLI / Onboarding and Auth Setup-shaped). With those counts the tradeoff — signal simplicity vs a directly actionable stable-defect queue — becomes a five-minute decision instead of a guess. Audit queued as a separate work item; this issue stays open until the counts are attached.

  5. steipete commented on Aug 8, 2026

    @steipete
    Contributor

    Flip-count audit (requested 2026-08-08)

    Audit of the 442 currently open maturity:stable issues in openclaw/openclaw, classified per the primary-taxonomy-surface rule landed in #949 and scored against the current scorecard (qa/maturity-scores.yaml, blob 7973adb, process_version: 3, last score run 2026-08-02). Closed issues also carrying the label (1,134) were left out of scope: a contract change would be enforced on the live queue.

    One structural note first: every category on every M4 surface currently has Stable completeness, so "quality and completeness must both be Stable" reduces in practice to "category quality must be Stable."

    (a) Keep under the surface-only rule (#949 as landed): 365 / 442

    Primary surface Keepers
    gateway 170
    cli 98
    discord 42
    ios 17
    android / macos-host 16 each
    linux-host 6

    The remaining 77 are not eligible even under the landed rule: 72 have a below-M4 primary surface (top offenders: agent-runtime 15, channels 11, session-memory 8, plugins 6, macos-app 5) and 5 were undecidable from the issue text (#57204, #73537, #99551, #105197, #106768). These 72 are pre-#949 cross-surface leaks still carrying the label; they would drop it at the next retriage under the current rule, independent of this decision.

    (b) Additional losses if the affected category must also be stable: 187 / 365 (51%)

    • Keep under both rules: 177
    • Flip (surface M4, category quality Beta): 187
    • Unresolvable: 1 (#98317 — an iOS design-system audit genuinely spanning all app categories)

    So the strict contract roughly halves the queue: 365 → 177.

    (c) Per-category breakdown of the 187 flips

    Flips Category (all q=Beta, c=Stable)
    25 cli / Updates and Upgrades
    20 discord / Conversation Routing and Delivery
    19 gateway / Approvals and Remote Execution
    16 cli / Onboarding and Auth Setup
    15 gateway / Health, Diagnostics, and Repair
    14 gateway / Device Auth and Pairing
    14 macos-host / Gateway Service Lifecycle
    9 gateway / Security Controls
    9 gateway / Nodes and Remote Capabilities
    7 gateway / Roles and Permissions
    7 discord / Channel Setup and Operations
    7 discord / Native Controls and Approvals
    4 gateway / Network Access and Discovery
    4 discord / Access and Identity
    3 cli / Plugin and Channel Setup
    3 discord / Media and Rich Content
    2 gateway / Protocol Compatibility
    2 macos-host / Profiles and Isolation
    2 linux-host / Gateway Runtime and Service Control
    2 linux-host / Diagnostics and Repair
    1 each linux-host / Deployment Targets, linux-host / Host Setup and Updates, discord / Realtime Voice and Calls

    Surface-level shape of the flips:

    • discord (42/42), macos-host (16/16), linux-host (6/6) flip entirely — every category on those three surfaces is quality Beta. The strict rule effectively demotes three whole M4 surfaces from the queue.
    • gateway loses 79 of 170 (keeps Gateway Lifecycle 46, RPC APIs and Events 26, HTTP APIs 11, Hosted Web Surface 4, WebSocket Connection 4).
    • cli loses 44 of 98 — dominated by the two categories called out in the issue body: Updates and Upgrades (25) and Onboarding and Auth Setup (16).
    • android (16) and ios (17, minus the 1 unclear) never flip — all their categories are Stable/Stable.

    Method and caveats

    Cohort snapshot via one gh issue list --json sweep (bounded; no per-item views). Each issue was classified from title + body against the 50-surface taxonomy using the #949 primary-surface rule (owning surface, not transport); category assignment used the scorecard's per-category quality/completeness labels. Classification was model-assisted in ten validated batches plus a second full-body pass for 39 initially ambiguous items; 36 of the 365 keepers remain low-confidence (~10%), so individual counts carry a small margin, but the headline split (roughly half the surface-rule queue sits in Beta-quality categories, concentrated in discord/macos-host/linux-host plus gateway auth/approvals/diagnostics and cli update/onboarding) is robust to that noise.

    No labels were mutated; this is the quantification requested above so the surface-signal vs stable-defect-queue tradeoff can be decided on numbers.

  6. steipete commented on Aug 8, 2026

    @steipete
    Contributor

    Maintainer decision

    With the flip-count audit above attached, the contract question is resolved: maturity:stable keeps the #949 semantics — a primary M4/M5 owning-surface signal. It is explicitly not a per-category quality/completeness guarantee and not restricted to defects; feature requests qualify when their primary surface is M4/M5.

    Why the strict variant is rejected, in one paragraph: the audit shows it would demote three entire M4 surfaces (Discord, macOS host, Linux host currently have no Stable-quality category, so all 64 of their issues flip), and since every M4 category already has Stable completeness the criterion collapses to "category quality ≥ Stable" — which filters out exactly the Beta-quality categories whose fixes would mature the surface. It would also couple label state to scorecard re-scoring: category quality moving across a threshold would flip dozens of labels with no change to any issue. A stable-defect view is better served as a query (maturity:stable + bug) or a future orthogonal dimension, not by redefining this label.

    Approved follow-up scope

    The actionable finding is not the flip cohort — it is the 72 issues whose primary surface is below M4 (agent-runtime 15, channels 11, session-memory 8, plugins 6, macos-app 5, remainder long tail) plus 5 undecidables (#57204, #73537, #99551, #105197, #106768). These violate the affirmed contract today, independent of this decision — they are pre-#949 cross-surface leaks.

    Per the boundary in the issue body, the approved next step is a non-mutating dry-run: produce an exact keep/remove manifest for those 77 issues, each with the classified primary surface and a one-line justification, with a per-issue verification pass before inclusion (the audit's classification is model-assisted and ~10% of calls are low-confidence). No bulk label mutation until that manifest is reviewed and explicitly approved. Any routing-policy or prompt/schema/test changes stay in openclaw/clawsweeper; the scorecard taxonomy remains owned by openclaw/openclaw.

    No implementation change is needed for the contract itself — current main already encodes it (label description: "Issue's primary taxonomy surface is currently scored M4/M5").

  7. steipete commented on Aug 8, 2026

    @steipete
    Contributor

    Closing: audit counts attached and the maturity:stable contract is recorded above (primary M4/M5 owning-surface signal, #949 semantics affirmed). Follow-up (77-issue dry-run manifest) is scoped in the decision comment and will proceed as a separate gated work item.

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

Metadata

Metadata

Assignees

Labels

P3clawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-primpact:otherissue-rating: 🌊 off-meta tidepool

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions