Skip to content

test(qa): repair QA catalog integrity - #119140

Merged
vincentkoc merged 1 commit into
mainfrom
test/qa-catalog-integrity
Aug 4, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
test/qa-catalog-integrity

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Problem

Two failure-recovery taxonomy claims have duplicate primary owners:

  • agent-runtime.progress-visibility-failure-recovery is primary in both replay-safe recovery and retry-budget exhaustion.
  • agent-runtime.failure-recovery-retry-policy is primary in both replay-safe recovery and reasoning-only post-write safety.

This makes primary coverage ownership ambiguous even though the scenarios exercise distinct supporting behavior.

Fix

  • Keep retry-budget exhaustion as the sole primary owner of progress-visibility failure recovery; retain replay-safe recovery as secondary evidence.
  • Keep replay-safe empty-response recovery as the sole primary owner of retry policy; retain reasoning-only post-write safety as secondary evidence.
  • Add a catalog regression that asserts each sole primary owner and both secondary demotions.

No runtime, taxonomy ID, schema, exhaustion-scenario, or changelog changes.

Evidence

  • Catalog, coverage-report, profile-selection, and CI-smoke tests: 81/81 passed
  • Post-compaction catalog and coverage-report tests: 70/70 passed
  • Exact coverage queries report one primary owner for each repaired coverage ID
  • Exact mock suite passed 3/3:
    • empty-response-recovery-replay-safe-read
    • empty-response-retry-budget-exhausted
    • reasoning-only-no-auto-retry-after-write
  • Targeted formatting and git diff --check passed
  • Blacksmith Testbox changed gate passed all guards and full typecheck; its sole max-lines failure was repaired, then the exact remote lint surface passed with 0 warnings and 0 errors
  • Sol-high autoreview: clean, no actionable findings
  • Current-main drift check found no changes to the three scoped files; synthetic merge-tree completed cleanly

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 4, 2026 07:19
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 3:25 AM ET / 07:25 UTC.

ClawSweeper review

What this changes

The PR demotes two duplicate QA scenario primary-coverage claims to secondary evidence and adds a regression that requires their designated scenarios to be the sole primary owners.

Merge readiness

✅ Ready for maintainer review

Keep open. Current main still assigns the two coverage IDs to multiple primary scenarios; this patch repairs ownership at the YAML producer and adds the appropriate catalog-wide regression. No blocking correctness or security finding was identified; the protected maintainer PR remains for normal maintainer review and exact-head merge gates.

Priority: P3
Reviewed head: 1787f737dbdfbbf870ea881aaf6e13e6762e5f28

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-backed QA integrity repair with a targeted regression and no actionable correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored internal QA catalog repair is outside the external-contributor real-behavior-proof gate; the PR body nevertheless records focused mock-suite evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored internal QA catalog repair is outside the external-contributor real-behavior-proof gate; the PR body nevertheless records focused mock-suite evidence.
Evidence reviewed 6 items Current-main ownership defect: Current main marks progress-visibility failure recovery primary in both replay-safe recovery and retry exhaustion, and marks retry policy primary in both replay-safe recovery and write-side reasoning-only safety.
Producer roles control profile membership: The taxonomy resolver selects every scenario whose primary coverage contains a requested ID; secondary evidence is deliberately excluded from that ownership decision.
Catalog contract: The scenario-pack contract reserves primary coverage for required product-boundary proof and calls secondary coverage supporting evidence; it also documents that profiles select primary owners.
Findings None None.
Security None None.

How this fits together

QA Lab loads scenario YAML into a catalog used by taxonomy profiles, CI smoke planning, and coverage reports. Primary coverage selects required scenario owners, while secondary coverage preserves supporting evidence without selecting it as the canonical proof.

flowchart LR
  A[Scenario YAML] --> B[QA catalog loader]
  B --> C[Primary and secondary coverage roles]
  C --> D[Taxonomy profile selection]
  C --> E[Coverage reports]
  D --> F[CI smoke scenarios]
  G[Catalog regression] --> C
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +11, Other +2. Total +13 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 11 0 +11
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 3 1 +2
Total 3 14 1 +13

Review metrics

Metric Value Why it matters
Production versus QA validation LOC production +0; QA test/catalog metadata +14/-1 The change does not alter runtime behavior; it changes the primary-owner evidence used by QA profile selection.

