Skip to content

Commit 8b85391

Browse files
committed
docs(affirmation): nextgen-databases AFFIRMATION (real gate sweep) + scoped table
No-Bullshit attestation at 2ae2a2c: research-overview monorepo aggregating nqc (Gleam), verisim-core (Julia = the VerisimCore categorical layer), verisimdb, lithoglyph, typeql-experimental, quandledb (~120 .rs + Julia + Gleam). MUST/TRUST pass. Honest debt loud: 19 placeholder + 17 rsr-template-repo refs; in-flight ReScript/TS->AffineScript/Rust migration PLAN (not done); NO sub-project built/tested (julia/gleam/deno absent). Scoped table + confirmed VerisimCore stack placement (krl->tangle->VerisimCore->Skein/QuandleDB). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017TXizM5c1Yd9HWf7Y15YH2
1 parent 2ae2a2c commit 8b85391

2 files changed

Lines changed: 208 additions & 0 deletions

File tree

docs/AFFIRMATION.adoc

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
// SPDX-License-Identifier: CC-BY-SA-4.0
2+
// SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
= AFFIRMATION — nextgen-databases, as of 2026-06-19
4+
:toc: macro
5+
:toclevels: 2
6+
7+
_the No-Bullshit file: what we affirm was true and checkable at this moment_
8+
9+
[NOTE]
10+
====
11+
*Genre.* An *affirmation* is a solemn declaration of the truth of a statement,
12+
made by someone who _declines to swear an oath_ — our truth-as-best-believed at
13+
a stamped instant, binding on our honesty, not a claim of infallibility. It is
14+
not the README (where this is going) and not the EXPLAINME (how it is built);
15+
it is _what can we honestly affirm was true and checkable at a stamped moment_.
16+
Every repo in the estate carries one, per the 2026-06-19 estate rule.
17+
====
18+
19+
toc::[]
20+
21+
== What this is, and how it works
22+
23+
A short, dated, jointly-signed snapshot of what we can _honestly and verifiably_
24+
claim about the nextgen-databases repo at one exact commit. *Ground truth, not
25+
memory:* the gate results below were produced by running the checks this session.
26+
*Material caveat:* this is a *research-overview monorepo* aggregating several
27+
sub-projects, and *none of their build/test toolchains were runnable this session*
28+
(`just`, `deno`, `julia`, `gleam` are absent; only `git`, `Agda`, `rustc` present)
29+
— so this affirms *structure and gate-state*, not a built/tested estate. *No
30+
intentional overclaim;* the owner's signed commit is the authoritative form (the
31+
AI party cannot GPG-sign).
32+
33+
== Verifiable anchor
34+
35+
[cols="1,3"]
36+
|===
37+
| *Repo* | `hyperpolymath/nextgen-databases` — research-overview monorepo for the next-gen database / query / identity layer
38+
| *Branch* | `claude/practical-newton-9eFe2` (feature branch; not anchored to `main`)
39+
| *Commit (HEAD)* | `2ae2a2c8cc184de9b54527da0702d4b1ae75321e`
40+
| *Permalink* | https://github.com/hyperpolymath/nextgen-databases/tree/2ae2a2c8cc184de9b54527da0702d4b1ae75321e
41+
| *Verified* | 2026-06-19 (checks run this session; date, not a claimed UTC instant)
42+
| *Working-tree delta* | Clean except this untracked `AFFIRMATION.adoc`. HEAD carries one commit ahead of `main` — the unmerged migration-plan doc (`…/RESCRIPT-TS-AFFINESCRIPT-MIGRATION.adoc`, +49).
43+
| *Toolchain (present)* | `git`, `Agda 2.6.3`, `rustc`. *Absent:* `just`, `deno`, `julia`, `gleam`, OCaml.
44+
| *Run method* | `contractile`/RSR gate bodies as bash. *No sub-project built or tested* (toolchains absent).
45+
| *HEAD signature* | Not signed by the AI party; the maintainer's signed commit is authoritative.
46+
|===
47+
48+
== Companion documents (cross-check)
49+
50+
* *`README.adoc`* — `= Next-Generation Databases — Research Overview` (real).
51+
* *`EXPLAINME.adoc`* — `= Next-Gen Databases — Show Me The Receipts` (real).
52+
* *Template residue (loud)* — *19 files* with `{{PLACEHOLDER}}` tokens and *17
53+
files* referencing `rsr-template-repo`. Substantial instantiation debt.
54+
* *GitHub description / topics* — not fetched this session.
55+
56+
== The honest state (one breath)
57+
58+
nextgen-databases is a *research-overview monorepo* that aggregates the estate's
59+
database / query / identity sub-projects — `nqc/` (a Gleam query-calculus
60+
project), *`verisim-core/`* (a Julia package — the VerisimCore *categorical
61+
abstraction* layer of the stack), `verisimdb/`, `verisim-modular-experiment/`,
62+
`lithoglyph/`, `typeql-experimental/`, and a `quandledb/` copy — with real code
63+
(~120 Rust files plus Julia + Gleam). The `MUST`/`TRUST` gates pass, but the repo
64+
carries *heavy template residue* and an *in-flight migration* (ReScript/TS/npm →
65+
AffineScript/Rust/Deno). It is honestly a *research-stage aggregator*, not a
66+
shipped, built-and-tested product.
67+
68+
== What is solid (and how we checked)
69+
70+
* *MUST/TRUST-style checks — PASS.* Run as bash: LICENSE present; no banned
71+
`Dockerfile`/`Makefile`; LICENSE carries an SPDX/MPL identifier; no `.env` /
72+
`credentials.json`. (SPDX header scan: 1 unheadered file in the sampled set —
73+
a near-pass, flagged.)
74+
* *Real sub-project content.* `verisim-core/` is a structured Julia package
75+
(`Project.toml`, `src/`, `test/`); `nqc/` is a Gleam project (`gleam.toml`,
76+
`ffi/`, launchers); ~120 `.rs` files across the tree. This is genuine WIP
77+
engineering, not template filler.
78+
79+
== Known-incomplete but honestly fenced (loud, never silent)
80+
81+
* *Heavy template residue.* 19 `{{PLACEHOLDER}}` files + 17 `rsr-template-repo`
82+
references remain — the largest instantiation debt in the estate so far.
83+
* *In-flight migration.* The HEAD commit adds a *plan* to migrate ReScript/TS/npm
84+
→ AffineScript/Rust/Deno; the migration itself is *not done*.
85+
* *No single READINESS / proof grade.* As an aggregator it has `PROOF-NEEDS.md`
86+
but no top-level readiness grade; per-sub-project maturity varies.
87+
88+
== Outstanding / not-run (no spin)
89+
90+
* *No sub-project was built or tested this session.* `julia` (verisim-core),
91+
`gleam` (nqc), `deno` are absent. We affirm the sub-projects *exist and are
92+
structured*; we do *not* affirm they build or pass tests from this session.
93+
In-environment `julia … Pkg.test()` / `gleam test` are the authoritative checks.
94+
95+
== Reproduce it yourself
96+
97+
[source,bash]
98+
----
99+
git rev-parse HEAD # expect 2ae2a2c8cc184de9b54527da0702d4b1ae75321e
100+
test -f LICENSE; test ! -f Dockerfile -a ! -f Makefile; grep -q 'SPDX\|MPL' LICENSE
101+
grep -rl '{{'{{'}}[A-Z_]*{{'}}'}}' --include='*.adoc' --include='*.md' . | grep -v PLACEHOLDERS | wc -l # ~19
102+
grep -rl 'rsr-template-repo' . | grep -v '.git/' | wc -l # ~17
103+
ls verisim-core/ nqc/ # real sub-projects
104+
# NOT runnable without toolchains: ( cd verisim-core && julia --project=. -e 'using Pkg; Pkg.test()' )
105+
----
106+
107+
== One-line characterisation (quote this)
108+
109+
"nextgen-databases is a research-overview monorepo aggregating the estate's
110+
database/query/identity sub-projects — `nqc` (Gleam), `verisim-core` (Julia, the
111+
VerisimCore categorical layer), `verisimdb`, `lithoglyph`, `typeql-experimental`,
112+
`quandledb` — with real code (~120 Rust + Julia + Gleam). `MUST`/`TRUST` gates
113+
pass, but it carries heavy template residue (19 placeholder files, 17
114+
`rsr-template-repo` refs) and an in-flight ReScript/TS → AffineScript/Rust
115+
migration plan; *no* sub-project was built or tested this session (julia/gleam/
116+
deno absent). A research-stage aggregator, honestly fenced. No intentional
117+
overclaim."
118+
119+
== Key concern + cross-repo wiring
120+
121+
nextgen-databases's *key concern* is being the *research-overview + incubator*
122+
for the database/query/identity layer — and it is the *home of `verisim-core/`*,
123+
the VerisimCore categorical-abstraction layer whose stack placement was
124+
maintainer-confirmed 2026-06-19: *krl → tangle/TangleIR → VerisimCore → Skein.jl /
125+
quandledb*. Per the estate rule it carries its own scope table at
126+
`docs/identity-fabric/musts-intends-wishes.adoc`. Adjacent: *quandledb* /
127+
*Skein.jl* (the shipped storage + engine faces), *tangle* (TangleIR), *krl*
128+
(surface DSL), *echo-types* (structured-loss theory).
129+
130+
== Joint attestation
131+
132+
To the best of our joint belief at the timestamp above, every claim here is true
133+
and was checked as described — with the un-built sub-projects and the template
134+
debt stated rather than hidden.
135+
136+
* *Engineering party (AI):* ran the gate/RSR checks recorded here as bash on
137+
2026-06-19; did *not* build or test any sub-project (toolchains absent).
138+
* *Owner / maintainer:* Jonathan D.A. Jewell — signs by committing this file with
139+
`-S`; the signed commit at the SHA above is authoritative.
140+
* *Signed-off-date:* (fill on signing)
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
= nextgen-databases — Normative Scope (Must / Intend / Wish)
4+
:toc: preamble
5+
:revdate: 2026-06-19
6+
7+
[abstract]
8+
Per-repo normative-scope record for nextgen-databases (the research-overview +
9+
incubator monorepo for the database / query / identity layer, and the home of
10+
`verisim-core/`). Estate rule (2026-06-19): every repo carries its own scoped
11+
table; crossover content is duplicated and marked until resolved, then wired into
12+
the other relevant repos. `◇` marks proposals not yet canonical.
13+
14+
== Confirmed stack placement (2026-06-19)
15+
16+
[literal]
17+
krl (surface DSL) → tangle (TangleIR + type-safe core) → VerisimCore (categorical
18+
abstraction — incubated here as verisim-core/) → Skein.jl / quandledb (storage +
19+
equivalence)
20+
21+
== Levels
22+
23+
* *MUST* — required to be what it is (RFC 2119 normative).
24+
* *INTEND* — committed direction.
25+
* *WISH* — aspirational.
26+
27+
== nextgen-databases (own)
28+
29+
[cols="1,5", options="header"]
30+
|===
31+
| Level | nextgen-databases
32+
33+
| *MUST*
34+
| Be the *research-overview + incubator* for the database/query/identity layer;
35+
honestly host its sub-projects (`nqc` Gleam query-calculus; *`verisim-core`* —
36+
the VerisimCore categorical layer, in Julia; `verisimdb`; `lithoglyph`;
37+
`typeql-experimental`; a `quandledb` copy) with their own provenance; estate
38+
governance — LICENSE/REUSE, SPDX headers, no banned files; honest KRL-stack
39+
grounding (no op↔component category error).
40+
41+
| *INTEND*
42+
| *Pay down the template debt* (the live debt per `AFFIRMATION.adoc`: 19
43+
`{{PLACEHOLDER}}` files + 17 `rsr-template-repo` references); execute the
44+
*ReScript/TS/npm → AffineScript/Rust/Deno migration* now planned in
45+
`RESCRIPT-TS-AFFINESCRIPT-MIGRATION.adoc`; mature `verisim-core` toward the
46+
shippable VerisimCore layer; graduate stabilised sub-projects into their own
47+
repos; give the aggregate a real readiness story.
48+
49+
| *WISH*
50+
| A coherent next-gen query surface (the `nqc` calculus) over the VerisimCore +
51+
Skein/QuandleDB substrate ◇; VerisimDB as a self-hostable identity-state store
52+
◇; a clean separation of incubated experiments from shipped components.
53+
|===
54+
55+
== Cross-repo wiring
56+
57+
nextgen-databases is the *incubator* — most notably the home of `verisim-core/`,
58+
the VerisimCore categorical-abstraction layer that sits (maintainer-confirmed
59+
2026-06-19) between TangleIR and the storage/equivalence faces. The shipped faces
60+
of that layer live in their own repos: *Skein.jl* (engine), *quandledb*
61+
(persistence + equivalence). The load-bearing shared invariant is
62+
*equivalence-integrity* (the `a = a` idem core).
63+
64+
Sibling repos' key concerns (keep in sync as crossover resolves): *krl* — the
65+
resolution DSL surface; *tangle* — TangleIR + type-safe core; *quandledb* —
66+
equivalence / identity face; *Skein.jl* — computational engine; *echo-types* —
67+
structured-loss theory + the identity-fabric framing (Conway·Fichte / Bruner /
68+
Ricoeur). See `../AFFIRMATION.adoc`.

0 commit comments

Comments
 (0)