Skip to content

fix(qa): align release scenario setup and compaction proof - #119188

Merged
vincentkoc merged 3 commits into
mainfrom
fix/beta8-qa-scenario-contracts
Aug 4, 2026
Merged

vincentkoc merged 3 commits into
mainfrom
fix/beta8-qa-scenario-contracts

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes three Beta release-validation failures caused by stale or incomplete QA scenario contracts:

  • Matrix generated-image delivery did not enable the OpenAI image provider or select an image model.
  • Matrix voice preflight configured OpenAI transcription without loading the OpenAI plugin.
  • Compaction retry required exactly five retained tail blocks even though the runtime correctly retained a smaller suffix under the current token budget.

Why This Change Was Made

The Matrix scenarios now declare the provider and image-model setup they require. QA gateway config retains explicit plugins plus provider plugins inferred from configured models. The compaction scenario checks the real invariant: block 10 is pruned and retry keeps a nonempty contiguous suffix ending at block 15.

User Impact

Release validation no longer reports product failures for missing scenario setup or for valid compaction suffix sizes. Product runtime is unchanged.

Evidence

No changelog entry: this repairs release QA contracts and does not change shipped product behavior.

Punchcard-Session: amber-workshop-river-yr

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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, 2:14 PM ET / 18:14 UTC.

ClawSweeper review

What this changes

Updates Matrix QA scenarios to declare required OpenAI setup, retains inferred live-provider plugins, and relaxes compaction proof to a nonempty contiguous retained suffix.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

No blocking patch defect was found, but this maintainer-owned QA contract update should remain open until its exact-head release evidence completes and the Codex compaction boundary is independently verified from source.

Priority: P1
Reviewed head: 0ae194ddc13ae3b7b798639d8d381cda9ac947bd
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused and owner-aligned with no actionable defect found; final merge confidence depends on the outstanding exact-head automation and Codex contract check.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored QA-only PR is governed by exact-head QA and release-scenario evidence rather than the external-contributor real-behavior-proof gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored QA-only PR is governed by exact-head QA and release-scenario evidence rather than the external-contributor real-behavior-proof gate.
Evidence reviewed 7 items Scenario metadata reaches gateway setup: Suite execution collects scenario plugin IDs and gateway patches before starting the isolated child gateway, so the added Matrix declarations affect the intended launch boundary.
Gateway retains provider ownership: The gateway child resolves model-provider owner plugins and combines them with scenario plugin IDs before calling the config builder; the PR then preserves canonical inferred frontier providers alongside explicit plugins.
Matrix setup is explicit at the scenario owner: The PR adds the OpenAI plugin and image model to the generated-image scenario, and adds the OpenAI plugin to the transcription scenario.
Findings None None.
Security None None.

How this fits together

QA Lab builds an isolated gateway from scenario metadata, enables needed plugins and models, then runs Matrix or runtime flows as release-validation evidence. The changed configuration decides which provider capabilities are available, while the compaction scenario decides what behavior counts as a valid retry.

flowchart LR
  A[QA scenario catalog] --> B[Suite planning]
  B --> C[Gateway configuration]
  C --> D[Provider plugins and models]
  D --> E[Matrix and compaction flows]
  E --> F[Release validation evidence]
Loading

Decision needed

Question Recommendation
Should this PR’s revised compaction criterion be accepted after the exact-head QA run completes, given that its Codex-native-compaction rationale could not be independently checked in this environment? Confirm the boundary, then merge: Verify the Codex runtime contract and merge once the exact-head QA and release scenario checks pass.

Why: The patch is maintainable at the OpenClaw owner boundary, but acceptance of the explicit Codex skip depends on an external runtime contract that this review could not inspect.

Before merge

  • Resolve merge risk (P1) - This changes release QA pass/fail criteria; the Codex-specific compaction rationale remains unverified because the required sibling Codex source was unavailable for inspection.
  • Complete next step (P2) - No mechanical repair is indicated; a maintainer must accept the coverage-boundary rationale after exact-head QA completion and a direct Codex source check.
Agent review details

Security

None.

PR surface

Source +5, Tests +55, Other +10. Total +70 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 1 8 3 +5
Tests 3 57 2 +55
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 3 14 4 +10
Total 7 79 9 +70

Review metrics

Metric Value Why it matters
Production versus test delta QA configuration/scenarios +22/-7; test assertions +57/-2 The only production growth is the named QA setup and assertion contract; most of the patch is focused regression coverage.

Stored data model

Persistent data-model change detected: serialized state: extensions/qa-lab/src/scenario-catalog-compaction.test.ts, serialized state: qa/scenarios/runtime/compaction-retry-mutating-tool.yaml. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Confirm the automation contract (recommended)
    Verify the Codex boundary and let the exact-head QA scenario finish before merging the changed release pass/fail criteria.
  2. Pause the criteria change
    Hold the PR if maintainers require Codex-native compaction to be covered before relaxing this scenario’s retention assertion.

Technical review

Best possible solution:

Keep provider requirements declarative in the affected scenarios and retain the suffix-based OpenClaw assertion, then merge only after exact-head release validation and the Codex boundary check confirm the intended coverage split.

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

