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
"""WP12: deck collision records: shells without, bounds proxies with, ceilings apart.
That Interchange keeps authored primitives is the G0 pipeline's test
(`tests/verse/test_unreal_art_pipeline.py`).
"""
from __future__ import annotations
import json
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
def test_shells_leave_pawn_collision_to_the_deck_bounds():
"""Shells are joined render meshes; their floors and walls are the hidden bounds proxies."""
decks = ROOT / "unreal/Verse/Art/Import/Decks"
shells = sorted(decks.glob("*/*_Shell.import.json"))
assert shells
for path in shells:
collision = json.loads(path.read_text(encoding="utf-8"))["collision"]
assert collision["source"] == "none", path.name
bounds = sorted(decks.glob("*/*_Bounds*.import.json"))
assert len(bounds) >= len(shells)
for path in bounds:
record = json.loads(path.read_text(encoding="utf-8"))
collision = record["collision"]
assert collision["profile"] == "Verse_ProxyOnly", path.name
assert collision["source"] == "authored", path.name
assert 1 <= collision["primitives"] <= 16, path.name
zones_with_bounds = {p.name.split("_Bounds")[0] for p in bounds}
assert zones_with_bounds == {p.name.split("_Shell")[0] for p in shells}
def test_bounds_placements_are_hidden_blocking_proxies():
placements = sorted((ROOT / "unreal/Verse/Art/Placements").glob("*/*.placement.json"))
found = 0
for path in placements:
for entry in json.loads(path.read_text(encoding="utf-8"))["placements"]:
if "_bounds_" in entry["id"]:
found += 1
assert entry["collision"] == "Verse_ProxyOnly", entry["id"]
assert entry["nav"] == "block", entry["id"]
assert "_Bounds" in entry["piece"], entry["id"]
assert found >= 21
def test_ceilings_are_separate_and_never_collide():
"""The overview cutaway hides `<zone>_ceiling`; ceilings carry no collision and no nav."""
placements = sorted((ROOT / "unreal/Verse/Art/Placements").glob("*/*.placement.json"))
ceilings = []
for path in placements:
for entry in json.loads(path.read_text(encoding="utf-8"))["placements"]:
if entry["id"].endswith("_ceiling") and entry["asset"].startswith("/Game/Verse/Decks/"):
ceilings.append(entry)
assert entry["piece"].endswith("_Ceiling"), entry["id"]
assert entry["nav"] == "none", entry["id"]
elif entry["id"].endswith("_ceiling"):
# A kit piece hung above head height (an upper hull bay) joins the cutaway.
assert entry["location"][2] >= 300.0, entry["id"]
decks = {entry["asset"].split("/")[4] for entry in ceilings}
assert {"Bridge", "Ops", "Engineering"} <= decks
for path in sorted((ROOT / "unreal/Verse/Art/Import/Decks").glob("*/*_Ceiling.import.json")):
collision = json.loads(path.read_text(encoding="utf-8"))["collision"]
assert collision["source"] == "none", path.name