docs: retrofit domain docs to GLOSSARY.md and chronological ADRs
Publish documentation / publish (push) Successful in 29s
Publish documentation / publish (push) Successful in 29s
Align domain documentation with the mattpocock-skills v1.3.1 format. - GLOSSARY.md (Italian) replaces CONTEXT.md and describes the implemented system (Phase F1–F8, Gate, Reviewer widget). The unimplemented 2026-08-23 modular-workflow vocabulary (Workflow Kernel, Stage, Module outcome, Extension point, Question Admission, ...) is removed. - docs/adr/ renumbered chronologically, in English, with status/date frontmatter. Retroactive decisions recovered from deleted specs and the Evidence ADRs deleted ina54d4769are restored. - docs/agents/domain.md regenerated; references updated across docs. New ADRs: 0001–0016 retroactive decisions, 2026-06-25 → 2026-08-20 0017–0024 Evidence ADRs of 2026-08-24 (old 0001–0008, deleted ina54d4769) Renumbered ADRs (old → new): 0001 → 0025 postgres-metadata-catalog 0002 → 0026 workspace-database-secret-references 0003 → 0027 installation-local-database-bindings 0004 → 0028 fastify-kysely-metadata-catalog 0005 → 0029 hard-delete-catalog-tables-during-synchronization 0006 → 0030 separate-physical-and-logical-relationships 0007 → 0031 durable-authoritative-schema-synchronization 0008 → 0032 allow-manual-catalog-metadata-cleanup 0009 → 0033 use-one-sequential-description-generation-run 0010 → 0034 allow-bounded-real-source-samples-for-description-generation 0011 → 0035 gate-source-samples-with-a-sensitive-data-flag 0012 → 0036 use-the-catalog-as-the-logical-relationship-authority 0013 → 0037 use-one-installation-model-catalog-with-runtime-projections 0014 → 0038 assess-sensitive-columns-locally-from-source-content 0015 → 0039 use-progressive-sampling-for-sensitive-columns 0016 → 0040 use-postgres-metadata-for-all-core-consumers 0017 → 0041 separate-reference-vectors-from-runtime-memory 0018 → 0042 use-postgres-for-memory-and-qdrant-for-retrieval 0019 → 0043 author-evidence-in-app... → maintain-local-evidence-with-external-editors 0020 → 0044 unify-administration-pages-and-use-namespaced-routes 0021 → 0045 separate-shell-modes-and-replaceable-portal-adapter 0022 → 0046 separate-ui-locale-from-session-interaction-language 0023 → 0047 separate-delivery-operations-from-finalized-sessions Commits and Gitea issues before this commit cite the old numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
---
|
||||
status: superseded by ADR-0032
|
||||
date: 2026-08-27
|
||||
---
|
||||
|
||||
# Hard-delete catalog tables during synchronization
|
||||
|
||||
An explicit Table Synchronization makes the Catalog Table membership exactly match a successful
|
||||
observation of the Workspace Database: new tables are created, source metadata is refreshed, and
|
||||
absent tables plus their future column and relationship children are permanently deleted. Physical
|
||||
membership cannot be edited manually.
|
||||
|
||||
The external scan runs without holding a catalog transaction. Its diff is applied atomically only
|
||||
while the Workspace Database version still matches the scanned binding. Failed scans change
|
||||
nothing, and a non-empty removal set must exactly match the names confirmed by the operator; a
|
||||
changed second scan therefore requires a new confirmation.
|
||||
|
||||
## Considered Options
|
||||
|
||||
- Soft deletion would preserve descriptions across accidental removals, but would add hidden state,
|
||||
restore rules, and ambiguity about whether the catalog still represents the physical schema.
|
||||
- Rename detection based on similarity would preserve metadata in some cases, but could silently
|
||||
attach curated semantics to the wrong physical table.
|
||||
- Append-only introspection, as in the legacy importer, would leave stale tables in the catalog and
|
||||
make downstream schema linking unreliable.
|
||||
|
||||
## Consequences
|
||||
|
||||
A physical rename is delete plus create and loses curated metadata. The UI previews permanent
|
||||
deletions, and future Catalog Column and Relationship records must cascade with their table. The
|
||||
catalog remains an exact projection of the last accepted successful scan without tombstones or
|
||||
restore lifecycle.
|
||||
Reference in New Issue
Block a user