Repository navigation
refactor(qa): enforce surface.feature coverage IDs - #110280
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 20, 2026, 8:53 PM ET / July 21, 2026, 00:53 UTC. Summary Reproducibility: not applicable. This PR refactors internal QA taxonomy, reporting, and smoke-profile semantics rather than correcting a user-reported runtime failure. The relevant behavior is evidenced by the catalog and CI smoke-plan checks named in the PR context. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land only after the QA owner confirms the strict one-feature/one-ID model, the scenario-catalog ownership boundary, and the narrowed Do we have a high-confidence way to reproduce the issue? Not applicable: this PR refactors internal QA taxonomy, reporting, and smoke-profile semantics rather than correcting a user-reported runtime failure. The relevant behavior is evidenced by the catalog and CI smoke-plan checks named in the PR context. Is this the best way to solve the issue? Unclear until a QA owner confirms the permanent semantics. The implementation consistently centralizes semantic attribution in the scenario catalog, but choosing the new atomic vocabulary and profile scope is a product/QA policy decision. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 33720886c8a8. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (8 earlier review cycles)
|
89f1930 to
ced9a44
Compare
ced9a44 to
87a911d
Compare
87a911d to
e750ea3
Compare
e750ea3 to
3cdb415
Compare
3cdb415 to
46f9bec
Compare
a135b80 to
6521671
Compare
6521671 to
1e09fba
Compare
1e09fba to
1ea9e78
Compare
e8dc1e0 to
d82a0c7
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: refactor(qa): enforce surface.feature coverage IDs This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
d82a0c7 to
a11c82f
Compare
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: refactor(qa): enforce surface.feature coverage IDs This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
What Problem This Solves
Resolves two related QA coverage identity problems. First, 158 semantic IDs were assigned to multiple taxonomy features, so reports could not identify one exact owner. Second, collision-qualified IDs could grow to three dot-separated parts even though the implementation performs exact string matching, making IDs such as
surface.feature.contextlook hierarchical when they were not.Why This Change Was Made
Coverage IDs now have one canonical shape:
<surface-id>.<feature-id>. Every taxonomy feature owns exactly one globally unique ID, and that ID's first segment must match its containing taxonomy surface. Broad rows that previously owned multiple semantic claims are split into atomic feature rows, so scenario YAML can reference only the exact feature its executable proves.This keeps one vocabulary and one ownership path: taxonomy defines semantic IDs; scenario YAML maps executables to those IDs. There are no aliases, fallback readers, compatibility names, TypeScript eligibility registries, or implied parent/child coverage. A scenario covering
surface.feature-contextdoes not coversurface.featureunless it explicitly lists both exact IDs.IDs also use concise product nouns instead of taxonomy prose. Surface segments are short but retain their owner boundary: for example
agent-runtimerather than the ambiguousagents,session-memoryrather than genericmemory,control-uifor the browser control product,toolsfor browser/exec/sandbox tooling,media-generationfor image/video/music generation, andhosted-providersrather than a generic model label. Already-clear product nouns such asgateway,cli,plugins,channels,security,observability,automation, andmediaremain concise. Feature segments keep enough context to stay unambiguous without repeating their surface or category breadcrumb; human-facing names, hierarchy, and descriptions retain the richer explanation.Migration posture is intentionally one-shot for this source-checkout-only QA surface. Existing scripts that pass old taxonomy values to
qa run --surfaceor--category, or that consume old coverage IDs, must update to the new IDs intaxonomy.yaml; old names are not accepted as aliases. This avoids retaining a second coverage vocabulary. The separate scenariosurfacereporting label remains independent and is not a taxonomy selector contract.The original collision migration and its profile reconciliation remain part of the same atomic change. The fixed 12-scenario CI smoke plan remains unchanged, while
smoke-cinarrows from 30 categories to the 11 exact categories that plan proves.User Impact
No OpenClaw runtime behavior changes. Maintainers and QA operators get unambiguous, flat, readable coverage identities; truthful scenario-to-feature evidence; and selectors/profiles that reflect executable product proof. Internal QA coverage references are renamed to the strict two-part contract.
Evidence
main: 1,998 taxonomy features/assignments, 1,998 globally unique IDs, zero multi-ID features, zero non-two-part IDs, and zero surface-prefix mismatches. The current catalog has 356 scenarios and 571 exact references with zero unknown references.ask_user, reconnect, and sender-policy scenarios/features. The strengthened reconnect executable claims exact reconnect, dedup, and delivery owners.ask_userclaims exact Tool-call handling and Gateway Chat API owners. The two sender-policy live probes now primarily claim exact delegated-tool access; their secondary claims are limited to proven subagent turns, dormant completion delivery, and the unpredictable filesystem-read marker. Generic QA-channel inheritance was dropped where the channel is only the harness transport.smoke-ciis intentionally 30 -> 11 categories. The exact Memory category is required because the fixed plan explicitly runs the dreaming shadow-trial scenario; adding it makes 10 current memory scenarios profile-eligible but does not expand the bounded automatic 12-scenario plan. A timeless test now requires every fixed smoke scenario to belong to a selected profile category and every selected category to have fixed-plan evidence.bec9c0e2c1e5965c066a3cbb1df11466f01f4b429da51bab090fa85ba2986ac3(basec24a215fe41481370a11132c399c086c00ed6631, heada11c82fb0d16cfde90f113a92c8241732aa91061). The detailed concise inventory SHA-256 is857676281baab548121e08d43901797f622656d20227416992f65fbee8f73d7e; both remain under ignoredtmp, and no migration inventory is tracked.gpt-5.6-solwith high reasoning on the complete admissible owner-boundary follow-up and returned zero findings,patch is correct(0.94), and no accepted/actionable finding. The two changed sensitive-filename YAMLs were excluded only from that model bundle; their exact prefix-only edits were present in both the focused and broad Testbox proof.control-ui,tools,media-generation) passed the same 233/233 focused catalog/reference, coverage-report, scorecard, explicit smoke-plan, CLI/profile, and runner tests on the exact rebased head: https://github.com/openclaw/openclaw/actions/runs/29899329434. Its full changed gate passed formatting, SDK/API and architecture guards, full-project tsgo, full lint, and runtime cycle checks: https://github.com/openclaw/openclaw/actions/runs/29898584421.gpt-5.6-solwith high reasoning on the complete 63,722-byte naming follow-up and returned zero findings,patch is correct(0.91), and no accepted/actionable finding.a11c82fb0d16cfde90f113a92c8241732aa91061: requiredopenclaw/ci-gate, all four QA Smoke profiles, build, type, lint, security, and test shards passed. Attempt 1's unrelated Telegram credential readiness-file timeout passed on the failed-job rerun: https://github.com/openclaw/openclaw/actions/runs/29899459764.patch is correct(0.72), zero line findings, and security cleared: https://github.com/openclaw/clawsweeper/actions/runs/29899460668. Its no-alias product-decision gate is satisfied by the maintainer's explicit direction to adopt the strict two-partsurface.featurecontract and the finalcontrol-ui,tools, andmedia-generationvocabulary.