Skip to content

Commit b57751e

Browse files
Trecekclaude
andcommitted
fix: update arch guards for process_idle_timeout_ms implementation
- Add execution/test_headless_execute.py to LAYER_CASCADE_CONSERVATIVE['pipeline'] in tests/_test_filter.py (uses minimal_ctx fixture which imports pipeline) - Bump _headless_execute.py budget from 610 to 616 lines (4 new lines for spec-based idle override logic) - Bump codex.py exemption from 1045 to 1060 lines (8 new lines for process_idle_timeout_ms wiring through both CmdSpec constructors) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2a207cd commit b57751e

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

tests/_test_filter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ class ImportContext(enum.StrEnum):
649649
"execution/test_headless_result_write_reconciliation.py",
650650
"execution/test_planner_write_isolation.py",
651651
"execution/test_session_log_flush.py",
652-
# execution/ — fixture-mediated pipeline dependents (15 files):
652+
# execution/ — fixture-mediated pipeline dependents (16 files):
653653
# These use minimal_ctx or tool_ctx fixtures which import
654654
# autoskillit.pipeline at call time. Validated by REQ-GUARD-007.
655655
"execution/test_backend_dispatch.py",
@@ -662,6 +662,7 @@ class ImportContext(enum.StrEnum):
662662
"execution/test_headless_dispatch.py",
663663
"execution/test_headless_env_injection.py",
664664
"execution/test_headless_env_scrub.py",
665+
"execution/test_headless_execute.py",
665666
"execution/test_headless_provider_fallback.py",
666667
"execution/test_headless_synthesis.py",
667668
"execution/test_idle_output_env.py",

tests/arch/test_execution_source_split.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
HEADLESS_SIZE_BUDGETS = {
1919
"headless/__init__.py": 490,
2020
"headless/_headless_helpers.py": 220,
21-
"headless/_headless_execute.py": 610,
21+
"headless/_headless_execute.py": 616,
2222
"headless/_headless_recovery.py": 370,
2323
"headless/_headless_path_tokens.py": 190,
2424
"headless/_headless_result.py": 865,

tests/arch/test_subpackage_isolation.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ def test_data_directories_are_not_python_packages() -> None:
979979
"dispatch gate add defense-in-depth checks",
980980
),
981981
"execution/backends/codex.py": (
982-
1045,
982+
1060,
983983
"REQ-CNST-010-E9: Codex backend — skill_sigil capability threading adds multi-line "
984984
"keyword args to _ensure_skill_prefix call sites and _has_prefix guard; "
985985
"write_guard_tool_names env injection adds 7 lines to _codex_exec_extras; "
@@ -989,7 +989,9 @@ def test_data_directories_are_not_python_packages() -> None:
989989
"promoted from locate_session parameter to frozen dataclass field (3 net lines: "
990990
"field declaration, blank line between field and method, SessionLocator in import block)"
991991
"; project_log_dir method added to CodexSessionLocator (+3 net lines)"
992-
"; session_log_path method added to CodexSessionLocator (+5 net lines)",
992+
"; session_log_path method added to CodexSessionLocator (+5 net lines)"
993+
"; process_idle_timeout_ms field wired through build_skill_session_cmd and "
994+
"build_food_truck_cmd CmdSpec constructors (+8 net lines)",
993995
),
994996
}
995997

0 commit comments

Comments
 (0)