Neon Law
  • Fractional CTO
  • Litigation
  • Fractional GC
  • Legal Services
  • Sign in
← Contributing to Neon Law Navigator

Improve the Corpus

Chapter 2 of 5 · Section 5 of 11

Sections

1. Intro

  • 1. Five ways to contribute

2. Improve the Corpus

  • 2. Contribute to the product repository
  • 3. View content images locally
  • 4. Ship through GitOps
  • 5. Work with the store
  • 6. Add a fillable government PDF

3. Share What You Learn

  • 7. Tell us what you learned
  • 8. Join a show-and-tell
  • 9. Join a presentation

4. Put It to Work

  • 10. Use Neon Law Navigator

5. Wrap Up

  • 11. Why this matters

Work with the store

SurrealDB holds every table. dev up writes its whole connection contract into .devx/env, and nothing defaults: a process that is not configured fails loudly instead of quietly connecting to the wrong store.

  • Connection: NAVIGATOR_SURREAL_ENDPOINT, _NAMESPACE, _DATABASE.
  • Schema: one idempotent DEFINE file, applied whole on every boot.
  • Tests: an embedded engine per test — no container, no port, nothing to reclaim.

Presenter notes

The shape worth internalizing is that the schema is a statement of the present, not a history. store/src/schema/navigator.surql is one file of DEFINE statements describing the tables that should exist, applied whole on every boot. You change it by editing the file, not by appending a step to a chain — and because applying a file converges definitions but cannot perform a data change, you bump SCHEMA_VERSION in the same commit so a database prepared by a different build reports as drifted instead of silently disagreeing. The local engine is memory-backed, so its rows reset when the pod restarts and the schema re-applies at boot. That is deliberate, not a rough edge.

Tests need no database at all. store::test_support::mem_surreal() starts an engine inside the test process with the schema applied, so there is no container, no port, and nothing to reclaim afterwards. Reach for store::surreal::record_id whenever you turn a Uuid into a record id — SurrealDB will accept a string that merely looks like a UUID, and a link written that way resolves to nothing without ever raising an error.

View all slidesOpen display
← PreviousNext →
Neon Law
BlogContactFoundationNavigatorPresentationsWorkshops
Contact us — contact@neonlaw.com+1 510 800 2080
  • Nevada
    5150 Mae Anne AveSte 405-9002Reno, NV 89523
  • New York
    12 E 49th St18th FloorNew York, NY 10017
  • Washington
    720 Seneca StSte 107-715Seattle, WA 98101

© 2026 Shook Law PLLC and Neon Law Foundation

This is attorney advertisement. Nothing on this site is legal advice. Neon Law is the trade name of Shook Law PLLC, and an attorney-client relationship begins only with a signed retainer between you and Shook Law PLLC. Published flat fees cover the scope each one names and do not include third-party filing fees. Every legal matter is different, and past results do not guarantee a similar result.

Shook Law PLLC is a proud supporter of the Neon Law Foundation , a 501(c)(3) nonprofit.

Neon Law Foundation is a Nevada nonprofit corporation and a 501(c)(3) tax-exempt organization. It does not practice law and cannot represent you.

Nothing on this site is legal advice, and nothing here creates an attorney-client relationship.

5150 Mae Anne Ave Ste 405-9999, Reno, NV 89523
support@neonlaw.orgTransparency & public disclosures

Powered by Neon Law Navigator #26.8.20-hotfix.4

Open source — neon-law-foundation/navigator GitHub stars 2