STET

flux-pr-4970

Zod (TypeScript) · W2 · GPT-5.4

pass

Tests passed. 3/3 commands passed. Strength: weak.

69.2% run pass rate
Tier 1
primary equivalencepassedequivalentneeds generated testsweak signal riskcommand source drift
pnpm build
gold passagent pass
find . -name vitest.config.ts -exec sed -i 's/test: {/test: { testTimeout: 30000,/' {} +
gold passagent pass
npx vitest run packages/zod/src/v4/classic/tests/union.test.ts -t "surface\ continuable\ errors\ only\ if\ they\ exist"
gold passagent pass

Partial score: 3/3

Publishable: noWeak signal risk: yesCache: miss

Trajectory

unknown · partial order only

Canonical trajectory missing; showing coarse derived order only.

patch written
Patch captured
#1

Stet captured agent.patch for this trial.

validation
Tests passed
#2
equivalence
Equivalence judgment
#3

equivalent

code review
Code review judgment
#4

pass

decision
Final decision
#5

pass

Quality

equivalence
equivalent
97% confidence
code review
pass · 94/100
footprint
medium (0.42)
behavioral
100.0%
cost
$0.51 · 766K

Equivalence Reasoning

stylistic

Agent patch implements all core intents: union handling now only returns a non-aborted branch when exactly one exists, empty literal schemas are rejected at construction, docs include `normalize()` in string transforms, and version is bumped to 4.0.9. Differences from gold are limited to wording/comments and added tests.

Code Review

correctness: 4/4introduced bug risk: 3/4edge case handling: 4/4maintainability idioms: 4/4

The agent patch likely satisfies the intended 4.0.9 changes: deterministic union resolution for the single surviving branch, rejection of empty literal schemas, and normalization added to string transform docs, with aligned version bumps and supporting tests.