Repository navigation
spark-server: loop repair (#55): short prose history no longer suppresses tool calls; guard_stop on the wire (ported from Enntity) - #232
Conversation
|
Pair check vs parent (binary 6d4b71b8): greedy C1 equals #198's serial references 8/8, and the tool probe is 21/21. No regression.
|
|
Correction: the guard was engaged on the guard-on boot. The log has |
|
Guard-on probe (#232 head
|
|
Follow-up on the missing |
018a396 to
9e5b619
Compare
4d6cf36 to
342ca7e
Compare
342ca7e to
2ac4275
Compare
A refusal the scheduler's ActiveSeq flag carried (Done.guard_stop -> response.guard_stop -> ir::Choice) is asserted separately from the inspect-arm refusal: stream_state.guard_stop is preserved by the .or() merge and must surface on the wire.
5168fe3 to
6adfab3
Compare
2ac4275 to
563e7c2
Compare
A refusal the scheduler's ActiveSeq flag carried (Done.guard_stop -> response.guard_stop -> ir::Choice) is asserted separately from the inspect-arm refusal: stream_state.guard_stop is preserved by the .or() merge and must surface on the wire.
6adfab3 to
80d3980
Compare
563e7c2 to
ef004cc
Compare
A refusal the scheduler's ActiveSeq flag carried (Done.guard_stop -> response.guard_stop -> ir::Choice) is asserted separately from the inspect-arm refusal: stream_state.guard_stop is preserved by the .or() merge and must surface on the wire.
80d3980 to
2aed61a
Compare
ef004cc to
f5f301e
Compare
A refusal the scheduler's ActiveSeq flag carried (Done.guard_stop -> response.guard_stop -> ir::Choice) is asserted separately from the inspect-arm refusal: stream_state.guard_stop is preserved by the .or() merge and must surface on the wire.
…op on the wire Port of Enntity/atlas 8150f89 + e2fcc5c (AGPL-3.0-only), fixes #55. - loop_detect: a short-prose history is diagnostic only — it no longer hard-masks <tool_call> nor seeds the soft bias decay (client-supplied history is not provenance; masking/biasing before the model's first tool call creates the loop it exists to prevent). The Suppress verdict keeps its P1-5 hard mask (failing/progressing carve-outs). - ActiveSeq::guard_stop flows to InferenceResponse, ir::Choice and StreamDelta::Finish, and reaches the wire as a guard_stop extension field on the blocking choice and the final stream chunk (additive, skipped when absent → default wire output byte-identical). Tests: their 3 loop_detect tests (filler never trips, varied prose never discourages, Suppress keeps its mask).
A refusal the scheduler's ActiveSeq flag carried (Done.guard_stop -> response.guard_stop -> ir::Choice) is asserted separately from the inspect-arm refusal: stream_state.guard_stop is preserved by the .or() merge and must surface on the wire.
2aed61a to
590c18d
Compare
f5f301e to
7360981
Compare
…r missed the field; stream/Responses parity kept, Anthropic stays stop_reason-only
|
Merged (
|
Stack: … ← #230 ← #231 ← this.
Summary
8150f896+e2fcc5cd) with credit. Spin detection on short, pure-prose history becomes diagnostic only (adebug!line): it no longer hard-masks or biases<tool_call>, which caused the loops in Job board: Job issue form + live board on atlasinference.dev; wrangler cache + CI identity fix; root cleanup #55. The explicit Suppress verdict keeps its hard mask.guard_stopend to end (InferenceResponse→ir::Choice/StreamDelta::Finish→ OpenAI blocking choice and final chunk).skip_serializing_if = None, so the wire format is unchanged unless a guard fires.guard_stopfield when a guard cuts a response.Test plan (vs parent #231)
loop_detect24/24 (including their 3 new tests),encode_stream5/5,done_finalizationgreenguard_stoppresent on a guard cut with--tool-guard=onand absent otherwiseTracking: #220.
Generated with Devin