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>
35 lines
2.1 KiB
Markdown
35 lines
2.1 KiB
Markdown
---
|
|
status: accepted
|
|
date: 2026-09-03
|
|
---
|
|
|
|
# Use progressive sampling for sensitive columns
|
|
|
|
The `sensitivity-v1` wall-clock policy produced too many `unknown` assessments: a global
|
|
sixty-second deadline coupled the outcome of one column to table order, source latency, and optional
|
|
NER cost. Those outcomes were not useful for description-generation gating, because they did not
|
|
provide a usable draft Sensitive Data Flag.
|
|
|
|
`sensitivity-v2` bounds database effort by inspected values rather than by one global clock. Tables
|
|
proven to contain at most 1,000 rows are fully scanned. Larger tables are processed breadth-first in
|
|
three passes: 300 values per unresolved column, 700 additional values to reach 1,000, then 2,000
|
|
additional values to reach 3,000 for unresolved text, JSON, and XML columns. One positive rule or
|
|
NER finding is enough to stop later work for that column. At most two tables are scanned
|
|
concurrently. Source queries contain at most 25 columns and each has a five-second statement timeout.
|
|
An empty or timed-out randomized sample gets one sequential bounded retry; two timeouts fail the run.
|
|
|
|
A completed v2 analysis returns only `sensitive` or `non_sensitive`. Sampled no-match, empty, and
|
|
all-null columns are proposed as `non_sensitive`, with coverage reported independently so the human
|
|
reviewer can judge the strength of the proposal. Binary or otherwise uninspectable column types are
|
|
proposed as `sensitive`. A source failure fails the analysis and returns no review; it is not
|
|
converted into `unknown`. The administrator can still set either final value.
|
|
|
|
The HTTP operation has no global analysis deadline. It is canceled when the client disconnects or
|
|
the backend restarts. Historic and interrupted run records retain the database field named
|
|
`unknown` for compatibility, where it counts unprocessed columns rather than a v2 assessment.
|
|
|
|
This decision supersedes ADR-0038 only for scan effort, coverage semantics, and the assessment
|
|
domain. ADR-0038 remains authoritative for the single local TypeScript decision point, the absence
|
|
of generative LLMs, transient human-reviewed drafts, the 500-character rule, and optional CPU-only
|
|
NER evidence.
|