Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ Removes MAXSIM files from `.claude/`. Your own skills, agents, and Claude Code c
| `/maxsim:quick <description>` | Quick task — create a GitHub Issue and execute in simplified flow |
| `/maxsim:progress` | Show project status from GitHub Project Board with next-action recommendation |
| `/maxsim:debug` | Systematic debugging with reproduce-hypothesize-isolate-verify-fix cycle |
| `/maxsim:debug-loop [symptom]` | Autonomous bug hunting with hypothesis testing |
| `/maxsim:fix-loop [error-command]` | Autonomous error repair until zero errors remain |
| `/maxsim:improve [metric-command]` | Autonomous optimization loop against any metric |
| `/maxsim:security [scope]` | Security audit — STRIDE + OWASP + red-team (read-only) |
| `/maxsim:settings` | View and modify MaxsimCLI configuration |
| `/maxsim:help` | Show available MaxsimCLI commands and usage |

Expand Down Expand Up @@ -210,7 +214,7 @@ Phase numbers are flexible. Integer (`01`, `02`), letter suffixes for parallel t
| Agent | Role | What it does |
|-------|------|-------------|
| Executor | Builds things | Reads plans, makes code changes, commits atomically, handles deviations |
| Planner | Creates plans | Turns research into structured PLAN.md files with tasks, waves, and dependencies |
| Planner | Creates plans | Turns research into structured plan comments on GitHub Issues with tasks, waves, and dependencies |
| Researcher | Investigates | Explores the codebase, gathers technical context, can use Brave Search |
| Verifier | Checks results | Validates plan structure, artifacts, requirement evidence, commit integrity |

Expand Down
6 changes: 6 additions & 0 deletions packages/cli/src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export interface MaxsimConfig {
version: string;
execution: {
model_profile: ModelProfile;
competitive_enabled: boolean;
model_overrides?: Partial<Record<AgentType, Model>>;
parallelism: {
max_agents_per_wave: number;
Expand All @@ -199,6 +200,8 @@ export interface MaxsimConfig {
worktrees: {
auto_cleanup: boolean;
branch_prefix: string;
path_template: string;
branch_template: string;
};
automation: {
auto_commit_on_success: boolean;
Expand Down Expand Up @@ -227,6 +230,7 @@ export const DEFAULT_CONFIG: MaxsimConfig = {
version: VERSION,
execution: {
model_profile: ModelProfile.BALANCED,
competitive_enabled: false,
parallelism: {
max_agents_per_wave: 3,
max_retries: 3,
Expand All @@ -248,6 +252,8 @@ export const DEFAULT_CONFIG: MaxsimConfig = {
worktrees: {
auto_cleanup: true,
branch_prefix: 'maxsim/',
path_template: '.claude/worktrees/agent-{id}/',
branch_template: 'maxsim/phase-{N}-task-{id}',
},
automation: {
auto_commit_on_success: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/core/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** MaxsimCLI version — auto-injected from package.json at build time. */
export const VERSION = '5.12.0';
export const VERSION = '5.13.1';

/**
* Parse a semantic version string into components.
Expand Down
9 changes: 9 additions & 0 deletions packages/cli/tests/unit/types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,13 @@ describe('DEFAULT_CONFIG', () => {
expect(DEFAULT_CONFIG.git).toBeDefined();
expect(DEFAULT_CONFIG.git.branching_strategy).toBe('phase');
});

it('includes competitive_enabled default as false', () => {
expect(DEFAULT_CONFIG.execution.competitive_enabled).toBe(false);
});

it('includes worktree path and branch templates', () => {
expect(DEFAULT_CONFIG.worktrees.path_template).toBe('.claude/worktrees/agent-{id}/');
expect(DEFAULT_CONFIG.worktrees.branch_template).toBe('maxsim/phase-{N}-task-{id}');
});
});
7 changes: 5 additions & 2 deletions templates/templates/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"version": "0.0.0-dev",
"version": "5.13.1",
"execution": {
"model_profile": "balanced",
"competitive_enabled": false,
"parallelism": {
"max_agents_per_wave": 3,
"max_retries": 3,
Expand All @@ -22,7 +23,9 @@
},
"worktrees": {
"auto_cleanup": true,
"branch_prefix": "maxsim/"
"branch_prefix": "maxsim/",
"path_template": ".claude/worktrees/agent-{id}/",
"branch_template": "maxsim/phase-{N}-task-{id}"
},
"automation": {
"auto_commit_on_success": true,
Expand Down
Loading