feat: add seat-scoped static and dynamic assistant modes

This commit is contained in:
vee
2026-09-12 14:56:30 +08:00
parent d09b5967f8
commit d8dad22ec0
60 changed files with 5847 additions and 149 deletions
@@ -754,7 +754,11 @@ def test_incomplete_ambiguous_or_unsupported_scene_never_creates_partial_draft(
assert result["status"] != "succeeded"
assert result.get("mode_profile_draft") is None
assert result.get("orchestration_route") != "mode_profile_create_preview"
# Seat policy can reject on the creation route before compiling any action.
assert not (result.get("intent_ir") or {}).get("spec", {}).get("actions")
assert not result.get("actions")
assert result.get("command_plan") is None
assert not result.get("command_plans")
assert result.get("validation")
failure = result.get("mode_creation_failure")
assert isinstance(failure, dict)