Neon Law
  • Services
  • Book Consultation opens in a new tab
  • Sign in

← Contributing to Neon Law Navigator

Improve the Corpus

Chapter 2 of 5 · Section 6 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. Publish presentation images
  • 5. Ship through GitOps
  • 6. Work with the store
  • 7. Add a fillable government PDF

3. Share What You Learn

  • 8. Tell us what you learned
  • 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
  • X opens in a new tab
  • LinkedIn opens in a new tab
  • YouTube opens in a new tab
  • API opens in a new tab
  • Blog opens in a new tab
  • Contact
  • Glossary opens in a new tab
  • Navigator opens in a new tab
  • Notations opens in a new tab
  • Presentations opens in a new tab
  • Privacy opens in a new tab
  • Team opens in a new tab
  • Terms opens in a new tab
  • Testimonials
  • UX opens in a new tab
  • 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
  • Justice Technology AssociationMission-Aligned Partner opens in a new tab

Attorney advertisement. Nothing here is legal advice without a signed retainer for an active project. Past results do not guarantee future outcomes.

© 2026 Shook Law PLLC

NEON LAW® is a registered trademark of Shook Law PLLC, U.S. Reg. No. 6,325,650 opens in a new tab

Powered by Neon Law Navigator 26.10.4

Everyone deserves to be seen. Made with ❤️ in 🗽.