Package runtime migrations and branding assets
This commit is contained in:
+17
-2
@@ -31,7 +31,7 @@ major task is `IN PROGRESS`.
|
||||
- Objective: Establish migrations and exact `Decimal` storage policy.
|
||||
- Scope: Alembic environment, initial migration workflow, SQLite encoding/scale/rounding.
|
||||
- Acceptance criteria: upgrade/downgrade works; monetary round-trip proves no floats.
|
||||
- Relevant code: `alembic/`, persistence money type, tests.
|
||||
- Relevant code: `src/roborto_accounting/migrations/`, persistence money type, tests.
|
||||
- Validation: migration and arithmetic tests.
|
||||
- Dependencies: FND-002. Non-goals: business tables. Open questions: exact encoding is proposed.
|
||||
|
||||
@@ -468,7 +468,7 @@ major task is `IN PROGRESS`.
|
||||
- Objective: Implement the approved reusable light-mode Roborto document identity.
|
||||
- Scope: rendering-library selection, deterministic A4 output, margins, typography, `logo-light.svg`, colour tokens, headings, tables, totals, footer/page numbering, wrapping and page breaks.
|
||||
- Acceptance criteria: one UI-independent theme serves every renderer; output is print-safe, greyscale-legible, deterministic, and contains no accounting logic.
|
||||
- Relevant code: future `reporting/documents/`, `assets/branding/`, `docs/design/`.
|
||||
- Relevant code: `reporting/documents/`, packaged branding assets, `docs/design/`.
|
||||
- Validation: unit/layout tests plus generated representative multi-page PDF inspection.
|
||||
- Dependencies: DOC-001. Non-goals: per-document themes, dashboards, gradients, shadows, proprietary fonts, Flask/React. Open questions: rendering library.
|
||||
|
||||
@@ -523,6 +523,21 @@ major task is `IN PROGRESS`.
|
||||
- Dependencies: CLI-006, DOC-FUTURE-001. Non-goals: deployment automation or invented
|
||||
workflows. Open questions: none.
|
||||
|
||||
### PKG-001 — Self-contained wheel deployment
|
||||
- Priority: P0; Status: COMPLETE
|
||||
- Objective: Make a normal wheel installation independent of the source checkout.
|
||||
- Scope: package Alembic migrations and brand SVG resources, resolve them from the
|
||||
installed package, and retain the repository Alembic developer workflow.
|
||||
- Acceptance criteria: a built wheel contains every migration and branding asset;
|
||||
code installed from that wheel can initialize a new database and generate branded
|
||||
document samples while running outside the repository.
|
||||
- Relevant code: `pyproject.toml`, packaged migrations/assets, runtime configuration,
|
||||
CLI initialization, deployment tests.
|
||||
- Validation: full tests, clean wheel inspection, external-location database
|
||||
initialization and PDF sample generation.
|
||||
- Dependencies: FND-002, DOC-005. Non-goals: system-wide installation automation,
|
||||
cloud deployment, or changing the XDG runtime-storage policy. Open questions: none.
|
||||
|
||||
## Backlog review
|
||||
|
||||
The approved specification is represented by tasks, acceptance criteria, decisions, or
|
||||
|
||||
Reference in New Issue
Block a user