From 68c25c3fd92957106c306416a5b9fc5dc436fb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordan=20Aug=C3=A9?= Date: Mon, 6 Jul 2026 18:19:04 +0200 Subject: [PATCH] fix: golden run fixtures and capture script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jordan Augé --- Taskfile.yml | 2 +- ctl/src/mas/ctl/workspace/config.py | 11 +- examples/sample-workspace/config.yaml | 8 + scripts/capture_golden_run.py | 22 +-- .../240c01f5b2a41ca79519/result.json | 4 +- .../240c01f5b2a41ca79519/run.json | 2 +- .../240c01f5b2a41ca79519/run_info.json | 2 +- .../240c01f5b2a41ca79519/traces/events.jsonl | 146 +++++++++--------- .../design-space/cache-entry/result.json | 4 +- .../design-space/cache-entry/run.json | 2 +- .../design-space/cache-entry/run_info.json | 2 +- .../cache-entry/traces/events.jsonl | 146 +++++++++--------- .../golden-runs/design-space/events.jsonl | 146 +++++++++--------- .../45dcacd8bfc0b4bbd689/result.json | 4 +- .../extensions/45dcacd8bfc0b4bbd689/run.json | 2 +- .../45dcacd8bfc0b4bbd689/run_info.json | 2 +- .../45dcacd8bfc0b4bbd689/traces/events.jsonl | 105 +++++++++---- .../extensions/cache-entry/result.json | 4 +- .../extensions/cache-entry/run.json | 2 +- .../extensions/cache-entry/run_info.json | 2 +- .../cache-entry/traces/events.jsonl | 105 +++++++++---- .../golden-runs/extensions/events.jsonl | 105 +++++++++---- .../extensions/events.normalized.jsonl | 51 +++++- .../golden-runs/extensions/events.sha256 | 2 +- .../240c01f5b2a41ca79519/result.json | 4 +- .../lab-smoke/240c01f5b2a41ca79519/run.json | 2 +- .../240c01f5b2a41ca79519/run_info.json | 2 +- .../240c01f5b2a41ca79519/traces/events.jsonl | 146 +++++++++--------- .../lab-smoke/cache-entry/result.json | 4 +- .../lab-smoke/cache-entry/run.json | 2 +- .../lab-smoke/cache-entry/run_info.json | 2 +- .../lab-smoke/cache-entry/traces/events.jsonl | 146 +++++++++--------- .../golden-runs/lab-smoke/events.jsonl | 146 +++++++++--------- .../45dcacd8bfc0b4bbd689/result.json | 4 +- .../45dcacd8bfc0b4bbd689/run.json | 2 +- .../45dcacd8bfc0b4bbd689/run_info.json | 2 +- .../45dcacd8bfc0b4bbd689/traces/events.jsonl | 105 +++++++++---- .../lifecycle-control/cache-entry/result.json | 4 +- .../lifecycle-control/cache-entry/run.json | 2 +- .../cache-entry/run_info.json | 2 +- .../cache-entry/traces/events.jsonl | 105 +++++++++---- .../lifecycle-control/events.jsonl | 105 +++++++++---- .../lifecycle-control/events.normalized.jsonl | 51 +++++- .../lifecycle-control/events.sha256 | 2 +- tests/tutorials/test_scenario_commands.py | 42 ++++- 45 files changed, 1073 insertions(+), 688 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index d63a1fa5..727b2f3c 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -111,7 +111,7 @@ tasks: deps: [install-dev] cmds: - task: verify-lab-smoke - #- task: verify-golden-runs + - task: verify-golden-runs - task: verify-tutorials ci: diff --git a/ctl/src/mas/ctl/workspace/config.py b/ctl/src/mas/ctl/workspace/config.py index f6309b28..5960bdad 100644 --- a/ctl/src/mas/ctl/workspace/config.py +++ b/ctl/src/mas/ctl/workspace/config.py @@ -184,14 +184,21 @@ def runtime_profile_path(self) -> Path | None: return candidate if candidate.is_file() else None def resolve_library_path(self, lib_ref: str) -> Path | None: - """Resolve ``team:bundle/sub`` via manifest_libraries.""" + """Resolve ``team:bundle/sub`` via manifest_libraries. + + The ``base`` path in manifest_libraries may be: + - Absolute: ``/abs/path`` → used directly + - Home-relative: ``~/.config/…`` → expanded via Path.expanduser() + - Relative: ``./infra`` → resolved relative to the workspace root + """ if ":" not in lib_ref: return None lib, rest = lib_ref.split(":", 1) base = self.manifest_libraries.get(lib) if not base or self._path is None: return None - root = (self._path / base).resolve() + base_path = Path(base).expanduser() + root = (base_path if base_path.is_absolute() else self._path / base_path).resolve() candidate = (root / rest).with_suffix(".yaml") if candidate.is_file(): return candidate diff --git a/examples/sample-workspace/config.yaml b/examples/sample-workspace/config.yaml index ad8a3f36..f70e45db 100644 --- a/examples/sample-workspace/config.yaml +++ b/examples/sample-workspace/config.yaml @@ -8,6 +8,14 @@ # # For live OpenAI/production infra, see: # docs/tutorials/00-environment-setup/config.openai.example.yaml +# +# For private/team proxy bundles (e.g. claris:llm-proxy), add manifest_libraries: +# +# manifest_libraries: +# claris: ~/.config/mas/infra # resolves claris:llm-proxy → ~/.config/mas/infra/llm-proxy.yaml +# +# Then set MAS_INFRA_REFS=claris:llm-proxy for real-LLM runs. +# Template: config/infra/claris-proxy.example.yaml → copy to ~/.config/mas/infra/llm-proxy.yaml mas_ctl: flavour: local diff --git a/scripts/capture_golden_run.py b/scripts/capture_golden_run.py index 026b1446..f1d8f018 100644 --- a/scripts/capture_golden_run.py +++ b/scripts/capture_golden_run.py @@ -73,17 +73,21 @@ def _capture_one( # cache entry with stale event counts and return cached results instead of # running the agent. The test fixture does the same via monkeypatch. os.environ["MAS_TRACE_CACHE"] = str(trace_cache) - # Isolate from the user's personal ~/.config/mas/config.yaml so internal - # infra refs (e.g. claris:llm-proxy) don't bleed into the OSS capture. + # Isolate XDG so the user's personal ~/.config/mas/config.yaml (which may + # point at a private claris:llm-proxy) cannot bleed into the OSS capture. os.environ["XDG_CONFIG_HOME"] = str(tmp / "xdg-config") - # Default to standard:llm-proxy, which reads LLM_PROXY_API_BASE from the - # environment (falling back to https://api.openai.com/v1). The caller can - # override by setting MAS_INFRA_REFS before running. - if not os.environ.get("MAS_INFRA_REFS"): - os.environ["MAS_INFRA_REFS"] = "standard:llm-proxy" + # Pin the workspace so find_workspace_file() always finds the OSS workspace + # config (infra_refs: [standard:mock-llm]). Without this, the walk stops at + # .git (no config.yaml at repo root), falls back to the now-isolated XDG + # path, finds nothing, and resolve_infra_refs falls through to + # standard:production — hitting a real LLM and causing a 401 or wrong event + # count. MAS_INFRA_REFS can still override this for real-LLM captures. + if "MAS_WORKSPACE_ROOT" not in os.environ: + os.environ["MAS_WORKSPACE_ROOT"] = str(ROOT / "examples" / "sample-workspace") print( - f" infra: MAS_INFRA_REFS={os.environ.get('MAS_INFRA_REFS')!r}", - f" api_base: LLM_PROXY_API_BASE={os.environ.get('LLM_PROXY_API_BASE', '')!r}", + f" workspace: MAS_WORKSPACE_ROOT={os.environ['MAS_WORKSPACE_ROOT']!r}", + f" infra: MAS_INFRA_REFS={os.environ.get('MAS_INFRA_REFS', '')!r}", + f" api_base: LLM_PROXY_API_BASE={os.environ.get('LLM_PROXY_API_BASE', '')!r}", sep="\n", file=sys.stderr, ) diff --git a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/result.json b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/result.json index 1e997cac..52974de9 100644 --- a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/result.json +++ b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1135.0, + "elapsed_ms": 1097.7, "error": "", - "executed_at": "2026-07-06T01:02:36.135611Z" + "executed_at": "2026-07-06T11:50:37.912704Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run.json b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run.json index 00db735f..b342c600 100644 --- a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run.json +++ b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run.json @@ -1,6 +1,6 @@ { "run_hash": "240c01f5b2a41ca79519", - "created_at": "2026-07-06T01:02:36.134972Z", + "created_at": "2026-07-06T11:50:37.912082Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run_info.json b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run_info.json index 4b8c7618..4599db14 100644 --- a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run_info.json +++ b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/run_info.json @@ -4,7 +4,7 @@ "scenario": "mock-tools", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T01:02:36.135723Z", + "referenced_at": "2026-07-06T11:50:37.912797Z", "mas": { "app": "qa-agent", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/docs/tutorials/01-building-an-agent/agent.yaml", diff --git a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/traces/events.jsonl b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/traces/events.jsonl index 6973a99c..67c3d386 100644 --- a/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/traces/events.jsonl +++ b/tests/fixtures/golden-runs/design-space/cache-backup/design-space/240c01f5b2a41ca79519/traces/events.jsonl @@ -1,73 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "933f9d0a-c170-4a4d-9b3f-42261f5c5d17", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783299756.1234481} -{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "933f9d0a-c170-4a4d-9b3f-42261f5c5d17", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783299756.1235762} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.126112, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.127112, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.1265988, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.1275988, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.127394, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.1279092, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.128005, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.128142, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.128302, "call_id": "e730f8ce-9b89-47d3-95d3-475b84a0f00d", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.129025, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.130264, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.130264, "llm_call_id": "", "part_id": "f03b9e58-1b28-420c-a16f-4a9fbb7c6d6f", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.130264, "llm_call_id": "", "part_id": "507c5e7e-7680-4729-a14c-8ed3596b8ead", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "e730f8ce-9b89-47d3-95d3-475b84a0f00d", "timestamp": 1783299756.130497, "parent_call_id": "e730f8ce-9b89-47d3-95d3-475b84a0f00d", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.130553, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.130553, "llm_call_id": "llm-1", "part_id": "04ae95c5-4b3d-4051-b056-2da865038388", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.130553, "llm_call_id": "llm-1", "part_id": "d105af9e-a079-4625-8f98-48d431e42181", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.130692, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.131692, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "e730f8ce-9b89-47d3-95d3-475b84a0f00d", "timestamp": 1783299756.130903, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "e730f8ce-9b89-47d3-95d3-475b84a0f00d", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.131087, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.131202, "call_id": "e730f8ce-9b89-47d3-95d3-475b84a0f00d", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "e730f8ce-9b89-47d3-95d3-475b84a0f00d", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.13127, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.13133, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.131422, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299756.131478, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.1315289, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.131583, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.131639, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.131691, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.131739, "call_id": "7db740c3-4d3b-45ee-a8ad-1a8eac352386", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.131788, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "7db740c3-4d3b-45ee-a8ad-1a8eac352386", "timestamp": 1783299756.13187, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "7db740c3-4d3b-45ee-a8ad-1a8eac352386", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.131924, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.132083, "call_id": "7db740c3-4d3b-45ee-a8ad-1a8eac352386", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "7db740c3-4d3b-45ee-a8ad-1a8eac352386", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.1321652, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.132234, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.132298, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.1323578, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.1324139, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.132469, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.1325219, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.132599, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.132715, "call_id": "5f75d1af-fca8-41bb-bb05-cec6b6f32bda", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "7db740c3-4d3b-45ee-a8ad-1a8eac352386", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.1327622, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.1328042, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299756.133804, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.132885, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.132885, "llm_call_id": "", "part_id": "4e7c1cf8-6c65-4bd7-8688-db9815921107", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.132885, "llm_call_id": "", "part_id": "5a8e9b52-d22e-43d4-8cef-38ee74580c2d", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.132885, "llm_call_id": "", "part_id": "0dc4c048-ecd0-4528-9854-d862289e6166", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.132885, "llm_call_id": "", "part_id": "27138733-71bc-42ce-b431-405e64ef50e8", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5f75d1af-fca8-41bb-bb05-cec6b6f32bda", "timestamp": 1783299756.13311, "parent_call_id": "5f75d1af-fca8-41bb-bb05-cec6b6f32bda", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.133162, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.133162, "llm_call_id": "llm-3", "part_id": "2fa94443-d543-4189-ac4f-08e1bdc38ec5", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.133162, "llm_call_id": "llm-3", "part_id": "50927603-bfde-496c-a0ef-be20544d544a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.133162, "llm_call_id": "llm-3", "part_id": "a58ead07-9ba8-4ca9-bf50-66d12591d04d", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299756.133162, "llm_call_id": "llm-3", "part_id": "11d56638-333c-49ef-a296-4284a89d9ca9", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5f75d1af-fca8-41bb-bb05-cec6b6f32bda", "timestamp": 1783299756.1333802, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "5f75d1af-fca8-41bb-bb05-cec6b6f32bda", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.133426, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.13347, "call_id": "5f75d1af-fca8-41bb-bb05-cec6b6f32bda", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "5f75d1af-fca8-41bb-bb05-cec6b6f32bda", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.133514, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.133585, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.1336372, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299756.133686, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.133735, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783299756.1301079} -{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783299756.1301079} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.133877, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299756.134877, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "933f9d0a-c170-4a4d-9b3f-42261f5c5d17", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783299756.133996} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338637.904098} +{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338637.904347} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.905855, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9068549, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.906129, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9071288, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9068842, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907052, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9071062, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907159, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907215, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907275, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.908727, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908727, "llm_call_id": "", "part_id": "bdb8c253-e92e-4b10-89fc-3ad06920c791", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908727, "llm_call_id": "", "part_id": "8eaf6d84-c22a-4ddd-99b8-ddaa1da203f2", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "timestamp": 1783338637.908895, "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.908941, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908941, "llm_call_id": "llm-1", "part_id": "bf474aec-657b-45ef-aa5d-ba028b3233b4", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908941, "llm_call_id": "llm-1", "part_id": "b4622540-128a-4e3f-bf2e-41cc70e9ce5e", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9091468, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9101467, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "timestamp": 1783338637.909226, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.90929, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909337, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909377, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909417, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909461, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909503, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9095418, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9095821, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909627, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9096682, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909708, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909747, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "timestamp": 1783338637.909805, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909857, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909909, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909954, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.91, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9100559, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.910105, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910145, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9101849, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9102342, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910295, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910339, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910377, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.910422, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.911422, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9105039, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "687151b2-38a7-43b7-a549-532a31859a94", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "46850b8a-15c8-44c4-938f-f94bac51ffdb", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "71a3610d-6515-4419-9547-60136434e5fd", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "6dc577f0-42d8-4f28-8f36-4c6b7deced4d", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "timestamp": 1783338637.9107141, "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910754, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "6b0e97a2-be8a-4d42-aef8-2b8a01e57ff7", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "87942e26-93a7-4cd9-aa7d-9cbd3dfc66b0", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "b142e4e6-3d15-4f0c-b3fc-7d1301cdfc42", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "c7e4a1bb-3ece-49f6-930c-6f9364f8ae0f", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "timestamp": 1783338637.910936, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910979, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911019, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911057, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9111218, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9111629, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911204, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.911247, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338637.9087129} +{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338637.9087129} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9113631, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.912363, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338637.9114518} diff --git a/tests/fixtures/golden-runs/design-space/cache-entry/result.json b/tests/fixtures/golden-runs/design-space/cache-entry/result.json index 4b4630b4..52974de9 100644 --- a/tests/fixtures/golden-runs/design-space/cache-entry/result.json +++ b/tests/fixtures/golden-runs/design-space/cache-entry/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1117.7, + "elapsed_ms": 1097.7, "error": "", - "executed_at": "2026-07-06T00:44:40.195640Z" + "executed_at": "2026-07-06T11:50:37.912704Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/design-space/cache-entry/run.json b/tests/fixtures/golden-runs/design-space/cache-entry/run.json index 27505985..b342c600 100644 --- a/tests/fixtures/golden-runs/design-space/cache-entry/run.json +++ b/tests/fixtures/golden-runs/design-space/cache-entry/run.json @@ -1,6 +1,6 @@ { "run_hash": "240c01f5b2a41ca79519", - "created_at": "2026-07-06T00:44:40.195164Z", + "created_at": "2026-07-06T11:50:37.912082Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/design-space/cache-entry/run_info.json b/tests/fixtures/golden-runs/design-space/cache-entry/run_info.json index d59097c5..4599db14 100644 --- a/tests/fixtures/golden-runs/design-space/cache-entry/run_info.json +++ b/tests/fixtures/golden-runs/design-space/cache-entry/run_info.json @@ -4,7 +4,7 @@ "scenario": "mock-tools", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T00:44:40.195753Z", + "referenced_at": "2026-07-06T11:50:37.912797Z", "mas": { "app": "qa-agent", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/docs/tutorials/01-building-an-agent/agent.yaml", diff --git a/tests/fixtures/golden-runs/design-space/cache-entry/traces/events.jsonl b/tests/fixtures/golden-runs/design-space/cache-entry/traces/events.jsonl index 5a63b556..67c3d386 100644 --- a/tests/fixtures/golden-runs/design-space/cache-entry/traces/events.jsonl +++ b/tests/fixtures/golden-runs/design-space/cache-entry/traces/events.jsonl @@ -1,73 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "60b5fad0-f63d-4ef7-ae83-3d81cc160843", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783298680.187667} -{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "60b5fad0-f63d-4ef7-ae83-3d81cc160843", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783298680.187765} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.189506, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.190506, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.189767, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.1907668, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190061, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190237, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190291, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1903412, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190379, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190445, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.191648, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.191648, "llm_call_id": "", "part_id": "e8ebdda2-7ba3-4236-bd0a-f0d14b6ceaa6", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.191648, "llm_call_id": "", "part_id": "9755cbdb-92a4-4220-bd56-991072edc244", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "timestamp": 1783298680.192158, "parent_call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1922271, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.1922271, "llm_call_id": "llm-1", "part_id": "b46c5518-5624-4ba2-ad4c-1be317042274", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.1922271, "llm_call_id": "llm-1", "part_id": "227c7077-685d-4665-944c-b7acece96b9a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192395, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.193395, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "timestamp": 1783298680.192495, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192564, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1926131, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192659, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192704, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1927528, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192799, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192844, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192884, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192929, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192971, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193012, "call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.1930509, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "timestamp": 1783298680.193109, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193155, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193196, "call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.1932359, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193275, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193315, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193352, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193388, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193424, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1934621, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193515, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193546, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193577, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193609, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.194609, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.193673, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "e6335fa0-35a1-43a6-8a25-7e8647259749", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "e4b20542-c755-4df1-b049-49518b5ec724", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "1e113a2f-fe1f-44e7-8b7f-0c583eb53207", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "15153cef-f2f2-4fee-b4f0-a13fdd7688c8", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "timestamp": 1783298680.193846, "parent_call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193886, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "41af8227-75de-4c99-87ab-a5468229dd23", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "f8956fbd-4e1c-4c1e-92a2-63ff0c04d939", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "94ccf12f-4183-4351-8eee-e95ddf1906b8", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "42ed19e6-774a-49a1-95d7-5b0d406c216e", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "timestamp": 1783298680.194061, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1940968, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.194133, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.194168, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.194221, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1942642, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1943, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.19434, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298680.191843} -{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298680.191843} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.194465, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.1954648, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "60b5fad0-f63d-4ef7-ae83-3d81cc160843", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783298680.194557} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338637.904098} +{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338637.904347} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.905855, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9068549, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.906129, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9071288, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9068842, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907052, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9071062, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907159, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907215, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907275, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.908727, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908727, "llm_call_id": "", "part_id": "bdb8c253-e92e-4b10-89fc-3ad06920c791", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908727, "llm_call_id": "", "part_id": "8eaf6d84-c22a-4ddd-99b8-ddaa1da203f2", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "timestamp": 1783338637.908895, "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.908941, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908941, "llm_call_id": "llm-1", "part_id": "bf474aec-657b-45ef-aa5d-ba028b3233b4", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908941, "llm_call_id": "llm-1", "part_id": "b4622540-128a-4e3f-bf2e-41cc70e9ce5e", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9091468, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9101467, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "timestamp": 1783338637.909226, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.90929, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909337, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909377, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909417, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909461, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909503, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9095418, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9095821, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909627, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9096682, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909708, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909747, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "timestamp": 1783338637.909805, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909857, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909909, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909954, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.91, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9100559, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.910105, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910145, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9101849, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9102342, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910295, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910339, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910377, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.910422, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.911422, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9105039, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "687151b2-38a7-43b7-a549-532a31859a94", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "46850b8a-15c8-44c4-938f-f94bac51ffdb", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "71a3610d-6515-4419-9547-60136434e5fd", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "6dc577f0-42d8-4f28-8f36-4c6b7deced4d", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "timestamp": 1783338637.9107141, "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910754, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "6b0e97a2-be8a-4d42-aef8-2b8a01e57ff7", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "87942e26-93a7-4cd9-aa7d-9cbd3dfc66b0", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "b142e4e6-3d15-4f0c-b3fc-7d1301cdfc42", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "c7e4a1bb-3ece-49f6-930c-6f9364f8ae0f", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "timestamp": 1783338637.910936, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910979, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911019, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911057, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9111218, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9111629, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911204, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.911247, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338637.9087129} +{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338637.9087129} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9113631, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.912363, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338637.9114518} diff --git a/tests/fixtures/golden-runs/design-space/events.jsonl b/tests/fixtures/golden-runs/design-space/events.jsonl index 5a63b556..67c3d386 100644 --- a/tests/fixtures/golden-runs/design-space/events.jsonl +++ b/tests/fixtures/golden-runs/design-space/events.jsonl @@ -1,73 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "60b5fad0-f63d-4ef7-ae83-3d81cc160843", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783298680.187667} -{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "60b5fad0-f63d-4ef7-ae83-3d81cc160843", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783298680.187765} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.189506, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.190506, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.189767, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.1907668, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190061, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190237, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190291, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1903412, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190379, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.190445, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.191648, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.191648, "llm_call_id": "", "part_id": "e8ebdda2-7ba3-4236-bd0a-f0d14b6ceaa6", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.191648, "llm_call_id": "", "part_id": "9755cbdb-92a4-4220-bd56-991072edc244", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "timestamp": 1783298680.192158, "parent_call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1922271, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.1922271, "llm_call_id": "llm-1", "part_id": "b46c5518-5624-4ba2-ad4c-1be317042274", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.1922271, "llm_call_id": "llm-1", "part_id": "227c7077-685d-4665-944c-b7acece96b9a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192395, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.193395, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "timestamp": 1783298680.192495, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192564, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1926131, "call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "8e41f8bb-4ac9-4603-9a66-b629ffc59f35", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192659, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192704, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.1927528, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298680.192799, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192844, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192884, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192929, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.192971, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193012, "call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.1930509, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "timestamp": 1783298680.193109, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193155, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193196, "call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.1932359, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193275, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193315, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193352, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193388, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193424, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1934621, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193515, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193546, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "c0bfac5f-46fc-4a89-a4bc-86c329b1cf0e", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193577, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.193609, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298680.194609, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.193673, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "e6335fa0-35a1-43a6-8a25-7e8647259749", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "e4b20542-c755-4df1-b049-49518b5ec724", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "1e113a2f-fe1f-44e7-8b7f-0c583eb53207", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193673, "llm_call_id": "", "part_id": "15153cef-f2f2-4fee-b4f0-a13fdd7688c8", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "timestamp": 1783298680.193846, "parent_call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.193886, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "41af8227-75de-4c99-87ab-a5468229dd23", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "f8956fbd-4e1c-4c1e-92a2-63ff0c04d939", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "94ccf12f-4183-4351-8eee-e95ddf1906b8", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298680.193886, "llm_call_id": "llm-3", "part_id": "42ed19e6-774a-49a1-95d7-5b0d406c216e", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "timestamp": 1783298680.194061, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1940968, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.194133, "call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "9a7d96d7-459c-439d-8e50-260f51525278", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.194168, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.194221, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1942642, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298680.1943, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.19434, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298680.191843} -{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298680.191843} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.194465, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298680.1954648, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "60b5fad0-f63d-4ef7-ae83-3d81cc160843", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783298680.194557} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338637.904098} +{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338637.904347} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.905855, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9068549, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.906129, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9071288, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9068842, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907052, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9071062, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907159, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907215, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.907275, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.908727, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908727, "llm_call_id": "", "part_id": "bdb8c253-e92e-4b10-89fc-3ad06920c791", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908727, "llm_call_id": "", "part_id": "8eaf6d84-c22a-4ddd-99b8-ddaa1da203f2", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "timestamp": 1783338637.908895, "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.908941, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908941, "llm_call_id": "llm-1", "part_id": "bf474aec-657b-45ef-aa5d-ba028b3233b4", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.908941, "llm_call_id": "llm-1", "part_id": "b4622540-128a-4e3f-bf2e-41cc70e9ce5e", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9091468, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.9101467, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "timestamp": 1783338637.909226, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.90929, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909337, "call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "dcc7db21-19b4-48c8-852b-5ddf869e6356", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909377, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909417, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909461, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338637.909503, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9095418, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9095821, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909627, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9096682, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909708, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909747, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "timestamp": 1783338637.909805, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909857, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909909, "call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.909954, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.91, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.9100559, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.910105, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910145, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9101849, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9102342, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910295, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910339, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "b3af8b26-dc90-4c74-a3a0-4046fc4a536a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910377, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.910422, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338637.911422, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9105039, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "687151b2-38a7-43b7-a549-532a31859a94", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "46850b8a-15c8-44c4-938f-f94bac51ffdb", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "71a3610d-6515-4419-9547-60136434e5fd", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.9105039, "llm_call_id": "", "part_id": "6dc577f0-42d8-4f28-8f36-4c6b7deced4d", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "timestamp": 1783338637.9107141, "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910754, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "6b0e97a2-be8a-4d42-aef8-2b8a01e57ff7", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "87942e26-93a7-4cd9-aa7d-9cbd3dfc66b0", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "b142e4e6-3d15-4f0c-b3fc-7d1301cdfc42", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338637.910754, "llm_call_id": "llm-3", "part_id": "c7e4a1bb-3ece-49f6-930c-6f9364f8ae0f", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "timestamp": 1783338637.910936, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.910979, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911019, "call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "5525122d-eeba-4f1d-bf64-4babf85c0ef7", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911057, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9111218, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.9111629, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338637.911204, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.911247, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338637.9087129} +{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338637.9087129} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.9113631, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338637.912363, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "0afc6c5f-a521-49ce-874c-cfc100986172", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338637.9114518} diff --git a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/result.json b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/result.json index b7d5f8ad..7aa2bc7a 100644 --- a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/result.json +++ b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1573.5, + "elapsed_ms": 1113.0, "error": "", - "executed_at": "2026-07-06T00:06:11.833521Z" + "executed_at": "2026-07-06T11:50:39.938948Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run.json b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run.json index 4deba20b..7ab5ff30 100644 --- a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run.json +++ b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run.json @@ -1,6 +1,6 @@ { "run_hash": "45dcacd8bfc0b4bbd689", - "created_at": "2026-07-06T00:06:11.831389Z", + "created_at": "2026-07-06T11:50:39.938513Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run_info.json b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run_info.json index 849d50fa..d413b196 100644 --- a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run_info.json +++ b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/run_info.json @@ -4,7 +4,7 @@ "scenario": "golden", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T00:06:11.834095Z", + "referenced_at": "2026-07-06T11:50:39.939041Z", "mas": { "app": "trip-planner", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/library-samples/apps/trip-planner/mas.yaml", diff --git a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/traces/events.jsonl b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/traces/events.jsonl index 7d7c3cc3..58b2efbf 100644 --- a/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/traces/events.jsonl +++ b/tests/fixtures/golden-runs/extensions/cache-backup/extensions/45dcacd8bfc0b4bbd689/traces/events.jsonl @@ -1,32 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783296371.358012} -{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783296371.358274} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.358815, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.359815, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.3589382, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.3599381, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359025, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359072, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.3591208, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.35923, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359273, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359313, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.359385, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359385, "llm_call_id": "", "part_id": "5a5bb197-a730-4928-a69e-d6b979374ddb", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359385, "llm_call_id": "", "part_id": "7638ea6b-2646-49d8-aca9-0368d4f7eccd", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "timestamp": 1783296371.35955, "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359633, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359633, "llm_call_id": "llm-1", "part_id": "bb17a2d0-ef72-48b9-9436-e0a7c0f4d689", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359633, "llm_call_id": "llm-1", "part_id": "47ed940a-71a0-4fd4-bf4b-d626570d82e0", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "timestamp": 1783296371.821568, "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "next_step": "STOP", "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8222551, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8230689, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.823452, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8237782, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.824128, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.824366, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.8248162, "finish_reason": "error", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296371.821434} -{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296371.821434} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.825428, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 2, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.826428, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783296371.821895} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338639.9140449} +{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338639.914208} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9156742, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9166741, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9157782, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.916778, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.923033, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9283588, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9342752, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9350111, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9351249, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935186, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.935269, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935269, "llm_call_id": "", "part_id": "9b509eed-0375-4d1c-a005-7ca60bde80c0", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935269, "llm_call_id": "", "part_id": "7a73aa86-08da-4770-bcde-f814221b8ce4", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "timestamp": 1783338639.9354072, "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935458, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935458, "llm_call_id": "llm-1", "part_id": "feb8e4c3-a82a-4ee5-9e88-cf32ae161cc6", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935458, "llm_call_id": "llm-1", "part_id": "923def33-ede4-4b2c-b4bf-20502a42d138", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935585, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.936585, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:delegate_to_schedule_agent", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "timestamp": 1783338639.935667, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935728, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935773, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935817, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935869, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935918, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935967, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936012, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936065, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.9361181, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936165, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936207, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936266, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "timestamp": 1783338639.936314, "tool_name": "delegate_to_schedule_agent", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936363, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936405, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936447, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936491, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.9365408, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936588, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936634, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936679, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936727, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936788, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936828, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936866, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936904, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.937904, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.936975, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "e53aa278-a6d2-40eb-804b-dc4a22735bcf", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "bff53975-04e7-4a91-8ad9-2bda88813c21", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "7c186934-b54b-45d7-878b-90e8b29bf456", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "f389ac1e-8405-4ee9-8bb6-33175bfbe239", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "timestamp": 1783338639.93717, "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937216, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "ec684947-9394-4b75-9f18-aaebb6b3222a", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "2c125247-bbce-4f86-a8e2-88092e52cc06", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "f70ec1bc-ab8d-407e-9957-ea7b24402d6e", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "f83ad0f8-d635-400e-9ea5-939d14c3a264", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "timestamp": 1783338639.937411, "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "next_step": "STOP", "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937474, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.9375172, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937556, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937597, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937641, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937682, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9377239, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338639.934985} +{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338639.934985} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9378612, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9388611, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338639.93505} diff --git a/tests/fixtures/golden-runs/extensions/cache-entry/result.json b/tests/fixtures/golden-runs/extensions/cache-entry/result.json index b7d5f8ad..7aa2bc7a 100644 --- a/tests/fixtures/golden-runs/extensions/cache-entry/result.json +++ b/tests/fixtures/golden-runs/extensions/cache-entry/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1573.5, + "elapsed_ms": 1113.0, "error": "", - "executed_at": "2026-07-06T00:06:11.833521Z" + "executed_at": "2026-07-06T11:50:39.938948Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/extensions/cache-entry/run.json b/tests/fixtures/golden-runs/extensions/cache-entry/run.json index 4deba20b..7ab5ff30 100644 --- a/tests/fixtures/golden-runs/extensions/cache-entry/run.json +++ b/tests/fixtures/golden-runs/extensions/cache-entry/run.json @@ -1,6 +1,6 @@ { "run_hash": "45dcacd8bfc0b4bbd689", - "created_at": "2026-07-06T00:06:11.831389Z", + "created_at": "2026-07-06T11:50:39.938513Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/extensions/cache-entry/run_info.json b/tests/fixtures/golden-runs/extensions/cache-entry/run_info.json index 849d50fa..d413b196 100644 --- a/tests/fixtures/golden-runs/extensions/cache-entry/run_info.json +++ b/tests/fixtures/golden-runs/extensions/cache-entry/run_info.json @@ -4,7 +4,7 @@ "scenario": "golden", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T00:06:11.834095Z", + "referenced_at": "2026-07-06T11:50:39.939041Z", "mas": { "app": "trip-planner", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/library-samples/apps/trip-planner/mas.yaml", diff --git a/tests/fixtures/golden-runs/extensions/cache-entry/traces/events.jsonl b/tests/fixtures/golden-runs/extensions/cache-entry/traces/events.jsonl index 7d7c3cc3..58b2efbf 100644 --- a/tests/fixtures/golden-runs/extensions/cache-entry/traces/events.jsonl +++ b/tests/fixtures/golden-runs/extensions/cache-entry/traces/events.jsonl @@ -1,32 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783296371.358012} -{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783296371.358274} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.358815, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.359815, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.3589382, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.3599381, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359025, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359072, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.3591208, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.35923, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359273, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359313, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.359385, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359385, "llm_call_id": "", "part_id": "5a5bb197-a730-4928-a69e-d6b979374ddb", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359385, "llm_call_id": "", "part_id": "7638ea6b-2646-49d8-aca9-0368d4f7eccd", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "timestamp": 1783296371.35955, "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359633, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359633, "llm_call_id": "llm-1", "part_id": "bb17a2d0-ef72-48b9-9436-e0a7c0f4d689", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359633, "llm_call_id": "llm-1", "part_id": "47ed940a-71a0-4fd4-bf4b-d626570d82e0", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "timestamp": 1783296371.821568, "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "next_step": "STOP", "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8222551, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8230689, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.823452, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8237782, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.824128, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.824366, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.8248162, "finish_reason": "error", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296371.821434} -{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296371.821434} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.825428, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 2, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.826428, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783296371.821895} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338639.9140449} +{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338639.914208} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9156742, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9166741, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9157782, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.916778, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.923033, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9283588, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9342752, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9350111, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9351249, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935186, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.935269, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935269, "llm_call_id": "", "part_id": "9b509eed-0375-4d1c-a005-7ca60bde80c0", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935269, "llm_call_id": "", "part_id": "7a73aa86-08da-4770-bcde-f814221b8ce4", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "timestamp": 1783338639.9354072, "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935458, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935458, "llm_call_id": "llm-1", "part_id": "feb8e4c3-a82a-4ee5-9e88-cf32ae161cc6", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935458, "llm_call_id": "llm-1", "part_id": "923def33-ede4-4b2c-b4bf-20502a42d138", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935585, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.936585, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:delegate_to_schedule_agent", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "timestamp": 1783338639.935667, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935728, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935773, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935817, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935869, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935918, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935967, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936012, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936065, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.9361181, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936165, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936207, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936266, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "timestamp": 1783338639.936314, "tool_name": "delegate_to_schedule_agent", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936363, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936405, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936447, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936491, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.9365408, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936588, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936634, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936679, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936727, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936788, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936828, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936866, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936904, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.937904, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.936975, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "e53aa278-a6d2-40eb-804b-dc4a22735bcf", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "bff53975-04e7-4a91-8ad9-2bda88813c21", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "7c186934-b54b-45d7-878b-90e8b29bf456", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "f389ac1e-8405-4ee9-8bb6-33175bfbe239", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "timestamp": 1783338639.93717, "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937216, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "ec684947-9394-4b75-9f18-aaebb6b3222a", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "2c125247-bbce-4f86-a8e2-88092e52cc06", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "f70ec1bc-ab8d-407e-9957-ea7b24402d6e", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "f83ad0f8-d635-400e-9ea5-939d14c3a264", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "timestamp": 1783338639.937411, "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "next_step": "STOP", "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937474, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.9375172, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937556, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937597, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937641, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937682, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9377239, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338639.934985} +{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338639.934985} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9378612, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9388611, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338639.93505} diff --git a/tests/fixtures/golden-runs/extensions/events.jsonl b/tests/fixtures/golden-runs/extensions/events.jsonl index 7d7c3cc3..58b2efbf 100644 --- a/tests/fixtures/golden-runs/extensions/events.jsonl +++ b/tests/fixtures/golden-runs/extensions/events.jsonl @@ -1,32 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783296371.358012} -{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783296371.358274} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.358815, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.359815, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.3589382, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.3599381, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359025, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359072, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.3591208, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.35923, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359273, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359313, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.359385, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359385, "llm_call_id": "", "part_id": "5a5bb197-a730-4928-a69e-d6b979374ddb", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359385, "llm_call_id": "", "part_id": "7638ea6b-2646-49d8-aca9-0368d4f7eccd", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "timestamp": 1783296371.35955, "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.359633, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359633, "llm_call_id": "llm-1", "part_id": "bb17a2d0-ef72-48b9-9436-e0a7c0f4d689", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296371.359633, "llm_call_id": "llm-1", "part_id": "47ed940a-71a0-4fd4-bf4b-d626570d82e0", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "timestamp": 1783296371.821568, "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "next_step": "STOP", "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8222551, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8230689, "call_id": "582ad938-8571-4b32-8905-8528e69613f1", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "582ad938-8571-4b32-8905-8528e69613f1", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.823452, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.8237782, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.824128, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296371.824366, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.8248162, "finish_reason": "error", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296371.821434} -{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296371.821434} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.825428, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 2, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296371.826428, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "fa5f8db8-791e-4039-a019-49ccf77d1d91", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783296371.821895} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338639.9140449} +{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338639.914208} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9156742, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9166741, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9157782, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.916778, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.923033, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9283588, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9342752, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9350111, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.9351249, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935186, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.935269, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935269, "llm_call_id": "", "part_id": "9b509eed-0375-4d1c-a005-7ca60bde80c0", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935269, "llm_call_id": "", "part_id": "7a73aa86-08da-4770-bcde-f814221b8ce4", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "timestamp": 1783338639.9354072, "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935458, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935458, "llm_call_id": "llm-1", "part_id": "feb8e4c3-a82a-4ee5-9e88-cf32ae161cc6", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.935458, "llm_call_id": "llm-1", "part_id": "923def33-ede4-4b2c-b4bf-20502a42d138", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935585, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.936585, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:delegate_to_schedule_agent", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "timestamp": 1783338639.935667, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935728, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935773, "call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "95708dc7-1a8e-4c46-bac5-2734f4ac3218", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935817, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935869, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935918, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338639.935967, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936012, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936065, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.9361181, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936165, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936207, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936266, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "timestamp": 1783338639.936314, "tool_name": "delegate_to_schedule_agent", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936363, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936405, "call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936447, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936491, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.9365408, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936588, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936634, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936679, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936727, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936788, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936828, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "0d28182c-6a2b-475d-9fb8-9c0b36caa7ab", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.936866, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.936904, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338639.937904, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.936975, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "e53aa278-a6d2-40eb-804b-dc4a22735bcf", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "bff53975-04e7-4a91-8ad9-2bda88813c21", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "7c186934-b54b-45d7-878b-90e8b29bf456", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.936975, "llm_call_id": "", "part_id": "f389ac1e-8405-4ee9-8bb6-33175bfbe239", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "timestamp": 1783338639.93717, "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937216, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "ec684947-9394-4b75-9f18-aaebb6b3222a", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "2c125247-bbce-4f86-a8e2-88092e52cc06", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "f70ec1bc-ab8d-407e-9957-ea7b24402d6e", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338639.937216, "llm_call_id": "llm-3", "part_id": "f83ad0f8-d635-400e-9ea5-939d14c3a264", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "timestamp": 1783338639.937411, "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "next_step": "STOP", "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937474, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.9375172, "call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3b7b2d7d-95a4-4876-afd0-14f0c12adf73", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937556, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937597, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937641, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338639.937682, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9377239, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338639.934985} +{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338639.934985} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9378612, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338639.9388611, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "a9033bbf-bc30-4f40-84a8-945f98439412", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338639.93505} diff --git a/tests/fixtures/golden-runs/extensions/events.normalized.jsonl b/tests/fixtures/golden-runs/extensions/events.normalized.jsonl index ebe11629..d0587d63 100644 --- a/tests/fixtures/golden-runs/extensions/events.normalized.jsonl +++ b/tests/fixtures/golden-runs/extensions/events.normalized.jsonl @@ -17,16 +17,57 @@ {"agent_id": "moderator", "block": "context", "call_id": "", "correlation_id": 1, "kind": "context_assembled", "layer": "semantic", "llm_call_id": "llm-1", "mealy_symbol": "CONTEXT_ASSEMBLE", "message_count": 2, "run_id": "", "segments": 2, "summand": "context", "timestamp": "", "total_tokens": 325} {"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-1", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "system", "run_id": "", "section_id": "assembled/0/system", "source": "context/system", "summand": "context", "timestamp": "", "token_estimate": 315} {"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "What is 2+2? Use the calculator if helpful.", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-1", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "user", "run_id": "", "section_id": "assembled/1/user", "source": "assembled/user", "summand": "context", "timestamp": "", "token_estimate": 10} -{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "next_step": "STOP", "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} +{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 0, "correlation_id": 1, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "assistant", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "wm_append", "wm_count": 1} +{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "tool_call:delegate_to_schedule_agent", "correlation_id": 1, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "wm_append"} +{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "next_step": "TOOL_CALL", "output": "", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} {"activity": "observability_post_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "observability_post_execute_end", "layer": "execution", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "op": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "obs_wrap_gov_validate_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 1, "kind": "governance_validate_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 1, "kind": "governance_validate_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "obs_wrap_gov_validate_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} -{"agent_id": "moderator", "block": "execution", "correlation_id": 0, "finish_reason": "error", "kind": "client_response", "layer": "execution", "mealy_symbol": "AGENT_END", "run_id": "", "summand": "orchestrator", "timestamp": ""} -{"agent_id": "moderator", "block": "execution", "call_id": "", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "kind": "user_response", "layer": "execution", "mealy_symbol": "AGENT_END", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "turn_id": ""} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_authorize_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_authorize"} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_authorize_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_authorize"} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_authorize_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_authorize"} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_authorize_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_authorize"} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "tool_call_start", "layer": "execution", "mealy_symbol": "TOOL_CALL", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "contract_call"} +{"activity": "observability_pre_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "observability_pre_execute_start", "layer": "execution", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "delegate_to_schedule_agent"} +{"agent_id": "moderator", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "block": "execution", "call_id": "", "correlation_id": 2, "kind": "tool_call_start", "layer": "execution", "mealy_symbol": "TOOL_CALL", "parent_call_id": "", "run_id": "", "summand": "tool", "timestamp": "", "tool_name": "delegate_to_schedule_agent"} +{"activity": "observability_post_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "observability_post_execute_end", "layer": "execution", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "delegate_to_schedule_agent"} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "tool_call_end", "layer": "execution", "mealy_symbol": "TOOL_CALL", "op": "TOOL_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "contract_call"} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_validate_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_validate"} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_validate_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_validate"} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_validate_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_validate"} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_validate_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_validate"} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_authorize_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_authorize_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_authorize_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_authorize_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_start", "layer": "execution", "mealy_symbol": "LLM_CALL", "op": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "observability_pre_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "observability_pre_execute_start", "layer": "execution", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 0, "correlation_id": 2, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "tool", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "wm_append", "wm_count": 2} +{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "correlation_id": 2, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "wm_append"} +{"agent_id": "moderator", "block": "context", "call_id": "", "correlation_id": 0, "kind": "context_assembled", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "CONTEXT_ASSEMBLE", "message_count": 4, "run_id": "", "segments": 4, "summand": "context", "timestamp": "", "total_tokens": 603} +{"agent_id": "agent", "block": "context", "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "system", "run_id": "", "section_id": "assembled/0/system", "source": "context/system", "summand": "context", "timestamp": "", "token_estimate": 315} +{"agent_id": "agent", "block": "context", "content_preview": "What is 2+2? Use the calculator if helpful.", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "user", "run_id": "", "section_id": "assembled/1/user", "source": "assembled/user", "summand": "context", "timestamp": "", "token_estimate": 10} +{"agent_id": "agent", "block": "context", "content_preview": "tool_calls: delegate_to_schedule_agent", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "assistant", "run_id": "", "section_id": "assembled/2/assistant", "source": "assembled/tool_call", "summand": "context", "timestamp": "", "token_estimate": 9} +{"agent_id": "agent", "block": "context", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "tool", "run_id": "", "section_id": "assembled/3/tool", "source": "assembled/tool_result", "summand": "context", "timestamp": "", "token_estimate": 269} +{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_start", "layer": "execution", "mealy_symbol": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} +{"agent_id": "moderator", "block": "context", "call_id": "", "correlation_id": 3, "kind": "context_assembled", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "CONTEXT_ASSEMBLE", "message_count": 4, "run_id": "", "segments": 4, "summand": "context", "timestamp": "", "total_tokens": 603} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "system", "run_id": "", "section_id": "assembled/0/system", "source": "context/system", "summand": "context", "timestamp": "", "token_estimate": 315} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "What is 2+2? Use the calculator if helpful.", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "user", "run_id": "", "section_id": "assembled/1/user", "source": "assembled/user", "summand": "context", "timestamp": "", "token_estimate": 10} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "tool_calls: delegate_to_schedule_agent", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "assistant", "run_id": "", "section_id": "assembled/2/assistant", "source": "assembled/tool_call", "summand": "context", "timestamp": "", "token_estimate": 9} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "tool", "run_id": "", "section_id": "assembled/3/tool", "source": "assembled/tool_result", "summand": "context", "timestamp": "", "token_estimate": 269} +{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "next_step": "STOP", "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} +{"activity": "observability_post_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "observability_post_execute_end", "layer": "execution", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "op": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_validate_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_validate_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_validate_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_validate_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"agent_id": "moderator", "block": "execution", "correlation_id": 0, "finish_reason": "stop", "kind": "client_response", "layer": "execution", "mealy_symbol": "AGENT_END", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"agent_id": "moderator", "block": "execution", "call_id": "", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "kind": "user_response", "layer": "execution", "mealy_symbol": "AGENT_END", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "turn_id": ""} {"agent_id": "moderator", "block": "execution", "call_id": "", "kind": "execution_end", "layer": "execution", "mealy_symbol": "AGENT_END", "parent_call_id": "moderator-u1-exec", "run_id": "", "status": "ok", "summand": "orchestrator", "timestamp": "", "turn_id": ""} -{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 2, "correlation_id": 0, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "turn_commit", "wm_count": 1} -{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "correlation_id": 0, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "turn_commit"} +{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 4, "correlation_id": 0, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "turn_commit", "wm_count": 3} +{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "correlation_id": 0, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "turn_commit"} {"agent_id": "mas", "block": "structural", "call_id": "", "kind": "mas_call_end", "layer": "structure", "mealy_symbol": "RUN_END", "run_id": "", "status": "success", "summand": "orchestrator", "timestamp": "", "turn_id": ""} diff --git a/tests/fixtures/golden-runs/extensions/events.sha256 b/tests/fixtures/golden-runs/extensions/events.sha256 index ba1ed47d..09a50091 100644 --- a/tests/fixtures/golden-runs/extensions/events.sha256 +++ b/tests/fixtures/golden-runs/extensions/events.sha256 @@ -1 +1 @@ -28ee2e47e24c414233a75f9ed41c561151942140d23b9fc9470143913469fd09 +b506750df63a277e4175969b78405daad1e2bd7f6d147365c08c37a8ba5a021a diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/result.json b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/result.json index b12f92c3..bbcefc44 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/result.json +++ b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1095.1, + "elapsed_ms": 1062.8, "error": "", - "executed_at": "2026-07-06T01:02:39.915069Z" + "executed_at": "2026-07-06T11:50:41.029300Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run.json b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run.json index 144154e4..7a2dde01 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run.json +++ b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run.json @@ -1,6 +1,6 @@ { "run_hash": "240c01f5b2a41ca79519", - "created_at": "2026-07-06T01:02:39.914588Z", + "created_at": "2026-07-06T11:50:41.028827Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run_info.json b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run_info.json index c3b6ac19..2c0b638e 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run_info.json +++ b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/run_info.json @@ -4,7 +4,7 @@ "scenario": "mock-tools", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T01:02:39.915175Z", + "referenced_at": "2026-07-06T11:50:41.029416Z", "mas": { "app": "qa-agent", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/docs/tutorials/01-building-an-agent/agent.yaml", diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/traces/events.jsonl b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/traces/events.jsonl index a62f415b..3b851379 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/traces/events.jsonl +++ b/tests/fixtures/golden-runs/lab-smoke/cache-backup/lab-smoke/240c01f5b2a41ca79519/traces/events.jsonl @@ -1,73 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "8ad59544-7895-43c3-be92-eccf78afa461", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783299759.909426} -{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "8ad59544-7895-43c3-be92-eccf78afa461", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783299759.9095192} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.910869, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.9118688, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.911008, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.9120078, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911096, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.9111412, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911188, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.9112298, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.91127, "call_id": "c75294ab-4981-424b-adbd-e47d926e8019", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911309, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.911349, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.911349, "llm_call_id": "", "part_id": "1727eb4d-b1f5-4747-8db2-c8498c1f036e", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.911349, "llm_call_id": "", "part_id": "aa71739d-c82d-47b1-998b-ce92665942ef", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "c75294ab-4981-424b-adbd-e47d926e8019", "timestamp": 1783299759.911508, "parent_call_id": "c75294ab-4981-424b-adbd-e47d926e8019", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911554, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.911554, "llm_call_id": "llm-1", "part_id": "884732bb-1bb0-4525-b1b8-2f07421684e3", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.911554, "llm_call_id": "llm-1", "part_id": "b22ae5c5-34a2-4bf8-98cd-e47b689e1005", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911672, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.912672, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "c75294ab-4981-424b-adbd-e47d926e8019", "timestamp": 1783299759.9117508, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "c75294ab-4981-424b-adbd-e47d926e8019", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.9118102, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911851, "call_id": "c75294ab-4981-424b-adbd-e47d926e8019", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "c75294ab-4981-424b-adbd-e47d926e8019", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911888, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911926, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.911967, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783299759.9120052, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912042, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912079, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.91212, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912158, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912194, "call_id": "57fdad3a-66ca-4544-aaa4-f3c5c2a3dc10", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.9122298, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "57fdad3a-66ca-4544-aaa4-f3c5c2a3dc10", "timestamp": 1783299759.9122849, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "57fdad3a-66ca-4544-aaa4-f3c5c2a3dc10", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.91233, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912373, "call_id": "57fdad3a-66ca-4544-aaa4-f3c5c2a3dc10", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "57fdad3a-66ca-4544-aaa4-f3c5c2a3dc10", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912413, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912456, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912501, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912544, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.912585, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.912626, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.912672, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.9127302, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.912768, "call_id": "02a15ff9-989c-4014-a9ca-d5dfdb6b5d13", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "57fdad3a-66ca-4544-aaa4-f3c5c2a3dc10", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.9128058, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.912844, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783299759.9138439, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.912917, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.912917, "llm_call_id": "", "part_id": "bb6204ef-f996-4644-a853-d2f0431a0f43", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.912917, "llm_call_id": "", "part_id": "b090434b-9258-4a90-8146-758ab0c05cac", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.912917, "llm_call_id": "", "part_id": "eef56446-4fdb-475d-aaad-be1bab94b845", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.912917, "llm_call_id": "", "part_id": "80b23672-0b3a-4662-8b09-53e5c220bc80", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "02a15ff9-989c-4014-a9ca-d5dfdb6b5d13", "timestamp": 1783299759.913116, "parent_call_id": "02a15ff9-989c-4014-a9ca-d5dfdb6b5d13", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.913159, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.913159, "llm_call_id": "llm-3", "part_id": "87d30a90-18f3-4f9f-87c5-00ae8fa41b47", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.913159, "llm_call_id": "llm-3", "part_id": "f29c7ba4-ddc6-43d5-8816-1d85a9e8959e", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.913159, "llm_call_id": "llm-3", "part_id": "4a5e119a-9054-4a00-907d-db2dbcf8a382", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783299759.913159, "llm_call_id": "llm-3", "part_id": "ed9a1388-c6fe-47e0-8db3-c6aa9111c332", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "02a15ff9-989c-4014-a9ca-d5dfdb6b5d13", "timestamp": 1783299759.9133499, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "02a15ff9-989c-4014-a9ca-d5dfdb6b5d13", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.913391, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.913434, "call_id": "02a15ff9-989c-4014-a9ca-d5dfdb6b5d13", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "02a15ff9-989c-4014-a9ca-d5dfdb6b5d13", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.9134731, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.913526, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.913572, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783299759.913615, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.9136581, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783299759.910602} -{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783299759.910602} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.9137752, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783299759.9147751, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "8ad59544-7895-43c3-be92-eccf78afa461", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783299759.913882} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338641.022379} +{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338641.022474} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.024169, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.025169, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.0243158, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.0253158, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02447, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02454, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.0246131, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024668, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024719, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024769, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.024833, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.024833, "llm_call_id": "", "part_id": "5dc3712b-fe34-4483-b315-ae9a673cd012", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.024833, "llm_call_id": "", "part_id": "c3043b05-5b69-486e-8652-643d9d5d02ca", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "timestamp": 1783338641.025046, "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02511, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.02511, "llm_call_id": "llm-1", "part_id": "4094299a-cb83-4141-a61e-937c2ba94532", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.02511, "llm_call_id": "llm-1", "part_id": "ebafa8d9-3054-493c-a612-f189e01a5db5", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025293, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.026293, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "timestamp": 1783338641.0254028, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02548, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025537, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025593, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025652, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02571, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025768, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0258229, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0258791, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0259352, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0259898, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026043, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0261009, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "timestamp": 1783338641.026179, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026243, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026303, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0263622, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026421, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026487, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026547, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026597, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026649, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026701, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.0267699, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026811, "call_id": "851d9454-087e-46e1-991f-005551939b17", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026853, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026895, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.027895, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.026985, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "27c23008-8a6f-4171-a51b-a745453d8166", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "84ef5503-1321-4148-8fdd-cc557975ad9b", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "54cc08e2-0a2d-4a9c-a90f-830095ffb8e6", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "86a9c6d8-0604-4066-b221-814299210619", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "851d9454-087e-46e1-991f-005551939b17", "timestamp": 1783338641.027216, "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027265, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "a41fe1bf-095c-4c38-b545-75cc3c8a5c22", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "1a4620ee-8f29-4a86-8206-26b177a7c746", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "97cb0e4a-6e75-45a2-b2f5-3fdc24c5a57c", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "ad753dc1-4b82-425c-be75-bf657ff8aad4", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "851d9454-087e-46e1-991f-005551939b17", "timestamp": 1783338641.027501, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027554, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027601, "call_id": "851d9454-087e-46e1-991f-005551939b17", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.0276449, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027703, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027755, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027804, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.027852, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338641.023776} +{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338641.023776} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.02799, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.02899, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338641.028096} diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-entry/result.json b/tests/fixtures/golden-runs/lab-smoke/cache-entry/result.json index 29762c5c..bbcefc44 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-entry/result.json +++ b/tests/fixtures/golden-runs/lab-smoke/cache-entry/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1073.6, + "elapsed_ms": 1062.8, "error": "", - "executed_at": "2026-07-06T00:44:43.340940Z" + "executed_at": "2026-07-06T11:50:41.029300Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-entry/run.json b/tests/fixtures/golden-runs/lab-smoke/cache-entry/run.json index e887e18d..7a2dde01 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-entry/run.json +++ b/tests/fixtures/golden-runs/lab-smoke/cache-entry/run.json @@ -1,6 +1,6 @@ { "run_hash": "240c01f5b2a41ca79519", - "created_at": "2026-07-06T00:44:43.340453Z", + "created_at": "2026-07-06T11:50:41.028827Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-entry/run_info.json b/tests/fixtures/golden-runs/lab-smoke/cache-entry/run_info.json index c0fb5219..2c0b638e 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-entry/run_info.json +++ b/tests/fixtures/golden-runs/lab-smoke/cache-entry/run_info.json @@ -4,7 +4,7 @@ "scenario": "mock-tools", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T00:44:43.341271Z", + "referenced_at": "2026-07-06T11:50:41.029416Z", "mas": { "app": "qa-agent", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/docs/tutorials/01-building-an-agent/agent.yaml", diff --git a/tests/fixtures/golden-runs/lab-smoke/cache-entry/traces/events.jsonl b/tests/fixtures/golden-runs/lab-smoke/cache-entry/traces/events.jsonl index 8e5295de..3b851379 100644 --- a/tests/fixtures/golden-runs/lab-smoke/cache-entry/traces/events.jsonl +++ b/tests/fixtures/golden-runs/lab-smoke/cache-entry/traces/events.jsonl @@ -1,73 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "23e1acc0-e9f7-4fb4-93e6-9869fee1434a", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783298683.333925} -{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "23e1acc0-e9f7-4fb4-93e6-9869fee1434a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783298683.3340101} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.335928, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.336928, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.336045, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.337045, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336138, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3361862, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3362381, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336282, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336328, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336382, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.336569, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336569, "llm_call_id": "", "part_id": "8c50bc6d-4131-48db-b3b8-3cd5d9853fd0", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336569, "llm_call_id": "", "part_id": "19721037-1f1f-4fa0-bbc9-726cb80d1d83", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "timestamp": 1783298683.336798, "parent_call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336863, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336863, "llm_call_id": "llm-1", "part_id": "fbef91dc-3824-4465-97b3-a87690b3beaa", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336863, "llm_call_id": "llm-1", "part_id": "751113cb-964f-49f0-ae0a-7885cdc4900a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3370082, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3380082, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "timestamp": 1783298683.337098, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.33717, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.337224, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3372722, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.337319, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3373702, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.337417, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.33746, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337512, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3375628, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337611, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337659, "call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337707, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "timestamp": 1783298683.337779, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337833, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3378859, "call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337934, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3379798, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3380322, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.338082, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338136, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3381839, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3382342, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338305, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338346, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338391, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.338437, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.339437, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3385339, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "927cc027-a110-498b-b187-41b67305d159", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "37b4f091-57b2-4ec6-bc47-58c88e870397", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "6ef19006-48a7-4b07-908f-35d53dab73a8", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "7ddd31f4-8636-4936-a8e4-e6f121471db3", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "timestamp": 1783298683.338757, "parent_call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3388128, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "1169b23b-702c-45f5-871e-0aee369b34a1", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "f1bcbc6a-e6b1-4e56-88d0-e145211542c2", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "671f7ef9-43e9-4718-8e2d-ed3a12e61e1a", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "07be481e-00dd-40c7-a4ac-ed87720a4f68", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "timestamp": 1783298683.3391502, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339207, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3392599, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339312, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339387, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339446, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3394969, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3395479, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298683.3354619} -{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298683.3354619} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3396852, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3406851, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "23e1acc0-e9f7-4fb4-93e6-9869fee1434a", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783298683.3397892} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338641.022379} +{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338641.022474} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.024169, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.025169, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.0243158, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.0253158, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02447, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02454, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.0246131, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024668, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024719, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024769, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.024833, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.024833, "llm_call_id": "", "part_id": "5dc3712b-fe34-4483-b315-ae9a673cd012", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.024833, "llm_call_id": "", "part_id": "c3043b05-5b69-486e-8652-643d9d5d02ca", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "timestamp": 1783338641.025046, "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02511, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.02511, "llm_call_id": "llm-1", "part_id": "4094299a-cb83-4141-a61e-937c2ba94532", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.02511, "llm_call_id": "llm-1", "part_id": "ebafa8d9-3054-493c-a612-f189e01a5db5", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025293, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.026293, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "timestamp": 1783338641.0254028, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02548, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025537, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025593, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025652, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02571, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025768, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0258229, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0258791, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0259352, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0259898, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026043, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0261009, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "timestamp": 1783338641.026179, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026243, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026303, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0263622, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026421, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026487, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026547, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026597, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026649, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026701, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.0267699, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026811, "call_id": "851d9454-087e-46e1-991f-005551939b17", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026853, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026895, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.027895, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.026985, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "27c23008-8a6f-4171-a51b-a745453d8166", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "84ef5503-1321-4148-8fdd-cc557975ad9b", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "54cc08e2-0a2d-4a9c-a90f-830095ffb8e6", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "86a9c6d8-0604-4066-b221-814299210619", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "851d9454-087e-46e1-991f-005551939b17", "timestamp": 1783338641.027216, "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027265, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "a41fe1bf-095c-4c38-b545-75cc3c8a5c22", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "1a4620ee-8f29-4a86-8206-26b177a7c746", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "97cb0e4a-6e75-45a2-b2f5-3fdc24c5a57c", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "ad753dc1-4b82-425c-be75-bf657ff8aad4", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "851d9454-087e-46e1-991f-005551939b17", "timestamp": 1783338641.027501, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027554, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027601, "call_id": "851d9454-087e-46e1-991f-005551939b17", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.0276449, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027703, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027755, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027804, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.027852, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338641.023776} +{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338641.023776} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.02799, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.02899, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338641.028096} diff --git a/tests/fixtures/golden-runs/lab-smoke/events.jsonl b/tests/fixtures/golden-runs/lab-smoke/events.jsonl index 8e5295de..3b851379 100644 --- a/tests/fixtures/golden-runs/lab-smoke/events.jsonl +++ b/tests/fixtures/golden-runs/lab-smoke/events.jsonl @@ -1,73 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "23e1acc0-e9f7-4fb4-93e6-9869fee1434a", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783298683.333925} -{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "23e1acc0-e9f7-4fb4-93e6-9869fee1434a", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783298683.3340101} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.335928, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.336928, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.336045, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.337045, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336138, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3361862, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3362381, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336282, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336328, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336382, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.336569, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336569, "llm_call_id": "", "part_id": "8c50bc6d-4131-48db-b3b8-3cd5d9853fd0", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336569, "llm_call_id": "", "part_id": "19721037-1f1f-4fa0-bbc9-726cb80d1d83", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "timestamp": 1783298683.336798, "parent_call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.336863, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336863, "llm_call_id": "llm-1", "part_id": "fbef91dc-3824-4465-97b3-a87690b3beaa", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.336863, "llm_call_id": "llm-1", "part_id": "751113cb-964f-49f0-ae0a-7885cdc4900a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3370082, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3380082, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "timestamp": 1783298683.337098, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.33717, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.337224, "call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "9d13787e-3d46-4c05-8331-1830d9441077", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3372722, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.337319, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.3373702, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783298683.337417, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.33746, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337512, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3375628, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337611, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337659, "call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337707, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "timestamp": 1783298683.337779, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337833, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3378859, "call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.337934, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3379798, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.3380322, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.338082, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338136, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3381839, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3382342, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338305, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338346, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "4c9ff799-2dce-4d89-824c-af7b3480a46b", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.338391, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.338437, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783298683.339437, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3385339, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "927cc027-a110-498b-b187-41b67305d159", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "37b4f091-57b2-4ec6-bc47-58c88e870397", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "6ef19006-48a7-4b07-908f-35d53dab73a8", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3385339, "llm_call_id": "", "part_id": "7ddd31f4-8636-4936-a8e4-e6f121471db3", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "timestamp": 1783298683.338757, "parent_call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3388128, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "1169b23b-702c-45f5-871e-0aee369b34a1", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "f1bcbc6a-e6b1-4e56-88d0-e145211542c2", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "671f7ef9-43e9-4718-8e2d-ed3a12e61e1a", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783298683.3388128, "llm_call_id": "llm-3", "part_id": "07be481e-00dd-40c7-a4ac-ed87720a4f68", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "timestamp": 1783298683.3391502, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339207, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3392599, "call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "76564147-0e23-4ba6-b727-783cfcf2dd61", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339312, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339387, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.339446, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783298683.3394969, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3395479, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298683.3354619} -{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783298683.3354619} -{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3396852, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783298683.3406851, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "23e1acc0-e9f7-4fb4-93e6-9869fee1434a", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783298683.3397892} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338641.022379} +{"kind": "execution_start", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338641.022474} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.024169, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.025169, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.0243158, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.0253158, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02447, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02454, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.0246131, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024668, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024719, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.024769, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.024833, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.024833, "llm_call_id": "", "part_id": "5dc3712b-fe34-4483-b315-ae9a673cd012", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.024833, "llm_call_id": "", "part_id": "c3043b05-5b69-486e-8652-643d9d5d02ca", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "timestamp": 1783338641.025046, "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02511, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 69, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.02511, "llm_call_id": "llm-1", "part_id": "4094299a-cb83-4141-a61e-937c2ba94532", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.02511, "llm_call_id": "llm-1", "part_id": "ebafa8d9-3054-493c-a612-f189e01a5db5", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025293, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.026293, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:calc", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "timestamp": 1783338641.0254028, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02548, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025537, "call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "a7c00518-5590-44e8-bc46-b11426dd2dd6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025593, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025652, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.02571, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 1, "timestamp": 1783338641.025768, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0258229, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0258791, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0259352, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0259898, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026043, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0261009, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "timestamp": 1783338641.026179, "tool_name": "calc", "arguments": {"expression": "2+2"}, "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026243, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "calc", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026303, "call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.0263622, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026421, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026487, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026547, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026597, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026649, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026701, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.0267699, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026811, "call_id": "851d9454-087e-46e1-991f-005551939b17", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3fca6bcf-11c7-498a-8435-b3eaab897a81", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.026853, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.026895, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 2, "timestamp": 1783338641.027895, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.026985, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "27c23008-8a6f-4171-a51b-a745453d8166", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "84ef5503-1321-4148-8fdd-cc557975ad9b", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "54cc08e2-0a2d-4a9c-a90f-830095ffb8e6", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.026985, "llm_call_id": "", "part_id": "86a9c6d8-0604-4066-b221-814299210619", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "851d9454-087e-46e1-991f-005551939b17", "timestamp": 1783338641.027216, "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027265, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 83, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "a41fe1bf-095c-4c38-b545-75cc3c8a5c22", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 59, "retained": true, "content_preview": "[intent] Answer general knowledge questions.\n\n[role] Answer questions clearly and concisely.\n\n[tool_usage] When you n...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "1a4620ee-8f29-4a86-8206-26b177a7c746", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "97cb0e4a-6e75-45a2-b2f5-3fdc24c5a57c", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 4, "retained": true, "content_preview": "tool_calls: calc", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338641.027265, "llm_call_id": "llm-3", "part_id": "ad753dc1-4b82-425c-be75-bf657ff8aad4", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "call_id": "851d9454-087e-46e1-991f-005551939b17", "timestamp": 1783338641.027501, "output": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "next_step": "STOP", "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027554, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027601, "call_id": "851d9454-087e-46e1-991f-005551939b17", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "851d9454-087e-46e1-991f-005551939b17", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.0276449, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027703, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027755, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 3, "timestamp": 1783338641.027804, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "qa-agent-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.027852, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "qa-agent-u1-exec", "content": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338641.023776} +{"kind": "execution_end", "agent_id": "qa-agent", "run_id": "", "turn_id": "u1", "call_id": "qa-agent-u1-exec", "parent_call_id": "qa-agent-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338641.023776} +{"kind": "state_update_start", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.02799, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "qa-agent", "run_id": "", "correlation_id": 0, "timestamp": 1783338641.02899, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"expression\": \"2+2\",\n \"result\": 4.0\n}", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "0198b90d-9e36-4103-aa62-2666918f51b5", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338641.028096} diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/result.json b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/result.json index 02c8c0b6..50c65a4f 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/result.json +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1597.8, + "elapsed_ms": 1078.9, "error": "", - "executed_at": "2026-07-06T00:06:14.616874Z" + "executed_at": "2026-07-06T11:50:42.177616Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run.json b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run.json index 7b8bce7a..2b2f4d3f 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run.json +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run.json @@ -1,6 +1,6 @@ { "run_hash": "45dcacd8bfc0b4bbd689", - "created_at": "2026-07-06T00:06:14.615261Z", + "created_at": "2026-07-06T11:50:42.177106Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run_info.json b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run_info.json index 7ba49c90..5667c77e 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run_info.json +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/run_info.json @@ -4,7 +4,7 @@ "scenario": "golden", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T00:06:14.617490Z", + "referenced_at": "2026-07-06T11:50:42.177773Z", "mas": { "app": "trip-planner", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/library-samples/apps/trip-planner/mas.yaml", diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/traces/events.jsonl b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/traces/events.jsonl index f0ffafcc..db63fdd1 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/traces/events.jsonl +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-backup/lifecycle-control/45dcacd8bfc0b4bbd689/traces/events.jsonl @@ -1,32 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783296374.121814} -{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783296374.122046} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.122761, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.123761, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.1229901, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.12399, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123293, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123345, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123394, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123439, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123481, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123523, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.123598, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123598, "llm_call_id": "", "part_id": "7d771a19-b04d-4649-aa38-f35c3aa7fc0d", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123598, "llm_call_id": "", "part_id": "b94664fc-943f-4fee-97fc-a312d46ca806", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "timestamp": 1783296374.1237388, "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123788, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123788, "llm_call_id": "llm-1", "part_id": "f92fa704-efbe-4fc1-aa60-7210641f647a", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123788, "llm_call_id": "llm-1", "part_id": "35594574-aaab-463b-9cf8-386fcd000c4a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "timestamp": 1783296374.606451, "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "next_step": "STOP", "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.607179, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.607745, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.608324, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.608792, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.609076, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.609327, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.6097689, "finish_reason": "error", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296374.606346} -{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296374.606346} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.612649, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 2, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.613649, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783296374.606663} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338642.170635} +{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338642.1708229} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17325, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17425, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.173387, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.174387, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173496, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173552, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1736078, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173656, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173702, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173752, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17382, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17382, "llm_call_id": "", "part_id": "734e47a5-31aa-4544-ac39-582f27420d5b", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17382, "llm_call_id": "", "part_id": "d1fd5aca-b881-4db7-9dfd-b0486f5b556e", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "timestamp": 1783338642.1739619, "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174013, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.174013, "llm_call_id": "llm-1", "part_id": "95a44755-48c0-4ee0-9e45-a97c666e309e", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.174013, "llm_call_id": "llm-1", "part_id": "e93c10c0-fdca-44a6-94f2-f3bfc7c0d041", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174149, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.175149, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:delegate_to_schedule_agent", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "timestamp": 1783338642.1742358, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174293, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174338, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174381, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1744251, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.17447, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1745138, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1745548, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174606, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174658, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1747031, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174746, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174806, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "timestamp": 1783338642.174855, "tool_name": "delegate_to_schedule_agent", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174905, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174948, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1749902, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175031, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175095, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175141, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1751838, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1752279, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175273, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175333, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175374, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175416, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175454, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1764538, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17554, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "6d3ecb4c-4dcd-4abc-90b1-6d4c5250b754", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "29cb8216-f38f-43b9-b4f8-554f498eaee1", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "db3fa6e1-39ae-497e-a1ed-e50a44dccf1c", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "6d12f029-8ad3-4b81-a690-ec2e852bb53c", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "timestamp": 1783338642.1757529, "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175793, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "6e71f3c1-75ef-45aa-ad74-e698d52885d4", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "5d563da8-cc1d-4b71-a240-13ef89b6aca1", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "b1496dd6-3570-487e-9349-8521cb6d9334", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "b2f43d04-5e7f-4e44-b268-e38cc11a1cbd", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "timestamp": 1783338642.175976, "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "next_step": "STOP", "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176032, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176074, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176118, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176158, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1762, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176246, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1762931, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338642.1730711} +{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338642.1730711} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1764412, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1774411, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338642.173166} diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/result.json b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/result.json index 02c8c0b6..50c65a4f 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/result.json +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/result.json @@ -1,6 +1,6 @@ { "status": "ok", - "elapsed_ms": 1597.8, + "elapsed_ms": 1078.9, "error": "", - "executed_at": "2026-07-06T00:06:14.616874Z" + "executed_at": "2026-07-06T11:50:42.177616Z" } \ No newline at end of file diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run.json b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run.json index 7b8bce7a..2b2f4d3f 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run.json +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run.json @@ -1,6 +1,6 @@ { "run_hash": "45dcacd8bfc0b4bbd689", - "created_at": "2026-07-06T00:06:14.615261Z", + "created_at": "2026-07-06T11:50:42.177106Z", "item_id": "1", "run_idx": 0, "model": "", diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run_info.json b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run_info.json index 7ba49c90..5667c77e 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run_info.json +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/run_info.json @@ -4,7 +4,7 @@ "scenario": "golden", "item_id": "1", "run_idx": 0, - "referenced_at": "2026-07-06T00:06:14.617490Z", + "referenced_at": "2026-07-06T11:50:42.177773Z", "mas": { "app": "trip-planner", "mas_ref": "/Users/augjorda/repos/outshift-open/mas-lab/library-samples/apps/trip-planner/mas.yaml", diff --git a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/traces/events.jsonl b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/traces/events.jsonl index f0ffafcc..db63fdd1 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/cache-entry/traces/events.jsonl +++ b/tests/fixtures/golden-runs/lifecycle-control/cache-entry/traces/events.jsonl @@ -1,32 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783296374.121814} -{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783296374.122046} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.122761, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.123761, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.1229901, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.12399, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123293, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123345, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123394, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123439, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123481, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123523, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.123598, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123598, "llm_call_id": "", "part_id": "7d771a19-b04d-4649-aa38-f35c3aa7fc0d", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123598, "llm_call_id": "", "part_id": "b94664fc-943f-4fee-97fc-a312d46ca806", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "timestamp": 1783296374.1237388, "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123788, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123788, "llm_call_id": "llm-1", "part_id": "f92fa704-efbe-4fc1-aa60-7210641f647a", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123788, "llm_call_id": "llm-1", "part_id": "35594574-aaab-463b-9cf8-386fcd000c4a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "timestamp": 1783296374.606451, "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "next_step": "STOP", "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.607179, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.607745, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.608324, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.608792, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.609076, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.609327, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.6097689, "finish_reason": "error", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296374.606346} -{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296374.606346} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.612649, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 2, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.613649, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783296374.606663} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338642.170635} +{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338642.1708229} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17325, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17425, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.173387, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.174387, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173496, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173552, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1736078, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173656, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173702, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173752, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17382, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17382, "llm_call_id": "", "part_id": "734e47a5-31aa-4544-ac39-582f27420d5b", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17382, "llm_call_id": "", "part_id": "d1fd5aca-b881-4db7-9dfd-b0486f5b556e", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "timestamp": 1783338642.1739619, "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174013, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.174013, "llm_call_id": "llm-1", "part_id": "95a44755-48c0-4ee0-9e45-a97c666e309e", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.174013, "llm_call_id": "llm-1", "part_id": "e93c10c0-fdca-44a6-94f2-f3bfc7c0d041", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174149, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.175149, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:delegate_to_schedule_agent", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "timestamp": 1783338642.1742358, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174293, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174338, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174381, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1744251, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.17447, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1745138, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1745548, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174606, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174658, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1747031, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174746, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174806, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "timestamp": 1783338642.174855, "tool_name": "delegate_to_schedule_agent", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174905, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174948, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1749902, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175031, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175095, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175141, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1751838, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1752279, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175273, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175333, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175374, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175416, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175454, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1764538, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17554, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "6d3ecb4c-4dcd-4abc-90b1-6d4c5250b754", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "29cb8216-f38f-43b9-b4f8-554f498eaee1", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "db3fa6e1-39ae-497e-a1ed-e50a44dccf1c", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "6d12f029-8ad3-4b81-a690-ec2e852bb53c", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "timestamp": 1783338642.1757529, "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175793, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "6e71f3c1-75ef-45aa-ad74-e698d52885d4", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "5d563da8-cc1d-4b71-a240-13ef89b6aca1", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "b1496dd6-3570-487e-9349-8521cb6d9334", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "b2f43d04-5e7f-4e44-b268-e38cc11a1cbd", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "timestamp": 1783338642.175976, "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "next_step": "STOP", "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176032, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176074, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176118, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176158, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1762, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176246, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1762931, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338642.1730711} +{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338642.1730711} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1764412, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1774411, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338642.173166} diff --git a/tests/fixtures/golden-runs/lifecycle-control/events.jsonl b/tests/fixtures/golden-runs/lifecycle-control/events.jsonl index f0ffafcc..db63fdd1 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/events.jsonl +++ b/tests/fixtures/golden-runs/lifecycle-control/events.jsonl @@ -1,32 +1,73 @@ -{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783296374.121814} -{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783296374.122046} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.122761, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.123761, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.1229901, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.12399, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123293, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} -{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123345, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123394, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123439, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123481, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123523, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.123598, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123598, "llm_call_id": "", "part_id": "7d771a19-b04d-4649-aa38-f35c3aa7fc0d", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123598, "llm_call_id": "", "part_id": "b94664fc-943f-4fee-97fc-a312d46ca806", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "timestamp": 1783296374.1237388, "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.123788, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123788, "llm_call_id": "llm-1", "part_id": "f92fa704-efbe-4fc1-aa60-7210641f647a", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783296374.123788, "llm_call_id": "llm-1", "part_id": "35594574-aaab-463b-9cf8-386fcd000c4a", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "timestamp": 1783296374.606451, "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "next_step": "STOP", "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.607179, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} -{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.607745, "call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "48b9d2f4-b181-4a4a-9655-c2f3d794fd6e", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} -{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.608324, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} -{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.608792, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.609076, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} -{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783296374.609327, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} -{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.6097689, "finish_reason": "error", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} -{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296374.606346} -{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783296374.606346} -{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.612649, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 2, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783296374.613649, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} -{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "78559154-e2ae-4779-8ba1-8649fde09ecd", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783296374.606663} +{"kind": "mas_call_start", "agent_id": "mas", "run_id": "", "turn_id": "", "call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_START", "layer": "structure", "timestamp": 1783338642.170635} +{"kind": "execution_start", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "input": "What is 2+2? Use the calculator if helpful.", "parent_call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_START", "layer": "execution", "timestamp": 1783338642.1708229} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17325, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17425, "call_id": "state-0-turn_start-1", "update_type": "turn_start", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.173387, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "role": "", "turn_index": 1, "committed_count": 0, "wm_count": 0, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.174387, "call_id": "state-0-wm_clear-1", "update_type": "wm_clear", "content_preview": "", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173496, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173552, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1736078, "call_id": "llm-1", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173656, "call_id": "llm-1", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173702, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.173752, "call_id": "llm-1", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17382, "call_id": "", "llm_call_id": "", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17382, "llm_call_id": "", "part_id": "734e47a5-31aa-4544-ac39-582f27420d5b", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17382, "llm_call_id": "", "part_id": "d1fd5aca-b881-4db7-9dfd-b0486f5b556e", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "timestamp": 1783338642.1739619, "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174013, "call_id": "llm-1", "llm_call_id": "llm-1", "segments": 2, "total_tokens": 325, "message_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.174013, "llm_call_id": "llm-1", "part_id": "95a44755-48c0-4ee0-9e45-a97c666e309e", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.174013, "llm_call_id": "llm-1", "part_id": "e93c10c0-fdca-44a6-94f2-f3bfc7c0d041", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-1", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174149, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "role": "assistant", "turn_index": 1, "committed_count": 0, "wm_count": 1, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.175149, "call_id": "state-1-wm_append-1", "update_type": "wm_append", "content_preview": "tool_call:delegate_to_schedule_agent", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "timestamp": 1783338642.1742358, "output": "", "next_step": "TOOL_CALL", "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174293, "call_id": "llm-1", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174338, "call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "de668dbe-0158-413e-8aa0-e6a590f13cba", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.174381, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1744251, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.17447, "call_id": "llm-1", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 1, "timestamp": 1783338642.1745138, "call_id": "llm-1", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1745548, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174606, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174658, "call_id": "tool-2", "activity": "gov_authorize", "op": "TOOL_CALL", "tool_name": "gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1747031, "call_id": "tool-2", "activity": "obs_wrap_gov_authorize", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_authorize", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174746, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174806, "call_id": "tool-2", "activity": "observability_pre_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "tool_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "timestamp": 1783338642.174855, "tool_name": "delegate_to_schedule_agent", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "tool", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174905, "call_id": "tool-2", "activity": "observability_post_execute", "op": "TOOL_CALL", "tool_name": "delegate_to_schedule_agent", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "tool_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.174948, "call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "activity": "contract_call", "op": "TOOL_CALL", "tool_name": "contract_call", "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "TOOL_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1749902, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175031, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175095, "call_id": "tool-2", "activity": "gov_validate", "op": "TOOL_CALL", "tool_name": "gov_validate", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175141, "call_id": "tool-2", "activity": "obs_wrap_gov_validate", "op": "TOOL_CALL", "tool_name": "obs_wrap_gov_validate", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "obs_wrap_gov_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1751838, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "layer": "execution"} +{"kind": "governance_authorize_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1752279, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175273, "call_id": "llm-3", "activity": "gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_authorize_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175333, "call_id": "llm-3", "activity": "obs_wrap_gov_authorize", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "layer": "execution"} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175374, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "3feb68ac-a8da-4d27-bfd6-7614a77defa6", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_pre_execute_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175416, "call_id": "llm-3", "activity": "observability_pre_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "layer": "execution"} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.175454, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "role": "tool", "turn_index": 1, "committed_count": 0, "wm_count": 2, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 2, "timestamp": 1783338642.1764538, "call_id": "state-2-wm_append-1", "update_type": "wm_append", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.17554, "call_id": "", "llm_call_id": "", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "6d3ecb4c-4dcd-4abc-90b1-6d4c5250b754", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "29cb8216-f38f-43b9-b4f8-554f498eaee1", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "db3fa6e1-39ae-497e-a1ed-e50a44dccf1c", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.17554, "llm_call_id": "", "part_id": "6d12f029-8ad3-4b81-a690-ec2e852bb53c", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "timestamp": 1783338642.1757529, "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "context_assembled", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.175793, "call_id": "llm-3", "llm_call_id": "llm-3", "segments": 4, "total_tokens": 603, "message_count": 4, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_ASSEMBLE", "layer": "semantic"} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "6e71f3c1-75ef-45aa-ad74-e698d52885d4", "source": "context/system", "section_id": "assembled/0/system", "mechanism": "inject", "token_estimate": 315, "retained": true, "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "role": "system", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "5d563da8-cc1d-4b71-a240-13ef89b6aca1", "source": "assembled/user", "section_id": "assembled/1/user", "mechanism": "inject", "token_estimate": 10, "retained": true, "content_preview": "What is 2+2? Use the calculator if helpful.", "role": "user", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "b1496dd6-3570-487e-9349-8521cb6d9334", "source": "assembled/tool_call", "section_id": "assembled/2/assistant", "mechanism": "inject", "token_estimate": 9, "retained": true, "content_preview": "tool_calls: delegate_to_schedule_agent", "role": "assistant", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "context_part_contributed", "agent_id": "agent", "timestamp": 1783338642.175793, "llm_call_id": "llm-3", "part_id": "b2f43d04-5e7f-4e44-b268-e38cc11a1cbd", "source": "assembled/tool_result", "section_id": "assembled/3/tool", "mechanism": "inject", "token_estimate": 269, "retained": true, "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "role": "tool", "call_id": "call-3", "block": "context", "summand": "context", "mealy_symbol": "SLICE_EMIT", "layer": "semantic", "run_id": ""} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "timestamp": 1783338642.175976, "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "next_step": "STOP", "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "model", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "observability_post_execute_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176032, "call_id": "llm-3", "activity": "observability_post_execute", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "layer": "execution"} +{"kind": "llm_call_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176074, "call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "activity": "contract_call", "op": "LLM_CALL", "parent_call_id": "ccea866a-bbdf-40c5-94e8-8bf06e6f33a7", "block": "execution", "summand": "orchestrator", "mealy_symbol": "LLM_CALL", "layer": "execution"} +{"kind": "obs_wrap_gov_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176118, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "layer": "execution"} +{"kind": "governance_validate_start", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176158, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "governance_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.1762, "call_id": "llm-3", "activity": "gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "governance", "summand": "orchestrator", "mealy_symbol": "POLICY_CHECK", "layer": "governance"} +{"kind": "obs_wrap_gov_validate_end", "agent_id": "moderator", "run_id": "", "correlation_id": 3, "timestamp": 1783338642.176246, "call_id": "llm-3", "activity": "obs_wrap_gov_validate", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "block": "execution", "summand": "orchestrator", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "layer": "execution"} +{"kind": "client_response", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1762931, "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution"} +{"kind": "user_response", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "u1-resp", "parent_call_id": "moderator-u1-exec", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338642.1730711} +{"kind": "execution_end", "agent_id": "moderator", "run_id": "", "turn_id": "u1", "call_id": "moderator-u1-exec", "parent_call_id": "moderator-u1-exec", "status": "ok", "block": "execution", "summand": "orchestrator", "mealy_symbol": "AGENT_END", "layer": "execution", "timestamp": 1783338642.1730711} +{"kind": "state_update_start", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1764412, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "role": "", "turn_index": 1, "committed_count": 4, "wm_count": 3, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "state_update_end", "agent_id": "moderator", "run_id": "", "correlation_id": 0, "timestamp": 1783338642.1774411, "call_id": "state-0-turn_commit-1", "update_type": "turn_commit", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "synthetic": true, "block": "context", "summand": "context", "mealy_symbol": "CONTEXT_EVICT", "layer": "semantic"} +{"kind": "mas_call_end", "agent_id": "mas", "run_id": "", "turn_id": "u1", "call_id": "9f7709b8-fc27-4438-8e95-76be903fe708", "status": "success", "block": "structural", "summand": "orchestrator", "mealy_symbol": "RUN_END", "layer": "structure", "timestamp": 1783338642.173166} diff --git a/tests/fixtures/golden-runs/lifecycle-control/events.normalized.jsonl b/tests/fixtures/golden-runs/lifecycle-control/events.normalized.jsonl index ebe11629..d0587d63 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/events.normalized.jsonl +++ b/tests/fixtures/golden-runs/lifecycle-control/events.normalized.jsonl @@ -17,16 +17,57 @@ {"agent_id": "moderator", "block": "context", "call_id": "", "correlation_id": 1, "kind": "context_assembled", "layer": "semantic", "llm_call_id": "llm-1", "mealy_symbol": "CONTEXT_ASSEMBLE", "message_count": 2, "run_id": "", "segments": 2, "summand": "context", "timestamp": "", "total_tokens": 325} {"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-1", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "system", "run_id": "", "section_id": "assembled/0/system", "source": "context/system", "summand": "context", "timestamp": "", "token_estimate": 315} {"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "What is 2+2? Use the calculator if helpful.", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-1", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "user", "run_id": "", "section_id": "assembled/1/user", "source": "assembled/user", "summand": "context", "timestamp": "", "token_estimate": 10} -{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "next_step": "STOP", "output": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} +{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 0, "correlation_id": 1, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "assistant", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "wm_append", "wm_count": 1} +{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "tool_call:delegate_to_schedule_agent", "correlation_id": 1, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "wm_append"} +{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "next_step": "TOOL_CALL", "output": "", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} {"activity": "observability_post_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "observability_post_execute_end", "layer": "execution", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "op": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "obs_wrap_gov_validate_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 1, "kind": "governance_validate_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 1, "kind": "governance_validate_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} {"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 1, "kind": "obs_wrap_gov_validate_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} -{"agent_id": "moderator", "block": "execution", "correlation_id": 0, "finish_reason": "error", "kind": "client_response", "layer": "execution", "mealy_symbol": "AGENT_END", "run_id": "", "summand": "orchestrator", "timestamp": ""} -{"agent_id": "moderator", "block": "execution", "call_id": "", "content": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. You can find your API key at https://platform.openai.com/account/api-keys.. Check the API key env var named in your infra manifest (api_key_env). Ensure config.yaml infra_refs selects the correct bundle (e.g. standard:llm-proxy vs standard:production).", "finish_reason": "stop", "kind": "user_response", "layer": "execution", "mealy_symbol": "AGENT_END", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "turn_id": ""} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_authorize_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_authorize"} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_authorize_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_authorize"} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_authorize_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_authorize"} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_authorize_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_authorize"} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "tool_call_start", "layer": "execution", "mealy_symbol": "TOOL_CALL", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "contract_call"} +{"activity": "observability_pre_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "observability_pre_execute_start", "layer": "execution", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "delegate_to_schedule_agent"} +{"agent_id": "moderator", "arguments": {"task": "What is 2+2? Use the calculator if helpful."}, "block": "execution", "call_id": "", "correlation_id": 2, "kind": "tool_call_start", "layer": "execution", "mealy_symbol": "TOOL_CALL", "parent_call_id": "", "run_id": "", "summand": "tool", "timestamp": "", "tool_name": "delegate_to_schedule_agent"} +{"activity": "observability_post_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "observability_post_execute_end", "layer": "execution", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "delegate_to_schedule_agent"} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "tool_call_end", "layer": "execution", "mealy_symbol": "TOOL_CALL", "op": "TOOL_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "contract_call"} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_validate_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_validate"} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_validate_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_validate"} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 2, "kind": "governance_validate_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "gov_validate"} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 2, "kind": "obs_wrap_gov_validate_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "op": "TOOL_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "tool_name": "obs_wrap_gov_validate"} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_authorize_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_authorize_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_authorize", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_authorize_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "obs_wrap_gov_authorize", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_authorize_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_AUTHORIZE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_start", "layer": "execution", "mealy_symbol": "LLM_CALL", "op": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "observability_pre_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "observability_pre_execute_start", "layer": "execution", "mealy_symbol": "OBSERVABILITY_PRE_EXECUTE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 0, "correlation_id": 2, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "tool", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "wm_append", "wm_count": 2} +{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "correlation_id": 2, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "wm_append"} +{"agent_id": "moderator", "block": "context", "call_id": "", "correlation_id": 0, "kind": "context_assembled", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "CONTEXT_ASSEMBLE", "message_count": 4, "run_id": "", "segments": 4, "summand": "context", "timestamp": "", "total_tokens": 603} +{"agent_id": "agent", "block": "context", "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "system", "run_id": "", "section_id": "assembled/0/system", "source": "context/system", "summand": "context", "timestamp": "", "token_estimate": 315} +{"agent_id": "agent", "block": "context", "content_preview": "What is 2+2? Use the calculator if helpful.", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "user", "run_id": "", "section_id": "assembled/1/user", "source": "assembled/user", "summand": "context", "timestamp": "", "token_estimate": 10} +{"agent_id": "agent", "block": "context", "content_preview": "tool_calls: delegate_to_schedule_agent", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "assistant", "run_id": "", "section_id": "assembled/2/assistant", "source": "assembled/tool_call", "summand": "context", "timestamp": "", "token_estimate": 9} +{"agent_id": "agent", "block": "context", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "tool", "run_id": "", "section_id": "assembled/3/tool", "source": "assembled/tool_result", "summand": "context", "timestamp": "", "token_estimate": 269} +{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_start", "layer": "execution", "mealy_symbol": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} +{"agent_id": "moderator", "block": "context", "call_id": "", "correlation_id": 3, "kind": "context_assembled", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "CONTEXT_ASSEMBLE", "message_count": 4, "run_id": "", "segments": 4, "summand": "context", "timestamp": "", "total_tokens": 603} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "[role] You are a moderator coordinating a team of specialized agents.\n\n Based on the conversation so far, decide...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "system", "run_id": "", "section_id": "assembled/0/system", "source": "context/system", "summand": "context", "timestamp": "", "token_estimate": 315} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "What is 2+2? Use the calculator if helpful.", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "user", "run_id": "", "section_id": "assembled/1/user", "source": "assembled/user", "summand": "context", "timestamp": "", "token_estimate": 10} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "tool_calls: delegate_to_schedule_agent", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "assistant", "run_id": "", "section_id": "assembled/2/assistant", "source": "assembled/tool_call", "summand": "context", "timestamp": "", "token_estimate": 9} +{"agent_id": "agent", "block": "context", "call_id": "", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "kind": "context_part_contributed", "layer": "semantic", "llm_call_id": "llm-3", "mealy_symbol": "SLICE_EMIT", "mechanism": "inject", "part_id": "", "retained": true, "role": "tool", "run_id": "", "section_id": "assembled/3/tool", "source": "assembled/tool_result", "summand": "context", "timestamp": "", "token_estimate": 269} +{"agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "next_step": "STOP", "output": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "parent_call_id": "", "run_id": "", "summand": "model", "timestamp": ""} +{"activity": "observability_post_execute", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "observability_post_execute_end", "layer": "execution", "mealy_symbol": "OBSERVABILITY_POST_EXECUTE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "contract_call", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "llm_call_end", "layer": "execution", "mealy_symbol": "LLM_CALL", "op": "LLM_CALL", "parent_call_id": "", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_validate_start", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_START", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_validate_start", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "gov_validate", "agent_id": "moderator", "block": "governance", "call_id": "", "correlation_id": 3, "kind": "governance_validate_end", "layer": "governance", "mealy_symbol": "POLICY_CHECK", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"activity": "obs_wrap_gov_validate", "agent_id": "moderator", "block": "execution", "call_id": "", "correlation_id": 3, "kind": "obs_wrap_gov_validate_end", "layer": "execution", "mealy_symbol": "OBS_WRAP_GOV_VALIDATE_END", "op": "LLM_CALL", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"agent_id": "moderator", "block": "execution", "correlation_id": 0, "finish_reason": "stop", "kind": "client_response", "layer": "execution", "mealy_symbol": "AGENT_END", "run_id": "", "summand": "orchestrator", "timestamp": ""} +{"agent_id": "moderator", "block": "execution", "call_id": "", "content": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n \"from\": \"Celestia\",\n \"to\": \"Verdantia\",\n \"mode\": \"train\",\n \"travel_time\": \"3h\",\n \"frequency\": \"8/day weekdays, 6/day weekends + 1 night train\",\n \"service_classes\": [\n \"Standard\",\n \"Express\",\n \"NightTrain_couchette\"\n ],\n \"departures\": [\n \"06:15 Express\",\n \"08:30 Standard\",\n \"10:45 Express\",\n \"13:00 Standard\",\n \"15:30 Express\",\n \"17:45 Standard\",\n \"19:30 Express\",\n \"21:00 NightTrain\"\n ]\n }\n ],\n \"destination_highlights\": [\n {\n \"name\": \"Emerald Canyon Bridge\",\n \"admission\": \"$12\"\n },\n {\n \"name\": \"Rainforest Canopy Walk\",\n \"admission\": \"$30, guided\"\n },\n {\n \"name\": \"The Living Library\",\n \"admission\": \"$15\"\n },\n {\n \"name\": \"Verdant Falls Water Park\",\n \"admission\": \"$45\"\n },\n {\n \"name\": \"Jade Mountain Tea House\",\n \"admission\": \"free entry\"\n }\n ]\n}", "finish_reason": "stop", "kind": "user_response", "layer": "execution", "mealy_symbol": "AGENT_END", "parent_call_id": "moderator-u1-exec", "run_id": "", "summand": "orchestrator", "timestamp": "", "turn_id": ""} {"agent_id": "moderator", "block": "execution", "call_id": "", "kind": "execution_end", "layer": "execution", "mealy_symbol": "AGENT_END", "parent_call_id": "moderator-u1-exec", "run_id": "", "status": "ok", "summand": "orchestrator", "timestamp": "", "turn_id": ""} -{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 2, "correlation_id": 0, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "turn_commit", "wm_count": 1} -{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "LLM request failed: HTTP 401 (authentication/authorization): Incorrect API key provided: sk-yj3xz*************leKA. Y...", "correlation_id": 0, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "turn_commit"} +{"agent_id": "moderator", "block": "context", "call_id": "", "committed_count": 4, "correlation_id": 0, "kind": "state_update_start", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "role": "", "run_id": "", "summand": "context", "timestamp": "", "turn_index": 1, "update_type": "turn_commit", "wm_count": 3} +{"agent_id": "moderator", "block": "context", "call_id": "", "content_preview": "{\n \"found\": true,\n \"origin\": \"Celestia\",\n \"destination\": \"Verdantia\",\n \"routes\": [\n {\n \"route_id\": \"CV\",\n...", "correlation_id": 0, "kind": "state_update_end", "layer": "semantic", "mealy_symbol": "CONTEXT_EVICT", "run_id": "", "summand": "context", "synthetic": true, "timestamp": "", "update_type": "turn_commit"} {"agent_id": "mas", "block": "structural", "call_id": "", "kind": "mas_call_end", "layer": "structure", "mealy_symbol": "RUN_END", "run_id": "", "status": "success", "summand": "orchestrator", "timestamp": "", "turn_id": ""} diff --git a/tests/fixtures/golden-runs/lifecycle-control/events.sha256 b/tests/fixtures/golden-runs/lifecycle-control/events.sha256 index ba1ed47d..09a50091 100644 --- a/tests/fixtures/golden-runs/lifecycle-control/events.sha256 +++ b/tests/fixtures/golden-runs/lifecycle-control/events.sha256 @@ -1 +1 @@ -28ee2e47e24c414233a75f9ed41c561151942140d23b9fc9470143913469fd09 +b506750df63a277e4175969b78405daad1e2bd7f6d147365c08c37a8ba5a021a diff --git a/tests/tutorials/test_scenario_commands.py b/tests/tutorials/test_scenario_commands.py index 951c1013..c7833979 100644 --- a/tests/tutorials/test_scenario_commands.py +++ b/tests/tutorials/test_scenario_commands.py @@ -66,6 +66,41 @@ def _docker_available() -> bool: _DOCKER_AVAILABLE = False return _DOCKER_AVAILABLE + +_DOCKER_CLI_IMAGE_BUILT: bool | None = None +_DOCKER_COMPOSE_FILE = Path(__file__).resolve().parents[2] / "docker" / "compose.yaml" + + +def _docker_cli_image_built() -> bool: + """Return True only when the cli service image is already present locally. + + ``docker compose run --no-deps cli`` refuses to build on-demand, so if the + image is absent the command hangs or fails within the 60-second test timeout. + The image is built by ``task docker-build`` or the ``docker-build`` scenario + step (timeout_s: 300) — not by ``task ci``. + """ + global _DOCKER_CLI_IMAGE_BUILT + if _DOCKER_CLI_IMAGE_BUILT is None: + if not _docker_available(): + _DOCKER_CLI_IMAGE_BUILT = False + else: + try: + result = subprocess.run( + [ + "docker", "compose", + "--profile", "tools", + "-f", str(_DOCKER_COMPOSE_FILE), + "images", "--quiet", "cli", + ], + capture_output=True, + text=True, + timeout=10, + ) + _DOCKER_CLI_IMAGE_BUILT = bool(result.stdout.strip()) + except (OSError, subprocess.TimeoutExpired): + _DOCKER_CLI_IMAGE_BUILT = False + return _DOCKER_CLI_IMAGE_BUILT + # --------------------------------------------------------------------------- # Paths # --------------------------------------------------------------------------- @@ -273,8 +308,11 @@ def test_scenario_command(case: _CommandCase, tmp_path): command = _rewrite_command_for_v2(command) command = _inject_docker_env(command, _test_env()) - if command.strip().startswith("docker ") and not _docker_available(): - pytest.skip("Docker daemon not available") + if command.strip().startswith("docker "): + if not _docker_available(): + pytest.skip("Docker daemon not available") + if not _docker_cli_image_built(): + pytest.skip("Docker cli image not built — run: docker compose --profile tools -f docker/compose.yaml build cli") result = subprocess.run( command,