Repository navigation
chore(scripts): commit v2.5 drift smoke + brand-schema probe - #1151
Merged
Merged
Conversation
bokelley
force-pushed
the
bokelley/v2-5-smoke-harness
branch
from
May 1, 2026 10:54
4460876 to
28c8429
Compare
This was referenced May 1, 2026
scripts/smoke-wonderstruck-v2-5.ts — read-only harness that calls the Wonderstruck v2.5 MCP agent through the SDK and reports any drift the post-adapter validation pass observes via result.debug_logs. Surfaced the three issues filed today: #1148 (list_authorized_properties throws), #1149 (null envelope fields rejected), #1150 (response validation should be warn-only). scripts/probe-wonderstruck-brand-schema.ts — inspects tools/list to pull the actual brand declaration from the agent's tool schema cache. Used while writing the v2.5 brand-alias type guard in #1137. Both scripts read SALES_AGENTS_CONFIG from .env. No tests or new dependencies. Live under scripts/ alongside generate-types and other dev utilities. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…apabilities
The smoke probe was calling agent.listAuthorizedProperties via optional
chaining, which returned undefined (the method doesn't exist on
AgentClient — list_authorized_properties was replaced by getCapabilities()
in v3, see property-crawler.ts:141). Replaced with a direct
executeTask('list_authorized_properties') probe so v2.5 sellers that
still expose the underlying tool can be tested.
Closes #1148.
bokelley
force-pushed
the
bokelley/v2-5-smoke-harness
branch
from
May 1, 2026 11:04
26ee165 to
db3d659
Compare
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Commit two diagnostic scripts that surfaced the v2.5 drift issues filed today (#1148, #1149, #1150).
scripts/smoke-wonderstruck-v2-5.ts— read-only harness that calls a v2.5 seller through the SDK and reports drift viaresult.debug_logs. Auto-detects Wonderstruck fromSALES_AGENTS_CONFIG; trivial to retarget at any v2 seller.scripts/probe-wonderstruck-brand-schema.ts— inspectstools/listto pull the actualbranddeclaration from the agent's tool schema cache. Used while writing the v2.5 brand-alias type guard in fix(client): unblock v2.5 sellers — brand alias type guard + response validation version pin #1137.No tests, no new deps. Lives under
scripts/alongside other dev utilities.Why
The user's framing was "we keep breaking 2.5 servers and not knowing it." Today's smoke run (post-#1137 version-pin) instantly exposed three real bugs (#1148 / #1149 / #1150). Committing the harness means anyone investigating v2.5 drift has a working starting point, rather than rebuilding it from scratch each time.
Test plan
npx prettier --check scripts/— clean.Notes
No changeset. Pure diagnostic scripts; not bundled in the published package.