aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/STATE.md30
1 files changed, 13 insertions, 17 deletions
diff --git a/docs/STATE.md b/docs/STATE.md
index 767ed7c..bd38963 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -14,12 +14,13 @@ unit tests and the docs consistency check.
## Resume here (2026-09-21)
-- **Deployed**: `v0.1.54`, healthy on `nas` (Alpine runtime, static aarch64
+- **Deployed**: `v0.1.55`, healthy on `nas` (Alpine runtime, static aarch64
binaries cross-compiled on this machine — ~20 s, the host only assembles
- the image; image 33.7 MB, no `libssl3`). `main` is ahead of the deployment:
- payroll (schema v11), the query helpers, the mail fixes and the payroll
- TUI are **not deployed** yet — deploy before the human tries payroll on
- `nas`.
+ the image; image 33.7 MB, no `libssl3`). It brings the payroll server
+ waves (schema v11: employees, tax tables, lönebesked) and the payroll
+ TUI with the Företag/System menu; the live database migrated v9 → v11 on
+ startup with the automatic pre-migration snapshot in `var/db/backup/`.
+ `main` and the tag `v0.1.55` are pushed to `nas`.
- **Next tasks (payroll follow-ups)**: fold `payroll.settings_get/set` into
`settings.get/set` (cmd_settings.c was busy during wave 1); settle the
over-80k % rule (SKV 433 leaves it ambiguous — currently a clear
@@ -32,18 +33,13 @@ unit tests and the docs consistency check.
avgifter), Anställda under Företag and the Skattetabeller
fetch/import/status screen under System. A pty scenario posts a run and
fetches its lönebesked, so the payslip PDF path is exercised end to end.
-- **Menyn (2026-09-21)**: dashboarden har sektionerna Bokföring (med
+- **Menu (2026-09-21)**: the dashboard has the sections Bokföring (with
Mallar), Fakturering, Lön, Rapporter & bokslut, Företag (Anställda,
- Kunder, Bolaget, Momsregler) och System (Skattetabeller, Revision,
- Systeminställningar). Inställningar är borttagen: standardserie,
- fordrings-/intäktskonto, bankgiro, vår referens och SMTP ligger nu under
- Bolaget (sub-formulären Fakturauppgifter och E-post), bilagornas mapp
- under System. `--screen settings` är kvar som alias för Bolaget.
-- **Already merged on main since the last deploy**: payroll schema v10/v11 +
- employees/tax tables/runs/payslip (`e692f0f`, `4488b6c`), `mail.c` +
- `smtp_reply_to` (`e25a8c9`), query helpers `db_row_json`/`req_list`/
- `req_exec` (`b1956aa`), and a Makefile fix that tracks the test binaries'
- `.d` files (a stale `smtp_check.o` hung `make test`).
+ Kunder, Bolaget, Momsregler) and System (Skattetabeller, Revision,
+ Systeminställningar). Inställningar is gone: standardserie,
+ fordrings-/intäktskonto, bankgiro, vår referens and SMTP now live under
+ Bolaget (the Fakturauppgifter and E-post sub-forms) and bilagornas mapp
+ under System. `--screen settings` remains an alias for Bolaget.
## Open decisions
@@ -86,7 +82,7 @@ Original entries for the struck items are in `docs/DECISIONS.md`.
## Environment / how to run
-- **Deployed**: `scripts/deploy.sh` (latest `v0.1.54`, healthy on nas).
+- **Deployed**: `scripts/deploy.sh` (latest `v0.1.55`, healthy on nas).
Live daemon `tls:bokf.makandra.eu:8788`, token
`~/.config/bokf/migration-token` (scopes `read,write`; owner-only actions
like closing years must be done by the human in the TUI). Git remote