Skip to content

Commit e55477a

Browse files
committed
fix: bump hooks/guards file-count exception and add auto-compact key to doctor test fixture
1 parent 6a95bce commit e55477a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/arch/test_subpackage_isolation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def test_no_subpackage_exceeds_10_files() -> None:
874874
"fleet": 22, # REQ-CNST-003-E9: _dispatch_reaper.py; +_sidecar_synthesis.py; +_reset.py
875875
"recipe/rules": 50, # +commit_guard_regression_route +rules_model
876876
"server/tools": 25, # _auto_overrides.py + _cancellation_shield.py + tools_fleet_reset.py
877-
"hooks/guards": 31, # +fleet_claim_guard, +reset_resume_gate
877+
"hooks/guards": 32, # +fleet_claim_guard, +reset_resume_gate, +recipe_read_guard
878878
}
879879
violations: list[str] = []
880880
dirs_to_check: list[Path] = []

tests/cli/test_doctor_backend_guards.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def test_codex_backend_ok_when_registered(
190190
Severity,
191191
)
192192
from autoskillit.execution import (
193+
CODEX_AUTO_COMPACT_LIMIT,
193194
CODEX_MCP_STARTUP_TIMEOUT_SEC,
194195
CODEX_MCP_TOOL_TIMEOUT_FLOOR,
195196
CODEX_TOOL_OUTPUT_TOKEN_LIMIT,
@@ -203,6 +204,7 @@ def test_codex_backend_ok_when_registered(
203204
)
204205
(codex_dir / "config.toml").write_text(
205206
f"tool_output_token_limit = {CODEX_TOOL_OUTPUT_TOKEN_LIMIT}\n"
207+
f"model_auto_compact_token_limit = {CODEX_AUTO_COMPACT_LIMIT}\n"
206208
f'[mcp_servers.autoskillit]\ncommand = "autoskillit"\n'
207209
f"env_vars = [{env_vars_str}]\n"
208210
f"startup_timeout_sec = {CODEX_MCP_STARTUP_TIMEOUT_SEC}\n"

0 commit comments

Comments
 (0)