Skip to content

feat(program): export isMutating - #2

Merged
bunizao merged 1 commit into
mainfrom
feat/is-mutating
Oct 29, 2026
Merged

bunizao merged 1 commit into
mainfrom
feat/is-mutating

Conversation

@bunizao

@bunizao bunizao commented Oct 29, 2026

Copy link
Copy Markdown
Owner

mutating(command) records the mark in a private set, so a CLI that describes its own command tree (moodle-cli's describeProgram) cannot read it and guesses from command names instead. moodle-cli guesses wrong for threads reply, forums post, forums subscribe, complete, alerts read and messages read: they are wrapped in mutating() but ship as read-only in commands --json and the generated skill reference (found by Codex review on bunizao/moodle-cli#78).

isMutating(command) returns the mark. Additive; ships as 0.7.1.

npm test: 78 passing, one new case.

Copilot AI balanced review requested due to automatic review settings October 29, 2026 14:00
@chatgpt-codex-connector

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 ⚠️ Failed 2026-10-29T14:00:29.986239Z
We couldn’t complete this review. Comment @codex review to try again.
7469a45 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

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@bunizao
bunizao merged commit 610fac2 into main Oct 29, 2026
4 checks passed
@bunizao
bunizao deleted the feat/is-mutating branch October 29, 2026 14:02
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