Skip to content

Align custom agent instructions contract#159

Merged
leo-paz merged 1 commit into
mainfrom
codex/custom-agent-unified-instructions
Jul 1, 2026
Merged

Align custom agent instructions contract#159
leo-paz merged 1 commit into
mainfrom
codex/custom-agent-unified-instructions

Conversation

@leo-paz

@leo-paz leo-paz commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove deprecated custom-agent surfaceCriteria / skipCriteria CLI inputs
  • document unified custom-agent instructions guidance
  • update the docs OpenAPI contract for custom agent create/detail schemas and route coverage

Verification

  • bunx biome check --write docs/ai-integrations/platform-actions.mdx docs/cli/commands.mdx docs/openapi.json packages/cli/src/commands/agents/create.ts packages/cli/src/commands/agents/index.ts packages/cli/src/commands/completions.ts packages/cli/tests/commands/agents/create.test.ts packages/cli/tests/commands/platform-lifecycle.test.ts packages/cli/tests/lib/client.test.ts tests/docs/openapi-spec.test.ts
  • bun run typecheck
  • bun test tests/docs/openapi-spec.test.ts packages/cli/tests/commands/agents/create.test.ts packages/cli/tests/commands/platform-lifecycle.test.ts packages/cli/tests/lib/client.test.ts
  • bun run lint (returns 0; cached logs still show an existing Biome panic on packages/core/dist/index.js)

Core dependency

This PR should be merged before the Core staging -> main PR is expected to pass SDK OpenAPI drift checks.

@mintlify

mintlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
outlit 🟢 Ready View Preview Jul 1, 2026, 2:38 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 58 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b325cca1-ce6a-42d0-abd4-d2a56b1e0db5

📥 Commits

Reviewing files that changed from the base of the PR and between aa07bfa and 2a4f8e4.

📒 Files selected for processing (11)
  • .changeset/custom-agent-unified-instructions.md
  • docs/ai-integrations/platform-actions.mdx
  • docs/cli/commands.mdx
  • docs/openapi.json
  • packages/cli/src/commands/agents/create.ts
  • packages/cli/src/commands/agents/index.ts
  • packages/cli/src/commands/completions.ts
  • packages/cli/tests/commands/agents/create.test.ts
  • packages/cli/tests/commands/platform-lifecycle.test.ts
  • packages/cli/tests/lib/client.test.ts
  • tests/docs/openapi-spec.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/custom-agent-unified-instructions

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

@leo-paz
leo-paz force-pushed the codex/custom-agent-unified-instructions branch from 256625f to 2a4f8e4 Compare July 1, 2026 02:38
@leo-paz
leo-paz merged commit ee68785 into main Jul 1, 2026
5 checks passed
@leo-paz
leo-paz deleted the codex/custom-agent-unified-instructions branch July 1, 2026 04:27
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