Skip to content

feat: complete data-ml integration — sql schemas, scripts, docs, tests - #1

Merged
Nickgonzales76017 merged 1 commit into
mainfrom
feat/complete-integration
May 3, 2026
Merged

feat: complete data-ml integration — sql schemas, scripts, docs, tests#1
Nickgonzales76017 merged 1 commit into
mainfrom
feat/complete-integration

Conversation

@Nickgonzales76017

Copy link
Copy Markdown
Member

Completes the scaffold seeded in 5940fc8.

Changes

SQL Schemas (sql/)

  • schema-model-memory.sqlmodel_memory table for .akmodel/.bfmodel/.akfpqx/.bffpqx artifacts
  • schema-sae.sqlsae_dictionaries table for .aksae/.bfsae artifacts
  • schema-semantic-cache.sqlsemantic_cache table
  • schema-manifests.sqlmanifests table (aurekai.deploy.v1, unique on name+version)
  • schema-proof-bundles.sqlproof_bundles table

Scripts (scripts/)

All 7 template scripts, all locally validated:

  • init-db.sh — apply all schemas to a fresh db
  • doctor-deep.sh — table check + row counts + akai doctor --deep
  • manifest-verify.sh — verify manifest row exists
  • model-memory-pack.sh — insert artifact file with sha256 + readfile()
  • sae-audit.sh — row counts, by-ext/by-operator breakdown, sha256 integrity
  • semantic-cache-bench.sh — write+read throughput benchmark (Python)
  • proof-bundle-export.sh — export proof_bundles rows to JSON
  • release-gate.sh — gate: all tables populated, no failed proof bundles

Examples (examples/)

  • sample-akmodel.json, sample-aurekai.manifest.json, sample-db-init.sh

Docs (docs/)

  • quickstart.md, schema.md, scripts.md

Tests (tests/)

  • validate-schemas.sh — confirms all 5 tables created from fresh db
  • validate-scripts.sh — end-to-end script smoke test, all PASS

CI (.github/workflows/validate.yml)

Expanded to run validate-schemas.sh and full inline script validation.

Other

  • .release-versions.env pinned to 0.8.0-alpha.4
  • README.md updated: Status: active, Type: data-ml, template table, quickstart commands

- 5 DDL schemas: model_memory, sae_dictionaries, semantic_cache, manifests, proof_bundles
- 7 template scripts: init-db, doctor-deep, manifest-verify, model-memory-pack,
  sae-audit, semantic-cache-bench, proof-bundle-export, release-gate
- 3 example files: sample-akmodel.json, sample-aurekai.manifest.json, sample-db-init.sh
- 3 docs: quickstart.md, schema.md, scripts.md
- 2 tests: validate-schemas.sh, validate-scripts.sh (all passing)
- Updated validate.yml CI to run full schema + script validation
- .release-versions.env pinned to 0.8.0-alpha.4
- README updated: Status: active, Type: data-ml, full template table

Closes seed from 5940fc8.
@Nickgonzales76017
Nickgonzales76017 merged commit ae268a5 into main May 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant