Skip to content

docs(v2): Guides cleanup (1/3) - #309

Open
SohamRatnaparkhi wants to merge 12 commits into
mainfrom
t3code/rewrite-docs-declutter
Open

SohamRatnaparkhi wants to merge 12 commits into
mainfrom
t3code/rewrite-docs-declutter

Conversation

@SohamRatnaparkhi

@SohamRatnaparkhi SohamRatnaparkhi commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Removes repetition and jargon from the V2 Guides while keeping the explanations and examples needed to use the product. API Results is in #310; cookbooks are in #311.

  • Keeps the Get Started page structure and concrete examples; replaces inaccurate vector-search and blanket latency claims.
  • Clarifies knowledge, memories, collections, metadata, query defaults, access controls, and response handling. Removes ignored app-source fields and fixes SDK upsert examples.
  • Shortens Concepts and plugin setup, documents the required Claude plugin version, and corrects the agent integration guide.

Validation: Mintlify build and broken-link checks, MDX/frontmatter compilation, documentation hygiene, Python/JSON example parsing, and agent endpoint verification passed. Published SDK signatures and relevant API behavior were checked. External integrations were not exercised against production.

SohamRatnaparkhi and others added 2 commits October 5, 2026 16:58
Rewrite the V2 docs for low cognitive load and correct statements that
disagree with the API on main.

- Cut pitch, metaphors, repeated summaries, and diagrams that restated
  lists. Decision tables become bullets; field, status, and error
  reference tables stay.
- Restore product content an earlier draft dropped: the context graph,
  benchmark numbers, isolation guarantee, connectors, use cases.
- API reference landing page lists every endpoint group, including
  Connectors, Webhooks, Feedback, Subgraph, and Delete Collection.
- Fix verified inaccuracies: per-file metadata lives in document_metadata
  items; memory item metadata is an object; query_apps defaults to true;
  recency_bias defaults to 0.4; max_results caps at 250; operator and/phrase
  require query_by text; graph_context false only applies in fast mode;
  type all reads one scope; envelope exceptions; real error codes.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
Shorten V2 pages without dropping facts: merge repeated sections, collapse
common-mistakes tables that restated warnings, and replace restatements of
other pages with links. Prose is about 23% shorter in the guides and 26%
in the cookbooks than on main.

Also aligns pages with the API on main: 415 is only for bodies that are
neither form nor JSON, dense and sparse metadata lanes are declared at
database creation, document_metadata items do not take a title, and the
SDK page names its envelope exceptions.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
@mintlify

mintlify Bot commented Oct 5, 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 Oct 6, 2026, 9:57 AM

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

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

✅ Mintlify Hygiene

No issues found.

@openhack-agent

openhack-agent Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

✅ OpenHack Summary

Security review of docs(v2): Guides cleanup (1/3). 24 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)
  • essentials/v2/access-control.mdx (modified)
  • essentials/v2/app-sources.mdx (modified)
  • essentials/v2/architecture.mdx (modified)
  • essentials/v2/bring-your-own-graph.mdx (modified)
  • essentials/v2/connector-instructions.mdx (modified)
  • essentials/v2/connectors.mdx (modified)
  • essentials/v2/context-graphs.mdx (modified)
  • essentials/v2/glossary.mdx (modified)
  • essentials/v2/graph-collections-byog.mdx (modified)
  • essentials/v2/knowledge.mdx (modified)
  • essentials/v2/memories.mdx (modified)
  • essentials/v2/metadata.mdx (modified)
  • essentials/v2/multi-tenant.mdx (modified)
  • essentials/v2/query.mdx (modified)
  • essentials/v2/semantic-search.mdx (modified)
  • essentials/v2/webhooks.mdx (modified)
  • get-started/v2/core-concepts.mdx (modified)
  • get-started/v2/introduction.mdx (modified)
  • get-started/v2/quickstart.mdx (modified)
  • plugins/claude-code.mdx (modified)
  • plugins/cli.mdx (modified)
  • plugins/mcp.mdx (modified)
  • plugins/openclaw.mdx (modified)

Last reviewed commit: 68f516f · 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.

@greptile-apps

greptile-apps Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Documentation cleanup and rewording across guides.

The PR appears safe to merge based on the current review.

Summary

The PR streamlines the v2 Guides, corrects API examples and defaults, and clarifies collection scoping and plugin setup.

  • Updates ingestion, metadata, query, access-control, and webhook guidance.
  • Shortens conceptual and onboarding pages while retaining practical examples.

Reviews (11) · Last reviewed commit: "docs(v2): correct claims and examples fo..."

