Skip to content

docs: Key Concepts wiki + doc-accuracy corrections & tooling - #491

Merged
nockawa merged 4 commits into
mainfrom
docs/key-concepts
Jul 17, 2026
Merged

nockawa merged 4 commits into
mainfrom
docs/key-concepts

Conversation

@nockawa

@nockawa nockawa commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

A documentation initiative: a cross-linked Key Concepts wiki for doc.typhondb.io, plus the doc-accuracy corrections and tooling that came out of building it. Docs + tooling only — no engine source changes. DocFX build is green (0 link/xref warnings).

What's in it

1. Key Concepts wiki (doc/key-concepts/)

36 concept pages across 6 clusters (Data model → Isolation & durability → Querying & reactivity → Systems & the runtime → Reliability & operations → Engine & storage). Each is a short, fixed-template page — one-liner → how it relates → in the API → learn & use — cross-linked by xref, with the "In the API" section linking types and members to the generated API reference. Replaces the guide's ad-hoc type enumerations. Adds the Isolation & durability cheat sheet and rewires the guide footers to concept links.

2. Doc corrections

  • Storage-mode write-cost ratio corrected to ~6× (the tables implied ~50×) across the feature catalog + cheat sheet, matching the published numbers — the surrounding prose already said ~6×.
  • Snapshot isolation: fixed the "phantom reads possible" claim to "prevents phantoms; permits write skew" (an ADR terminology slip), across feature-set + in-depth-overview.
  • Removed dead claude/-repo links (16 links in 9 files) that 404 on the public site — repointed the 2 with public equivalents, delinked the rest to plain text (keeping the reference names).

3. Telemetry flag reference (generated)

scripts/gen-telemetry-reference.py extracts all ~224 telemetry gate flags from TelemetryConfig.cs and emits a browsable doc page + a copy-paste typhon.telemetry.template.jsonc. Includes a JSONC-loader test locking in that the config loader accepts comments. Follows generate > lint > LLM-judge: the flag list is derived from source, never hand-maintained (a page previously claimed to list the flags but didn't).

4. CI gates + fix

  • build-docs.yml now runs the telemetry freshness gate (gen-telemetry-reference.py --check — regenerate-and-diff) and a broken-link / xref gate (fails on InvalidFileLink | InvalidBookmark | UidNotFound | InvalidXref). Deliberately not --warningsAsErrors: docfx metadata emits two unrelated InvalidAssemblyReference warnings (transitive deps absent from .api-bin) that would fail every run.
  • benchmark/scripts/report_generator.py: sanitize & (and other URL-hostile chars) in generated chart filenames — an unescaped & split the Markdown image link and 404'd the chart on the site. The next benchmark run self-heals latest.md.

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_01E8KzH4pPW5Dq7Y94NXfgrM

nockawa and others added 4 commits July 17, 2026 17:19
…guide wiring

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E8KzH4pPW5Dq7Y94NXfgrM
…ude/ links

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E8KzH4pPW5Dq7Y94NXfgrM
…ONC loader test

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E8KzH4pPW5Dq7Y94NXfgrM
…nchmark chart filenames

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E8KzH4pPW5Dq7Y94NXfgrM
@nockawa
nockawa merged commit 35549d3 into main Jul 17, 2026
13 checks passed
@nockawa
nockawa deleted the docs/key-concepts branch July 17, 2026 17:04
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