|
1 | | -;; SPDX-License-Identifier: PMPL-1.0-or-later |
2 | | -;; STATE.scm - Project state for rsr-template-repo |
3 | | -;; Media-Type: application/vnd.state+scm |
4 | | - |
5 | | -(state |
6 | | - (metadata |
7 | | - (version "0.0.1") |
8 | | - (schema-version "1.0") |
9 | | - (created "2026-01-03") |
10 | | - (updated "2026-01-03") |
11 | | - (project "rsr-template-repo") |
12 | | - (repo "github.com/hyperpolymath/rsr-template-repo")) |
13 | | - |
14 | | - (project-context |
15 | | - (name "rsr-template-repo") |
16 | | - (tagline "") |
17 | | - (tech-stack ())) |
18 | | - |
19 | | - (current-position |
20 | | - (phase "initial") |
21 | | - (overall-completion 0) |
22 | | - (components ()) |
23 | | - (working-features ())) |
24 | | - |
25 | | - (route-to-mvp |
26 | | - (milestones ())) |
27 | | - |
28 | | - (blockers-and-issues |
29 | | - (critical) |
30 | | - (high) |
31 | | - (medium) |
32 | | - (low)) |
33 | | - |
34 | | - (critical-next-actions |
35 | | - (immediate) |
36 | | - (this-week) |
37 | | - (this-month)) |
38 | | - |
39 | | - (session-history ())) |
| 1 | +# SPDX-License-Identifier: PMPL-1.0-or-later |
| 2 | +# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> |
| 3 | +# |
| 4 | +# STATE.a2ml — VeriSimDB project state |
| 5 | + |
| 6 | +[metadata] |
| 7 | +project = "verisimdb" |
| 8 | +version = "0.1.0" |
| 9 | +last-updated = "2026-04-11" |
| 10 | +status = "active" |
| 11 | +session = "proof_attempts REST API + tantivy 0.26 fix — 2026-04-11" |
| 12 | + |
| 13 | +[project-context] |
| 14 | +name = "VeriSimDB" |
| 15 | +purpose = """ |
| 16 | +Cross-system entity consistency engine with drift detection, |
| 17 | +self-normalisation, and formally verified queries. Octad entities |
| 18 | +(8 synchronized modalities). Also hosts the proof_attempts pipeline: |
| 19 | +ClickHouse-backed proof attempt log consumed by Hypatia and echidnabot. |
| 20 | +""" |
| 21 | +completion-percentage = 68 |
| 22 | + |
| 23 | +[position] |
| 24 | +phase = "implementation" # design | implementation | testing | maintenance | archived |
| 25 | +maturity = "alpha" # experimental | alpha | beta | production | lts |
| 26 | + |
| 27 | +[route-to-mvp] |
| 28 | +milestones = [ |
| 29 | + { id = "M1", title = "8-modality octad store (Rust core)", status = "done" }, |
| 30 | + { id = "M2", title = "Elixir OTP orchestration layer", status = "done" }, |
| 31 | + { id = "M3", title = "VQL/VCL query parser + executor", status = "done" }, |
| 32 | + { id = "M4", title = "Drift detection + self-normalisation", status = "done" }, |
| 33 | + { id = "M5", title = "Federation adapters (7 backends)", status = "done" }, |
| 34 | + { id = "M6", title = "proof_attempts REST API (GET/POST/strategy/certificates)", status = "done" }, |
| 35 | + { id = "M7", title = "Persistent deployment (Fly.io or Stapeln)", status = "planned" }, |
| 36 | + { id = "M8", title = "VQL federation executor (multi-store)", status = "planned" }, |
| 37 | +] |
| 38 | + |
| 39 | +[blockers-and-issues] |
| 40 | +issues = [ |
| 41 | + { id = "B1", description = "VERISIM_CLICKHOUSE_URL not documented in README/DEPLOYMENT.adoc", severity = "low" }, |
| 42 | + { id = "B2", description = "proof_attempts GET endpoint returns full rows — large responses for limit>5000", severity = "low" }, |
| 43 | + { id = "B3", description = "No authentication on /api/v1/proof_attempts POST — internal-only assumption", severity = "medium" }, |
| 44 | +] |
| 45 | + |
| 46 | +[critical-next-actions] |
| 47 | +actions = [ |
| 48 | + "Document VERISIM_CLICKHOUSE_URL in DEPLOYMENT.adoc", |
| 49 | + "Add pagination (offset param) to GET /api/v1/proof_attempts", |
| 50 | + "Consider rate-limiting the proof_attempts POST endpoint", |
| 51 | +] |
| 52 | + |
| 53 | +[session-history] |
| 54 | +# 2026-04-11: Added three proof_attempts routes under /api/v1/: |
| 55 | +# GET ?limit=N — list rows for Julia retraining (ClickHouse SELECT) |
| 56 | +# POST — insert attempt row (ClickHouse INSERT JSONEachRow) |
| 57 | +# GET /strategy?class= — recommendations from mv_proven_certificates |
| 58 | +# GET /certificates?class= — PROVEN/pending cert status |
| 59 | +# Fixed tantivy 0.26 API break in verisim-document: TopDocs::with_limit(n) |
| 60 | +# now requires .order_by_score() — Collector no longer impl'd on TopDocs directly. |
| 61 | +# Verified: strategy endpoint returns correct data from 1233 ClickHouse rows. |
| 62 | +# 2026-04-05: VQL→VCL rename estate-wide. Tropical bridge wired. |
| 63 | +# 2026-04-03: Proof certificate pipeline (PROVEN/SANCTIFY). 11 VQL proof types. |
| 64 | + |
| 65 | +[maintenance-status] |
| 66 | +last-run-utc = "2026-04-11T17:06:00Z" |
| 67 | +last-result = "pass" |
0 commit comments