Skip to content

docs: add content placement and anti-bloat guardrails to docs/AGENTS.md - #222

Merged
prrao87 merged 1 commit into
mainfrom
docs/phase-4-agents-doc-guardrails
Nov 27, 2026
Merged

prrao87 merged 1 commit into
mainfrom
docs/phase-4-agents-doc-guardrails

Conversation

@prrao87

@prrao87 prrao87 commented Nov 27, 2026

Copy link
Copy Markdown
Member

Summary

Phase 4 (final phase) of the docs readability overhaul: adds explicit content placement and anti-bloat guardrails to docs/AGENTS.md so future PRs keep the Zensical site readable for humans while retaining the technical depth agents and power users rely on.

Problem and why it matters

Phases 1–3 cleaned up the accumulated PR-by-PR bloat across the site, split running-queries.md from cypher.md, organized the sidebar, and aligned style and terminology. Without explicit placement rules in docs/AGENTS.md, future incremental PRs can easily re-introduce the same accretion patterns (leaking operator internals into user guides, appending changelog-style paragraphs onto existing sections, or repeating edge cases across multiple pages).

Change

  • Added a Where new content belongs layering table to docs/AGENTS.md defining what goes into:
    1. Guide narrative flow vs. cypher.md,
    2. Collapsible ??? note / ??? info blocks for exhaustive edge cases and third-party caveats,
    3. docs/internals/ for operator mechanics, adaptive thresholds, optimizer eligibility rules, and internal struct fields,
    4. Python docstrings, TypeScript TSDoc (nodejs/typedoc/api.md), and Rust doc comments for exact API signatures.
  • Added anti-accretion guidelines covering integrating edits into existing sections (rather than appending), avoiding changelog prose and repeated provenance notes, respecting page boundaries (running-queries.md vs. cypher.md vs. lance.md), keeping the sidebar scannable with nested collapsible directories, and using "hybrid graph and vector RAG" terminology.
  • Updated the opening overview of docs/AGENTS.md to reference typescript.md and running-queries.md alongside explain_plans.py.

Validation

Documentation guidelines change only; no engine code or benchmarks changed.

  • uv run --project docs --locked zensical build --strict — passed (No issues found)
  • uvx typos@1.52.0 . — passed with zero issues

User impact

None (documentation authoring guidelines only).

@prrao87
prrao87 merged commit 42bdb59 into main Nov 27, 2026
3 checks passed
@prrao87
prrao87 deleted the docs/phase-4-agents-doc-guardrails branch November 27, 2026 22:12
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