@iamdevlinph/codex-kit 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/assets/SUBAGENT_ROUTING.md +16 -10
- package/bin/codex-kit.js +23 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,11 @@ For one-off use without a global installation, prefix a command with
|
|
|
27
27
|
`global install` copies reusable agents to `${CODEX_HOME:-~/.codex}` and
|
|
28
28
|
maintains a marked routing section in the global `AGENTS.md`.
|
|
29
29
|
|
|
30
|
+
The Sol root agent plans, coordinates, and validates. All project-file changes,
|
|
31
|
+
including small one-file edits, are delegated to a Luna `quick-implementer` or
|
|
32
|
+
`implementer`; the selected implementation agent edits directly without further
|
|
33
|
+
delegation.
|
|
34
|
+
|
|
30
35
|
`global configure` sets these defaults while preserving unrelated settings:
|
|
31
36
|
|
|
32
37
|
```toml
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
# Subagent Routing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The root parent is the Sol planner and orchestrator. It must delegate all
|
|
4
|
+
file-changing implementation to a Luna implementation agent. The user does not
|
|
5
|
+
need to request subagents explicitly.
|
|
6
6
|
|
|
7
7
|
The parent owns requirements, architecture, integration, and final validation.
|
|
8
8
|
Never delegate the overall objective. Avoid parallel write-heavy work and never
|
|
9
9
|
assign overlapping files to multiple agents.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
For any task that creates, edits, or deletes project files, delegate the work to
|
|
12
|
+
exactly one of `quick-implementer` or `implementer`. Include bookkeeping commands
|
|
13
|
+
that write project state in that assignment. The parent may perform read-only
|
|
14
|
+
inspection and final validation, but must not make the project-file changes itself.
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
These routing rules apply to the root parent. An implementation subagent performs
|
|
17
|
+
its assigned edits directly and must not delegate them again. Do not delegate
|
|
18
|
+
trivial conversation or straightforward read-only commands. A slow command alone
|
|
19
|
+
is not a reason to delegate.
|
|
20
|
+
|
|
21
|
+
For delegated work:
|
|
16
22
|
|
|
17
23
|
- Prefer one subagent. Add more only for independent, non-overlapping work.
|
|
18
24
|
- Give each agent a bounded task and request a concise, decision-ready report.
|
|
@@ -27,9 +33,9 @@ Select custom agents by exact name:
|
|
|
27
33
|
- Multi-file behavior change, debugging, or substantial tests: `implementer`
|
|
28
34
|
- Independent review of high-risk or difficult-to-validate changes: `code-reviewer`
|
|
29
35
|
|
|
30
|
-
Use either `quick-implementer` or `implementer` for a change, not both.
|
|
31
|
-
lowest reasoning effort that reliably fits the work. Do not
|
|
32
|
-
agent when a matching custom role is available.
|
|
36
|
+
Use either `quick-implementer` or `implementer` for a change, not both. Both roles
|
|
37
|
+
run Luna; use the lowest reasoning effort that reliably fits the work. Do not
|
|
38
|
+
substitute a generic agent when a matching custom role is available.
|
|
33
39
|
|
|
34
40
|
There is no commit-pusher role. Never delegate Git publishing. Do not stage,
|
|
35
41
|
commit, or push unless the user explicitly requests that operation in the current
|
package/bin/codex-kit.js
CHANGED
|
@@ -647,22 +647,30 @@ function help() {
|
|
|
647
647
|
console.log(`codex-kit ${PACKAGE.version}
|
|
648
648
|
|
|
649
649
|
Usage:
|
|
650
|
-
codex-kit
|
|
651
|
-
codex-kit global configure [--orchestrator MODEL] [--reasoning-effort LEVEL]
|
|
652
|
-
codex-kit global list [--codex-home PATH]
|
|
653
|
-
codex-kit global uninstall [--codex-home PATH]
|
|
654
|
-
codex-kit project init [--cwd PATH]
|
|
655
|
-
codex-kit project sync [--cwd PATH]
|
|
656
|
-
codex-kit project status [--cwd PATH]
|
|
657
|
-
codex-kit project mark-applied [--cwd PATH]
|
|
658
|
-
codex-kit version check
|
|
659
|
-
codex-kit --help
|
|
660
|
-
codex-kit --version
|
|
650
|
+
codex-kit <command> [options]
|
|
661
651
|
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
652
|
+
Commands:
|
|
653
|
+
global install Install or update package-owned agents and routing guidance.
|
|
654
|
+
global configure Set the orchestrator and normal/Plan reasoning defaults.
|
|
655
|
+
global list Show model settings, routing status, and custom agents.
|
|
656
|
+
global uninstall Restore managed config values and remove package-owned files.
|
|
657
|
+
project init Initialize AGENTS.md, TEMPLATE_AGENTS.md, and project state.
|
|
658
|
+
project sync Refresh TEMPLATE_AGENTS.md without editing AGENTS.md.
|
|
659
|
+
project status Show whether template changes still need reconciliation.
|
|
660
|
+
project mark-applied Record the current template as reconciled with AGENTS.md.
|
|
661
|
+
version check Compare the installed version with the latest npm release.
|
|
662
|
+
--help Show this help.
|
|
663
|
+
--version Print the installed version.
|
|
664
|
+
|
|
665
|
+
Options:
|
|
666
|
+
--codex-home PATH Use a Codex home other than CODEX_HOME or ~/.codex.
|
|
667
|
+
--cwd PATH Use a project directory other than the current directory.
|
|
668
|
+
--force Replace modified files or config managed by codex-kit.
|
|
669
|
+
--orchestrator MODEL Set the root/orchestrator model (default: gpt-5.6-sol).
|
|
670
|
+
--model MODEL Alias for --orchestrator.
|
|
671
|
+
--reasoning-effort LEVEL Set normal and Plan-mode effort (default: high).
|
|
672
|
+
|
|
673
|
+
Run a command with only its applicable options.`);
|
|
666
674
|
}
|
|
667
675
|
export function main(argv = process.argv.slice(2)) {
|
|
668
676
|
const options = parse(argv);
|