A task factory based on temporal
Find a file
Bernd Worsch cb7cf3bc8c feat(db): ORM models + Alembic migrations 0001–0003 — T09/T10/T11
SQLAlchemy ORM (src/activity_core/orm.py):
  - ActivityDefinition, ActivityRun, TaskInstance mapped to Base.metadata
  - Wired into migrations/env.py for autogenerate support

Migrations (chained 0001 → 0002 → 0003):
  - 0001: activity_definitions (id, name, enabled, trigger_type,
          trigger_config JSONB, context_sources JSONB, task_templates JSONB,
          dedupe_key_strategy, version, created_at, updated_at)
  - 0002: activity_runs (run_id, activity_id FK→activity_definitions,
          scheduled_for, fired_at, context_snapshot JSONB, tasks_spawned,
          version_used) + index on activity_id
  - 0003: task_instances (id, run_id FK→activity_runs CASCADE,
          type, params JSONB, status, created_at) + index on run_id

Apply with: ACTCORE_DB_URL=... alembic upgrade head

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 21:51:01 +00:00
docs Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
dynamicconfig Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
migrations feat(db): ORM models + Alembic migrations 0001–0003 — T09/T10/T11 2026-03-26 21:51:01 +00:00
schemas Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
scripts Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
src/activity_core feat(db): ORM models + Alembic migrations 0001–0003 — T09/T10/T11 2026-03-26 21:51:01 +00:00
wiki Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
workplans feat(db): ORM models + Alembic migrations 0001–0003 — T09/T10/T11 2026-03-26 21:51:01 +00:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-03-26 20:53:57 +01:00
.gitignore Initial commit 2026-03-02 00:24:41 +00:00
alembic.ini feat(db): init Alembic (async) + SQLAlchemy declarative base — T08 2026-03-26 21:45:40 +00:00
CLAUDE.md chore: add .custodian-brief.md protocol and unblock T07 2026-03-26 21:03:56 +01:00
docker-compose.dev.yml fix(docker): use fully-qualified docker.io image refs; mark T07 done 2026-03-26 21:26:33 +00:00
LICENSE Initial commit 2026-03-02 00:24:41 +00:00
pyproject.toml Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
README.md Initial commit 2026-03-02 00:24:41 +00:00
SCOPE.md updated SCOPE.md file 2026-03-19 21:26:53 +01:00
uv.lock Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00

repo-seed

A git repository template to bootstrap coulomb projects from.