Skip to content

Commit 72c62df

Browse files
Trecekclaude
andcommitted
fix: update arch guard baselines for capability admission control
- Add server/test_capability_admission_e2e.py to recipe cascade entry - Update pyright suppression allowlist line number (276→279) in _api.py - Bump tools_kitchen.py line limit 1200→1250 for infeasible response helper - Update _type_constants symbol count 91→93 for new capability constants - Sync _LEGACY_JSON_WRITES line numbers after tools_kitchen.py insertion Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d7fbe50 commit 72c62df

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

tests/_test_filter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,7 @@ class ImportContext(enum.StrEnum):
756756
"server/test_tools_kitchen_visibility.py",
757757
"server/test_tools_execution_step_resolution.py",
758758
"server/test_tools_execution_input_gates.py",
759+
"server/test_capability_admission_e2e.py",
759760
# CLI file-level entries (6 of 38 import autoskillit.recipe):
760761
"cli/test_cli_prompts.py",
761762
"cli/test_l3_orchestrator_prompt.py",

tests/arch/test_pyright_suppression_allowlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"recipe/__init__.py",
2323
262,
2424
): "lazy-registry: method added by _register_rule_module() side effects",
25-
("recipe/_api.py", 276): "lazy-registry: RULE_REGISTRY_HASH set by _finalize_registry()",
25+
("recipe/_api.py", 279): "lazy-registry: RULE_REGISTRY_HASH set by _finalize_registry()",
2626
}
2727

2828
TEST_ALLOWLIST: dict[tuple[str, int], str] = {

tests/arch/test_subpackage_isolation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,8 @@ def test_data_directories_are_not_python_packages() -> None:
971971
"error propagation from LoadRecipeResult; get_recipe validity guard adds 9 lines; "
972972
"dispatch-feasibility preflight wiring on both paths with gate-close on failure; "
973973
"gate_infrastructure_ready guard restructuring adds 22 lines for handler-skip path, "
974-
"quota_refresh_loop deferred start, and all four gate.disable() rollback resets",
974+
"quota_refresh_loop deferred start, and all four gate.disable() rollback resets; "
975+
"_dispatch_infeasible_response helper for DOA pipeline refusal",
975976
),
976977
"tools_execution.py": (
977978
1130,

tests/arch/test_subpackage_structure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def test_type_constants_split_completeness(self):
5959
assert len(combined) == len(remaining) + len(env) + len(features) + len(registries), (
6060
"Duplicate symbols across split modules"
6161
)
62-
assert len(combined) == 91, (
63-
f"Expected 91 symbols total, got {len(combined)} "
62+
assert len(combined) == 93, (
63+
f"Expected 93 symbols total, got {len(combined)} "
6464
f"(remaining={len(remaining)}, env={len(env)}, "
6565
f"features={len(features)}, registries={len(registries)})"
6666
)

0 commit comments

Comments
 (0)