Representative-client fixture + current-state boundary pins (#133) #142
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
P1
P2
P3
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/scarcity-router!142
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "compat/representative-client-fixture"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #133 (child A of program #132). Branch
compat/representative-client-fixturefromdevelop@893d2cb.What
The regression/acceptance asset for the representative-client program: a sanitized fixture of the real 2026-09-26 ZCode request shape (bare logical model id, system+user messages, two synthetic coding-agent-shaped function tools,
tool_choice: "auto",stream: true+include_usage, the four observed reasoning-dialect fields simultaneously,max_completion_tokens: 128000) plus HTTP-boundary tests that pin today's behavior for each observed acceptance failure. No real prompt content or client tool catalog is reproduced; no production code changes.Pins (each names the child that flips it)
test_reasoning_dialect_fields_are_currently_unknown_parametersunknown_parameter,param=enable_thinking(sorted-first)test_bare_logical_model_is_currently_not_resolvablemodel_not_foundforgpt-5.6-lunatest_models_listing_currently_exposes_aliases_only/v1/models= aliases onlytest_representative_output_ceiling_is_currently_rejectedoutput_limit_exceededfor 128000 at the 16384 defaulttest_pinned_request_with_client_tools_is_currently_incompatiblecompatibility_unsupportedwith atool_calls: UNSUPPORTEDCodex-path matrixControls: the representative body without the not-yet-supported fields streams today (SSE framing + usage chunk verified);
reasoning_effort: "max"alone works through the canonical field; the exactsr-pin:path admits and streams — the strict escape hatch that must survive the whole program unchanged.One documented ordering fact from the real test, now encoded: the limits gate masks the tools gate (failure 3 observed before failure 5), so the tools pin drops the output ceiling to isolate
compatibility_unsupported.Gates
uv sync --only-dev✓make check— 2066 tests OK (455 s) ✓uv run basedpyright— 0 errors / 0 warnings / 0 notes ✓git diff --check✓origin/develop..HEAD= exactly the one commit above; no merge commits; only the two new test files touched.UX impact
none — test-only change; no user-facing surface is altered.
Review
Scope frozen by #133 (test-only, no production modules); budget 60 min — met. Independent review requested per the bounded review lifecycle; PR left open for human merge gate. Not security-critical (no production behavior change).
Independent review (GLM-5.3-Flash, fresh reviewer context) of reviewed_head
85863205b4430543df30d3ef2539a4da1d0c1dfe— VERDICT: APPROVE.Findings (all DEFER, no blockers):
test_representative_client.py→ServerHarnessfromtest_gateway_server); sanctioned by the frozen scope ("shared fixtures reuse"); promote togateway_fixturesif a third module needs the harness.test_gateway_server.SurfaceTests(this copy is the #134-flippable pin); child #134 must update both assertions in coordination.admit_pinned_target→ compatibility stage → 400compatibility_unsupported).Reviewer gates: diff = exactly the two new test files, 1 commit, no merge commits,
git diff --checkclean; every pin verified against the committed implementation (sorted-firstunknown_parameterparam,output_limit_exceededat the real 16384 default, limits-gate-before-admission ordering, alias-only models list, bare-model 404); PR state cross-checked on Forgejo (head = reviewed_head, mergeable, not merged). UX impact: none (test-only).Coordination note: DEFER 2 and 3 are addressed in the stacked PR #144 (branch
compat/logical-model-resolution), per the flip plan.