Skip to content

feat(docs): support create title option#1536

Draft
SunPeiYang996 wants to merge 1 commit into
mainfrom
codex/support-doc-title-warning
Draft

feat(docs): support create title option#1536
SunPeiYang996 wants to merge 1 commit into
mainfrom
codex/support-doc-title-warning

Conversation

@SunPeiYang996

Copy link
Copy Markdown
Collaborator

Summary

  • Add docs +create --title for v2 document creation.
  • When --title is provided, prepend <title>...</title> to content before sending the request.
  • Update lark-doc skill docs to guide Agent title usage and duplicate-title behavior.
  • Add focused dry-run and shortcut tests for the new title path.

Validation

  • PASS: remote make build
  • PASS: remote go test ./shortcuts/doc -count=1
  • PASS: remote go test ./tests/cli_e2e/docs -run "^TestDocs_(DryRunDefaultsToV2OpenAPI|CreateTitleDryRunPrependsContent)$" -count=1
  • PASS: PPE ppe_sun_ai_test create/fetch checks for Markdown title creation and duplicate title filtering warnings.

Related

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8e315c24-cf28-460b-9397-ac1a83dac2a6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/support-doc-title-warning

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions github-actions Bot added domain/ccm PR touches the ccm domain size/M Single-domain feat or fix with limited business impact labels Jun 22, 2026
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

PR Quality Summary

CI did not complete successfully. Use the failed check links below to decide whether this PR needs a code change or a rerun.

Failed checks

Change-Id: I6fd840fe813e5e664ea9ec680765fd41375cdebf
@SunPeiYang996 SunPeiYang996 force-pushed the codex/support-doc-title-warning branch from e58d61b to 363b54b Compare June 22, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/ccm PR touches the ccm domain size/M Single-domain feat or fix with limited business impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant