Repository navigation
fix(maturity): bind evidence to semantic taxonomy identity - #143976
Conversation
Punchcard-Session: calm-river-harbor-jg
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 11, 2026, 4:42 AM ET / 08:42 UTC (Revision 8). ClawSweeper reviewWhat this changesQA Lab binds recorded evidence to the meaning of the maturity taxonomy, rejects incompatible shards, and separates historical results from current coverage. Merge readiness⛔ Blocked before merge - 2 items remain The fix remains necessary on current main, and no blocking patch defect was found. The updated maintainer disposition resolves the earlier reader-transition concern; it does not need another approval cycle. Priority: P2 Review scores
Verification
How this fits togetherQA Lab turns scenario results into evidence artifacts that feed OpenClaw’s maturity documentation. The taxonomy identity determines whether those artifacts can supply current coverage or remain historical reference material. flowchart TD
A[Taxonomy definitions] --> B[Semantic identity]
B --> C[Profile execution evidence]
C --> D[Shard identity validation]
D --> E[Aggregated evidence]
E --> F{Matches current taxonomy}
F -->|Yes| G[Current coverage]
F -->|No| H[Historical results]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +119, Tests +602, Other +45. Total +766 across 13 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one taxonomy-owned identity throughout evidence production and rendering under the accepted coordinated upgrade, preserving historical artifacts without crediting them as current coverage. Do we have a high-confidence way to reproduce the issue? Yes, from source: changing capability meaning while retaining category names and counts leaves main’s timestamp-selected evidence eligible for coverage. This read-only review did not execute that reproduction. Is this the best way to solve the issue? Yes. Capturing identity at the existing taxonomy owner and validating it at aggregation and rendering addresses the defect without creating a competing evidence store; historical compatibility and the coordinated transition are explicitly covered. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3be71b162a31. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
Punchcard-Session: calm-river-harbor-jg
Punchcard-Session: calm-river-harbor-jg
|
@clawsweeper re-review Current head: |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
…143976) * fix(maturity): bind evidence to semantic taxonomy identity Punchcard-Session: calm-river-harbor-jg * test(maturity): brace historical evidence fixture loops Punchcard-Session: calm-river-harbor-jg * test(maturity): use QA test surface and explicit type checks Punchcard-Session: calm-river-harbor-jg
…le B) (#171920) * fix(google): report the operation that supplied fallback video An empty SDK video result can fall back to a distinct REST operation. Capture its name after that fallback so returned metadata identifies the delivered video. Keep the SDK error check before fallback and preserve requests and media limits. Parameterize the existing fallback regression for SDK 404 and SDK empty results. The real provider entry probe fails on the original empty-result metadata and passes both scenarios with this fix, using synthetic SDK and HTTP responses. * refactor(providers): consolidate old provider and protocol helpers Share exact Gateway schema fields without changing public shapes. Consolidate tool-payload classification, catalog responses, device polling, media formatting, and speech format selection. Remove the Mantle factory's test-only injection seam. Best-effort tradeoffs accepted: - OpenRouter equivalent nested request policies reordered during configuration edits may cause another bounded catalog GET. #102062 supplies synthetic key equivalence, not a human incident; full auth/network policy stays in the key. - Warm Anthropic scans may discover more history than cold scans. #109309/#115259 establish synthetic frontier equality, not a human pagination incident. Charge actual I/O only, retaining the 64MiB read and bounded file/cache limits. - A complete Anthropic read exactly at the I/O cap can now be cached. The former fence supported synthetic cold/warm cost equality; incomplete reads stay out. - Deleted transcript metadata can remain in the bounded cache until eviction. #109309's eager sweeps duplicate current-candidate visibility and bounded retention; no current file means no visible cached row. - A manually sparse single-audio-item array yields empty text rather than an invariant error. #104577/#104558 introduced the throw for a compiler ratchet; the real caller supplies a dense filter result, not a reported runtime failure. Standalone session-memory backend and its registry/factory/tests are untouched. * refactor(qa-lab): consolidate older harness paths Share manifest discovery/linking, bus parser construction, Matrix device verification, registration-local fault history, FIFO starts and mock answers. Remove type-laundering and duplicate work on trusted internal facts. Best-effort tradeoffs accepted - Heap-capture PID fences came from synthetic replacement tests in #137860, not a human actual-use report. A coincident restart may fail or omit this optional diagnostic; the snapshot-writer health barrier remains. - Failed-realpath lexical guessing came from synthetic execution validation in #116912. A disappearing/inaccessible test now fails existing evidence verification instead of guessing its identity; real symlink paths still work. - #143976 introduced duplicate taxonomy parsing alongside both production callers' canonical identity guarantees. Untyped invalid internal build calls omitting required identity are unsupported; external artifact validation stays. - Manifest discovery is invocation-local. A source catalog changed during staging is best-effort and is rescanned on the next invocation, rather than repeatedly scanning the same catalog for each selected plugin. - The search fixture's fixed hostname (8288b4d) needs no URL-parser fallback. No runtime hostname input exists; a future fixture URL rewrite must update its hostname field too. Current output is unchanged. - db4ad84 projected hit objects to hide registration IDs. Those IDs are now gone, and all private callers only read hit facts. Unexpected future internal object mutation may alter QA diagnostics; stable array snapshots remain. Focused owner tests, canonical QA production/test typechecks, syntax lint, formatting, suppression tests, zero runtime/madge cycles and independent P0-P2 review cover the retained cut. No SDK/config/protocol/schema changes. Local broad-proof gaps are recorded in .local/q04-ledger.md: SDK boundary declaration preparation exceeded its existing 300000ms deadline before typed lint ran; the repo-wide SQLite worker scanner was interrupted after more than 25 minutes on an overloaded host. Neither is attributed as inherited CI red. The production, full-tree and script Knip scans also exceeded their existing 600-605s deadlines without a code verdict. Bundled exact-head CI must provide the missing broad proof; no timeout/skip/retry policy was changed. * refactor(android): simplify legacy native owners Use platform accessibility nodes and canonical coroutine cancellation. Remove duplicate sheet validation and unreachable mascot clamps while retaining security, resource bounds and normal lifecycle behavior. Fix DNS-SD display names by preserving advertised UTF-8 text and decoding instance names once. Both Android APK variants, 260 focused native test cases, lint, cycle checks and independent review validate the candidate. * refactor: keep round-3 bundle within old-code scope Drop all hunks in files touched on main within seven days, plus dependent Mantle, Anthropic cache, and QA assertion cuts. Preserve current main tests and baseline without allowances or shims. Keep Google SDK errors in the typed SDK owner and REST errors in its existing helper, without adding assertions. Retain one full mock ask-user roundtrip contract and the two distinct precedence cases. * refactor(anthropic): preserve fresh hosts without map spread * refactor(qa-lab): drop Gateway startup cleanup from bundle Restore the q04 startup import closure and direct tests to main for Telegram menu E2E attribution. Keep Matrix/profile-evidence, provider, and Android changes unchanged.
…le B) (openclaw#171920) * fix(google): report the operation that supplied fallback video An empty SDK video result can fall back to a distinct REST operation. Capture its name after that fallback so returned metadata identifies the delivered video. Keep the SDK error check before fallback and preserve requests and media limits. Parameterize the existing fallback regression for SDK 404 and SDK empty results. The real provider entry probe fails on the original empty-result metadata and passes both scenarios with this fix, using synthetic SDK and HTTP responses. * refactor(providers): consolidate old provider and protocol helpers Share exact Gateway schema fields without changing public shapes. Consolidate tool-payload classification, catalog responses, device polling, media formatting, and speech format selection. Remove the Mantle factory's test-only injection seam. Best-effort tradeoffs accepted: - OpenRouter equivalent nested request policies reordered during configuration edits may cause another bounded catalog GET. openclaw#102062 supplies synthetic key equivalence, not a human incident; full auth/network policy stays in the key. - Warm Anthropic scans may discover more history than cold scans. openclaw#109309/openclaw#115259 establish synthetic frontier equality, not a human pagination incident. Charge actual I/O only, retaining the 64MiB read and bounded file/cache limits. - A complete Anthropic read exactly at the I/O cap can now be cached. The former fence supported synthetic cold/warm cost equality; incomplete reads stay out. - Deleted transcript metadata can remain in the bounded cache until eviction. openclaw#109309's eager sweeps duplicate current-candidate visibility and bounded retention; no current file means no visible cached row. - A manually sparse single-audio-item array yields empty text rather than an invariant error. openclaw#104577/openclaw#104558 introduced the throw for a compiler ratchet; the real caller supplies a dense filter result, not a reported runtime failure. Standalone session-memory backend and its registry/factory/tests are untouched. * refactor(qa-lab): consolidate older harness paths Share manifest discovery/linking, bus parser construction, Matrix device verification, registration-local fault history, FIFO starts and mock answers. Remove type-laundering and duplicate work on trusted internal facts. Best-effort tradeoffs accepted - Heap-capture PID fences came from synthetic replacement tests in openclaw#137860, not a human actual-use report. A coincident restart may fail or omit this optional diagnostic; the snapshot-writer health barrier remains. - Failed-realpath lexical guessing came from synthetic execution validation in openclaw#116912. A disappearing/inaccessible test now fails existing evidence verification instead of guessing its identity; real symlink paths still work. - openclaw#143976 introduced duplicate taxonomy parsing alongside both production callers' canonical identity guarantees. Untyped invalid internal build calls omitting required identity are unsupported; external artifact validation stays. - Manifest discovery is invocation-local. A source catalog changed during staging is best-effort and is rescanned on the next invocation, rather than repeatedly scanning the same catalog for each selected plugin. - The search fixture's fixed hostname (34f2850) needs no URL-parser fallback. No runtime hostname input exists; a future fixture URL rewrite must update its hostname field too. Current output is unchanged. - 2f4f28f projected hit objects to hide registration IDs. Those IDs are now gone, and all private callers only read hit facts. Unexpected future internal object mutation may alter QA diagnostics; stable array snapshots remain. Focused owner tests, canonical QA production/test typechecks, syntax lint, formatting, suppression tests, zero runtime/madge cycles and independent P0-P2 review cover the retained cut. No SDK/config/protocol/schema changes. Local broad-proof gaps are recorded in .local/q04-ledger.md: SDK boundary declaration preparation exceeded its existing 300000ms deadline before typed lint ran; the repo-wide SQLite worker scanner was interrupted after more than 25 minutes on an overloaded host. Neither is attributed as inherited CI red. The production, full-tree and script Knip scans also exceeded their existing 600-605s deadlines without a code verdict. Bundled exact-head CI must provide the missing broad proof; no timeout/skip/retry policy was changed. * refactor(android): simplify legacy native owners Use platform accessibility nodes and canonical coroutine cancellation. Remove duplicate sheet validation and unreachable mascot clamps while retaining security, resource bounds and normal lifecycle behavior. Fix DNS-SD display names by preserving advertised UTF-8 text and decoding instance names once. Both Android APK variants, 260 focused native test cases, lint, cycle checks and independent review validate the candidate. * refactor: keep round-3 bundle within old-code scope Drop all hunks in files touched on main within seven days, plus dependent Mantle, Anthropic cache, and QA assertion cuts. Preserve current main tests and baseline without allowances or shims. Keep Google SDK errors in the typed SDK owner and REST errors in its existing helper, without adding assertions. Retain one full mock ask-user roundtrip contract and the two distinct precedence cases. * refactor(anthropic): preserve fresh hosts without map spread * refactor(qa-lab): drop Gateway startup cleanup from bundle Restore the q04 startup import closure and direct tests to main for Telegram menu E2E attribution. Keep Matrix/profile-evidence, provider, and Android changes unchanged.
What Problem This Solves
Fixes an issue where maturity reports credited old evidence as current coverage after taxonomy meaning changed while category IDs and counts stayed the same.
Why This Change Was Made
The taxonomy owner computes one versioned semantic identity and captures it before profile execution. The existing profile plan carries that identity through shards and aggregation; aggregation rejects missing or mismatched identities before writing output. Historical plans keep their original digest when identity is absent.
The change adds net 158 production lines for this ownership and evidence-validity contract, net 602 test lines, and six lines in a private test-support barrel. The landing follow-up uses that permitted QA Lab test surface and checks the required identity type directly, preserving the invalid-input runtime assertion without adding a suppression allowance.
User Impact
Only matching evidence supplies current numeric coverage. Historical evidence remains inspectable with its original counts and outcomes: missing identity is historical unknown, mismatch is historical mismatch, and historical-only current coverage is Unscored. Strict input checks reject unqualified scorecard evidence before writing, while raw diagnostics retain existing failure handling. Manual quality, confidence, maturity and LTS decisions remain independent.
Older identity-free summaries remain readable and keep their original plan bytes and attestation digest. Newly populated plans require updated readers: older strict readers reject the added identity field. This is not a forward-compatibility claim.
The accepted operating transition is a coordinated upgrade of the producer, aggregator and renderer to the same revision, followed by evidence regeneration for current coverage. Retain older artifacts for historical inspection; do not combine old readers with newly populated plans, or use identity-free artifacts as current strict-input evidence. The existing maturity workflow passes one selected revision to the evidence workflow and checks the same revision for artifact validation and rendering. This addresses the ClawSweeper reader-transition decision without claiming a mixed-version rollout.
Evidence
95b76419144b48f24826c7769f59fd9a298c28c8: 83 successful jobs, 16 skipped, zero failed. The aggregateopenclaw/ci-gatepassed. Actual execution used integration commit55bebc2a1050aeb717f11120ff97ba88e4195914, with parentse0b7f1d46e9050fbd13a040c8a1bce4d243a0e63and the PR head.6c09166ba9ba6719862d917a29795165a90997cdc5658cd4c65e3a10d89e0fa1, identity capture before execution, full/slim retention, matching aggregate success, and absent/mismatched/mixed shard rejection before writes. All 17 real renderer CLI cases passed: matching current coverage, historical unknown/mismatch with Unscored current coverage, preserved historical counts/outcomes, and strict rejection before output writes.Review Disposition And Limits
ClawSweeper revision 6 reviewed the exact PR head with no code findings and an affirmative best-fix judgment. Its blocked/needs-human badge is distinct from this maintainer disposition. Both pre-merge items are addressed: the coordinated same-revision producer/aggregator/renderer upgrade and evidence regeneration are accepted, and the executed artifact/renderer compatibility cases above provide the required contract proof. Older artifacts remain historical; older strict readers cannot consume new identity-bearing plans. Mixed-version operation is unsupported.
This proves the source/artifact transition, not a standalone mixed-version deployment or a complete QA evidence workflow rollout. The earlier environment-count ancestry comparison was skipped because the remote comparison ancestry was unavailable; the patch adds no environment surface.
Related: #141950
Punchcard-Session: calm-river-harbor-jg