fix: actually compact the cordis-dynamic fixture's request/header line

The previous hygiene fix re-serialized with json.dumps defaults (spaced
separators), leaving the line byte-identical; explicit compact
separators make the header-scrub guard pass.
This commit is contained in:
Tianyi Cui
2026-07-26 12:29:16 +08:00
parent 99a9fa8509
commit 9785f0e2a0

View File

@@ -2,7 +2,7 @@
{"type": "turn/start", "seq": 0, "time": 1783957884479, "data": {"turn": 1, "trigger": {"kind": "message", "source": {"kind": "user"}}}}
{"type": "user/message", "seq": 1, "time": 1783957884479, "data": {"content": [{"type": "text", "text": "Run this advanced flow exactly once: mount a no-op Cordis plugin named snapshot-marker; use run_code to inspect the live dynamic mounts through tools.cordis_inspect; delegate once to a direct spawn child; run one workflow that delegates to another spawn child; unmount dyn-1; then reply with exactly ADVANCED_ACP_OK."}], "source": {"kind": "user"}}, "surfaceOp": "append"}
{"type": "step/start", "seq": 2, "time": 1783957884486, "data": {"turn": 1, "step": 1}}
{"type": "request/header", "seq": 3, "time": 1783957884486, "data": {"header": {"config": {"provider": "deepseek", "model": "deepseek-v4-flash"}, "system": "{{system}}", "tools": "{{tools}}"}, "reason": "initial"}}
{"type":"request/header","seq":3,"time":1783957884486,"data":{"header":{"config":{"provider":"deepseek","model":"deepseek-v4-flash"},"system":"{{system}}","tools":"{{tools}}"},"reason":"initial"}}
{"type": "assistant/chunk", "seq": 4, "time": 1783950000005, "data": {"turn": 1, "step": 1, "chunk": {"type": "block-start", "index": 0, "blockType": "tool-call"}}}
{"type": "assistant/chunk", "seq": 5, "time": 1783950000006, "data": {"turn": 1, "step": 1, "chunk": {"type": "tool-call-delta", "index": 0, "id": "advanced-mount", "name": "cordis_mount", "argumentsDelta": "{\"code\":\"return { name: 'snapshot-marker', apply() {} }\"}"}}}
{"type": "assistant/chunk", "seq": 6, "time": 1783950000007, "data": {"turn": 1, "step": 1, "chunk": {"type": "block-end", "index": 0, "block": {"type": "tool-call", "id": "advanced-mount", "name": "cordis_mount", "arguments": "{\"code\":\"return { name: 'snapshot-marker', apply() {} }\"}"}}}}