Skip to content

Add confirmed project-template submit command - #45

Merged
purpshell merged 6 commits into
devfrom
codex/oa29-project-template-submit
Oct 1, 2026
Merged

purpshell merged 6 commits into
devfrom
codex/oa29-project-template-submit

Conversation

@purpshell

@purpshell purpshell commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Adds polymorfa template submit <template> --project-slug <slug> --session <number> --yes, which submits a saved project template for Meta approval with templates:manage. It makes one attempt (maxNetworkRetries: 0, matching the SDK's forced single attempt), requires --yes, and reports that an accepted submission is not approval.

Uses MessagingClient.templates.submit from @polymorfa/sdk 0.1.0-dev.20261001124422 (pinned on CLI dev by #41; published from SDK dev after polymorfa/sdks #313). API PR #377 (merged, API dev 29abb7b) rejects invalid drafts with 400 before dispatch.

  • API: unaffected; #377 merged.
  • SDKs: consumes the published prerelease.
  • CLI: new command, topic help, README section, tests.
  • Docs: CLI README. Public Mintlify unchanged (beta-gated Official API).
  • Feature releases: no access change; server gates apply.

Verification (head 614ffb1): typecheck, lint, prettier, build, prod audit (0), cloud and release tests (21) pass.

@coderabbitai

coderabbitai Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 19 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 60 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: e50c0e8f-b73b-4b7f-9cf9-33e46db3ee3c

📥 Commits

Reviewing files that changed from the base of the PR and between a8e56b8 and 614ffb1.

📒 Files selected for processing (5)
  • README.md
  • docs/internal/2026-09-26-project-template-submit.md
  • package.json
  • src/commands/template/submit.ts
  • test/commands/cloud.test.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 26, 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-26T21:47:34.375216Z f75adb9 Manual request
ℹ️ 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

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 490b5252a3

ℹ️ 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".

@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@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: 7410e0078f

ℹ️ 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 src/commands/template/submit.ts
@purpshell

Copy link
Copy Markdown
Member Author

@codex review

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

ℹ️ 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 test/commands/cloud.test.ts Outdated
@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: f75adb9fab

ℹ️ 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".

@purpshell
purpshell changed the base branch from codex/official-api-consumers-20260926 to dev October 1, 2026 13:10
@purpshell

Copy link
Copy Markdown
Member Author

Local review (head 614ffb1; manual pass): command maps args/flags to templates.submit(projectSlug, templateId, {session}, {maxNetworkRetries: 0}), which matches the pinned SDK signature; --yes is checked before any credential or network work; server-credential-only guard applied; ignoreProjectLink is appropriate since the project slug is explicit. Test covers single attempt on failure. No findings.

@purpshell
purpshell merged commit f9fca79 into dev Oct 1, 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