Skip to content

Commit 3396542

Browse files
hyperpolymathclaude
andcommitted
chore(rename): VQL → VCL + VQL-dt++ → VCL-UT estate-wide
VQL (old name) is now VCL (VeriSim Consonance Language) everywhere. The type-theoretic extension VQL-dt++ is now VCL-UT (matching the .vclut file extension already in use). Changed: - nqc/spec/SPEC.core.scm: profile id vql→vcl, path /vql/→/vcl/, docs - nqc/ffi/zig/src/main.zig: DatabaseId enum .vql→.vcl, execute path - nqc/web/nqc-web.desktop: Keywords vql→vcl - typeql-experimental/typeql-experimental.ipkg: brief updated - typeql-experimental/ffi/zig/src/bridge.zig: comment updated - typeql-experimental/examples/*.vclut: VQL-dt++→VCL-UT, VQL base→VCL base - verisimdb/.github/CODEOWNERS: /src/vql/→/src/vcl/ - PROOF-NEEDS.md: V2/V3 labels updated Note: nqc/web/src/Database.res.mjs is a generated build artifact; the source Database.res already uses VCL — regenerate to sync. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 850c869 commit 3396542

15 files changed

Lines changed: 31 additions & 31 deletions

PROOF-NEEDS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
| # | Component | Prover | Notes |
1616
|---|-----------|--------|-------|
1717
| V1 | Octad coherence invariant | I2 | 8 modalities mutually consistent post-operation |
18-
| V2 | VQL type inference soundness | Cq/L4 | Bidirectional inference correct |
19-
| **V3** | **VQL subtyping transitivity + decidability** | **L4** | **DONE 2026-04-11**`verisimdb/verification/proofs/lean4/VCLSubtyping.lean` |
18+
| V2 | VCL type inference soundness | Cq/L4 | Bidirectional inference correct |
19+
| **V3** | **VCL subtyping transitivity + decidability** | **L4** | **DONE 2026-04-11**`verisimdb/verification/proofs/lean4/VCLSubtyping.lean` |
2020
| **V4** | **Raft consensus safety** | **L4** | **DONE 2026-04-11**`verisimdb/verification/proofs/lean4/RaftSafety.lean` (single-node; distributed in TLA+) |
2121
| V5 | Transaction atomicity | TLA | All-or-nothing across 8 modalities |
2222

nqc/ffi/zig/src/main.zig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ pub fn formatToString(fmt: OutputFormat) []const u8 {
5959

6060
/// Known database backend identifiers, matching Layout.idr tag values.
6161
pub const DatabaseId = enum(u8) {
62-
vql = 0,
62+
vcl = 0,
6363
gql = 1,
6464
kql = 2,
6565
};
6666

6767
/// Default port for each database.
6868
pub fn defaultPort(db: DatabaseId) u16 {
6969
return switch (db) {
70-
.vql => 8080,
70+
.vcl => 8080,
7171
.gql => 8081,
7272
.kql => 8082,
7373
};
@@ -76,7 +76,7 @@ pub fn defaultPort(db: DatabaseId) u16 {
7676
/// Execute path for each database.
7777
pub fn executePath(db: DatabaseId) []const u8 {
7878
return switch (db) {
79-
.vql => "/vql/execute",
79+
.vcl => "/vcl/execute",
8080
.gql => "/gql/execute",
8181
.kql => "/kql/execute",
8282
};
@@ -310,13 +310,13 @@ test "formatToString roundtrips" {
310310
}
311311

312312
test "defaultPort values" {
313-
try std.testing.expectEqual(@as(u16, 8080), defaultPort(.vql));
313+
try std.testing.expectEqual(@as(u16, 8080), defaultPort(.vcl));
314314
try std.testing.expectEqual(@as(u16, 8081), defaultPort(.gql));
315315
try std.testing.expectEqual(@as(u16, 8082), defaultPort(.kql));
316316
}
317317

318318
test "executePath values" {
319-
try std.testing.expectEqualStrings("/vql/execute", executePath(.vql));
319+
try std.testing.expectEqualStrings("/vcl/execute", executePath(.vcl));
320320
try std.testing.expectEqualStrings("/gql/execute", executePath(.gql));
321321
try std.testing.expectEqualStrings("/kql/execute", executePath(.kql));
322322
}

nqc/spec/SPEC.core.scm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
(type DatabaseProfile
5353
(doc "Everything NQC needs to know about a database backend.")
5454
(fields
55-
(id String (doc "Short identifier, e.g. 'vql'. Must be unique."))
55+
(id String (doc "Short identifier, e.g. 'vcl'. Must be unique."))
5656
(display-name String (doc "Human-readable name, e.g. 'VeriSimDB'."))
57-
(language-name String (doc "Query language name, e.g. 'VQL'."))
57+
(language-name String (doc "Query language name, e.g. 'VCL'."))
5858
(description String (doc "Short description for menus."))
5959
(aliases (List String) (doc "Alternative names for lookup."))
6060
(default-host String (doc "Default server hostname."))
@@ -179,13 +179,13 @@
179179
;; --- Built-in profiles ---
180180

181181
(builtin-profiles
182-
(profile vql
182+
(profile vcl
183183
(display-name "VeriSimDB")
184-
(language-name "VQL")
184+
(language-name "VCL")
185185
(description "6-core multimodal database with self-normalization")
186186
(aliases "verisimdb" "verisim")
187187
(default-port 8080)
188-
(execute-path "/vql/execute")
188+
(execute-path "/vcl/execute")
189189
(supports-dt #t))
190190

191191
(profile gql
@@ -254,7 +254,7 @@
254254
(format table
255255
(doc "ASCII table with auto-detected columns.")
256256
(algorithm
257-
(step 1 "Extract 'data' field if present (VQL response shape),"
257+
(step 1 "Extract 'data' field if present (VCL response shape),"
258258
"otherwise use raw value.")
259259
(step 2 "Coerce to list. If not a list, format as single object"
260260
"or fall back to JSON.")

nqc/web/nqc-web.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ Exec=bash -c 'cd /var$REPOS_DIR/nextgen-databases/nqc/web && bash nqc-launcher.s
1212
Terminal=true
1313
Icon=utilities-terminal
1414
Categories=Development;Database;
15-
Keywords=database;query;vql;gql;kql;verisimdb;lithoglyph;quandledb;
15+
Keywords=database;query;vcl;gql;kql;verisimdb;lithoglyph;quandledb;
1616
StartupNotify=true

typeql-experimental/examples/01-linear-connection.vclut

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- VQL-dt++ Example 01: Linear Connection (CONSUME AFTER N USE)
1+
-- VCL-UT Example 01: Linear Connection (CONSUME AFTER N USE)
22
-- SPDX-License-Identifier: PMPL-1.0-or-later
33
--
44
-- This example demonstrates resource-counted connections via linear types.

typeql-experimental/examples/02-session-protocol.vclut

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- VQL-dt++ Example 02: Session Protocol (WITH SESSION)
1+
-- VCL-UT Example 02: Session Protocol (WITH SESSION)
22
-- SPDX-License-Identifier: PMPL-1.0-or-later
33
--
44
-- This example demonstrates session type protocols. The WITH SESSION clause

typeql-experimental/examples/03-effect-tracking.vclut

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- VQL-dt++ Example 03: Effect Tracking (EFFECTS { ... })
1+
-- VCL-UT Example 03: Effect Tracking (EFFECTS { ... })
22
-- SPDX-License-Identifier: PMPL-1.0-or-later
33
--
44
-- This example demonstrates declarative effect tracking. The EFFECTS clause

typeql-experimental/examples/04-modal-scoping.vclut

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- VQL-dt++ Example 04: Modal Scoping (IN TRANSACTION)
1+
-- VCL-UT Example 04: Modal Scoping (IN TRANSACTION)
22
-- SPDX-License-Identifier: PMPL-1.0-or-later
33
--
44
-- This example demonstrates world-indexed access scoping via modal types.

typeql-experimental/examples/05-proof-attachment.vclut

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
-- VQL-dt++ Example 05: Proof Attachment (PROOF ATTACHED)
1+
-- VCL-UT Example 05: Proof Attachment (PROOF ATTACHED)
22
-- SPDX-License-Identifier: PMPL-1.0-or-later
33
--
44
-- This example demonstrates proof-carrying code. The PROOF ATTACHED clause
55
-- attaches a formal theorem to the query result. The result type becomes a
66
-- sigma pair: (result, proof) where the proof certifies a property.
77
--
8-
-- This is DIFFERENT from VQL's existing PROOF clause:
9-
-- PROOF EXISTENCE(...) — pre-condition verification (VQL base)
10-
-- PROOF ATTACHED theorem — post-condition proof attachment (VQL-dt++)
8+
-- This is DIFFERENT from VCL's existing PROOF clause:
9+
-- PROOF EXISTENCE(...) — pre-condition verification (VCL base)
10+
-- PROOF ATTACHED theorem — post-condition proof attachment (VCL-UT)
1111
--
1212
-- Available theorems:
1313
-- IntegrityTheorem — result data has not been tampered with

typeql-experimental/examples/06-usage-limit.vclut

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
-- VQL-dt++ Example 06: Usage Limit (USAGE LIMIT)
1+
-- VCL-UT Example 06: Usage Limit (USAGE LIMIT)
22
-- SPDX-License-Identifier: PMPL-1.0-or-later
33
--
44
-- This example demonstrates quantitative type theory for resource budgeting.
55
-- The USAGE LIMIT clause caps the total resource consumption across the
66
-- entire query plan — connections, API calls, compute units, etc.
77
--
8-
-- This is DIFFERENT from VQL's LIMIT clause:
9-
-- LIMIT 50 — caps result row count (VQL base)
10-
-- USAGE LIMIT 100 — caps resource consumption (VQL-dt++)
8+
-- This is DIFFERENT from VCL's LIMIT clause:
9+
-- LIMIT 50 — caps result row count (VCL base)
10+
-- USAGE LIMIT 100 — caps resource consumption (VCL-UT)
1111
--
1212
-- The type system tracks consumption through the query plan and rejects
1313
-- plans that exceed the budget.

0 commit comments

Comments
 (0)