Skip to content

docs: align OpenSpec + changelog with CLI-reference work (fixes #51 P1 review) - #52

Merged
mesilov merged 2 commits into
devfrom
docs/46-align-openspec-changelog
Sep 3, 2026
Merged

mesilov merged 2 commits into
devfrom
docs/46-align-openspec-changelog

Conversation

@mesilov

@mesilov mesilov commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

Closes the two P1 maintainer-policy gaps Codex raised on #51. My earlier follow-up PRs (#49/#50/#51) changed generator behavior and maintainer guidance without updating the active OpenSpec change or the changelog — both required by the repo's maintainer policy. This PR brings them into alignment.

  • OpenSpec — updated the active document-cli-option-reference change so it matches what shipped:
    • proposal.md: added the --json/--silent refinements and the generator hardening to "What Changes"; added update-cli-reference.sh to the affected files.
    • design.md: recorded the version/scope qualification and the single-source + fail-clearly generator decisions.
    • tasks.md: added "Review refinements" and "Generator hardening" task groups.
    • spec.md: added a requirement that the generator is resilient (single-sourced command list; clear error on a missing allowlist entry).
  • CHANGELOG — added the missing [Unreleased] entries for the generator hardening and the README CLI-reference corrections.

No code/behavior changes here; cli.md unchanged, drift check green.

Verification

  • openspec validate document-cli-option-reference --strict — valid
  • 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 passed, CS Fixer (0 fixable), PHPStan level 8 (no errors), Rector (done)

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

Please let the Codex review finish before merging.

🤖 Generated with Claude Code

… CLI work

Address the maintainer-policy gaps raised by Codex on #51:

- Update the active `document-cli-option-reference` OpenSpec change so its
  proposal, design, tasks, and spec cover the review refinements (`--json`
  scope, `--silent` version) and the generator hardening (single-sourced
  command list, clear error on a missing optionAllowlist entry).
- Add the missing `[Unreleased]` CHANGELOG entries for the generator hardening
  and the README CLI-reference corrections.

Follow-up to Codex review on #51.

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-03T06:15:38.628146Z b3276bd 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.

@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: b3276bdafd

ℹ️ 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 openspec/changes/document-cli-option-reference/proposal.md
…n in spec

- CHANGELOG: move the CLI-reference generator hardening and README-reference
  corrections from [Unreleased] into the not-yet-released [0.4.0] section
  (generator hardening under Changed; --json/--silent accuracy folded into the
  existing CLI-reference Added entry). [Unreleased] is empty again.
- OpenSpec spec: align the "README Documents the Complete CLI Option Reference"
  requirement and scenario with the scoped --json (Echo commands only, not
  Symfony's built-in list/help), matching the proposal and implementation.

Follow-up to Codex review on #52.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EanqRNh4A3XoojYr7MNFvd
@mesilov
mesilov merged commit c33bee4 into dev Sep 3, 2026
2 checks passed
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