Correct Context ingest URL and brief purpose docs

Draft
SI
5d ago
+5-3

Draft: superseded and redundant; recommend closing without merging. Other open docs PRs already make every edit in this PR, with different wording, and they own the behaviour they describe. Merging this PR as well would conflict with them and contradict them. Sidney decides whether to close it.

Summary

This PR makes two anchored edits to api-reference/openapi/context.json:

  • The ingest url description. This sentence is owned by the PRs that change the behaviour it describes:

    • recoupable/docs#357 (ctx-2126): album routing messages, paired with api#1001, which changes the live parseContextUrl.
    • recoupable/docs#366 (ctx-2131): YouTube moves to ingest_video, paired with api#1019.

    This PR's wording ("YouTube passes validation but this pilot rejects it"; albums "must be submitted with ingest_release") contradicts both and would go stale as soon as either merges. It also points callers to ingest_release, which this spec does not document, and it does not mention that a YouTube URL gets a generic 409, not a 400.

  • company_onboarding in the brief/save_brief purpose enums. recoupable/docs#360 (ctx-2130) and recoupable/docs#365 (ctx-2134) already add this, with descriptions.

The ticket's API PR, recoupable/api#1002, adds only internal, unwired contract modules. It changes no public request or response shape, so this ticket needs no docs change of its own.

Refs recoupable/app#2118 (child of epic recoupable/app#2116).

Merge sequencing

Do not merge. If kept open, it would have to merge after #357, #360, #365 and #366, and its edits would then be empty or conflicting. recoupable/api#1002 does not depend on this PR.

Verification

  • python3 -c "import json;json.load(open('api-reference/openapi/context.json'))" on head 1807d0c: parses.
  • grep -c company_onboarding api-reference/openapi/context.json: 2.
  • Overlap check:
    • gh pr diff for docs#357 and #366 shows both rewrite the same ingest url line (hunk @@ -68,7 +68,7 @@).
    • docs#360 and #365 add the same company_onboarding enum values.
  • Red → green: not applicable (documentation only).
  • Not verified: Mintlify render, hosted docs deployment.

Out of scope / known gaps

  • No new MDX pages or docs.json nav changes.

šŸ¤– Generated with Claude Code