Technical review

Best possible solution:

Retain the producer-level primary/secondary corrections and catalog invariant, then land after the designated maintainer approves the exact current head.

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

Yes. Current-main YAML directly contains the duplicate primary claims, and the catalog/profile source shows that primary ownership controls scenario selection; no dynamic execution is needed to establish the metadata defect.

Is this the best way to solve the issue?

Yes. Scenario YAML owns the coverage roles, and changing those roles preserves supporting evidence while preventing ambiguous primary selection; consumer-side deduplication would leave the catalog incorrect.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 32c5f0205075.

Labels

Label changes:

  • add P3: This is a focused internal QA ownership repair with limited blast radius and no runtime, configuration, or delivery change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored internal QA catalog repair is outside the external-contributor real-behavior-proof gate; the PR body nevertheless records focused mock-suite evidence.

Label justifications:

  • P3: This is a focused internal QA ownership repair with limited blast radius and no runtime, configuration, or delivery change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored internal QA catalog repair is outside the external-contributor real-behavior-proof gate; the PR body nevertheless records focused mock-suite evidence.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Authored the preceding failure-recovery scenario work, adjacent catalog-baseline repair, and this focused ownership correction. (role: recent QA catalog contributor; confidence: high; commits: 79dac911f619, e29f692066cf, 1787f737dbdf; files: qa/scenarios/runtime/empty-response-recovery-replay-safe-read.yaml, qa/scenarios/runtime/empty-response-retry-budget-exhausted.yaml, qa/scenarios/runtime/reasoning-only-no-auto-retry-after-write.yaml)
  • Dallin Romney: Authored the reachable QA taxonomy coverage-uniqueness refactor that established the adjacent integrity boundary. (role: coverage-uniqueness refactor author; confidence: medium; commits: 132d91e42756; files: extensions/qa-lab/src/scorecard-taxonomy.ts, qa/scenarios/index.yaml)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • 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.

@vincentkoc
vincentkoc merged commit 7aa3642 into main Aug 4, 2026
187 of 193 checks passed
@vincentkoc
vincentkoc deleted the test/qa-catalog-integrity branch August 4, 2026 07:28
vincentkoc added a commit that referenced this pull request Aug 4, 2026
…checkpoint

* origin/main: (46 commits)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  fix(scripts): prevent gateway benchmarks from stalling on probes (#119063)
  test(channels): verify built sanitizer semantics (#119151)
  fix: prevent live updater from leaving Gateway offline indefinitely (#119116)
  test(qa): restore memory tools primary ownership (#119142)
  fix(agents): settle yielded fanout at harness boundary (#118703)
  fix(codex): cap compaction override warning cache via createDedupeCache (#101745)
  fix(daemon): skip unlabeled launchd plists (#119091)
  test(qa): repair QA catalog integrity (#119140)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
zyw02 pushed a commit to zyw02/openclaw that referenced this pull request Aug 5, 2026
* origin/main:
  fix: prevent live updater from leaving Gateway offline indefinitely (openclaw#119116)
  test(qa): restore memory tools primary ownership (openclaw#119142)
  fix(agents): settle yielded fanout at harness boundary (openclaw#118703)
  fix(codex): cap compaction override warning cache via createDedupeCache (openclaw#101745)
  fix(daemon): skip unlabeled launchd plists (openclaw#119091)
  test(qa): repair QA catalog integrity (openclaw#119140)
  fix(test): isolate shared state between test files (openclaw#118781)
  test(xai): cover delayed OAuth connection setup
  fix(voice): start socket timeout after auth preparation
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
* origin/main:
  fix: prevent live updater from leaving Gateway offline indefinitely (openclaw#119116)
  test(qa): restore memory tools primary ownership (openclaw#119142)
  fix(agents): settle yielded fanout at harness boundary (openclaw#118703)
  fix(codex): cap compaction override warning cache via createDedupeCache (openclaw#101745)
  fix(daemon): skip unlabeled launchd plists (openclaw#119091)
  test(qa): repair QA catalog integrity (openclaw#119140)
  fix(test): isolate shared state between test files (openclaw#118781)
  test(xai): cover delayed OAuth connection setup
  fix(voice): start socket timeout after auth preparation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant