Skip to content

Fix PARTIAL audit items in template command files#172

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

Fix PARTIAL audit items in template command files#172
maystudios merged 1 commit intomainfrom
worktree-agent-ac556861

Conversation

@maystudios
Copy link
Copy Markdown
Owner

Summary

  • go.md: Added explicit EnterPlanMode tool mention in step 3
  • init.md: Added Plan Mode note at start of process section; specified 6 labels in 2 namespaces for GitHub Setup step
  • plan.md: Added Plan Mode note documenting EnterPlanMode/ExitPlanMode usage during Discussion and Planning stages
  • debug.md: Added Plan Mode note for symptom analysis and diagnosis presentation
  • security.md: Added Agent to allowed-tools list
  • settings.md: Verified auto-advance is already mentioned in the objective (no change needed)

Test plan

  • All changes are markdown template files with no runtime behavior — visual review only
  • Verified each file reads correctly after edits
  • Confirmed settings.md already includes auto-advance reference

🤖 Generated with Claude Code

…late commands

- go.md: Mention EnterPlanMode explicitly in step 3
- init.md: Add Plan Mode note and specify 6 labels in 2 namespaces
- plan.md: Add Plan Mode note for Discussion/Planning stages
- debug.md: Add Plan Mode note for symptom analysis phase
- security.md: Add Agent to allowed-tools list

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 25, 2026 12:43
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

Updates MaxsimCLI command templates to address partial audit items, primarily by clarifying Plan Mode expectations and tool usage in command processes/frontmatter.

Changes:

  • Added Plan Mode guidance to /maxsim:plan, /maxsim:init, and /maxsim:debug command templates.
  • Made /maxsim:go explicitly reference EnterPlanMode by tool name.
  • Added Agent to the allowed-tools list for /maxsim:security.

Reviewed changes

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

Show a summary per file
File Description
templates/commands/maxsim/security.md Expands allowed-tools to include Agent for the security audit command.
templates/commands/maxsim/plan.md Adds a Plan Mode note describing Enter/Exit Plan Mode usage.
templates/commands/maxsim/init.md Adds a Plan Mode note and clarifies the standard GitHub label taxonomy in the process steps.
templates/commands/maxsim/go.md Clarifies that entering Plan Mode should be done via the EnterPlanMode tool.
templates/commands/maxsim/debug.md Adds a Plan Mode note for diagnosis presentation and exiting before spawning fix execution.

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

Comment on lines +22 to 24
Plan Mode: Call EnterPlanMode before presenting setup proposals to the user. Call ExitPlanMode after user approves.

Follow @.claude/maxsim/workflows/init.md end-to-end.
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

The Plan Mode guidance here doesn’t match the referenced init workflows: init-existing.md/new-project.md require calling EnterPlanMode immediately after prerequisites and keeping scanning + GitHub setup within Plan Mode, exiting only after the user approves the complete init plan. Update this note to align with the workflow so the command template doesn’t instruct a different Plan Mode lifecycle.

Suggested change
Plan Mode: Call EnterPlanMode before presenting setup proposals to the user. Call ExitPlanMode after user approves.
Follow @.claude/maxsim/workflows/init.md end-to-end.
Plan Mode: After completing prerequisites, immediately call EnterPlanMode before starting repo scanning or proposing any setup. Keep scanning, user interview, GitHub setup, CLAUDE.md drafting, and roadmap proposals within Plan Mode. Call ExitPlanMode only after the user reviews and approves the complete init plan.
Follow @.claude/maxsim/workflows/init-existing.md and @.claude/maxsim/workflows/new-project.md (via @.claude/maxsim/workflows/init.md) end-to-end.

Copilot uses AI. Check for mistakes.
</context>

<process>
Plan Mode: This command uses EnterPlanMode during the Discussion and Planning stages. Call ExitPlanMode before executing the approved plan.
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

This says EnterPlanMode is used during Discussion and Planning stages only, but the /maxsim:plan orchestrator workflow calls EnterPlanMode before any research or planning steps (i.e., it spans Discussion + Research + Planning). Please adjust this note to reflect the actual Plan Mode lifecycle used by templates/workflows/plan.md.

Suggested change
Plan Mode: This command uses EnterPlanMode during the Discussion and Planning stages. Call ExitPlanMode before executing the approved plan.
Plan Mode: This command enters Plan Mode before the Discussion stage and keeps it active through Discussion, Research, and Planning. Call ExitPlanMode before executing the approved plan.

Copilot uses AI. Check for mistakes.
description: Security audit — STRIDE + OWASP Top 10 + red-team analysis (read-only)
argument-hint: "[scope]"
allowed-tools: [Read, Bash, Grep, Glob, WebSearch, WebFetch]
allowed-tools: [Read, Bash, Grep, Glob, Agent, WebSearch, WebFetch]
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

allowed-tools now includes Agent, but the command explicitly claims it is READ-ONLY and that tools are restricted to read-only operations. Because Agent can spawn agents like executor (which has Write/Edit), this undermines the read-only guarantee; either remove Agent here or explicitly constrain any Agent usage to read-only agents (e.g., researcher) and state that write-capable agents must not be spawned from this command.

Copilot uses AI. Check for mistakes.
@maystudios maystudios merged commit 8fdaf9d into main Mar 25, 2026
5 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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