You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide DDL duplication strategy: keep architecture.md DDL or link to schema.py #786
docs/memory/architecture.md currently duplicates DDL blocks from src/backend/db/schema.py for ~25 tables. This duplication is the root cause of the drift class that triggered #770 (3 stale blocks flagged by /validate-schema).
The follow-up PR for #770 (AndriiPasternak31/issue-770-plan) updates 3 named DDL blocks to match schema.py's current state, but reinforces the duplication pattern rather than eliminating it.
Decision needed
Pick one of:
Status quo: keep duplicating DDL in architecture.md — accept that schema changes mean two file edits + ongoing drift.
Delete-and-link: remove DDL blocks from architecture.md; replace with > See [src/backend/db/schema.py:NN-MM](...) callouts.
CI-generated docs: keep architecture.md as the narrative; auto-generate docs/generated/schema.md from schema.py in CI; cross-link.
Inventory only: keep an alphabetical table-name → purpose inventory in architecture.md, no DDL.
Drift only affects readers of architecture.md. It's a comprehension hazard, not a correctness hazard.
This is a docs-architecture call requiring deliberation, not a janitorial fix.
Reasoning history
This issue captures the Codex "UC-2" reframing surfaced during /autoplan review of the #770 plan. Plan archive: /Users/andrii/.gstack/projects/Abilityai-trinity/AndriiPasternak31-issue-770-plan-autoplan-restore-20260511-155040.md (local, not shared).
Activity