Skip to content

test(agents): use synthetic tool schema fixtures - #88376

Closed
vincentkoc wants to merge 1 commit into
mainfrom
test/synthetic-tool-fixture-names-20260530
Closed

vincentkoc wants to merge 1 commit into
mainfrom
test/synthetic-tool-fixture-names-20260530

Conversation

@vincentkoc

@vincentkoc vincentkoc commented May 30, 2026 •

Copy link
Copy Markdown
Member

Status

This draft is not intended to land standalone.

Use it only as a source for folding synthetic fixture-name cleanup into behavior PRs that already touch the relevant tests. The goal is to avoid real reported plugin/tool names in tests and PR/spec text without creating a separate churn-only landing.

Landing Rule

  • Fold relevant hunks into the active hardening PR that owns the behavior.
  • Do not land broad fixture renames by themselves.
  • Close this PR once the remaining useful hunks are either folded or deliberately dropped.

Verification

No standalone verification target. Each folded hunk must be covered by the behavior PR's focused tests and changed gate.

@vincentkoc vincentkoc self-assigned this May 30, 2026
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime commands Command implementations agents Agent runtime and tooling extensions: codex size: M maintainer Maintainer-authored PR labels May 30, 2026
@clawsweeper

clawsweeper Bot commented May 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed May 30, 2026, 4:16 PM ET / 20:16 UTC.

Summary
The PR renames schema-hardening test fixtures from dofbot/dofbot_move_angles to synthetic fuzzplugin/fuzz_move_angles across agent, doctor, gateway-protocol, and Codex dynamic-tool tests.

PR surface: Tests -2. Total -2 across 14 files.

Reproducibility: not applicable. this is a test fixture cleanup rather than a bug report. Source review compared the PR head against current main and the related hardening PR.

Review metrics: none identified.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🌊 off-meta tidepool
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • none.

Risk before merge

  • [P1] Standalone merge would ignore the PR's own landing rule and add broad test-only fixture churn without the behavior PR that owns focused validation.

Maintainer options:

  1. Decide the mitigation before merge
    Keep this as a protected source branch until maintainers fold needed hunks into behavior PRs such as fix(agents): quarantine invalid runtime tool schemas #88368 or deliberately drop them, then close it.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • [P2] Maintainer handling is needed because this protected draft is explicitly a source branch for folding hunks into behavior PRs, not an automation repair target.

Security
Cleared: The diff only changes test fixture names and import ordering; it does not touch workflows, dependencies, lockfiles, scripts, secrets, runtime code, or package metadata.

Review details

Best possible solution:

Keep this as a protected source branch until maintainers fold needed hunks into behavior PRs such as #88368 or deliberately drop them, then close it.

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

Not applicable; this is a test fixture cleanup rather than a bug report. Source review compared the PR head against current main and the related hardening PR.

Is this the best way to solve the issue?

Yes for the stated source-branch purpose, but not as a standalone landing path. The maintainable solution is to fold relevant hunks into the behavior PRs that already own focused tests and changed-gate proof.

AGENTS.md: found and applied where relevant.

Codex review notes: model gpt-5.5, reasoning high; reviewed against b93ed3f93f14.

Label changes

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • remove proof: sufficient: Current real behavior proof status is not_applicable, not sufficient.
  • remove rating: 🦞 diamond lobster: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P3: This is low-risk test fixture cleanup with no runtime behavior change and should proceed through normal maintainer handling.
  • 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: The external contributor proof gate does not apply to this member-authored, maintainer-labeled test-only source branch.
Evidence reviewed

PR surface:

Tests -2. Total -2 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 14 118 120 -2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 14 118 120 -2

What I checked:

  • Repository policy was read and applied: The root policy requires full AGENTS.md review and identifies protected-label gates and maintainer-item gates as ClawSweeper review inputs; scoped agent and extension guides were also read for the touched test surfaces. (AGENTS.md:22, a2b2c4a76c79)
  • Protected maintainer signal: GitHub context reports author association MEMBER and the maintainer label, so this workflow should not auto-close the PR even though it is intentionally draft/source-only.
  • PR body limits landing path: The PR body says the draft is not intended to land standalone, should only be folded into behavior PRs that already touch the relevant tests, and should close after useful hunks are folded or deliberately dropped. (7657b149612b)
  • Patch surface is test-only fixture cleanup: The single PR commit changes 14 test files with fixture-name substitutions and no production, dependency, workflow, lockfile, or package metadata edits. (7657b149612b)
  • PR head has the synthetic fixture names: At PR head, the central runtime schema projection tests use fuzz_move_angles and expect matching synthetic diagnostic text. (src/agents/tool-schema-projection.test.ts:32, 7657b149612b)
  • Current main has not implemented the cleanup: Current origin/main still contains dofbot and dofbot_move_angles across the same test surfaces and has no fuzzplugin/fuzz_move_angles matches, so implemented-on-main is not available. (src/agents/tool-schema-projection.test.ts:32, 427df01d4ed5)

Likely related people:

  • Shakker: Current-main blame for central schema projection, doctor runtime, and Codex dynamic-tool fixture lines points to the same commit that added those tests. (role: introduced current fixture coverage; confidence: high; commits: e5455b61c3a4; files: src/agents/tool-schema-projection.test.ts, src/flows/doctor-core-checks.runtime.test.ts, extensions/codex/src/app-server/dynamic-tools.test.ts)
  • vincentkoc: The PR author also owns the related hardening and extraction PRs that describe this branch as source material to fold into behavior PRs. (role: current split/cleanup owner; confidence: high; commits: 7657b149612b, 72b22e781273, 19c1ae878fe5; files: src/agents/tool-schema-projection.test.ts, src/flows/doctor-core-checks.runtime.test.ts, extensions/codex/src/app-server/dynamic-tools.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor 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 May 30, 2026
@vincentkoc
vincentkoc force-pushed the test/synthetic-tool-fixture-names-20260530 branch from 7eae3b0 to 7657b14 Compare May 30, 2026 17:32
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels May 30, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Closing this draft because it is fixture-name cleanup only and should not land standalone.

Relevant synthetic fixture cleanup should be folded into behavior PRs that already touch those tests, so each hunk is covered by the owning behavior proof instead of landing as broad churn.

@vincentkoc vincentkoc closed this May 30, 2026
@vincentkoc vincentkoc removed app: web-ui App: web-ui gateway Gateway runtime commands Command implementations size: M extensions: codex 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. labels Aug 26, 2026
@vincentkoc vincentkoc changed the title test(agents): use synthetic tool schema fixtures refactor(agents): share session token normalization Aug 26, 2026
@vincentkoc vincentkoc changed the title refactor(agents): share session token normalization test(agents): use synthetic tool schema fixtures Aug 26, 2026
@vincentkoc vincentkoc added app: web-ui App: web-ui gateway Gateway runtime commands Command implementations extensions: codex size: M 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. labels Aug 26, 2026
@shakkernerd
shakkernerd deleted the test/synthetic-tool-fixture-names-20260530 branch October 19, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui commands Command implementations extensions: codex gateway Gateway runtime 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: M 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