Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
feat(verse): add the bridge golden fixtures, cells vectors and fake bridge (#1120)
Ruben Lütke0e4471a14877
diff --git a/scripts/unreal/bridge_cells.py b/scripts/unreal/bridge_cells.pynew file mode 100644index 0000000000..1b817ea969--- /dev/null+++ b/scripts/unreal/bridge_cells.py@@ -0,0 +1,329 @@+#!/usr/bin/env python3+"""Reference codec for terminal screen cells of ``verse.bridge/1``.++Implements ``cells.bin/1`` and ``cells.json/1`` exactly as+``docs/verse/unreal/contracts/bridge-protocol.md`` section 5.4 freezes them.+It is the codec the golden vectors in ``unreal/Verse/Tests/Data/bridge/cells/``+were written with and the one ``scripts/unreal/fake_bridge.py`` sends binary+frames with. The backend codec (WP17, ``dodaios/verse_host/cells_codec.py``)+and the Unreal decoder (WP16) must reproduce the same bytes; this file is not+imported by the app.++Binary layout (little endian)::++ 0 u8[2] magic "VC" 14 u16 cols+ 2 u8 version 1 16 u16 rows+ 3 u8 kind 1 snap / 2 delta 18 i16 cursor row, i16 cursor col+ 4 u16 ref 22 u16 row record count+ 6 u32 seq 24 row records+ 10 u32 base (0 on snapshot)++ row record: u16 row, u16 run_count, runs+ run: u16 col, u16 cells, u32 fg, u32 bg, u16 attrs, u16 text_bytes, UTF-8 text+"""++from __future__ import annotations++import re+import struct+import unicodedata+from typing import Any++MAGIC = b"VC"+VERSION = 1+KIND_SNAPSHOT = 1+KIND_DELTA = 2+KINDS = {"snapshot": KIND_SNAPSHOT, "delta": KIND_DELTA}+KIND_NAMES = {v: k for k, v in KINDS.items()}++#: Attribute bit order of section 5.4.+ATTRS = (+ "bold",+ "dim",+ "italic",+ "underline",+ "inverse",+ "strikethrough",+ "invisible",+ "blink",+ "wide",+)+ATTR_BITS = {name: 1 << i for i, name in enumerate(ATTRS)}++MODE_DEFAULT = 0+MODE_PALETTE = 1+MODE_RGB = 2++MAX_COLS = 240+MAX_ROWS = 60++_HEADER = struct.Struct("<2sBBHIIHHhhH")+_ROW = struct.Struct("<HH")+_RUN = struct.Struct("<HHIIHH")+_HEX = re.compile(r"^#[0-9a-f]{6}$")++HEADER_SIZE = _HEADER.size # 24+++class CellsError(ValueError):+ """A frame that is not valid ``cells.bin/1`` or ``cells.json/1``."""+++# ------------------------------------------------------------------ colours, attrs+++def colour_to_u32(colour: Any) -> int:+ """JSON colour (``null``, ``{"i": n}``, ``"#rrggbb"``) to its u32 form."""+ if colour is None:+ return MODE_DEFAULT << 24+ if isinstance(colour, dict):+ index = colour.get("i")+ if (+ set(colour) != {"i"}+ or not isinstance(index, int)+ or isinstance(index, bool)+ or not 0 <= index <= 255+ ):+ raise CellsError(f"bad palette colour {colour!r}")+ return (MODE_PALETTE << 24) | index+ if isinstance(colour, str) and _HEX.match(colour):+ return (MODE_RGB << 24) | int(colour[1:], 16)+ raise CellsError(f"bad colour {colour!r}")+++def colour_from_u32(value: int) -> Any:+ mode = value >> 24+ low = value & 0xFFFFFF+ if mode == MODE_DEFAULT:+ if low:+ raise CellsError(f"default colour with payload {value:#010x}")+ return None+ if mode == MODE_PALETTE:+ if low > 0xFF:+ raise CellsError(f"palette colour out of range {value:#010x}")+ return {"i": low}+ if mode == MODE_RGB:+ return f"#{low:06x}"+ raise CellsError(f"unknown colour mode {mode}")+++def attrs_to_u16(names: list[str]) -> int:+ bits = 0+ for name in names:+ if name not in ATTR_BITS:+ raise CellsError(f"unknown attribute {name!r}")+ bits |= ATTR_BITS[name]+ return bits+++def attrs_from_u16(bits: int) -> list[str]:+ if bits >> len(ATTRS):+ raise CellsError(f"unknown attribute bits {bits:#06x}")+ return [name for name in ATTRS if bits & ATTR_BITS[name]]+++# ------------------------------------------------------------------ graphemes+++def _extends(ch: str) -> bool:+ cp = ord(ch)+ return (+ unicodedata.category(ch) in {"Mn", "Me", "Mc"}+ or cp == 0x200D+ or 0xFE00 <= cp <= 0xFE0F+ or 0x1F3FB <= cp <= 0x1F3FF+ or 0xE0020 <= cp <= 0xE007F+ )+++def graphemes(text: str) -> list[str]:+ """Split ``text`` into grapheme clusters.++ A simplified rule set (combining marks, zero-width joiner sequences,+ variation selectors, skin-tone modifiers and tag characters extend the+ previous cluster). It covers every string in the golden vectors; a+ terminal cell never holds more.+ """+ clusters: list[str] = []+ join_next = False+ for ch in text:+ if clusters and (join_next or _extends(ch)):+ clusters[-1] += ch+ else:+ clusters.append(ch)+ join_next = ord(ch) == 0x200D+ return clusters+++def run_span(run: dict) -> int:+ """Columns a JSON run covers (wide glyphs cover two)."""+ width = 2 if "wide" in run.get("attrs", []) else 1+ return len(graphemes(run["text"])) * width+++# ------------------------------------------------------------------ structure checks+++def check_rows(cols: int, rows: int, rows_changed: list[dict]) -> None:+ """Rows inside the grid, each row once, runs sorted, inside the row, not overlapping."""+ if not 1 <= cols <= MAX_COLS or not 1 <= rows <= MAX_ROWS:+ raise CellsError(f"grid {cols}x{rows} outside 1..{MAX_COLS} x 1..{MAX_ROWS}")+ seen: set[int] = set()+ for record in rows_changed:+ row = record["row"]+ if not 0 <= row < rows:+ raise CellsError(f"row {row} outside 0..{rows - 1}")+ if row in seen:+ raise CellsError(f"row {row} sent twice")+ seen.add(row)+ end = 0+ for run in record["runs"]:+ if not run["text"]:+ raise CellsError(f"row {row}: empty run at col {run['col']}")+ if run["col"] < end:+ raise CellsError(f"row {row}: run at col {run['col']} overlaps or is out of order")+ end = run["col"] + run_span(run)+ if end > cols:+ raise CellsError(+ f"row {row}: run at col {run['col']} ends at {end}, past {cols} cols"+ )+++# ------------------------------------------------------------------ encode / decode+++def encode(data: dict, *, ref: int, seq: int, base: int | None) -> bytes:+ """Encode the ``data`` of a ``screens.frame`` (``cells.json/1``) as ``cells.bin/1``."""+ kind = KINDS.get(data["kind"])+ if kind is None:+ raise CellsError(f"bad kind {data['kind']!r}")+ if kind == KIND_SNAPSHOT:+ base = 0+ elif base is None:+ raise CellsError("a delta needs a base seq")+ cols, rows = data["cols"], data["rows"]+ check_rows(cols, rows, data["rows_changed"])+ cur_row, cur_col = data["cursor"]+ parts = [+ _HEADER.pack(+ MAGIC,+ VERSION,+ kind,+ ref,+ seq,+ base,+ cols,+ rows,+ cur_row,+ cur_col,+ len(data["rows_changed"]),+ )+ ]+ for record in data["rows_changed"]:+ parts.append(_ROW.pack(record["row"], len(record["runs"])))+ for run in record["runs"]:+ text = run["text"].encode("utf-8")+ parts.append(+ _RUN.pack(+ run["col"],+ len(graphemes(run["text"])),+ colour_to_u32(run.get("fg")),+ colour_to_u32(run.get("bg")),+ attrs_to_u16(run.get("attrs", [])),+ len(text),+ )+ )+ parts.append(text)+ return b"".join(parts)+++def decode(blob: bytes) -> dict:+ """Decode a ``cells.bin/1`` frame.++ Returns ``{"kind", "ref", "seq", "base", "cols", "rows", "cursor",+ "rows_changed"}`` with runs in the JSON form (``col``, ``text``, ``fg``,+ ``bg``, ``attrs``). Raises :class:`CellsError` on anything malformed.+ """+ if len(blob) < HEADER_SIZE:+ raise CellsError(+ f"frame of {len(blob)} bytes is shorter than the {HEADER_SIZE}-byte header"+ )+ magic, version, kind, ref, seq, base, cols, rows, cur_row, cur_col, count = _HEADER.unpack_from(+ blob, 0+ )+ if magic != MAGIC:+ raise CellsError(f"bad magic {magic!r}")+ if version != VERSION:+ raise CellsError(f"unsupported version {version}")+ if kind not in KIND_NAMES:+ raise CellsError(f"bad kind {kind}")+ if kind == KIND_SNAPSHOT and base != 0:+ raise CellsError("a snapshot carries base 0")+ if (cur_row, cur_col) != (-1, -1) and not (0 <= cur_row < rows and 0 <= cur_col < cols):+ raise CellsError(f"cursor {cur_row},{cur_col} outside the grid")+ offset = HEADER_SIZE+ records: list[dict] = []+ for _ in range(count):+ if offset + _ROW.size > len(blob):+ raise CellsError("truncated row record")+ row, run_count = _ROW.unpack_from(blob, offset)+ offset += _ROW.size+ runs: list[dict] = []+ for _ in range(run_count):+ if offset + _RUN.size > len(blob):+ raise CellsError("truncated run")+ col, cells, fg, bg, attrs, text_bytes = _RUN.unpack_from(blob, offset)+ offset += _RUN.size+ if offset + text_bytes > len(blob):+ raise CellsError("run text runs past the end of the frame")+ try:+ text = blob[offset : offset + text_bytes].decode("utf-8")+ except UnicodeDecodeError as exc:+ raise CellsError(f"run text is not UTF-8: {exc}") from exc+ offset += text_bytes+ held = len(graphemes(text))+ if held != cells:+ raise CellsError(f"run at row {row} col {col} says {cells} cells but holds {held}")+ runs.append(+ {+ "col": col,+ "text": text,+ "fg": colour_from_u32(fg),+ "bg": colour_from_u32(bg),+ "attrs": attrs_from_u16(attrs),+ }+ )+ records.append({"row": row, "runs": runs})+ if offset != len(blob):+ raise CellsError(f"{len(blob) - offset} trailing bytes")+ check_rows(cols, rows, records)+ return {+ "kind": KIND_NAMES[kind],+ "ref": ref,+ "seq": seq,+ "base": base if kind == KIND_DELTA else None,+ "cols": cols,+ "rows": rows,+ "cursor": [cur_row, cur_col],+ "rows_changed": records,+ }+++def normalise_runs(rows_changed: list[dict]) -> list[dict]:+ """JSON rows with every optional run field spelled out, for comparisons."""+ return [+ {+ "row": r["row"],+ "runs": [+ {+ "col": u["col"],+ "text": u["text"],+ "fg": u.get("fg"),+ "bg": u.get("bg"),+ "attrs": list(u.get("attrs", [])),+ }+ for u in r["runs"]+ ],+ }+ for r in rows_changed+ ]diff --git a/scripts/unreal/bridge_schema.py b/scripts/unreal/bridge_schema.pynew file mode 100644index 0000000000..e9a09984d4--- /dev/null+++ b/scripts/unreal/bridge_schema.py@@ -0,0 +1,457 @@+#!/usr/bin/env python3+"""Schema validator and fixture check for ``verse.bridge/1`` (G0.11).++The golden data lives in ``unreal/Verse/Tests/Data/bridge/`` (read by the+Unreal automation tests) and is mirrored byte for byte, line endings aside,+into ``tests/unit/verse_host/fixtures/bridge/`` (read by the backend pytest).+Both sides check against the same ``verse.bridge.1.schema.json``.++ python scripts/unreal/bridge_schema.py # check every fixture and the mirror+ python scripts/unreal/bridge_schema.py --sync # copy the Unreal tree to the mirror+ python scripts/unreal/bridge_schema.py FRAME.json # validate frames in a file++Layout of the data folder:++``verse.bridge.1.schema.json``+ JSON Schema (2020-12). ``x-messages`` lists every message type with its+ direction, kind, topic and the ``$defs`` of its frame, data and reply.+``messages/<type>.json``+ Golden frames of one type; the first is the contract's own example.+``replies/<command>.json``+ ``[{request, reply}]`` pairs, success and error answers.+``cells/vectors.json``+ ``cells.bin/1`` vectors: a ``screens.frame`` in ``cells.json/1`` form and+ its exact bytes, plus malformed frames a decoder must reject.+``scenarios/<name>.json``+ Scripted runs ``scripts/unreal/fake_bridge.py`` serves.+"""++from __future__ import annotations++import argparse+import functools+import json+import shutil+import sys+from collections.abc import Iterable+from pathlib import Path+from typing import Any++REPO_ROOT = Path(__file__).resolve().parents[2]+if str(REPO_ROOT) not in sys.path:+ sys.path.insert(0, str(REPO_ROOT))++from jsonschema import Draft202012Validator # noqa: E402++from scripts.unreal import bridge_cells # noqa: E402++DATA_DIR = REPO_ROOT / "unreal" / "Verse" / "Tests" / "Data" / "bridge"+MIRROR_DIR = REPO_ROOT / "tests" / "unit" / "verse_host" / "fixtures" / "bridge"+SCHEMA_FILE = "verse.bridge.1.schema.json"+PROTOCOL = "verse.bridge/1"++TO_SERVER = "verse_to_server"+TO_VERSE = "server_to_verse"++#: Keywords whose failures a live reader tolerates (unknown fields, unknown+#: enum values with a documented fallback). Golden data tolerates none.+_LENIENT_KEYWORDS = {"additionalProperties", "enum"}+++class Schema:+ """The loaded ``verse.bridge/1`` schema with one validator per ``$defs`` entry."""++ def __init__(self, document: dict) -> None:+ self.document = document+ self.messages: dict[str, dict] = document["x-messages"]+ self._defs = document["$defs"]+ self._validators: dict[str, Draft202012Validator] = {}++ # -------------------------------------------------------------- catalogue++ def entry(self, type_: str) -> dict | None:+ return self.messages.get(type_)++ def commands(self) -> list[str]:+ return sorted(t for t, e in self.messages.items() if e["kind"] == "command")++ def topic_of(self, type_: str) -> str | None:+ entry = self.messages.get(type_)+ return entry.get("topic") if entry else None++ def is_delta(self, type_: str, data: Any = None) -> bool:+ """Whether a frame of ``type_`` carries ``base`` (a screens snapshot does not)."""+ entry = self.messages.get(type_) or {}+ if not entry.get("delta"):+ return False+ if type_ == "screens.frame":+ return isinstance(data, dict) and data.get("kind") == "delta"+ return True++ # -------------------------------------------------------------- validation++ def _validator(self, pointer: str) -> Draft202012Validator:+ name = pointer.removeprefix("#/$defs/")+ if name not in self._validators:+ if name not in self._defs:+ raise KeyError(f"schema has no $defs entry {name!r}")+ sub = {"$defs": self._defs, "$ref": f"#/$defs/{name}"}+ self._validators[name] = Draft202012Validator(sub)+ return self._validators[name]++ def _errors(self, pointer: str, value: Any, where: str, lenient: bool) -> list[str]:+ out = []+ for error in self._validator(pointer).iter_errors(value):+ if lenient and _tolerated(error):+ continue+ path = "/".join(str(p) for p in error.absolute_path)+ out.append(f"{where}{'/' + path if path else ''}: {error.message}")+ return out++ def validate_frame(self, frame: Any, *, lenient: bool = False) -> list[str]:+ """Every problem with one JSON frame, as readable strings (empty: valid).++ ``lenient`` accepts unknown fields and unknown values of enums that+ name an ``x-fallback``, as a live reader must (contract section 2).+ """+ if not isinstance(frame, dict):+ return ["frame is not a JSON object"]+ type_ = frame.get("type")+ entry = self.messages.get(type_) if isinstance(type_, str) else None+ if entry is None:+ return [f"unknown message type {type_!r}"]+ data = frame.get("data")+ if type_ == "screens.frame" and not self.is_delta(type_, data):+ frame_def = "#/$defs/frame.server_to_verse"+ else:+ frame_def = entry["frame"]+ errors = self._errors(frame_def, frame, type_, lenient=False)+ errors += self._errors(entry["data"], data, f"{type_}.data", lenient)+ if "base" in frame and "seq" in frame and isinstance(frame["base"], int):+ if isinstance(frame["seq"], int) and frame["base"] >= frame["seq"]:+ errors.append(f"{type_}: base {frame['base']} is not below seq {frame['seq']}")+ if type_ == "screens.frame" and isinstance(data, dict) and not errors:+ try:+ bridge_cells.check_rows(data["cols"], data["rows"], data["rows_changed"])+ except bridge_cells.CellsError as exc:+ errors.append(f"screens.frame.data: {exc}")+ return errors++ def validate_reply(self, reply: dict, command: str, *, lenient: bool = False) -> list[str]:+ """A reply frame, and its ``result`` against the command's result schema."""+ errors = self.validate_frame(reply, lenient=lenient)+ entry = self.messages.get(command)+ if entry is None or entry["kind"] != "command":+ return errors + [f"{command!r} is not a command"]+ data = reply.get("data") if isinstance(reply, dict) else None+ if isinstance(data, dict) and data.get("ok") is True:+ errors += self._errors(+ entry["result"], data.get("result"), f"{command} result", lenient+ )+ return errors++ def validate_scenario(self, scenario: Any) -> list[str]:+ """A fake-bridge scenario: shape, and every frame and reply it would serve."""+ if not isinstance(scenario, dict):+ return ["scenario is not a JSON object"]+ errors = []+ name = scenario.get("name", "?")+ keys = {+ "name",+ "description",+ "topics",+ "watch_screens",+ "watch_chat_tails",+ "state",+ "replies",+ "steps",+ }+ if set(scenario) != keys:+ errors.append(f"{name}: keys must be exactly {sorted(keys)}")+ return errors+ for topic in scenario["topics"]:+ if topic not in self.document["x-subscribed-topics"]:+ errors.append(f"{name}: {topic!r} is not a subscribable topic")+ for type_, data in scenario["state"].items():+ if not type_.endswith(".snapshot"):+ errors.append(f"{name}: state key {type_!r} is not a snapshot type")+ continue+ errors += self.validate_frame(_wrap(type_, data, 1), lenient=False)+ for command, answers in scenario["replies"].items():+ for i, data in enumerate(answers):+ reply = {"type": "reply", "seq": 2, "ts": 0.0, "re": "c-1", "data": data}+ errors += [+ f"{name}: replies.{command}[{i}]: {e}"+ for e in self.validate_reply(reply, command)+ ]+ last = 0+ for i, step in enumerate(scenario["steps"]):+ where = f"{name}: steps[{i}]"+ at = step.get("at_ms")+ if not isinstance(at, int) or at < last:+ errors.append(f"{where}: at_ms must be an integer not below the previous step's")+ else:+ last = at+ if "frame" in step:+ allowed = {"at_ms", "frame", "lenient", "note"}+ frame = step["frame"]+ if not isinstance(frame, dict) or set(frame) != {"type", "data"}:+ errors.append(f"{where}: a step frame holds only type and data")+ continue+ entry = self.messages.get(frame["type"])+ if (+ entry is None+ or entry["dir"] != TO_VERSE+ or entry["kind"] in {"reply", "handshake"}+ ):+ errors.append(f"{where}: {frame['type']!r} is not a server feed or event")+ continue+ base = 1 if self.is_delta(frame["type"], frame["data"]) else None+ wrapped = _wrap(frame["type"], frame["data"], 2, base=base)+ errors += [+ f"{where}: {e}"+ for e in self.validate_frame(wrapped, lenient=bool(step.get("lenient")))+ ]+ if step.get("lenient") and not self.validate_frame(wrapped):+ errors.append(f"{where}: marked lenient but valid as golden data")+ elif "expect" in step:+ allowed = {"at_ms", "expect", "timeout_ms", "optional", "note"}+ expect = step["expect"]+ entry = self.messages.get(expect.get("type"))+ if entry is None or entry["dir"] != TO_SERVER:+ errors.append(f"{where}: expects {expect.get('type')!r}, not a Verse message")+ if not isinstance(step.get("timeout_ms"), int) or step["timeout_ms"] <= 0:+ errors.append(f"{where}: expect needs a positive timeout_ms")+ else:+ errors.append(f"{where}: a step has a frame or an expect")+ continue+ if set(step) - allowed:+ errors.append(f"{where}: unknown keys {sorted(set(step) - allowed)}")+ return errors+++def _tolerated(error: Any) -> bool:+ if error.validator not in _LENIENT_KEYWORDS:+ return False+ return error.validator == "additionalProperties" or "x-fallback" in error.schema+++def _wrap(type_: str, data: Any, seq: int, *, base: int | None = None) -> dict:+ frame = {"type": type_, "seq": seq, "ts": 0.0, "data": data}+ if base is not None:+ frame["base"] = base+ return frame++[email protected]_cache(maxsize=4)+def load(data_dir: Path = DATA_DIR) -> Schema:+ return Schema(read_json(data_dir / SCHEMA_FILE))+++def read_json(path: Path) -> Any:+ return json.loads(path.read_text(encoding="utf-8"))+++def data_files(root: Path) -> list[Path]:+ return sorted(p for p in root.rglob("*") if p.is_file())+++# ------------------------------------------------------------------ fixture check+++def check_messages(schema: Schema, root: Path) -> list[str]:+ errors = []+ seen = set()+ for path in sorted((root / "messages").glob("*.json")):+ type_ = path.stem+ frames = read_json(path)+ if not isinstance(frames, list) or not frames:+ errors.append(f"messages/{path.name}: not a non-empty list")+ continue+ for i, frame in enumerate(frames):+ if frame.get("type") != type_:+ errors.append(+ f"messages/{path.name}[{i}]: type {frame.get('type')!r} in the {type_} file"+ )+ errors += [f"messages/{path.name}[{i}]: {e}" for e in schema.validate_frame(frame)]+ seen.add(type_)+ for type_ in sorted(set(schema.messages) - seen):+ errors.append(f"messages/{type_}.json: no golden frame for a catalogued type")+ return errors+++def check_replies(schema: Schema, root: Path) -> list[str]:+ errors = []+ seen = set()+ for path in sorted((root / "replies").glob("*.json")):+ command = path.stem+ pairs = read_json(path)+ if schema.entry(command) is None or schema.entry(command)["kind"] != "command":+ errors.append(f"replies/{path.name}: {command!r} is not a command")+ continue+ ok_seen = False+ for i, pair in enumerate(pairs):+ where = f"replies/{path.name}[{i}]"+ request, reply = pair.get("request"), pair.get("reply")+ if set(pair) - {"request_invalid"} != {"request", "reply"}:+ errors.append(f"{where}: a pair holds request, reply, request_invalid")+ continue+ if request.get("type") != command:+ errors.append(f"{where}: request type {request.get('type')!r}")+ request_errors = schema.validate_frame(request)+ if pair.get("request_invalid"):+ # A malformed request the server answers with bad_request.+ if not request_errors:+ errors.append(f"{where}: request_invalid but the request is valid")+ if reply.get("data", {}).get("error", {}).get("code") != "bad_request":+ errors.append(f"{where}: an invalid request is answered with bad_request")+ else:+ errors += [f"{where} request: {e}" for e in request_errors]+ errors += [f"{where} reply: {e}" for e in schema.validate_reply(reply, command)]+ if reply.get("re") != request.get("id"):+ errors.append(f"{where}: re {reply.get('re')!r} is not id {request.get('id')!r}")+ ok_seen = ok_seen or reply.get("data", {}).get("ok") is True+ if not ok_seen:+ errors.append(f"replies/{path.name}: no successful reply")+ seen.add(command)+ for command in sorted(set(schema.commands()) - seen):+ errors.append(f"replies/{command}.json: no request/reply pair for a command")+ return errors+++def check_cells(schema: Schema, root: Path) -> list[str]:+ errors = []+ vectors = read_json(root / "cells" / "vectors.json")+ if vectors.get("format") != "cells.bin/1":+ errors.append("cells/vectors.json: format is not cells.bin/1")+ for vec in vectors.get("valid", []):+ where = f"cells/{vec.get('name')}"+ frame = vec["frame"]+ errors += [f"{where}: {e}" for e in schema.validate_frame(frame)]+ data = frame["data"]+ blob = bytes.fromhex(vec["bin_hex"])+ try:+ encoded = bridge_cells.encode(+ data, ref=vec["ref"], seq=frame["seq"], base=frame.get("base")+ )+ decoded = bridge_cells.decode(blob)+ except bridge_cells.CellsError as exc:+ errors.append(f"{where}: {exc}")+ continue+ if encoded != blob:+ errors.append(f"{where}: encoding the JSON frame does not give bin_hex")+ expect = {+ "kind": data["kind"],+ "ref": vec["ref"],+ "seq": frame["seq"],+ "base": frame.get("base"),+ "cols": data["cols"],+ "rows": data["rows"],+ "cursor": data["cursor"],+ "rows_changed": bridge_cells.normalise_runs(data["rows_changed"]),+ }+ if decoded != expect:+ errors.append(f"{where}: decoding bin_hex does not give the JSON frame")+ if data["kind"] == "snapshot" and data.get("ref") != vec["ref"]:+ errors.append(+ f"{where}: snapshot ref {data.get('ref')} differs from the vector ref {vec['ref']}"+ )+ for vec in vectors.get("invalid", []):+ try:+ bridge_cells.decode(bytes.fromhex(vec["bin_hex"]))+ except bridge_cells.CellsError:+ continue+ errors.append(f"cells/{vec.get('name')}: malformed vector decodes without an error")+ return errors+++def check_scenarios(schema: Schema, root: Path) -> list[str]:+ errors = []+ for path in sorted((root / "scenarios").glob("*.json")):+ scenario = read_json(path)+ if scenario.get("name") != path.stem:+ errors.append(+ f"scenarios/{path.name}: name {scenario.get('name')!r} differs from the file name"+ )+ errors += [f"scenarios/{e}" for e in schema.validate_scenario(scenario)]+ return errors+++def _normalised(path: Path) -> bytes:+ return path.read_bytes().replace(b"\r\n", b"\n")+++def check_mirror(root: Path = DATA_DIR, mirror: Path = MIRROR_DIR) -> list[str]:+ """The pytest mirror holds exactly the Unreal tree's files (line endings aside)."""+ ours = {p.relative_to(root).as_posix(): p for p in data_files(root)}+ theirs = (+ {p.relative_to(mirror).as_posix(): p for p in data_files(mirror)} if mirror.is_dir() else {}+ )+ errors = [f"mirror misses {rel}" for rel in sorted(set(ours) - set(theirs))]+ errors += [f"mirror has extra {rel}" for rel in sorted(set(theirs) - set(ours))]+ for rel in sorted(set(ours) & set(theirs)):+ if _normalised(ours[rel]) != _normalised(theirs[rel]):+ errors.append(f"mirror differs: {rel}")+ if errors:+ errors.append("run: python scripts/unreal/bridge_schema.py --sync")+ return errors+++def check_all(root: Path = DATA_DIR, *, mirror: Path | None = MIRROR_DIR) -> list[str]:+ schema = Schema(read_json(root / SCHEMA_FILE))+ errors = check_messages(schema, root) + check_replies(schema, root)+ errors += check_cells(schema, root) + check_scenarios(schema, root)+ if mirror is not None:+ errors += check_mirror(root, mirror)+ return errors+++def sync(root: Path = DATA_DIR, mirror: Path = MIRROR_DIR) -> int:+ if mirror.exists():+ shutil.rmtree(mirror)+ count = 0+ for path in data_files(root):+ target = mirror / path.relative_to(root)+ target.parent.mkdir(parents=True, exist_ok=True)+ target.write_bytes(_normalised(path))+ count += 1+ return count+++def _frames_in(paths: Iterable[str]) -> Iterable[tuple[str, Any]]:+ for name in paths:+ value = read_json(Path(name))+ for i, frame in enumerate(value if isinstance(value, list) else [value]):+ yield f"{name}[{i}]", frame+++def main(argv: list[str] | None = None) -> int:+ parser = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])+ parser.add_argument("files", nargs="*", help="JSON files holding one frame or a list of frames")+ parser.add_argument(+ "--sync", action="store_true", help="copy the Unreal tree to the pytest mirror"+ )+ parser.add_argument(+ "--lenient", action="store_true", help="validate files as a live reader would"+ )+ args = parser.parse_args(argv)+ if args.sync:+ print(f"synced {sync()} files to {MIRROR_DIR.relative_to(REPO_ROOT).as_posix()}")+ return 0+ if args.files:+ schema = load()+ errors = [+ f"{where}: {e}"+ for where, f in _frames_in(args.files)+ for e in schema.validate_frame(f, lenient=args.lenient)+ ]+ else:+ errors = check_all()+ for error in errors:+ print(error)+ print("bridge fixtures: OK" if not errors else f"bridge fixtures: {len(errors)} problem(s)")+ return 1 if errors else 0+++if __name__ == "__main__":+ raise SystemExit(main())diff --git a/scripts/unreal/fake_bridge.py b/scripts/unreal/fake_bridge.pynew file mode 100644index 0000000000..c1b050a55b--- /dev/null+++ b/scripts/unreal/fake_bridge.py@@ -0,0 +1,678 @@+#!/usr/bin/env python3+"""A scripted stand-in for the backend side of ``verse.bridge/1`` (G0.11).++Unreal packages that read bridge feeds test against this, never against a+live app (``docs/verse/unreal/work-packages.md`` 0.3). It speaks the frozen+transport of ``contracts/bridge-protocol.md``: one WebSocket at+``/api/verse/bridge`` on loopback, ``hello`` first, the close codes, ping and+pong, per-connection ``seq``, ``base`` on deltas, one reply per command, and+terminal cells as ``cells.bin/1`` binary frames or ``cells.json/1``. Every+frame it serves comes from the golden fixtures in+``unreal/Verse/Tests/Data/bridge/`` and is checked against the schema first.++ python scripts/unreal/fake_bridge.py --token <random> # idle scenario+ python scripts/unreal/fake_bridge.py --scenario busy_panes --once --report out.json+ python scripts/unreal/fake_bridge.py --list+ python scripts/unreal/fake_bridge.py --check # validate every scenario++The token also comes from ``DODAIOS_VERSE_TOKEN``. ``--discovery FILE``+writes the dev discovery file ``{url, token, pid}`` (contract section 1).++Scenario run: after ``welcome`` the steps play in order at ``at_ms`` (times+``--speed``; 0 plays them back to back). A feed step waits until its topic is+subscribed (``roster``, ``groups``, ``meetings``, ``progression``,+``companion``) or its pane or agent is watched (``screens``, ``chat_tails``);+lifecycle and panel events go out at once. An ``expect`` step waits up to+``timeout_ms`` for a Verse frame of that type whose ``data`` holds the given+fields. Commands are answered from the scenario's ``replies`` queue, then+from the golden replies; ``subscribe``, ``screens.watch``,+``chat_tails.watch``, ``resync``, ``progression.told``, ``settings.set``,+``duel.result`` and ``qa.exec`` behave as the contract says. Roster and+groups deltas are applied to the fake's own state, so a ``resync`` sends the+current snapshot.+"""++from __future__ import annotations++import argparse+import asyncio+import contextlib+import copy+import hmac+import ipaddress+import json+import os+import secrets+import sys+import time+from dataclasses import dataclass, field+from pathlib import Path+from typing import Any++REPO_ROOT = Path(__file__).resolve().parents[2]+if str(REPO_ROOT) not in sys.path:+ sys.path.insert(0, str(REPO_ROOT))++from websockets.asyncio.server import ServerConnection, serve # noqa: E402+from websockets.exceptions import ConnectionClosed # noqa: E402++from scripts.unreal import bridge_cells, bridge_schema # noqa: E402++PATH = "/api/verse/bridge"+SNAPSHOT_OF = {+ "roster": "roster.snapshot",+ "groups": "groups.snapshot",+ "progression": "progression.snapshot",+ "companion": "companion.snapshot",+}+#: Collections a delta's upsert/remove lists touch, with the id field of each row.+DELTA_KEYS = {+ "roster": {"agents": "agent_id", "panes": "pane_id"},+ "groups": {"groups": "group_id"},+}+MAX_SCREENS = 8+MAX_CHAT_AGENTS = 6+CLOSE_BAD_HELLO, CLOSE_TOKEN, CLOSE_PEER, CLOSE_REPLACED, CLOSE_PROTOCOL = (+ 4400,+ 4401,+ 4403,+ 4409,+ 4426,+)+++def scenario_names(data_dir: Path = bridge_schema.DATA_DIR) -> list[str]:+ return sorted(p.stem for p in (data_dir / "scenarios").glob("*.json"))+++def load_scenario(name_or_path: str, data_dir: Path = bridge_schema.DATA_DIR) -> dict:+ path = Path(name_or_path)+ if not path.suffix:+ path = data_dir / "scenarios" / f"{name_or_path}.json"+ return bridge_schema.read_json(path)+++def golden(type_: str, data_dir: Path = bridge_schema.DATA_DIR) -> list[dict]:+ return bridge_schema.read_json(data_dir / "messages" / f"{type_}.json")+++def golden_reply(command: str, data_dir: Path = bridge_schema.DATA_DIR) -> dict:+ """The data of the first successful golden reply to ``command``."""+ for pair in bridge_schema.read_json(data_dir / "replies" / f"{command}.json"):+ if pair["reply"]["data"].get("ok") is True:+ return copy.deepcopy(pair["reply"]["data"])+ raise KeyError(command)+++def apply_delta(state: dict, topic: str, data: dict) -> None:+ """Apply a roster or groups delta to a snapshot's data in place."""+ for key, id_field in DELTA_KEYS[topic].items():+ rows = state.setdefault(key, [])+ index = {row[id_field]: row for row in rows}+ for patch in data.get("upsert", {}).get(key, []):+ if patch[id_field] in index:+ index[patch[id_field]].update(copy.deepcopy(patch))+ else:+ rows.append(copy.deepcopy(patch))+ index[patch[id_field]] = rows[-1]+ gone = set(data.get("remove", {}).get(key, []))+ rows[:] = [row for row in rows if row[id_field] not in gone]+ if topic == "roster" and data.get("commander") is not None:+ state["commander"] = copy.deepcopy(data["commander"])+++def _matches(expected: Any, actual: Any) -> bool:+ if isinstance(expected, dict):+ return isinstance(actual, dict) and all(+ k in actual and _matches(v, actual[k]) for k, v in expected.items()+ )+ return expected == actual+++def _is_loopback(host: str) -> bool:+ try:+ return ipaddress.ip_address(host.split("%")[0]).is_loopback+ except ValueError:+ return host == "localhost"+++@dataclass+class Report:+ scenario: str+ sent: dict[str, int] = field(default_factory=dict)+ received: dict[str, int] = field(default_factory=dict)+ skipped: list[str] = field(default_factory=list)+ expectations: list[dict] = field(default_factory=list)+ invalid_from_verse: list[str] = field(default_factory=list)+ hung: bool = False+ done: bool = False++ @property+ def passed(self) -> bool:+ required_ok = all(e["ok"] or e["optional"] for e in self.expectations)+ return self.done and required_ok and not self.skipped and not self.invalid_from_verse++ def as_dict(self) -> dict:+ return {+ "scenario": self.scenario,+ "passed": self.passed,+ "done": self.done,+ "sent": dict(sorted(self.sent.items())),+ "received": dict(sorted(self.received.items())),+ "skipped": self.skipped,+ "expectations": self.expectations,+ "invalid_from_verse": self.invalid_from_verse,+ "hung": self.hung,+ }+++class Session:+ """One authenticated Verse connection."""++ def __init__(self, bridge: FakeBridge, ws: ServerConnection, hello: dict) -> None:+ self.bridge = bridge+ self.ws = ws+ self.hello = hello+ offered = hello["data"].get("encodings", {}).get("screens", [])+ self.encoding = "cells.bin/1" if "cells.bin/1" in offered else "cells.json/1"+ self.seq = 0+ self.last_seq: dict[str, int] = {}+ self.subscribed: set[str] = set()+ self.refs: dict[str, int] = {}+ self.next_ref = 1+ self.chat_agents: set[str] = set()+ self.screen_snapshots: dict[str, dict] = {}+ self.received: list[dict] = []+ self.changed = asyncio.Condition()+ self.last_frame = time.monotonic()+ self.duels: dict[str, dict] = {}++ # -------------------------------------------------------------- sending++ async def send(+ self, type_: str, data: Any, *, re: str | None = None, key: str | None = None+ ) -> int:+ self.seq += 1+ frame: dict[str, Any] = {"type": type_, "seq": self.seq, "ts": round(time.time(), 3)}+ if re is not None:+ frame["re"] = re+ if self.bridge.schema.is_delta(type_, data):+ frame["base"] = self.last_seq.get(key or type_, 1)+ frame["data"] = data+ if type_ != "reply" and key:+ self.last_seq[key] = self.seq+ await self.ws.send(json.dumps(frame, ensure_ascii=False))+ self.bridge.report.sent[type_] = self.bridge.report.sent.get(type_, 0) + 1+ return self.seq++ async def reply(self, request_id: str | None, data: dict) -> None:+ if request_id is not None:+ await self.send("reply", data, re=request_id)++ async def send_screen(self, type_: str, data: dict) -> None:+ pane_id = data["pane_id"]+ key = f"screens:{pane_id}"+ if type_ == "screens.gone":+ self.refs.pop(pane_id, None)+ self.screen_snapshots.pop(pane_id, None)+ await self.send(type_, data, key=key)+ return+ data = copy.deepcopy(data)+ ref = self.refs[pane_id]+ if data["kind"] == "snapshot":+ data["ref"] = ref+ self.screen_snapshots[pane_id] = data+ if self.encoding == "cells.json/1":+ await self.send("screens.frame", data, key=key)+ return+ if data["kind"] == "snapshot":+ meta = {k: data[k] for k in ("pane_id", "ref", "cols", "rows", "style", "cut", "at")}+ await self.send("screens.meta", meta)+ self.seq += 1+ base = self.last_seq.get(key, 1) if data["kind"] == "delta" else None+ blob = bridge_cells.encode(data, ref=ref, seq=self.seq, base=base)+ self.last_seq[key] = self.seq+ await self.ws.send(blob)+ self.bridge.report.sent["cells.bin/1"] = self.bridge.report.sent.get("cells.bin/1", 0) + 1++ async def send_snapshot(self, topic: str) -> None:+ type_ = SNAPSHOT_OF[topic]+ await self.send(type_, copy.deepcopy(self.bridge.state[type_]), key=topic)++ # -------------------------------------------------------------- receiving++ async def serve(self) -> None:+ async for raw in self.ws:+ self.last_frame = time.monotonic()+ if isinstance(raw, bytes):+ self.bridge.report.invalid_from_verse.append("binary frame from Verse")+ continue+ try:+ frame = json.loads(raw)+ except json.JSONDecodeError:+ self.bridge.report.invalid_from_verse.append("frame is not JSON")+ continue+ type_ = frame.get("type") if isinstance(frame, dict) else None+ counts = self.bridge.report.received+ counts[str(type_)] = counts.get(str(type_), 0) + 1+ errors = self.bridge.schema.validate_frame(frame)+ entry = self.bridge.schema.entry(type_) if isinstance(type_, str) else None+ if errors:+ self.bridge.report.invalid_from_verse.extend(errors)+ if entry and entry["kind"] == "command" and isinstance(frame.get("id"), str):+ await self.reply(frame["id"], _error("bad_request", errors[0]))+ continue+ async with self.changed:+ self.received.append(frame)+ self.changed.notify_all()+ if type_ == "ping":+ await self.send("pong", {})+ elif entry and entry["kind"] == "command":+ await self.command(frame)++ async def command(self, frame: dict) -> None:+ type_, rid, data = frame["type"], frame["id"], frame["data"]+ bridge = self.bridge+ features = set(bridge.welcome["features"])+ if type_ == "subscribe":+ wanted = data["topics"]+ served = [t for t in wanted if t in features]+ if not served:+ await self.reply(rid, _error("unavailable", "No requested topic is served."))+ return+ unavailable = [t for t in wanted if t not in features]+ await self.reply(rid, _ok({"subscribed": served, "unavailable": unavailable}))+ for topic in served:+ if topic in SNAPSHOT_OF and topic not in self.subscribed:+ await self.send_snapshot(topic)+ await self._mark(lambda: self.subscribed.update(served))+ elif type_ == "unsubscribe":+ gone = [t for t in data["topics"] if t in self.subscribed]+ self.subscribed.difference_update(gone)+ await self.reply(rid, _ok({"unsubscribed": gone}))+ elif type_ == "resync":+ await self.resync(rid, data)+ elif type_ == "screens.watch":+ await self.watch_screens(rid, data["panes"])+ elif type_ == "chat_tails.watch":+ agents = data["agents"]+ watching, dropped = agents[:MAX_CHAT_AGENTS], agents[MAX_CHAT_AGENTS:]+ await self.reply(rid, _ok({"watching": watching, "dropped": dropped}))+ await self._mark(lambda: (self.chat_agents.clear(), self.chat_agents.update(watching)))+ elif type_ == "progression.told":+ snapshot = bridge.state["progression.snapshot"]+ snapshot["told_seq"] = max(snapshot.get("told_seq", 0), data["seq"])+ await self.reply(rid, _ok({"told_seq": snapshot["told_seq"]}))+ elif type_ == "settings.set":+ bridge.settings = _merge(bridge.settings, data)+ await self.reply(rid, _ok({"settings": copy.deepcopy(bridge.settings)}))+ await self.send("settings.changed", copy.deepcopy(data))+ elif type_ == "duel.result":+ if data["match_id"] not in self.duels:+ self.duels[data["match_id"]] = bridge.next_reply(type_)+ await self.reply(rid, copy.deepcopy(self.duels[data["match_id"]]))+ elif type_ == "qa.exec" and not bridge.qa:+ await self.reply(rid, _error("unavailable", "QA commands need DODAIOS_VERSE_QA=1."))+ elif type_ == "qa.exec":+ await self.reply(+ rid, _ok({"result": {"command": data["command"], "args": data.get("args", [])}})+ )+ else:+ await self.reply(rid, bridge.next_reply(type_))++ async def resync(self, rid: str, data: dict) -> None:+ topic = data["topic"]+ if topic == "screens":+ pane_id = data.get("pane_id")+ snapshot = self.screen_snapshots.get(pane_id)+ if pane_id not in self.refs or snapshot is None:+ await self.reply(rid, _error("not_found", "Pane is not watched."))+ return+ await self.reply(rid, _ok({}))+ await self.send_screen("screens.frame", snapshot)+ elif topic in SNAPSHOT_OF and topic in self.subscribed:+ await self.reply(rid, _ok({}))+ await self.send_snapshot(topic)+ else:+ await self.reply(rid, _error("not_found", f"Topic {topic} is not subscribed."))++ async def watch_screens(self, rid: str, panes: list[dict]) -> None:+ known = self.bridge.known_panes()+ bound, dropped, missing = [], [], []+ refs: dict[str, int] = {}+ for item in panes:+ pane_id = item["pane_id"]+ if pane_id not in known:+ missing.append(pane_id)+ elif len(refs) >= MAX_SCREENS:+ dropped.append(pane_id)+ else:+ refs[pane_id] = self.next_ref+ self.next_ref += 1+ bound.append({"pane_id": pane_id, "ref": refs[pane_id]})+ await self.reply(rid, _ok({"bound": bound, "dropped": dropped, "missing": missing}))+ await self._mark(lambda: (self.refs.clear(), self.refs.update(refs)))+ for pane_id in refs:+ if pane_id in self.screen_snapshots:+ await self.send_screen("screens.frame", self.screen_snapshots[pane_id])++ async def _mark(self, change) -> None:+ async with self.changed:+ change()+ self.changed.notify_all()++ # -------------------------------------------------------------- scenario++ def ready_for(self, frame: dict) -> bool:+ type_, data = frame["type"], frame["data"]+ topic = self.bridge.schema.topic_of(type_)+ if topic == "screens":+ return data["pane_id"] in self.refs+ if topic == "chat_tails":+ return data["agent_id"] in self.chat_agents+ if topic in SNAPSHOT_OF or topic == "meetings":+ return topic in self.subscribed+ return True++ async def run_scenario(self) -> None:+ bridge = self.bridge+ start = time.monotonic()+ for i, step in enumerate(bridge.scenario["steps"]):+ due = start + step["at_ms"] / 1000 * bridge.speed+ await asyncio.sleep(max(0.0, due - time.monotonic()))+ if "frame" in step:+ frame = step["frame"]+ try:+ async with self.changed:+ await asyncio.wait_for(+ self.changed.wait_for(lambda f=frame: self.ready_for(f)), bridge.hold_s+ )+ except TimeoutError:+ bridge.report.skipped.append(+ f"steps[{i}] {frame['type']}: topic never subscribed or watched"+ )+ continue+ await self.play(frame)+ else:+ await self.expect(step, start)+ bridge.report.done = True+ bridge.finished.set()++ async def play(self, frame: dict) -> None:+ type_, data = frame["type"], copy.deepcopy(frame["data"])+ topic = self.bridge.schema.topic_of(type_)+ if topic == "screens":+ await self.send_screen(type_, data)+ return+ if topic in DELTA_KEYS and type_.endswith(".delta"):+ apply_delta(self.bridge.state[SNAPSHOT_OF[topic]], topic, data)+ elif type_ in self.bridge.state:+ self.bridge.state[type_] = copy.deepcopy(data)+ key = topic if topic in SNAPSHOT_OF else None+ await self.send(type_, data, key=key)++ async def expect(self, step: dict, start: float) -> None:+ want = step["expect"]++ def found() -> bool:+ return any(+ f["type"] == want["type"] and _matches(want.get("data", {}), f["data"])+ for f in self.received+ )++ ok = True+ try:+ async with self.changed:+ await asyncio.wait_for(self.changed.wait_for(found), step["timeout_ms"] / 1000)+ except TimeoutError:+ ok = False+ if ok:+ # Consume the first match so a later expect waits for a fresh frame.+ for n, f in enumerate(self.received):+ if f["type"] == want["type"] and _matches(want.get("data", {}), f["data"]):+ del self.received[n]+ break+ self.bridge.report.expectations.append(+ {+ "type": want["type"],+ "data": want.get("data", {}),+ "ok": ok,+ "optional": bool(step.get("optional")),+ }+ )++ async def watchdog(self) -> None:+ while True:+ await asyncio.sleep(0.5)+ if time.monotonic() - self.last_frame > 5.0 and not self.bridge.report.hung:+ self.bridge.report.hung = True+ print(+ "fake bridge: no frame from Verse for 5 s (hung)", file=sys.stderr, flush=True+ )+++class FakeBridge:+ def __init__(+ self,+ token: str,+ scenario: dict,+ *,+ speed: float = 1.0,+ qa: bool = False,+ hello_timeout: float = 5.0,+ hold_s: float = 30.0,+ data_dir: Path = bridge_schema.DATA_DIR,+ ) -> None:+ self.token = token+ self.scenario = scenario+ self.speed = speed+ self.qa = qa+ self.hello_timeout = hello_timeout+ self.hold_s = hold_s+ self.data_dir = data_dir+ self.schema = bridge_schema.Schema(+ bridge_schema.read_json(data_dir / bridge_schema.SCHEMA_FILE)+ )+ problems = self.schema.validate_scenario(scenario)+ if problems:+ raise ValueError("invalid scenario: " + "; ".join(problems[:5]))+ self.welcome = copy.deepcopy(golden("welcome", data_dir)[0]["data"])+ self.settings = copy.deepcopy(self.welcome["settings"])+ self.state = {+ t: copy.deepcopy(golden(t, data_dir)[0]["data"]) for t in SNAPSHOT_OF.values()+ }+ self.state.update(copy.deepcopy(scenario["state"]))+ self.replies = {k: copy.deepcopy(v) for k, v in scenario["replies"].items()}+ self.report = Report(scenario["name"])+ self.finished = asyncio.Event()+ self.closed = asyncio.Event()+ self.session: Session | None = None+ self.url = ""+ self._server = None++ def known_panes(self) -> set[str]:+ panes = {p["pane_id"] for p in self.state["roster.snapshot"]["panes"]}+ for step in self.scenario["steps"]:+ frame = step.get("frame")+ if frame and frame["type"].startswith("screens."):+ panes.add(frame["data"]["pane_id"])+ return panes++ def next_reply(self, command: str) -> dict:+ queue = self.replies.get(command)+ if queue:+ return queue.pop(0)+ return golden_reply(command, self.data_dir)++ async def start(self, host: str = "127.0.0.1", port: int = 0) -> str:+ def process_request(connection, request):+ if request.path.split("?")[0] != PATH:+ return connection.respond(404, "Not a verse.bridge endpoint.\n")+ return None++ self._server = await serve(+ self._handle,+ host,+ port,+ process_request=process_request,+ max_size=1 << 20,+ ping_interval=None,+ )+ bound = self._server.sockets[0].getsockname()+ shown = f"[{bound[0]}]" if ":" in bound[0] else bound[0]+ self.url = f"ws://{shown}:{bound[1]}{PATH}"+ return self.url++ async def stop(self) -> None:+ if self._server is not None:+ self._server.close()+ await self._server.wait_closed()++ async def _handle(self, ws: ServerConnection) -> None:+ if not _is_loopback(str(ws.remote_address[0])):+ await ws.close(CLOSE_PEER, "Loopback peers only.")+ return+ try:+ raw = await asyncio.wait_for(ws.recv(), self.hello_timeout)+ hello = json.loads(raw)+ except (TimeoutError, json.JSONDecodeError, TypeError, ConnectionClosed):+ await ws.close(CLOSE_BAD_HELLO, "Expected hello.")+ return+ if (+ not isinstance(hello, dict)+ or hello.get("type") != "hello"+ or self.schema.validate_frame(hello)+ ):+ await ws.close(CLOSE_BAD_HELLO, "Malformed hello.")+ return+ if not hmac.compare_digest(str(hello["data"]["token"]).encode(), self.token.encode()):+ await ws.close(CLOSE_TOKEN, "Wrong token.")+ return+ if bridge_schema.PROTOCOL not in hello["data"]["protocols"]:+ await ws.close(CLOSE_PROTOCOL, json.dumps({"supported": [bridge_schema.PROTOCOL]}))+ return+ previous = self.session+ if previous is not None:+ await previous.ws.close(CLOSE_REPLACED, "replaced")+ session = self.session = Session(self, ws, hello)+ welcome = copy.deepcopy(self.welcome)+ welcome["encoding"] = {"screens": session.encoding}+ welcome["settings"] = copy.deepcopy(self.settings)+ welcome["app_pid"] = os.getpid()+ await session.send("welcome", welcome)+ tasks = [+ asyncio.create_task(session.run_scenario()),+ asyncio.create_task(session.watchdog()),+ ]+ try:+ await session.serve()+ except ConnectionClosed:+ pass+ finally:+ for task in tasks:+ task.cancel()+ for task in tasks:+ with contextlib.suppress(asyncio.CancelledError):+ await task+ if self.session is session:+ self.session = None+ self.closed.set()+++def _ok(result: dict) -> dict:+ return {"ok": True, "result": result}+++def _error(code: str, message: str) -> dict:+ return {"ok": False, "error": {"code": code, "message": message}}+++def _merge(base: dict, patch: dict) -> dict:+ out = copy.deepcopy(base)+ for key, value in patch.items():+ if isinstance(value, dict) and isinstance(out.get(key), dict):+ out[key] = _merge(out[key], value)+ else:+ out[key] = copy.deepcopy(value)+ return out+++def write_discovery(path: Path, url: str, token: str) -> None:+ path.parent.mkdir(parents=True, exist_ok=True)+ path.write_text(json.dumps({"url": url, "token": token, "pid": os.getpid()}), encoding="utf-8")+ with contextlib.suppress(OSError):+ path.chmod(0o600)+++async def _run(args: argparse.Namespace, token: str) -> int:+ bridge = FakeBridge(token, load_scenario(args.scenario), speed=args.speed, qa=args.qa)+ url = await bridge.start(args.host, args.port)+ if args.discovery:+ write_discovery(Path(args.discovery), url, token)+ print(f"fake bridge listening on {url} (scenario {bridge.scenario['name']})", flush=True)+ try:+ if args.once:+ await bridge.finished.wait()+ await bridge.closed.wait()+ else:+ await asyncio.Event().wait()+ finally:+ await bridge.stop()+ _finish(args, bridge.report.as_dict())+ return 0 if bridge.report.passed else 1+++def _finish(args: argparse.Namespace, report: dict) -> None:+ if args.discovery:+ with contextlib.suppress(OSError):+ Path(args.discovery).unlink()+ if args.report:+ Path(args.report).write_text(json.dumps(report, indent=2) + "\n", encoding="utf-8")+ print(json.dumps(report), flush=True)+++def main(argv: list[str] | None = None) -> int:+ parser = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])+ parser.add_argument(+ "--token", default=os.environ.get("DODAIOS_VERSE_TOKEN"), help="launch token"+ )+ parser.add_argument("--host", default="127.0.0.1")+ parser.add_argument("--port", type=int, default=0, help="0 picks a free port")+ parser.add_argument("--scenario", default="idle", help="scenario name or JSON path")+ parser.add_argument(+ "--speed", type=float, default=1.0, help="time scale of at_ms; 0 plays at once"+ )+ parser.add_argument(+ "--once", action="store_true", help="exit when the scenario ends and Verse disconnects"+ )+ parser.add_argument("--report", help="write the run report JSON here")+ parser.add_argument("--discovery", help="write the dev discovery file {url, token, pid} here")+ parser.add_argument(+ "--qa", action="store_true", help="answer qa.exec as DODAIOS_VERSE_QA=1 would"+ )+ parser.add_argument("--list", action="store_true", help="list the scenarios")+ parser.add_argument("--check", action="store_true", help="validate every scenario and exit")+ args = parser.parse_args(argv)+ if args.list:+ for name in scenario_names():+ print(f"{name}: {load_scenario(name)['description']}")+ return 0+ if args.check:+ schema = bridge_schema.load()+ errors = [+ e for name in scenario_names() for e in schema.validate_scenario(load_scenario(name))+ ]+ print("\n".join(errors) or f"{len(scenario_names())} scenarios: OK")+ return 1 if errors else 0+ token = args.token+ if not token:+ token = secrets.token_urlsafe(32)+ print(f"token: {token}", flush=True)+ try:+ return asyncio.run(_run(args, token))+ except KeyboardInterrupt:+ return 130+++if __name__ == "__main__":+ raise SystemExit(main())diff --git a/tests/unit/verse_host/__init__.py b/tests/unit/verse_host/__init__.pynew file mode 100644index 0000000000..e69de29bb2diff --git a/tests/unit/verse_host/fixtures/__init__.py b/tests/unit/verse_host/fixtures/__init__.pynew file mode 100644index 0000000000..e69de29bb2diff --git a/tests/unit/verse_host/fixtures/bridge/README.md b/tests/unit/verse_host/fixtures/bridge/README.mdnew file mode 100644index 0000000000..918be6a00f--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/README.md@@ -0,0 +1,32 @@+# verse.bridge/1 golden fixtures (G0.11)++Golden data for `docs/verse/unreal/contracts/bridge-protocol.md`. The Unreal+automation tests read this folder; the backend pytest reads its mirror in+`tests/unit/verse_host/fixtures/bridge/`. Both copies hold the same files,+and `python scripts/unreal/bridge_schema.py` fails when they drift+(`--sync` copies this folder to the mirror). Change a fixture here, then sync.++| Path | Holds |+|---|---|+| `verse.bridge.1.schema.json` | JSON Schema 2020-12. `x-messages` lists every message type: direction, kind (`handshake`, `command`, `notice`, `feed`, `event`, `reply`), topic, and the `$defs` of its frame, data and reply result. `x-fallback` on an enum names the value a live reader uses for an unknown one |+| `messages/<type>.json` | Golden frames of one type. The first one is the contract's own example |+| `replies/<command>.json` | `{request, reply}` pairs with success and error answers. `request_invalid` marks a malformed request the server answers with `bad_request` |+| `cells/vectors.json` | `cells.bin/1` vectors: a `screens.frame` in `cells.json/1` form, its `ref`, and the exact bytes as hex; plus malformed frames a decoder must reject |+| `scenarios/<name>.json` | Scripted runs of `scripts/unreal/fake_bridge.py`: roster churn, busy panes, meetings, awards, lifecycle, panel, idle |++Golden data is strict: no unknown fields, no unknown enum values. A scenario+step marked `lenient` is off contract on purpose (an unknown duty value, for+example) so readers can prove their fallback.++## Points the contract leaves open, as fixed here++| Point | Fixed as |+|---|---|+| Commands and notices | Verse frames that carry `id` and get one `reply`: every row of section 8 that asks the server to do or answer something. `hello`, `ping`, `log`, `lifecycle.state`, `lifecycle.ready`, `lifecycle.bye`, `window.state`, `panel.stream_state` and `focus.return_to_app` are notices without `id` |+| Reply results the contract does not show | `subscribe` `{subscribed, unavailable}` (error `unavailable` only when no topic is served), `unsubscribe` `{unsubscribed}`, `chat_tails.watch` `{watching, dropped}`, `progression.told` `{told_seq}`, `settings.set` `{settings}` (all values after the write), `launcher.options` `{workspaces, agents}`, `qa.exec` `{result}`; every other command `{}` unless section 11 or 14 names a result |+| `ping`, `pong` | `data` is `{}` |+| `groups.delta` | `{upsert: {groups: [...]}, remove: {groups: [ids]}}`, partial rows as in `roster.delta` |+| `screens.frame` snapshot | Uses `rows_changed` like a delta, carries `ref`, `cut`, `at` and no `base`; a hidden cursor is `[-1, -1]` in JSON as in binary |+| Topics without a snapshot | `panes` (carried by `roster`), `duel_stats` (in `progression.snapshot`), `lifecycle`, `panel`: subscribing replies `ok` and sends nothing; their events are sent without a subscription |+| Wire spelling of states | `lifecycle.state.state` is `booting`, `visible`, `panel`, `dormant`, `exiting`; `welcome.state.gpu` is `free` or `yield` |+| Grapheme clusters | Combining marks, zero-width joiner sequences, variation selectors, skin-tone modifiers and tag characters extend a cluster (`scripts/unreal/bridge_cells.py`) |diff --git a/tests/unit/verse_host/fixtures/bridge/cells/vectors.json b/tests/unit/verse_host/fixtures/bridge/cells/vectors.jsonnew file mode 100644index 0000000000..ddb8d94ba4--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/cells/vectors.json@@ -0,0 +1,1180 @@+{+ "format": "cells.bin/1",+ "valid": [+ {+ "name": "contract_delta",+ "description": "The section 5.4 example: an RGB bold run and a palette run on row 38.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 91,+ "ts": 1793612340.91,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 39,+ 2+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 38,+ "runs": [+ {+ "col": 0,+ "text": "✔ tests passed",+ "fg": "#4fb86a",+ "bg": null,+ "attrs": [+ "bold"+ ]+ },+ {+ "col": 14,+ "text": " (42)",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ },+ "base": 88+ },+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "snapshot_basic",+ "description": "A snapshot with two rows, default and palette colours, visible cursor.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 82,+ "ts": 1793612340.82,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "snapshot",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 1,+ 2+ ],+ "style": "styled",+ "ref": 1,+ "cut": false,+ "at": 1793612359.4,+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "$ pytest -q",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 1,+ "runs": [+ {+ "col": 0,+ "text": "> ",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ }+ ]+ }+ },+ "bin_hex": "5643010101005200000000000000840028000100020002000000010000000b00000000000000000000000b002420707974657374202d7101000100000002000200000100000000010002003e20"+ },+ {+ "name": "snapshot_empty_hidden_cursor",+ "description": "A cut 240 x 60 plain snapshot with no rows and the cursor hidden.",+ "ref": 2,+ "frame": {+ "type": "screens.frame",+ "seq": 83,+ "ts": 1793612340.83,+ "data": {+ "pane_id": "ws_91:T2",+ "kind": "snapshot",+ "cols": 240,+ "rows": 60,+ "cursor": [+ -1,+ -1+ ],+ "style": "plain",+ "ref": 2,+ "cut": true,+ "at": null,+ "rows_changed": []+ }+ },+ "bin_hex": "5643010102005300000000000000f0003c00ffffffff0000"+ },+ {+ "name": "all_attributes",+ "description": "One run per attribute bit, then every bit except wide at once.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 92,+ "ts": 1793612340.92,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 5,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 4,+ "runs": [+ {+ "col": 0,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "bold"+ ]+ },+ {+ "col": 2,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "dim"+ ]+ },+ {+ "col": 4,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "italic"+ ]+ },+ {+ "col": 6,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "underline"+ ]+ },+ {+ "col": 8,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "inverse"+ ]+ },+ {+ "col": 10,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "strikethrough"+ ]+ },+ {+ "col": 12,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "invisible"+ ]+ },+ {+ "col": 14,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "blink"+ ]+ },+ {+ "col": 20,+ "text": "all",+ "fg": null,+ "bg": null,+ "attrs": [+ "bold",+ "dim",+ "italic",+ "underline",+ "inverse",+ "strikethrough",+ "invisible",+ "blink"+ ]+ }+ ]+ }+ ]+ },+ "base": 91+ },+ "bin_hex": "5643010201005c0000005b0000005000180005000000010004000900000001000000000000000000010001006102000100000000000000000002000100610400010000000000000000000400010061060001000000000000000000080001006108000100000000000000000010000100610a000100000000000000000020000100610c000100000000000000000040000100610e00010000000000000000008000010061140003000000000000000000ff000300616c6c"+ },+ {+ "name": "colours",+ "description": "Default, palette 0, 15, 16, 231, 255 and RGB extremes on fg and bg.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 93,+ "ts": 1793612340.93,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 0,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "d",+ "fg": null,+ "bg": null,+ "attrs": []+ },+ {+ "col": 1,+ "text": "p",+ "fg": {+ "i": 0+ },+ "bg": {+ "i": 15+ },+ "attrs": []+ },+ {+ "col": 2,+ "text": "q",+ "fg": {+ "i": 16+ },+ "bg": {+ "i": 231+ },+ "attrs": []+ },+ {+ "col": 3,+ "text": "r",+ "fg": {+ "i": 255+ },+ "bg": null,+ "attrs": []+ },+ {+ "col": 4,+ "text": "k",+ "fg": "#000000",+ "bg": "#ffffff",+ "attrs": []+ },+ {+ "col": 5,+ "text": "o",+ "fg": "#e3242b",+ "bg": "#0a0b0c",+ "attrs": [+ "inverse"+ ]+ }+ ]+ }+ ]+ },+ "base": 92+ },+ "bin_hex": "5643010201005d0000005c0000005000180000000000010000000600000001000000000000000000000001006401000100000000010f00000100000100700200010010000001e7000001000001007103000100ff0000010000000000000100720400010000000002ffffff02000001006b050001002b24e3020c0b0a02100001006f"+ },+ {+ "name": "wide_glyphs",+ "description": "Wide CJK glyphs: three clusters, six columns, then a narrow run after them.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 94,+ "ts": 1793612340.94,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 2,+ 8+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 2,+ "runs": [+ {+ "col": 0,+ "text": "> ",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ },+ {+ "col": 2,+ "text": "漢字仮",+ "fg": null,+ "bg": null,+ "attrs": [+ "wide"+ ]+ },+ {+ "col": 8,+ "text": "ok",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ },+ "base": 93+ },+ "bin_hex": "5643010201005e0000005d0000005000180002000800010002000300000002000200000100000000000002003e2002000300000000000000000000010900e6bca2e5ad97e4bbae080002000000000000000000000002006f6b"+ },+ {+ "name": "grapheme_clusters",+ "description": "A combining accent and a joined emoji: byte count differs from cell count.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 95,+ "ts": 1793612340.95,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 3,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 3,+ "runs": [+ {+ "col": 0,+ "text": "café",+ "fg": null,+ "bg": null,+ "attrs": []+ },+ {+ "col": 4,+ "text": " ",+ "fg": null,+ "bg": null,+ "attrs": []+ },+ {+ "col": 5,+ "text": "🧑🔧",+ "fg": null,+ "bg": null,+ "attrs": [+ "wide"+ ]+ }+ ]+ }+ ]+ },+ "base": 94+ },+ "bin_hex": "5643010201005f0000005e00000050001800030000000100030003000000040000000000000000000000060063616665cc81040001000000000000000000000001002005000100000000000000000000010b00f09fa791e2808df09f94a7"+ },+ {+ "name": "cleared_rows",+ "description": "A delta that blanks two rows (row records with no runs) and writes a third.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 96,+ "ts": 1793612340.96,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 12,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 10,+ "runs": []+ },+ {+ "row": 11,+ "runs": []+ },+ {+ "row": 12,+ "runs": [+ {+ "col": 120,+ "text": "right edge",+ "fg": null,+ "bg": {+ "i": 4+ },+ "attrs": [+ "underline"+ ]+ }+ ]+ }+ ]+ },+ "base": 95+ },+ "bin_hex": "564301020100600000005f000000840028000c00000003000a0000000b0000000c00010078000a00000000000400000108000a0072696768742065646765"+ },+ {+ "name": "last_cell",+ "description": "A one-cell run in the last column of the largest grid; ref 8, high seq.",+ "ref": 8,+ "frame": {+ "type": "screens.frame",+ "seq": 4294967295,+ "ts": 1836562012.95,+ "data": {+ "pane_id": "ws_91:T9",+ "kind": "delta",+ "cols": 240,+ "rows": 60,+ "cursor": [+ 59,+ 239+ ],+ "style": "plain",+ "rows_changed": [+ {+ "row": 59,+ "runs": [+ {+ "col": 239,+ "text": "#",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ },+ "base": 4294967290+ },+ "bin_hex": "564301020800fffffffffafffffff0003c003b00ef0001003b000100ef00010000000000000000000000010023"+ },+ {+ "name": "snapshot_full_screen",+ "description": "A full 132 x 40 snapshot, every row filled, 16 palette colours.",+ "ref": 3,+ "frame": {+ "type": "screens.frame",+ "seq": 97,+ "ts": 1793612340.97,+ "data": {+ "pane_id": "ws_91:T3",+ "kind": "snapshot",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 39,+ 131+ ],+ "style": "styled",+ "ref": 3,+ "cut": false,+ "at": 1793612370.0,+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "line 00 ========================================================================================================================",+ "fg": {+ "i": 0+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 1,+ "runs": [+ {+ "col": 0,+ "text": "line 01 ========================================================================================================================",+ "fg": {+ "i": 1+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 2,+ "runs": [+ {+ "col": 0,+ "text": "line 02 ========================================================================================================================",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 3,+ "runs": [+ {+ "col": 0,+ "text": "line 03 ========================================================================================================================",+ "fg": {+ "i": 3+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 4,+ "runs": [+ {+ "col": 0,+ "text": "line 04 ========================================================================================================================",+ "fg": {+ "i": 4+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 5,+ "runs": [+ {+ "col": 0,+ "text": "line 05 ========================================================================================================================",+ "fg": {+ "i": 5+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 6,+ "runs": [+ {+ "col": 0,+ "text": "line 06 ========================================================================================================================",+ "fg": {+ "i": 6+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 7,+ "runs": [+ {+ "col": 0,+ "text": "line 07 ========================================================================================================================",+ "fg": {+ "i": 7+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 8,+ "runs": [+ {+ "col": 0,+ "text": "line 08 ========================================================================================================================",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 9,+ "runs": [+ {+ "col": 0,+ "text": "line 09 ========================================================================================================================",+ "fg": {+ "i": 9+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 10,+ "runs": [+ {+ "col": 0,+ "text": "line 10 ========================================================================================================================",+ "fg": {+ "i": 10+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 11,+ "runs": [+ {+ "col": 0,+ "text": "line 11 ========================================================================================================================",+ "fg": {+ "i": 11+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 12,+ "runs": [+ {+ "col": 0,+ "text": "line 12 ========================================================================================================================",+ "fg": {+ "i": 12+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 13,+ "runs": [+ {+ "col": 0,+ "text": "line 13 ========================================================================================================================",+ "fg": {+ "i": 13+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 14,+ "runs": [+ {+ "col": 0,+ "text": "line 14 ========================================================================================================================",+ "fg": {+ "i": 14+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 15,+ "runs": [+ {+ "col": 0,+ "text": "line 15 ========================================================================================================================",+ "fg": {+ "i": 15+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 16,+ "runs": [+ {+ "col": 0,+ "text": "line 16 ========================================================================================================================",+ "fg": {+ "i": 0+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 17,+ "runs": [+ {+ "col": 0,+ "text": "line 17 ========================================================================================================================",+ "fg": {+ "i": 1+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 18,+ "runs": [+ {+ "col": 0,+ "text": "line 18 ========================================================================================================================",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 19,+ "runs": [+ {+ "col": 0,+ "text": "line 19 ========================================================================================================================",+ "fg": {+ "i": 3+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 20,+ "runs": [+ {+ "col": 0,+ "text": "line 20 ========================================================================================================================",+ "fg": {+ "i": 4+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 21,+ "runs": [+ {+ "col": 0,+ "text": "line 21 ========================================================================================================================",+ "fg": {+ "i": 5+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 22,+ "runs": [+ {+ "col": 0,+ "text": "line 22 ========================================================================================================================",+ "fg": {+ "i": 6+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 23,+ "runs": [+ {+ "col": 0,+ "text": "line 23 ========================================================================================================================",+ "fg": {+ "i": 7+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 24,+ "runs": [+ {+ "col": 0,+ "text": "line 24 ========================================================================================================================",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 25,+ "runs": [+ {+ "col": 0,+ "text": "line 25 ========================================================================================================================",+ "fg": {+ "i": 9+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 26,+ "runs": [+ {+ "col": 0,+ "text": "line 26 ========================================================================================================================",+ "fg": {+ "i": 10+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 27,+ "runs": [+ {+ "col": 0,+ "text": "line 27 ========================================================================================================================",+ "fg": {+ "i": 11+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 28,+ "runs": [+ {+ "col": 0,+ "text": "line 28 ========================================================================================================================",+ "fg": {+ "i": 12+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 29,+ "runs": [+ {+ "col": 0,+ "text": "line 29 ========================================================================================================================",+ "fg": {+ "i": 13+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 30,+ "runs": [+ {+ "col": 0,+ "text": "line 30 ========================================================================================================================",+ "fg": {+ "i": 14+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 31,+ "runs": [+ {+ "col": 0,+ "text": "line 31 ========================================================================================================================",+ "fg": {+ "i": 15+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 32,+ "runs": [+ {+ "col": 0,+ "text": "line 32 ========================================================================================================================",+ "fg": {+ "i": 0+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 33,+ "runs": [+ {+ "col": 0,+ "text": "line 33 ========================================================================================================================",+ "fg": {+ "i": 1+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 34,+ "runs": [+ {+ "col": 0,+ "text": "line 34 ========================================================================================================================",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 35,+ "runs": [+ {+ "col": 0,+ "text": "line 35 ========================================================================================================================",+ "fg": {+ "i": 3+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 36,+ "runs": [+ {+ "col": 0,+ "text": "line 36 ========================================================================================================================",+ "fg": {+ "i": 4+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 37,+ "runs": [+ {+ "col": 0,+ "text": "line 37 ========================================================================================================================",+ "fg": {+ "i": 5+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 38,+ "runs": [+ {+ "col": 0,+ "text": "line 38 ========================================================================================================================",+ "fg": {+ "i": 6+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 39,+ "runs": [+ {+ "col": 0,+ "text": "line 39 ========================================================================================================================",+ "fg": {+ "i": 7+ },+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ }+ },+ "bin_hex": "56430101030061000000000000008400280027008300280000000100000080000000000100000000010080006c696e65203030203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d01000100000080000100000100000000000080006c696e65203031203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d02000100000080000200000100000000000080006c696e65203032203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d03000100000080000300000100000000000080006c696e65203033203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d04000100000080000400000100000000000080006c696e65203034203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d05000100000080000500000100000000010080006c696e65203035203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d06000100000080000600000100000000000080006c696e65203036203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d07000100000080000700000100000000000080006c696e65203037203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d08000100000080000800000100000000000080006c696e65203038203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d09000100000080000900000100000000000080006c696e65203039203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0a000100000080000a00000100000000010080006c696e65203130203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0b000100000080000b00000100000000000080006c696e65203131203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0c000100000080000c00000100000000000080006c696e65203132203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0d000100000080000d00000100000000000080006c696e65203133203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0e000100000080000e00000100000000000080006c696e65203134203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0f000100000080000f00000100000000010080006c696e65203135203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d10000100000080000000000100000000000080006c696e65203136203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d11000100000080000100000100000000000080006c696e65203137203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d12000100000080000200000100000000000080006c696e65203138203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d13000100000080000300000100000000000080006c696e65203139203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d14000100000080000400000100000000010080006c696e65203230203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d15000100000080000500000100000000000080006c696e65203231203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d16000100000080000600000100000000000080006c696e65203232203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d17000100000080000700000100000000000080006c696e65203233203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d18000100000080000800000100000000000080006c696e65203234203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d19000100000080000900000100000000010080006c696e65203235203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1a000100000080000a00000100000000000080006c696e65203236203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1b000100000080000b00000100000000000080006c696e65203237203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1c000100000080000c00000100000000000080006c696e65203238203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1d000100000080000d00000100000000000080006c696e65203239203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1e000100000080000e00000100000000010080006c696e65203330203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1f000100000080000f00000100000000000080006c696e65203331203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d20000100000080000000000100000000000080006c696e65203332203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d21000100000080000100000100000000000080006c696e65203333203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d22000100000080000200000100000000000080006c696e65203334203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d23000100000080000300000100000000010080006c696e65203335203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d24000100000080000400000100000000000080006c696e65203336203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d25000100000080000500000100000000000080006c696e65203337203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d26000100000080000600000100000000000080006c696e65203338203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d27000100000080000700000100000000000080006c696e65203339203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d"+ }+ ],+ "invalid": [+ {+ "name": "short_header",+ "reason": "shorter than the 24-byte header",+ "bin_hex": "5643010201005b00000058000000840028002700"+ },+ {+ "name": "bad_magic",+ "reason": "magic is not VC",+ "bin_hex": "5658010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "bad_version",+ "reason": "format version 2",+ "bin_hex": "5643020201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "bad_kind",+ "reason": "kind 3",+ "bin_hex": "5643010301005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "truncated_run",+ "reason": "run text cut off",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028"+ },+ {+ "name": "trailing_bytes",+ "reason": "bytes after the last row record",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e000500080000010000000000000500202834322900"+ },+ {+ "name": "cell_count_mismatch",+ "reason": "run says 15 cells but holds 14",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000f006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "bad_colour_mode",+ "reason": "colour mode 3",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e00000000030000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "snapshot_with_base",+ "reason": "snapshot carries a non-zero base",+ "bin_hex": "5643010101005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ }+ ]+}diff --git a/tests/unit/verse_host/fixtures/bridge/messages/agent.create.json b/tests/unit/verse_host/fixtures/bridge/messages/agent.create.jsonnew file mode 100644index 0000000000..73cf418af3--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/agent.create.json@@ -0,0 +1,21 @@+[+ {+ "type": "agent.create",+ "id": "c-66",+ "ts": 1793612594.0,+ "data": {+ "name": "Ilka",+ "title": "Test writer",+ "figure": {+ "archetype": "pilot",+ "palette": "oxide"+ }+ }+ },+ {+ "type": "agent.create",+ "id": "c-67",+ "ts": 1793612600.0,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/agent.open.json b/tests/unit/verse_host/fixtures/bridge/messages/agent.open.jsonnew file mode 100644index 0000000000..0bfdfc4227--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/agent.open.json@@ -0,0 +1,10 @@+[+ {+ "type": "agent.open",+ "id": "c-64",+ "ts": 1793612592.0,+ "data": {+ "agent_id": "ag_7f1"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/agents.open_list.json b/tests/unit/verse_host/fixtures/bridge/messages/agents.open_list.jsonnew file mode 100644index 0000000000..e20b09e086--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/agents.open_list.json@@ -0,0 +1,8 @@+[+ {+ "type": "agents.open_list",+ "id": "c-73",+ "ts": 1793612602.0,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/chat_tails.update.json b/tests/unit/verse_host/fixtures/bridge/messages/chat_tails.update.jsonnew file mode 100644index 0000000000..700b1626b5--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/chat_tails.update.json@@ -0,0 +1,54 @@+[+ {+ "type": "chat_tails.update",+ "seq": 120,+ "ts": 1793612372.6,+ "data": {+ "agent_id": "ag_7f1",+ "version": "evt_01J…",+ "lines": [+ {+ "kind": "user",+ "text": "Check the retry window."+ },+ {+ "kind": "tool",+ "text": "Read login.py"+ },+ {+ "kind": "agent",+ "text": "The retry waits 30 s; I changed it to back off."+ }+ ]+ }+ },+ {+ "type": "chat_tails.update",+ "seq": 121,+ "ts": 1793612372.7,+ "data": {+ "agent_id": "ag_02c",+ "version": "",+ "lines": []+ }+ },+ {+ "type": "chat_tails.update",+ "seq": 122,+ "ts": 1793612375.0,+ "data": {+ "agent_id": "ag_02c",+ "version": "evt_01K2",+ "lines": [+ {+ "kind": "notice",+ "text": "Session resumed."+ },+ {+ "kind": "error",+ "text": "The build step timed out."+ }+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/chat_tails.watch.json b/tests/unit/verse_host/fixtures/bridge/messages/chat_tails.watch.jsonnew file mode 100644index 0000000000..1bd8c78bb6--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/chat_tails.watch.json@@ -0,0 +1,13 @@+[+ {+ "type": "chat_tails.watch",+ "id": "c-41",+ "ts": 1793612370.0,+ "data": {+ "agents": [+ "ag_7f1",+ "ag_02c"+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/companion.snapshot.json b/tests/unit/verse_host/fixtures/bridge/messages/companion.snapshot.jsonnew file mode 100644index 0000000000..27e4c0c0fe--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/companion.snapshot.json@@ -0,0 +1,12 @@+[+ {+ "type": "companion.snapshot",+ "seq": 16,+ "ts": 1793612340.7,+ "data": {+ "pet_id": "drone",+ "look": "drone_brass",+ "style": "overlay"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/companion.update.json b/tests/unit/verse_host/fixtures/bridge/messages/companion.update.jsonnew file mode 100644index 0000000000..0634459518--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/companion.update.json@@ -0,0 +1,12 @@+[+ {+ "type": "companion.update",+ "seq": 160,+ "ts": 1793612611.0,+ "data": {+ "pet_id": null,+ "look": "",+ "style": "hidden"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/duel.result.json b/tests/unit/verse_host/fixtures/bridge/messages/duel.result.jsonnew file mode 100644index 0000000000..2126b29160--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/duel.result.json@@ -0,0 +1,108 @@+[+ {+ "type": "duel.result",+ "id": "c-60",+ "ts": 1793612500.0,+ "data": {+ "match_id": "m_01JD…",+ "session_id": "s_01JD…",+ "set_index": 3,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "hard",+ "adaptive": false+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612500.0,+ "match_time_s": 296.4,+ "end_reason": "set_complete",+ "outcome": "won",+ "score": {+ "player": 10,+ "opponent": 7+ },+ "stats": {+ "kills": 10,+ "deaths": 7,+ "headshots": 4,+ "finishers": 1,+ "melee_kills": 1,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 4+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 8,+ "headshots": 4,+ "shots_fired": 410,+ "shots_hit": 152+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ },+ {+ "type": "duel.result",+ "id": "c-61",+ "ts": 1793612541.0,+ "data": {+ "match_id": "m_01JE0002",+ "session_id": "s_01JD…",+ "set_index": 4,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "elite",+ "adaptive": true+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612541.0,+ "match_time_s": 41.0,+ "end_reason": "player_left",+ "outcome": "unfinished",+ "score": {+ "player": 2,+ "opponent": 3+ },+ "stats": {+ "kills": 2,+ "deaths": 3,+ "headshots": 1,+ "finishers": 0,+ "melee_kills": 0,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 1+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 2,+ "headshots": 1,+ "shots_fired": 80,+ "shots_hit": 30+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/focus.app_took.json b/tests/unit/verse_host/fixtures/bridge/messages/focus.app_took.jsonnew file mode 100644index 0000000000..773d7eb600--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/focus.app_took.json@@ -0,0 +1,8 @@+[+ {+ "type": "focus.app_took",+ "seq": 213,+ "ts": 1793612713.0,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/focus.return_to_app.json b/tests/unit/verse_host/fixtures/bridge/messages/focus.return_to_app.jsonnew file mode 100644index 0000000000..60aae18d97--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/focus.return_to_app.json@@ -0,0 +1,9 @@+[+ {+ "type": "focus.return_to_app",+ "ts": 1793612716.0,+ "data": {+ "reason": "return_key"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/gpu.free.json b/tests/unit/verse_host/fixtures/bridge/messages/gpu.free.jsonnew file mode 100644index 0000000000..2274980e59--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/gpu.free.json@@ -0,0 +1,10 @@+[+ {+ "type": "gpu.free",+ "seq": 210,+ "ts": 1793612710.0,+ "data": {+ "by": "blender_cook"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/gpu.yield.json b/tests/unit/verse_host/fixtures/bridge/messages/gpu.yield.jsonnew file mode 100644index 0000000000..da8b3412cc--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/gpu.yield.json@@ -0,0 +1,10 @@+[+ {+ "type": "gpu.yield",+ "seq": 209,+ "ts": 1793612709.0,+ "data": {+ "by": "blender_cook"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/group.open.json b/tests/unit/verse_host/fixtures/bridge/messages/group.open.jsonnew file mode 100644index 0000000000..9554137b41--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/group.open.json@@ -0,0 +1,10 @@+[+ {+ "type": "group.open",+ "id": "c-74",+ "ts": 1793612603.0,+ "data": {+ "group_id": "grp_a"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/groups.delta.json b/tests/unit/verse_host/fixtures/bridge/messages/groups.delta.jsonnew file mode 100644index 0000000000..283642fc51--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/groups.delta.json@@ -0,0 +1,23 @@+[+ {+ "type": "groups.delta",+ "seq": 135,+ "base": 14,+ "ts": 1793612381.0,+ "data": {+ "upsert": {+ "groups": [+ {+ "group_id": "grp_a",+ "goal": null+ }+ ]+ },+ "remove": {+ "groups": [+ "grp_b"+ ]+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/groups.snapshot.json b/tests/unit/verse_host/fixtures/bridge/messages/groups.snapshot.jsonnew file mode 100644index 0000000000..225049d825--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/groups.snapshot.json@@ -0,0 +1,24 @@+[+ {+ "type": "groups.snapshot",+ "seq": 14,+ "ts": 1793612340.5,+ "data": {+ "groups": [+ {+ "group_id": "grp_a",+ "name": "Release crew",+ "members": [+ "ag_7f1",+ "ag_02c"+ ],+ "lead": "ag_02c",+ "goal": {+ "goal_id": "g_9",+ "state": "running"+ }+ }+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/hello.json b/tests/unit/verse_host/fixtures/bridge/messages/hello.jsonnew file mode 100644index 0000000000..3155a5f51d--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/hello.json@@ -0,0 +1,53 @@+[+ {+ "type": "hello",+ "ts": 1793612340.0,+ "data": {+ "token": "b64url-43-chars",+ "protocols": [+ "verse.bridge/1"+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d",+ "config": "Shipping",+ "platform": "Win64"+ },+ "pid": 23144,+ "last_seq": 0,+ "encodings": {+ "screens": [+ "cells.bin/1",+ "cells.json/1"+ ]+ },+ "capabilities": {+ "panel_stream": true,+ "duel": true+ }+ }+ },+ {+ "type": "hello",+ "ts": 1793612400.0,+ "data": {+ "token": "fixture-token-not-a-secret-000000000000000",+ "protocols": [+ "verse.bridge/1"+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d",+ "config": "Development",+ "platform": "Linux"+ },+ "pid": 4120,+ "last_seq": 4182,+ "encodings": {+ "screens": [+ "cells.json/1"+ ]+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/ide.focus_terminal.json b/tests/unit/verse_host/fixtures/bridge/messages/ide.focus_terminal.jsonnew file mode 100644index 0000000000..09900d3e5f--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/ide.focus_terminal.json@@ -0,0 +1,10 @@+[+ {+ "type": "ide.focus_terminal",+ "id": "c-65",+ "ts": 1793612593.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/ide.open.json b/tests/unit/verse_host/fixtures/bridge/messages/ide.open.jsonnew file mode 100644index 0000000000..9043245658--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/ide.open.json@@ -0,0 +1,8 @@+[+ {+ "type": "ide.open",+ "id": "c-76",+ "ts": 1793612605.0,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/launcher.cancel.json b/tests/unit/verse_host/fixtures/bridge/messages/launcher.cancel.jsonnew file mode 100644index 0000000000..ba37f51bf4--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/launcher.cancel.json@@ -0,0 +1,8 @@+[+ {+ "type": "launcher.cancel",+ "id": "c-72",+ "ts": 1793612601.0,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/launcher.options.json b/tests/unit/verse_host/fixtures/bridge/messages/launcher.options.jsonnew file mode 100644index 0000000000..5a4cf041da--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/launcher.options.json@@ -0,0 +1,8 @@+[+ {+ "type": "launcher.options",+ "id": "c-70",+ "ts": 1793612599.0,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/launcher.start.json b/tests/unit/verse_host/fixtures/bridge/messages/launcher.start.jsonnew file mode 100644index 0000000000..54b3beda89--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/launcher.start.json@@ -0,0 +1,17 @@+[+ {+ "type": "launcher.start",+ "id": "c-71",+ "ts": 1793612600.0,+ "data": {+ "workspace_id": "ws_91",+ "agents": [+ {+ "agent": "claude",+ "count": 2+ }+ ],+ "brief": "Write the bridge relay tests."+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.bye.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.bye.jsonnew file mode 100644index 0000000000..0cc79374a2--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.bye.json@@ -0,0 +1,9 @@+[+ {+ "type": "lifecycle.bye",+ "ts": 1793612705.4,+ "data": {+ "saved": true+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.hide.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.hide.jsonnew file mode 100644index 0000000000..021022afd8--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.hide.json@@ -0,0 +1,10 @@+[+ {+ "type": "lifecycle.hide",+ "seq": 202,+ "ts": 1793612702.0,+ "data": {+ "reason": "app_focus"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.pause.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.pause.jsonnew file mode 100644index 0000000000..22e5fdf6ce--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.pause.json@@ -0,0 +1,10 @@+[+ {+ "type": "lifecycle.pause",+ "seq": 203,+ "ts": 1793612703.0,+ "data": {+ "reason": "screen_lock"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.quit.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.quit.jsonnew file mode 100644index 0000000000..8f9e610953--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.quit.json@@ -0,0 +1,11 @@+[+ {+ "type": "lifecycle.quit",+ "seq": 205,+ "ts": 1793612705.0,+ "data": {+ "reason": "app_quit",+ "deadline_ms": 3000+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.ready.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.ready.jsonnew file mode 100644index 0000000000..f087537911--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.ready.json@@ -0,0 +1,9 @@+[+ {+ "type": "lifecycle.ready",+ "ts": 1793612346.0,+ "data": {+ "first_frame_ms": 5230+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.resume.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.resume.jsonnew file mode 100644index 0000000000..24b792413d--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.resume.json@@ -0,0 +1,10 @@+[+ {+ "type": "lifecycle.resume",+ "seq": 204,+ "ts": 1793612704.0,+ "data": {+ "reason": "screen_unlock"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.show.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.show.jsonnew file mode 100644index 0000000000..a7420b08c9--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.show.json@@ -0,0 +1,33 @@+[+ {+ "type": "lifecycle.show",+ "seq": 200,+ "ts": 1793612700.0,+ "data": {+ "monitor": {+ "x": 0,+ "y": 0,+ "w": 2560,+ "h": 1440,+ "dpi": 1.25+ },+ "reason": "verse_view"+ }+ },+ {+ "type": "lifecycle.show",+ "seq": 201,+ "ts": 1793612701.0,+ "data": {+ "monitor": {+ "x": 1920,+ "y": 0,+ "w": 1920,+ "h": 1080,+ "dpi": 1.0+ },+ "reason": "quick_start_duel",+ "activation_token": "xdg-act-7d3f"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.state.json b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.state.jsonnew file mode 100644index 0000000000..9d45e74c19--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/lifecycle.state.json@@ -0,0 +1,20 @@+[+ {+ "type": "lifecycle.state",+ "ts": 1793612714.0,+ "data": {+ "state": "visible",+ "vram_mb": 3820,+ "fps": 118.5+ }+ },+ {+ "type": "lifecycle.state",+ "ts": 1793612715.0,+ "data": {+ "state": "dormant",+ "vram_mb": 1610,+ "fps": 2+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/log.json b/tests/unit/verse_host/fixtures/bridge/messages/log.jsonnew file mode 100644index 0000000000..6836c3bfe9--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/log.json@@ -0,0 +1,11 @@+[+ {+ "type": "log",+ "ts": 1793612720.0,+ "data": {+ "level": "warning",+ "category": "LogVerseBridge",+ "message": "Resync roster after a seq gap (expected 58, got 60)."+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/meeting.start.json b/tests/unit/verse_host/fixtures/bridge/messages/meeting.start.jsonnew file mode 100644index 0000000000..e9d9a193c4--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/meeting.start.json@@ -0,0 +1,11 @@+[+ {+ "type": "meeting.start",+ "id": "c-44",+ "ts": 1793612379.0,+ "data": {+ "group_id": "grp_a",+ "text": "Ship 4.2?"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/meeting.stop.json b/tests/unit/verse_host/fixtures/bridge/messages/meeting.stop.jsonnew file mode 100644index 0000000000..45c9784552--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/meeting.stop.json@@ -0,0 +1,10 @@+[+ {+ "type": "meeting.stop",+ "id": "c-45",+ "ts": 1793612400.0,+ "data": {+ "group_id": "grp_a"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/meetings.update.json b/tests/unit/verse_host/fixtures/bridge/messages/meetings.update.jsonnew file mode 100644index 0000000000..677eb8ba7b--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/meetings.update.json@@ -0,0 +1,47 @@+[+ {+ "type": "meetings.update",+ "seq": 133,+ "ts": 1793612380.0,+ "data": {+ "group_id": "grp_a",+ "running": true,+ "round": 2,+ "speaker": "ag_02c",+ "room": {+ "room_id": "room_44",+ "phase": "open",+ "topic": "Ship 4.2?",+ "rounds": 2,+ "max_rounds": 4+ },+ "messages": [+ {+ "id": "evt_01J…",+ "speaker": "ag_02c",+ "text": "Tests are green; docs lag."+ }+ ]+ }+ },+ {+ "type": "meetings.update",+ "seq": 150,+ "ts": 1793612420.0,+ "data": {+ "group_id": "grp_a",+ "running": false,+ "round": 4,+ "speaker": null,+ "room": {+ "room_id": "room_44",+ "phase": "settle",+ "topic": "Ship 4.2?",+ "rounds": 4,+ "max_rounds": 4+ },+ "messages": [],+ "reason": "consensus"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/pane.open.json b/tests/unit/verse_host/fixtures/bridge/messages/pane.open.jsonnew file mode 100644index 0000000000..df2ee4740c--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/pane.open.json@@ -0,0 +1,19 @@+[+ {+ "type": "pane.open",+ "id": "c-62",+ "ts": 1793612590.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ {+ "type": "pane.open",+ "id": "c-63",+ "ts": 1793612591.0,+ "data": {+ "pane_id": "ws_91:T1",+ "open": "changes"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/panel.resize.json b/tests/unit/verse_host/fixtures/bridge/messages/panel.resize.jsonnew file mode 100644index 0000000000..981995c5f5--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/panel.resize.json@@ -0,0 +1,12 @@+[+ {+ "type": "panel.resize",+ "seq": 208,+ "ts": 1793612708.0,+ "data": {+ "w": 560,+ "h": 360,+ "dpr": 1.5+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/panel.stream_state.json b/tests/unit/verse_host/fixtures/bridge/messages/panel.stream_state.jsonnew file mode 100644index 0000000000..9f67ef5c9d--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/panel.stream_state.json@@ -0,0 +1,17 @@+[+ {+ "type": "panel.stream_state",+ "ts": 1793612718.0,+ "data": {+ "state": "streaming"+ }+ },+ {+ "type": "panel.stream_state",+ "ts": 1793612719.0,+ "data": {+ "state": "failed",+ "error": "encoder_unavailable"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/panel.visibility.json b/tests/unit/verse_host/fixtures/bridge/messages/panel.visibility.jsonnew file mode 100644index 0000000000..3550be2cc1--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/panel.visibility.json@@ -0,0 +1,24 @@+[+ {+ "type": "panel.visibility",+ "seq": 206,+ "ts": 1793612706.0,+ "data": {+ "visible": true,+ "w": 480,+ "h": 320,+ "dpr": 1.5+ }+ },+ {+ "type": "panel.visibility",+ "seq": 207,+ "ts": 1793612707.0,+ "data": {+ "visible": false,+ "w": 0,+ "h": 0,+ "dpr": 1.5+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/ping.json b/tests/unit/verse_host/fixtures/bridge/messages/ping.jsonnew file mode 100644index 0000000000..3c4e634089--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/ping.json@@ -0,0 +1,7 @@+[+ {+ "type": "ping",+ "ts": 1793612341.0,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/pong.json b/tests/unit/verse_host/fixtures/bridge/messages/pong.jsonnew file mode 100644index 0000000000..700b0d6f19--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/pong.json@@ -0,0 +1,8 @@+[+ {+ "type": "pong",+ "seq": 2,+ "ts": 1793612341.01,+ "data": {}+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/progression.action.json b/tests/unit/verse_host/fixtures/bridge/messages/progression.action.jsonnew file mode 100644index 0000000000..82185cedf4--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/progression.action.json@@ -0,0 +1,20 @@+[+ {+ "type": "progression.action",+ "id": "c-52",+ "ts": 1793612395.0,+ "data": {+ "action": "inspection",+ "ref": "hangar"+ }+ },+ {+ "type": "progression.action",+ "id": "c-53",+ "ts": 1793612396.0,+ "data": {+ "action": "walk_together",+ "ref": ""+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/progression.awarded.json b/tests/unit/verse_host/fixtures/bridge/messages/progression.awarded.jsonnew file mode 100644index 0000000000..c311133f48--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/progression.awarded.json@@ -0,0 +1,42 @@+[+ {+ "type": "progression.awarded",+ "seq": 140,+ "ts": 1793612390.0,+ "data": {+ "seq": 903,+ "subject_id": "person",+ "subject_kind": "person",+ "xp_source": "duel_won",+ "xp": 40,+ "total_xp": 5270,+ "level": 14,+ "previous_level": 14,+ "title": "Lieutenant",+ "unlocked": [],+ "unlocked_looks": []+ }+ },+ {+ "type": "progression.awarded",+ "seq": 141,+ "ts": 1793612391.0,+ "data": {+ "seq": 904,+ "subject_id": "agent:ag_7f1",+ "subject_kind": "agent",+ "xp_source": "task_done",+ "xp": 40,+ "total_xp": 820,+ "level": 7,+ "previous_level": 6,+ "title": "Ensign",+ "unlocked": [+ "plate_line"+ ],+ "unlocked_looks": [+ "look_05"+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/progression.snapshot.json b/tests/unit/verse_host/fixtures/bridge/messages/progression.snapshot.jsonnew file mode 100644index 0000000000..fe783aeee1--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/progression.snapshot.json@@ -0,0 +1,51 @@+[+ {+ "type": "progression.snapshot",+ "seq": 15,+ "ts": 1793612340.6,+ "data": {+ "subjects": [+ {+ "subject_id": "person",+ "kind": "person",+ "level": 14,+ "total_xp": 5230,+ "into_level": 130,+ "for_next": 600,+ "title": "Lieutenant"+ }+ ],+ "pet_id": "drone",+ "latest_seq": 902,+ "told_seq": 897,+ "rulebook": {+ "ranks": [+ {+ "id": "recruit",+ "level": 1,+ "tier": "deck"+ }+ ],+ "rewards": [],+ "looks": [],+ "titles": {}+ },+ "duel_stats": {+ "matches": 12,+ "wins": 7,+ "losses": 5,+ "kills": 96,+ "deaths": 81,+ "headshots": 31,+ "finishers": 4,+ "best_streak": 6,+ "by_tier": {+ "hard": {+ "wins": 5,+ "losses": 3+ }+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/progression.told.json b/tests/unit/verse_host/fixtures/bridge/messages/progression.told.jsonnew file mode 100644index 0000000000..3e80df0a63--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/progression.told.json@@ -0,0 +1,10 @@+[+ {+ "type": "progression.told",+ "id": "c-54",+ "ts": 1793612396.5,+ "data": {+ "seq": 903+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/qa.exec.json b/tests/unit/verse_host/fixtures/bridge/messages/qa.exec.jsonnew file mode 100644index 0000000000..3ed9075313--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/qa.exec.json@@ -0,0 +1,23 @@+[+ {+ "type": "qa.exec",+ "id": "c-79",+ "ts": 1793612608.0,+ "data": {+ "command": "Verse.QA.Stats",+ "args": []+ }+ },+ {+ "type": "qa.exec",+ "id": "c-80",+ "ts": 1793612609.0,+ "data": {+ "command": "Verse.QA.SetDuty",+ "args": [+ "ag_7f1",+ "error"+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/reply.json b/tests/unit/verse_host/fixtures/bridge/messages/reply.jsonnew file mode 100644index 0000000000..33a7d50c1a--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/reply.json@@ -0,0 +1,25 @@+[+ {+ "type": "reply",+ "seq": 4190,+ "ts": 1793612345.5,+ "re": "c-17",+ "data": {+ "ok": true,+ "result": {}+ }+ },+ {+ "type": "reply",+ "seq": 4191,+ "ts": 1793612345.6,+ "re": "c-18",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Pane is gone."+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/resync.json b/tests/unit/verse_host/fixtures/bridge/messages/resync.jsonnew file mode 100644index 0000000000..29a45cdf38--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/resync.json@@ -0,0 +1,19 @@+[+ {+ "type": "resync",+ "id": "c-9",+ "ts": 1793612399.0,+ "data": {+ "topic": "roster"+ }+ },+ {+ "type": "resync",+ "id": "c-10",+ "ts": 1793612399.5,+ "data": {+ "topic": "screens",+ "pane_id": "ws_91:T1"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/roster.delta.json b/tests/unit/verse_host/fixtures/bridge/messages/roster.delta.jsonnew file mode 100644index 0000000000..1685071251--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/roster.delta.json@@ -0,0 +1,60 @@+[+ {+ "type": "roster.delta",+ "seq": 57,+ "base": 49,+ "ts": 1793612351.0,+ "data": {+ "upsert": {+ "agents": [+ {+ "agent_id": "ag_7f1",+ "run_state": "working",+ "duty": "working",+ "waiting_reason": null+ }+ ],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "activity": "waiting",+ "duty": "waiting",+ "activity_since": 1793612350.8+ }+ ]+ },+ "remove": {+ "agents": [],+ "panes": [+ "ws_91:T3"+ ]+ },+ "commander": null+ }+ },+ {+ "type": "roster.delta",+ "seq": 58,+ "base": 57,+ "ts": 1793612352.0,+ "data": {+ "upsert": {+ "agents": [],+ "panes": []+ },+ "remove": {+ "agents": [+ "ag_7f1"+ ],+ "panes": []+ },+ "commander": {+ "subject_id": "person",+ "level": 15,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/roster.snapshot.json b/tests/unit/verse_host/fixtures/bridge/messages/roster.snapshot.jsonnew file mode 100644index 0000000000..8c5c4b2ff9--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/roster.snapshot.json@@ -0,0 +1,75 @@+[+ {+ "type": "roster.snapshot",+ "seq": 12,+ "ts": 1793612340.4,+ "data": {+ "commander": {+ "subject_id": "person",+ "level": 14,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ },+ "agents": [+ {+ "agent_id": "ag_7f1",+ "name": "Mara",+ "title": "Research scout",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "waiting",+ "waiting_reason": "question",+ "duty": "waiting",+ "level": 6,+ "rank": "ensign",+ "look": "look_02",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [+ "grp_a"+ ],+ "pane": null+ }+ ],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "workspace_id": "ws_91",+ "key": "T1",+ "history_id": "h_55",+ "name": "T1",+ "display_name": "Claude Code",+ "agent": "claude",+ "title": "Fix the login retry",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612301.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ }+ ]+ }+ },+ {+ "type": "roster.snapshot",+ "seq": 3,+ "ts": 1793612340.4,+ "data": {+ "commander": {+ "subject_id": "person",+ "level": 1,+ "rank": "recruit",+ "title": "Recruit",+ "uniform": "standard"+ },+ "agents": [],+ "panes": []+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/screens.frame.json b/tests/unit/verse_host/fixtures/bridge/messages/screens.frame.jsonnew file mode 100644index 0000000000..d41470c406--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/screens.frame.json@@ -0,0 +1,113 @@+[+ {+ "type": "screens.frame",+ "seq": 91,+ "base": 88,+ "ts": 1793612361.2,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 39,+ 2+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 38,+ "runs": [+ {+ "col": 0,+ "text": "✔ tests passed",+ "fg": "#4fb86a",+ "bg": null,+ "attrs": [+ "bold"+ ]+ },+ {+ "col": 14,+ "text": " (42)",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ }+ },+ {+ "type": "screens.frame",+ "seq": 82,+ "ts": 1793612360.03,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "snapshot",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 1,+ 2+ ],+ "style": "styled",+ "ref": 1,+ "cut": false,+ "at": 1793612359.4,+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "$ pytest -q",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 1,+ "runs": [+ {+ "col": 0,+ "text": "> ",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ }+ ]+ }+ },+ {+ "type": "screens.frame",+ "seq": 83,+ "ts": 1793612360.05,+ "data": {+ "pane_id": "ws_91:T2",+ "kind": "snapshot",+ "cols": 240,+ "rows": 60,+ "cursor": [+ -1,+ -1+ ],+ "style": "plain",+ "ref": 2,+ "cut": true,+ "at": null,+ "rows_changed": []+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/screens.gone.json b/tests/unit/verse_host/fixtures/bridge/messages/screens.gone.jsonnew file mode 100644index 0000000000..a80d95da7d--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/screens.gone.json@@ -0,0 +1,11 @@+[+ {+ "type": "screens.gone",+ "seq": 140,+ "ts": 1793612390.0,+ "data": {+ "pane_id": "ws_91:T2",+ "reason": "exited"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/screens.meta.json b/tests/unit/verse_host/fixtures/bridge/messages/screens.meta.jsonnew file mode 100644index 0000000000..812934386a--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/screens.meta.json@@ -0,0 +1,16 @@+[+ {+ "type": "screens.meta",+ "seq": 81,+ "ts": 1793612360.02,+ "data": {+ "pane_id": "ws_91:T1",+ "ref": 1,+ "cols": 132,+ "rows": 40,+ "style": "styled",+ "cut": false,+ "at": 1793612359.4+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/screens.watch.json b/tests/unit/verse_host/fixtures/bridge/messages/screens.watch.jsonnew file mode 100644index 0000000000..bbe509631c--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/screens.watch.json@@ -0,0 +1,19 @@+[+ {+ "type": "screens.watch",+ "id": "c-30",+ "ts": 1793612360.0,+ "data": {+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T2",+ "hz": 2+ }+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/settings.changed.json b/tests/unit/verse_host/fixtures/bridge/messages/settings.changed.jsonnew file mode 100644index 0000000000..46da3c94aa--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/settings.changed.json@@ -0,0 +1,23 @@+[+ {+ "type": "settings.changed",+ "seq": 211,+ "ts": 1793612711.0,+ "data": {+ "gore": "reduced"+ }+ },+ {+ "type": "settings.changed",+ "seq": 212,+ "ts": 1793612712.0,+ "data": {+ "lang": "en",+ "strings": {+ "verse.ranks.duty.working": "On watch"+ },+ "return_key": "F9",+ "reduced_motion": true+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/settings.set.json b/tests/unit/verse_host/fixtures/bridge/messages/settings.set.jsonnew file mode 100644index 0000000000..cc28c25d26--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/settings.set.json@@ -0,0 +1,23 @@+[+ {+ "type": "settings.set",+ "id": "c-77",+ "ts": 1793612606.0,+ "data": {+ "gore": "reduced"+ }+ },+ {+ "type": "settings.set",+ "id": "c-78",+ "ts": 1793612607.0,+ "data": {+ "uniform": "dress",+ "view": {+ "mode": "first",+ "fov_first": 90,+ "quality": "high"+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/simulator.open.json b/tests/unit/verse_host/fixtures/bridge/messages/simulator.open.jsonnew file mode 100644index 0000000000..6825bf331a--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/simulator.open.json@@ -0,0 +1,10 @@+[+ {+ "type": "simulator.open",+ "id": "c-75",+ "ts": 1793612604.0,+ "data": {+ "programme": "asteroid-run"+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/subscribe.json b/tests/unit/verse_host/fixtures/bridge/messages/subscribe.jsonnew file mode 100644index 0000000000..d1ec6ba395--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/subscribe.json@@ -0,0 +1,16 @@+[+ {+ "type": "subscribe",+ "id": "c-1",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "roster",+ "panes",+ "progression",+ "meetings",+ "groups"+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/unsubscribe.json b/tests/unit/verse_host/fixtures/bridge/messages/unsubscribe.jsonnew file mode 100644index 0000000000..52eb7229dc--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/unsubscribe.json@@ -0,0 +1,12 @@+[+ {+ "type": "unsubscribe",+ "id": "c-8",+ "ts": 1793612398.0,+ "data": {+ "topics": [+ "meetings"+ ]+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/welcome.json b/tests/unit/verse_host/fixtures/bridge/messages/welcome.jsonnew file mode 100644index 0000000000..6dd890e92b--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/welcome.json@@ -0,0 +1,142 @@+[+ {+ "type": "welcome",+ "seq": 1,+ "ts": 1793612340.1,+ "data": {+ "protocol": "verse.bridge/1",+ "app_version": "4.1.1",+ "app_pid": 9120,+ "session": "vb-3f2c",+ "features": [+ "roster",+ "panes",+ "screens",+ "chat_tails",+ "meetings",+ "groups",+ "progression",+ "duel_stats",+ "companion",+ "lifecycle",+ "panel"+ ],+ "encoding": {+ "screens": "cells.bin/1"+ },+ "limits": {+ "screens_max_panes": 8,+ "screens_max_rows": 60,+ "screens_max_cols": 240,+ "screens_max_hz": 10,+ "chat_tails_max_agents": 6,+ "chat_tail_lines": 12+ },+ "locale": {+ "lang": "en",+ "fallback": "en",+ "strings": {+ "verse.ranks.duty.working": "On duty"+ }+ },+ "settings": {+ "gore": "full",+ "reduced_motion": false,+ "return_key": "F10",+ "ui_sound": true,+ "level_sound": true,+ "uniform": "standard",+ "view": {+ "mode": "third",+ "sensitivity": 1.0,+ "invert_y": false,+ "fov_third": 70,+ "fov_first": 85,+ "quality": "auto",+ "volume": 0.7+ }+ },+ "decks": [+ "bridge",+ "ops",+ "engineering",+ "hangar"+ ],+ "state": {+ "visibility": "visible",+ "panel": "hidden",+ "gpu": "free"+ }+ }+ },+ {+ "type": "welcome",+ "seq": 1,+ "ts": 1793612340.1,+ "data": {+ "protocol": "verse.bridge/1",+ "app_version": "4.1.1",+ "app_pid": 9120,+ "session": "vb-9a01",+ "features": [+ "roster",+ "panes",+ "screens",+ "chat_tails",+ "meetings",+ "groups",+ "progression",+ "duel_stats",+ "companion",+ "lifecycle",+ "panel"+ ],+ "encoding": {+ "screens": "cells.json/1"+ },+ "limits": {+ "screens_max_panes": 8,+ "screens_max_rows": 60,+ "screens_max_cols": 240,+ "screens_max_hz": 10,+ "chat_tails_max_agents": 6,+ "chat_tail_lines": 12+ },+ "locale": {+ "lang": "en",+ "fallback": "en",+ "strings": {+ "verse.ranks.duty.working": "On duty"+ }+ },+ "settings": {+ "gore": "reduced",+ "reduced_motion": false,+ "return_key": "F10",+ "ui_sound": true,+ "level_sound": true,+ "uniform": "standard",+ "view": {+ "mode": "third",+ "sensitivity": 1.0,+ "invert_y": false,+ "fov_third": 70,+ "fov_first": 85,+ "quality": "auto",+ "volume": 0.7+ }+ },+ "decks": [+ "bridge",+ "ops",+ "engineering",+ "hangar"+ ],+ "state": {+ "visibility": "hidden",+ "panel": "visible",+ "gpu": "yield"+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/messages/window.state.json b/tests/unit/verse_host/fixtures/bridge/messages/window.state.jsonnew file mode 100644index 0000000000..174b01472e--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/messages/window.state.json@@ -0,0 +1,17 @@+[+ {+ "type": "window.state",+ "ts": 1793612717.0,+ "data": {+ "visible": true,+ "minimised": false,+ "monitor": {+ "x": 0,+ "y": 0,+ "w": 2560,+ "h": 1440,+ "dpi": 1.25+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/agent.create.json b/tests/unit/verse_host/fixtures/bridge/replies/agent.create.jsonnew file mode 100644index 0000000000..c9d7070377--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/agent.create.json@@ -0,0 +1,50 @@+[+ {+ "request": {+ "type": "agent.create",+ "id": "c-66",+ "ts": 1793612594.0,+ "data": {+ "name": "Ilka",+ "title": "Test writer",+ "figure": {+ "archetype": "pilot",+ "palette": "oxide"+ }+ }+ },+ "reply": {+ "type": "reply",+ "seq": 325,+ "ts": 1793612594.05,+ "re": "c-66",+ "data": {+ "ok": true,+ "result": {+ "agent_id": "ag_9c4"+ }+ }+ }+ },+ {+ "request": {+ "type": "agent.create",+ "id": "c-67",+ "ts": 1793612600.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 326,+ "ts": 1793612600.05,+ "re": "c-67",+ "data": {+ "ok": false,+ "error": {+ "code": "rate_limited",+ "message": "agent.create is limited to 1 per 5 s."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/agent.open.json b/tests/unit/verse_host/fixtures/bridge/replies/agent.open.jsonnew file mode 100644index 0000000000..9818eb0114--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/agent.open.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "agent.open",+ "id": "c-64",+ "ts": 1793612592.0,+ "data": {+ "agent_id": "ag_7f1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 322,+ "ts": 1793612592.05,+ "re": "c-64",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "agent.open",+ "id": "c-84",+ "ts": 1793612592.0,+ "data": {+ "agent_id": "ag_7f1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 340,+ "ts": 1793612592.05,+ "re": "c-84",+ "data": {+ "ok": false,+ "error": {+ "code": "internal",+ "message": "Agent card handler failed."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/agents.open_list.json b/tests/unit/verse_host/fixtures/bridge/replies/agents.open_list.jsonnew file mode 100644index 0000000000..3d0472f7a0--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/agents.open_list.json@@ -0,0 +1,20 @@+[+ {+ "request": {+ "type": "agents.open_list",+ "id": "c-73",+ "ts": 1793612602.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 331,+ "ts": 1793612602.05,+ "re": "c-73",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/chat_tails.watch.json b/tests/unit/verse_host/fixtures/bridge/replies/chat_tails.watch.jsonnew file mode 100644index 0000000000..069559b5a0--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/chat_tails.watch.json@@ -0,0 +1,31 @@+[+ {+ "request": {+ "type": "chat_tails.watch",+ "id": "c-41",+ "ts": 1793612370.0,+ "data": {+ "agents": [+ "ag_7f1",+ "ag_02c"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 309,+ "ts": 1793612370.05,+ "re": "c-41",+ "data": {+ "ok": true,+ "result": {+ "watching": [+ "ag_7f1",+ "ag_02c"+ ],+ "dropped": []+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/duel.result.json b/tests/unit/verse_host/fixtures/bridge/replies/duel.result.jsonnew file mode 100644index 0000000000..0fb46cd331--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/duel.result.json@@ -0,0 +1,151 @@+[+ {+ "request": {+ "type": "duel.result",+ "id": "c-60",+ "ts": 1793612500.0,+ "data": {+ "match_id": "m_01JD…",+ "session_id": "s_01JD…",+ "set_index": 3,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "hard",+ "adaptive": false+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612500.0,+ "match_time_s": 296.4,+ "end_reason": "set_complete",+ "outcome": "won",+ "score": {+ "player": 10,+ "opponent": 7+ },+ "stats": {+ "kills": 10,+ "deaths": 7,+ "headshots": 4,+ "finishers": 1,+ "melee_kills": 1,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 4+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 8,+ "headshots": 4,+ "shots_fired": 410,+ "shots_hit": 152+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ },+ "reply": {+ "type": "reply",+ "seq": 317,+ "ts": 1793612500.05,+ "re": "c-60",+ "data": {+ "ok": true,+ "result": {+ "recorded": true,+ "awards": [+ {+ "xp_source": "duel_won",+ "xp": 60+ }+ ],+ "duel_stats": {+ "matches": 13,+ "wins": 8+ }+ }+ }+ }+ },+ {+ "request": {+ "type": "duel.result",+ "id": "c-61",+ "ts": 1793612541.0,+ "data": {+ "match_id": "m_01JE0002",+ "session_id": "s_01JD…",+ "set_index": 4,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "elite",+ "adaptive": true+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612541.0,+ "match_time_s": 41.0,+ "end_reason": "player_left",+ "outcome": "unfinished",+ "score": {+ "player": 2,+ "opponent": 3+ },+ "stats": {+ "kills": 2,+ "deaths": 3,+ "headshots": 1,+ "finishers": 0,+ "melee_kills": 0,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 1+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 2,+ "headshots": 1,+ "shots_fired": 80,+ "shots_hit": 30+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ },+ "reply": {+ "type": "reply",+ "seq": 318,+ "ts": 1793612541.05,+ "re": "c-61",+ "data": {+ "ok": true,+ "result": {+ "recorded": true,+ "awards": [],+ "duel_stats": {+ "matches": 14,+ "unfinished": 1+ }+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/group.open.json b/tests/unit/verse_host/fixtures/bridge/replies/group.open.jsonnew file mode 100644index 0000000000..de1ddb5d81--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/group.open.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "group.open",+ "id": "c-74",+ "ts": 1793612603.0,+ "data": {+ "group_id": "grp_a"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 332,+ "ts": 1793612603.05,+ "re": "c-74",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "group.open",+ "id": "c-82",+ "ts": 1793612603.0,+ "data": {+ "group_id": "grp_z"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 333,+ "ts": 1793612603.05,+ "re": "c-82",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Group is gone."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/ide.focus_terminal.json b/tests/unit/verse_host/fixtures/bridge/replies/ide.focus_terminal.jsonnew file mode 100644index 0000000000..2247e3d58b--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/ide.focus_terminal.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "ide.focus_terminal",+ "id": "c-65",+ "ts": 1793612593.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 323,+ "ts": 1793612593.05,+ "re": "c-65",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "ide.focus_terminal",+ "id": "c-69",+ "ts": 1793612593.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 324,+ "ts": 1793612593.05,+ "re": "c-69",+ "data": {+ "ok": false,+ "error": {+ "code": "rate_limited",+ "message": "Open commands are limited to 4/s."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/ide.open.json b/tests/unit/verse_host/fixtures/bridge/replies/ide.open.jsonnew file mode 100644index 0000000000..25255b12a1--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/ide.open.json@@ -0,0 +1,20 @@+[+ {+ "request": {+ "type": "ide.open",+ "id": "c-76",+ "ts": 1793612605.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 335,+ "ts": 1793612605.05,+ "re": "c-76",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/launcher.cancel.json b/tests/unit/verse_host/fixtures/bridge/replies/launcher.cancel.jsonnew file mode 100644index 0000000000..add6dce691--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/launcher.cancel.json@@ -0,0 +1,22 @@+[+ {+ "request": {+ "type": "launcher.cancel",+ "id": "c-72",+ "ts": 1793612601.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 330,+ "ts": 1793612601.05,+ "re": "c-72",+ "data": {+ "ok": true,+ "result": {+ "stopped": 1+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/launcher.options.json b/tests/unit/verse_host/fixtures/bridge/replies/launcher.options.jsonnew file mode 100644index 0000000000..7aba449f2d--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/launcher.options.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "launcher.options",+ "id": "c-70",+ "ts": 1793612599.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 327,+ "ts": 1793612599.05,+ "re": "c-70",+ "data": {+ "ok": true,+ "result": {+ "workspaces": [+ {+ "workspace_id": "ws_91",+ "name": "Main",+ "active": true+ },+ {+ "workspace_id": "ws_92",+ "name": "Docs",+ "active": false+ }+ ],+ "agents": [+ {+ "agent": "claude",+ "display_name": "Claude Code",+ "available": true+ },+ {+ "agent": "codex",+ "display_name": "Codex",+ "available": false+ }+ ]+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/launcher.start.json b/tests/unit/verse_host/fixtures/bridge/replies/launcher.start.jsonnew file mode 100644index 0000000000..e6eacfa308--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/launcher.start.json@@ -0,0 +1,70 @@+[+ {+ "request": {+ "type": "launcher.start",+ "id": "c-71",+ "ts": 1793612600.0,+ "data": {+ "workspace_id": "ws_91",+ "agents": [+ {+ "agent": "claude",+ "count": 2+ }+ ],+ "brief": "Write the bridge relay tests."+ }+ },+ "reply": {+ "type": "reply",+ "seq": 328,+ "ts": 1793612600.05,+ "re": "c-71",+ "data": {+ "ok": true,+ "result": {+ "panes": [+ {+ "pane_id": "ws_91:T4",+ "submitted": true+ },+ {+ "pane_id": "ws_91:T5",+ "submitted": null+ }+ ]+ }+ }+ }+ },+ {+ "request": {+ "type": "launcher.start",+ "id": "c-81",+ "ts": 1793612601.0,+ "data": {+ "workspace_id": "ws_91",+ "agents": [+ {+ "agent": "claude",+ "count": 2+ }+ ],+ "brief": "Write the bridge relay tests."+ }+ },+ "reply": {+ "type": "reply",+ "seq": 329,+ "ts": 1793612601.05,+ "re": "c-81",+ "data": {+ "ok": false,+ "error": {+ "code": "busy",+ "message": "A launcher batch is already running."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/meeting.start.json b/tests/unit/verse_host/fixtures/bridge/replies/meeting.start.jsonnew file mode 100644index 0000000000..c52b77a552--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/meeting.start.json@@ -0,0 +1,47 @@+[+ {+ "request": {+ "type": "meeting.start",+ "id": "c-44",+ "ts": 1793612379.0,+ "data": {+ "group_id": "grp_a",+ "text": "Ship 4.2?"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 310,+ "ts": 1793612379.05,+ "re": "c-44",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "meeting.start",+ "id": "c-46",+ "ts": 1793612379.0,+ "data": {+ "group_id": "grp_a",+ "text": "Ship 4.2?"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 311,+ "ts": 1793612379.05,+ "re": "c-46",+ "data": {+ "ok": false,+ "error": {+ "code": "conflict",+ "message": "The person declined."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/meeting.stop.json b/tests/unit/verse_host/fixtures/bridge/replies/meeting.stop.jsonnew file mode 100644index 0000000000..ec57e9eadf--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/meeting.stop.json@@ -0,0 +1,22 @@+[+ {+ "request": {+ "type": "meeting.stop",+ "id": "c-45",+ "ts": 1793612400.0,+ "data": {+ "group_id": "grp_a"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 312,+ "ts": 1793612400.05,+ "re": "c-45",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/pane.open.json b/tests/unit/verse_host/fixtures/bridge/replies/pane.open.jsonnew file mode 100644index 0000000000..386d5ae1dd--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/pane.open.json@@ -0,0 +1,66 @@+[+ {+ "request": {+ "type": "pane.open",+ "id": "c-62",+ "ts": 1793612590.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 319,+ "ts": 1793612590.05,+ "re": "c-62",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "pane.open",+ "id": "c-63",+ "ts": 1793612591.0,+ "data": {+ "pane_id": "ws_91:T1",+ "open": "changes"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 320,+ "ts": 1793612591.05,+ "re": "c-63",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "pane.open",+ "id": "c-68",+ "ts": 1793612590.0,+ "data": {+ "pane_id": "ws_91:T3"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 321,+ "ts": 1793612590.05,+ "re": "c-68",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Pane is gone."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/progression.action.json b/tests/unit/verse_host/fixtures/bridge/replies/progression.action.jsonnew file mode 100644index 0000000000..449867af24--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/progression.action.json@@ -0,0 +1,85 @@+[+ {+ "request": {+ "type": "progression.action",+ "id": "c-52",+ "ts": 1793612395.0,+ "data": {+ "action": "inspection",+ "ref": "hangar"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 313,+ "ts": 1793612395.05,+ "re": "c-52",+ "data": {+ "ok": true,+ "result": {+ "awarded": {+ "seq": 905,+ "subject_id": "person",+ "subject_kind": "person",+ "xp_source": "inspection",+ "xp": 15,+ "total_xp": 5285,+ "level": 14,+ "previous_level": 14,+ "title": "Lieutenant",+ "unlocked": [],+ "unlocked_looks": []+ }+ }+ }+ }+ },+ {+ "request": {+ "type": "progression.action",+ "id": "c-53",+ "ts": 1793612396.0,+ "data": {+ "action": "walk_together",+ "ref": ""+ }+ },+ "reply": {+ "type": "reply",+ "seq": 314,+ "ts": 1793612396.05,+ "re": "c-53",+ "data": {+ "ok": true,+ "result": {+ "awarded": null+ }+ }+ }+ },+ {+ "request": {+ "type": "progression.action",+ "id": "c-55",+ "ts": 1793612395.0,+ "data": {+ "action": "duel_won",+ "ref": ""+ }+ },+ "reply": {+ "type": "reply",+ "seq": 315,+ "ts": 1793612395.05,+ "re": "c-55",+ "data": {+ "ok": false,+ "error": {+ "code": "bad_request",+ "message": "duel_won is not a world action."+ }+ }+ },+ "request_invalid": true+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/progression.told.json b/tests/unit/verse_host/fixtures/bridge/replies/progression.told.jsonnew file mode 100644index 0000000000..e35513fa3d--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/progression.told.json@@ -0,0 +1,24 @@+[+ {+ "request": {+ "type": "progression.told",+ "id": "c-54",+ "ts": 1793612396.5,+ "data": {+ "seq": 903+ }+ },+ "reply": {+ "type": "reply",+ "seq": 316,+ "ts": 1793612396.55,+ "re": "c-54",+ "data": {+ "ok": true,+ "result": {+ "told_seq": 903+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/qa.exec.json b/tests/unit/verse_host/fixtures/bridge/replies/qa.exec.jsonnew file mode 100644index 0000000000..72ac04f0cf--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/qa.exec.json@@ -0,0 +1,55 @@+[+ {+ "request": {+ "type": "qa.exec",+ "id": "c-79",+ "ts": 1793612608.0,+ "data": {+ "command": "Verse.QA.Stats",+ "args": []+ }+ },+ "reply": {+ "type": "reply",+ "seq": 338,+ "ts": 1793612608.05,+ "re": "c-79",+ "data": {+ "ok": false,+ "error": {+ "code": "unavailable",+ "message": "QA commands need DODAIOS_VERSE_QA=1."+ }+ }+ }+ },+ {+ "request": {+ "type": "qa.exec",+ "id": "c-80",+ "ts": 1793612609.0,+ "data": {+ "command": "Verse.QA.SetDuty",+ "args": [+ "ag_7f1",+ "error"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 339,+ "ts": 1793612609.05,+ "re": "c-80",+ "data": {+ "ok": true,+ "result": {+ "result": {+ "agent_id": "ag_7f1",+ "duty": "error"+ }+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/resync.json b/tests/unit/verse_host/fixtures/bridge/replies/resync.jsonnew file mode 100644index 0000000000..582c049ae1--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/resync.json@@ -0,0 +1,46 @@+[+ {+ "request": {+ "type": "resync",+ "id": "c-9",+ "ts": 1793612399.0,+ "data": {+ "topic": "roster"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 305,+ "ts": 1793612399.05,+ "re": "c-9",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "resync",+ "id": "c-10",+ "ts": 1793612399.5,+ "data": {+ "topic": "screens",+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 306,+ "ts": 1793612399.55,+ "re": "c-10",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Pane is not watched."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/screens.watch.json b/tests/unit/verse_host/fixtures/bridge/replies/screens.watch.jsonnew file mode 100644index 0000000000..f84048b2b1--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/screens.watch.json@@ -0,0 +1,146 @@+[+ {+ "request": {+ "type": "screens.watch",+ "id": "c-30",+ "ts": 1793612360.0,+ "data": {+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T2",+ "hz": 2+ }+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 307,+ "ts": 1793612360.05,+ "re": "c-30",+ "data": {+ "ok": true,+ "result": {+ "bound": [+ {+ "pane_id": "ws_91:T1",+ "ref": 1+ },+ {+ "pane_id": "ws_91:T2",+ "ref": 2+ }+ ],+ "dropped": [],+ "missing": []+ }+ }+ }+ },+ {+ "request": {+ "type": "screens.watch",+ "id": "c-31",+ "ts": 1793612362.0,+ "data": {+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T2",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T3",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T4",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T5",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T6",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T7",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T8",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T9",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T10",+ "hz": 2+ }+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 308,+ "ts": 1793612362.05,+ "re": "c-31",+ "data": {+ "ok": true,+ "result": {+ "bound": [+ {+ "pane_id": "ws_91:T1",+ "ref": 1+ },+ {+ "pane_id": "ws_91:T2",+ "ref": 2+ },+ {+ "pane_id": "ws_91:T3",+ "ref": 3+ },+ {+ "pane_id": "ws_91:T4",+ "ref": 4+ },+ {+ "pane_id": "ws_91:T5",+ "ref": 5+ },+ {+ "pane_id": "ws_91:T6",+ "ref": 6+ },+ {+ "pane_id": "ws_91:T7",+ "ref": 7+ },+ {+ "pane_id": "ws_91:T9",+ "ref": 8+ }+ ],+ "dropped": [+ "ws_91:T10"+ ],+ "missing": [+ "ws_91:T8"+ ]+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/settings.set.json b/tests/unit/verse_host/fixtures/bridge/replies/settings.set.jsonnew file mode 100644index 0000000000..ed6b12aa23--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/settings.set.json@@ -0,0 +1,64 @@+[+ {+ "request": {+ "type": "settings.set",+ "id": "c-77",+ "ts": 1793612606.0,+ "data": {+ "gore": "reduced"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 336,+ "ts": 1793612606.05,+ "re": "c-77",+ "data": {+ "ok": true,+ "result": {+ "settings": {+ "gore": "reduced",+ "reduced_motion": false,+ "return_key": "F10",+ "ui_sound": true,+ "level_sound": true,+ "uniform": "standard",+ "view": {+ "mode": "third",+ "sensitivity": 1.0,+ "invert_y": false,+ "fov_third": 70,+ "fov_first": 85,+ "quality": "auto",+ "volume": 0.7+ }+ }+ }+ }+ }+ },+ {+ "request": {+ "type": "settings.set",+ "id": "c-83",+ "ts": 1793612606.0,+ "data": {+ "gore": "none"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 337,+ "ts": 1793612606.05,+ "re": "c-83",+ "data": {+ "ok": false,+ "error": {+ "code": "bad_request",+ "message": "gore must be full or reduced."+ }+ }+ },+ "request_invalid": true+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/simulator.open.json b/tests/unit/verse_host/fixtures/bridge/replies/simulator.open.jsonnew file mode 100644index 0000000000..921463cfa0--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/simulator.open.json@@ -0,0 +1,22 @@+[+ {+ "request": {+ "type": "simulator.open",+ "id": "c-75",+ "ts": 1793612604.0,+ "data": {+ "programme": "asteroid-run"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 334,+ "ts": 1793612604.05,+ "re": "c-75",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/subscribe.json b/tests/unit/verse_host/fixtures/bridge/replies/subscribe.jsonnew file mode 100644index 0000000000..bde9bbd24d--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/subscribe.json@@ -0,0 +1,92 @@+[+ {+ "request": {+ "type": "subscribe",+ "id": "c-1",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "roster",+ "panes",+ "progression",+ "meetings",+ "groups"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 301,+ "ts": 1793612340.25,+ "re": "c-1",+ "data": {+ "ok": true,+ "result": {+ "subscribed": [+ "roster",+ "panes",+ "progression",+ "meetings",+ "groups"+ ],+ "unavailable": []+ }+ }+ }+ },+ {+ "request": {+ "type": "subscribe",+ "id": "c-2",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "duel_stats",+ "companion"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 302,+ "ts": 1793612340.25,+ "re": "c-2",+ "data": {+ "ok": true,+ "result": {+ "subscribed": [+ "companion"+ ],+ "unavailable": [+ "duel_stats"+ ]+ }+ }+ }+ },+ {+ "request": {+ "type": "subscribe",+ "id": "c-3",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "panel"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 303,+ "ts": 1793612340.25,+ "re": "c-3",+ "data": {+ "ok": false,+ "error": {+ "code": "unavailable",+ "message": "No requested topic is served."+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/replies/unsubscribe.json b/tests/unit/verse_host/fixtures/bridge/replies/unsubscribe.jsonnew file mode 100644index 0000000000..4265792997--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/replies/unsubscribe.json@@ -0,0 +1,28 @@+[+ {+ "request": {+ "type": "unsubscribe",+ "id": "c-8",+ "ts": 1793612398.0,+ "data": {+ "topics": [+ "meetings"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 304,+ "ts": 1793612398.05,+ "re": "c-8",+ "data": {+ "ok": true,+ "result": {+ "unsubscribed": [+ "meetings"+ ]+ }+ }+ }+ }+]diff --git a/tests/unit/verse_host/fixtures/bridge/scenarios/awards.json b/tests/unit/verse_host/fixtures/bridge/scenarios/awards.jsonnew file mode 100644index 0000000000..5f6f1701cc--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/scenarios/awards.json@@ -0,0 +1,98 @@+{+ "name": "awards",+ "description": "XP awards for the commander, a level-up with an unlock, an agent and the drone; world actions.",+ "topics": [+ "progression",+ "companion"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {+ "progression.snapshot": {+ "subjects": [+ {+ "subject_id": "person",+ "kind": "person",+ "level": 14,+ "total_xp": 5230,+ "into_level": 130,+ "for_next": 600,+ "title": "Lieutenant"+ }+ ],+ "pet_id": "drone",+ "latest_seq": 902,+ "told_seq": 897,+ "rulebook": {+ "ranks": [+ {+ "id": "recruit",+ "level": 1,+ "tier": "deck"+ }+ ],+ "rewards": [],+ "looks": [],+ "titles": {}+ },+ "duel_stats": {+ "matches": 12,+ "wins": 7,+ "losses": 5,+ "kills": 96,+ "deaths": 81,+ "headshots": 31,+ "finishers": 4,+ "best_streak": 6,+ "by_tier": {+ "hard": {+ "wins": 5,+ "losses": 3+ }+ }+ }+ },+ "companion.snapshot": {+ "pet_id": "drone",+ "look": "drone_brass",+ "style": "overlay"+ }+ },+ "replies": {+ "progression.action": [+ {+ "ok": true,+ "result": {+ "awarded": {+ "seq": 908,+ "subject_id": "person",+ "subject_kind": "person",+ "xp_source": "deck_discovered",+ "xp": 20,+ "total_xp": 5850,+ "level": 15,+ "previous_level": 15,+ "title": "Lieutenant",+ "unlocked": [],+ "unlocked_looks": []+ }+ }+ },+ {+ "ok": true,+ "result": {+ "awarded": null+ }+ }+ ]+ },+ "steps": [+ {"at_ms": 200, "frame": {"type": "progression.awarded", "data": {"seq": 903, "subject_id": "person", "subject_kind": "person", "xp_source": "daily_visit", "xp": 25, "total_xp": 5255, "level": 14, "previous_level": 14, "title": "Lieutenant", "unlocked": [], "unlocked_looks": []}}},+ {"at_ms": 400, "frame": {"type": "progression.awarded", "data": {"seq": 904, "subject_id": "person", "subject_kind": "person", "xp_source": "duel_won", "xp": 40, "total_xp": 5295, "level": 14, "previous_level": 14, "title": "Lieutenant", "unlocked": [], "unlocked_looks": []}}},+ {"at_ms": 600, "frame": {"type": "progression.awarded", "data": {"seq": 905, "subject_id": "person", "subject_kind": "person", "xp_source": "inspection", "xp": 15, "total_xp": 5830, "level": 15, "previous_level": 14, "title": "Lieutenant", "unlocked": ["plate_line_gold"], "unlocked_looks": []}}},+ {"at_ms": 800, "frame": {"type": "progression.awarded", "data": {"seq": 906, "subject_id": "agent:ag_001", "subject_kind": "agent", "xp_source": "task_done", "xp": 40, "total_xp": 820, "level": 7, "previous_level": 6, "title": "Deckhand", "unlocked": [], "unlocked_looks": ["look_05"]}}},+ {"at_ms": 1000, "frame": {"type": "progression.awarded", "data": {"seq": 907, "subject_id": "pet:drone", "subject_kind": "pet", "xp_source": "walk_together", "xp": 3, "total_xp": 211, "level": 4, "previous_level": 4, "title": "Deckhand", "unlocked": [], "unlocked_looks": []}}},+ {"at_ms": 1200, "frame": {"type": "companion.update", "data": {"pet_id": "drone", "look": "drone_gold", "style": "overlay"}}},+ {"at_ms": 1300, "expect": {"type": "progression.told", "data": {"seq": 905}}, "timeout_ms": 5000, "note": "Verse reports the level-up it has shown."}+ ]+}diff --git a/tests/unit/verse_host/fixtures/bridge/scenarios/busy_panes.json b/tests/unit/verse_host/fixtures/bridge/scenarios/busy_panes.jsonnew file mode 100644index 0000000000..6003a5f514--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/scenarios/busy_panes.json@@ -0,0 +1,255 @@+{+ "name": "busy_panes",+ "description": "Eight watched panes: two near desks at 10 Hz, six far desks at 2 Hz, a resize, a plain fallback, a pane exits.",+ "topics": [+ "roster"+ ],+ "watch_screens": [+ "ws_91:T1",+ "ws_91:T2",+ "ws_91:T3",+ "ws_91:T4",+ "ws_91:T5",+ "ws_91:T6",+ "ws_91:T7",+ "ws_91:T8"+ ],+ "watch_chat_tails": [],+ "state": {+ "roster.snapshot": {+ "commander": {+ "subject_id": "person",+ "level": 14,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ },+ "agents": [],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "workspace_id": "ws_91",+ "key": "T1",+ "history_id": "h_01",+ "name": "T1",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 1",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T2",+ "workspace_id": "ws_91",+ "key": "T2",+ "history_id": "h_02",+ "name": "T2",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 2",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T3",+ "workspace_id": "ws_91",+ "key": "T3",+ "history_id": "h_03",+ "name": "T3",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 3",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T4",+ "workspace_id": "ws_91",+ "key": "T4",+ "history_id": "h_04",+ "name": "T4",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 4",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T5",+ "workspace_id": "ws_91",+ "key": "T5",+ "history_id": "h_05",+ "name": "T5",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 5",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T6",+ "workspace_id": "ws_91",+ "key": "T6",+ "history_id": "h_06",+ "name": "T6",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 6",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T7",+ "workspace_id": "ws_91",+ "key": "T7",+ "history_id": "h_07",+ "name": "T7",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 7",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T8",+ "workspace_id": "ws_91",+ "key": "T8",+ "history_id": "h_08",+ "name": "T8",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 8",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ }+ ]+ }+ },+ "replies": {},+ "steps": [+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 1, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 1", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 2, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 2", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 3, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 3", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 4, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 4", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 5, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 5", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 6, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 6", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 7, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 7", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 8, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 8", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [5, 30], "style": "styled", "rows_changed": [{"row": 3, "runs": [{"col": 0, "text": "[1] step 001", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 12% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[1] step 001", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 12% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 5, "runs": [{"col": 0, "text": "[1] step 001", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 12% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [5, 30], "style": "styled", "rows_changed": [{"row": 3, "runs": [{"col": 0, "text": "[2] step 001", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 17% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[2] step 001", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 17% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 5, "runs": [{"col": 0, "text": "[2] step 001", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 17% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [8, 30], "style": "styled", "rows_changed": [{"row": 6, "runs": [{"col": 0, "text": "[1] step 002", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[1] step 002", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 8, "runs": [{"col": 0, "text": "[1] step 002", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [8, 30], "style": "styled", "rows_changed": [{"row": 6, "runs": [{"col": 0, "text": "[2] step 002", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[2] step 002", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 8, "runs": [{"col": 0, "text": "[2] step 002", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [11, 30], "style": "styled", "rows_changed": [{"row": 9, "runs": [{"col": 0, "text": "[1] step 003", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 26% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[1] step 003", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 26% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 11, "runs": [{"col": 0, "text": "[1] step 003", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 26% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [11, 30], "style": "styled", "rows_changed": [{"row": 9, "runs": [{"col": 0, "text": "[2] step 003", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 31% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[2] step 003", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 31% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 11, "runs": [{"col": 0, "text": "[2] step 003", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 31% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [14, 30], "style": "styled", "rows_changed": [{"row": 12, "runs": [{"col": 0, "text": "[1] step 004", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 33% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[1] step 004", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 33% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 14, "runs": [{"col": 0, "text": "[1] step 004", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 33% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [14, 30], "style": "styled", "rows_changed": [{"row": 12, "runs": [{"col": 0, "text": "[2] step 004", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 38% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[2] step 004", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 38% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 14, "runs": [{"col": 0, "text": "[2] step 004", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 38% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[1] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 40% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[1] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 40% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[1] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 40% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[2] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 45% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[2] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 45% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[2] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 45% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[3] step 005", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 50% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[3] step 005", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 50% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[3] step 005", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 50% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[4] step 005", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 55% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[4] step 005", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 55% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[4] step 005", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 55% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[5] step 005", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 60% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[5] step 005", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 60% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[5] step 005", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 60% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[6] step 005", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 65% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[6] step 005", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 65% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[6] step 005", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 65% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[7] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 70% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[7] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 70% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[7] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 70% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[8] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[8] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[8] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [20, 30], "style": "styled", "rows_changed": [{"row": 18, "runs": [{"col": 0, "text": "[1] step 006", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 47% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[1] step 006", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 47% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 20, "runs": [{"col": 0, "text": "[1] step 006", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 47% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [20, 30], "style": "styled", "rows_changed": [{"row": 18, "runs": [{"col": 0, "text": "[2] step 006", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 52% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[2] step 006", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 52% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 20, "runs": [{"col": 0, "text": "[2] step 006", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 52% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [23, 30], "style": "styled", "rows_changed": [{"row": 21, "runs": [{"col": 0, "text": "[1] step 007", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[1] step 007", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 23, "runs": [{"col": 0, "text": "[1] step 007", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [23, 30], "style": "styled", "rows_changed": [{"row": 21, "runs": [{"col": 0, "text": "[2] step 007", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[2] step 007", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 23, "runs": [{"col": 0, "text": "[2] step 007", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [26, 30], "style": "styled", "rows_changed": [{"row": 24, "runs": [{"col": 0, "text": "[1] step 008", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 61% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 25, "runs": [{"col": 0, "text": "[1] step 008", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 61% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 26, "runs": [{"col": 0, "text": "[1] step 008", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 61% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [26, 30], "style": "styled", "rows_changed": [{"row": 24, "runs": [{"col": 0, "text": "[2] step 008", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 66% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 25, "runs": [{"col": 0, "text": "[2] step 008", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 66% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 26, "runs": [{"col": 0, "text": "[2] step 008", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 66% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [29, 30], "style": "styled", "rows_changed": [{"row": 27, "runs": [{"col": 0, "text": "[1] step 009", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 68% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 28, "runs": [{"col": 0, "text": "[1] step 009", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 68% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 29, "runs": [{"col": 0, "text": "[1] step 009", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 68% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [29, 30], "style": "styled", "rows_changed": [{"row": 27, "runs": [{"col": 0, "text": "[2] step 009", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 73% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 28, "runs": [{"col": 0, "text": "[2] step 009", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 73% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 29, "runs": [{"col": 0, "text": "[2] step 009", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 73% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[1] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[1] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[1] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[2] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 80% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[2] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 80% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[2] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 80% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[3] step 010", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 85% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[3] step 010", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 85% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[3] step 010", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 85% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[4] step 010", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 90% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[4] step 010", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 90% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[4] step 010", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 90% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[5] step 010", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 95% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[5] step 010", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 95% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[5] step 010", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 95% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[6] step 010", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 100% ####################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[6] step 010", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 100% ####################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[6] step 010", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 100% ####################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[7] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 4% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[7] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 4% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[7] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 4% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[8] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[8] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[8] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [35, 30], "style": "styled", "rows_changed": [{"row": 33, "runs": [{"col": 0, "text": "[1] step 011", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 82% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 34, "runs": [{"col": 0, "text": "[1] step 011", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 82% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 35, "runs": [{"col": 0, "text": "[1] step 011", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 82% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [35, 30], "style": "styled", "rows_changed": [{"row": 33, "runs": [{"col": 0, "text": "[2] step 011", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 87% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 34, "runs": [{"col": 0, "text": "[2] step 011", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 87% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 35, "runs": [{"col": 0, "text": "[2] step 011", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 87% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [38, 30], "style": "styled", "rows_changed": [{"row": 36, "runs": [{"col": 0, "text": "[1] step 012", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 89% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 37, "runs": [{"col": 0, "text": "[1] step 012", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 89% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 38, "runs": [{"col": 0, "text": "[1] step 012", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 89% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [38, 30], "style": "styled", "rows_changed": [{"row": 36, "runs": [{"col": 0, "text": "[2] step 012", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 94% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 37, "runs": [{"col": 0, "text": "[2] step 012", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 94% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 38, "runs": [{"col": 0, "text": "[2] step 012", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 94% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [1, 30], "style": "styled", "rows_changed": [{"row": 39, "runs": [{"col": 0, "text": "[1] step 013", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 96% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 0, "runs": [{"col": 0, "text": "[1] step 013", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 96% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 1, "runs": [{"col": 0, "text": "[1] step 013", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 96% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [1, 30], "style": "styled", "rows_changed": [{"row": 39, "runs": [{"col": 0, "text": "[2] step 013", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 0% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 0, "runs": [{"col": 0, "text": "[2] step 013", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 0% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 1, "runs": [{"col": 0, "text": "[2] step 013", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 0% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [4, 30], "style": "styled", "rows_changed": [{"row": 2, "runs": [{"col": 0, "text": "[1] step 014", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 2% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 3, "runs": [{"col": 0, "text": "[1] step 014", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 2% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[1] step 014", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 2% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [4, 30], "style": "styled", "rows_changed": [{"row": 2, "runs": [{"col": 0, "text": "[2] step 014", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 7% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 3, "runs": [{"col": 0, "text": "[2] step 014", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 7% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[2] step 014", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 7% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[1] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[1] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[1] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[2] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 14% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[2] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 14% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[2] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 14% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[3] step 015", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[3] step 015", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[3] step 015", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[4] step 015", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[4] step 015", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[4] step 015", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[5] step 015", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 29% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[5] step 015", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 29% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[5] step 015", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 29% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[6] step 015", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 34% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[6] step 015", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 34% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[6] step 015", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 34% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[7] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 39% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[7] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 39% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[7] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 39% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[8] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[8] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[8] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [10, 30], "style": "styled", "rows_changed": [{"row": 8, "runs": [{"col": 0, "text": "[1] step 016", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 16% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 9, "runs": [{"col": 0, "text": "[1] step 016", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 16% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[1] step 016", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 16% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [10, 30], "style": "styled", "rows_changed": [{"row": 8, "runs": [{"col": 0, "text": "[2] step 016", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 21% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 9, "runs": [{"col": 0, "text": "[2] step 016", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 21% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[2] step 016", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 21% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [13, 30], "style": "styled", "rows_changed": [{"row": 11, "runs": [{"col": 0, "text": "[1] step 017", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 23% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 12, "runs": [{"col": 0, "text": "[1] step 017", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 23% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[1] step 017", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 23% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [13, 30], "style": "styled", "rows_changed": [{"row": 11, "runs": [{"col": 0, "text": "[2] step 017", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 28% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 12, "runs": [{"col": 0, "text": "[2] step 017", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 28% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[2] step 017", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 28% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [16, 30], "style": "styled", "rows_changed": [{"row": 14, "runs": [{"col": 0, "text": "[1] step 018", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 30% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 15, "runs": [{"col": 0, "text": "[1] step 018", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 30% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[1] step 018", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 30% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [16, 30], "style": "styled", "rows_changed": [{"row": 14, "runs": [{"col": 0, "text": "[2] step 018", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 35% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 15, "runs": [{"col": 0, "text": "[2] step 018", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 35% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[2] step 018", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 35% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [19, 30], "style": "styled", "rows_changed": [{"row": 17, "runs": [{"col": 0, "text": "[1] step 019", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 37% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 18, "runs": [{"col": 0, "text": "[1] step 019", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 37% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[1] step 019", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 37% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [19, 30], "style": "styled", "rows_changed": [{"row": 17, "runs": [{"col": 0, "text": "[2] step 019", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 42% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 18, "runs": [{"col": 0, "text": "[2] step 019", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 42% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[2] step 019", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 42% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[1] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[1] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[1] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[2] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 49% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[2] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 49% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[2] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 49% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[3] step 020", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[3] step 020", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[3] step 020", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[4] step 020", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[4] step 020", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[4] step 020", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[5] step 020", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 64% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[5] step 020", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 64% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[5] step 020", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 64% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[6] step 020", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 69% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[6] step 020", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 69% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[6] step 020", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 69% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[7] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 74% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[7] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 74% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[7] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 74% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[8] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 79% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[8] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 79% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[8] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 79% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2050, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "snapshot", "cols": 100, "rows": 30, "cursor": [29, 0], "style": "styled", "ref": 2, "cut": false, "at": 1793612342.0, "rows_changed": [{"row": 29, "runs": [{"col": 0, "text": "resized", "fg": null, "bg": null, "attrs": ["italic"]}]}]}}, "note": "Resize: a fresh snapshot"},+ {"at_ms": 2100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "snapshot", "cols": 240, "rows": 60, "cursor": [-1, -1], "style": "plain", "ref": 7, "cut": true, "at": null, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "plain fallback, cut to 240 x 60", "fg": null, "bg": null, "attrs": []}]}]}}, "note": "Styled mirror unavailable: plain fallback"},+ {"at_ms": 2200, "frame": {"type": "screens.gone", "data": {"pane_id": "ws_91:T8", "reason": "exited"}}},+ {"at_ms": 2300, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T8", "status": "exited", "activity": "exited", "duty": "idle"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}}+ ]+}diff --git a/tests/unit/verse_host/fixtures/bridge/scenarios/idle.json b/tests/unit/verse_host/fixtures/bridge/scenarios/idle.jsonnew file mode 100644index 0000000000..2474115932--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/scenarios/idle.json@@ -0,0 +1,17 @@+{+ "name": "idle",+ "description": "Golden snapshots on subscribe and heartbeats; nothing else. The smoke test default.",+ "topics": [+ "roster",+ "groups",+ "meetings",+ "progression",+ "companion"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {},+ "replies": {},+ "steps": [+]+}diff --git a/tests/unit/verse_host/fixtures/bridge/scenarios/lifecycle.json b/tests/unit/verse_host/fixtures/bridge/scenarios/lifecycle.jsonnew file mode 100644index 0000000000..e40ca6e173--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/scenarios/lifecycle.json@@ -0,0 +1,24 @@+{+ "name": "lifecycle",+ "description": "Show, pause, resume, hide, GPU yield and free, live settings, quick-start duel, app focus, quit.",+ "topics": [],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {},+ "replies": {},+ "steps": [+ {"at_ms": 100, "frame": {"type": "lifecycle.show", "data": {"monitor": {"x": 0, "y": 0, "w": 2560, "h": 1440, "dpi": 1.25}, "reason": "verse_view"}}},+ {"at_ms": 100, "expect": {"type": "lifecycle.state", "data": {"state": "visible"}}, "timeout_ms": 3000},+ {"at_ms": 300, "frame": {"type": "lifecycle.pause", "data": {"reason": "screen_lock"}}},+ {"at_ms": 400, "frame": {"type": "lifecycle.resume", "data": {"reason": "screen_unlock"}}},+ {"at_ms": 500, "frame": {"type": "lifecycle.hide", "data": {"reason": "app_focus"}}},+ {"at_ms": 500, "expect": {"type": "lifecycle.state", "data": {"state": "dormant"}}, "timeout_ms": 3000},+ {"at_ms": 700, "frame": {"type": "gpu.yield", "data": {"by": "local_model"}}},+ {"at_ms": 800, "frame": {"type": "gpu.free", "data": {"by": "local_model"}}},+ {"at_ms": 900, "frame": {"type": "settings.changed", "data": {"gore": "reduced", "lang": "en", "strings": {"verse.ranks.duty.working": "On watch"}}}},+ {"at_ms": 1000, "frame": {"type": "lifecycle.show", "data": {"monitor": {"x": 0, "y": 0, "w": 2560, "h": 1440, "dpi": 1.25}, "reason": "quick_start_duel"}}},+ {"at_ms": 1100, "frame": {"type": "focus.app_took", "data": {}}},+ {"at_ms": 1300, "frame": {"type": "lifecycle.quit", "data": {"reason": "app_quit", "deadline_ms": 3000}}},+ {"at_ms": 1300, "expect": {"type": "lifecycle.bye"}, "timeout_ms": 3000}+ ]+}diff --git a/tests/unit/verse_host/fixtures/bridge/scenarios/meetings.json b/tests/unit/verse_host/fixtures/bridge/scenarios/meetings.jsonnew file mode 100644index 0000000000..af9aa2c699--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/scenarios/meetings.json@@ -0,0 +1,51 @@+{+ "name": "meetings",+ "description": "A four-round team meeting with rotating speakers, then it settles; groups arrive and leave.",+ "topics": [+ "groups",+ "meetings"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {+ "groups.snapshot": {+ "groups": [+ {+ "group_id": "grp_a",+ "name": "Release crew",+ "members": [+ "ag_000",+ "ag_001",+ "ag_002"+ ],+ "lead": "ag_000",+ "goal": {+ "goal_id": "g_9",+ "state": "running"+ }+ }+ ]+ }+ },+ "replies": {+ "meeting.start": [+ {+ "ok": false,+ "error": {+ "code": "conflict",+ "message": "The person declined."+ }+ }+ ]+ },+ "steps": [+ {"at_ms": 200, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 1, "speaker": "ag_000", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 1, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}]}}},+ {"at_ms": 400, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 2, "speaker": "ag_001", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 2, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}]}}},+ {"at_ms": 600, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 3, "speaker": "ag_002", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 3, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}, {"id": "evt_m03", "speaker": "ag_002", "text": "I can write the missing settings page today."}]}}},+ {"at_ms": 800, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 4, "speaker": "ag_000", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 4, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}, {"id": "evt_m03", "speaker": "ag_002", "text": "I can write the missing settings page today."}, {"id": "evt_m04", "speaker": "ag_000", "text": "Then we ship after the docs land."}]}}},+ {"at_ms": 1000, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": false, "round": 4, "speaker": null, "room": {"room_id": "room_44", "phase": "settle", "topic": "Ship 4.2?", "rounds": 4, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}, {"id": "evt_m03", "speaker": "ag_002", "text": "I can write the missing settings page today."}, {"id": "evt_m04", "speaker": "ag_000", "text": "Then we ship after the docs land."}], "reason": "consensus"}}},+ {"at_ms": 1100, "frame": {"type": "groups.delta", "data": {"upsert": {"groups": [{"group_id": "grp_b", "name": "Docs crew", "members": ["ag_003", "ag_005"], "lead": "ag_003", "goal": null}]}, "remove": {"groups": []}}}},+ {"at_ms": 1200, "frame": {"type": "groups.delta", "data": {"upsert": {"groups": [{"group_id": "grp_a", "goal": {"goal_id": "g_9", "state": "done"}}]}, "remove": {"groups": ["grp_b"]}}}},+ {"at_ms": 1300, "expect": {"type": "meeting.start"}, "timeout_ms": 5000, "optional": true, "note": "The Verse may start a meeting; the person declines (conflict)."}+ ]+}diff --git a/tests/unit/verse_host/fixtures/bridge/scenarios/panel.json b/tests/unit/verse_host/fixtures/bridge/scenarios/panel.jsonnew file mode 100644index 0000000000..8ee7272867--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/scenarios/panel.json@@ -0,0 +1,17 @@+{+ "name": "panel",+ "description": "The IDE side panel shows the stream, resizes twice, then hides (stop within 1 s).",+ "topics": [],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {},+ "replies": {},+ "steps": [+ {"at_ms": 100, "frame": {"type": "panel.visibility", "data": {"visible": true, "w": 480, "h": 320, "dpr": 1.5}}},+ {"at_ms": 100, "expect": {"type": "panel.stream_state", "data": {"state": "streaming"}}, "timeout_ms": 5000},+ {"at_ms": 600, "frame": {"type": "panel.resize", "data": {"w": 560, "h": 360, "dpr": 1.5}}},+ {"at_ms": 900, "frame": {"type": "panel.resize", "data": {"w": 560, "h": 360, "dpr": 2.0}}},+ {"at_ms": 1200, "frame": {"type": "panel.visibility", "data": {"visible": false, "w": 0, "h": 0, "dpr": 2.0}}},+ {"at_ms": 1200, "expect": {"type": "panel.stream_state", "data": {"state": "stopped"}}, "timeout_ms": 1000}+ ]+}diff --git a/tests/unit/verse_host/fixtures/bridge/scenarios/roster_churn.json b/tests/unit/verse_host/fixtures/bridge/scenarios/roster_churn.jsonnew file mode 100644index 0000000000..a82c9a8162--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/scenarios/roster_churn.json@@ -0,0 +1,227 @@+{+ "name": "roster_churn",+ "description": "Agents and panes change duty, arrive, leave; a coalesced snapshot; unknown enum values.",+ "topics": [+ "roster"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {+ "roster.snapshot": {+ "commander": {+ "subject_id": "person",+ "level": 14,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ },+ "agents": [+ {+ "agent_id": "ag_000",+ "name": "Mara",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 1,+ "rank": "recruit",+ "look": "look_00",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_001",+ "name": "Oren",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 2,+ "rank": "recruit",+ "look": "look_01",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_002",+ "name": "Tavi",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 3,+ "rank": "recruit",+ "look": "look_02",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_003",+ "name": "Senna",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 4,+ "rank": "deckhand",+ "look": "look_03",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_004",+ "name": "Bryn",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 5,+ "rank": "deckhand",+ "look": "look_04",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_005",+ "name": "Kade",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 6,+ "rank": "deckhand",+ "look": "look_05",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ }+ ],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "workspace_id": "ws_91",+ "key": "T1",+ "history_id": "h_01",+ "name": "T1",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 1",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T2",+ "workspace_id": "ws_91",+ "key": "T2",+ "history_id": "h_02",+ "name": "T2",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 2",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T3",+ "workspace_id": "ws_91",+ "key": "T3",+ "history_id": "h_03",+ "name": "T3",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 3",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T4",+ "workspace_id": "ws_91",+ "key": "T4",+ "history_id": "h_04",+ "name": "T4",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 4",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ }+ ]+ }+ },+ "replies": {},+ "steps": [+ {"at_ms": 100, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_000", "run_state": "working", "duty": "working"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 200, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_001", "run_state": "waiting", "duty": "waiting", "waiting_reason": "question"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 300, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_002", "lifecycle": "paused", "run_state": "paused", "duty": "paused"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 400, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_003", "duty": "error"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}, "note": "A blocked result: duty error while run_state stays idle"},+ {"at_ms": 500, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_006", "name": "Ilka", "title": "Test writer", "tier": "specialist", "lifecycle": "active", "run_state": "working", "waiting_reason": null, "duty": "working", "level": 7, "rank": "technician", "look": "look_00", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}, "note": "A new agent arrives complete"},+ {"at_ms": 600, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": []}, "remove": {"agents": ["ag_004"], "panes": []}, "commander": null}}},+ {"at_ms": 700, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T5", "workspace_id": "ws_91", "key": "T5", "history_id": "h_05", "name": "T5", "display_name": "Agent CLI", "agent": "claude", "title": "Task 5", "status": "pending", "activity": "starting", "activity_since": null, "worked": false, "duty": "working", "workspace_active": true, "cols": 132, "rows": 40}]}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 800, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T5", "status": "live", "activity": "asking", "duty": "waiting"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 900, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": []}, "remove": {"agents": [], "panes": ["ws_91:T2"]}, "commander": null}}},+ {"at_ms": 1000, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T3", "status": "exited", "activity": "exited", "duty": "idle"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 1100, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": {"subject_id": "person", "level": 15, "rank": "lieutenant", "title": "Lieutenant", "uniform": "standard"}}}},+ {"at_ms": 1200, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_005", "duty": "on_leave"}], "panes": [{"pane_id": "ws_91:T4", "activity": "hibernating"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}, "lenient": true, "note": "Unknown duty and activity values: readers fall back to idle and unknown"},+ {"at_ms": 1300, "frame": {"type": "roster.snapshot", "data": {"commander": {"subject_id": "person", "level": 15, "rank": "lieutenant", "title": "Lieutenant", "uniform": "standard"}, "agents": [{"agent_id": "ag_000", "name": "Mara", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 1, "rank": "recruit", "look": "look_00", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_001", "name": "Oren", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 2, "rank": "recruit", "look": "look_01", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_002", "name": "Tavi", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 3, "rank": "recruit", "look": "look_02", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_003", "name": "Senna", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 4, "rank": "deckhand", "look": "look_03", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_005", "name": "Kade", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 6, "rank": "deckhand", "look": "look_05", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_006", "name": "Lio", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 7, "rank": "technician", "look": "look_00", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}], "panes": [{"pane_id": "ws_91:T1", "workspace_id": "ws_91", "key": "T1", "history_id": "h_01", "name": "T1", "display_name": "Agent CLI", "agent": "claude", "title": "Task 1", "status": "live", "activity": "working", "activity_since": 1793612280.0, "worked": true, "duty": "working", "workspace_active": true, "cols": 132, "rows": 40}, {"pane_id": "ws_91:T3", "workspace_id": "ws_91", "key": "T3", "history_id": "h_03", "name": "T3", "display_name": "Agent CLI", "agent": "claude", "title": "Task 3", "status": "exited", "activity": "exited", "activity_since": 1793612280.0, "worked": true, "duty": "idle", "workspace_active": true, "cols": 132, "rows": 40}, {"pane_id": "ws_91:T4", "workspace_id": "ws_91", "key": "T4", "history_id": "h_04", "name": "T4", "display_name": "Agent CLI", "agent": "claude", "title": "Task 4", "status": "live", "activity": "working", "activity_since": 1793612280.0, "worked": true, "duty": "working", "workspace_active": true, "cols": 132, "rows": 40}, {"pane_id": "ws_91:T5", "workspace_id": "ws_91", "key": "T5", "history_id": "h_05", "name": "T5", "display_name": "Agent CLI", "agent": "claude", "title": "Task 5", "status": "live", "activity": "asking", "activity_since": 1793612280.0, "worked": true, "duty": "waiting", "workspace_active": true, "cols": 132, "rows": 40}]}}, "note": "Queue overflow: deltas coalesced into a fresh snapshot"},+ {"at_ms": 1400, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_000", "run_state": "working", "duty": "working"}, {"agent_id": "ag_001", "run_state": "working", "duty": "working"}, {"agent_id": "ag_002", "run_state": "working", "duty": "working"}, {"agent_id": "ag_003", "run_state": "working", "duty": "working"}, {"agent_id": "ag_005", "run_state": "working", "duty": "working"}, {"agent_id": "ag_006", "run_state": "working", "duty": "working"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}}+ ]+}diff --git a/tests/unit/verse_host/fixtures/bridge/verse.bridge.1.schema.json b/tests/unit/verse_host/fixtures/bridge/verse.bridge.1.schema.jsonnew file mode 100644index 0000000000..d96b3fad12--- /dev/null+++ b/tests/unit/verse_host/fixtures/bridge/verse.bridge.1.schema.json@@ -0,0 +1,3937 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://dodaios.dev/schemas/verse.bridge/1",+ "title": "verse.bridge/1",+ "description": "Frozen message schemas of docs/verse/unreal/contracts/bridge-protocol.md. 'x-messages' lists every message type with its direction, kind, topic and the $defs entries of its frame, data and (commands) reply result. 'x-fallback' on an enum names the value a reader uses for an unknown one. Golden data must match exactly (no unknown fields or values); live readers ignore unknown fields and map unknown enum values to their fallback.",+ "x-protocol": "verse.bridge/1",+ "x-kinds": {+ "handshake": "hello (first Verse frame, no id) and welcome (seq 1)",+ "command": "Verse to server, carries id, answered by exactly one reply whose re is that id",+ "notice": "Verse to server, no id, no reply",+ "feed": "Server to Verse on a topic; snapshot first, deltas carry base",+ "event": "Server to Verse, never dropped",+ "reply": "Server to Verse, answers one command"+ },+ "x-subscribed-topics": [+ "roster",+ "groups",+ "meetings",+ "progression",+ "companion"+ ],+ "x-watched-topics": {+ "screens": "screens.watch",+ "chat_tails": "chat_tails.watch"+ },+ "x-error-codes": [+ "bad_request",+ "not_found",+ "conflict",+ "busy",+ "unavailable",+ "rate_limited",+ "internal"+ ],+ "x-close-codes": {+ "1009": "frame over 1 MiB",+ "4400": "missing or malformed hello",+ "4401": "wrong token",+ "4403": "peer not on loopback",+ "4409": "replaced by a newer client",+ "4426": "unsupported protocol"+ },+ "x-limits": {+ "max_frame_bytes": 1048576,+ "screens_max_panes": 8,+ "screens_max_rows": 60,+ "screens_max_cols": 240,+ "screens_max_hz": 10,+ "screens_max_bytes_per_s": 204800,+ "chat_tails_max_agents": 6,+ "chat_tail_lines": 12,+ "meeting_messages": 8,+ "meeting_text_chars": 200,+ "ping_interval_ms": 1000,+ "dead_link_ms": 5000,+ "hello_timeout_ms": 5000+ },+ "x-messages": {+ "agent.create": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.agent.create",+ "result": "#/$defs/result.agent.create",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "agent.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.agent.open",+ "result": "#/$defs/result.agent.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "agents.open_list": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.agents.open_list",+ "result": "#/$defs/result.agents.open_list",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "chat_tails.update": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "6",+ "data": "#/$defs/data.chat_tails.update",+ "topic": "chat_tails",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "chat_tails.watch": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "6",+ "data": "#/$defs/data.chat_tails.watch",+ "result": "#/$defs/result.chat_tails.watch",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "companion.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "14",+ "data": "#/$defs/data.companion.snapshot",+ "topic": "companion",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "companion.update": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "14",+ "data": "#/$defs/data.companion.update",+ "topic": "companion",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "duel.result": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "10",+ "data": "#/$defs/data.duel.result",+ "result": "#/$defs/result.duel.result",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "focus.app_took": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.focus.app_took",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "focus.return_to_app": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.focus.return_to_app",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "gpu.free": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.gpu.free",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "gpu.yield": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.gpu.yield",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "group.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.group.open",+ "result": "#/$defs/result.group.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "groups.delta": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "7",+ "data": "#/$defs/data.groups.delta",+ "topic": "groups",+ "delta": true,+ "frame": "#/$defs/frame.server_to_verse.delta"+ },+ "groups.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "7",+ "data": "#/$defs/data.groups.snapshot",+ "topic": "groups",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "hello": {+ "dir": "verse_to_server",+ "kind": "handshake",+ "section": "3.1",+ "data": "#/$defs/data.hello",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "ide.focus_terminal": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.ide.focus_terminal",+ "result": "#/$defs/result.ide.focus_terminal",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "ide.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.ide.open",+ "result": "#/$defs/result.ide.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "launcher.cancel": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.launcher.cancel",+ "result": "#/$defs/result.launcher.cancel",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "launcher.options": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.launcher.options",+ "result": "#/$defs/result.launcher.options",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "launcher.start": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11, 14",+ "data": "#/$defs/data.launcher.start",+ "result": "#/$defs/result.launcher.start",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "lifecycle.bye": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.lifecycle.bye",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "lifecycle.hide": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.hide",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.pause": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.pause",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.quit": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.quit",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.ready": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.lifecycle.ready",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "lifecycle.resume": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.resume",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.show": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.show",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.state": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.lifecycle.state",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "log": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "8",+ "data": "#/$defs/data.log",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "meeting.start": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "7",+ "data": "#/$defs/data.meeting.start",+ "result": "#/$defs/result.meeting.start",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "meeting.stop": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "7",+ "data": "#/$defs/data.meeting.stop",+ "result": "#/$defs/result.meeting.stop",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "meetings.update": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "7",+ "data": "#/$defs/data.meetings.update",+ "topic": "meetings",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "pane.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11, 14",+ "data": "#/$defs/data.pane.open",+ "result": "#/$defs/result.pane.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "panel.resize": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.panel.resize",+ "topic": "panel",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "panel.stream_state": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.panel.stream_state",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "panel.visibility": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.panel.visibility",+ "topic": "panel",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "ping": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "1",+ "data": "#/$defs/data.ping",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "pong": {+ "dir": "server_to_verse",+ "kind": "notice",+ "section": "1",+ "data": "#/$defs/data.pong",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "progression.action": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "9",+ "data": "#/$defs/data.progression.action",+ "result": "#/$defs/result.progression.action",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "progression.awarded": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "9",+ "data": "#/$defs/data.progression.awarded",+ "topic": "progression",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "progression.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "9",+ "data": "#/$defs/data.progression.snapshot",+ "topic": "progression",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "progression.told": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.progression.told",+ "result": "#/$defs/result.progression.told",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "qa.exec": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.qa.exec",+ "result": "#/$defs/result.qa.exec",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "reply": {+ "dir": "server_to_verse",+ "kind": "reply",+ "section": "2",+ "data": "#/$defs/data.reply",+ "frame": "#/$defs/frame.server_to_verse.reply"+ },+ "resync": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "3.3",+ "data": "#/$defs/data.resync",+ "result": "#/$defs/result.resync",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "roster.delta": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "4.3",+ "data": "#/$defs/data.roster.delta",+ "topic": "roster",+ "delta": true,+ "frame": "#/$defs/frame.server_to_verse.delta"+ },+ "roster.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "4.2",+ "data": "#/$defs/data.roster.snapshot",+ "topic": "roster",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "screens.frame": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "5.4",+ "data": "#/$defs/data.screens.frame",+ "topic": "screens",+ "delta": true,+ "x-note": "Only kind delta carries base; a snapshot does not.",+ "frame": "#/$defs/frame.server_to_verse.delta"+ },+ "screens.gone": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "5.4",+ "data": "#/$defs/data.screens.gone",+ "topic": "screens",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "screens.meta": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "5.4",+ "data": "#/$defs/data.screens.meta",+ "topic": "screens",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "screens.watch": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "5.2",+ "data": "#/$defs/data.screens.watch",+ "result": "#/$defs/result.screens.watch",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "settings.changed": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12, 14",+ "data": "#/$defs/data.settings.changed",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "settings.set": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.settings.set",+ "result": "#/$defs/result.settings.set",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "simulator.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.simulator.open",+ "result": "#/$defs/result.simulator.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "subscribe": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "3.3",+ "data": "#/$defs/data.subscribe",+ "result": "#/$defs/result.subscribe",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "unsubscribe": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "3.3",+ "data": "#/$defs/data.unsubscribe",+ "result": "#/$defs/result.unsubscribe",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "welcome": {+ "dir": "server_to_verse",+ "kind": "handshake",+ "section": "3.2",+ "data": "#/$defs/data.welcome",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "window.state": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.window.state",+ "frame": "#/$defs/frame.verse_to_server.notice"+ }+ },+ "$defs": {+ "ts": {+ "type": "number",+ "minimum": 0+ },+ "seq": {+ "type": "integer",+ "minimum": 1,+ "maximum": 4294967295+ },+ "req_id": {+ "type": "string",+ "pattern": "^[A-Za-z0-9._:-]{1,64}$"+ },+ "type_name": {+ "type": "string",+ "pattern": "^[a-z_]+(\\.[a-z_]+)*$"+ },+ "agent_id": {+ "type": "string",+ "minLength": 1+ },+ "group_id": {+ "type": "string",+ "minLength": 1+ },+ "pane_id": {+ "type": "string",+ "pattern": "^[^:\\s]+:[^:\\s]+$"+ },+ "subject_id": {+ "type": "string",+ "pattern": "^(person|agent:.+|pet:.+)$"+ },+ "duty": {+ "enum": [+ "working",+ "waiting",+ "idle",+ "paused",+ "error"+ ],+ "x-fallback": "idle"+ },+ "run_state": {+ "enum": [+ "paused",+ "waiting",+ "working",+ "idle"+ ],+ "x-fallback": "idle"+ },+ "agent_lifecycle": {+ "enum": [+ "active",+ "paused"+ ],+ "x-fallback": "active"+ },+ "pane_status": {+ "enum": [+ "pending",+ "live",+ "exited",+ "error"+ ],+ "x-fallback": "pending"+ },+ "pane_activity": {+ "enum": [+ "starting",+ "working",+ "waiting",+ "asking",+ "failed",+ "exited",+ "stopped",+ "unknown",+ ""+ ],+ "x-fallback": "unknown"+ },+ "rank": {+ "enum": [+ "recruit",+ "deckhand",+ "technician",+ "senior_technician",+ "ensign",+ "lieutenant",+ "senior_lieutenant",+ "commander",+ "captain",+ "line_captain",+ "commodore",+ "rear_admiral",+ "vice_admiral",+ "admiral",+ "fleet_admiral"+ ],+ "x-fallback": "recruit"+ },+ "deck": {+ "enum": [+ "bridge",+ "ops",+ "engineering",+ "hangar"+ ]+ },+ "topic": {+ "enum": [+ "roster",+ "panes",+ "screens",+ "chat_tails",+ "meetings",+ "groups",+ "progression",+ "duel_stats",+ "companion",+ "lifecycle",+ "panel"+ ]+ },+ "bot_tier": {+ "enum": [+ "normal",+ "hard",+ "elite"+ ]+ },+ "colour": {+ "anyOf": [+ {+ "type": "null"+ },+ {+ "type": "object",+ "properties": {+ "i": {+ "type": "integer",+ "minimum": 0,+ "maximum": 255+ }+ },+ "additionalProperties": false,+ "required": [+ "i"+ ]+ },+ {+ "type": "string",+ "pattern": "^#[0-9a-f]{6}$"+ }+ ]+ },+ "attrs": {+ "type": "array",+ "items": {+ "enum": [+ "bold",+ "dim",+ "italic",+ "underline",+ "inverse",+ "strikethrough",+ "invisible",+ "blink",+ "wide"+ ]+ },+ "uniqueItems": true+ },+ "monitor": {+ "type": "object",+ "properties": {+ "x": {+ "type": "integer"+ },+ "y": {+ "type": "integer"+ },+ "w": {+ "type": "integer",+ "minimum": 1+ },+ "h": {+ "type": "integer",+ "minimum": 1+ },+ "dpi": {+ "type": "number",+ "exclusiveMinimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "x",+ "y",+ "w",+ "h",+ "dpi"+ ]+ },+ "panel_size": {+ "type": "object",+ "properties": {+ "w": {+ "type": "integer",+ "minimum": 1+ },+ "h": {+ "type": "integer",+ "minimum": 1+ },+ "dpr": {+ "type": "number",+ "exclusiveMinimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "w",+ "h",+ "dpr"+ ]+ },+ "build": {+ "type": "object",+ "properties": {+ "version": {+ "type": "string",+ "minLength": 1+ },+ "changelist": {+ "type": "string",+ "minLength": 1+ },+ "config": {+ "enum": [+ "Debug",+ "DebugGame",+ "Development",+ "Test",+ "Shipping"+ ]+ },+ "platform": {+ "enum": [+ "Win64",+ "Linux",+ "Mac"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "version",+ "changelist"+ ]+ },+ "view_settings": {+ "type": "object",+ "properties": {+ "mode": {+ "enum": [+ "overview",+ "third",+ "first"+ ],+ "x-fallback": "third"+ },+ "sensitivity": {+ "type": "number",+ "exclusiveMinimum": 0+ },+ "invert_y": {+ "type": "boolean"+ },+ "fov_third": {+ "type": "number",+ "minimum": 30,+ "maximum": 130+ },+ "fov_first": {+ "type": "number",+ "minimum": 30,+ "maximum": 130+ },+ "quality": {+ "enum": [+ "auto",+ "high",+ "low"+ ],+ "x-fallback": "auto"+ },+ "volume": {+ "type": "number",+ "minimum": 0,+ "maximum": 1+ }+ },+ "additionalProperties": false+ },+ "commander": {+ "type": "object",+ "properties": {+ "subject_id": {+ "const": "person"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "rank": {+ "$ref": "#/$defs/rank"+ },+ "title": {+ "type": "string"+ },+ "uniform": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "subject_id",+ "level",+ "rank",+ "title",+ "uniform"+ ]+ },+ "settings": {+ "type": "object",+ "properties": {+ "gore": {+ "enum": [+ "full",+ "reduced"+ ],+ "x-fallback": "full"+ },+ "reduced_motion": {+ "type": "boolean"+ },+ "return_key": {+ "type": "string",+ "minLength": 1+ },+ "ui_sound": {+ "type": "boolean"+ },+ "level_sound": {+ "type": "boolean"+ },+ "uniform": {+ "type": "string",+ "minLength": 1+ },+ "view": {+ "$ref": "#/$defs/view_settings"+ }+ },+ "additionalProperties": false+ },+ "agent": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ },+ "name": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "tier": {+ "type": "string"+ },+ "lifecycle": {+ "$ref": "#/$defs/agent_lifecycle"+ },+ "run_state": {+ "$ref": "#/$defs/run_state"+ },+ "waiting_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "rank": {+ "$ref": "#/$defs/rank"+ },+ "look": {+ "type": "string"+ },+ "figure": {+ "type": "object",+ "properties": {+ "archetype": {+ "type": "string"+ },+ "palette": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "archetype",+ "palette"+ ]+ },+ "team_ids": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_id"+ }+ },+ "pane": {+ "anyOf": [+ {+ "$ref": "#/$defs/pane_id"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id",+ "name",+ "title",+ "tier",+ "lifecycle",+ "run_state",+ "waiting_reason",+ "duty",+ "level",+ "rank",+ "look",+ "figure",+ "team_ids",+ "pane"+ ]+ },+ "agent_patch": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ },+ "name": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "tier": {+ "type": "string"+ },+ "lifecycle": {+ "$ref": "#/$defs/agent_lifecycle"+ },+ "run_state": {+ "$ref": "#/$defs/run_state"+ },+ "waiting_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "rank": {+ "$ref": "#/$defs/rank"+ },+ "look": {+ "type": "string"+ },+ "figure": {+ "type": "object",+ "properties": {+ "archetype": {+ "type": "string"+ },+ "palette": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "archetype",+ "palette"+ ]+ },+ "team_ids": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_id"+ }+ },+ "pane": {+ "anyOf": [+ {+ "$ref": "#/$defs/pane_id"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id"+ ],+ "minProperties": 2+ },+ "pane": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "key": {+ "type": "string",+ "minLength": 1+ },+ "history_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "name": {+ "type": "string"+ },+ "display_name": {+ "type": "string"+ },+ "agent": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "status": {+ "$ref": "#/$defs/pane_status"+ },+ "activity": {+ "$ref": "#/$defs/pane_activity"+ },+ "activity_since": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "worked": {+ "type": "boolean"+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "workspace_active": {+ "type": "boolean"+ },+ "cols": {+ "type": "integer",+ "minimum": 1+ },+ "rows": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "workspace_id",+ "key",+ "history_id",+ "name",+ "display_name",+ "agent",+ "title",+ "status",+ "activity",+ "activity_since",+ "worked",+ "duty",+ "workspace_active",+ "cols",+ "rows"+ ]+ },+ "pane_patch": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "key": {+ "type": "string",+ "minLength": 1+ },+ "history_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "name": {+ "type": "string"+ },+ "display_name": {+ "type": "string"+ },+ "agent": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "status": {+ "$ref": "#/$defs/pane_status"+ },+ "activity": {+ "$ref": "#/$defs/pane_activity"+ },+ "activity_since": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "worked": {+ "type": "boolean"+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "workspace_active": {+ "type": "boolean"+ },+ "cols": {+ "type": "integer",+ "minimum": 1+ },+ "rows": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id"+ ],+ "minProperties": 2+ },+ "group": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "name": {+ "type": "string"+ },+ "members": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "lead": {+ "anyOf": [+ {+ "$ref": "#/$defs/agent_id"+ },+ {+ "type": "null"+ }+ ]+ },+ "goal": {+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "goal_id": {+ "type": "string",+ "minLength": 1+ },+ "state": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "goal_id",+ "state"+ ]+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id",+ "name",+ "members",+ "lead",+ "goal"+ ]+ },+ "group_patch": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "name": {+ "type": "string"+ },+ "members": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "lead": {+ "anyOf": [+ {+ "$ref": "#/$defs/agent_id"+ },+ {+ "type": "null"+ }+ ]+ },+ "goal": {+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "goal_id": {+ "type": "string",+ "minLength": 1+ },+ "state": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "goal_id",+ "state"+ ]+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id"+ ],+ "minProperties": 2+ },+ "run": {+ "type": "object",+ "properties": {+ "col": {+ "type": "integer",+ "minimum": 0,+ "maximum": 239+ },+ "text": {+ "type": "string",+ "minLength": 1+ },+ "fg": {+ "$ref": "#/$defs/colour"+ },+ "bg": {+ "$ref": "#/$defs/colour"+ },+ "attrs": {+ "$ref": "#/$defs/attrs"+ }+ },+ "additionalProperties": false,+ "required": [+ "col",+ "text",+ "fg",+ "bg",+ "attrs"+ ]+ },+ "row_record": {+ "type": "object",+ "properties": {+ "row": {+ "type": "integer",+ "minimum": 0,+ "maximum": 59+ },+ "runs": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/run"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "row",+ "runs"+ ]+ },+ "award": {+ "type": "object",+ "properties": {+ "seq": {+ "type": "integer",+ "minimum": 1+ },+ "subject_id": {+ "$ref": "#/$defs/subject_id"+ },+ "subject_kind": {+ "enum": [+ "person",+ "agent",+ "pet"+ ]+ },+ "xp_source": {+ "type": "string",+ "minLength": 1+ },+ "xp": {+ "type": "integer",+ "minimum": 0+ },+ "total_xp": {+ "type": "integer",+ "minimum": 0+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "previous_level": {+ "type": "integer",+ "minimum": 1+ },+ "title": {+ "type": "string"+ },+ "unlocked": {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "unlocked_looks": {+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "seq",+ "subject_id",+ "subject_kind",+ "xp_source",+ "xp",+ "total_xp",+ "level",+ "previous_level",+ "title",+ "unlocked",+ "unlocked_looks"+ ]+ },+ "duel_stats": {+ "type": "object",+ "properties": {+ "matches": {+ "type": "integer",+ "minimum": 0+ },+ "wins": {+ "type": "integer",+ "minimum": 0+ },+ "losses": {+ "type": "integer",+ "minimum": 0+ },+ "unfinished": {+ "type": "integer",+ "minimum": 0+ },+ "kills": {+ "type": "integer",+ "minimum": 0+ },+ "deaths": {+ "type": "integer",+ "minimum": 0+ },+ "headshots": {+ "type": "integer",+ "minimum": 0+ },+ "finishers": {+ "type": "integer",+ "minimum": 0+ },+ "best_streak": {+ "type": "integer",+ "minimum": 0+ },+ "by_tier": {+ "type": "object",+ "propertyNames": {+ "enum": [+ "normal",+ "hard",+ "elite",+ "adaptive"+ ]+ },+ "additionalProperties": {+ "type": "object",+ "properties": {+ "wins": {+ "type": "integer",+ "minimum": 0+ },+ "losses": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false+ }+ }+ },+ "additionalProperties": false+ },+ "companion": {+ "type": "object",+ "properties": {+ "pet_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ]+ },+ "look": {+ "type": "string"+ },+ "style": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "pet_id",+ "look",+ "style"+ ]+ },+ "activation_token": {+ "type": "string",+ "minLength": 1+ },+ "data.hello": {+ "type": "object",+ "properties": {+ "token": {+ "type": "string",+ "minLength": 1+ },+ "protocols": {+ "type": "array",+ "items": {+ "type": "string",+ "pattern": "^verse\\.bridge/[0-9]+$"+ },+ "minItems": 1+ },+ "build": {+ "$ref": "#/$defs/build"+ },+ "pid": {+ "type": "integer",+ "minimum": 1+ },+ "last_seq": {+ "type": "integer",+ "minimum": 0+ },+ "encodings": {+ "type": "object",+ "properties": {+ "screens": {+ "type": "array",+ "items": {+ "enum": [+ "cells.bin/1",+ "cells.json/1"+ ]+ },+ "minItems": 1,+ "uniqueItems": true+ }+ },+ "additionalProperties": false+ },+ "capabilities": {+ "type": "object",+ "additionalProperties": {+ "type": "boolean"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "token",+ "protocols",+ "build",+ "pid"+ ]+ },+ "data.welcome": {+ "type": "object",+ "properties": {+ "protocol": {+ "type": "string",+ "pattern": "^verse\\.bridge/[0-9]+$"+ },+ "app_version": {+ "type": "string",+ "minLength": 1+ },+ "app_pid": {+ "type": "integer",+ "minimum": 1+ },+ "session": {+ "type": "string",+ "minLength": 1+ },+ "features": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ },+ "uniqueItems": true+ },+ "encoding": {+ "type": "object",+ "properties": {+ "screens": {+ "enum": [+ "cells.bin/1",+ "cells.json/1"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "screens"+ ]+ },+ "limits": {+ "type": "object",+ "properties": {+ "screens_max_panes": {+ "type": "integer",+ "minimum": 1+ },+ "screens_max_rows": {+ "type": "integer",+ "minimum": 1+ },+ "screens_max_cols": {+ "type": "integer",+ "minimum": 1+ },+ "screens_max_hz": {+ "type": "integer",+ "minimum": 1+ },+ "chat_tails_max_agents": {+ "type": "integer",+ "minimum": 1+ },+ "chat_tail_lines": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "screens_max_panes",+ "screens_max_rows",+ "screens_max_cols",+ "screens_max_hz",+ "chat_tails_max_agents",+ "chat_tail_lines"+ ]+ },+ "locale": {+ "type": "object",+ "properties": {+ "lang": {+ "type": "string",+ "minLength": 1+ },+ "fallback": {+ "type": "string",+ "minLength": 1+ },+ "strings": {+ "type": "object",+ "additionalProperties": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "lang",+ "fallback",+ "strings"+ ]+ },+ "settings": {+ "$ref": "#/$defs/settings"+ },+ "decks": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/deck"+ },+ "minItems": 1,+ "uniqueItems": true+ },+ "state": {+ "type": "object",+ "properties": {+ "visibility": {+ "enum": [+ "visible",+ "hidden"+ ]+ },+ "panel": {+ "enum": [+ "visible",+ "hidden"+ ]+ },+ "gpu": {+ "enum": [+ "free",+ "yield"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "visibility",+ "panel",+ "gpu"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "protocol",+ "app_version",+ "app_pid",+ "session",+ "features",+ "encoding",+ "limits",+ "locale",+ "settings",+ "decks",+ "state"+ ]+ },+ "data.ping": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.pong": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.subscribe": {+ "type": "object",+ "properties": {+ "topics": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ },+ "minItems": 1,+ "uniqueItems": true+ }+ },+ "additionalProperties": false,+ "required": [+ "topics"+ ]+ },+ "data.unsubscribe": {+ "type": "object",+ "properties": {+ "topics": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ },+ "minItems": 1,+ "uniqueItems": true+ }+ },+ "additionalProperties": false,+ "required": [+ "topics"+ ]+ },+ "data.resync": {+ "type": "object",+ "properties": {+ "topic": {+ "$ref": "#/$defs/topic"+ },+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "topic"+ ]+ },+ "data.roster.snapshot": {+ "type": "object",+ "properties": {+ "commander": {+ "$ref": "#/$defs/commander"+ },+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent"+ }+ },+ "panes": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "commander",+ "agents",+ "panes"+ ]+ },+ "data.roster.delta": {+ "type": "object",+ "properties": {+ "upsert": {+ "type": "object",+ "properties": {+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_patch"+ }+ },+ "panes": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_patch"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "agents",+ "panes"+ ]+ },+ "remove": {+ "type": "object",+ "properties": {+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "panes": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "agents",+ "panes"+ ]+ },+ "commander": {+ "anyOf": [+ {+ "$ref": "#/$defs/commander"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "upsert",+ "remove",+ "commander"+ ]+ },+ "data.screens.watch": {+ "type": "object",+ "properties": {+ "panes": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "hz": {+ "type": "integer",+ "minimum": 1,+ "maximum": 10+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "hz"+ ]+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "panes"+ ]+ },+ "data.screens.meta": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "ref": {+ "type": "integer",+ "minimum": 1,+ "maximum": 65535+ },+ "cut": {+ "type": "boolean"+ },+ "at": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "cols": {+ "type": "integer",+ "minimum": 1,+ "maximum": 240+ },+ "rows": {+ "type": "integer",+ "minimum": 1,+ "maximum": 60+ },+ "style": {+ "enum": [+ "styled",+ "plain"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "ref",+ "cut",+ "at",+ "cols",+ "rows",+ "style"+ ]+ },+ "data.screens.frame": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "kind": {+ "enum": [+ "snapshot",+ "delta"+ ]+ },+ "cols": {+ "type": "integer",+ "minimum": 1,+ "maximum": 240+ },+ "rows": {+ "type": "integer",+ "minimum": 1,+ "maximum": 60+ },+ "cursor": {+ "type": "array",+ "items": {+ "type": "integer",+ "minimum": -1,+ "maximum": 239+ },+ "minItems": 2,+ "maxItems": 2+ },+ "style": {+ "enum": [+ "styled",+ "plain"+ ]+ },+ "rows_changed": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/row_record"+ },+ "maxItems": 60+ },+ "ref": {+ "type": "integer",+ "minimum": 1,+ "maximum": 65535+ },+ "cut": {+ "type": "boolean"+ },+ "at": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "kind",+ "cols",+ "rows",+ "cursor",+ "style",+ "rows_changed"+ ],+ "if": {+ "properties": {+ "kind": {+ "const": "snapshot"+ }+ }+ },+ "then": {+ "required": [+ "ref",+ "cut",+ "at"+ ]+ },+ "else": {+ "not": {+ "anyOf": [+ {+ "required": [+ "ref"+ ]+ },+ {+ "required": [+ "cut"+ ]+ },+ {+ "required": [+ "at"+ ]+ }+ ]+ }+ }+ },+ "data.screens.gone": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "reason": {+ "enum": [+ "closed",+ "exited",+ "not_found"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "reason"+ ]+ },+ "data.chat_tails.watch": {+ "type": "object",+ "properties": {+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ },+ "uniqueItems": true+ }+ },+ "additionalProperties": false,+ "required": [+ "agents"+ ]+ },+ "data.chat_tails.update": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ },+ "version": {+ "type": "string"+ },+ "lines": {+ "type": "array",+ "items": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "kind": {+ "enum": [+ "user",+ "agent"+ ]+ },+ "text": {+ "type": "string",+ "maxLength": 160+ }+ },+ "additionalProperties": false,+ "required": [+ "kind",+ "text"+ ]+ },+ {+ "type": "object",+ "properties": {+ "kind": {+ "const": "tool"+ },+ "text": {+ "type": "string",+ "maxLength": 80+ }+ },+ "additionalProperties": false,+ "required": [+ "kind",+ "text"+ ]+ },+ {+ "type": "object",+ "properties": {+ "kind": {+ "enum": [+ "notice",+ "error"+ ]+ },+ "text": {+ "type": "string",+ "maxLength": 100+ }+ },+ "additionalProperties": false,+ "required": [+ "kind",+ "text"+ ]+ }+ ]+ },+ "maxItems": 12+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id",+ "version",+ "lines"+ ]+ },+ "data.groups.snapshot": {+ "type": "object",+ "properties": {+ "groups": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "groups"+ ]+ },+ "data.groups.delta": {+ "type": "object",+ "properties": {+ "upsert": {+ "type": "object",+ "properties": {+ "groups": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_patch"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "groups"+ ]+ },+ "remove": {+ "type": "object",+ "properties": {+ "groups": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "groups"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "upsert",+ "remove"+ ]+ },+ "data.meetings.update": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "running": {+ "type": "boolean"+ },+ "round": {+ "anyOf": [+ {+ "type": "integer",+ "minimum": 0+ },+ {+ "type": "null"+ }+ ]+ },+ "speaker": {+ "anyOf": [+ {+ "$ref": "#/$defs/agent_id"+ },+ {+ "type": "null"+ }+ ]+ },+ "room": {+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "room_id": {+ "type": "string",+ "minLength": 1+ },+ "phase": {+ "enum": [+ "open",+ "settle"+ ]+ },+ "topic": {+ "type": "string"+ },+ "rounds": {+ "type": "integer",+ "minimum": 0+ },+ "max_rounds": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "room_id",+ "phase",+ "topic",+ "rounds",+ "max_rounds"+ ]+ },+ {+ "type": "null"+ }+ ]+ },+ "messages": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "minLength": 1+ },+ "speaker": {+ "$ref": "#/$defs/agent_id"+ },+ "text": {+ "type": "string",+ "maxLength": 200+ }+ },+ "additionalProperties": false,+ "required": [+ "id",+ "speaker",+ "text"+ ]+ },+ "maxItems": 8+ },+ "reason": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id",+ "running",+ "round",+ "speaker",+ "room",+ "messages"+ ]+ },+ "data.meeting.start": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "text": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id",+ "text"+ ]+ },+ "data.meeting.stop": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id"+ ]+ },+ "data.progression.snapshot": {+ "type": "object",+ "properties": {+ "subjects": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "subject_id": {+ "$ref": "#/$defs/subject_id"+ },+ "kind": {+ "enum": [+ "person",+ "agent",+ "pet"+ ]+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "total_xp": {+ "type": "integer",+ "minimum": 0+ },+ "into_level": {+ "type": "integer",+ "minimum": 0+ },+ "for_next": {+ "type": "integer",+ "minimum": 0+ },+ "title": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "subject_id",+ "kind",+ "level",+ "total_xp",+ "into_level",+ "for_next",+ "title"+ ]+ }+ },+ "pet_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ]+ },+ "latest_seq": {+ "type": "integer",+ "minimum": 0+ },+ "told_seq": {+ "type": "integer",+ "minimum": 0+ },+ "rulebook": {+ "type": "object",+ "properties": {+ "ranks": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "id": {+ "$ref": "#/$defs/rank"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "tier": {+ "enum": [+ "deck",+ "line",+ "command",+ "flag"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "id",+ "level",+ "tier"+ ]+ }+ },+ "rewards": {+ "type": "array",+ "items": {+ "type": "object"+ }+ },+ "looks": {+ "type": "array",+ "items": {+ "type": "object"+ }+ },+ "titles": {+ "type": "object",+ "additionalProperties": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "ranks",+ "rewards",+ "looks",+ "titles"+ ]+ },+ "duel_stats": {+ "$ref": "#/$defs/duel_stats"+ }+ },+ "additionalProperties": false,+ "required": [+ "subjects",+ "pet_id",+ "latest_seq",+ "told_seq",+ "rulebook",+ "duel_stats"+ ]+ },+ "data.progression.awarded": {+ "$ref": "#/$defs/award"+ },+ "data.progression.action": {+ "type": "object",+ "properties": {+ "action": {+ "enum": [+ "daily_visit",+ "deck_discovered",+ "inspection",+ "walk_together",+ "team_briefing",+ "simulator_round",+ "simulator_record"+ ]+ },+ "ref": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "action",+ "ref"+ ]+ },+ "data.progression.told": {+ "type": "object",+ "properties": {+ "seq": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "seq"+ ]+ },+ "data.duel.result": {+ "type": "object",+ "properties": {+ "match_id": {+ "type": "string",+ "minLength": 1+ },+ "session_id": {+ "type": "string",+ "minLength": 1+ },+ "set_index": {+ "type": "integer",+ "minimum": 1+ },+ "mode": {+ "type": "string",+ "minLength": 1+ },+ "ruleset": {+ "type": "string",+ "minLength": 1+ },+ "opponent": {+ "type": "object",+ "properties": {+ "kind": {+ "enum": [+ "bot",+ "player"+ ]+ },+ "tier": {+ "$ref": "#/$defs/bot_tier"+ },+ "adaptive": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "kind"+ ]+ },+ "started_at": {+ "$ref": "#/$defs/ts"+ },+ "ended_at": {+ "$ref": "#/$defs/ts"+ },+ "match_time_s": {+ "type": "number",+ "minimum": 0+ },+ "end_reason": {+ "enum": [+ "set_complete",+ "player_left",+ "verse_quit",+ "crash_recovered",+ "app_quit"+ ]+ },+ "outcome": {+ "enum": [+ "won",+ "lost",+ "unfinished"+ ]+ },+ "score": {+ "type": "object",+ "properties": {+ "player": {+ "type": "integer",+ "minimum": 0+ },+ "opponent": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "player",+ "opponent"+ ]+ },+ "stats": {+ "type": "object",+ "properties": {+ "kills": {+ "type": "integer",+ "minimum": 0+ },+ "deaths": {+ "type": "integer",+ "minimum": 0+ },+ "headshots": {+ "type": "integer",+ "minimum": 0+ },+ "finishers": {+ "type": "integer",+ "minimum": 0+ },+ "melee_kills": {+ "type": "integer",+ "minimum": 0+ },+ "shots_fired": {+ "type": "integer",+ "minimum": 0+ },+ "shots_hit": {+ "type": "integer",+ "minimum": 0+ },+ "damage_dealt": {+ "type": "integer",+ "minimum": 0+ },+ "damage_taken": {+ "type": "integer",+ "minimum": 0+ },+ "walls_breached": {+ "type": "integer",+ "minimum": 0+ },+ "bulwarks_placed": {+ "type": "integer",+ "minimum": 0+ },+ "best_streak": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "kills",+ "deaths",+ "headshots",+ "finishers",+ "melee_kills",+ "shots_fired",+ "shots_hit",+ "damage_dealt",+ "damage_taken",+ "walls_breached",+ "bulwarks_placed",+ "best_streak"+ ]+ },+ "weapons": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "weapon_id": {+ "type": "string",+ "pattern": "^[a-z0-9_]+$"+ },+ "kills": {+ "type": "integer",+ "minimum": 0+ },+ "headshots": {+ "type": "integer",+ "minimum": 0+ },+ "shots_fired": {+ "type": "integer",+ "minimum": 0+ },+ "shots_hit": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "weapon_id",+ "kills",+ "headshots",+ "shots_fired",+ "shots_hit"+ ]+ }+ },+ "build": {+ "$ref": "#/$defs/build"+ }+ },+ "additionalProperties": false,+ "required": [+ "match_id",+ "session_id",+ "set_index",+ "mode",+ "ruleset",+ "opponent",+ "started_at",+ "ended_at",+ "match_time_s",+ "end_reason",+ "outcome",+ "score",+ "stats",+ "weapons",+ "build"+ ]+ },+ "data.pane.open": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "open": {+ "enum": [+ "changes"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id"+ ]+ },+ "data.agent.open": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id"+ ]+ },+ "data.ide.focus_terminal": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id"+ ]+ },+ "data.agent.create": {+ "type": "object",+ "properties": {+ "name": {+ "type": "string",+ "minLength": 1+ },+ "title": {+ "type": "string"+ },+ "figure": {+ "type": "object",+ "properties": {+ "archetype": {+ "type": "string"+ },+ "palette": {+ "type": "string"+ }+ },+ "additionalProperties": false+ }+ },+ "additionalProperties": false+ },+ "data.launcher.start": {+ "type": "object",+ "properties": {+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "agents": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "agent": {+ "type": "string",+ "minLength": 1+ },+ "count": {+ "type": "integer",+ "minimum": 1,+ "maximum": 8+ }+ },+ "additionalProperties": false,+ "required": [+ "agent",+ "count"+ ]+ },+ "minItems": 1+ },+ "brief": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "agents",+ "brief"+ ]+ },+ "data.launcher.options": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.lifecycle.show": {+ "type": "object",+ "properties": {+ "monitor": {+ "$ref": "#/$defs/monitor"+ },+ "reason": {+ "enum": [+ "verse_view",+ "quick_start_duel",+ "station"+ ]+ },+ "activation_token": {+ "$ref": "#/$defs/activation_token"+ }+ },+ "additionalProperties": false,+ "required": [+ "monitor",+ "reason"+ ]+ },+ "data.lifecycle.hide": {+ "type": "object",+ "properties": {+ "reason": {+ "enum": [+ "app_focus",+ "user",+ "minimised"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.lifecycle.pause": {+ "type": "object",+ "properties": {+ "reason": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.lifecycle.resume": {+ "type": "object",+ "properties": {+ "reason": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.lifecycle.quit": {+ "type": "object",+ "properties": {+ "reason": {+ "enum": [+ "app_quit",+ "idle_10min",+ "gpu_pressure",+ "update"+ ]+ },+ "deadline_ms": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "reason",+ "deadline_ms"+ ]+ },+ "data.panel.visibility": {+ "type": "object",+ "properties": {+ "visible": {+ "type": "boolean"+ },+ "w": {+ "type": "integer",+ "minimum": 0+ },+ "h": {+ "type": "integer",+ "minimum": 0+ },+ "dpr": {+ "type": "number",+ "exclusiveMinimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "visible",+ "w",+ "h",+ "dpr"+ ]+ },+ "data.panel.resize": {+ "$ref": "#/$defs/panel_size"+ },+ "data.gpu.yield": {+ "type": "object",+ "properties": {+ "by": {+ "enum": [+ "blender_cook",+ "local_stt",+ "local_model",+ "other"+ ],+ "x-fallback": "other"+ }+ },+ "additionalProperties": false,+ "required": [+ "by"+ ]+ },+ "data.gpu.free": {+ "type": "object",+ "properties": {+ "by": {+ "enum": [+ "blender_cook",+ "local_stt",+ "local_model",+ "other"+ ],+ "x-fallback": "other"+ }+ },+ "additionalProperties": false,+ "required": [+ "by"+ ]+ },+ "data.settings.changed": {+ "type": "object",+ "properties": {+ "gore": {+ "enum": [+ "full",+ "reduced"+ ],+ "x-fallback": "full"+ },+ "reduced_motion": {+ "type": "boolean"+ },+ "return_key": {+ "type": "string",+ "minLength": 1+ },+ "ui_sound": {+ "type": "boolean"+ },+ "level_sound": {+ "type": "boolean"+ },+ "uniform": {+ "type": "string",+ "minLength": 1+ },+ "view": {+ "$ref": "#/$defs/view_settings"+ },+ "lang": {+ "type": "string",+ "minLength": 1+ },+ "strings": {+ "type": "object",+ "additionalProperties": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "minProperties": 1+ },+ "data.focus.app_took": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.lifecycle.state": {+ "type": "object",+ "properties": {+ "state": {+ "enum": [+ "booting",+ "visible",+ "panel",+ "dormant",+ "exiting"+ ]+ },+ "vram_mb": {+ "type": "integer",+ "minimum": 0+ },+ "fps": {+ "type": "number",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "state"+ ]+ },+ "data.lifecycle.ready": {+ "type": "object",+ "properties": {+ "first_frame_ms": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "first_frame_ms"+ ]+ },+ "data.focus.return_to_app": {+ "type": "object",+ "properties": {+ "reason": {+ "enum": [+ "return_key",+ "station",+ "esc_menu"+ ]+ },+ "activation_token": {+ "$ref": "#/$defs/activation_token"+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.window.state": {+ "type": "object",+ "properties": {+ "visible": {+ "type": "boolean"+ },+ "minimised": {+ "type": "boolean"+ },+ "monitor": {+ "$ref": "#/$defs/monitor"+ }+ },+ "additionalProperties": false,+ "required": [+ "visible",+ "minimised",+ "monitor"+ ]+ },+ "data.panel.stream_state": {+ "type": "object",+ "properties": {+ "state": {+ "enum": [+ "starting",+ "streaming",+ "stopped",+ "failed"+ ]+ },+ "error": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "state"+ ]+ },+ "data.lifecycle.bye": {+ "type": "object",+ "properties": {+ "saved": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "saved"+ ]+ },+ "data.agents.open_list": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.group.open": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id"+ ]+ },+ "data.simulator.open": {+ "type": "object",+ "properties": {+ "programme": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "programme"+ ]+ },+ "data.ide.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.launcher.cancel": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.settings.set": {+ "type": "object",+ "properties": {+ "gore": {+ "enum": [+ "full",+ "reduced"+ ],+ "x-fallback": "full"+ },+ "reduced_motion": {+ "type": "boolean"+ },+ "return_key": {+ "type": "string",+ "minLength": 1+ },+ "ui_sound": {+ "type": "boolean"+ },+ "level_sound": {+ "type": "boolean"+ },+ "uniform": {+ "type": "string",+ "minLength": 1+ },+ "view": {+ "$ref": "#/$defs/view_settings"+ }+ },+ "additionalProperties": false,+ "minProperties": 1+ },+ "data.companion.snapshot": {+ "$ref": "#/$defs/companion"+ },+ "data.companion.update": {+ "$ref": "#/$defs/companion"+ },+ "data.qa.exec": {+ "type": "object",+ "properties": {+ "command": {+ "type": "string",+ "pattern": "^Verse\\.QA\\.[A-Za-z0-9_.]+$"+ },+ "args": {+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "command"+ ]+ },+ "data.log": {+ "type": "object",+ "properties": {+ "level": {+ "enum": [+ "info",+ "warning",+ "error"+ ]+ },+ "category": {+ "type": "string",+ "minLength": 1+ },+ "message": {+ "type": "string",+ "maxLength": 2000+ }+ },+ "additionalProperties": false,+ "required": [+ "level",+ "category",+ "message"+ ]+ },+ "data.reply": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "ok": {+ "const": true+ },+ "result": {+ "type": "object"+ }+ },+ "additionalProperties": false,+ "required": [+ "ok",+ "result"+ ]+ },+ {+ "type": "object",+ "properties": {+ "ok": {+ "const": false+ },+ "error": {+ "type": "object",+ "properties": {+ "code": {+ "enum": [+ "bad_request",+ "not_found",+ "conflict",+ "busy",+ "unavailable",+ "rate_limited",+ "internal"+ ],+ "x-fallback": "internal"+ },+ "message": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "code",+ "message"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "ok",+ "error"+ ]+ }+ ]+ },+ "result.subscribe": {+ "type": "object",+ "properties": {+ "subscribed": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ }+ },+ "unavailable": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "subscribed",+ "unavailable"+ ]+ },+ "result.unsubscribe": {+ "type": "object",+ "properties": {+ "unsubscribed": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "unsubscribed"+ ]+ },+ "result.resync": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.screens.watch": {+ "type": "object",+ "properties": {+ "bound": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "ref": {+ "type": "integer",+ "minimum": 1,+ "maximum": 65535+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "ref"+ ]+ }+ },+ "dropped": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_id"+ }+ },+ "missing": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "bound",+ "dropped",+ "missing"+ ]+ },+ "result.chat_tails.watch": {+ "type": "object",+ "properties": {+ "watching": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "dropped": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "watching",+ "dropped"+ ]+ },+ "result.meeting.start": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.meeting.stop": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.progression.action": {+ "type": "object",+ "properties": {+ "awarded": {+ "anyOf": [+ {+ "$ref": "#/$defs/award"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "awarded"+ ]+ },+ "result.progression.told": {+ "type": "object",+ "properties": {+ "told_seq": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "told_seq"+ ]+ },+ "result.duel.result": {+ "type": "object",+ "properties": {+ "recorded": {+ "type": "boolean"+ },+ "awards": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "xp_source": {+ "type": "string",+ "minLength": 1+ },+ "xp": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "xp_source",+ "xp"+ ]+ }+ },+ "duel_stats": {+ "$ref": "#/$defs/duel_stats"+ }+ },+ "additionalProperties": false,+ "required": [+ "recorded",+ "awards",+ "duel_stats"+ ]+ },+ "result.pane.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.agent.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.ide.focus_terminal": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.agent.create": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id"+ ]+ },+ "result.launcher.start": {+ "type": "object",+ "properties": {+ "panes": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "submitted": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "submitted"+ ]+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "panes"+ ]+ },+ "result.launcher.options": {+ "type": "object",+ "properties": {+ "workspaces": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "name": {+ "type": "string"+ },+ "active": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "workspace_id",+ "name",+ "active"+ ]+ }+ },+ "agents": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "agent": {+ "type": "string",+ "minLength": 1+ },+ "display_name": {+ "type": "string"+ },+ "available": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "agent",+ "display_name",+ "available"+ ]+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "workspaces",+ "agents"+ ]+ },+ "result.agents.open_list": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.group.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.simulator.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.ide.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.launcher.cancel": {+ "type": "object",+ "properties": {+ "stopped": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "stopped"+ ]+ },+ "result.settings.set": {+ "type": "object",+ "properties": {+ "settings": {+ "$ref": "#/$defs/settings"+ }+ },+ "additionalProperties": false,+ "required": [+ "settings"+ ]+ },+ "result.qa.exec": {+ "type": "object",+ "properties": {+ "result": {}+ },+ "additionalProperties": false,+ "required": [+ "result"+ ]+ },+ "frame.verse_to_server.command": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "id": {+ "$ref": "#/$defs/req_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "id"+ ]+ },+ "frame.verse_to_server.notice": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data"+ ]+ },+ "frame.server_to_verse": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "seq": {+ "$ref": "#/$defs/seq"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "seq"+ ]+ },+ "frame.server_to_verse.delta": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "seq": {+ "$ref": "#/$defs/seq"+ },+ "base": {+ "$ref": "#/$defs/seq"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "seq",+ "base"+ ]+ },+ "frame.server_to_verse.reply": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "seq": {+ "$ref": "#/$defs/seq"+ },+ "re": {+ "$ref": "#/$defs/req_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "seq",+ "re"+ ]+ }+ }+}diff --git a/tests/unit/verse_host/fixtures/test_bridge_cells.py b/tests/unit/verse_host/fixtures/test_bridge_cells.pynew file mode 100644index 0000000000..ddb035490a--- /dev/null+++ b/tests/unit/verse_host/fixtures/test_bridge_cells.py@@ -0,0 +1,107 @@+"""cells.bin/1 golden vectors: byte layout, round trip, and malformed frames (G0.11)."""++from __future__ import annotations++import struct++import pytest++from scripts.unreal import bridge_cells as bc+from scripts.unreal import bridge_schema++VECTORS = bridge_schema.read_json(bridge_schema.DATA_DIR / "cells" / "vectors.json")+VALID = {v["name"]: v for v in VECTORS["valid"]}+++def test_header_of_the_contract_example_by_offset() -> None:+ # bridge-protocol.md 5.4, read with plain struct offsets, not the codec.+ blob = bytes.fromhex(VALID["contract_delta"]["bin_hex"])+ assert blob[0:2] == b"VC"+ assert blob[2] == 1 and blob[3] == 2 # version, kind delta+ assert struct.unpack_from("<H", blob, 4) == (1,) # ref+ assert struct.unpack_from("<II", blob, 6) == (91, 88) # seq, base+ assert struct.unpack_from("<HH", blob, 14) == (132, 40) # cols, rows+ assert struct.unpack_from("<hh", blob, 18) == (39, 2) # cursor+ assert struct.unpack_from("<H", blob, 22) == (1,) # row records+ assert struct.unpack_from("<HH", blob, 24) == (38, 2) # row 38, two runs+ col, cells, fg, bg, attrs, text_bytes = struct.unpack_from("<HHIIHH", blob, 28)+ assert (col, cells, attrs) == (0, 14, 1) # bold+ assert fg == (2 << 24) | 0x4FB86A and bg == 0+ text = "✔ tests passed".encode()+ assert text_bytes == len(text) == 16+ assert blob[44 : 44 + text_bytes] == text+ col, cells, fg, bg, attrs, text_bytes = struct.unpack_from("<HHIIHH", blob, 44 + 16)+ assert (col, cells, fg, bg, attrs, text_bytes) == (14, 5, (1 << 24) | 8, 0, 0, 5)+ assert len(blob) == 44 + 16 + 16 + 5++[email protected]("name", sorted(VALID))+def test_vector_round_trips_byte_exact(name: str) -> None:+ vec = VALID[name]+ frame, blob = vec["frame"], bytes.fromhex(vec["bin_hex"])+ assert (+ bc.encode(frame["data"], ref=vec["ref"], seq=frame["seq"], base=frame.get("base")) == blob+ )+ decoded = bc.decode(blob)+ assert decoded["rows_changed"] == bc.normalise_runs(frame["data"]["rows_changed"])+ assert (decoded["seq"], decoded["ref"], decoded["kind"]) == (+ frame["seq"],+ vec["ref"],+ frame["data"]["kind"],+ )+ assert bc.encode(decoded, ref=decoded["ref"], seq=decoded["seq"], base=decoded["base"]) == blob++[email protected]("vec", VECTORS["invalid"], ids=lambda v: v["name"])+def test_malformed_vector_is_rejected(vec: dict) -> None:+ with pytest.raises(bc.CellsError):+ bc.decode(bytes.fromhex(vec["bin_hex"]))+++def test_vectors_cover_the_cell_model() -> None:+ attrs, fg_modes, wide, kinds = set(), set(), False, set()+ for vec in VECTORS["valid"]:+ kinds.add(vec["frame"]["data"]["kind"])+ for row in vec["frame"]["data"]["rows_changed"]:+ for run in row["runs"]:+ attrs.update(run["attrs"])+ for colour in (run["fg"], run["bg"]):+ fg_modes.add(bc.colour_to_u32(colour) >> 24)+ wide = wide or "wide" in run["attrs"]+ assert attrs == set(bc.ATTRS)+ assert fg_modes == {0, 1, 2}+ assert wide and kinds == {"snapshot", "delta"}+ hidden = VALID["snapshot_empty_hidden_cursor"]["frame"]["data"]+ assert hidden["cursor"] == [-1, -1] and hidden["cols"] == 240 and hidden["rows"] == 60+++def test_colour_and_attribute_encodings() -> None:+ assert bc.colour_to_u32(None) == 0+ assert bc.colour_to_u32({"i": 9}) == 0x01000009+ assert bc.colour_to_u32("#e3242b") == 0x02E3242B+ assert bc.colour_from_u32(0x02E3242B) == "#e3242b"+ assert bc.attrs_to_u16(["bold", "wide"]) == 0b1_0000_0001+ assert bc.attrs_from_u16(0b1_0001_0000) == ["inverse", "wide"]+ for bad in ({"i": 256}, "#E3242B", "red", {"i": 1, "x": 2}):+ with pytest.raises(bc.CellsError):+ bc.colour_to_u32(bad)+ with pytest.raises(bc.CellsError):+ bc.attrs_from_u16(1 << 9)+++def test_grapheme_clusters_and_spans() -> None:+ assert bc.graphemes("café") == ["c", "a", "f", "é"]+ assert len(bc.graphemes("\U0001f9d1\U0001f527")) == 1+ assert bc.run_span({"text": "漢字", "attrs": ["wide"]}) == 4+ vec = VALID["grapheme_clusters"]+ run = vec["frame"]["data"]["rows_changed"][0]["runs"][0]+ assert len(run["text"].encode()) == 6 and len(bc.graphemes(run["text"])) == 4+++def test_encoder_refuses_rows_outside_the_grid() -> None:+ data = dict(VALID["contract_delta"]["frame"]["data"])+ data["rows"] = 61+ with pytest.raises(bc.CellsError):+ bc.encode(data, ref=1, seq=2, base=1)+ with pytest.raises(bc.CellsError):+ bc.encode(VALID["contract_delta"]["frame"]["data"], ref=1, seq=2, base=None)diff --git a/tests/unit/verse_host/fixtures/test_bridge_fixtures.py b/tests/unit/verse_host/fixtures/test_bridge_fixtures.pynew file mode 100644index 0000000000..7457270b2b--- /dev/null+++ b/tests/unit/verse_host/fixtures/test_bridge_fixtures.py@@ -0,0 +1,225 @@+"""Every verse.bridge/1 golden fixture validates against the shared schema (G0.11)."""++from __future__ import annotations++import copy+import json+import shutil+from pathlib import Path++import pytest++from scripts.unreal import bridge_schema++DATA = bridge_schema.DATA_DIR+SCHEMA = bridge_schema.load()+++def _golden(type_: str) -> list[dict]:+ return bridge_schema.read_json(DATA / "messages" / f"{type_}.json")+++def test_every_fixture_and_the_mirror_check_clean() -> None:+ assert bridge_schema.check_all() == []+++ "check",+ [+ bridge_schema.check_messages,+ bridge_schema.check_replies,+ bridge_schema.check_cells,+ bridge_schema.check_scenarios,+ ],+)+def test_each_fixture_family_validates(check) -> None:+ assert check(SCHEMA, DATA) == []+++def test_mirror_reads_the_same_fixtures() -> None:+ assert bridge_schema.check_mirror() == []+ mirrored = bridge_schema.Schema(+ bridge_schema.read_json(bridge_schema.MIRROR_DIR / bridge_schema.SCHEMA_FILE)+ )+ assert mirrored.messages == SCHEMA.messages+++def test_catalogue_covers_every_contract_message() -> None:+ # bridge-protocol.md section 8, including the section 14 parity additions.+ contract = {+ "hello", "welcome", "ping", "pong", "subscribe", "unsubscribe", "resync",+ "roster.snapshot", "roster.delta",+ "screens.watch", "screens.meta", "screens.frame", "screens.gone",+ "chat_tails.watch", "chat_tails.update",+ "groups.snapshot", "groups.delta", "meetings.update", "meeting.start", "meeting.stop",+ "progression.snapshot", "progression.awarded", "progression.action", "duel.result",+ "pane.open", "agent.open", "ide.focus_terminal", "agent.create", "launcher.start",+ "launcher.options",+ "lifecycle.show", "lifecycle.hide", "lifecycle.pause", "lifecycle.resume", "lifecycle.quit",+ "panel.visibility", "panel.resize", "gpu.yield", "gpu.free", "settings.changed",+ "focus.app_took", "lifecycle.state", "lifecycle.ready", "focus.return_to_app",+ "window.state", "panel.stream_state", "lifecycle.bye",+ "agents.open_list", "group.open", "simulator.open", "ide.open", "launcher.cancel",+ "settings.set", "progression.told", "qa.exec", "companion.snapshot", "companion.update",+ "reply", "log",+ } # fmt: skip+ assert set(SCHEMA.messages) == contract+ for type_ in contract:+ assert (DATA / "messages" / f"{type_}.json").is_file(), type_+++def test_every_command_has_request_reply_pairs() -> None:+ for command in SCHEMA.commands():+ pairs = bridge_schema.read_json(DATA / "replies" / f"{command}.json")+ assert any(p["reply"]["data"]["ok"] for p in pairs), command+++def test_error_codes_are_the_contract_set_and_each_has_a_golden_reply() -> None:+ codes = set(SCHEMA.document["x-error-codes"])+ assert codes == {+ "bad_request", "not_found", "conflict", "busy", "unavailable", "rate_limited", "internal"+ } # fmt: skip+ seen = set()+ for path in (DATA / "replies").glob("*.json"):+ for pair in bridge_schema.read_json(path):+ data = pair["reply"]["data"]+ if not data["ok"]:+ seen.add(data["error"]["code"])+ assert seen == codes+++def test_first_golden_frames_are_the_contract_examples() -> None:+ delta = _golden("roster.delta")[0]+ assert (delta["seq"], delta["base"]) == (57, 49)+ assert delta["data"]["remove"]["panes"] == ["ws_91:T3"]+ frame = _golden("screens.frame")[0]+ assert frame["data"]["rows_changed"][0]["runs"][0]["text"] == "✔ tests passed"+ assert _golden("welcome")[0]["data"]["limits"]["screens_max_panes"] == 8+ duel = _golden("duel.result")[0]["data"]+ assert (duel["outcome"], duel["score"]) == ("won", {"player": 10, "opponent": 7})+++def test_unknown_enum_value_fails_golden_but_falls_back_for_a_live_reader() -> None:+ frame = copy.deepcopy(_golden("roster.delta")[0])+ frame["data"]["upsert"]["agents"][0]["duty"] = "on_leave"+ assert any("on_leave" in e for e in SCHEMA.validate_frame(frame))+ assert SCHEMA.validate_frame(frame, lenient=True) == []+ duty = SCHEMA.document["$defs"]["duty"]+ assert duty["x-fallback"] == "idle"+++def test_unknown_field_fails_golden_but_is_ignored_by_a_live_reader() -> None:+ frame = copy.deepcopy(_golden("roster.snapshot")[0])+ frame["data"]["agents"][0]["mood"] = "calm"+ assert SCHEMA.validate_frame(frame)+ assert SCHEMA.validate_frame(frame, lenient=True) == []+++def test_enum_without_fallback_stays_strict_for_live_readers() -> None:+ frame = copy.deepcopy(_golden("lifecycle.hide")[0])+ frame["data"]["reason"] = "sleep"+ assert SCHEMA.validate_frame(frame, lenient=True)+++ ("type_", "mutate", "needle"),+ [+ ("roster.delta", lambda f: f.pop("base"), "base"),+ ("roster.delta", lambda f: f.update(base=f["seq"]), "not below seq"),+ ("subscribe", lambda f: f.pop("id"), "id"),+ ("reply", lambda f: f.pop("re"), "re"),+ ("welcome", lambda f: f.pop("seq"), "seq"),+ ("hello", lambda f: f.update(id="c-1"), "id"),+ ("screens.frame", lambda f: f["data"].update(cols=241), "241"),+ ("chat_tails.update", lambda f: f["data"]["lines"][1].update(text="x" * 81), "valid under"),+ ("meetings.update", lambda f: f["data"]["messages"][0].update(text="y" * 201), "long"),+ ("progression.action", lambda f: f["data"].update(action="duel_won"), "duel_won"),+ ("pane.open", lambda f: f["data"].update(pane_id="no-colon"), "does not match"),+ ],+)+def test_validator_rejects_broken_frames(type_, mutate, needle) -> None:+ frame = copy.deepcopy(_golden(type_)[0])+ mutate(frame)+ errors = SCHEMA.validate_frame(frame)+ assert errors and any(needle in e for e in errors), errors+++def test_screens_frame_runs_must_fit_the_grid() -> None:+ frame = copy.deepcopy(_golden("screens.frame")[0])+ frame["data"]["rows_changed"][0]["runs"][1]["col"] = 10 # overlaps the first run+ assert any("overlaps" in e for e in SCHEMA.validate_frame(frame))+ frame = copy.deepcopy(_golden("screens.frame")[0])+ frame["data"]["rows_changed"][0]["row"] = 40+ assert any("outside" in e for e in SCHEMA.validate_frame(frame))+++def test_snapshot_frames_carry_ref_cut_at_and_no_base() -> None:+ snap = copy.deepcopy(_golden("screens.frame")[1])+ assert snap["data"]["kind"] == "snapshot" and "base" not in snap+ assert SCHEMA.validate_frame(snap) == []+ del snap["data"]["ref"]+ assert SCHEMA.validate_frame(snap)+ snap = copy.deepcopy(_golden("screens.frame")[1])+ snap["base"] = 1+ assert SCHEMA.validate_frame(snap)+++def test_reply_result_is_checked_against_its_command() -> None:+ pair = bridge_schema.read_json(DATA / "replies" / "screens.watch.json")[0]+ assert SCHEMA.validate_reply(pair["reply"], "screens.watch") == []+ broken = copy.deepcopy(pair["reply"])+ broken["data"]["result"]["bound"][0]["ref"] = 0+ assert SCHEMA.validate_reply(broken, "screens.watch")+ assert SCHEMA.validate_reply(pair["reply"], "roster.snapshot")+++def test_scenario_validation_catches_bad_steps() -> None:+ scenario = bridge_schema.read_json(DATA / "scenarios" / "panel.json")+ assert SCHEMA.validate_scenario(scenario) == []+ bad = copy.deepcopy(scenario)+ bad["steps"][0]["frame"]["seq"] = 5+ assert SCHEMA.validate_scenario(bad)+ bad = copy.deepcopy(scenario)+ bad["steps"][0]["at_ms"] = 5000+ assert any("at_ms" in e for e in SCHEMA.validate_scenario(bad))+ bad = copy.deepcopy(scenario)+ bad["steps"].append({"at_ms": 9000, "frame": {"type": "hello", "data": {}}})+ assert SCHEMA.validate_scenario(bad)+ bad = copy.deepcopy(scenario)+ bad["steps"].append({"at_ms": 9000, "expect": {"type": "roster.delta"}, "timeout_ms": 10})+ assert SCHEMA.validate_scenario(bad)+++def test_lenient_steps_are_really_off_contract() -> None:+ for path in (DATA / "scenarios").glob("*.json"):+ for step in bridge_schema.read_json(path)["steps"]:+ if step.get("lenient"):+ frame = {"seq": 3, "base": 2, "ts": 0.0, **step["frame"]}+ assert SCHEMA.validate_frame(frame), path.name+ assert SCHEMA.validate_frame(frame, lenient=True) == [], path.name+++def test_mirror_check_reports_drift(tmp_path: Path) -> None:+ mirror = tmp_path / "bridge"+ shutil.copytree(DATA, mirror)+ assert bridge_schema.check_mirror(DATA, mirror) == []+ target = mirror / "messages" / "ping.json"+ target.write_text(json.dumps([{"type": "ping", "ts": 1.0, "data": {}}]), encoding="utf-8")+ (mirror / "messages" / "extra.json").write_text("[]", encoding="utf-8")+ problems = bridge_schema.check_mirror(DATA, mirror)+ assert "mirror differs: messages/ping.json" in problems+ assert "mirror has extra messages/extra.json" in problems+++def test_fixture_text_is_english_and_names_no_real_people() -> None:+ # Synthetic data only (orchestration.md, visual tests): no e-mail addresses,+ # no user-profile paths, no URLs other than the loopback bridge.+ for path in DATA.rglob("*.json"):+ text = path.read_text(encoding="utf-8")+ assert "@" not in text, path+ assert "\\Users\\" not in text and "/home/" not in text, path+++def test_cli_check_passes(capsys) -> None:+ assert bridge_schema.main([]) == 0+ assert "OK" in capsys.readouterr().outdiff --git a/tests/unit/verse_host/fixtures/test_fake_bridge.py b/tests/unit/verse_host/fixtures/test_fake_bridge.pynew file mode 100644index 0000000000..924b1e42ba--- /dev/null+++ b/tests/unit/verse_host/fixtures/test_fake_bridge.py@@ -0,0 +1,416 @@+"""scripts/unreal/fake_bridge.py serves every scenario over a real WebSocket (G0.11).++A small scripted Verse client connects, says hello, subscribes and watches+what the scenario asks for, answers lifecycle and panel events the way the+Unreal side must, and checks every frame it receives against the schema.+"""++from __future__ import annotations++import asyncio+import contextlib+import json+import secrets+import subprocess+import sys+import time+from collections.abc import AsyncIterator+from pathlib import Path++import pytest+from websockets.asyncio.client import connect+from websockets.exceptions import ConnectionClosed, InvalidStatus++from scripts.unreal import bridge_cells, bridge_schema, fake_bridge++TOKEN = secrets.token_urlsafe(32)+SCHEMA = bridge_schema.load()+SCENARIOS = fake_bridge.scenario_names()+++def _hello(token: str = TOKEN, encodings=("cells.bin/1", "cells.json/1"), protocols=None) -> str:+ return json.dumps(+ {+ "type": "hello",+ "ts": time.time(),+ "data": {+ "token": token,+ "protocols": protocols or [bridge_schema.PROTOCOL],+ "build": {"version": "0.1.0", "changelist": "test", "config": "Development"},+ "pid": 4242,+ "last_seq": 0,+ "encodings": {"screens": list(encodings)},+ },+ }+ )+++async def running(name: str, **kw) -> AsyncIterator[fake_bridge.FakeBridge]:+ kw.setdefault("speed", 0.0)+ kw.setdefault("hold_s", 5.0)+ bridge = fake_bridge.FakeBridge(TOKEN, fake_bridge.load_scenario(name), **kw)+ await bridge.start()+ try:+ yield bridge+ finally:+ await bridge.stop()+++class Verse:+ """The Unreal side, reduced to what the scenarios exercise."""++ def __init__(self, ws) -> None:+ self.ws = ws+ self.json: list[dict] = []+ self.binary: list[dict] = []+ self.replies: dict[str, dict] = {}+ self.next_id = 0+ self.started_meeting = False++ async def command(self, type_: str, data: dict) -> str:+ self.next_id += 1+ rid = f"c-{self.next_id}"+ await self.ws.send(json.dumps({"type": type_, "id": rid, "ts": time.time(), "data": data}))+ return rid++ async def notice(self, type_: str, data: dict) -> None:+ await self.ws.send(json.dumps({"type": type_, "ts": time.time(), "data": data}))++ async def react(self, frame: dict) -> None:+ type_, data = frame["type"], frame["data"]+ if type_ == "reply":+ assert frame["re"] not in self.replies, "two replies to one command"+ self.replies[frame["re"]] = frame+ elif type_ == "lifecycle.show":+ await self.notice("lifecycle.state", {"state": "visible", "vram_mb": 3000, "fps": 60})+ elif type_ in {"lifecycle.hide", "focus.app_took"}:+ await self.notice("lifecycle.state", {"state": "dormant", "vram_mb": 1500, "fps": 2})+ elif type_ == "lifecycle.quit":+ await self.notice("lifecycle.bye", {"saved": True})+ elif type_ == "panel.visibility":+ state = "streaming" if data["visible"] else "stopped"+ await self.notice("panel.stream_state", {"state": state})+ elif type_ == "progression.awarded" and data["level"] > data["previous_level"]:+ if data["subject_kind"] == "person":+ await self.command("progression.told", {"seq": data["seq"]})+ elif type_ == "meetings.update" and data["running"] and not self.started_meeting:+ self.started_meeting = True+ await self.command("meeting.start", {"group_id": data["group_id"], "text": "Ship it?"})++ async def pump(self) -> None:+ with contextlib.suppress(ConnectionClosed):+ async for raw in self.ws:+ if isinstance(raw, bytes):+ self.binary.append(bridge_cells.decode(raw))+ continue+ frame = json.loads(raw)+ self.json.append(frame)+ await self.react(frame)+++async def play(bridge: fake_bridge.FakeBridge, encodings=("cells.bin/1", "cells.json/1")) -> Verse:+ scenario = bridge.scenario+ async with connect(bridge.url) as ws:+ await ws.send(_hello(encodings=encodings))+ verse = Verse(ws)+ pump = asyncio.create_task(verse.pump())+ if scenario["topics"]:+ await verse.command("subscribe", {"topics": scenario["topics"]})+ if scenario["watch_screens"]:+ panes = [{"pane_id": p, "hz": 10} for p in scenario["watch_screens"]]+ await verse.command("screens.watch", {"panes": panes})+ if scenario["watch_chat_tails"]:+ await verse.command("chat_tails.watch", {"agents": scenario["watch_chat_tails"]})+ await asyncio.wait_for(bridge.finished.wait(), 20)+ await verse.notice("ping", {})+ for _ in range(200):+ if any(f["type"] == "pong" for f in verse.json) and len(verse.replies) == verse.next_id:+ break+ await asyncio.sleep(0.01)+ await ws.close()+ await pump+ return verse+++def _check_stream(verse: Verse, scenario: dict) -> None:+ frames = verse.json+ assert frames[0]["type"] == "welcome" and frames[0]["seq"] == 1+ lenient_steps = sum(1 for s in scenario["steps"] if s.get("lenient"))+ strict_failures = 0+ for frame in frames:+ assert SCHEMA.validate_frame(frame, lenient=True) == [], frame["type"]+ if SCHEMA.validate_frame(frame):+ strict_failures += 1+ assert strict_failures == lenient_steps+ # One seq counter across JSON and binary frames, strictly increasing.+ seqs = sorted([f["seq"] for f in frames] + [b["seq"] for b in verse.binary])+ assert len(set(seqs)) == len(seqs)+ seen = set(seqs)+ for frame in frames + verse.binary:+ if frame.get("base") is not None:+ assert frame["base"] in seen and frame["base"] < frame["seq"]+ assert sorted(verse.replies) == sorted(f"c-{i}" for i in range(1, verse.next_id + 1))++[email protected]("name", SCENARIOS)+async def test_fake_bridge_serves_every_scenario(name: str) -> None:+ async with running(name) as bridge:+ verse = await play(bridge)+ report = bridge.report.as_dict()+ assert report["passed"], report+ scenario = bridge.scenario+ _check_stream(verse, scenario)+ feed_steps = [s["frame"] for s in scenario["steps"] if "frame" in s]+ received = [f for f in verse.json if f["type"] not in {"welcome", "reply", "pong"}]+ json_steps = [f for f in feed_steps if f["type"] != "screens.frame"]+ snapshots = [t for t in scenario["topics"] if t in fake_bridge.SNAPSHOT_OF]+ metas = sum(+ 1 for f in feed_steps if f["type"] == "screens.frame" and f["data"]["kind"] == "snapshot"+ )+ extra = [f for f in received if f["type"] == "screens.meta"]+ assert len(received) == len(json_steps) + len(snapshots) + len(extra)+ assert metas == sum(1 for f in received if f["type"] == "screens.meta")+ screen_steps = [f["data"] for f in feed_steps if f["type"] == "screens.frame"]+ assert [b["rows_changed"] for b in verse.binary] == [+ bridge_cells.normalise_runs(d["rows_changed"]) for d in screen_steps+ ]+++async def test_busy_panes_in_json_encoding_and_refs_from_the_watch_reply() -> None:+ async with running("busy_panes") as bridge:+ verse = await play(bridge, encodings=("cells.json/1",))+ assert bridge.report.passed+ assert verse.json[0]["data"]["encoding"] == {"screens": "cells.json/1"}+ assert not verse.binary+ watch = verse.replies["c-2"]["data"]["result"]+ refs = {b["pane_id"]: b["ref"] for b in watch["bound"]}+ assert len(refs) == 8 and watch["dropped"] == [] and watch["missing"] == []+ frames = [f for f in verse.json if f["type"] == "screens.frame"]+ steps = [+ s["frame"]["data"]+ for s in bridge.scenario["steps"]+ if s.get("frame", {}).get("type") == "screens.frame"+ ]+ assert len(frames) == len(steps)+ for frame in frames:+ if frame["data"]["kind"] == "snapshot":+ assert frame["data"]["ref"] == refs[frame["data"]["pane_id"]]+ else:+ assert "base" in frame+ _check_stream(verse, bridge.scenario)+++async def test_roster_deltas_reach_the_fake_state_and_resync_sends_it() -> None:+ async with running("roster_churn") as bridge, connect(bridge.url) as ws:+ await ws.send(_hello())+ verse = Verse(ws)+ pump = asyncio.create_task(verse.pump())+ await verse.command("subscribe", {"topics": ["roster"]})+ await asyncio.wait_for(bridge.finished.wait(), 10)+ await verse.command("resync", {"topic": "roster"})+ for _ in range(200):+ if len(verse.replies) == 2:+ break+ await asyncio.sleep(0.01)+ await ws.close()+ await pump+ snapshot = [f for f in verse.json if f["type"] == "roster.snapshot"][-1]["data"]+ agents = {a["agent_id"]: a for a in snapshot["agents"]}+ assert "ag_004" not in agents and "ag_006" in agents+ assert all(a["duty"] == "working" for a in agents.values() if a["agent_id"] != "ag_005")+ assert snapshot["commander"]["level"] == 15+ assert {p["pane_id"] for p in snapshot["panes"]} == {+ "ws_91:T1",+ "ws_91:T3",+ "ws_91:T4",+ "ws_91:T5",+ }+++async def _close_code(bridge, first: str | None) -> int:+ async with connect(bridge.url) as ws:+ if first is not None:+ await ws.send(first)+ with contextlib.suppress(ConnectionClosed):+ while True:+ await asyncio.wait_for(ws.recv(), 5)+ return ws.close_code+++async def test_wrong_token_closes_4401() -> None:+ async with running("idle") as bridge:+ assert await _close_code(bridge, _hello(token=secrets.token_urlsafe(32))) == 4401+++async def test_missing_or_malformed_hello_closes_4400() -> None:+ async with running("idle", hello_timeout=0.2) as bridge:+ assert await _close_code(bridge, None) == 4400+ ping = json.dumps({"type": "ping", "ts": 1.0, "data": {}})+ assert await _close_code(bridge, ping) == 4400+ assert await _close_code(bridge, "{not json") == 4400+++async def test_unsupported_protocol_closes_4426_naming_the_supported_ones() -> None:+ async with running("idle") as bridge, connect(bridge.url) as ws:+ await ws.send(_hello(protocols=["verse.bridge/2"]))+ with contextlib.suppress(ConnectionClosed):+ await asyncio.wait_for(ws.recv(), 5)+ assert ws.close_code == 4426+ assert json.loads(ws.close_reason) == {"supported": ["verse.bridge/1"]}+++async def test_second_client_replaces_the_first_with_4409() -> None:+ async with running("idle") as bridge:+ async with connect(bridge.url) as first:+ await first.send(_hello())+ assert json.loads(await first.recv())["type"] == "welcome"+ async with connect(bridge.url) as second:+ await second.send(_hello())+ assert json.loads(await second.recv())["type"] == "welcome"+ with contextlib.suppress(ConnectionClosed):+ await asyncio.wait_for(first.recv(), 5)+ assert first.close_code == 4409+++async def test_other_paths_are_refused() -> None:+ async with running("idle") as bridge:+ with pytest.raises(InvalidStatus):+ async with connect(bridge.url.replace("/api/verse/bridge", "/api/other")):+ pass+++async def test_commands_follow_the_contract_rules() -> None:+ async with running("idle") as bridge, connect(bridge.url) as ws:+ await ws.send(_hello())+ verse = Verse(ws)+ pump = asyncio.create_task(verse.pump())+ duel = bridge_schema.read_json(bridge_schema.DATA_DIR / "messages" / "duel.result.json")[0]+ ids = {+ "duel1": await verse.command("duel.result", duel["data"]),+ "duel2": await verse.command("duel.result", duel["data"]),+ "set": await verse.command("settings.set", {"gore": "reduced"}),+ "qa": await verse.command("qa.exec", {"command": "Verse.QA.Stats", "args": []}),+ "sub": await verse.command("subscribe", {"topics": ["panel"]}),+ "watch": await verse.command(+ "screens.watch",+ {"panes": [{"pane_id": "ws_91:T1", "hz": 10}, {"pane_id": "ws_9:X", "hz": 2}]},+ ),+ "bad": await verse.command("pane.open", {"pane_id": "no-colon"}),+ "told": await verse.command("progression.told", {"seq": 950}),+ }+ for _ in range(300):+ if len(verse.replies) == len(ids):+ break+ await asyncio.sleep(0.01)+ await ws.close()+ await pump++ def data(key: str) -> dict:+ return verse.replies[ids[key]]["data"]++ assert data("duel1") == data("duel2") and data("duel1")["result"]["recorded"] is True+ assert data("set")["result"]["settings"]["gore"] == "reduced"+ changed = [f for f in verse.json if f["type"] == "settings.changed"]+ assert changed and changed[0]["data"] == {"gore": "reduced"}+ assert data("qa")["error"]["code"] == "unavailable"+ assert data("sub")["result"] == {"subscribed": ["panel"], "unavailable": []}+ assert data("watch")["result"] == {+ "bound": [{"pane_id": "ws_91:T1", "ref": 1}],+ "dropped": [],+ "missing": ["ws_9:X"],+ }+ assert data("bad")["error"]["code"] == "bad_request"+ assert data("told")["result"] == {"told_seq": 950}+ assert bridge.report.invalid_from_verse # the malformed pane.open is recorded+ for reply in verse.replies.values():+ assert SCHEMA.validate_frame(reply) == []+++async def test_qa_exec_runs_when_qa_is_enabled() -> None:+ async with running("idle", qa=True) as bridge, connect(bridge.url) as ws:+ await ws.send(_hello())+ verse = Verse(ws)+ pump = asyncio.create_task(verse.pump())+ rid = await verse.command("qa.exec", {"command": "Verse.QA.Stats", "args": ["fps"]})+ for _ in range(200):+ if rid in verse.replies:+ break+ await asyncio.sleep(0.01)+ await ws.close()+ await pump+ result = {"result": {"command": "Verse.QA.Stats", "args": ["fps"]}}+ assert verse.replies[rid]["data"] == {"ok": True, "result": result}+++async def test_missing_expectation_fails_the_report() -> None:+ async with running("panel") as bridge, connect(bridge.url) as ws:+ # A Verse that never answers panel events.+ for step in bridge.scenario["steps"]:+ step["timeout_ms"] = min(step.get("timeout_ms", 0), 100) or step.get("timeout_ms")+ await ws.send(_hello())+ await asyncio.wait_for(bridge.finished.wait(), 10)+ report = bridge.report.as_dict()+ assert not report["passed"]+ assert [e["ok"] for e in report["expectations"]] == [False, False]+++def test_invalid_scenario_is_refused() -> None:+ scenario = fake_bridge.load_scenario("panel")+ scenario["steps"][0]["frame"]["data"]["visible"] = "yes"+ with pytest.raises(ValueError, match="invalid scenario"):+ fake_bridge.FakeBridge(TOKEN, scenario)+++def test_cli_lists_and_checks_scenarios(capsys) -> None:+ assert fake_bridge.main(["--list"]) == 0+ listed = capsys.readouterr().out+ for name in ("roster_churn", "busy_panes", "meetings", "awards", "lifecycle", "panel"):+ assert f"{name}:" in listed+ assert fake_bridge.main(["--check"]) == 0+++def test_cli_serves_a_scenario_once_and_writes_the_report(tmp_path: Path) -> None:+ report_path = tmp_path / "report.json"+ discovery = tmp_path / "verse" / "bridge.json"+ script = Path(fake_bridge.__file__)+ args = [+ sys.executable,+ str(script),+ "--token",+ TOKEN,+ "--scenario",+ "lifecycle",+ "--speed",+ "0",+ ]+ args += ["--once", "--report", str(report_path), "--discovery", str(discovery)]+ proc = subprocess.Popen(args, stdout=subprocess.PIPE, text=True, encoding="utf-8") # noqa: S603+ try:+ line = proc.stdout.readline()+ url = line.split(" on ", 1)[1].split(" ", 1)[0]+ assert json.loads(discovery.read_text(encoding="utf-8"))["url"] == url++ async def client() -> None:+ async with connect(url) as ws:+ await ws.send(_hello())+ verse = Verse(ws)+ pump = asyncio.create_task(verse.pump())+ for _ in range(500):+ if any(f["type"] == "lifecycle.quit" for f in verse.json):+ break+ await asyncio.sleep(0.01)+ await asyncio.sleep(0.2)+ await ws.close()+ await pump++ asyncio.run(client())+ assert proc.wait(timeout=20) == 0+ finally:+ if proc.poll() is None:+ proc.kill()+ proc.wait(timeout=10)+ proc.stdout.close()+ report = json.loads(report_path.read_text(encoding="utf-8"))+ assert report["passed"] and report["sent"]["lifecycle.quit"] == 1+ assert not discovery.exists()diff --git a/unreal/Verse/Tests/Data/bridge/README.md b/unreal/Verse/Tests/Data/bridge/README.mdnew file mode 100644index 0000000000..918be6a00f--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/README.md@@ -0,0 +1,32 @@+# verse.bridge/1 golden fixtures (G0.11)++Golden data for `docs/verse/unreal/contracts/bridge-protocol.md`. The Unreal+automation tests read this folder; the backend pytest reads its mirror in+`tests/unit/verse_host/fixtures/bridge/`. Both copies hold the same files,+and `python scripts/unreal/bridge_schema.py` fails when they drift+(`--sync` copies this folder to the mirror). Change a fixture here, then sync.++| Path | Holds |+|---|---|+| `verse.bridge.1.schema.json` | JSON Schema 2020-12. `x-messages` lists every message type: direction, kind (`handshake`, `command`, `notice`, `feed`, `event`, `reply`), topic, and the `$defs` of its frame, data and reply result. `x-fallback` on an enum names the value a live reader uses for an unknown one |+| `messages/<type>.json` | Golden frames of one type. The first one is the contract's own example |+| `replies/<command>.json` | `{request, reply}` pairs with success and error answers. `request_invalid` marks a malformed request the server answers with `bad_request` |+| `cells/vectors.json` | `cells.bin/1` vectors: a `screens.frame` in `cells.json/1` form, its `ref`, and the exact bytes as hex; plus malformed frames a decoder must reject |+| `scenarios/<name>.json` | Scripted runs of `scripts/unreal/fake_bridge.py`: roster churn, busy panes, meetings, awards, lifecycle, panel, idle |++Golden data is strict: no unknown fields, no unknown enum values. A scenario+step marked `lenient` is off contract on purpose (an unknown duty value, for+example) so readers can prove their fallback.++## Points the contract leaves open, as fixed here++| Point | Fixed as |+|---|---|+| Commands and notices | Verse frames that carry `id` and get one `reply`: every row of section 8 that asks the server to do or answer something. `hello`, `ping`, `log`, `lifecycle.state`, `lifecycle.ready`, `lifecycle.bye`, `window.state`, `panel.stream_state` and `focus.return_to_app` are notices without `id` |+| Reply results the contract does not show | `subscribe` `{subscribed, unavailable}` (error `unavailable` only when no topic is served), `unsubscribe` `{unsubscribed}`, `chat_tails.watch` `{watching, dropped}`, `progression.told` `{told_seq}`, `settings.set` `{settings}` (all values after the write), `launcher.options` `{workspaces, agents}`, `qa.exec` `{result}`; every other command `{}` unless section 11 or 14 names a result |+| `ping`, `pong` | `data` is `{}` |+| `groups.delta` | `{upsert: {groups: [...]}, remove: {groups: [ids]}}`, partial rows as in `roster.delta` |+| `screens.frame` snapshot | Uses `rows_changed` like a delta, carries `ref`, `cut`, `at` and no `base`; a hidden cursor is `[-1, -1]` in JSON as in binary |+| Topics without a snapshot | `panes` (carried by `roster`), `duel_stats` (in `progression.snapshot`), `lifecycle`, `panel`: subscribing replies `ok` and sends nothing; their events are sent without a subscription |+| Wire spelling of states | `lifecycle.state.state` is `booting`, `visible`, `panel`, `dormant`, `exiting`; `welcome.state.gpu` is `free` or `yield` |+| Grapheme clusters | Combining marks, zero-width joiner sequences, variation selectors, skin-tone modifiers and tag characters extend a cluster (`scripts/unreal/bridge_cells.py`) |diff --git a/unreal/Verse/Tests/Data/bridge/cells/vectors.json b/unreal/Verse/Tests/Data/bridge/cells/vectors.jsonnew file mode 100644index 0000000000..ddb8d94ba4--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/cells/vectors.json@@ -0,0 +1,1180 @@+{+ "format": "cells.bin/1",+ "valid": [+ {+ "name": "contract_delta",+ "description": "The section 5.4 example: an RGB bold run and a palette run on row 38.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 91,+ "ts": 1793612340.91,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 39,+ 2+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 38,+ "runs": [+ {+ "col": 0,+ "text": "✔ tests passed",+ "fg": "#4fb86a",+ "bg": null,+ "attrs": [+ "bold"+ ]+ },+ {+ "col": 14,+ "text": " (42)",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ },+ "base": 88+ },+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "snapshot_basic",+ "description": "A snapshot with two rows, default and palette colours, visible cursor.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 82,+ "ts": 1793612340.82,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "snapshot",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 1,+ 2+ ],+ "style": "styled",+ "ref": 1,+ "cut": false,+ "at": 1793612359.4,+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "$ pytest -q",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 1,+ "runs": [+ {+ "col": 0,+ "text": "> ",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ }+ ]+ }+ },+ "bin_hex": "5643010101005200000000000000840028000100020002000000010000000b00000000000000000000000b002420707974657374202d7101000100000002000200000100000000010002003e20"+ },+ {+ "name": "snapshot_empty_hidden_cursor",+ "description": "A cut 240 x 60 plain snapshot with no rows and the cursor hidden.",+ "ref": 2,+ "frame": {+ "type": "screens.frame",+ "seq": 83,+ "ts": 1793612340.83,+ "data": {+ "pane_id": "ws_91:T2",+ "kind": "snapshot",+ "cols": 240,+ "rows": 60,+ "cursor": [+ -1,+ -1+ ],+ "style": "plain",+ "ref": 2,+ "cut": true,+ "at": null,+ "rows_changed": []+ }+ },+ "bin_hex": "5643010102005300000000000000f0003c00ffffffff0000"+ },+ {+ "name": "all_attributes",+ "description": "One run per attribute bit, then every bit except wide at once.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 92,+ "ts": 1793612340.92,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 5,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 4,+ "runs": [+ {+ "col": 0,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "bold"+ ]+ },+ {+ "col": 2,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "dim"+ ]+ },+ {+ "col": 4,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "italic"+ ]+ },+ {+ "col": 6,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "underline"+ ]+ },+ {+ "col": 8,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "inverse"+ ]+ },+ {+ "col": 10,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "strikethrough"+ ]+ },+ {+ "col": 12,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "invisible"+ ]+ },+ {+ "col": 14,+ "text": "a",+ "fg": null,+ "bg": null,+ "attrs": [+ "blink"+ ]+ },+ {+ "col": 20,+ "text": "all",+ "fg": null,+ "bg": null,+ "attrs": [+ "bold",+ "dim",+ "italic",+ "underline",+ "inverse",+ "strikethrough",+ "invisible",+ "blink"+ ]+ }+ ]+ }+ ]+ },+ "base": 91+ },+ "bin_hex": "5643010201005c0000005b0000005000180005000000010004000900000001000000000000000000010001006102000100000000000000000002000100610400010000000000000000000400010061060001000000000000000000080001006108000100000000000000000010000100610a000100000000000000000020000100610c000100000000000000000040000100610e00010000000000000000008000010061140003000000000000000000ff000300616c6c"+ },+ {+ "name": "colours",+ "description": "Default, palette 0, 15, 16, 231, 255 and RGB extremes on fg and bg.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 93,+ "ts": 1793612340.93,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 0,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "d",+ "fg": null,+ "bg": null,+ "attrs": []+ },+ {+ "col": 1,+ "text": "p",+ "fg": {+ "i": 0+ },+ "bg": {+ "i": 15+ },+ "attrs": []+ },+ {+ "col": 2,+ "text": "q",+ "fg": {+ "i": 16+ },+ "bg": {+ "i": 231+ },+ "attrs": []+ },+ {+ "col": 3,+ "text": "r",+ "fg": {+ "i": 255+ },+ "bg": null,+ "attrs": []+ },+ {+ "col": 4,+ "text": "k",+ "fg": "#000000",+ "bg": "#ffffff",+ "attrs": []+ },+ {+ "col": 5,+ "text": "o",+ "fg": "#e3242b",+ "bg": "#0a0b0c",+ "attrs": [+ "inverse"+ ]+ }+ ]+ }+ ]+ },+ "base": 92+ },+ "bin_hex": "5643010201005d0000005c0000005000180000000000010000000600000001000000000000000000000001006401000100000000010f00000100000100700200010010000001e7000001000001007103000100ff0000010000000000000100720400010000000002ffffff02000001006b050001002b24e3020c0b0a02100001006f"+ },+ {+ "name": "wide_glyphs",+ "description": "Wide CJK glyphs: three clusters, six columns, then a narrow run after them.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 94,+ "ts": 1793612340.94,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 2,+ 8+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 2,+ "runs": [+ {+ "col": 0,+ "text": "> ",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ },+ {+ "col": 2,+ "text": "漢字仮",+ "fg": null,+ "bg": null,+ "attrs": [+ "wide"+ ]+ },+ {+ "col": 8,+ "text": "ok",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ },+ "base": 93+ },+ "bin_hex": "5643010201005e0000005d0000005000180002000800010002000300000002000200000100000000000002003e2002000300000000000000000000010900e6bca2e5ad97e4bbae080002000000000000000000000002006f6b"+ },+ {+ "name": "grapheme_clusters",+ "description": "A combining accent and a joined emoji: byte count differs from cell count.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 95,+ "ts": 1793612340.95,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 80,+ "rows": 24,+ "cursor": [+ 3,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 3,+ "runs": [+ {+ "col": 0,+ "text": "café",+ "fg": null,+ "bg": null,+ "attrs": []+ },+ {+ "col": 4,+ "text": " ",+ "fg": null,+ "bg": null,+ "attrs": []+ },+ {+ "col": 5,+ "text": "🧑🔧",+ "fg": null,+ "bg": null,+ "attrs": [+ "wide"+ ]+ }+ ]+ }+ ]+ },+ "base": 94+ },+ "bin_hex": "5643010201005f0000005e00000050001800030000000100030003000000040000000000000000000000060063616665cc81040001000000000000000000000001002005000100000000000000000000010b00f09fa791e2808df09f94a7"+ },+ {+ "name": "cleared_rows",+ "description": "A delta that blanks two rows (row records with no runs) and writes a third.",+ "ref": 1,+ "frame": {+ "type": "screens.frame",+ "seq": 96,+ "ts": 1793612340.96,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 12,+ 0+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 10,+ "runs": []+ },+ {+ "row": 11,+ "runs": []+ },+ {+ "row": 12,+ "runs": [+ {+ "col": 120,+ "text": "right edge",+ "fg": null,+ "bg": {+ "i": 4+ },+ "attrs": [+ "underline"+ ]+ }+ ]+ }+ ]+ },+ "base": 95+ },+ "bin_hex": "564301020100600000005f000000840028000c00000003000a0000000b0000000c00010078000a00000000000400000108000a0072696768742065646765"+ },+ {+ "name": "last_cell",+ "description": "A one-cell run in the last column of the largest grid; ref 8, high seq.",+ "ref": 8,+ "frame": {+ "type": "screens.frame",+ "seq": 4294967295,+ "ts": 1836562012.95,+ "data": {+ "pane_id": "ws_91:T9",+ "kind": "delta",+ "cols": 240,+ "rows": 60,+ "cursor": [+ 59,+ 239+ ],+ "style": "plain",+ "rows_changed": [+ {+ "row": 59,+ "runs": [+ {+ "col": 239,+ "text": "#",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ },+ "base": 4294967290+ },+ "bin_hex": "564301020800fffffffffafffffff0003c003b00ef0001003b000100ef00010000000000000000000000010023"+ },+ {+ "name": "snapshot_full_screen",+ "description": "A full 132 x 40 snapshot, every row filled, 16 palette colours.",+ "ref": 3,+ "frame": {+ "type": "screens.frame",+ "seq": 97,+ "ts": 1793612340.97,+ "data": {+ "pane_id": "ws_91:T3",+ "kind": "snapshot",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 39,+ 131+ ],+ "style": "styled",+ "ref": 3,+ "cut": false,+ "at": 1793612370.0,+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "line 00 ========================================================================================================================",+ "fg": {+ "i": 0+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 1,+ "runs": [+ {+ "col": 0,+ "text": "line 01 ========================================================================================================================",+ "fg": {+ "i": 1+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 2,+ "runs": [+ {+ "col": 0,+ "text": "line 02 ========================================================================================================================",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 3,+ "runs": [+ {+ "col": 0,+ "text": "line 03 ========================================================================================================================",+ "fg": {+ "i": 3+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 4,+ "runs": [+ {+ "col": 0,+ "text": "line 04 ========================================================================================================================",+ "fg": {+ "i": 4+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 5,+ "runs": [+ {+ "col": 0,+ "text": "line 05 ========================================================================================================================",+ "fg": {+ "i": 5+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 6,+ "runs": [+ {+ "col": 0,+ "text": "line 06 ========================================================================================================================",+ "fg": {+ "i": 6+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 7,+ "runs": [+ {+ "col": 0,+ "text": "line 07 ========================================================================================================================",+ "fg": {+ "i": 7+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 8,+ "runs": [+ {+ "col": 0,+ "text": "line 08 ========================================================================================================================",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 9,+ "runs": [+ {+ "col": 0,+ "text": "line 09 ========================================================================================================================",+ "fg": {+ "i": 9+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 10,+ "runs": [+ {+ "col": 0,+ "text": "line 10 ========================================================================================================================",+ "fg": {+ "i": 10+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 11,+ "runs": [+ {+ "col": 0,+ "text": "line 11 ========================================================================================================================",+ "fg": {+ "i": 11+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 12,+ "runs": [+ {+ "col": 0,+ "text": "line 12 ========================================================================================================================",+ "fg": {+ "i": 12+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 13,+ "runs": [+ {+ "col": 0,+ "text": "line 13 ========================================================================================================================",+ "fg": {+ "i": 13+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 14,+ "runs": [+ {+ "col": 0,+ "text": "line 14 ========================================================================================================================",+ "fg": {+ "i": 14+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 15,+ "runs": [+ {+ "col": 0,+ "text": "line 15 ========================================================================================================================",+ "fg": {+ "i": 15+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 16,+ "runs": [+ {+ "col": 0,+ "text": "line 16 ========================================================================================================================",+ "fg": {+ "i": 0+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 17,+ "runs": [+ {+ "col": 0,+ "text": "line 17 ========================================================================================================================",+ "fg": {+ "i": 1+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 18,+ "runs": [+ {+ "col": 0,+ "text": "line 18 ========================================================================================================================",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 19,+ "runs": [+ {+ "col": 0,+ "text": "line 19 ========================================================================================================================",+ "fg": {+ "i": 3+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 20,+ "runs": [+ {+ "col": 0,+ "text": "line 20 ========================================================================================================================",+ "fg": {+ "i": 4+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 21,+ "runs": [+ {+ "col": 0,+ "text": "line 21 ========================================================================================================================",+ "fg": {+ "i": 5+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 22,+ "runs": [+ {+ "col": 0,+ "text": "line 22 ========================================================================================================================",+ "fg": {+ "i": 6+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 23,+ "runs": [+ {+ "col": 0,+ "text": "line 23 ========================================================================================================================",+ "fg": {+ "i": 7+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 24,+ "runs": [+ {+ "col": 0,+ "text": "line 24 ========================================================================================================================",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 25,+ "runs": [+ {+ "col": 0,+ "text": "line 25 ========================================================================================================================",+ "fg": {+ "i": 9+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 26,+ "runs": [+ {+ "col": 0,+ "text": "line 26 ========================================================================================================================",+ "fg": {+ "i": 10+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 27,+ "runs": [+ {+ "col": 0,+ "text": "line 27 ========================================================================================================================",+ "fg": {+ "i": 11+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 28,+ "runs": [+ {+ "col": 0,+ "text": "line 28 ========================================================================================================================",+ "fg": {+ "i": 12+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 29,+ "runs": [+ {+ "col": 0,+ "text": "line 29 ========================================================================================================================",+ "fg": {+ "i": 13+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 30,+ "runs": [+ {+ "col": 0,+ "text": "line 30 ========================================================================================================================",+ "fg": {+ "i": 14+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 31,+ "runs": [+ {+ "col": 0,+ "text": "line 31 ========================================================================================================================",+ "fg": {+ "i": 15+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 32,+ "runs": [+ {+ "col": 0,+ "text": "line 32 ========================================================================================================================",+ "fg": {+ "i": 0+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 33,+ "runs": [+ {+ "col": 0,+ "text": "line 33 ========================================================================================================================",+ "fg": {+ "i": 1+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 34,+ "runs": [+ {+ "col": 0,+ "text": "line 34 ========================================================================================================================",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 35,+ "runs": [+ {+ "col": 0,+ "text": "line 35 ========================================================================================================================",+ "fg": {+ "i": 3+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ },+ {+ "row": 36,+ "runs": [+ {+ "col": 0,+ "text": "line 36 ========================================================================================================================",+ "fg": {+ "i": 4+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 37,+ "runs": [+ {+ "col": 0,+ "text": "line 37 ========================================================================================================================",+ "fg": {+ "i": 5+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 38,+ "runs": [+ {+ "col": 0,+ "text": "line 38 ========================================================================================================================",+ "fg": {+ "i": 6+ },+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 39,+ "runs": [+ {+ "col": 0,+ "text": "line 39 ========================================================================================================================",+ "fg": {+ "i": 7+ },+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ }+ },+ "bin_hex": "56430101030061000000000000008400280027008300280000000100000080000000000100000000010080006c696e65203030203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d01000100000080000100000100000000000080006c696e65203031203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d02000100000080000200000100000000000080006c696e65203032203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d03000100000080000300000100000000000080006c696e65203033203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d04000100000080000400000100000000000080006c696e65203034203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d05000100000080000500000100000000010080006c696e65203035203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d06000100000080000600000100000000000080006c696e65203036203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d07000100000080000700000100000000000080006c696e65203037203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d08000100000080000800000100000000000080006c696e65203038203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d09000100000080000900000100000000000080006c696e65203039203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0a000100000080000a00000100000000010080006c696e65203130203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0b000100000080000b00000100000000000080006c696e65203131203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0c000100000080000c00000100000000000080006c696e65203132203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0d000100000080000d00000100000000000080006c696e65203133203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0e000100000080000e00000100000000000080006c696e65203134203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d0f000100000080000f00000100000000010080006c696e65203135203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d10000100000080000000000100000000000080006c696e65203136203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d11000100000080000100000100000000000080006c696e65203137203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d12000100000080000200000100000000000080006c696e65203138203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d13000100000080000300000100000000000080006c696e65203139203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d14000100000080000400000100000000010080006c696e65203230203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d15000100000080000500000100000000000080006c696e65203231203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d16000100000080000600000100000000000080006c696e65203232203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d17000100000080000700000100000000000080006c696e65203233203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d18000100000080000800000100000000000080006c696e65203234203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d19000100000080000900000100000000010080006c696e65203235203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1a000100000080000a00000100000000000080006c696e65203236203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1b000100000080000b00000100000000000080006c696e65203237203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1c000100000080000c00000100000000000080006c696e65203238203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1d000100000080000d00000100000000000080006c696e65203239203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1e000100000080000e00000100000000010080006c696e65203330203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d1f000100000080000f00000100000000000080006c696e65203331203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d20000100000080000000000100000000000080006c696e65203332203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d21000100000080000100000100000000000080006c696e65203333203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d22000100000080000200000100000000000080006c696e65203334203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d23000100000080000300000100000000010080006c696e65203335203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d24000100000080000400000100000000000080006c696e65203336203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d25000100000080000500000100000000000080006c696e65203337203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d26000100000080000600000100000000000080006c696e65203338203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d27000100000080000700000100000000000080006c696e65203339203d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d"+ }+ ],+ "invalid": [+ {+ "name": "short_header",+ "reason": "shorter than the 24-byte header",+ "bin_hex": "5643010201005b00000058000000840028002700"+ },+ {+ "name": "bad_magic",+ "reason": "magic is not VC",+ "bin_hex": "5658010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "bad_version",+ "reason": "format version 2",+ "bin_hex": "5643020201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "bad_kind",+ "reason": "kind 3",+ "bin_hex": "5643010301005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "truncated_run",+ "reason": "run text cut off",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028"+ },+ {+ "name": "trailing_bytes",+ "reason": "bytes after the last row record",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e000500080000010000000000000500202834322900"+ },+ {+ "name": "cell_count_mismatch",+ "reason": "run says 15 cells but holds 14",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000f006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "bad_colour_mode",+ "reason": "colour mode 3",+ "bin_hex": "5643010201005b00000058000000840028002700020001002600020000000e00000000030000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ },+ {+ "name": "snapshot_with_base",+ "reason": "snapshot carries a non-zero base",+ "bin_hex": "5643010101005b00000058000000840028002700020001002600020000000e006ab84f020000000001001000e29c94207465737473207061737365640e0005000800000100000000000005002028343229"+ }+ ]+}diff --git a/unreal/Verse/Tests/Data/bridge/messages/agent.create.json b/unreal/Verse/Tests/Data/bridge/messages/agent.create.jsonnew file mode 100644index 0000000000..73cf418af3--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/agent.create.json@@ -0,0 +1,21 @@+[+ {+ "type": "agent.create",+ "id": "c-66",+ "ts": 1793612594.0,+ "data": {+ "name": "Ilka",+ "title": "Test writer",+ "figure": {+ "archetype": "pilot",+ "palette": "oxide"+ }+ }+ },+ {+ "type": "agent.create",+ "id": "c-67",+ "ts": 1793612600.0,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/agent.open.json b/unreal/Verse/Tests/Data/bridge/messages/agent.open.jsonnew file mode 100644index 0000000000..0bfdfc4227--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/agent.open.json@@ -0,0 +1,10 @@+[+ {+ "type": "agent.open",+ "id": "c-64",+ "ts": 1793612592.0,+ "data": {+ "agent_id": "ag_7f1"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/agents.open_list.json b/unreal/Verse/Tests/Data/bridge/messages/agents.open_list.jsonnew file mode 100644index 0000000000..e20b09e086--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/agents.open_list.json@@ -0,0 +1,8 @@+[+ {+ "type": "agents.open_list",+ "id": "c-73",+ "ts": 1793612602.0,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/chat_tails.update.json b/unreal/Verse/Tests/Data/bridge/messages/chat_tails.update.jsonnew file mode 100644index 0000000000..700b1626b5--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/chat_tails.update.json@@ -0,0 +1,54 @@+[+ {+ "type": "chat_tails.update",+ "seq": 120,+ "ts": 1793612372.6,+ "data": {+ "agent_id": "ag_7f1",+ "version": "evt_01J…",+ "lines": [+ {+ "kind": "user",+ "text": "Check the retry window."+ },+ {+ "kind": "tool",+ "text": "Read login.py"+ },+ {+ "kind": "agent",+ "text": "The retry waits 30 s; I changed it to back off."+ }+ ]+ }+ },+ {+ "type": "chat_tails.update",+ "seq": 121,+ "ts": 1793612372.7,+ "data": {+ "agent_id": "ag_02c",+ "version": "",+ "lines": []+ }+ },+ {+ "type": "chat_tails.update",+ "seq": 122,+ "ts": 1793612375.0,+ "data": {+ "agent_id": "ag_02c",+ "version": "evt_01K2",+ "lines": [+ {+ "kind": "notice",+ "text": "Session resumed."+ },+ {+ "kind": "error",+ "text": "The build step timed out."+ }+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/chat_tails.watch.json b/unreal/Verse/Tests/Data/bridge/messages/chat_tails.watch.jsonnew file mode 100644index 0000000000..1bd8c78bb6--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/chat_tails.watch.json@@ -0,0 +1,13 @@+[+ {+ "type": "chat_tails.watch",+ "id": "c-41",+ "ts": 1793612370.0,+ "data": {+ "agents": [+ "ag_7f1",+ "ag_02c"+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/companion.snapshot.json b/unreal/Verse/Tests/Data/bridge/messages/companion.snapshot.jsonnew file mode 100644index 0000000000..27e4c0c0fe--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/companion.snapshot.json@@ -0,0 +1,12 @@+[+ {+ "type": "companion.snapshot",+ "seq": 16,+ "ts": 1793612340.7,+ "data": {+ "pet_id": "drone",+ "look": "drone_brass",+ "style": "overlay"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/companion.update.json b/unreal/Verse/Tests/Data/bridge/messages/companion.update.jsonnew file mode 100644index 0000000000..0634459518--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/companion.update.json@@ -0,0 +1,12 @@+[+ {+ "type": "companion.update",+ "seq": 160,+ "ts": 1793612611.0,+ "data": {+ "pet_id": null,+ "look": "",+ "style": "hidden"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/duel.result.json b/unreal/Verse/Tests/Data/bridge/messages/duel.result.jsonnew file mode 100644index 0000000000..2126b29160--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/duel.result.json@@ -0,0 +1,108 @@+[+ {+ "type": "duel.result",+ "id": "c-60",+ "ts": 1793612500.0,+ "data": {+ "match_id": "m_01JD…",+ "session_id": "s_01JD…",+ "set_index": 3,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "hard",+ "adaptive": false+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612500.0,+ "match_time_s": 296.4,+ "end_reason": "set_complete",+ "outcome": "won",+ "score": {+ "player": 10,+ "opponent": 7+ },+ "stats": {+ "kills": 10,+ "deaths": 7,+ "headshots": 4,+ "finishers": 1,+ "melee_kills": 1,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 4+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 8,+ "headshots": 4,+ "shots_fired": 410,+ "shots_hit": 152+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ },+ {+ "type": "duel.result",+ "id": "c-61",+ "ts": 1793612541.0,+ "data": {+ "match_id": "m_01JE0002",+ "session_id": "s_01JD…",+ "set_index": 4,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "elite",+ "adaptive": true+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612541.0,+ "match_time_s": 41.0,+ "end_reason": "player_left",+ "outcome": "unfinished",+ "score": {+ "player": 2,+ "opponent": 3+ },+ "stats": {+ "kills": 2,+ "deaths": 3,+ "headshots": 1,+ "finishers": 0,+ "melee_kills": 0,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 1+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 2,+ "headshots": 1,+ "shots_fired": 80,+ "shots_hit": 30+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/focus.app_took.json b/unreal/Verse/Tests/Data/bridge/messages/focus.app_took.jsonnew file mode 100644index 0000000000..773d7eb600--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/focus.app_took.json@@ -0,0 +1,8 @@+[+ {+ "type": "focus.app_took",+ "seq": 213,+ "ts": 1793612713.0,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/focus.return_to_app.json b/unreal/Verse/Tests/Data/bridge/messages/focus.return_to_app.jsonnew file mode 100644index 0000000000..60aae18d97--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/focus.return_to_app.json@@ -0,0 +1,9 @@+[+ {+ "type": "focus.return_to_app",+ "ts": 1793612716.0,+ "data": {+ "reason": "return_key"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/gpu.free.json b/unreal/Verse/Tests/Data/bridge/messages/gpu.free.jsonnew file mode 100644index 0000000000..2274980e59--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/gpu.free.json@@ -0,0 +1,10 @@+[+ {+ "type": "gpu.free",+ "seq": 210,+ "ts": 1793612710.0,+ "data": {+ "by": "blender_cook"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/gpu.yield.json b/unreal/Verse/Tests/Data/bridge/messages/gpu.yield.jsonnew file mode 100644index 0000000000..da8b3412cc--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/gpu.yield.json@@ -0,0 +1,10 @@+[+ {+ "type": "gpu.yield",+ "seq": 209,+ "ts": 1793612709.0,+ "data": {+ "by": "blender_cook"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/group.open.json b/unreal/Verse/Tests/Data/bridge/messages/group.open.jsonnew file mode 100644index 0000000000..9554137b41--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/group.open.json@@ -0,0 +1,10 @@+[+ {+ "type": "group.open",+ "id": "c-74",+ "ts": 1793612603.0,+ "data": {+ "group_id": "grp_a"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/groups.delta.json b/unreal/Verse/Tests/Data/bridge/messages/groups.delta.jsonnew file mode 100644index 0000000000..283642fc51--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/groups.delta.json@@ -0,0 +1,23 @@+[+ {+ "type": "groups.delta",+ "seq": 135,+ "base": 14,+ "ts": 1793612381.0,+ "data": {+ "upsert": {+ "groups": [+ {+ "group_id": "grp_a",+ "goal": null+ }+ ]+ },+ "remove": {+ "groups": [+ "grp_b"+ ]+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/groups.snapshot.json b/unreal/Verse/Tests/Data/bridge/messages/groups.snapshot.jsonnew file mode 100644index 0000000000..225049d825--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/groups.snapshot.json@@ -0,0 +1,24 @@+[+ {+ "type": "groups.snapshot",+ "seq": 14,+ "ts": 1793612340.5,+ "data": {+ "groups": [+ {+ "group_id": "grp_a",+ "name": "Release crew",+ "members": [+ "ag_7f1",+ "ag_02c"+ ],+ "lead": "ag_02c",+ "goal": {+ "goal_id": "g_9",+ "state": "running"+ }+ }+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/hello.json b/unreal/Verse/Tests/Data/bridge/messages/hello.jsonnew file mode 100644index 0000000000..3155a5f51d--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/hello.json@@ -0,0 +1,53 @@+[+ {+ "type": "hello",+ "ts": 1793612340.0,+ "data": {+ "token": "b64url-43-chars",+ "protocols": [+ "verse.bridge/1"+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d",+ "config": "Shipping",+ "platform": "Win64"+ },+ "pid": 23144,+ "last_seq": 0,+ "encodings": {+ "screens": [+ "cells.bin/1",+ "cells.json/1"+ ]+ },+ "capabilities": {+ "panel_stream": true,+ "duel": true+ }+ }+ },+ {+ "type": "hello",+ "ts": 1793612400.0,+ "data": {+ "token": "fixture-token-not-a-secret-000000000000000",+ "protocols": [+ "verse.bridge/1"+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d",+ "config": "Development",+ "platform": "Linux"+ },+ "pid": 4120,+ "last_seq": 4182,+ "encodings": {+ "screens": [+ "cells.json/1"+ ]+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/ide.focus_terminal.json b/unreal/Verse/Tests/Data/bridge/messages/ide.focus_terminal.jsonnew file mode 100644index 0000000000..09900d3e5f--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/ide.focus_terminal.json@@ -0,0 +1,10 @@+[+ {+ "type": "ide.focus_terminal",+ "id": "c-65",+ "ts": 1793612593.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/ide.open.json b/unreal/Verse/Tests/Data/bridge/messages/ide.open.jsonnew file mode 100644index 0000000000..9043245658--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/ide.open.json@@ -0,0 +1,8 @@+[+ {+ "type": "ide.open",+ "id": "c-76",+ "ts": 1793612605.0,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/launcher.cancel.json b/unreal/Verse/Tests/Data/bridge/messages/launcher.cancel.jsonnew file mode 100644index 0000000000..ba37f51bf4--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/launcher.cancel.json@@ -0,0 +1,8 @@+[+ {+ "type": "launcher.cancel",+ "id": "c-72",+ "ts": 1793612601.0,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/launcher.options.json b/unreal/Verse/Tests/Data/bridge/messages/launcher.options.jsonnew file mode 100644index 0000000000..5a4cf041da--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/launcher.options.json@@ -0,0 +1,8 @@+[+ {+ "type": "launcher.options",+ "id": "c-70",+ "ts": 1793612599.0,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/launcher.start.json b/unreal/Verse/Tests/Data/bridge/messages/launcher.start.jsonnew file mode 100644index 0000000000..54b3beda89--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/launcher.start.json@@ -0,0 +1,17 @@+[+ {+ "type": "launcher.start",+ "id": "c-71",+ "ts": 1793612600.0,+ "data": {+ "workspace_id": "ws_91",+ "agents": [+ {+ "agent": "claude",+ "count": 2+ }+ ],+ "brief": "Write the bridge relay tests."+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.bye.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.bye.jsonnew file mode 100644index 0000000000..0cc79374a2--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.bye.json@@ -0,0 +1,9 @@+[+ {+ "type": "lifecycle.bye",+ "ts": 1793612705.4,+ "data": {+ "saved": true+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.hide.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.hide.jsonnew file mode 100644index 0000000000..021022afd8--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.hide.json@@ -0,0 +1,10 @@+[+ {+ "type": "lifecycle.hide",+ "seq": 202,+ "ts": 1793612702.0,+ "data": {+ "reason": "app_focus"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.pause.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.pause.jsonnew file mode 100644index 0000000000..22e5fdf6ce--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.pause.json@@ -0,0 +1,10 @@+[+ {+ "type": "lifecycle.pause",+ "seq": 203,+ "ts": 1793612703.0,+ "data": {+ "reason": "screen_lock"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.quit.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.quit.jsonnew file mode 100644index 0000000000..8f9e610953--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.quit.json@@ -0,0 +1,11 @@+[+ {+ "type": "lifecycle.quit",+ "seq": 205,+ "ts": 1793612705.0,+ "data": {+ "reason": "app_quit",+ "deadline_ms": 3000+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.ready.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.ready.jsonnew file mode 100644index 0000000000..f087537911--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.ready.json@@ -0,0 +1,9 @@+[+ {+ "type": "lifecycle.ready",+ "ts": 1793612346.0,+ "data": {+ "first_frame_ms": 5230+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.resume.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.resume.jsonnew file mode 100644index 0000000000..24b792413d--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.resume.json@@ -0,0 +1,10 @@+[+ {+ "type": "lifecycle.resume",+ "seq": 204,+ "ts": 1793612704.0,+ "data": {+ "reason": "screen_unlock"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.show.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.show.jsonnew file mode 100644index 0000000000..a7420b08c9--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.show.json@@ -0,0 +1,33 @@+[+ {+ "type": "lifecycle.show",+ "seq": 200,+ "ts": 1793612700.0,+ "data": {+ "monitor": {+ "x": 0,+ "y": 0,+ "w": 2560,+ "h": 1440,+ "dpi": 1.25+ },+ "reason": "verse_view"+ }+ },+ {+ "type": "lifecycle.show",+ "seq": 201,+ "ts": 1793612701.0,+ "data": {+ "monitor": {+ "x": 1920,+ "y": 0,+ "w": 1920,+ "h": 1080,+ "dpi": 1.0+ },+ "reason": "quick_start_duel",+ "activation_token": "xdg-act-7d3f"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/lifecycle.state.json b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.state.jsonnew file mode 100644index 0000000000..9d45e74c19--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/lifecycle.state.json@@ -0,0 +1,20 @@+[+ {+ "type": "lifecycle.state",+ "ts": 1793612714.0,+ "data": {+ "state": "visible",+ "vram_mb": 3820,+ "fps": 118.5+ }+ },+ {+ "type": "lifecycle.state",+ "ts": 1793612715.0,+ "data": {+ "state": "dormant",+ "vram_mb": 1610,+ "fps": 2+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/log.json b/unreal/Verse/Tests/Data/bridge/messages/log.jsonnew file mode 100644index 0000000000..6836c3bfe9--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/log.json@@ -0,0 +1,11 @@+[+ {+ "type": "log",+ "ts": 1793612720.0,+ "data": {+ "level": "warning",+ "category": "LogVerseBridge",+ "message": "Resync roster after a seq gap (expected 58, got 60)."+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/meeting.start.json b/unreal/Verse/Tests/Data/bridge/messages/meeting.start.jsonnew file mode 100644index 0000000000..e9d9a193c4--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/meeting.start.json@@ -0,0 +1,11 @@+[+ {+ "type": "meeting.start",+ "id": "c-44",+ "ts": 1793612379.0,+ "data": {+ "group_id": "grp_a",+ "text": "Ship 4.2?"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/meeting.stop.json b/unreal/Verse/Tests/Data/bridge/messages/meeting.stop.jsonnew file mode 100644index 0000000000..45c9784552--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/meeting.stop.json@@ -0,0 +1,10 @@+[+ {+ "type": "meeting.stop",+ "id": "c-45",+ "ts": 1793612400.0,+ "data": {+ "group_id": "grp_a"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/meetings.update.json b/unreal/Verse/Tests/Data/bridge/messages/meetings.update.jsonnew file mode 100644index 0000000000..677eb8ba7b--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/meetings.update.json@@ -0,0 +1,47 @@+[+ {+ "type": "meetings.update",+ "seq": 133,+ "ts": 1793612380.0,+ "data": {+ "group_id": "grp_a",+ "running": true,+ "round": 2,+ "speaker": "ag_02c",+ "room": {+ "room_id": "room_44",+ "phase": "open",+ "topic": "Ship 4.2?",+ "rounds": 2,+ "max_rounds": 4+ },+ "messages": [+ {+ "id": "evt_01J…",+ "speaker": "ag_02c",+ "text": "Tests are green; docs lag."+ }+ ]+ }+ },+ {+ "type": "meetings.update",+ "seq": 150,+ "ts": 1793612420.0,+ "data": {+ "group_id": "grp_a",+ "running": false,+ "round": 4,+ "speaker": null,+ "room": {+ "room_id": "room_44",+ "phase": "settle",+ "topic": "Ship 4.2?",+ "rounds": 4,+ "max_rounds": 4+ },+ "messages": [],+ "reason": "consensus"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/pane.open.json b/unreal/Verse/Tests/Data/bridge/messages/pane.open.jsonnew file mode 100644index 0000000000..df2ee4740c--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/pane.open.json@@ -0,0 +1,19 @@+[+ {+ "type": "pane.open",+ "id": "c-62",+ "ts": 1793612590.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ {+ "type": "pane.open",+ "id": "c-63",+ "ts": 1793612591.0,+ "data": {+ "pane_id": "ws_91:T1",+ "open": "changes"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/panel.resize.json b/unreal/Verse/Tests/Data/bridge/messages/panel.resize.jsonnew file mode 100644index 0000000000..981995c5f5--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/panel.resize.json@@ -0,0 +1,12 @@+[+ {+ "type": "panel.resize",+ "seq": 208,+ "ts": 1793612708.0,+ "data": {+ "w": 560,+ "h": 360,+ "dpr": 1.5+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/panel.stream_state.json b/unreal/Verse/Tests/Data/bridge/messages/panel.stream_state.jsonnew file mode 100644index 0000000000..9f67ef5c9d--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/panel.stream_state.json@@ -0,0 +1,17 @@+[+ {+ "type": "panel.stream_state",+ "ts": 1793612718.0,+ "data": {+ "state": "streaming"+ }+ },+ {+ "type": "panel.stream_state",+ "ts": 1793612719.0,+ "data": {+ "state": "failed",+ "error": "encoder_unavailable"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/panel.visibility.json b/unreal/Verse/Tests/Data/bridge/messages/panel.visibility.jsonnew file mode 100644index 0000000000..3550be2cc1--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/panel.visibility.json@@ -0,0 +1,24 @@+[+ {+ "type": "panel.visibility",+ "seq": 206,+ "ts": 1793612706.0,+ "data": {+ "visible": true,+ "w": 480,+ "h": 320,+ "dpr": 1.5+ }+ },+ {+ "type": "panel.visibility",+ "seq": 207,+ "ts": 1793612707.0,+ "data": {+ "visible": false,+ "w": 0,+ "h": 0,+ "dpr": 1.5+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/ping.json b/unreal/Verse/Tests/Data/bridge/messages/ping.jsonnew file mode 100644index 0000000000..3c4e634089--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/ping.json@@ -0,0 +1,7 @@+[+ {+ "type": "ping",+ "ts": 1793612341.0,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/pong.json b/unreal/Verse/Tests/Data/bridge/messages/pong.jsonnew file mode 100644index 0000000000..700b0d6f19--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/pong.json@@ -0,0 +1,8 @@+[+ {+ "type": "pong",+ "seq": 2,+ "ts": 1793612341.01,+ "data": {}+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/progression.action.json b/unreal/Verse/Tests/Data/bridge/messages/progression.action.jsonnew file mode 100644index 0000000000..82185cedf4--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/progression.action.json@@ -0,0 +1,20 @@+[+ {+ "type": "progression.action",+ "id": "c-52",+ "ts": 1793612395.0,+ "data": {+ "action": "inspection",+ "ref": "hangar"+ }+ },+ {+ "type": "progression.action",+ "id": "c-53",+ "ts": 1793612396.0,+ "data": {+ "action": "walk_together",+ "ref": ""+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/progression.awarded.json b/unreal/Verse/Tests/Data/bridge/messages/progression.awarded.jsonnew file mode 100644index 0000000000..c311133f48--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/progression.awarded.json@@ -0,0 +1,42 @@+[+ {+ "type": "progression.awarded",+ "seq": 140,+ "ts": 1793612390.0,+ "data": {+ "seq": 903,+ "subject_id": "person",+ "subject_kind": "person",+ "xp_source": "duel_won",+ "xp": 40,+ "total_xp": 5270,+ "level": 14,+ "previous_level": 14,+ "title": "Lieutenant",+ "unlocked": [],+ "unlocked_looks": []+ }+ },+ {+ "type": "progression.awarded",+ "seq": 141,+ "ts": 1793612391.0,+ "data": {+ "seq": 904,+ "subject_id": "agent:ag_7f1",+ "subject_kind": "agent",+ "xp_source": "task_done",+ "xp": 40,+ "total_xp": 820,+ "level": 7,+ "previous_level": 6,+ "title": "Ensign",+ "unlocked": [+ "plate_line"+ ],+ "unlocked_looks": [+ "look_05"+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/progression.snapshot.json b/unreal/Verse/Tests/Data/bridge/messages/progression.snapshot.jsonnew file mode 100644index 0000000000..fe783aeee1--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/progression.snapshot.json@@ -0,0 +1,51 @@+[+ {+ "type": "progression.snapshot",+ "seq": 15,+ "ts": 1793612340.6,+ "data": {+ "subjects": [+ {+ "subject_id": "person",+ "kind": "person",+ "level": 14,+ "total_xp": 5230,+ "into_level": 130,+ "for_next": 600,+ "title": "Lieutenant"+ }+ ],+ "pet_id": "drone",+ "latest_seq": 902,+ "told_seq": 897,+ "rulebook": {+ "ranks": [+ {+ "id": "recruit",+ "level": 1,+ "tier": "deck"+ }+ ],+ "rewards": [],+ "looks": [],+ "titles": {}+ },+ "duel_stats": {+ "matches": 12,+ "wins": 7,+ "losses": 5,+ "kills": 96,+ "deaths": 81,+ "headshots": 31,+ "finishers": 4,+ "best_streak": 6,+ "by_tier": {+ "hard": {+ "wins": 5,+ "losses": 3+ }+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/progression.told.json b/unreal/Verse/Tests/Data/bridge/messages/progression.told.jsonnew file mode 100644index 0000000000..3e80df0a63--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/progression.told.json@@ -0,0 +1,10 @@+[+ {+ "type": "progression.told",+ "id": "c-54",+ "ts": 1793612396.5,+ "data": {+ "seq": 903+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/qa.exec.json b/unreal/Verse/Tests/Data/bridge/messages/qa.exec.jsonnew file mode 100644index 0000000000..3ed9075313--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/qa.exec.json@@ -0,0 +1,23 @@+[+ {+ "type": "qa.exec",+ "id": "c-79",+ "ts": 1793612608.0,+ "data": {+ "command": "Verse.QA.Stats",+ "args": []+ }+ },+ {+ "type": "qa.exec",+ "id": "c-80",+ "ts": 1793612609.0,+ "data": {+ "command": "Verse.QA.SetDuty",+ "args": [+ "ag_7f1",+ "error"+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/reply.json b/unreal/Verse/Tests/Data/bridge/messages/reply.jsonnew file mode 100644index 0000000000..33a7d50c1a--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/reply.json@@ -0,0 +1,25 @@+[+ {+ "type": "reply",+ "seq": 4190,+ "ts": 1793612345.5,+ "re": "c-17",+ "data": {+ "ok": true,+ "result": {}+ }+ },+ {+ "type": "reply",+ "seq": 4191,+ "ts": 1793612345.6,+ "re": "c-18",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Pane is gone."+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/resync.json b/unreal/Verse/Tests/Data/bridge/messages/resync.jsonnew file mode 100644index 0000000000..29a45cdf38--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/resync.json@@ -0,0 +1,19 @@+[+ {+ "type": "resync",+ "id": "c-9",+ "ts": 1793612399.0,+ "data": {+ "topic": "roster"+ }+ },+ {+ "type": "resync",+ "id": "c-10",+ "ts": 1793612399.5,+ "data": {+ "topic": "screens",+ "pane_id": "ws_91:T1"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/roster.delta.json b/unreal/Verse/Tests/Data/bridge/messages/roster.delta.jsonnew file mode 100644index 0000000000..1685071251--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/roster.delta.json@@ -0,0 +1,60 @@+[+ {+ "type": "roster.delta",+ "seq": 57,+ "base": 49,+ "ts": 1793612351.0,+ "data": {+ "upsert": {+ "agents": [+ {+ "agent_id": "ag_7f1",+ "run_state": "working",+ "duty": "working",+ "waiting_reason": null+ }+ ],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "activity": "waiting",+ "duty": "waiting",+ "activity_since": 1793612350.8+ }+ ]+ },+ "remove": {+ "agents": [],+ "panes": [+ "ws_91:T3"+ ]+ },+ "commander": null+ }+ },+ {+ "type": "roster.delta",+ "seq": 58,+ "base": 57,+ "ts": 1793612352.0,+ "data": {+ "upsert": {+ "agents": [],+ "panes": []+ },+ "remove": {+ "agents": [+ "ag_7f1"+ ],+ "panes": []+ },+ "commander": {+ "subject_id": "person",+ "level": 15,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/roster.snapshot.json b/unreal/Verse/Tests/Data/bridge/messages/roster.snapshot.jsonnew file mode 100644index 0000000000..8c5c4b2ff9--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/roster.snapshot.json@@ -0,0 +1,75 @@+[+ {+ "type": "roster.snapshot",+ "seq": 12,+ "ts": 1793612340.4,+ "data": {+ "commander": {+ "subject_id": "person",+ "level": 14,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ },+ "agents": [+ {+ "agent_id": "ag_7f1",+ "name": "Mara",+ "title": "Research scout",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "waiting",+ "waiting_reason": "question",+ "duty": "waiting",+ "level": 6,+ "rank": "ensign",+ "look": "look_02",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [+ "grp_a"+ ],+ "pane": null+ }+ ],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "workspace_id": "ws_91",+ "key": "T1",+ "history_id": "h_55",+ "name": "T1",+ "display_name": "Claude Code",+ "agent": "claude",+ "title": "Fix the login retry",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612301.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ }+ ]+ }+ },+ {+ "type": "roster.snapshot",+ "seq": 3,+ "ts": 1793612340.4,+ "data": {+ "commander": {+ "subject_id": "person",+ "level": 1,+ "rank": "recruit",+ "title": "Recruit",+ "uniform": "standard"+ },+ "agents": [],+ "panes": []+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/screens.frame.json b/unreal/Verse/Tests/Data/bridge/messages/screens.frame.jsonnew file mode 100644index 0000000000..d41470c406--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/screens.frame.json@@ -0,0 +1,113 @@+[+ {+ "type": "screens.frame",+ "seq": 91,+ "base": 88,+ "ts": 1793612361.2,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "delta",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 39,+ 2+ ],+ "style": "styled",+ "rows_changed": [+ {+ "row": 38,+ "runs": [+ {+ "col": 0,+ "text": "✔ tests passed",+ "fg": "#4fb86a",+ "bg": null,+ "attrs": [+ "bold"+ ]+ },+ {+ "col": 14,+ "text": " (42)",+ "fg": {+ "i": 8+ },+ "bg": null,+ "attrs": []+ }+ ]+ }+ ]+ }+ },+ {+ "type": "screens.frame",+ "seq": 82,+ "ts": 1793612360.03,+ "data": {+ "pane_id": "ws_91:T1",+ "kind": "snapshot",+ "cols": 132,+ "rows": 40,+ "cursor": [+ 1,+ 2+ ],+ "style": "styled",+ "ref": 1,+ "cut": false,+ "at": 1793612359.4,+ "rows_changed": [+ {+ "row": 0,+ "runs": [+ {+ "col": 0,+ "text": "$ pytest -q",+ "fg": null,+ "bg": null,+ "attrs": []+ }+ ]+ },+ {+ "row": 1,+ "runs": [+ {+ "col": 0,+ "text": "> ",+ "fg": {+ "i": 2+ },+ "bg": null,+ "attrs": [+ "bold"+ ]+ }+ ]+ }+ ]+ }+ },+ {+ "type": "screens.frame",+ "seq": 83,+ "ts": 1793612360.05,+ "data": {+ "pane_id": "ws_91:T2",+ "kind": "snapshot",+ "cols": 240,+ "rows": 60,+ "cursor": [+ -1,+ -1+ ],+ "style": "plain",+ "ref": 2,+ "cut": true,+ "at": null,+ "rows_changed": []+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/screens.gone.json b/unreal/Verse/Tests/Data/bridge/messages/screens.gone.jsonnew file mode 100644index 0000000000..a80d95da7d--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/screens.gone.json@@ -0,0 +1,11 @@+[+ {+ "type": "screens.gone",+ "seq": 140,+ "ts": 1793612390.0,+ "data": {+ "pane_id": "ws_91:T2",+ "reason": "exited"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/screens.meta.json b/unreal/Verse/Tests/Data/bridge/messages/screens.meta.jsonnew file mode 100644index 0000000000..812934386a--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/screens.meta.json@@ -0,0 +1,16 @@+[+ {+ "type": "screens.meta",+ "seq": 81,+ "ts": 1793612360.02,+ "data": {+ "pane_id": "ws_91:T1",+ "ref": 1,+ "cols": 132,+ "rows": 40,+ "style": "styled",+ "cut": false,+ "at": 1793612359.4+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/screens.watch.json b/unreal/Verse/Tests/Data/bridge/messages/screens.watch.jsonnew file mode 100644index 0000000000..bbe509631c--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/screens.watch.json@@ -0,0 +1,19 @@+[+ {+ "type": "screens.watch",+ "id": "c-30",+ "ts": 1793612360.0,+ "data": {+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T2",+ "hz": 2+ }+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/settings.changed.json b/unreal/Verse/Tests/Data/bridge/messages/settings.changed.jsonnew file mode 100644index 0000000000..46da3c94aa--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/settings.changed.json@@ -0,0 +1,23 @@+[+ {+ "type": "settings.changed",+ "seq": 211,+ "ts": 1793612711.0,+ "data": {+ "gore": "reduced"+ }+ },+ {+ "type": "settings.changed",+ "seq": 212,+ "ts": 1793612712.0,+ "data": {+ "lang": "en",+ "strings": {+ "verse.ranks.duty.working": "On watch"+ },+ "return_key": "F9",+ "reduced_motion": true+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/settings.set.json b/unreal/Verse/Tests/Data/bridge/messages/settings.set.jsonnew file mode 100644index 0000000000..cc28c25d26--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/settings.set.json@@ -0,0 +1,23 @@+[+ {+ "type": "settings.set",+ "id": "c-77",+ "ts": 1793612606.0,+ "data": {+ "gore": "reduced"+ }+ },+ {+ "type": "settings.set",+ "id": "c-78",+ "ts": 1793612607.0,+ "data": {+ "uniform": "dress",+ "view": {+ "mode": "first",+ "fov_first": 90,+ "quality": "high"+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/simulator.open.json b/unreal/Verse/Tests/Data/bridge/messages/simulator.open.jsonnew file mode 100644index 0000000000..6825bf331a--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/simulator.open.json@@ -0,0 +1,10 @@+[+ {+ "type": "simulator.open",+ "id": "c-75",+ "ts": 1793612604.0,+ "data": {+ "programme": "asteroid-run"+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/subscribe.json b/unreal/Verse/Tests/Data/bridge/messages/subscribe.jsonnew file mode 100644index 0000000000..d1ec6ba395--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/subscribe.json@@ -0,0 +1,16 @@+[+ {+ "type": "subscribe",+ "id": "c-1",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "roster",+ "panes",+ "progression",+ "meetings",+ "groups"+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/unsubscribe.json b/unreal/Verse/Tests/Data/bridge/messages/unsubscribe.jsonnew file mode 100644index 0000000000..52eb7229dc--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/unsubscribe.json@@ -0,0 +1,12 @@+[+ {+ "type": "unsubscribe",+ "id": "c-8",+ "ts": 1793612398.0,+ "data": {+ "topics": [+ "meetings"+ ]+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/welcome.json b/unreal/Verse/Tests/Data/bridge/messages/welcome.jsonnew file mode 100644index 0000000000..6dd890e92b--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/welcome.json@@ -0,0 +1,142 @@+[+ {+ "type": "welcome",+ "seq": 1,+ "ts": 1793612340.1,+ "data": {+ "protocol": "verse.bridge/1",+ "app_version": "4.1.1",+ "app_pid": 9120,+ "session": "vb-3f2c",+ "features": [+ "roster",+ "panes",+ "screens",+ "chat_tails",+ "meetings",+ "groups",+ "progression",+ "duel_stats",+ "companion",+ "lifecycle",+ "panel"+ ],+ "encoding": {+ "screens": "cells.bin/1"+ },+ "limits": {+ "screens_max_panes": 8,+ "screens_max_rows": 60,+ "screens_max_cols": 240,+ "screens_max_hz": 10,+ "chat_tails_max_agents": 6,+ "chat_tail_lines": 12+ },+ "locale": {+ "lang": "en",+ "fallback": "en",+ "strings": {+ "verse.ranks.duty.working": "On duty"+ }+ },+ "settings": {+ "gore": "full",+ "reduced_motion": false,+ "return_key": "F10",+ "ui_sound": true,+ "level_sound": true,+ "uniform": "standard",+ "view": {+ "mode": "third",+ "sensitivity": 1.0,+ "invert_y": false,+ "fov_third": 70,+ "fov_first": 85,+ "quality": "auto",+ "volume": 0.7+ }+ },+ "decks": [+ "bridge",+ "ops",+ "engineering",+ "hangar"+ ],+ "state": {+ "visibility": "visible",+ "panel": "hidden",+ "gpu": "free"+ }+ }+ },+ {+ "type": "welcome",+ "seq": 1,+ "ts": 1793612340.1,+ "data": {+ "protocol": "verse.bridge/1",+ "app_version": "4.1.1",+ "app_pid": 9120,+ "session": "vb-9a01",+ "features": [+ "roster",+ "panes",+ "screens",+ "chat_tails",+ "meetings",+ "groups",+ "progression",+ "duel_stats",+ "companion",+ "lifecycle",+ "panel"+ ],+ "encoding": {+ "screens": "cells.json/1"+ },+ "limits": {+ "screens_max_panes": 8,+ "screens_max_rows": 60,+ "screens_max_cols": 240,+ "screens_max_hz": 10,+ "chat_tails_max_agents": 6,+ "chat_tail_lines": 12+ },+ "locale": {+ "lang": "en",+ "fallback": "en",+ "strings": {+ "verse.ranks.duty.working": "On duty"+ }+ },+ "settings": {+ "gore": "reduced",+ "reduced_motion": false,+ "return_key": "F10",+ "ui_sound": true,+ "level_sound": true,+ "uniform": "standard",+ "view": {+ "mode": "third",+ "sensitivity": 1.0,+ "invert_y": false,+ "fov_third": 70,+ "fov_first": 85,+ "quality": "auto",+ "volume": 0.7+ }+ },+ "decks": [+ "bridge",+ "ops",+ "engineering",+ "hangar"+ ],+ "state": {+ "visibility": "hidden",+ "panel": "visible",+ "gpu": "yield"+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/messages/window.state.json b/unreal/Verse/Tests/Data/bridge/messages/window.state.jsonnew file mode 100644index 0000000000..174b01472e--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/messages/window.state.json@@ -0,0 +1,17 @@+[+ {+ "type": "window.state",+ "ts": 1793612717.0,+ "data": {+ "visible": true,+ "minimised": false,+ "monitor": {+ "x": 0,+ "y": 0,+ "w": 2560,+ "h": 1440,+ "dpi": 1.25+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/agent.create.json b/unreal/Verse/Tests/Data/bridge/replies/agent.create.jsonnew file mode 100644index 0000000000..c9d7070377--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/agent.create.json@@ -0,0 +1,50 @@+[+ {+ "request": {+ "type": "agent.create",+ "id": "c-66",+ "ts": 1793612594.0,+ "data": {+ "name": "Ilka",+ "title": "Test writer",+ "figure": {+ "archetype": "pilot",+ "palette": "oxide"+ }+ }+ },+ "reply": {+ "type": "reply",+ "seq": 325,+ "ts": 1793612594.05,+ "re": "c-66",+ "data": {+ "ok": true,+ "result": {+ "agent_id": "ag_9c4"+ }+ }+ }+ },+ {+ "request": {+ "type": "agent.create",+ "id": "c-67",+ "ts": 1793612600.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 326,+ "ts": 1793612600.05,+ "re": "c-67",+ "data": {+ "ok": false,+ "error": {+ "code": "rate_limited",+ "message": "agent.create is limited to 1 per 5 s."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/agent.open.json b/unreal/Verse/Tests/Data/bridge/replies/agent.open.jsonnew file mode 100644index 0000000000..9818eb0114--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/agent.open.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "agent.open",+ "id": "c-64",+ "ts": 1793612592.0,+ "data": {+ "agent_id": "ag_7f1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 322,+ "ts": 1793612592.05,+ "re": "c-64",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "agent.open",+ "id": "c-84",+ "ts": 1793612592.0,+ "data": {+ "agent_id": "ag_7f1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 340,+ "ts": 1793612592.05,+ "re": "c-84",+ "data": {+ "ok": false,+ "error": {+ "code": "internal",+ "message": "Agent card handler failed."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/agents.open_list.json b/unreal/Verse/Tests/Data/bridge/replies/agents.open_list.jsonnew file mode 100644index 0000000000..3d0472f7a0--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/agents.open_list.json@@ -0,0 +1,20 @@+[+ {+ "request": {+ "type": "agents.open_list",+ "id": "c-73",+ "ts": 1793612602.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 331,+ "ts": 1793612602.05,+ "re": "c-73",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/chat_tails.watch.json b/unreal/Verse/Tests/Data/bridge/replies/chat_tails.watch.jsonnew file mode 100644index 0000000000..069559b5a0--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/chat_tails.watch.json@@ -0,0 +1,31 @@+[+ {+ "request": {+ "type": "chat_tails.watch",+ "id": "c-41",+ "ts": 1793612370.0,+ "data": {+ "agents": [+ "ag_7f1",+ "ag_02c"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 309,+ "ts": 1793612370.05,+ "re": "c-41",+ "data": {+ "ok": true,+ "result": {+ "watching": [+ "ag_7f1",+ "ag_02c"+ ],+ "dropped": []+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/duel.result.json b/unreal/Verse/Tests/Data/bridge/replies/duel.result.jsonnew file mode 100644index 0000000000..0fb46cd331--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/duel.result.json@@ -0,0 +1,151 @@+[+ {+ "request": {+ "type": "duel.result",+ "id": "c-60",+ "ts": 1793612500.0,+ "data": {+ "match_id": "m_01JD…",+ "session_id": "s_01JD…",+ "set_index": 3,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "hard",+ "adaptive": false+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612500.0,+ "match_time_s": 296.4,+ "end_reason": "set_complete",+ "outcome": "won",+ "score": {+ "player": 10,+ "opponent": 7+ },+ "stats": {+ "kills": 10,+ "deaths": 7,+ "headshots": 4,+ "finishers": 1,+ "melee_kills": 1,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 4+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 8,+ "headshots": 4,+ "shots_fired": 410,+ "shots_hit": 152+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ },+ "reply": {+ "type": "reply",+ "seq": 317,+ "ts": 1793612500.05,+ "re": "c-60",+ "data": {+ "ok": true,+ "result": {+ "recorded": true,+ "awards": [+ {+ "xp_source": "duel_won",+ "xp": 60+ }+ ],+ "duel_stats": {+ "matches": 13,+ "wins": 8+ }+ }+ }+ }+ },+ {+ "request": {+ "type": "duel.result",+ "id": "c-61",+ "ts": 1793612541.0,+ "data": {+ "match_id": "m_01JE0002",+ "session_id": "s_01JD…",+ "set_index": 4,+ "mode": "deathmatch_1v1",+ "ruleset": "endless/1",+ "opponent": {+ "kind": "bot",+ "tier": "elite",+ "adaptive": true+ },+ "started_at": 1793612200.0,+ "ended_at": 1793612541.0,+ "match_time_s": 41.0,+ "end_reason": "player_left",+ "outcome": "unfinished",+ "score": {+ "player": 2,+ "opponent": 3+ },+ "stats": {+ "kills": 2,+ "deaths": 3,+ "headshots": 1,+ "finishers": 0,+ "melee_kills": 0,+ "shots_fired": 540,+ "shots_hit": 201,+ "damage_dealt": 2760,+ "damage_taken": 2210,+ "walls_breached": 2,+ "bulwarks_placed": 3,+ "best_streak": 1+ },+ "weapons": [+ {+ "weapon_id": "graveline",+ "kills": 2,+ "headshots": 1,+ "shots_fired": 80,+ "shots_hit": 30+ }+ ],+ "build": {+ "version": "0.1.0",+ "changelist": "a1b2c3d"+ }+ }+ },+ "reply": {+ "type": "reply",+ "seq": 318,+ "ts": 1793612541.05,+ "re": "c-61",+ "data": {+ "ok": true,+ "result": {+ "recorded": true,+ "awards": [],+ "duel_stats": {+ "matches": 14,+ "unfinished": 1+ }+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/group.open.json b/unreal/Verse/Tests/Data/bridge/replies/group.open.jsonnew file mode 100644index 0000000000..de1ddb5d81--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/group.open.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "group.open",+ "id": "c-74",+ "ts": 1793612603.0,+ "data": {+ "group_id": "grp_a"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 332,+ "ts": 1793612603.05,+ "re": "c-74",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "group.open",+ "id": "c-82",+ "ts": 1793612603.0,+ "data": {+ "group_id": "grp_z"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 333,+ "ts": 1793612603.05,+ "re": "c-82",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Group is gone."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/ide.focus_terminal.json b/unreal/Verse/Tests/Data/bridge/replies/ide.focus_terminal.jsonnew file mode 100644index 0000000000..2247e3d58b--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/ide.focus_terminal.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "ide.focus_terminal",+ "id": "c-65",+ "ts": 1793612593.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 323,+ "ts": 1793612593.05,+ "re": "c-65",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "ide.focus_terminal",+ "id": "c-69",+ "ts": 1793612593.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 324,+ "ts": 1793612593.05,+ "re": "c-69",+ "data": {+ "ok": false,+ "error": {+ "code": "rate_limited",+ "message": "Open commands are limited to 4/s."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/ide.open.json b/unreal/Verse/Tests/Data/bridge/replies/ide.open.jsonnew file mode 100644index 0000000000..25255b12a1--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/ide.open.json@@ -0,0 +1,20 @@+[+ {+ "request": {+ "type": "ide.open",+ "id": "c-76",+ "ts": 1793612605.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 335,+ "ts": 1793612605.05,+ "re": "c-76",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/launcher.cancel.json b/unreal/Verse/Tests/Data/bridge/replies/launcher.cancel.jsonnew file mode 100644index 0000000000..add6dce691--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/launcher.cancel.json@@ -0,0 +1,22 @@+[+ {+ "request": {+ "type": "launcher.cancel",+ "id": "c-72",+ "ts": 1793612601.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 330,+ "ts": 1793612601.05,+ "re": "c-72",+ "data": {+ "ok": true,+ "result": {+ "stopped": 1+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/launcher.options.json b/unreal/Verse/Tests/Data/bridge/replies/launcher.options.jsonnew file mode 100644index 0000000000..7aba449f2d--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/launcher.options.json@@ -0,0 +1,45 @@+[+ {+ "request": {+ "type": "launcher.options",+ "id": "c-70",+ "ts": 1793612599.0,+ "data": {}+ },+ "reply": {+ "type": "reply",+ "seq": 327,+ "ts": 1793612599.05,+ "re": "c-70",+ "data": {+ "ok": true,+ "result": {+ "workspaces": [+ {+ "workspace_id": "ws_91",+ "name": "Main",+ "active": true+ },+ {+ "workspace_id": "ws_92",+ "name": "Docs",+ "active": false+ }+ ],+ "agents": [+ {+ "agent": "claude",+ "display_name": "Claude Code",+ "available": true+ },+ {+ "agent": "codex",+ "display_name": "Codex",+ "available": false+ }+ ]+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/launcher.start.json b/unreal/Verse/Tests/Data/bridge/replies/launcher.start.jsonnew file mode 100644index 0000000000..e6eacfa308--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/launcher.start.json@@ -0,0 +1,70 @@+[+ {+ "request": {+ "type": "launcher.start",+ "id": "c-71",+ "ts": 1793612600.0,+ "data": {+ "workspace_id": "ws_91",+ "agents": [+ {+ "agent": "claude",+ "count": 2+ }+ ],+ "brief": "Write the bridge relay tests."+ }+ },+ "reply": {+ "type": "reply",+ "seq": 328,+ "ts": 1793612600.05,+ "re": "c-71",+ "data": {+ "ok": true,+ "result": {+ "panes": [+ {+ "pane_id": "ws_91:T4",+ "submitted": true+ },+ {+ "pane_id": "ws_91:T5",+ "submitted": null+ }+ ]+ }+ }+ }+ },+ {+ "request": {+ "type": "launcher.start",+ "id": "c-81",+ "ts": 1793612601.0,+ "data": {+ "workspace_id": "ws_91",+ "agents": [+ {+ "agent": "claude",+ "count": 2+ }+ ],+ "brief": "Write the bridge relay tests."+ }+ },+ "reply": {+ "type": "reply",+ "seq": 329,+ "ts": 1793612601.05,+ "re": "c-81",+ "data": {+ "ok": false,+ "error": {+ "code": "busy",+ "message": "A launcher batch is already running."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/meeting.start.json b/unreal/Verse/Tests/Data/bridge/replies/meeting.start.jsonnew file mode 100644index 0000000000..c52b77a552--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/meeting.start.json@@ -0,0 +1,47 @@+[+ {+ "request": {+ "type": "meeting.start",+ "id": "c-44",+ "ts": 1793612379.0,+ "data": {+ "group_id": "grp_a",+ "text": "Ship 4.2?"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 310,+ "ts": 1793612379.05,+ "re": "c-44",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "meeting.start",+ "id": "c-46",+ "ts": 1793612379.0,+ "data": {+ "group_id": "grp_a",+ "text": "Ship 4.2?"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 311,+ "ts": 1793612379.05,+ "re": "c-46",+ "data": {+ "ok": false,+ "error": {+ "code": "conflict",+ "message": "The person declined."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/meeting.stop.json b/unreal/Verse/Tests/Data/bridge/replies/meeting.stop.jsonnew file mode 100644index 0000000000..ec57e9eadf--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/meeting.stop.json@@ -0,0 +1,22 @@+[+ {+ "request": {+ "type": "meeting.stop",+ "id": "c-45",+ "ts": 1793612400.0,+ "data": {+ "group_id": "grp_a"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 312,+ "ts": 1793612400.05,+ "re": "c-45",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/pane.open.json b/unreal/Verse/Tests/Data/bridge/replies/pane.open.jsonnew file mode 100644index 0000000000..386d5ae1dd--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/pane.open.json@@ -0,0 +1,66 @@+[+ {+ "request": {+ "type": "pane.open",+ "id": "c-62",+ "ts": 1793612590.0,+ "data": {+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 319,+ "ts": 1793612590.05,+ "re": "c-62",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "pane.open",+ "id": "c-63",+ "ts": 1793612591.0,+ "data": {+ "pane_id": "ws_91:T1",+ "open": "changes"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 320,+ "ts": 1793612591.05,+ "re": "c-63",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "pane.open",+ "id": "c-68",+ "ts": 1793612590.0,+ "data": {+ "pane_id": "ws_91:T3"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 321,+ "ts": 1793612590.05,+ "re": "c-68",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Pane is gone."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/progression.action.json b/unreal/Verse/Tests/Data/bridge/replies/progression.action.jsonnew file mode 100644index 0000000000..449867af24--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/progression.action.json@@ -0,0 +1,85 @@+[+ {+ "request": {+ "type": "progression.action",+ "id": "c-52",+ "ts": 1793612395.0,+ "data": {+ "action": "inspection",+ "ref": "hangar"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 313,+ "ts": 1793612395.05,+ "re": "c-52",+ "data": {+ "ok": true,+ "result": {+ "awarded": {+ "seq": 905,+ "subject_id": "person",+ "subject_kind": "person",+ "xp_source": "inspection",+ "xp": 15,+ "total_xp": 5285,+ "level": 14,+ "previous_level": 14,+ "title": "Lieutenant",+ "unlocked": [],+ "unlocked_looks": []+ }+ }+ }+ }+ },+ {+ "request": {+ "type": "progression.action",+ "id": "c-53",+ "ts": 1793612396.0,+ "data": {+ "action": "walk_together",+ "ref": ""+ }+ },+ "reply": {+ "type": "reply",+ "seq": 314,+ "ts": 1793612396.05,+ "re": "c-53",+ "data": {+ "ok": true,+ "result": {+ "awarded": null+ }+ }+ }+ },+ {+ "request": {+ "type": "progression.action",+ "id": "c-55",+ "ts": 1793612395.0,+ "data": {+ "action": "duel_won",+ "ref": ""+ }+ },+ "reply": {+ "type": "reply",+ "seq": 315,+ "ts": 1793612395.05,+ "re": "c-55",+ "data": {+ "ok": false,+ "error": {+ "code": "bad_request",+ "message": "duel_won is not a world action."+ }+ }+ },+ "request_invalid": true+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/progression.told.json b/unreal/Verse/Tests/Data/bridge/replies/progression.told.jsonnew file mode 100644index 0000000000..e35513fa3d--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/progression.told.json@@ -0,0 +1,24 @@+[+ {+ "request": {+ "type": "progression.told",+ "id": "c-54",+ "ts": 1793612396.5,+ "data": {+ "seq": 903+ }+ },+ "reply": {+ "type": "reply",+ "seq": 316,+ "ts": 1793612396.55,+ "re": "c-54",+ "data": {+ "ok": true,+ "result": {+ "told_seq": 903+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/qa.exec.json b/unreal/Verse/Tests/Data/bridge/replies/qa.exec.jsonnew file mode 100644index 0000000000..72ac04f0cf--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/qa.exec.json@@ -0,0 +1,55 @@+[+ {+ "request": {+ "type": "qa.exec",+ "id": "c-79",+ "ts": 1793612608.0,+ "data": {+ "command": "Verse.QA.Stats",+ "args": []+ }+ },+ "reply": {+ "type": "reply",+ "seq": 338,+ "ts": 1793612608.05,+ "re": "c-79",+ "data": {+ "ok": false,+ "error": {+ "code": "unavailable",+ "message": "QA commands need DODAIOS_VERSE_QA=1."+ }+ }+ }+ },+ {+ "request": {+ "type": "qa.exec",+ "id": "c-80",+ "ts": 1793612609.0,+ "data": {+ "command": "Verse.QA.SetDuty",+ "args": [+ "ag_7f1",+ "error"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 339,+ "ts": 1793612609.05,+ "re": "c-80",+ "data": {+ "ok": true,+ "result": {+ "result": {+ "agent_id": "ag_7f1",+ "duty": "error"+ }+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/resync.json b/unreal/Verse/Tests/Data/bridge/replies/resync.jsonnew file mode 100644index 0000000000..582c049ae1--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/resync.json@@ -0,0 +1,46 @@+[+ {+ "request": {+ "type": "resync",+ "id": "c-9",+ "ts": 1793612399.0,+ "data": {+ "topic": "roster"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 305,+ "ts": 1793612399.05,+ "re": "c-9",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ },+ {+ "request": {+ "type": "resync",+ "id": "c-10",+ "ts": 1793612399.5,+ "data": {+ "topic": "screens",+ "pane_id": "ws_91:T1"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 306,+ "ts": 1793612399.55,+ "re": "c-10",+ "data": {+ "ok": false,+ "error": {+ "code": "not_found",+ "message": "Pane is not watched."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/screens.watch.json b/unreal/Verse/Tests/Data/bridge/replies/screens.watch.jsonnew file mode 100644index 0000000000..f84048b2b1--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/screens.watch.json@@ -0,0 +1,146 @@+[+ {+ "request": {+ "type": "screens.watch",+ "id": "c-30",+ "ts": 1793612360.0,+ "data": {+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T2",+ "hz": 2+ }+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 307,+ "ts": 1793612360.05,+ "re": "c-30",+ "data": {+ "ok": true,+ "result": {+ "bound": [+ {+ "pane_id": "ws_91:T1",+ "ref": 1+ },+ {+ "pane_id": "ws_91:T2",+ "ref": 2+ }+ ],+ "dropped": [],+ "missing": []+ }+ }+ }+ },+ {+ "request": {+ "type": "screens.watch",+ "id": "c-31",+ "ts": 1793612362.0,+ "data": {+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T2",+ "hz": 10+ },+ {+ "pane_id": "ws_91:T3",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T4",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T5",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T6",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T7",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T8",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T9",+ "hz": 2+ },+ {+ "pane_id": "ws_91:T10",+ "hz": 2+ }+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 308,+ "ts": 1793612362.05,+ "re": "c-31",+ "data": {+ "ok": true,+ "result": {+ "bound": [+ {+ "pane_id": "ws_91:T1",+ "ref": 1+ },+ {+ "pane_id": "ws_91:T2",+ "ref": 2+ },+ {+ "pane_id": "ws_91:T3",+ "ref": 3+ },+ {+ "pane_id": "ws_91:T4",+ "ref": 4+ },+ {+ "pane_id": "ws_91:T5",+ "ref": 5+ },+ {+ "pane_id": "ws_91:T6",+ "ref": 6+ },+ {+ "pane_id": "ws_91:T7",+ "ref": 7+ },+ {+ "pane_id": "ws_91:T9",+ "ref": 8+ }+ ],+ "dropped": [+ "ws_91:T10"+ ],+ "missing": [+ "ws_91:T8"+ ]+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/settings.set.json b/unreal/Verse/Tests/Data/bridge/replies/settings.set.jsonnew file mode 100644index 0000000000..ed6b12aa23--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/settings.set.json@@ -0,0 +1,64 @@+[+ {+ "request": {+ "type": "settings.set",+ "id": "c-77",+ "ts": 1793612606.0,+ "data": {+ "gore": "reduced"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 336,+ "ts": 1793612606.05,+ "re": "c-77",+ "data": {+ "ok": true,+ "result": {+ "settings": {+ "gore": "reduced",+ "reduced_motion": false,+ "return_key": "F10",+ "ui_sound": true,+ "level_sound": true,+ "uniform": "standard",+ "view": {+ "mode": "third",+ "sensitivity": 1.0,+ "invert_y": false,+ "fov_third": 70,+ "fov_first": 85,+ "quality": "auto",+ "volume": 0.7+ }+ }+ }+ }+ }+ },+ {+ "request": {+ "type": "settings.set",+ "id": "c-83",+ "ts": 1793612606.0,+ "data": {+ "gore": "none"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 337,+ "ts": 1793612606.05,+ "re": "c-83",+ "data": {+ "ok": false,+ "error": {+ "code": "bad_request",+ "message": "gore must be full or reduced."+ }+ }+ },+ "request_invalid": true+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/simulator.open.json b/unreal/Verse/Tests/Data/bridge/replies/simulator.open.jsonnew file mode 100644index 0000000000..921463cfa0--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/simulator.open.json@@ -0,0 +1,22 @@+[+ {+ "request": {+ "type": "simulator.open",+ "id": "c-75",+ "ts": 1793612604.0,+ "data": {+ "programme": "asteroid-run"+ }+ },+ "reply": {+ "type": "reply",+ "seq": 334,+ "ts": 1793612604.05,+ "re": "c-75",+ "data": {+ "ok": true,+ "result": {}+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/subscribe.json b/unreal/Verse/Tests/Data/bridge/replies/subscribe.jsonnew file mode 100644index 0000000000..bde9bbd24d--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/subscribe.json@@ -0,0 +1,92 @@+[+ {+ "request": {+ "type": "subscribe",+ "id": "c-1",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "roster",+ "panes",+ "progression",+ "meetings",+ "groups"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 301,+ "ts": 1793612340.25,+ "re": "c-1",+ "data": {+ "ok": true,+ "result": {+ "subscribed": [+ "roster",+ "panes",+ "progression",+ "meetings",+ "groups"+ ],+ "unavailable": []+ }+ }+ }+ },+ {+ "request": {+ "type": "subscribe",+ "id": "c-2",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "duel_stats",+ "companion"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 302,+ "ts": 1793612340.25,+ "re": "c-2",+ "data": {+ "ok": true,+ "result": {+ "subscribed": [+ "companion"+ ],+ "unavailable": [+ "duel_stats"+ ]+ }+ }+ }+ },+ {+ "request": {+ "type": "subscribe",+ "id": "c-3",+ "ts": 1793612340.2,+ "data": {+ "topics": [+ "panel"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 303,+ "ts": 1793612340.25,+ "re": "c-3",+ "data": {+ "ok": false,+ "error": {+ "code": "unavailable",+ "message": "No requested topic is served."+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/replies/unsubscribe.json b/unreal/Verse/Tests/Data/bridge/replies/unsubscribe.jsonnew file mode 100644index 0000000000..4265792997--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/replies/unsubscribe.json@@ -0,0 +1,28 @@+[+ {+ "request": {+ "type": "unsubscribe",+ "id": "c-8",+ "ts": 1793612398.0,+ "data": {+ "topics": [+ "meetings"+ ]+ }+ },+ "reply": {+ "type": "reply",+ "seq": 304,+ "ts": 1793612398.05,+ "re": "c-8",+ "data": {+ "ok": true,+ "result": {+ "unsubscribed": [+ "meetings"+ ]+ }+ }+ }+ }+]diff --git a/unreal/Verse/Tests/Data/bridge/scenarios/awards.json b/unreal/Verse/Tests/Data/bridge/scenarios/awards.jsonnew file mode 100644index 0000000000..5f6f1701cc--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/scenarios/awards.json@@ -0,0 +1,98 @@+{+ "name": "awards",+ "description": "XP awards for the commander, a level-up with an unlock, an agent and the drone; world actions.",+ "topics": [+ "progression",+ "companion"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {+ "progression.snapshot": {+ "subjects": [+ {+ "subject_id": "person",+ "kind": "person",+ "level": 14,+ "total_xp": 5230,+ "into_level": 130,+ "for_next": 600,+ "title": "Lieutenant"+ }+ ],+ "pet_id": "drone",+ "latest_seq": 902,+ "told_seq": 897,+ "rulebook": {+ "ranks": [+ {+ "id": "recruit",+ "level": 1,+ "tier": "deck"+ }+ ],+ "rewards": [],+ "looks": [],+ "titles": {}+ },+ "duel_stats": {+ "matches": 12,+ "wins": 7,+ "losses": 5,+ "kills": 96,+ "deaths": 81,+ "headshots": 31,+ "finishers": 4,+ "best_streak": 6,+ "by_tier": {+ "hard": {+ "wins": 5,+ "losses": 3+ }+ }+ }+ },+ "companion.snapshot": {+ "pet_id": "drone",+ "look": "drone_brass",+ "style": "overlay"+ }+ },+ "replies": {+ "progression.action": [+ {+ "ok": true,+ "result": {+ "awarded": {+ "seq": 908,+ "subject_id": "person",+ "subject_kind": "person",+ "xp_source": "deck_discovered",+ "xp": 20,+ "total_xp": 5850,+ "level": 15,+ "previous_level": 15,+ "title": "Lieutenant",+ "unlocked": [],+ "unlocked_looks": []+ }+ }+ },+ {+ "ok": true,+ "result": {+ "awarded": null+ }+ }+ ]+ },+ "steps": [+ {"at_ms": 200, "frame": {"type": "progression.awarded", "data": {"seq": 903, "subject_id": "person", "subject_kind": "person", "xp_source": "daily_visit", "xp": 25, "total_xp": 5255, "level": 14, "previous_level": 14, "title": "Lieutenant", "unlocked": [], "unlocked_looks": []}}},+ {"at_ms": 400, "frame": {"type": "progression.awarded", "data": {"seq": 904, "subject_id": "person", "subject_kind": "person", "xp_source": "duel_won", "xp": 40, "total_xp": 5295, "level": 14, "previous_level": 14, "title": "Lieutenant", "unlocked": [], "unlocked_looks": []}}},+ {"at_ms": 600, "frame": {"type": "progression.awarded", "data": {"seq": 905, "subject_id": "person", "subject_kind": "person", "xp_source": "inspection", "xp": 15, "total_xp": 5830, "level": 15, "previous_level": 14, "title": "Lieutenant", "unlocked": ["plate_line_gold"], "unlocked_looks": []}}},+ {"at_ms": 800, "frame": {"type": "progression.awarded", "data": {"seq": 906, "subject_id": "agent:ag_001", "subject_kind": "agent", "xp_source": "task_done", "xp": 40, "total_xp": 820, "level": 7, "previous_level": 6, "title": "Deckhand", "unlocked": [], "unlocked_looks": ["look_05"]}}},+ {"at_ms": 1000, "frame": {"type": "progression.awarded", "data": {"seq": 907, "subject_id": "pet:drone", "subject_kind": "pet", "xp_source": "walk_together", "xp": 3, "total_xp": 211, "level": 4, "previous_level": 4, "title": "Deckhand", "unlocked": [], "unlocked_looks": []}}},+ {"at_ms": 1200, "frame": {"type": "companion.update", "data": {"pet_id": "drone", "look": "drone_gold", "style": "overlay"}}},+ {"at_ms": 1300, "expect": {"type": "progression.told", "data": {"seq": 905}}, "timeout_ms": 5000, "note": "Verse reports the level-up it has shown."}+ ]+}diff --git a/unreal/Verse/Tests/Data/bridge/scenarios/busy_panes.json b/unreal/Verse/Tests/Data/bridge/scenarios/busy_panes.jsonnew file mode 100644index 0000000000..6003a5f514--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/scenarios/busy_panes.json@@ -0,0 +1,255 @@+{+ "name": "busy_panes",+ "description": "Eight watched panes: two near desks at 10 Hz, six far desks at 2 Hz, a resize, a plain fallback, a pane exits.",+ "topics": [+ "roster"+ ],+ "watch_screens": [+ "ws_91:T1",+ "ws_91:T2",+ "ws_91:T3",+ "ws_91:T4",+ "ws_91:T5",+ "ws_91:T6",+ "ws_91:T7",+ "ws_91:T8"+ ],+ "watch_chat_tails": [],+ "state": {+ "roster.snapshot": {+ "commander": {+ "subject_id": "person",+ "level": 14,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ },+ "agents": [],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "workspace_id": "ws_91",+ "key": "T1",+ "history_id": "h_01",+ "name": "T1",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 1",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T2",+ "workspace_id": "ws_91",+ "key": "T2",+ "history_id": "h_02",+ "name": "T2",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 2",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T3",+ "workspace_id": "ws_91",+ "key": "T3",+ "history_id": "h_03",+ "name": "T3",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 3",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T4",+ "workspace_id": "ws_91",+ "key": "T4",+ "history_id": "h_04",+ "name": "T4",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 4",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T5",+ "workspace_id": "ws_91",+ "key": "T5",+ "history_id": "h_05",+ "name": "T5",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 5",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T6",+ "workspace_id": "ws_91",+ "key": "T6",+ "history_id": "h_06",+ "name": "T6",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 6",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T7",+ "workspace_id": "ws_91",+ "key": "T7",+ "history_id": "h_07",+ "name": "T7",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 7",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T8",+ "workspace_id": "ws_91",+ "key": "T8",+ "history_id": "h_08",+ "name": "T8",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 8",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ }+ ]+ }+ },+ "replies": {},+ "steps": [+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 1, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 1", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 2, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 2", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 3, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 3", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 4, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 4", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 5, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 5", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 6, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 6", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 7, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 7", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 0, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "snapshot", "cols": 132, "rows": 40, "cursor": [0, 0], "style": "styled", "ref": 8, "cut": false, "at": 1793612340.0, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "$ agent run --task 8", "fg": null, "bg": null, "attrs": []}]}]}}},+ {"at_ms": 100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [5, 30], "style": "styled", "rows_changed": [{"row": 3, "runs": [{"col": 0, "text": "[1] step 001", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 12% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[1] step 001", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 12% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 5, "runs": [{"col": 0, "text": "[1] step 001", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 12% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [5, 30], "style": "styled", "rows_changed": [{"row": 3, "runs": [{"col": 0, "text": "[2] step 001", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 17% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[2] step 001", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 17% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 5, "runs": [{"col": 0, "text": "[2] step 001", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 17% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [8, 30], "style": "styled", "rows_changed": [{"row": 6, "runs": [{"col": 0, "text": "[1] step 002", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[1] step 002", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 8, "runs": [{"col": 0, "text": "[1] step 002", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [8, 30], "style": "styled", "rows_changed": [{"row": 6, "runs": [{"col": 0, "text": "[2] step 002", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[2] step 002", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 8, "runs": [{"col": 0, "text": "[2] step 002", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [11, 30], "style": "styled", "rows_changed": [{"row": 9, "runs": [{"col": 0, "text": "[1] step 003", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 26% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[1] step 003", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 26% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 11, "runs": [{"col": 0, "text": "[1] step 003", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 26% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [11, 30], "style": "styled", "rows_changed": [{"row": 9, "runs": [{"col": 0, "text": "[2] step 003", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 31% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[2] step 003", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 31% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 11, "runs": [{"col": 0, "text": "[2] step 003", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 31% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [14, 30], "style": "styled", "rows_changed": [{"row": 12, "runs": [{"col": 0, "text": "[1] step 004", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 33% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[1] step 004", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 33% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 14, "runs": [{"col": 0, "text": "[1] step 004", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 33% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [14, 30], "style": "styled", "rows_changed": [{"row": 12, "runs": [{"col": 0, "text": "[2] step 004", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 38% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[2] step 004", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 38% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 14, "runs": [{"col": 0, "text": "[2] step 004", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 38% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[1] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 40% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[1] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 40% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[1] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 40% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[2] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 45% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[2] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 45% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[2] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 45% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[3] step 005", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 50% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[3] step 005", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 50% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[3] step 005", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 50% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[4] step 005", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 55% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[4] step 005", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 55% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[4] step 005", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 55% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[5] step 005", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 60% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[5] step 005", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 60% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[5] step 005", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 60% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[6] step 005", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 65% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[6] step 005", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 65% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[6] step 005", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 65% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[7] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 70% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[7] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 70% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[7] step 005", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 70% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [17, 30], "style": "styled", "rows_changed": [{"row": 15, "runs": [{"col": 0, "text": "[8] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[8] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 17, "runs": [{"col": 0, "text": "[8] step 005", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [20, 30], "style": "styled", "rows_changed": [{"row": 18, "runs": [{"col": 0, "text": "[1] step 006", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 47% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[1] step 006", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 47% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 20, "runs": [{"col": 0, "text": "[1] step 006", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 47% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [20, 30], "style": "styled", "rows_changed": [{"row": 18, "runs": [{"col": 0, "text": "[2] step 006", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 52% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[2] step 006", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 52% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 20, "runs": [{"col": 0, "text": "[2] step 006", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 52% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [23, 30], "style": "styled", "rows_changed": [{"row": 21, "runs": [{"col": 0, "text": "[1] step 007", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[1] step 007", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 23, "runs": [{"col": 0, "text": "[1] step 007", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [23, 30], "style": "styled", "rows_changed": [{"row": 21, "runs": [{"col": 0, "text": "[2] step 007", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[2] step 007", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 23, "runs": [{"col": 0, "text": "[2] step 007", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [26, 30], "style": "styled", "rows_changed": [{"row": 24, "runs": [{"col": 0, "text": "[1] step 008", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 61% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 25, "runs": [{"col": 0, "text": "[1] step 008", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 61% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 26, "runs": [{"col": 0, "text": "[1] step 008", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 61% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [26, 30], "style": "styled", "rows_changed": [{"row": 24, "runs": [{"col": 0, "text": "[2] step 008", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 66% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 25, "runs": [{"col": 0, "text": "[2] step 008", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 66% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 26, "runs": [{"col": 0, "text": "[2] step 008", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 66% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [29, 30], "style": "styled", "rows_changed": [{"row": 27, "runs": [{"col": 0, "text": "[1] step 009", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 68% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 28, "runs": [{"col": 0, "text": "[1] step 009", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 68% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 29, "runs": [{"col": 0, "text": "[1] step 009", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 68% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [29, 30], "style": "styled", "rows_changed": [{"row": 27, "runs": [{"col": 0, "text": "[2] step 009", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 73% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 28, "runs": [{"col": 0, "text": "[2] step 009", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 73% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 29, "runs": [{"col": 0, "text": "[2] step 009", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 73% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[1] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[1] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[1] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 75% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[2] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 80% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[2] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 80% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[2] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 80% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[3] step 010", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 85% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[3] step 010", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 85% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[3] step 010", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 85% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[4] step 010", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 90% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[4] step 010", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 90% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[4] step 010", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 90% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[5] step 010", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 95% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[5] step 010", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 95% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[5] step 010", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 95% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[6] step 010", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 100% ####################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[6] step 010", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 100% ####################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[6] step 010", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 100% ####################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[7] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 4% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[7] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 4% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[7] step 010", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 4% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [32, 30], "style": "styled", "rows_changed": [{"row": 30, "runs": [{"col": 0, "text": "[8] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 31, "runs": [{"col": 0, "text": "[8] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 32, "runs": [{"col": 0, "text": "[8] step 010", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [35, 30], "style": "styled", "rows_changed": [{"row": 33, "runs": [{"col": 0, "text": "[1] step 011", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 82% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 34, "runs": [{"col": 0, "text": "[1] step 011", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 82% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 35, "runs": [{"col": 0, "text": "[1] step 011", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 82% ################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [35, 30], "style": "styled", "rows_changed": [{"row": 33, "runs": [{"col": 0, "text": "[2] step 011", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 87% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 34, "runs": [{"col": 0, "text": "[2] step 011", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 87% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 35, "runs": [{"col": 0, "text": "[2] step 011", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 87% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [38, 30], "style": "styled", "rows_changed": [{"row": 36, "runs": [{"col": 0, "text": "[1] step 012", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 89% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 37, "runs": [{"col": 0, "text": "[1] step 012", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 89% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 38, "runs": [{"col": 0, "text": "[1] step 012", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 89% #################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1200, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [38, 30], "style": "styled", "rows_changed": [{"row": 36, "runs": [{"col": 0, "text": "[2] step 012", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 94% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 37, "runs": [{"col": 0, "text": "[2] step 012", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 94% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 38, "runs": [{"col": 0, "text": "[2] step 012", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 94% ##################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [1, 30], "style": "styled", "rows_changed": [{"row": 39, "runs": [{"col": 0, "text": "[1] step 013", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 96% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 0, "runs": [{"col": 0, "text": "[1] step 013", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 96% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 1, "runs": [{"col": 0, "text": "[1] step 013", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 96% ###################", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1300, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [1, 30], "style": "styled", "rows_changed": [{"row": 39, "runs": [{"col": 0, "text": "[2] step 013", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 0% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 0, "runs": [{"col": 0, "text": "[2] step 013", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 0% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 1, "runs": [{"col": 0, "text": "[2] step 013", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 0% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [4, 30], "style": "styled", "rows_changed": [{"row": 2, "runs": [{"col": 0, "text": "[1] step 014", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 2% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 3, "runs": [{"col": 0, "text": "[1] step 014", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 2% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[1] step 014", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 2% ", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1400, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [4, 30], "style": "styled", "rows_changed": [{"row": 2, "runs": [{"col": 0, "text": "[2] step 014", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 7% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 3, "runs": [{"col": 0, "text": "[2] step 014", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 7% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 4, "runs": [{"col": 0, "text": "[2] step 014", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 7% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[1] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[1] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[1] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 9% #", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[2] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 14% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[2] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 14% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[2] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 14% ##", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[3] step 015", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[3] step 015", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[3] step 015", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 19% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[4] step 015", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[4] step 015", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[4] step 015", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 24% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[5] step 015", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 29% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[5] step 015", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 29% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[5] step 015", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 29% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[6] step 015", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 34% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[6] step 015", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 34% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[6] step 015", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 34% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[7] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 39% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[7] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 39% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[7] step 015", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 39% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1500, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [7, 30], "style": "styled", "rows_changed": [{"row": 5, "runs": [{"col": 0, "text": "[8] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 6, "runs": [{"col": 0, "text": "[8] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 7, "runs": [{"col": 0, "text": "[8] step 015", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [10, 30], "style": "styled", "rows_changed": [{"row": 8, "runs": [{"col": 0, "text": "[1] step 016", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 16% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 9, "runs": [{"col": 0, "text": "[1] step 016", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 16% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[1] step 016", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 16% ###", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1600, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [10, 30], "style": "styled", "rows_changed": [{"row": 8, "runs": [{"col": 0, "text": "[2] step 016", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 21% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 9, "runs": [{"col": 0, "text": "[2] step 016", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 21% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 10, "runs": [{"col": 0, "text": "[2] step 016", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 21% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [13, 30], "style": "styled", "rows_changed": [{"row": 11, "runs": [{"col": 0, "text": "[1] step 017", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 23% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 12, "runs": [{"col": 0, "text": "[1] step 017", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 23% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[1] step 017", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 23% ####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1700, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [13, 30], "style": "styled", "rows_changed": [{"row": 11, "runs": [{"col": 0, "text": "[2] step 017", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 28% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 12, "runs": [{"col": 0, "text": "[2] step 017", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 28% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 13, "runs": [{"col": 0, "text": "[2] step 017", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 28% #####", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [16, 30], "style": "styled", "rows_changed": [{"row": 14, "runs": [{"col": 0, "text": "[1] step 018", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 30% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 15, "runs": [{"col": 0, "text": "[1] step 018", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 30% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[1] step 018", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 30% ######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1800, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [16, 30], "style": "styled", "rows_changed": [{"row": 14, "runs": [{"col": 0, "text": "[2] step 018", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 35% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 15, "runs": [{"col": 0, "text": "[2] step 018", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 35% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 16, "runs": [{"col": 0, "text": "[2] step 018", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 35% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [19, 30], "style": "styled", "rows_changed": [{"row": 17, "runs": [{"col": 0, "text": "[1] step 019", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 37% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 18, "runs": [{"col": 0, "text": "[1] step 019", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 37% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[1] step 019", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 37% #######", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 1900, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [19, 30], "style": "styled", "rows_changed": [{"row": 17, "runs": [{"col": 0, "text": "[2] step 019", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 42% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 18, "runs": [{"col": 0, "text": "[2] step 019", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 42% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 19, "runs": [{"col": 0, "text": "[2] step 019", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 42% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T1", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[1] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[1] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[1] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 44% ########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[2] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 49% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[2] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 49% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[2] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 49% #########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T3", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[3] step 020", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[3] step 020", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[3] step 020", "fg": {"i": 5}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 54% ##########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T4", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[4] step 020", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[4] step 020", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[4] step 020", "fg": {"i": 6}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 59% ###########", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T5", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[5] step 020", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 64% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[5] step 020", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 64% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[5] step 020", "fg": {"i": 7}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 64% ############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T6", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[6] step 020", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 69% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[6] step 020", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 69% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[6] step 020", "fg": {"i": 2}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 69% #############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[7] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 74% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[7] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 74% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[7] step 020", "fg": {"i": 3}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 74% ##############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2000, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T8", "kind": "delta", "cols": 132, "rows": 40, "cursor": [22, 30], "style": "styled", "rows_changed": [{"row": 20, "runs": [{"col": 0, "text": "[8] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 79% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 21, "runs": [{"col": 0, "text": "[8] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 79% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}, {"row": 22, "runs": [{"col": 0, "text": "[8] step 020", "fg": {"i": 4}, "bg": null, "attrs": ["bold"]}, {"col": 16, "text": " 79% ###############", "fg": "#c8a24a", "bg": null, "attrs": []}]}]}}},+ {"at_ms": 2050, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T2", "kind": "snapshot", "cols": 100, "rows": 30, "cursor": [29, 0], "style": "styled", "ref": 2, "cut": false, "at": 1793612342.0, "rows_changed": [{"row": 29, "runs": [{"col": 0, "text": "resized", "fg": null, "bg": null, "attrs": ["italic"]}]}]}}, "note": "Resize: a fresh snapshot"},+ {"at_ms": 2100, "frame": {"type": "screens.frame", "data": {"pane_id": "ws_91:T7", "kind": "snapshot", "cols": 240, "rows": 60, "cursor": [-1, -1], "style": "plain", "ref": 7, "cut": true, "at": null, "rows_changed": [{"row": 0, "runs": [{"col": 0, "text": "plain fallback, cut to 240 x 60", "fg": null, "bg": null, "attrs": []}]}]}}, "note": "Styled mirror unavailable: plain fallback"},+ {"at_ms": 2200, "frame": {"type": "screens.gone", "data": {"pane_id": "ws_91:T8", "reason": "exited"}}},+ {"at_ms": 2300, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T8", "status": "exited", "activity": "exited", "duty": "idle"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}}+ ]+}diff --git a/unreal/Verse/Tests/Data/bridge/scenarios/idle.json b/unreal/Verse/Tests/Data/bridge/scenarios/idle.jsonnew file mode 100644index 0000000000..2474115932--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/scenarios/idle.json@@ -0,0 +1,17 @@+{+ "name": "idle",+ "description": "Golden snapshots on subscribe and heartbeats; nothing else. The smoke test default.",+ "topics": [+ "roster",+ "groups",+ "meetings",+ "progression",+ "companion"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {},+ "replies": {},+ "steps": [+]+}diff --git a/unreal/Verse/Tests/Data/bridge/scenarios/lifecycle.json b/unreal/Verse/Tests/Data/bridge/scenarios/lifecycle.jsonnew file mode 100644index 0000000000..e40ca6e173--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/scenarios/lifecycle.json@@ -0,0 +1,24 @@+{+ "name": "lifecycle",+ "description": "Show, pause, resume, hide, GPU yield and free, live settings, quick-start duel, app focus, quit.",+ "topics": [],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {},+ "replies": {},+ "steps": [+ {"at_ms": 100, "frame": {"type": "lifecycle.show", "data": {"monitor": {"x": 0, "y": 0, "w": 2560, "h": 1440, "dpi": 1.25}, "reason": "verse_view"}}},+ {"at_ms": 100, "expect": {"type": "lifecycle.state", "data": {"state": "visible"}}, "timeout_ms": 3000},+ {"at_ms": 300, "frame": {"type": "lifecycle.pause", "data": {"reason": "screen_lock"}}},+ {"at_ms": 400, "frame": {"type": "lifecycle.resume", "data": {"reason": "screen_unlock"}}},+ {"at_ms": 500, "frame": {"type": "lifecycle.hide", "data": {"reason": "app_focus"}}},+ {"at_ms": 500, "expect": {"type": "lifecycle.state", "data": {"state": "dormant"}}, "timeout_ms": 3000},+ {"at_ms": 700, "frame": {"type": "gpu.yield", "data": {"by": "local_model"}}},+ {"at_ms": 800, "frame": {"type": "gpu.free", "data": {"by": "local_model"}}},+ {"at_ms": 900, "frame": {"type": "settings.changed", "data": {"gore": "reduced", "lang": "en", "strings": {"verse.ranks.duty.working": "On watch"}}}},+ {"at_ms": 1000, "frame": {"type": "lifecycle.show", "data": {"monitor": {"x": 0, "y": 0, "w": 2560, "h": 1440, "dpi": 1.25}, "reason": "quick_start_duel"}}},+ {"at_ms": 1100, "frame": {"type": "focus.app_took", "data": {}}},+ {"at_ms": 1300, "frame": {"type": "lifecycle.quit", "data": {"reason": "app_quit", "deadline_ms": 3000}}},+ {"at_ms": 1300, "expect": {"type": "lifecycle.bye"}, "timeout_ms": 3000}+ ]+}diff --git a/unreal/Verse/Tests/Data/bridge/scenarios/meetings.json b/unreal/Verse/Tests/Data/bridge/scenarios/meetings.jsonnew file mode 100644index 0000000000..af9aa2c699--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/scenarios/meetings.json@@ -0,0 +1,51 @@+{+ "name": "meetings",+ "description": "A four-round team meeting with rotating speakers, then it settles; groups arrive and leave.",+ "topics": [+ "groups",+ "meetings"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {+ "groups.snapshot": {+ "groups": [+ {+ "group_id": "grp_a",+ "name": "Release crew",+ "members": [+ "ag_000",+ "ag_001",+ "ag_002"+ ],+ "lead": "ag_000",+ "goal": {+ "goal_id": "g_9",+ "state": "running"+ }+ }+ ]+ }+ },+ "replies": {+ "meeting.start": [+ {+ "ok": false,+ "error": {+ "code": "conflict",+ "message": "The person declined."+ }+ }+ ]+ },+ "steps": [+ {"at_ms": 200, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 1, "speaker": "ag_000", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 1, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}]}}},+ {"at_ms": 400, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 2, "speaker": "ag_001", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 2, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}]}}},+ {"at_ms": 600, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 3, "speaker": "ag_002", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 3, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}, {"id": "evt_m03", "speaker": "ag_002", "text": "I can write the missing settings page today."}]}}},+ {"at_ms": 800, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": true, "round": 4, "speaker": "ag_000", "room": {"room_id": "room_44", "phase": "open", "topic": "Ship 4.2?", "rounds": 4, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}, {"id": "evt_m03", "speaker": "ag_002", "text": "I can write the missing settings page today."}, {"id": "evt_m04", "speaker": "ag_000", "text": "Then we ship after the docs land."}]}}},+ {"at_ms": 1000, "frame": {"type": "meetings.update", "data": {"group_id": "grp_a", "running": false, "round": 4, "speaker": null, "room": {"room_id": "room_44", "phase": "settle", "topic": "Ship 4.2?", "rounds": 4, "max_rounds": 4}, "messages": [{"id": "evt_m01", "speaker": "ag_000", "text": "Tests are green on all three platforms."}, {"id": "evt_m02", "speaker": "ag_001", "text": "Docs lag behind the settings change."}, {"id": "evt_m03", "speaker": "ag_002", "text": "I can write the missing settings page today."}, {"id": "evt_m04", "speaker": "ag_000", "text": "Then we ship after the docs land."}], "reason": "consensus"}}},+ {"at_ms": 1100, "frame": {"type": "groups.delta", "data": {"upsert": {"groups": [{"group_id": "grp_b", "name": "Docs crew", "members": ["ag_003", "ag_005"], "lead": "ag_003", "goal": null}]}, "remove": {"groups": []}}}},+ {"at_ms": 1200, "frame": {"type": "groups.delta", "data": {"upsert": {"groups": [{"group_id": "grp_a", "goal": {"goal_id": "g_9", "state": "done"}}]}, "remove": {"groups": ["grp_b"]}}}},+ {"at_ms": 1300, "expect": {"type": "meeting.start"}, "timeout_ms": 5000, "optional": true, "note": "The Verse may start a meeting; the person declines (conflict)."}+ ]+}diff --git a/unreal/Verse/Tests/Data/bridge/scenarios/panel.json b/unreal/Verse/Tests/Data/bridge/scenarios/panel.jsonnew file mode 100644index 0000000000..8ee7272867--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/scenarios/panel.json@@ -0,0 +1,17 @@+{+ "name": "panel",+ "description": "The IDE side panel shows the stream, resizes twice, then hides (stop within 1 s).",+ "topics": [],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {},+ "replies": {},+ "steps": [+ {"at_ms": 100, "frame": {"type": "panel.visibility", "data": {"visible": true, "w": 480, "h": 320, "dpr": 1.5}}},+ {"at_ms": 100, "expect": {"type": "panel.stream_state", "data": {"state": "streaming"}}, "timeout_ms": 5000},+ {"at_ms": 600, "frame": {"type": "panel.resize", "data": {"w": 560, "h": 360, "dpr": 1.5}}},+ {"at_ms": 900, "frame": {"type": "panel.resize", "data": {"w": 560, "h": 360, "dpr": 2.0}}},+ {"at_ms": 1200, "frame": {"type": "panel.visibility", "data": {"visible": false, "w": 0, "h": 0, "dpr": 2.0}}},+ {"at_ms": 1200, "expect": {"type": "panel.stream_state", "data": {"state": "stopped"}}, "timeout_ms": 1000}+ ]+}diff --git a/unreal/Verse/Tests/Data/bridge/scenarios/roster_churn.json b/unreal/Verse/Tests/Data/bridge/scenarios/roster_churn.jsonnew file mode 100644index 0000000000..a82c9a8162--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/scenarios/roster_churn.json@@ -0,0 +1,227 @@+{+ "name": "roster_churn",+ "description": "Agents and panes change duty, arrive, leave; a coalesced snapshot; unknown enum values.",+ "topics": [+ "roster"+ ],+ "watch_screens": [],+ "watch_chat_tails": [],+ "state": {+ "roster.snapshot": {+ "commander": {+ "subject_id": "person",+ "level": 14,+ "rank": "lieutenant",+ "title": "Lieutenant",+ "uniform": "standard"+ },+ "agents": [+ {+ "agent_id": "ag_000",+ "name": "Mara",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 1,+ "rank": "recruit",+ "look": "look_00",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_001",+ "name": "Oren",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 2,+ "rank": "recruit",+ "look": "look_01",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_002",+ "name": "Tavi",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 3,+ "rank": "recruit",+ "look": "look_02",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_003",+ "name": "Senna",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 4,+ "rank": "deckhand",+ "look": "look_03",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_004",+ "name": "Bryn",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 5,+ "rank": "deckhand",+ "look": "look_04",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ },+ {+ "agent_id": "ag_005",+ "name": "Kade",+ "title": "Crew member",+ "tier": "specialist",+ "lifecycle": "active",+ "run_state": "idle",+ "waiting_reason": null,+ "duty": "idle",+ "level": 6,+ "rank": "deckhand",+ "look": "look_05",+ "figure": {+ "archetype": "engineer",+ "palette": "graphite"+ },+ "team_ids": [],+ "pane": null+ }+ ],+ "panes": [+ {+ "pane_id": "ws_91:T1",+ "workspace_id": "ws_91",+ "key": "T1",+ "history_id": "h_01",+ "name": "T1",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 1",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T2",+ "workspace_id": "ws_91",+ "key": "T2",+ "history_id": "h_02",+ "name": "T2",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 2",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T3",+ "workspace_id": "ws_91",+ "key": "T3",+ "history_id": "h_03",+ "name": "T3",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 3",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ },+ {+ "pane_id": "ws_91:T4",+ "workspace_id": "ws_91",+ "key": "T4",+ "history_id": "h_04",+ "name": "T4",+ "display_name": "Agent CLI",+ "agent": "claude",+ "title": "Task 4",+ "status": "live",+ "activity": "working",+ "activity_since": 1793612280.0,+ "worked": true,+ "duty": "working",+ "workspace_active": true,+ "cols": 132,+ "rows": 40+ }+ ]+ }+ },+ "replies": {},+ "steps": [+ {"at_ms": 100, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_000", "run_state": "working", "duty": "working"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 200, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_001", "run_state": "waiting", "duty": "waiting", "waiting_reason": "question"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 300, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_002", "lifecycle": "paused", "run_state": "paused", "duty": "paused"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 400, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_003", "duty": "error"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}, "note": "A blocked result: duty error while run_state stays idle"},+ {"at_ms": 500, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_006", "name": "Ilka", "title": "Test writer", "tier": "specialist", "lifecycle": "active", "run_state": "working", "waiting_reason": null, "duty": "working", "level": 7, "rank": "technician", "look": "look_00", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}, "note": "A new agent arrives complete"},+ {"at_ms": 600, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": []}, "remove": {"agents": ["ag_004"], "panes": []}, "commander": null}}},+ {"at_ms": 700, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T5", "workspace_id": "ws_91", "key": "T5", "history_id": "h_05", "name": "T5", "display_name": "Agent CLI", "agent": "claude", "title": "Task 5", "status": "pending", "activity": "starting", "activity_since": null, "worked": false, "duty": "working", "workspace_active": true, "cols": 132, "rows": 40}]}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 800, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T5", "status": "live", "activity": "asking", "duty": "waiting"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 900, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": []}, "remove": {"agents": [], "panes": ["ws_91:T2"]}, "commander": null}}},+ {"at_ms": 1000, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": [{"pane_id": "ws_91:T3", "status": "exited", "activity": "exited", "duty": "idle"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}},+ {"at_ms": 1100, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": {"subject_id": "person", "level": 15, "rank": "lieutenant", "title": "Lieutenant", "uniform": "standard"}}}},+ {"at_ms": 1200, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_005", "duty": "on_leave"}], "panes": [{"pane_id": "ws_91:T4", "activity": "hibernating"}]}, "remove": {"agents": [], "panes": []}, "commander": null}}, "lenient": true, "note": "Unknown duty and activity values: readers fall back to idle and unknown"},+ {"at_ms": 1300, "frame": {"type": "roster.snapshot", "data": {"commander": {"subject_id": "person", "level": 15, "rank": "lieutenant", "title": "Lieutenant", "uniform": "standard"}, "agents": [{"agent_id": "ag_000", "name": "Mara", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 1, "rank": "recruit", "look": "look_00", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_001", "name": "Oren", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 2, "rank": "recruit", "look": "look_01", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_002", "name": "Tavi", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 3, "rank": "recruit", "look": "look_02", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_003", "name": "Senna", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 4, "rank": "deckhand", "look": "look_03", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_005", "name": "Kade", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 6, "rank": "deckhand", "look": "look_05", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}, {"agent_id": "ag_006", "name": "Lio", "title": "Crew member", "tier": "specialist", "lifecycle": "active", "run_state": "idle", "waiting_reason": null, "duty": "idle", "level": 7, "rank": "technician", "look": "look_00", "figure": {"archetype": "engineer", "palette": "graphite"}, "team_ids": [], "pane": null}], "panes": [{"pane_id": "ws_91:T1", "workspace_id": "ws_91", "key": "T1", "history_id": "h_01", "name": "T1", "display_name": "Agent CLI", "agent": "claude", "title": "Task 1", "status": "live", "activity": "working", "activity_since": 1793612280.0, "worked": true, "duty": "working", "workspace_active": true, "cols": 132, "rows": 40}, {"pane_id": "ws_91:T3", "workspace_id": "ws_91", "key": "T3", "history_id": "h_03", "name": "T3", "display_name": "Agent CLI", "agent": "claude", "title": "Task 3", "status": "exited", "activity": "exited", "activity_since": 1793612280.0, "worked": true, "duty": "idle", "workspace_active": true, "cols": 132, "rows": 40}, {"pane_id": "ws_91:T4", "workspace_id": "ws_91", "key": "T4", "history_id": "h_04", "name": "T4", "display_name": "Agent CLI", "agent": "claude", "title": "Task 4", "status": "live", "activity": "working", "activity_since": 1793612280.0, "worked": true, "duty": "working", "workspace_active": true, "cols": 132, "rows": 40}, {"pane_id": "ws_91:T5", "workspace_id": "ws_91", "key": "T5", "history_id": "h_05", "name": "T5", "display_name": "Agent CLI", "agent": "claude", "title": "Task 5", "status": "live", "activity": "asking", "activity_since": 1793612280.0, "worked": true, "duty": "waiting", "workspace_active": true, "cols": 132, "rows": 40}]}}, "note": "Queue overflow: deltas coalesced into a fresh snapshot"},+ {"at_ms": 1400, "frame": {"type": "roster.delta", "data": {"upsert": {"agents": [{"agent_id": "ag_000", "run_state": "working", "duty": "working"}, {"agent_id": "ag_001", "run_state": "working", "duty": "working"}, {"agent_id": "ag_002", "run_state": "working", "duty": "working"}, {"agent_id": "ag_003", "run_state": "working", "duty": "working"}, {"agent_id": "ag_005", "run_state": "working", "duty": "working"}, {"agent_id": "ag_006", "run_state": "working", "duty": "working"}], "panes": []}, "remove": {"agents": [], "panes": []}, "commander": null}}}+ ]+}diff --git a/unreal/Verse/Tests/Data/bridge/verse.bridge.1.schema.json b/unreal/Verse/Tests/Data/bridge/verse.bridge.1.schema.jsonnew file mode 100644index 0000000000..d96b3fad12--- /dev/null+++ b/unreal/Verse/Tests/Data/bridge/verse.bridge.1.schema.json@@ -0,0 +1,3937 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "$id": "https://dodaios.dev/schemas/verse.bridge/1",+ "title": "verse.bridge/1",+ "description": "Frozen message schemas of docs/verse/unreal/contracts/bridge-protocol.md. 'x-messages' lists every message type with its direction, kind, topic and the $defs entries of its frame, data and (commands) reply result. 'x-fallback' on an enum names the value a reader uses for an unknown one. Golden data must match exactly (no unknown fields or values); live readers ignore unknown fields and map unknown enum values to their fallback.",+ "x-protocol": "verse.bridge/1",+ "x-kinds": {+ "handshake": "hello (first Verse frame, no id) and welcome (seq 1)",+ "command": "Verse to server, carries id, answered by exactly one reply whose re is that id",+ "notice": "Verse to server, no id, no reply",+ "feed": "Server to Verse on a topic; snapshot first, deltas carry base",+ "event": "Server to Verse, never dropped",+ "reply": "Server to Verse, answers one command"+ },+ "x-subscribed-topics": [+ "roster",+ "groups",+ "meetings",+ "progression",+ "companion"+ ],+ "x-watched-topics": {+ "screens": "screens.watch",+ "chat_tails": "chat_tails.watch"+ },+ "x-error-codes": [+ "bad_request",+ "not_found",+ "conflict",+ "busy",+ "unavailable",+ "rate_limited",+ "internal"+ ],+ "x-close-codes": {+ "1009": "frame over 1 MiB",+ "4400": "missing or malformed hello",+ "4401": "wrong token",+ "4403": "peer not on loopback",+ "4409": "replaced by a newer client",+ "4426": "unsupported protocol"+ },+ "x-limits": {+ "max_frame_bytes": 1048576,+ "screens_max_panes": 8,+ "screens_max_rows": 60,+ "screens_max_cols": 240,+ "screens_max_hz": 10,+ "screens_max_bytes_per_s": 204800,+ "chat_tails_max_agents": 6,+ "chat_tail_lines": 12,+ "meeting_messages": 8,+ "meeting_text_chars": 200,+ "ping_interval_ms": 1000,+ "dead_link_ms": 5000,+ "hello_timeout_ms": 5000+ },+ "x-messages": {+ "agent.create": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.agent.create",+ "result": "#/$defs/result.agent.create",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "agent.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.agent.open",+ "result": "#/$defs/result.agent.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "agents.open_list": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.agents.open_list",+ "result": "#/$defs/result.agents.open_list",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "chat_tails.update": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "6",+ "data": "#/$defs/data.chat_tails.update",+ "topic": "chat_tails",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "chat_tails.watch": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "6",+ "data": "#/$defs/data.chat_tails.watch",+ "result": "#/$defs/result.chat_tails.watch",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "companion.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "14",+ "data": "#/$defs/data.companion.snapshot",+ "topic": "companion",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "companion.update": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "14",+ "data": "#/$defs/data.companion.update",+ "topic": "companion",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "duel.result": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "10",+ "data": "#/$defs/data.duel.result",+ "result": "#/$defs/result.duel.result",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "focus.app_took": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.focus.app_took",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "focus.return_to_app": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.focus.return_to_app",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "gpu.free": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.gpu.free",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "gpu.yield": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.gpu.yield",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "group.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.group.open",+ "result": "#/$defs/result.group.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "groups.delta": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "7",+ "data": "#/$defs/data.groups.delta",+ "topic": "groups",+ "delta": true,+ "frame": "#/$defs/frame.server_to_verse.delta"+ },+ "groups.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "7",+ "data": "#/$defs/data.groups.snapshot",+ "topic": "groups",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "hello": {+ "dir": "verse_to_server",+ "kind": "handshake",+ "section": "3.1",+ "data": "#/$defs/data.hello",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "ide.focus_terminal": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.ide.focus_terminal",+ "result": "#/$defs/result.ide.focus_terminal",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "ide.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.ide.open",+ "result": "#/$defs/result.ide.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "launcher.cancel": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.launcher.cancel",+ "result": "#/$defs/result.launcher.cancel",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "launcher.options": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11",+ "data": "#/$defs/data.launcher.options",+ "result": "#/$defs/result.launcher.options",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "launcher.start": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11, 14",+ "data": "#/$defs/data.launcher.start",+ "result": "#/$defs/result.launcher.start",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "lifecycle.bye": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.lifecycle.bye",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "lifecycle.hide": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.hide",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.pause": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.pause",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.quit": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.quit",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.ready": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.lifecycle.ready",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "lifecycle.resume": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.resume",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.show": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.lifecycle.show",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "lifecycle.state": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.lifecycle.state",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "log": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "8",+ "data": "#/$defs/data.log",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "meeting.start": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "7",+ "data": "#/$defs/data.meeting.start",+ "result": "#/$defs/result.meeting.start",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "meeting.stop": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "7",+ "data": "#/$defs/data.meeting.stop",+ "result": "#/$defs/result.meeting.stop",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "meetings.update": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "7",+ "data": "#/$defs/data.meetings.update",+ "topic": "meetings",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "pane.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "11, 14",+ "data": "#/$defs/data.pane.open",+ "result": "#/$defs/result.pane.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "panel.resize": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.panel.resize",+ "topic": "panel",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "panel.stream_state": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.panel.stream_state",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "panel.visibility": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12",+ "data": "#/$defs/data.panel.visibility",+ "topic": "panel",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "ping": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "1",+ "data": "#/$defs/data.ping",+ "frame": "#/$defs/frame.verse_to_server.notice"+ },+ "pong": {+ "dir": "server_to_verse",+ "kind": "notice",+ "section": "1",+ "data": "#/$defs/data.pong",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "progression.action": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "9",+ "data": "#/$defs/data.progression.action",+ "result": "#/$defs/result.progression.action",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "progression.awarded": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "9",+ "data": "#/$defs/data.progression.awarded",+ "topic": "progression",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "progression.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "9",+ "data": "#/$defs/data.progression.snapshot",+ "topic": "progression",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "progression.told": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.progression.told",+ "result": "#/$defs/result.progression.told",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "qa.exec": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.qa.exec",+ "result": "#/$defs/result.qa.exec",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "reply": {+ "dir": "server_to_verse",+ "kind": "reply",+ "section": "2",+ "data": "#/$defs/data.reply",+ "frame": "#/$defs/frame.server_to_verse.reply"+ },+ "resync": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "3.3",+ "data": "#/$defs/data.resync",+ "result": "#/$defs/result.resync",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "roster.delta": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "4.3",+ "data": "#/$defs/data.roster.delta",+ "topic": "roster",+ "delta": true,+ "frame": "#/$defs/frame.server_to_verse.delta"+ },+ "roster.snapshot": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "4.2",+ "data": "#/$defs/data.roster.snapshot",+ "topic": "roster",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "screens.frame": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "5.4",+ "data": "#/$defs/data.screens.frame",+ "topic": "screens",+ "delta": true,+ "x-note": "Only kind delta carries base; a snapshot does not.",+ "frame": "#/$defs/frame.server_to_verse.delta"+ },+ "screens.gone": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "5.4",+ "data": "#/$defs/data.screens.gone",+ "topic": "screens",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "screens.meta": {+ "dir": "server_to_verse",+ "kind": "feed",+ "section": "5.4",+ "data": "#/$defs/data.screens.meta",+ "topic": "screens",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "screens.watch": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "5.2",+ "data": "#/$defs/data.screens.watch",+ "result": "#/$defs/result.screens.watch",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "settings.changed": {+ "dir": "server_to_verse",+ "kind": "event",+ "section": "12, 14",+ "data": "#/$defs/data.settings.changed",+ "topic": "lifecycle",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "settings.set": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.settings.set",+ "result": "#/$defs/result.settings.set",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "simulator.open": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "14",+ "data": "#/$defs/data.simulator.open",+ "result": "#/$defs/result.simulator.open",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "subscribe": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "3.3",+ "data": "#/$defs/data.subscribe",+ "result": "#/$defs/result.subscribe",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "unsubscribe": {+ "dir": "verse_to_server",+ "kind": "command",+ "section": "3.3",+ "data": "#/$defs/data.unsubscribe",+ "result": "#/$defs/result.unsubscribe",+ "frame": "#/$defs/frame.verse_to_server.command"+ },+ "welcome": {+ "dir": "server_to_verse",+ "kind": "handshake",+ "section": "3.2",+ "data": "#/$defs/data.welcome",+ "frame": "#/$defs/frame.server_to_verse"+ },+ "window.state": {+ "dir": "verse_to_server",+ "kind": "notice",+ "section": "12",+ "data": "#/$defs/data.window.state",+ "frame": "#/$defs/frame.verse_to_server.notice"+ }+ },+ "$defs": {+ "ts": {+ "type": "number",+ "minimum": 0+ },+ "seq": {+ "type": "integer",+ "minimum": 1,+ "maximum": 4294967295+ },+ "req_id": {+ "type": "string",+ "pattern": "^[A-Za-z0-9._:-]{1,64}$"+ },+ "type_name": {+ "type": "string",+ "pattern": "^[a-z_]+(\\.[a-z_]+)*$"+ },+ "agent_id": {+ "type": "string",+ "minLength": 1+ },+ "group_id": {+ "type": "string",+ "minLength": 1+ },+ "pane_id": {+ "type": "string",+ "pattern": "^[^:\\s]+:[^:\\s]+$"+ },+ "subject_id": {+ "type": "string",+ "pattern": "^(person|agent:.+|pet:.+)$"+ },+ "duty": {+ "enum": [+ "working",+ "waiting",+ "idle",+ "paused",+ "error"+ ],+ "x-fallback": "idle"+ },+ "run_state": {+ "enum": [+ "paused",+ "waiting",+ "working",+ "idle"+ ],+ "x-fallback": "idle"+ },+ "agent_lifecycle": {+ "enum": [+ "active",+ "paused"+ ],+ "x-fallback": "active"+ },+ "pane_status": {+ "enum": [+ "pending",+ "live",+ "exited",+ "error"+ ],+ "x-fallback": "pending"+ },+ "pane_activity": {+ "enum": [+ "starting",+ "working",+ "waiting",+ "asking",+ "failed",+ "exited",+ "stopped",+ "unknown",+ ""+ ],+ "x-fallback": "unknown"+ },+ "rank": {+ "enum": [+ "recruit",+ "deckhand",+ "technician",+ "senior_technician",+ "ensign",+ "lieutenant",+ "senior_lieutenant",+ "commander",+ "captain",+ "line_captain",+ "commodore",+ "rear_admiral",+ "vice_admiral",+ "admiral",+ "fleet_admiral"+ ],+ "x-fallback": "recruit"+ },+ "deck": {+ "enum": [+ "bridge",+ "ops",+ "engineering",+ "hangar"+ ]+ },+ "topic": {+ "enum": [+ "roster",+ "panes",+ "screens",+ "chat_tails",+ "meetings",+ "groups",+ "progression",+ "duel_stats",+ "companion",+ "lifecycle",+ "panel"+ ]+ },+ "bot_tier": {+ "enum": [+ "normal",+ "hard",+ "elite"+ ]+ },+ "colour": {+ "anyOf": [+ {+ "type": "null"+ },+ {+ "type": "object",+ "properties": {+ "i": {+ "type": "integer",+ "minimum": 0,+ "maximum": 255+ }+ },+ "additionalProperties": false,+ "required": [+ "i"+ ]+ },+ {+ "type": "string",+ "pattern": "^#[0-9a-f]{6}$"+ }+ ]+ },+ "attrs": {+ "type": "array",+ "items": {+ "enum": [+ "bold",+ "dim",+ "italic",+ "underline",+ "inverse",+ "strikethrough",+ "invisible",+ "blink",+ "wide"+ ]+ },+ "uniqueItems": true+ },+ "monitor": {+ "type": "object",+ "properties": {+ "x": {+ "type": "integer"+ },+ "y": {+ "type": "integer"+ },+ "w": {+ "type": "integer",+ "minimum": 1+ },+ "h": {+ "type": "integer",+ "minimum": 1+ },+ "dpi": {+ "type": "number",+ "exclusiveMinimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "x",+ "y",+ "w",+ "h",+ "dpi"+ ]+ },+ "panel_size": {+ "type": "object",+ "properties": {+ "w": {+ "type": "integer",+ "minimum": 1+ },+ "h": {+ "type": "integer",+ "minimum": 1+ },+ "dpr": {+ "type": "number",+ "exclusiveMinimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "w",+ "h",+ "dpr"+ ]+ },+ "build": {+ "type": "object",+ "properties": {+ "version": {+ "type": "string",+ "minLength": 1+ },+ "changelist": {+ "type": "string",+ "minLength": 1+ },+ "config": {+ "enum": [+ "Debug",+ "DebugGame",+ "Development",+ "Test",+ "Shipping"+ ]+ },+ "platform": {+ "enum": [+ "Win64",+ "Linux",+ "Mac"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "version",+ "changelist"+ ]+ },+ "view_settings": {+ "type": "object",+ "properties": {+ "mode": {+ "enum": [+ "overview",+ "third",+ "first"+ ],+ "x-fallback": "third"+ },+ "sensitivity": {+ "type": "number",+ "exclusiveMinimum": 0+ },+ "invert_y": {+ "type": "boolean"+ },+ "fov_third": {+ "type": "number",+ "minimum": 30,+ "maximum": 130+ },+ "fov_first": {+ "type": "number",+ "minimum": 30,+ "maximum": 130+ },+ "quality": {+ "enum": [+ "auto",+ "high",+ "low"+ ],+ "x-fallback": "auto"+ },+ "volume": {+ "type": "number",+ "minimum": 0,+ "maximum": 1+ }+ },+ "additionalProperties": false+ },+ "commander": {+ "type": "object",+ "properties": {+ "subject_id": {+ "const": "person"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "rank": {+ "$ref": "#/$defs/rank"+ },+ "title": {+ "type": "string"+ },+ "uniform": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "subject_id",+ "level",+ "rank",+ "title",+ "uniform"+ ]+ },+ "settings": {+ "type": "object",+ "properties": {+ "gore": {+ "enum": [+ "full",+ "reduced"+ ],+ "x-fallback": "full"+ },+ "reduced_motion": {+ "type": "boolean"+ },+ "return_key": {+ "type": "string",+ "minLength": 1+ },+ "ui_sound": {+ "type": "boolean"+ },+ "level_sound": {+ "type": "boolean"+ },+ "uniform": {+ "type": "string",+ "minLength": 1+ },+ "view": {+ "$ref": "#/$defs/view_settings"+ }+ },+ "additionalProperties": false+ },+ "agent": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ },+ "name": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "tier": {+ "type": "string"+ },+ "lifecycle": {+ "$ref": "#/$defs/agent_lifecycle"+ },+ "run_state": {+ "$ref": "#/$defs/run_state"+ },+ "waiting_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "rank": {+ "$ref": "#/$defs/rank"+ },+ "look": {+ "type": "string"+ },+ "figure": {+ "type": "object",+ "properties": {+ "archetype": {+ "type": "string"+ },+ "palette": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "archetype",+ "palette"+ ]+ },+ "team_ids": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_id"+ }+ },+ "pane": {+ "anyOf": [+ {+ "$ref": "#/$defs/pane_id"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id",+ "name",+ "title",+ "tier",+ "lifecycle",+ "run_state",+ "waiting_reason",+ "duty",+ "level",+ "rank",+ "look",+ "figure",+ "team_ids",+ "pane"+ ]+ },+ "agent_patch": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ },+ "name": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "tier": {+ "type": "string"+ },+ "lifecycle": {+ "$ref": "#/$defs/agent_lifecycle"+ },+ "run_state": {+ "$ref": "#/$defs/run_state"+ },+ "waiting_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "rank": {+ "$ref": "#/$defs/rank"+ },+ "look": {+ "type": "string"+ },+ "figure": {+ "type": "object",+ "properties": {+ "archetype": {+ "type": "string"+ },+ "palette": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "archetype",+ "palette"+ ]+ },+ "team_ids": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_id"+ }+ },+ "pane": {+ "anyOf": [+ {+ "$ref": "#/$defs/pane_id"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id"+ ],+ "minProperties": 2+ },+ "pane": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "key": {+ "type": "string",+ "minLength": 1+ },+ "history_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "name": {+ "type": "string"+ },+ "display_name": {+ "type": "string"+ },+ "agent": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "status": {+ "$ref": "#/$defs/pane_status"+ },+ "activity": {+ "$ref": "#/$defs/pane_activity"+ },+ "activity_since": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "worked": {+ "type": "boolean"+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "workspace_active": {+ "type": "boolean"+ },+ "cols": {+ "type": "integer",+ "minimum": 1+ },+ "rows": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "workspace_id",+ "key",+ "history_id",+ "name",+ "display_name",+ "agent",+ "title",+ "status",+ "activity",+ "activity_since",+ "worked",+ "duty",+ "workspace_active",+ "cols",+ "rows"+ ]+ },+ "pane_patch": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "key": {+ "type": "string",+ "minLength": 1+ },+ "history_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "name": {+ "type": "string"+ },+ "display_name": {+ "type": "string"+ },+ "agent": {+ "type": "string"+ },+ "title": {+ "type": "string"+ },+ "status": {+ "$ref": "#/$defs/pane_status"+ },+ "activity": {+ "$ref": "#/$defs/pane_activity"+ },+ "activity_since": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "worked": {+ "type": "boolean"+ },+ "duty": {+ "$ref": "#/$defs/duty"+ },+ "workspace_active": {+ "type": "boolean"+ },+ "cols": {+ "type": "integer",+ "minimum": 1+ },+ "rows": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id"+ ],+ "minProperties": 2+ },+ "group": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "name": {+ "type": "string"+ },+ "members": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "lead": {+ "anyOf": [+ {+ "$ref": "#/$defs/agent_id"+ },+ {+ "type": "null"+ }+ ]+ },+ "goal": {+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "goal_id": {+ "type": "string",+ "minLength": 1+ },+ "state": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "goal_id",+ "state"+ ]+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id",+ "name",+ "members",+ "lead",+ "goal"+ ]+ },+ "group_patch": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "name": {+ "type": "string"+ },+ "members": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "lead": {+ "anyOf": [+ {+ "$ref": "#/$defs/agent_id"+ },+ {+ "type": "null"+ }+ ]+ },+ "goal": {+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "goal_id": {+ "type": "string",+ "minLength": 1+ },+ "state": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "goal_id",+ "state"+ ]+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id"+ ],+ "minProperties": 2+ },+ "run": {+ "type": "object",+ "properties": {+ "col": {+ "type": "integer",+ "minimum": 0,+ "maximum": 239+ },+ "text": {+ "type": "string",+ "minLength": 1+ },+ "fg": {+ "$ref": "#/$defs/colour"+ },+ "bg": {+ "$ref": "#/$defs/colour"+ },+ "attrs": {+ "$ref": "#/$defs/attrs"+ }+ },+ "additionalProperties": false,+ "required": [+ "col",+ "text",+ "fg",+ "bg",+ "attrs"+ ]+ },+ "row_record": {+ "type": "object",+ "properties": {+ "row": {+ "type": "integer",+ "minimum": 0,+ "maximum": 59+ },+ "runs": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/run"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "row",+ "runs"+ ]+ },+ "award": {+ "type": "object",+ "properties": {+ "seq": {+ "type": "integer",+ "minimum": 1+ },+ "subject_id": {+ "$ref": "#/$defs/subject_id"+ },+ "subject_kind": {+ "enum": [+ "person",+ "agent",+ "pet"+ ]+ },+ "xp_source": {+ "type": "string",+ "minLength": 1+ },+ "xp": {+ "type": "integer",+ "minimum": 0+ },+ "total_xp": {+ "type": "integer",+ "minimum": 0+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "previous_level": {+ "type": "integer",+ "minimum": 1+ },+ "title": {+ "type": "string"+ },+ "unlocked": {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "unlocked_looks": {+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "seq",+ "subject_id",+ "subject_kind",+ "xp_source",+ "xp",+ "total_xp",+ "level",+ "previous_level",+ "title",+ "unlocked",+ "unlocked_looks"+ ]+ },+ "duel_stats": {+ "type": "object",+ "properties": {+ "matches": {+ "type": "integer",+ "minimum": 0+ },+ "wins": {+ "type": "integer",+ "minimum": 0+ },+ "losses": {+ "type": "integer",+ "minimum": 0+ },+ "unfinished": {+ "type": "integer",+ "minimum": 0+ },+ "kills": {+ "type": "integer",+ "minimum": 0+ },+ "deaths": {+ "type": "integer",+ "minimum": 0+ },+ "headshots": {+ "type": "integer",+ "minimum": 0+ },+ "finishers": {+ "type": "integer",+ "minimum": 0+ },+ "best_streak": {+ "type": "integer",+ "minimum": 0+ },+ "by_tier": {+ "type": "object",+ "propertyNames": {+ "enum": [+ "normal",+ "hard",+ "elite",+ "adaptive"+ ]+ },+ "additionalProperties": {+ "type": "object",+ "properties": {+ "wins": {+ "type": "integer",+ "minimum": 0+ },+ "losses": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false+ }+ }+ },+ "additionalProperties": false+ },+ "companion": {+ "type": "object",+ "properties": {+ "pet_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ]+ },+ "look": {+ "type": "string"+ },+ "style": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "pet_id",+ "look",+ "style"+ ]+ },+ "activation_token": {+ "type": "string",+ "minLength": 1+ },+ "data.hello": {+ "type": "object",+ "properties": {+ "token": {+ "type": "string",+ "minLength": 1+ },+ "protocols": {+ "type": "array",+ "items": {+ "type": "string",+ "pattern": "^verse\\.bridge/[0-9]+$"+ },+ "minItems": 1+ },+ "build": {+ "$ref": "#/$defs/build"+ },+ "pid": {+ "type": "integer",+ "minimum": 1+ },+ "last_seq": {+ "type": "integer",+ "minimum": 0+ },+ "encodings": {+ "type": "object",+ "properties": {+ "screens": {+ "type": "array",+ "items": {+ "enum": [+ "cells.bin/1",+ "cells.json/1"+ ]+ },+ "minItems": 1,+ "uniqueItems": true+ }+ },+ "additionalProperties": false+ },+ "capabilities": {+ "type": "object",+ "additionalProperties": {+ "type": "boolean"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "token",+ "protocols",+ "build",+ "pid"+ ]+ },+ "data.welcome": {+ "type": "object",+ "properties": {+ "protocol": {+ "type": "string",+ "pattern": "^verse\\.bridge/[0-9]+$"+ },+ "app_version": {+ "type": "string",+ "minLength": 1+ },+ "app_pid": {+ "type": "integer",+ "minimum": 1+ },+ "session": {+ "type": "string",+ "minLength": 1+ },+ "features": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ },+ "uniqueItems": true+ },+ "encoding": {+ "type": "object",+ "properties": {+ "screens": {+ "enum": [+ "cells.bin/1",+ "cells.json/1"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "screens"+ ]+ },+ "limits": {+ "type": "object",+ "properties": {+ "screens_max_panes": {+ "type": "integer",+ "minimum": 1+ },+ "screens_max_rows": {+ "type": "integer",+ "minimum": 1+ },+ "screens_max_cols": {+ "type": "integer",+ "minimum": 1+ },+ "screens_max_hz": {+ "type": "integer",+ "minimum": 1+ },+ "chat_tails_max_agents": {+ "type": "integer",+ "minimum": 1+ },+ "chat_tail_lines": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "screens_max_panes",+ "screens_max_rows",+ "screens_max_cols",+ "screens_max_hz",+ "chat_tails_max_agents",+ "chat_tail_lines"+ ]+ },+ "locale": {+ "type": "object",+ "properties": {+ "lang": {+ "type": "string",+ "minLength": 1+ },+ "fallback": {+ "type": "string",+ "minLength": 1+ },+ "strings": {+ "type": "object",+ "additionalProperties": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "lang",+ "fallback",+ "strings"+ ]+ },+ "settings": {+ "$ref": "#/$defs/settings"+ },+ "decks": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/deck"+ },+ "minItems": 1,+ "uniqueItems": true+ },+ "state": {+ "type": "object",+ "properties": {+ "visibility": {+ "enum": [+ "visible",+ "hidden"+ ]+ },+ "panel": {+ "enum": [+ "visible",+ "hidden"+ ]+ },+ "gpu": {+ "enum": [+ "free",+ "yield"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "visibility",+ "panel",+ "gpu"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "protocol",+ "app_version",+ "app_pid",+ "session",+ "features",+ "encoding",+ "limits",+ "locale",+ "settings",+ "decks",+ "state"+ ]+ },+ "data.ping": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.pong": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.subscribe": {+ "type": "object",+ "properties": {+ "topics": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ },+ "minItems": 1,+ "uniqueItems": true+ }+ },+ "additionalProperties": false,+ "required": [+ "topics"+ ]+ },+ "data.unsubscribe": {+ "type": "object",+ "properties": {+ "topics": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ },+ "minItems": 1,+ "uniqueItems": true+ }+ },+ "additionalProperties": false,+ "required": [+ "topics"+ ]+ },+ "data.resync": {+ "type": "object",+ "properties": {+ "topic": {+ "$ref": "#/$defs/topic"+ },+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "topic"+ ]+ },+ "data.roster.snapshot": {+ "type": "object",+ "properties": {+ "commander": {+ "$ref": "#/$defs/commander"+ },+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent"+ }+ },+ "panes": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "commander",+ "agents",+ "panes"+ ]+ },+ "data.roster.delta": {+ "type": "object",+ "properties": {+ "upsert": {+ "type": "object",+ "properties": {+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_patch"+ }+ },+ "panes": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_patch"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "agents",+ "panes"+ ]+ },+ "remove": {+ "type": "object",+ "properties": {+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "panes": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "agents",+ "panes"+ ]+ },+ "commander": {+ "anyOf": [+ {+ "$ref": "#/$defs/commander"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "upsert",+ "remove",+ "commander"+ ]+ },+ "data.screens.watch": {+ "type": "object",+ "properties": {+ "panes": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "hz": {+ "type": "integer",+ "minimum": 1,+ "maximum": 10+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "hz"+ ]+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "panes"+ ]+ },+ "data.screens.meta": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "ref": {+ "type": "integer",+ "minimum": 1,+ "maximum": 65535+ },+ "cut": {+ "type": "boolean"+ },+ "at": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "cols": {+ "type": "integer",+ "minimum": 1,+ "maximum": 240+ },+ "rows": {+ "type": "integer",+ "minimum": 1,+ "maximum": 60+ },+ "style": {+ "enum": [+ "styled",+ "plain"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "ref",+ "cut",+ "at",+ "cols",+ "rows",+ "style"+ ]+ },+ "data.screens.frame": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "kind": {+ "enum": [+ "snapshot",+ "delta"+ ]+ },+ "cols": {+ "type": "integer",+ "minimum": 1,+ "maximum": 240+ },+ "rows": {+ "type": "integer",+ "minimum": 1,+ "maximum": 60+ },+ "cursor": {+ "type": "array",+ "items": {+ "type": "integer",+ "minimum": -1,+ "maximum": 239+ },+ "minItems": 2,+ "maxItems": 2+ },+ "style": {+ "enum": [+ "styled",+ "plain"+ ]+ },+ "rows_changed": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/row_record"+ },+ "maxItems": 60+ },+ "ref": {+ "type": "integer",+ "minimum": 1,+ "maximum": 65535+ },+ "cut": {+ "type": "boolean"+ },+ "at": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "kind",+ "cols",+ "rows",+ "cursor",+ "style",+ "rows_changed"+ ],+ "if": {+ "properties": {+ "kind": {+ "const": "snapshot"+ }+ }+ },+ "then": {+ "required": [+ "ref",+ "cut",+ "at"+ ]+ },+ "else": {+ "not": {+ "anyOf": [+ {+ "required": [+ "ref"+ ]+ },+ {+ "required": [+ "cut"+ ]+ },+ {+ "required": [+ "at"+ ]+ }+ ]+ }+ }+ },+ "data.screens.gone": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "reason": {+ "enum": [+ "closed",+ "exited",+ "not_found"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "reason"+ ]+ },+ "data.chat_tails.watch": {+ "type": "object",+ "properties": {+ "agents": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ },+ "uniqueItems": true+ }+ },+ "additionalProperties": false,+ "required": [+ "agents"+ ]+ },+ "data.chat_tails.update": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ },+ "version": {+ "type": "string"+ },+ "lines": {+ "type": "array",+ "items": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "kind": {+ "enum": [+ "user",+ "agent"+ ]+ },+ "text": {+ "type": "string",+ "maxLength": 160+ }+ },+ "additionalProperties": false,+ "required": [+ "kind",+ "text"+ ]+ },+ {+ "type": "object",+ "properties": {+ "kind": {+ "const": "tool"+ },+ "text": {+ "type": "string",+ "maxLength": 80+ }+ },+ "additionalProperties": false,+ "required": [+ "kind",+ "text"+ ]+ },+ {+ "type": "object",+ "properties": {+ "kind": {+ "enum": [+ "notice",+ "error"+ ]+ },+ "text": {+ "type": "string",+ "maxLength": 100+ }+ },+ "additionalProperties": false,+ "required": [+ "kind",+ "text"+ ]+ }+ ]+ },+ "maxItems": 12+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id",+ "version",+ "lines"+ ]+ },+ "data.groups.snapshot": {+ "type": "object",+ "properties": {+ "groups": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "groups"+ ]+ },+ "data.groups.delta": {+ "type": "object",+ "properties": {+ "upsert": {+ "type": "object",+ "properties": {+ "groups": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_patch"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "groups"+ ]+ },+ "remove": {+ "type": "object",+ "properties": {+ "groups": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/group_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "groups"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "upsert",+ "remove"+ ]+ },+ "data.meetings.update": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "running": {+ "type": "boolean"+ },+ "round": {+ "anyOf": [+ {+ "type": "integer",+ "minimum": 0+ },+ {+ "type": "null"+ }+ ]+ },+ "speaker": {+ "anyOf": [+ {+ "$ref": "#/$defs/agent_id"+ },+ {+ "type": "null"+ }+ ]+ },+ "room": {+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "room_id": {+ "type": "string",+ "minLength": 1+ },+ "phase": {+ "enum": [+ "open",+ "settle"+ ]+ },+ "topic": {+ "type": "string"+ },+ "rounds": {+ "type": "integer",+ "minimum": 0+ },+ "max_rounds": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "room_id",+ "phase",+ "topic",+ "rounds",+ "max_rounds"+ ]+ },+ {+ "type": "null"+ }+ ]+ },+ "messages": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "minLength": 1+ },+ "speaker": {+ "$ref": "#/$defs/agent_id"+ },+ "text": {+ "type": "string",+ "maxLength": 200+ }+ },+ "additionalProperties": false,+ "required": [+ "id",+ "speaker",+ "text"+ ]+ },+ "maxItems": 8+ },+ "reason": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id",+ "running",+ "round",+ "speaker",+ "room",+ "messages"+ ]+ },+ "data.meeting.start": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ },+ "text": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id",+ "text"+ ]+ },+ "data.meeting.stop": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id"+ ]+ },+ "data.progression.snapshot": {+ "type": "object",+ "properties": {+ "subjects": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "subject_id": {+ "$ref": "#/$defs/subject_id"+ },+ "kind": {+ "enum": [+ "person",+ "agent",+ "pet"+ ]+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "total_xp": {+ "type": "integer",+ "minimum": 0+ },+ "into_level": {+ "type": "integer",+ "minimum": 0+ },+ "for_next": {+ "type": "integer",+ "minimum": 0+ },+ "title": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "subject_id",+ "kind",+ "level",+ "total_xp",+ "into_level",+ "for_next",+ "title"+ ]+ }+ },+ "pet_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ]+ },+ "latest_seq": {+ "type": "integer",+ "minimum": 0+ },+ "told_seq": {+ "type": "integer",+ "minimum": 0+ },+ "rulebook": {+ "type": "object",+ "properties": {+ "ranks": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "id": {+ "$ref": "#/$defs/rank"+ },+ "level": {+ "type": "integer",+ "minimum": 1+ },+ "tier": {+ "enum": [+ "deck",+ "line",+ "command",+ "flag"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "id",+ "level",+ "tier"+ ]+ }+ },+ "rewards": {+ "type": "array",+ "items": {+ "type": "object"+ }+ },+ "looks": {+ "type": "array",+ "items": {+ "type": "object"+ }+ },+ "titles": {+ "type": "object",+ "additionalProperties": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "ranks",+ "rewards",+ "looks",+ "titles"+ ]+ },+ "duel_stats": {+ "$ref": "#/$defs/duel_stats"+ }+ },+ "additionalProperties": false,+ "required": [+ "subjects",+ "pet_id",+ "latest_seq",+ "told_seq",+ "rulebook",+ "duel_stats"+ ]+ },+ "data.progression.awarded": {+ "$ref": "#/$defs/award"+ },+ "data.progression.action": {+ "type": "object",+ "properties": {+ "action": {+ "enum": [+ "daily_visit",+ "deck_discovered",+ "inspection",+ "walk_together",+ "team_briefing",+ "simulator_round",+ "simulator_record"+ ]+ },+ "ref": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "action",+ "ref"+ ]+ },+ "data.progression.told": {+ "type": "object",+ "properties": {+ "seq": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "seq"+ ]+ },+ "data.duel.result": {+ "type": "object",+ "properties": {+ "match_id": {+ "type": "string",+ "minLength": 1+ },+ "session_id": {+ "type": "string",+ "minLength": 1+ },+ "set_index": {+ "type": "integer",+ "minimum": 1+ },+ "mode": {+ "type": "string",+ "minLength": 1+ },+ "ruleset": {+ "type": "string",+ "minLength": 1+ },+ "opponent": {+ "type": "object",+ "properties": {+ "kind": {+ "enum": [+ "bot",+ "player"+ ]+ },+ "tier": {+ "$ref": "#/$defs/bot_tier"+ },+ "adaptive": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "kind"+ ]+ },+ "started_at": {+ "$ref": "#/$defs/ts"+ },+ "ended_at": {+ "$ref": "#/$defs/ts"+ },+ "match_time_s": {+ "type": "number",+ "minimum": 0+ },+ "end_reason": {+ "enum": [+ "set_complete",+ "player_left",+ "verse_quit",+ "crash_recovered",+ "app_quit"+ ]+ },+ "outcome": {+ "enum": [+ "won",+ "lost",+ "unfinished"+ ]+ },+ "score": {+ "type": "object",+ "properties": {+ "player": {+ "type": "integer",+ "minimum": 0+ },+ "opponent": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "player",+ "opponent"+ ]+ },+ "stats": {+ "type": "object",+ "properties": {+ "kills": {+ "type": "integer",+ "minimum": 0+ },+ "deaths": {+ "type": "integer",+ "minimum": 0+ },+ "headshots": {+ "type": "integer",+ "minimum": 0+ },+ "finishers": {+ "type": "integer",+ "minimum": 0+ },+ "melee_kills": {+ "type": "integer",+ "minimum": 0+ },+ "shots_fired": {+ "type": "integer",+ "minimum": 0+ },+ "shots_hit": {+ "type": "integer",+ "minimum": 0+ },+ "damage_dealt": {+ "type": "integer",+ "minimum": 0+ },+ "damage_taken": {+ "type": "integer",+ "minimum": 0+ },+ "walls_breached": {+ "type": "integer",+ "minimum": 0+ },+ "bulwarks_placed": {+ "type": "integer",+ "minimum": 0+ },+ "best_streak": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "kills",+ "deaths",+ "headshots",+ "finishers",+ "melee_kills",+ "shots_fired",+ "shots_hit",+ "damage_dealt",+ "damage_taken",+ "walls_breached",+ "bulwarks_placed",+ "best_streak"+ ]+ },+ "weapons": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "weapon_id": {+ "type": "string",+ "pattern": "^[a-z0-9_]+$"+ },+ "kills": {+ "type": "integer",+ "minimum": 0+ },+ "headshots": {+ "type": "integer",+ "minimum": 0+ },+ "shots_fired": {+ "type": "integer",+ "minimum": 0+ },+ "shots_hit": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "weapon_id",+ "kills",+ "headshots",+ "shots_fired",+ "shots_hit"+ ]+ }+ },+ "build": {+ "$ref": "#/$defs/build"+ }+ },+ "additionalProperties": false,+ "required": [+ "match_id",+ "session_id",+ "set_index",+ "mode",+ "ruleset",+ "opponent",+ "started_at",+ "ended_at",+ "match_time_s",+ "end_reason",+ "outcome",+ "score",+ "stats",+ "weapons",+ "build"+ ]+ },+ "data.pane.open": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "open": {+ "enum": [+ "changes"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id"+ ]+ },+ "data.agent.open": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id"+ ]+ },+ "data.ide.focus_terminal": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id"+ ]+ },+ "data.agent.create": {+ "type": "object",+ "properties": {+ "name": {+ "type": "string",+ "minLength": 1+ },+ "title": {+ "type": "string"+ },+ "figure": {+ "type": "object",+ "properties": {+ "archetype": {+ "type": "string"+ },+ "palette": {+ "type": "string"+ }+ },+ "additionalProperties": false+ }+ },+ "additionalProperties": false+ },+ "data.launcher.start": {+ "type": "object",+ "properties": {+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "agents": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "agent": {+ "type": "string",+ "minLength": 1+ },+ "count": {+ "type": "integer",+ "minimum": 1,+ "maximum": 8+ }+ },+ "additionalProperties": false,+ "required": [+ "agent",+ "count"+ ]+ },+ "minItems": 1+ },+ "brief": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "agents",+ "brief"+ ]+ },+ "data.launcher.options": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.lifecycle.show": {+ "type": "object",+ "properties": {+ "monitor": {+ "$ref": "#/$defs/monitor"+ },+ "reason": {+ "enum": [+ "verse_view",+ "quick_start_duel",+ "station"+ ]+ },+ "activation_token": {+ "$ref": "#/$defs/activation_token"+ }+ },+ "additionalProperties": false,+ "required": [+ "monitor",+ "reason"+ ]+ },+ "data.lifecycle.hide": {+ "type": "object",+ "properties": {+ "reason": {+ "enum": [+ "app_focus",+ "user",+ "minimised"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.lifecycle.pause": {+ "type": "object",+ "properties": {+ "reason": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.lifecycle.resume": {+ "type": "object",+ "properties": {+ "reason": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.lifecycle.quit": {+ "type": "object",+ "properties": {+ "reason": {+ "enum": [+ "app_quit",+ "idle_10min",+ "gpu_pressure",+ "update"+ ]+ },+ "deadline_ms": {+ "type": "integer",+ "minimum": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "reason",+ "deadline_ms"+ ]+ },+ "data.panel.visibility": {+ "type": "object",+ "properties": {+ "visible": {+ "type": "boolean"+ },+ "w": {+ "type": "integer",+ "minimum": 0+ },+ "h": {+ "type": "integer",+ "minimum": 0+ },+ "dpr": {+ "type": "number",+ "exclusiveMinimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "visible",+ "w",+ "h",+ "dpr"+ ]+ },+ "data.panel.resize": {+ "$ref": "#/$defs/panel_size"+ },+ "data.gpu.yield": {+ "type": "object",+ "properties": {+ "by": {+ "enum": [+ "blender_cook",+ "local_stt",+ "local_model",+ "other"+ ],+ "x-fallback": "other"+ }+ },+ "additionalProperties": false,+ "required": [+ "by"+ ]+ },+ "data.gpu.free": {+ "type": "object",+ "properties": {+ "by": {+ "enum": [+ "blender_cook",+ "local_stt",+ "local_model",+ "other"+ ],+ "x-fallback": "other"+ }+ },+ "additionalProperties": false,+ "required": [+ "by"+ ]+ },+ "data.settings.changed": {+ "type": "object",+ "properties": {+ "gore": {+ "enum": [+ "full",+ "reduced"+ ],+ "x-fallback": "full"+ },+ "reduced_motion": {+ "type": "boolean"+ },+ "return_key": {+ "type": "string",+ "minLength": 1+ },+ "ui_sound": {+ "type": "boolean"+ },+ "level_sound": {+ "type": "boolean"+ },+ "uniform": {+ "type": "string",+ "minLength": 1+ },+ "view": {+ "$ref": "#/$defs/view_settings"+ },+ "lang": {+ "type": "string",+ "minLength": 1+ },+ "strings": {+ "type": "object",+ "additionalProperties": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "minProperties": 1+ },+ "data.focus.app_took": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.lifecycle.state": {+ "type": "object",+ "properties": {+ "state": {+ "enum": [+ "booting",+ "visible",+ "panel",+ "dormant",+ "exiting"+ ]+ },+ "vram_mb": {+ "type": "integer",+ "minimum": 0+ },+ "fps": {+ "type": "number",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "state"+ ]+ },+ "data.lifecycle.ready": {+ "type": "object",+ "properties": {+ "first_frame_ms": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "first_frame_ms"+ ]+ },+ "data.focus.return_to_app": {+ "type": "object",+ "properties": {+ "reason": {+ "enum": [+ "return_key",+ "station",+ "esc_menu"+ ]+ },+ "activation_token": {+ "$ref": "#/$defs/activation_token"+ }+ },+ "additionalProperties": false,+ "required": [+ "reason"+ ]+ },+ "data.window.state": {+ "type": "object",+ "properties": {+ "visible": {+ "type": "boolean"+ },+ "minimised": {+ "type": "boolean"+ },+ "monitor": {+ "$ref": "#/$defs/monitor"+ }+ },+ "additionalProperties": false,+ "required": [+ "visible",+ "minimised",+ "monitor"+ ]+ },+ "data.panel.stream_state": {+ "type": "object",+ "properties": {+ "state": {+ "enum": [+ "starting",+ "streaming",+ "stopped",+ "failed"+ ]+ },+ "error": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "state"+ ]+ },+ "data.lifecycle.bye": {+ "type": "object",+ "properties": {+ "saved": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "saved"+ ]+ },+ "data.agents.open_list": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.group.open": {+ "type": "object",+ "properties": {+ "group_id": {+ "$ref": "#/$defs/group_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "group_id"+ ]+ },+ "data.simulator.open": {+ "type": "object",+ "properties": {+ "programme": {+ "type": "string",+ "minLength": 1+ }+ },+ "additionalProperties": false,+ "required": [+ "programme"+ ]+ },+ "data.ide.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.launcher.cancel": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "data.settings.set": {+ "type": "object",+ "properties": {+ "gore": {+ "enum": [+ "full",+ "reduced"+ ],+ "x-fallback": "full"+ },+ "reduced_motion": {+ "type": "boolean"+ },+ "return_key": {+ "type": "string",+ "minLength": 1+ },+ "ui_sound": {+ "type": "boolean"+ },+ "level_sound": {+ "type": "boolean"+ },+ "uniform": {+ "type": "string",+ "minLength": 1+ },+ "view": {+ "$ref": "#/$defs/view_settings"+ }+ },+ "additionalProperties": false,+ "minProperties": 1+ },+ "data.companion.snapshot": {+ "$ref": "#/$defs/companion"+ },+ "data.companion.update": {+ "$ref": "#/$defs/companion"+ },+ "data.qa.exec": {+ "type": "object",+ "properties": {+ "command": {+ "type": "string",+ "pattern": "^Verse\\.QA\\.[A-Za-z0-9_.]+$"+ },+ "args": {+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "command"+ ]+ },+ "data.log": {+ "type": "object",+ "properties": {+ "level": {+ "enum": [+ "info",+ "warning",+ "error"+ ]+ },+ "category": {+ "type": "string",+ "minLength": 1+ },+ "message": {+ "type": "string",+ "maxLength": 2000+ }+ },+ "additionalProperties": false,+ "required": [+ "level",+ "category",+ "message"+ ]+ },+ "data.reply": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "ok": {+ "const": true+ },+ "result": {+ "type": "object"+ }+ },+ "additionalProperties": false,+ "required": [+ "ok",+ "result"+ ]+ },+ {+ "type": "object",+ "properties": {+ "ok": {+ "const": false+ },+ "error": {+ "type": "object",+ "properties": {+ "code": {+ "enum": [+ "bad_request",+ "not_found",+ "conflict",+ "busy",+ "unavailable",+ "rate_limited",+ "internal"+ ],+ "x-fallback": "internal"+ },+ "message": {+ "type": "string"+ }+ },+ "additionalProperties": false,+ "required": [+ "code",+ "message"+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "ok",+ "error"+ ]+ }+ ]+ },+ "result.subscribe": {+ "type": "object",+ "properties": {+ "subscribed": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ }+ },+ "unavailable": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "subscribed",+ "unavailable"+ ]+ },+ "result.unsubscribe": {+ "type": "object",+ "properties": {+ "unsubscribed": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/topic"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "unsubscribed"+ ]+ },+ "result.resync": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.screens.watch": {+ "type": "object",+ "properties": {+ "bound": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "ref": {+ "type": "integer",+ "minimum": 1,+ "maximum": 65535+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "ref"+ ]+ }+ },+ "dropped": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_id"+ }+ },+ "missing": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/pane_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "bound",+ "dropped",+ "missing"+ ]+ },+ "result.chat_tails.watch": {+ "type": "object",+ "properties": {+ "watching": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "dropped": {+ "type": "array",+ "items": {+ "$ref": "#/$defs/agent_id"+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "watching",+ "dropped"+ ]+ },+ "result.meeting.start": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.meeting.stop": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.progression.action": {+ "type": "object",+ "properties": {+ "awarded": {+ "anyOf": [+ {+ "$ref": "#/$defs/award"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "awarded"+ ]+ },+ "result.progression.told": {+ "type": "object",+ "properties": {+ "told_seq": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "told_seq"+ ]+ },+ "result.duel.result": {+ "type": "object",+ "properties": {+ "recorded": {+ "type": "boolean"+ },+ "awards": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "xp_source": {+ "type": "string",+ "minLength": 1+ },+ "xp": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "xp_source",+ "xp"+ ]+ }+ },+ "duel_stats": {+ "$ref": "#/$defs/duel_stats"+ }+ },+ "additionalProperties": false,+ "required": [+ "recorded",+ "awards",+ "duel_stats"+ ]+ },+ "result.pane.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.agent.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.ide.focus_terminal": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.agent.create": {+ "type": "object",+ "properties": {+ "agent_id": {+ "$ref": "#/$defs/agent_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "agent_id"+ ]+ },+ "result.launcher.start": {+ "type": "object",+ "properties": {+ "panes": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "pane_id": {+ "$ref": "#/$defs/pane_id"+ },+ "submitted": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "additionalProperties": false,+ "required": [+ "pane_id",+ "submitted"+ ]+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "panes"+ ]+ },+ "result.launcher.options": {+ "type": "object",+ "properties": {+ "workspaces": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "workspace_id": {+ "type": "string",+ "minLength": 1+ },+ "name": {+ "type": "string"+ },+ "active": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "workspace_id",+ "name",+ "active"+ ]+ }+ },+ "agents": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "agent": {+ "type": "string",+ "minLength": 1+ },+ "display_name": {+ "type": "string"+ },+ "available": {+ "type": "boolean"+ }+ },+ "additionalProperties": false,+ "required": [+ "agent",+ "display_name",+ "available"+ ]+ }+ }+ },+ "additionalProperties": false,+ "required": [+ "workspaces",+ "agents"+ ]+ },+ "result.agents.open_list": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.group.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.simulator.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.ide.open": {+ "type": "object",+ "properties": {},+ "additionalProperties": false+ },+ "result.launcher.cancel": {+ "type": "object",+ "properties": {+ "stopped": {+ "type": "integer",+ "minimum": 0+ }+ },+ "additionalProperties": false,+ "required": [+ "stopped"+ ]+ },+ "result.settings.set": {+ "type": "object",+ "properties": {+ "settings": {+ "$ref": "#/$defs/settings"+ }+ },+ "additionalProperties": false,+ "required": [+ "settings"+ ]+ },+ "result.qa.exec": {+ "type": "object",+ "properties": {+ "result": {}+ },+ "additionalProperties": false,+ "required": [+ "result"+ ]+ },+ "frame.verse_to_server.command": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "id": {+ "$ref": "#/$defs/req_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "id"+ ]+ },+ "frame.verse_to_server.notice": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data"+ ]+ },+ "frame.server_to_verse": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "seq": {+ "$ref": "#/$defs/seq"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "seq"+ ]+ },+ "frame.server_to_verse.delta": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "seq": {+ "$ref": "#/$defs/seq"+ },+ "base": {+ "$ref": "#/$defs/seq"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "seq",+ "base"+ ]+ },+ "frame.server_to_verse.reply": {+ "type": "object",+ "properties": {+ "type": {+ "$ref": "#/$defs/type_name"+ },+ "ts": {+ "$ref": "#/$defs/ts"+ },+ "data": {+ "type": "object"+ },+ "seq": {+ "$ref": "#/$defs/seq"+ },+ "re": {+ "$ref": "#/$defs/req_id"+ }+ },+ "additionalProperties": false,+ "required": [+ "type",+ "ts",+ "data",+ "seq",+ "re"+ ]+ }+ }+}