Yes, from source: normal QA runs leave OPENCLAW_QA_FORCE_RUNTIME unset, while the old compaction assertion required it to equal openclaw; the changed assertion resolves that default explicitly.

Is this the best way to solve the issue?

Unclear: the scenario-local setup and canonical plugin merge are the right owner boundaries, but the separate Codex compaction claim needs the mandated dependency-source check before this is conclusively the best coverage split.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 7a0a4c5f2a3b.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P1: The patch repairs release-validation contracts for Matrix and compaction coverage.
  • merge-risk: 🚨 automation: It changes QA gateway setup and the criteria that release automation uses to pass or fail scenarios.
  • 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 maintainer-authored QA-only PR is governed by exact-head QA and release-scenario evidence rather than the external-contributor real-behavior-proof gate.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Recent merged QA history includes runtime-parity and QA gateway work, and blame attributes the PR’s provider-plugin merge to this contributor. (role: recent QA area contributor; confidence: high; commits: 66e14c9c997e, 4d15c47e9f16; files: extensions/qa-lab/src/qa-gateway-config.ts, qa/scenarios/runtime/compaction-retry-mutating-tool.yaml)
  • steipete: History shows repeated end-to-end QA, scenario, and Codex-runtime work on the affected architecture. (role: historical QA and Codex contributor; confidence: high; commits: d16e33e08e45, 27f62f3e8e22; files: extensions/qa-lab/src/gateway-child.ts, extensions/qa-lab/src/qa-gateway-config.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Verify the Codex compaction boundary from the sibling source checkout.
  • Confirm the exact-head release-scenario result before merge.

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.

History

Review history (7 earlier review cycles)
  • reviewed 2026-08-04T11:04:07.671Z sha 923b182 :: needs changes before merge. :: [P1] Retain selected model provider plugins
  • reviewed 2026-08-04T11:18:19.006Z sha c8eef4e :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T11:25:18.034Z sha c8eef4e :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T15:04:27.852Z sha d273f681aa7f35cb42f9e7cab17e8c395099216c :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T16:05:42.557Z sha 28f63c9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T17:20:16.632Z sha 28f63c9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T17:30:46.955Z sha 28f63c9 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/beta8-qa-scenario-contracts branch from c8eef4e to d273f68 Compare August 4, 2026 14:51
@vincentkoc
vincentkoc marked this pull request as ready for review August 4, 2026 14:52
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/beta8-qa-scenario-contracts branch from d273f68 to 28f63c9 Compare August 4, 2026 15:19
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/beta8-qa-scenario-contracts branch from 6107b85 to 0ae194d Compare August 4, 2026 18:08
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 4, 2026
@vincentkoc
vincentkoc merged commit aa07d55 into main Aug 4, 2026
132 of 134 checks passed
@vincentkoc
vincentkoc deleted the fix/beta8-qa-scenario-contracts branch August 4, 2026 19:32
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 4, 2026
Punchcard-Session: crisp-lantern-orchard-nv

* origin/main:
  fix(release): accept legacy empty core artifacts (#119337)
  fix(qa): carry selected runtime into flow scenarios (#119324)
  fix(ci): retry interrupted Windows dashboard release checks (#119095)
  fix(release): filter validation ancestry fetch (#119334)
  fix(release): accept trusted extended-stable validation evidence (#119264)
  fix(sessions): preserve recorder-owned user turns (#119307)
  perf(cli): split plugin registry startup timing (#119318)
  fix(qa): align release scenario setup and compaction proof (#119188)
  fix(ci): avoid duplicate Matrix release QA runs (#119171)
vincentkoc added a commit that referenced this pull request Aug 5, 2026
…time

* origin/main: (75 commits)
  fix(commands): restore tool inventory for dynamic models (#119306)
  fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257)
  docs: add ChromeOS (Crostini) platform install guide (#107663)
  test(msteams): serve JWKS from in-process server in auth coverage (#119354)
  fix(qa): enable OpenAI for stored audio scenario (#119349)
  test(agents): realpath apply-patch temp dir fixture (#119353)
  test(slack): drop redundant .js-suffixed system-event mock (#119352)
  fix(exec): leave safe builtins unrewritten in enforced mode (#119351)
  fix(sessions): keep gateway responsive while large transcript archives are built (#112424)
  fix(tui): restore provider auth in installed local mode (#119283)
  fix(release): accept legacy empty core artifacts (#119337)
  fix(qa): carry selected runtime into flow scenarios (#119324)
  fix(ci): retry interrupted Windows dashboard release checks (#119095)
  fix(release): filter validation ancestry fetch (#119334)
  fix(release): accept trusted extended-stable validation evidence (#119264)
  fix(sessions): preserve recorder-owned user turns (#119307)
  perf(cli): split plugin registry startup timing (#119318)
  fix(qa): align release scenario setup and compaction proof (#119188)
  fix(ci): avoid duplicate Matrix release QA runs (#119171)
  perf(agents): reuse provider policy manifest registry (#119305)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
…119188)

* fix(qa): align release scenarios with runtime contracts

* fix(qa): retain inferred model provider plugins

* fix(qa): accept default OpenClaw compaction runtime
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 merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S 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