Skip to content

feat: add competitive_enabled and worktree path/branch templates (§7.2, §7.3-7.4)#189

Merged
maystudios merged 1 commit intomainfrom
worktree-agent-a91c3cfb
Mar 25, 2026
Merged

feat: add competitive_enabled and worktree path/branch templates (§7.2, §7.3-7.4)#189
maystudios merged 1 commit intomainfrom
worktree-agent-a91c3cfb

Conversation

@maystudios
Copy link
Copy Markdown
Owner

Summary

  • Adds competitive_enabled: boolean to MaxsimConfig.execution interface and DEFAULT_CONFIG (fixes audit gap §7.2)
  • Adds path_template: string and branch_template: string to MaxsimConfig.worktrees interface and DEFAULT_CONFIG (fixes audit gaps §7.3-7.4)
  • Mirrors both changes in templates/templates/config.json
  • Adds two new test cases in types.test.ts to cover the new defaults

Test plan

  • npx vitest run — 539 tests pass (17/18 suites; templates.test.ts failure is pre-existing, requires built dist)
  • npm run build — TypeScript compiles cleanly
  • npm run lint — no new lint errors introduced (9 warnings + 28 infos are all pre-existing)

🤖 Generated with Claude Code

…onfig

Fixes audit gaps §7.2 (competitive_enabled missing from execution config)
and §7.3-7.4 (path_template/branch_template missing from worktrees config).

- Add `competitive_enabled: boolean` to MaxsimConfig.execution interface and DEFAULT_CONFIG
- Add `path_template: string` and `branch_template: string` to MaxsimConfig.worktrees interface and DEFAULT_CONFIG
- Mirror both fields in templates/templates/config.json
- Add unit test coverage for both new defaults in types.test.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 25, 2026 18:33
@maystudios maystudios merged commit 310e0e4 into main Mar 25, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the MaxsimCLI configuration schema and its shipped templates to include missing defaults needed by the competitive execution and worktree templating features referenced in the workflows/spec.

Changes:

  • Add execution.competitive_enabled (default false) to MaxsimConfig and DEFAULT_CONFIG.
  • Add worktrees.path_template and worktrees.branch_template (with defaults) to MaxsimConfig and DEFAULT_CONFIG.
  • Mirror these defaults into templates/templates/config.json and add unit tests asserting the new defaults.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
templates/templates/config.json Adds new config defaults (competitive_enabled, worktree templates) and updates template version.
packages/cli/tests/unit/types.test.ts Adds assertions that the new defaults exist and match expected values.
packages/cli/src/core/version.ts Bumps the injected CLI version constant to 5.13.1.
packages/cli/src/core/types.ts Extends MaxsimConfig and DEFAULT_CONFIG with the new config keys and defaults.
packages/cli/README.md Documents additional slash commands and updates the Planner description to reflect GitHub-plan-comments behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants