feat: complete data-ml integration — sql schemas, scripts, docs, tests - #1
Merged
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the scaffold seeded in 5940fc8.
Changes
SQL Schemas (
sql/)schema-model-memory.sql—model_memorytable for .akmodel/.bfmodel/.akfpqx/.bffpqx artifactsschema-sae.sql—sae_dictionariestable for .aksae/.bfsae artifactsschema-semantic-cache.sql—semantic_cachetableschema-manifests.sql—manifeststable (aurekai.deploy.v1, unique on name+version)schema-proof-bundles.sql—proof_bundlestableScripts (
scripts/)All 7 template scripts, all locally validated:
init-db.sh— apply all schemas to a fresh dbdoctor-deep.sh— table check + row counts + akai doctor --deepmanifest-verify.sh— verify manifest row existsmodel-memory-pack.sh— insert artifact file with sha256 + readfile()sae-audit.sh— row counts, by-ext/by-operator breakdown, sha256 integritysemantic-cache-bench.sh— write+read throughput benchmark (Python)proof-bundle-export.sh— export proof_bundles rows to JSONrelease-gate.sh— gate: all tables populated, no failed proof bundlesExamples (
examples/)sample-akmodel.json,sample-aurekai.manifest.json,sample-db-init.shDocs (
docs/)quickstart.md,schema.md,scripts.mdTests (
tests/)validate-schemas.sh— confirms all 5 tables created from fresh dbvalidate-scripts.sh— end-to-end script smoke test, all PASSCI (
.github/workflows/validate.yml)Expanded to run
validate-schemas.shand full inline script validation.Other
.release-versions.envpinned to 0.8.0-alpha.4README.mdupdated: Status: active, Type: data-ml, template table, quickstart commands