Files
ThothII/docs/adr/0043-maintain-local-evidence-with-external-editors.md
CodexandClaude Opus 5.5 8bd1f3e793
Publish documentation / publish (push) Successful in 29s
docs: retrofit domain docs to GLOSSARY.md and chronological ADRs
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 in a54d4769 are 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 in a54d4769)

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>
2026-10-17 22:23:25 +02:00

2.2 KiB

status, date
status date
accepted 2026-09-08

Maintain local Evidence with external editors

A context specialist writes Evidence drafts independently of the installation and without PostgreSQL access; the installation refines them and keeps the curated Evidence in a durable local file archive, a persistent Git working tree that may reuse the workspace repository. Domain specialists edit visible Markdown with their own editor (or vim/nano on the server), with no web editor and no JSONL editing, and run one consolidation command that validates, activates and indexes the change. Git diff, commit and push stay manual. This replaces both the workspace-Git publication boundary and the evaluation-before-activation gate of ADR-0017 and ADR-0019, and keeps Evidence separate from Memory (ADR-0042).

Considered Options

  • Application-managed Git writes from the Evidence page: rejected to remove commit and push from normal editing and to rely on operator discipline.
  • Moving Evidence authority into PostgreSQL: withdrawn once it was clear that specialists author drafts outside the installation.
  • A web editor or content form: not needed for the first release.

Consequences

  • The core reads only consolidated, activated content, never the working files. A failed activation keeps the last valid corpus and can be rerun without duplicating units or losing edits; persistence and Qdrant are not atomic, so recovery is explicit.
  • Activation happens before commit and push: a skipped or failed push leaves the local change in effect and other installations unchanged.
  • A saved manual correction stays active when its source later contradicts it, and deleted Evidence must not reappear after preparation or reindexing; sources are reacquired only on an explicit refresh.
  • Corrections approved inside a session use the same persistence and activation service, so a session can use its own correction without manual consolidation.
  • Administration assumes no concurrent core work: completed changes apply to subsequent sessions, without live refresh of open ones.

The format and commands are in the Curated Evidence v4 contract and the Evidence lifecycle.