Skip to content

docs: qualify --silent by Symfony version + document all three CLI lists (follow-up to #49) - #50

Merged
mesilov merged 1 commit into
devfrom
docs/46-cli-silent-and-lists
Sep 3, 2026
Merged

mesilov merged 1 commit into
devfrom
docs/46-cli-silent-and-lists

Conversation

@mesilov

@mesilov mesilov commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

Second follow-up landing the Codex review points raised on #49 (which merged before the review completed). Both are confirmed valid.

  • --silent version qualification — --silent was introduced in Symfony Console 7.2, but composer.json allows symfony/console: ^6.4 || ^7.0 || 8.0.*, so library consumers resolving 6.4/7.0/7.1 do not have the flag. The README now qualifies --silent with its minimum Console version and notes the shipped Docker image includes it while older library installs may not.
  • All three CLI lists — the "Изменения CLI" maintainer note previously mentioned only PROJECT_COMMANDS/optionAllowlist. Adding a command also requires the node projectCommands array in update-cli-reference.sh (the generator loops over it), otherwise the command is silently skipped while the drift check still passes. The note now lists all three arrays and which are needed for a new command vs a new option.

No CLI behavior changes; generated cli.md unchanged (drift check green).

Verification

All green in the Docker dev environment:

  • make lint-openspec — 17 passed, 0 failed
  • git diff --check — clean
  • make test-unit — 220 tests, 570 assertions OK
  • make lint-all — lint-agent-plugins (CLI drift check) passed, CS Fixer (0 fixable), PHPStan level 8 (no errors), Rector (done)

Relates to #46. Review threads on #49 replied to and resolved.

Note: please let the Codex review finish before merging so any last findings can be folded in.

🤖 Generated with Claude Code

…lists

- README: --silent is a Symfony Console 7.2+ option, but composer.json still
  allows symfony/console ^6.4 || ^7.0, so consumers on 6.4/7.0/7.1 do not have
  it. Qualify the option with its minimum Console version and note the shipped
  Docker image includes it while older library installs may not.
- Maintainer skill: adding a CLI command/option requires updating all three
  lists in update-cli-reference.sh (bash PROJECT_COMMANDS, node projectCommands,
  optionAllowlist), not just two; a command needs both command arrays or the
  generator silently skips it while the drift check still passes.

Follow-up to Codex review on #49.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EanqRNh4A3XoojYr7MNFvd
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-03T05:57:41.813468Z 4cb51f9 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mesilov mesilov added this to the 0.4.0 milestone Sep 3, 2026
@mesilov
mesilov merged commit 7261d3e into dev Sep 3, 2026
2 checks passed

@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: 4cb51f9187

ℹ️ 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 .agents/skills/rarus-echo-maintainer/SKILL.md
mesilov added a commit that referenced this pull request Sep 3, 2026
…rator

docs: harden CLI reference generator (root-cause fix for #50 review)
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.

1 participant