feat(decision): add decision persistence layer #131

Merged
hamza.khyari merged 2 commits from feature/m4-decision-persistence into master 2026-02-26 14:25:27 +00:00

2 Commits

Author SHA1 Message Date
khyari hamza 7f2b1c61fc fix(decision): rebase migration onto merged changeset head
CI / lint (pull_request) Successful in 15s
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 28s
CI / typecheck (pull_request) Successful in 34s
CI / build (pull_request) Successful in 23s
CI / security (pull_request) Successful in 54s
CI / integration_tests (pull_request) Successful in 5m18s
CI / unit_tests (pull_request) Successful in 19m34s
CI / docker (pull_request) Successful in 1m4s
CI / benchmark-regression (pull_request) Successful in 24m59s
CI / coverage (pull_request) Successful in 44m0s
After rebasing onto master, m4_001_decision_tables and
d0_002_merge_changeset_and_locks were both leaf heads.  Update
down_revision so the decision migration chains after the merge
migration, restoring a single Alembic head.

ISSUES CLOSED: #171
2026-02-26 13:40:07 +00:00
khyari hamza 27bef69ddd feat(decision): add decision persistence
Add decision persistence layer with DecisionRepository, DecisionModel,
and Alembic migration. Includes tree queries (BFS traversal via deque,
path-to-root), superseded lookup, ordered decision path retrieval,
concrete Decision type annotations (via TYPE_CHECKING), and comprehensive
test coverage (Behave BDD, Robot Framework, ASV benchmarks). Updated
database_schema.md, CHANGELOG.md, and CONTRIBUTORS.md.

ISSUES CLOSED: #171
2026-02-26 13:40:07 +00:00