docs: add specification, design docs, mockups, wiki and deploy files
Prepare everything needed before development starts on Khaemhat, the ERP + CRM for Italian SMEs: - docs/SPEC.md: the original project specification, unchanged, plus CLAUDE.md with operational rules and amendments (Gitea instead of GitHub/GHCR, Docker image as the only deliverable). - ADR 0001-0011 for the baseline decisions. - Mockups: 22 high-resolution screens, the full gallery, 88 thumbnails cropped from it, mockup.css and an index. - Technical docs (architecture, data model, modules, API, MCP, deploy, security, development process, status with open spec questions). - Full draft wiki in docs/wiki (already published to the Gitea wiki). - Icons in assets/ and deploy files for Docker Compose and Unraid, pointing to the Gitea package registry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
44fa273be5
commit
e746d99dab
207 files changed
+13496
-1
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# ADR 0002 — Nessuna libreria esterna, allowlist verificata
|
||||
|
||||
- **Stato:** accettata
|
||||
- **Data:** 2026-11-10
|
||||
- **Fonte:** SPEC §1.2
|
||||
|
||||
## Contesto
|
||||
|
||||
Il titolare vuole un prodotto senza dipendenze di terze parti: niente rischi di licenza, di abbandono o di catena
|
||||
di fornitura, e pieno controllo su prestazioni e comportamento.
|
||||
|
||||
## Decisione
|
||||
|
||||
- Ammessi soltanto: i framework condivisi Microsoft (`Microsoft.NETCore.App`, `Microsoft.AspNetCore.App` e le API
|
||||
in-box elencate in SPEC §1.2), i provider ADO.NET **`Npgsql`** e **`Microsoft.Data.Sqlite`**, e nei soli progetti
|
||||
di test **`Microsoft.NET.Test.Sdk`** + **`MSTest`**.
|
||||
- Tutto il resto si scrive nel repository: micro-ORM, migrazioni, logger, client RESP per Redis, PDF, XLSX, CSV, ZIP,
|
||||
IMAP, S3 (SigV4), WebDAV, OpenAPI, MCP, scheduler, validatori, TOTP.
|
||||
- Nel browser: nessuna CDN, font scaricati o script di terze parti.
|
||||
- L'allowlist è in `Directory.Packages.props` (Central Package Management); `scripts/check-packages.sh` fa fallire
|
||||
build e CI se compare un `PackageReference` non ammesso o un pacchetto di test in un progetto non di test.
|
||||
- Gli strumenti di sistema nell'immagine (`postgresql-client`, `curl`, `tzdata`) non sono componenti applicativi e
|
||||
sono ammessi.
|
||||
|
||||
## Conseguenze
|
||||
|
||||
- Più codice da scrivere e testare: ogni componente "in casa" ha test dedicati con vettori noti.
|
||||
- Le funzioni che richiederebbero librerie complesse (ad esempio SFTP/SSH) vanno valutate con un ADR prima di
|
||||
essere promesse (issue di M14).
|
||||
Reference in new issue
Block a user