feat(sc-install): symmetric --claude/--codex install targets - #113
Merged
randlee merged 4 commits intoSep 23, 2026
Merged
Conversation
Codex CLI (~/.codex) only has a skills directory relevant to us and no commands/agents concept, so a --codex install should skip commands, agents, and registry.yaml maintenance entirely rather than mimicking the ~/.claude layout. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…ating - --claude/--codex are now independent target flags under a scope (--global/--local/--user/--project), symmetric with each other: either alone installs only that target, neither installs both .claude and .codex. --dest remains a single, explicit .claude-only path and now rejects --codex outright instead of silently ignoring it. - Installing to both targets shares one code path (_resolve_install_scope + _resolve_install_targets + a single install_target() closure) instead of duplicating the artifact-copy loop per target. - Any artifact in any category with a sibling <path>.local.j2 file is rendered through sc-compose (auto-installed on first use) instead of copied verbatim, for any install that isn't --global/--user; .codex never consults .local.j2, matching --global/--user. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…dex-target # Conflicts: # src/sc_cli/install.py
…-path' into feat/sc-install-codex-target # Conflicts: # src/sc_cli/install.py # tests/test_sc_install_phase1_2.py
randlee
changed the base branch from
develop
to
fix/sc-git-worktree-dynamic-base-path
September 23, 2026 21:47
randlee
added this pull request to stack #115
September 23, 2026 21:47
randlee
removed this pull request from stack #115
September 23, 2026 22:09
randlee
merged commit Sep 23, 2026
e912415
into
fix/sc-git-worktree-dynamic-base-path
28 checks passed
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
--claude/--codexare now independent, symmetric target flags under a scope (--global/--local/--user/--project): either alone installs only that target, neither installs both.claudeand.codex. Mirrors how--global/--localalready behave.--deststays a single explicit.claude-only path and now rejects--codexexplicitly instead of silently ignoring it._resolve_install_scope+_resolve_install_targets+ a singleinstall_target()closure) — no duplicated artifact-copy logic between.claudeand.codex.<path>.local.j2file is rendered throughsc-compose(auto-installed on first use) instead of copied verbatim, for any install that isn't--global/--user..codexnever consults.local.j2, matching--global/--user.Test plan
python3 -m pytest tests/ -q— 1400 passed