Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Version and environment (optional)
Hosted Linux CI, Harness regression (live), model deepseek-v4.1-flash. Observed on Astra commits e3cc2972a47aefdf1d290d3f0b40433ab0df43c1 and 137cff045c0bcfd5e3ee1ae8c522594900e01513 while following PR #1094. An intervening PR revision and the latest main revision passed; the cause is not established.
Actual behavior
The real-model case introspection_reflection_source_boundary intermittently fails the argument-contract predicates requiring introspect /depth == diagnostic and /horizon == recent. Both diagnostic tool calls, their ordering, successful outcomes, and the final answer's scope judgment pass. The failed case exits 0 but is correctly classified BehaviorContractViolation.
- First observed failure: 17/18 cases pass; this case fails criteria 7 and 8.
- Intervening PR revision,
abc1f6ddf: 18/18 pass with no case or assertion changes. - Current failure,
137cff045: the same two argument predicates fail; 17/18 cases pass. Model registration, readiness and preflight pass. - Latest-main control,
8514005c: succeeds.
Public safe artifacts withhold the original arguments and canonical raw tool payloads. They establish predicate failure, not whether the fields were missing, held different values, or encountered an argument-projection problem. Do not infer a model-only root cause from these summaries.
Expected behavior
When the user explicitly requests supported diagnostic depth and horizon, the agent should discover/select the required contract and execute with those arguments. Live and durable observation scopes must remain distinct. Preserve the existing hard argument assertions and accurately report failures.
Steps to reproduce
- Run the existing automatic live regression profile against the affected trusted revision with
deepseek-v4.1-flash. - Inspect the
introspection_reflection_source_boundaryresult and criteria 7/8 in the safe summary. The case explicitly asks forintrospect(facet=overview, depth=diagnostic, horizon=recent)followed byreflect(facet=overview, depth=diagnostic, horizon=session); typed discovery is allowed. - Compare the exact checked-out SHA and attempt, preserving both passing and failing evidence. One successful run is not evidence of stable compliance.
Additional information
Relevant existing owners:
- Canonical diagnostic schema supports
depthandhorizon. - Resident projection exposes
facet,question, artifact/Explain fields and pagination, while advanced fields require the selected full contract. - System guidance tells the agent to select absent fields before use.
- Existing surface regression covers the selected advanced observation contract.
These source paths and the harness case are unchanged by #1094. The PR's targeted admission/cancellation regressions and all 6032 runtime tests pass in current-head CI. This tracking issue keeps observation-contract investigation separate from that PR's gateway budget, Edge setup, and approval-diagnostic scope; it does not establish that the PR caused or fixed this failure.
Next investigation should correlate the existing private canonical arguments, selected schema and dispatch route, or use a controlled-model entrypoint fixture to distinguish selection/adherence from journal projection. Keep raw prompts, credentials and tool/provider payloads private. Do not relax assertions, add scenario-specific defaults or rerun repeatedly until green. No local model scenario or deployment was restarted for this investigation.
Same-revision diagnostic control
The single diagnostic rerun, attempt 2 of the current failed job, on the unchanged commit 137cff045c0bcfd5e3ee1ae8c522594900e01513, completed 18/18 cases successfully, including every introspection predicate. Attempt 1 on that same revision remains recorded above. No source, case, assertion, model input configuration or budget was changed between attempts. This establishes differing outcomes for the same revision and declared inputs; it does not identify the causal variable or prove stable instruction adherence. The issue remains open, and no further diagnostic retry was requested.
Activity
fix(runtime): bound gateway waits and preserve failure reasons (#1094)