Skip to content

Add MODULE_CASCADE_CORE Entries for 5 Unclassified Core Modules#3380

Merged
Trecek merged 3 commits into
developfrom
add-module-cascade-core-entries-for-5-unclassified-core-modu/3368
May 31, 2026
Merged

Add MODULE_CASCADE_CORE Entries for 5 Unclassified Core Modules#3380
Trecek merged 3 commits into
developfrom
add-module-cascade-core-entries-for-5-unclassified-core-modu/3368

Conversation

@Trecek
Copy link
Copy Markdown
Collaborator

@Trecek Trecek commented May 31, 2026

Summary

Add 5 missing MODULE_CASCADE_CORE entries in tests/_test_filter.py for core modules created by the monolithic file split (May 24) and GitHub API log rectification (May 29). These modules currently fall through to the full 18-directory cascade instead of narrowed cascades matching their actual import consumers. Also add a completeness guard test (REQ-FILT-007) to prevent future regressions when new core modules are created.

Files changed: tests/_test_filter.py, tests/test_test_filter_core_cascade.py

Requirements

  • REQ-FILT-001: Add _type_constants_env to MODULE_CASCADE_CORE with cascade {cli, config, core, execution, recipe, server, smoke_utils, workspace}
  • REQ-FILT-002: Add _type_constants_features to MODULE_CASCADE_CORE with cascade {cli, config, core, fleet, recipe, server, workspace}
  • REQ-FILT-003: Add _type_constants_registries to MODULE_CASCADE_CORE with cascade {cli, config, core, pipeline, recipe, server, workspace}
  • REQ-FILT-004: Add _type_exceptions to MODULE_CASCADE_CORE with cascade {core, fleet, recipe, server}
  • REQ-FILT-005: Add _step_context to MODULE_CASCADE_CORE with cascade {core, execution, pipeline, server}
  • REQ-FILT-006: Add companion test assertions in tests/test_test_filter_core_cascade.py for all 5 entries (both value assertions and routing tests)
  • REQ-FILT-007: Consider adding a completeness guard test that scans src/autoskillit/core/ for .py file stems and asserts each appears in either _CORE_UNIVERSAL_MODULES or MODULE_CASCADE_CORE — this prevents future monolithic file splits from silently falling through to the full cascade

Implementation Plan

Plan file: /home/talon/projects/autoskillit-runs/impl-20260530-195159-043829/.autoskillit/temp/make-plan/add_module_cascade_core_entries_plan_2026-05-30_195500.md

Closes #3368

🤖 Generated with Claude Code via AutoSkillit

Token Usage Summary

Step Model count uncached output cache_read peak_ctx turns cache_write time
plan* opus[1m] 1 87 17.7k 1.7M 101.6k 168 128.1k 17m 50s
verify* opus[1m] 1 47 10.3k 490.5k 67.1k 137 50.9k 5m 35s
implement* opus[1m] 1 73.8k 36.3k 6.7M 0 249 0 5m 31s
audit_impl* opus[1m] 1 34 7.4k 211.8k 38.2k 60 29.1k 3m 41s
prepare_pr* opus[1m] 1 59.6k 2.5k 138.1k 27.6k 18 42.5k 1m 15s
compose_pr* opus[1m] 1 53.9k 1.5k 224.5k 0 18 0 54s
review_pr* opus[1m] 1 41 15.9k 603.0k 60.9k 36 46.1k 4m 4s
resolve_review* opus[1m] 1 50 4.4k 648.4k 51.9k 32 36.0k 3m 22s
Total 187.5k 96.1k 10.7M 101.6k 332.8k 42m 16s

* Step used a non-Anthropic provider; caching behavior may differ.

Token Efficiency

Step LoC Changed cache_read/LoC cache_write/LoC output/LoC
plan 0
verify 0
implement 148 44946.8 0.0 245.5
audit_impl 0
prepare_pr 0
compose_pr 0
review_pr 0
resolve_review 3 216145.7 12016.0 1463.7
Total 151 70660.0 2204.2 636.5

Model Usage Breakdown

Model steps uncached output cache_read cache_write time
opus[1m] 8 187.5k 96.1k 10.7M 332.8k 42m 16s

Trecek and others added 3 commits May 30, 2026 20:39
… core modules

Adds cascade entries for _type_constants_env, _type_constants_features,
_type_constants_registries, _type_exceptions, and _step_context to route
them to their actual import consumers instead of falling through to the
full 18-directory cascade.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…RE entries

- Expand expected_stems to 38 entries (was 33)
- Add 5 cascade value assertions (T2) to TestModuleCascadeCore
- Add 5 routing tests (T3) to TestBuildTestScopeCoreCascade
- Add REQ-FILT-007 completeness guard TestCoreStemCompleteness

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Prevents the REQ-FILT-007 completeness assertion from trivially passing
when pytest runs from a non-root directory where the relative path
resolves to zero files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Trecek Trecek force-pushed the add-module-cascade-core-entries-for-5-unclassified-core-modu/3368 branch from 28edd17 to 343b192 Compare May 31, 2026 03:39
@Trecek Trecek added this pull request to the merge queue May 31, 2026
Merged via the queue into develop with commit dfde8cf May 31, 2026
3 checks passed
@Trecek Trecek deleted the add-module-cascade-core-entries-for-5-unclassified-core-modu/3368 branch May 31, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant