Rituals API specification, schema design, and breaking change detection
  • Python 97%
  • Shell 3%
Find a file
Peter Swimm 19f0f75657 feat(dynseal): assert provenance schema instead of creating it
Per the schema-first principle: migrations own DDL; service code asserts
the schema exists. Replaces _init_dynseal_tables (3× CREATE TABLE IF NOT
EXISTS) with _assert_dynseal_schema, which probes each of pattern_attestations,
information_provenance, supply_chain_log via SELECT 1 LIMIT 0 and raises a
RuntimeError with an actionable message if the migration hasn't been applied.

Canonical schema lives in toilville-db migrations/353_dynseal_provenance.sql
(in the parent repo).

Note: dynseal currently writes to a local SQLite (foundation.db); the
assertion path is correct either way (SQLite or future Postgres backing).
2026-05-08 15:46:17 -07:00
.spel new claude 2026-03-10 15:33:00 -07:00
config/vocabularies/SPELWork chore: Add Vale configuration and documentation linter guide 2026-02-20 11:07:04 -08:00
docs dfdf 2026-04-24 08:49:07 -07:00
dynseal feat(dynseal): assert provenance schema instead of creating it 2026-05-08 15:46:17 -07:00
examples chore: remove stale SQLite-era scripts and orphaned docs 2026-03-09 15:45:13 -07:00
manifests First draft API including Swagger file 2025-08-17 14:19:59 -07:00
schemas feat: Add SPELWork Schema API with 100% Prism validation 2025-10-02 15:36:25 -07:00
styles chore: Add Vale configuration and documentation linter guide 2026-02-20 11:07:04 -08:00
.gitignore docs: Update API documentation to reflect rituals-api-spec branding 2026-02-01 16:32:28 -08:00
.vale.ini chore: Add Vale configuration and documentation linter guide 2026-02-20 11:07:04 -08:00
bootstrap.sh First draft API including Swagger file 2025-08-17 14:19:59 -07:00
breaking_change_detector.py feat: rebuild pipeline — Postgres-native generators + updated openapi spec 2026-03-08 18:04:47 -07:00
CHANGELOG.md Align API with foundation.db schema and add documentation pipeline 2025-09-19 16:28:15 -07:00
CLAUDE.md feat: PatternSchema status enum + documentation workflow fix 2026-03-08 17:13:55 -07:00
DYNSEAL_README.md feat: Add Dynseal security layer to SPELWork API 2025-09-20 08:11:23 -07:00
extract_db_docs.py feat: rebuild pipeline — Postgres-native generators + updated openapi spec 2026-03-08 18:04:47 -07:00
forge_config.py feat: rebuild pipeline — Postgres-native generators + updated openapi spec 2026-03-08 18:04:47 -07:00
models.py feat: rebuild pipeline — Postgres-native generators + updated openapi spec 2026-03-08 18:04:47 -07:00
openapi.yaml feat(spec): document POST /api/lineage/sync and POST /api/patterns endpoints 2026-04-21 12:45:41 -07:00
README.md refactor(docs): convert README to TOC; stub duplicate catalog files 2026-03-10 15:52:57 -07:00
requirements.txt feat: rebuild pipeline — Postgres-native generators + updated openapi spec 2026-03-08 18:04:47 -07:00
schema.json Neu Docs 2025-10-02 10:29:09 -07:00
SCHEMA_API_DESIGN.md feat: Add SPELWork Schema API with 100% Prism validation 2025-10-02 15:36:25 -07:00
schema_openapi.yaml feat: Add SPELWork Schema API with 100% Prism validation 2025-10-02 15:36:25 -07:00
spelwork.schema.json Align API with foundation.db schema and add documentation pipeline 2025-09-19 16:28:15 -07:00
start-dynseal-server.sh feat: Add Dynseal security layer to SPELWork API 2025-09-20 08:11:23 -07:00
test-dynseal-api.sh feat: Add Dynseal security layer to SPELWork API 2025-09-20 08:11:23 -07:00
VALE_LORE_GUIDE.md chore: Add Vale configuration and documentation linter guide 2026-02-20 11:07:04 -08:00

API Specification

REST API (OpenAPI 3.1) and Kafka event schemas (AsyncAPI) for the rituals orchestration service.

Specs

File Description
openapi.yaml REST API — all endpoints, request/response schemas
docs/src/01-overview.md API overview and integration guide

Canonical Catalogs

These files are generated from the live DB. View canonical source, not the stubs:

Stub Canonical Source
docs/event-catalog.md docs/src/04-event-catalog.md
docs/intent-catalog.md docs/src/06-intent-catalog.md

Regenerate

# Regenerate event + intent catalogs from DB
reconcile --lore generate --type forge_event_catalog
reconcile --lore generate --type forge_intent_catalog