Implementation Plan: Rename cli/session/ Files to Match _session_ Prefix Convention#3903
Merged
Trecek merged 3 commits intoJun 8, 2026
Conversation
Rename four source modules in src/autoskillit/cli/session/ to match the _session_ prefix already established by _session_launch.py and _session_picker.py: _constants.py -> _session_constants.py _cook.py -> _session_cook.py _order.py -> _session_order.py _reload.py -> _session_reload.py Update sibling source-side import paths in cli/__init__.py, cli/app.py, cli/session/__init__.py, _session_cook.py, and _session_launch.py to reference the new module names. Also update cli/session/CLAUDE.md file listing to reflect the new names.
Update all test-file references to the four renamed cli/session/ modules (_constants, _cook, _order, _reload → _session_ prefixed), including: - 15 test files with import statements, monkeypatch.setattr() patch strings, and patch() string targets - Arch test path literals, ALLOWED tuples, _PRINT_EXEMPT frozenset entries, and helper function bodies in tests/arch/ - Docstrings, error messages, assert messages, and .exists() path assertions referencing the old filenames - tests/arch/CLAUDE.md test catalog description - tests/contracts/test_claude_code_interface_contracts.py comment - tests/core/test_type_constants.py comment - .autoskillit/test-source-map.json: 4 keys renamed with test arrays preserved Also shorten test_ast_rules.py docstring to satisfy line-length=99 after the _session_ prefix widened the path.
Trecek
commented
Jun 8, 2026
Trecek
left a comment
Collaborator
Author
There was a problem hiding this comment.
AutoSkillit PR Review — Verdict: approved_with_comments
…t_rules.py The abbreviation 'user-facing print() OK' was overly terse; use 'user-facing terminal output OK' which is clearer and stays within the 99-char line-length limit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rename four files in
src/autoskillit/cli/session/to follow the_session_prefix convention already established by_session_launch.pyand_session_picker.py, and consistent with peer directoriescli/doctor/(_doctor_*) andcli/fleet/(_fleet_*):_constants.py_session_constants.py_cook.py_session_cook.py_order.py_session_order.py_reload.py_session_reload.pyUpdate all import paths, monkeypatch/patch string targets, arch test path literals and registries, the
test-source-map.jsoncoverage oracle, andcli/session/CLAUDE.md.Implementation Plan
Plan file:
/home/talon/projects/autoskillit-runs/impl-20260607-232505-636268/.autoskillit/temp/make-plan/rename_cli_session_files_plan_2026-06-07_232505.mdCloses #3771
🤖 Generated with Claude Code via AutoSkillit
Token Usage Summary
* Step used a non-Anthropic provider; caching behavior may differ.
Token Efficiency
Model Usage Breakdown