Skip to content

Add AGENTS.md bootstrap option to pm new#834

Open
ktabouguia-sq wants to merge 2 commits into
block:mainfrom
ktabouguia-sq:ktabouguia/pm-new-agents-md
Open

Add AGENTS.md bootstrap option to pm new#834
ktabouguia-sq wants to merge 2 commits into
block:mainfrom
ktabouguia-sq:ktabouguia/pm-new-agents-md

Conversation

@ktabouguia-sq

Copy link
Copy Markdown

Why

Make it easier to bootstrap new pm project directories with agent instructions when the caller wants them.

What

  • Add pm new --agents-md [PATH] with ./AGENTS.md as the no-value default
  • Copy the selected agent instructions into the project root and symlink CLAUDE.md to AGENTS.md
  • Add integration coverage for omitted, explicit-path, default-path, and missing-file behavior

Risk Assessment

Low — this only affects pm new when the new option is supplied; existing calls without --agents-md keep skipping agent files.

References

  • Verified with cargo test -p pm
  • Verified with cargo clippy --workspace -- -D warnings
  • Verified with cargo fmt --all --check
  • Verified with cargo test --workspace
  • Pre-push passed crates fmt/lint/test plus staged and differ CI

Generated with Codex

@ktabouguia-sq

Copy link
Copy Markdown
Author

@codex review

Comment posted automatically by outer-loop

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6120e2a0a0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/pm/src/cmd.rs Outdated
@ktabouguia-sq ktabouguia-sq marked this pull request as ready for review June 29, 2026 17:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6120e2a0a0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/pm/src/main.rs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants