Skip to content

Migrate user-facing docs to the eql_v3#317

Merged
tobyhede merged 17 commits into
eql_v3from
migrate-docs-to-eql-v3
Jun 23, 2026
Merged

Migrate user-facing docs to the eql_v3#317
tobyhede merged 17 commits into
eql_v3from
migrate-docs-to-eql-v3

Conversation

@tobyhede

Copy link
Copy Markdown
Contributor

Re-authors the user-facing documentation onto the self-contained eql_v3 surface, following the eql_v2 removal (#315, which this stacks on). Deferred from #315 to keep that PR scoped to the SQL/build changes.

What changed

  • README — re-authored the entry point (components, permissions, getting started, versioning) onto eql_v3; the Versioning section now shows SELECT eql_v3.version().
  • docs/reference/eql-functions.md — dropped the removed eql_v2 config/extractor/helper sections; re-authored operators around the eql_v3 surface (−756 lines).
  • docs/reference/database-indexes.md — re-authored onto eql_v3 functional indexes; absorbed durable performance guidance; dropped the operator-class recipe.
  • docs/reference/sql-support.md — capability matrix re-authored onto eql_v3 domain variants and eql_v3.json.
  • docs/reference/json-support.md — re-authored onto the eql_v3.json SteVec document type.
  • docs/reference/query-performance.md — reduced to a pointer into database-indexes.md.
  • docs/reference/index-config.md — removed (db-side config is gone); links repointed to client-side config.
  • docs/tutorials/proxy-configuration.md — re-authored onto eql_v3 columns and the client-side config round-trip.
  • docs/development/* — light cleanup of v3 reference/dev examples; deleted the obsolete documentation-inventory.md.
  • docker/README.md — repointed the intro prose and the version example onto eql_v3.

Guardrail

Adds tasks/test/docs_v3_grep.sh — a CI gate that fails if any Tier-1 user-facing doc still references eql_v2. The ADR and the historical v2.3 upgrade guide are deliberately exempt (their eql_v2 references are correct).

Notes

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4e561c97-8c9e-482c-b71a-fdbdd9863813

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch migrate-docs-to-eql-v3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Base automatically changed from remove-eql-v2 to eql_v3 June 23, 2026 00:53
tobyhede added 16 commits June 23, 2026 10:58
…b durable performance guidance; drop operator-class recipe
…ts, permissions, getting started, versioning)
The doc migration predated the version() port, so version() was documented
nowhere and docker/README still referenced the removed eql_v2 surface.

- README.md: add a 'SELECT eql_v3.version()' check to the Versioning section.
- docker/README.md: repoint the intro prose ('eql_v2 schema') and the version
  example onto eql_v3 (the file was missed by the migration).
- docs_v3_grep.sh: add docker/README.md to the Tier-1 gate so it stays
  eql_v2-free.

eql_v3.version() ships from the remove-eql-v2 branch.
…urface

Replace the removed eql_v2 architecture (eql_v2_encrypted composite, config
table, old src/ layout, db-side index config) with the v3 model: per-scalar
eql_v3.<T> domains, the catalog/codegen build, functional indexes on extractors,
and client-side configuration.
…md links

- json-support: fix ste_vec ORE leaf term key ocv/ocf -> oc (matches src/v3/jsonb)
- releasing-an-alpha: correct artifact model to the two real release artifacts
  (cipherstash-encrypt.sql is the self-contained eql_v3 surface) + docs bundle
- sql-documentation-templates: drop dead @see add_search_config; AS [base_type]
  -> AS jsonb (no domain-over-domain footgun)
- repoint inbound PAYLOAD.md links (docs index, eql-functions, proxy-configuration)
  to crates/eql-types (canonical wire types) + json-support.md
- WHY: markdown spacing fix
@tobyhede tobyhede force-pushed the migrate-docs-to-eql-v3 branch from 9147054 to 7ecd15d Compare June 23, 2026 01:41
@tobyhede tobyhede changed the title Migrate user-facing docs to the eql_v3 surface Migrate user-facing docs to the eql_v3 Jun 23, 2026
…ng docs

Correct the remaining "eql_v2 coexists / is the unchanged public API" framing
to match reality: eql_v2 was removed in 3.0.0 and eql_v3 is the sole shipped
surface.

- DEVELOPMENT.md: replace the coexistence "Schemas" section with an accurate
  "The eql_v3 surface" section (v2 removed, fork-provenance/historical mentions
  flagged as deliberate); fix TOC anchor.
- CLAUDE.md: fix the Schema bullet and Versioning paragraph that still asserted
  eql_v2 coexists/unchanged.
- SUPABASE.md: reword the two remaining v2 callouts to teach the v3 way with no
  v2 references (a separate v2->v3 migration guide can come later).
- docs/development/reference-sync-rules.md: update stale eql_v2 examples to
  verified v3 symbols (eql_v3.ciphertext, eql_v3.eq_term).

Remove obsolete/invented artifacts and dead v2 fixtures:
- delete docs/decisions/0001-remove-eql-v2.md and
  docs/plans/add-doxygen-sql-comments-plan.md; strip the 3 dangling ADR links
  from CHANGELOG (entries already explain the why inline).
- delete tests/ORE_FIXTURES.md (documented the removed v2 proxy fixture flow;
  v3 ORE coverage is subsumed by catalog-generated scalar fixtures) and the
  orphaned tests/ore.sql / tests/ore_text.sql data files (loaded by nothing).

Guard: refactor tasks/test/docs_v3_grep.sh from a hand-maintained allowlist to
scan-all-with-exclusions over git-tracked docs (new reference/tutorial/concept
pages covered automatically; untracked scratch ignored), and wire it into the
docs-static CI job (runs on every PR, already in ci-required).
@tobyhede tobyhede merged commit cf69eba into eql_v3 Jun 23, 2026
18 checks passed
@tobyhede tobyhede deleted the migrate-docs-to-eql-v3 branch June 23, 2026 02:30
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