Comment thread cookbooks/v2/internal-search-perplexity.mdx Outdated
Comment thread cookbooks/v2/cookbook-10-ai-financial-analyst.mdx Outdated
Comment thread essentials/v2/webhooks.mdx Outdated
- Internal search cookbook: search() and explain_decision() now fan out
  across the four source collections unless one is named, so the
  cross-source flow reads the content it ingested. TypeScript samples use
  the SDK's camelCase response fields.
- Financial analyst cookbook: earnings and board-memo uploads put per-file
  metadata in document_metadata instead of an extra app_knowledge item.
  Filter fields go in metadata; labels and event_time go in
  additional_metadata, which recency ranking reads. Chunks sort by
  event_time, not upload time.
- Webhooks: signing can be enabled at registration with
  generate_signing_secret or signing_secret, or later on the
  signing-secret endpoint.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
Comment thread cookbooks/v2/internal-search-perplexity.mdx Outdated
/query rejects a listed collection that does not exist, and a collection
is created on its first write. The internal search cookbook now asks
HydraDB which source collections exist (GET /databases/collections) and
searches only those, so a reader who wires up one source can search right
away. Applies to search() and explain_decision() in Python and TypeScript.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
Comment thread cookbooks/v2/internal-search-perplexity.mdx Outdated
The provenance modules import source_collections from the qa module, which
ran its example query at import time. Guard the examples in qa and
provenance (Python and TypeScript) so they run only when the file is
executed directly.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
Comment thread cookbooks/v2/internal-search-perplexity.mdx Outdated
Drop documentation for options the API on main does not act on:

- enable_match / filterable: the v2 filter path never reads the flag, and
  no query matches on user metadata fields with it. Removed from guidance,
  schema field tables, and code samples. A schema field needs only name
  and data_type; filters match declared metadata fields as before.
- Memory item relations: memories[] items have no relations field (the
  value is never read), so the "Connect related memories" section, field
  rows, and sample keys are gone. relations on document_metadata and
  app_knowledge items still work and stay documented.
- Memory item expiry_time: no such field exists; rows removed.

Also drops the stale claim that schema updates create MongoDB filter
indexes, and words vector sync in terms of embedding flags.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
pathToFileURL throws when process.argv[1] is undefined (REPL or node -e),
which would make the qa and provenance modules fail to import. Check the
argument first.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
Review found the rewrite flattened the docs: it cut voice, examples,
tables, diagrams, and context. Every V2 page now starts again from its
original text on main, with only these changes on top:

- Verified factual corrections (defaults, limits, error codes, field
  shapes, envelope and scoping rules, endpoint behavior).
- Code sample bug fixes, including the reviewed cookbook fixes.
- Removals requested in review: enable_match/filterable, memory-item
  relations and expiry_time.
- Missing facts added in the original format (for example the endpoint
  inventory rows for Connectors, Webhooks, Feedback, Subgraph).
- Broken links, anchors, and diagram syntax.
- Punctuation only: dashes and arrows in prose replaced, bold labels end
  with a colon, typos fixed.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
@SohamRatnaparkhi SohamRatnaparkhi changed the title docs(v2): declutter the V2 docs and fix verified inaccuracies docs(v2): fix verified inaccuracies across the V2 docs Oct 5, 2026
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
@SohamRatnaparkhi SohamRatnaparkhi changed the title docs(v2): fix verified inaccuracies across the V2 docs docs(v2): Guides cleanup (1/3) Oct 5, 2026
Read every Guides page line by line and kept what readers use, cut what
repeats or misleads, and fixed statements the code disproves.

- Get Started: sharper Introduction (no "substrate", no overclaims), a real
  mental model in Core Concepts, one Quickstart recap with a correct note on
  which steps poll.
- Usage and Concepts: removed duplicate tables, repeated warnings, and
  copy-pasted examples; fixed knowledge scoping, memory text/pairs rule,
  graph_context guidance, metadata prefilter and schema-update claims,
  field-name rules, and a 500 "safe to retry" contradiction in BYOG.
- Glossary now defines the terms the docs use (source, chunk, app source,
  infer, hybrid, modes, triplet, forceful relations).
- Plugins: MCP collection default, legacy tool names, revocation timing,
  source_id/overwrite, and two missing tools match @hydradb/mcp 1.5.1; CLI
  drops the unreleased query --title; Claude Code uses current env names.
- AGENTS.mdx: mode auto, one-scope rule for type all, metadata guide fixes.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
Comment thread plugins/claude-code.mdx
Plugin 1.1.0 reads HYDRADB_DATABASE and HYDRADB_COLLECTION, with the old
names as deprecated aliases. Say so, so users on older installs know why
the new names are not picked up.

Refs PRO-2457

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>
Signed-off-by: SohamRatnaparkhi <soham@hydradb.com>

This branch was successfully deployed

1 active deployment
staging — 68f516f3 Deployed Oct 6, 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.

1 participant