Skip to content

Add Messaging campaign update command - #42

Merged
purpshell merged 2 commits into
devfrom
codex/campaign-messaging-patch-cli
Oct 5, 2026
Merged

purpshell merged 2 commits into
devfrom
codex/campaign-messaging-patch-cli

Conversation

@purpshell

@purpshell purpshell commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Adds polymorfa campaign update CAMPAIGN_ID --project-slug SLUG --input patch.json for the Messaging PATCH contract in API #332. It sends a typed SDK request with only the four editable fields, rejects an empty or unsupported JSON patch before transport, prints the campaign, and returns a conflict without replaying the write.

This is a draft until SDK #307 is merged and its exact version and integrity are verified in the npm registry. The committed dependency and lockfile still pin the older published SDK, so registry-based CI cannot typecheck campaigns.update yet. The command was tested locally against SDK #307 source with a temporary untracked node_modules symlink; no local-path dependency is committed. Before merge, pin the verified registry version, regenerate the lockfile, and rerun exact-head CI.

Six-part impact: API #332 owns the handler, auth/scope, OpenAPI and errors; SDK #307 owns the typed method/request; CLI command/service/help and JSON/conflict tests are changed here; README and API Mintlify guide/reference cover usage, while public SDK docs must not claim unpublished availability; the API release record remains unreleased pending SDK/CLI publication, deployment, and live acceptance; Admin controls are unaffected because this project-scoped customer edit grants no staff operation.

Local validation against SDK #307: 18 focused command tests, CLI lint, typecheck, build, and format check passed. Registry-based CI and publication remain pending. No deployed endpoint was exercised.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

@coderabbitai

coderabbitai Bot commented Sep 26, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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 27, 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-27T06:04:51.764274Z 1620b69 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. Chef's kiss.

Reviewed commit: 1620b69046

ℹ️ 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 merged commit 96aefdf into dev Oct 5, 2026
2 of 3 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