Skip to content

docs: align executable examples with the public ingest contract - #372

Open
adityashrivastavaa wants to merge 2 commits into
mainfrom
docs/fix-public-executable-examples
Open

adityashrivastavaa wants to merge 2 commits into
mainfrom
docs/fix-public-executable-examples

Conversation

@adityashrivastavaa

@adityashrivastavaa adityashrivastavaa commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Description

Repair the shared baseline documentation CI failures, separately from connector-specific guide changes. The checked-in public OpenAPI schema is unchanged and remains the authority: replace unsupported direct app-source ingest examples with supported text-file uploads, route app content to connectors, and remove unsupported inheritance-restoration requests without inventing replacement semantics. Preserve existing anchors and explain explicit ACL replacement versus making a source private.

Only six public documentation pages change. No runtime, SDK, schema, test, skip or expected-failure behavior changes.

Related Issue

ENG-3700 — Captain-authorized shared documentation maintenance prerequisite for connector docs, including #371. This does not resolve connector-specific Mira roots by itself.

Type of Change

  • Documentation correction

Verification

Exact unchanged base 0017be23b35b08b70e70ad4d8be0173a7c580637 and Intercom #371 independently reproduced the same 12 executable-documentation failures. This maintenance head passes the unchanged suite: 43 tests, one existing local TypeScript skip because Node dependencies are not installed. Public contract verification passes (53 V2 pages, 44 endpoint bindings, 87 JSON examples, 58 response shapes); all four schema-type tests pass. Agent endpoint coverage, generated llms index freshness and git diff --check pass.

Local TypeScript execution, Mintlify validation, hosted CI and actual numeric current-head Mira remain pending. No full-site or live API clearance is claimed. No merge, deployment, activation, migration or replay is authorized.

Checklist

  • Changes match the checked-in public contract
  • Existing executable tests are unchanged
  • Normal DCO-signed commit and push
  • Previewed with mintlify dev
  • Terminal green hosted CI
  • Actual numeric current-head Mira 5/5

Open in Capy


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Signed-off-by: adityashrivastavaa <288670127+adityashrivastavaa@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@mintlify

mintlify Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
cortex-ai 🟢 Ready View Preview Nov 19, 2026, 5:27 AM

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

@github-actions

Copy link
Copy Markdown

✅ Mintlify Hygiene

No issues found.

@openhack-agent

openhack-agent Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

✅ OpenHack Summary

Security review of docs: align executable examples with the public ingest contract. 13 changed files; 0 findings at or above the low reporting threshold.

P1: Critical 0   P2: High 0   P3: Medium 0   P4: Low 0

Confidence Score: 5/5

No reportable security findings were detected in this scan.

Security merge-readiness rubric: 1 = critical, 2 = high, 3 = medium, 4 = low, 5 = no reportable findings. This score reflects scan findings, not a guarantee of correctness or complete coverage.

Files Needing Attention: None

Important Files Changed
  • AGENTS.mdx (modified)
  • api-reference/v2/endpoint/context-overview.mdx (modified)
  • api-reference/v2/endpoint/ingest-context.mdx (modified)
  • api-reference/v2/endpoint/update-source-metadata.mdx (modified)
  • cookbooks/v2/chief-of-staff.mdx (modified)
  • cookbooks/v2/competitive-intelligence.mdx (modified)
  • cookbooks/v2/cursor.mdx (modified)
  • cookbooks/v2/glean.mdx (modified)
  • cookbooks/v2/support-agent.mdx (modified)
  • essentials/v2/connectors.mdx (modified)
  • essentials/v2/context.mdx (modified)
  • essentials/v2/metadata.mdx (modified)
  • essentials/v2/query.mdx (modified)

Last reviewed commit: 3b99fce · View review on OpenHack


TIP: Mention @openhack-agent in a PR comment to request a review or ask a question. Use @openhack-agent fix all for every finding, or @openhack-agent fix unresolved threads for open review threads only.

@openhack-agent openhack-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenHack reviewed this commit. See the OpenHack Summary for the confidence score and fix actions.

@adityamishra-hydradb adityamishra-hydradb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. please dont add "the public contract does not expose an inheritance-restoration flag". acl_inherit (ENG-3302) is missing on main only because of the 14th nov revert. its still on staging and comes back next promotion so this line becomes false then. hiding the section is safer
  2. context-overview.mdx and the glean, support-agent, chief-of-staff, competitive-intelligence and cursor cookbooks still link #send-app-sources

Signed-off-by: adityashrivastavaa <288670127+adityashrivastavaa@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
staging — 3b99fce4 Deployed Nov 19, 2026 by mintlify[bot]
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.

2 participants