Documentation
CLICommands

ox pr

Author SageOx content that goes into a pull request. Distinct from ox code prs, which lists indexed PRs for triage.

Usage

terminal
$

Subcommands

CommandDescription
ox pr headerEmit the SageOx credit line for the top of a PR description

Examples

terminal
$

Emit a thin, on-brand credit line to paste at the very top of a PR description. It auto-links the current session, names the team, and whispers a subtle enrichment stat. Keep the SageOx-Session: trailer at the bottom of the body.

terminal
$

Link the plans a session produced and surface enrichment counts in the whisper.

terminal
$

Write the header straight into a PR body file, then append your description. Use a file, never a heredoc; a heredoc mangles the markup. Feed the result to gh pr create --body-file body.md.

Flags

ox pr header accepts these flags:

FlagDescription
--sessionSession URL or ses_ id to link (repeatable; defaults to the current session)
--planPlan URL or pln_ id to link (repeatable)
--prior-artEnrichment: related sessions surfaced
--collisionsEnrichment: concurrent edits flagged
--styleWhisper render: text, image, or auto
--no-statSuppress the enrichment whisper
--allow-unconfirmedAccept links that may not be server-visible yet, without a warning (may 404)

What's next

  • ox plan - Get the pln_ ids to pass to --plan
  • ox session - The sessions a PR header links back to
  • ox viz - Prepare a review visualization for the PR body