Files
adminandClaude Opus 5.5 5dbe0fb1c8 Scribe MVP: templates, clauses, checks in code, export (Compass split M7)
Scaffolded with the dredd skill (simple tenancy, pl-first, dredd-core v0.23.0;
brand lime #66a80f set by hand, standalone port 8125), then the domain:

- Templates (moderators): Markdown with {{field}} and {{klauzula:slot}},
  typed fields (text/amount/amount_words/date), date-order rules.
- Drafts copy their template; clauses come from Lexicon via module_client
  with the acting person's token, or from the template itself (D9).
- Deterministic checks before every export: placeholders, amounts
  (Polish words vs digits), dates (valid, ordered), quotes (identical to
  the current source). Errors block export with 409 checks_failed.
- Export: Markdown/DOCX download (python-docx, MIT), a new Galena document
  pinned as DocumentRef, or plain_files without Galena. draft_export is
  NO_DELETE evidence.
- GET /api/v1/stats per dredd_core.stats_contract (drafts, templates).
- docs/spec-mvp.md: a proposal for Tobiasz's review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:49:46 +01:00

16 lines
132 B
Plaintext

.env
*.pyc
__pycache__/
.venv/
venv/
.pytest_cache/
.ruff_cache/
.coverage
htmlcov/
*.egg-info/
dist/
build/
data/
.DS_Store
certs/