Mark section 23.1 as verified
This commit is contained in:
1 parent
9871942207
commit
042044cf61
1 file changed
+4
-4
+4
-4
@@ -8,9 +8,8 @@ Short working handover for the next model. Keep it short.
|
|||||||
|
|
||||||
## Status
|
## Status
|
||||||
|
|
||||||
- **Done and verified:** sections 19–22 and section 18 steps 1–8. All ticked in `TODO.md`.
|
- **Done and verified:** sections 19–22, section 18 steps 1–8, and section 23.1. All ticked in `TODO.md`.
|
||||||
- **Implemented, waiting for the test run:** section 23.1 — pre-filled form values, required compatibility status, contact statuses, and schema version 7 with its migration. Not ticked in `TODO.md` yet.
|
- **Tests:** 138, all green. The user runs them: `python3 -m unittest discover -s tests`. They now run on a Windows copy at `C:\Users\Driftsleiar\Downloads\helsesjekk`, so they must pass there as well as on Linux.
|
||||||
- **Tests:** 138 after section 23.1 (123 before). The user runs them: `python3 -m unittest discover -s tests`. They now run on a Windows copy at `C:\Users\Driftsleiar\Downloads\helsesjekk`, so they must pass there as well as on Linux.
|
|
||||||
- **Agreed next work, not started:** section 23.2–23.5 — configurable key setup, type-driven checks, dynamic wallet-software choices, and the matching migration and tests.
|
- **Agreed next work, not started:** section 23.2–23.5 — configurable key setup, type-driven checks, dynamic wallet-software choices, and the matching migration and tests.
|
||||||
- **Remaining after that:** steps 9–12 — StartOS package, persistent volume, backup/restore, `.s9pk`. Covered by sections 13, 14, 16 and 17 of `TODO.md`.
|
- **Remaining after that:** steps 9–12 — StartOS package, persistent volume, backup/restore, `.s9pk`. Covered by sections 13, 14, 16 and 17 of `TODO.md`.
|
||||||
|
|
||||||
@@ -26,7 +25,7 @@ Short working handover for the next model. Keep it short.
|
|||||||
- Record a new decision in `TODO.md` and this note **before** implementing it, and mark it as not implemented until the tests pass.
|
- Record a new decision in `TODO.md` and this note **before** implementing it, and mark it as not implemented until the tests pass.
|
||||||
- `gitea_update_file` needs a fresh `preview_id` from `gitea_preview_file` for the same path and content. `gitea_create_file` returns `422` on an existing file.
|
- `gitea_update_file` needs a fresh `preview_id` from `gitea_preview_file` for the same path and content. `gitea_create_file` returns `422` on an existing file.
|
||||||
|
|
||||||
## Section 23.1 — implemented, waiting for the test run
|
## Section 23.1 — implemented and verified
|
||||||
|
|
||||||
Read section 23.1 of `TODO.md` for the requirement. What the code now does:
|
Read section 23.1 of `TODO.md` for the requirement. What the code now does:
|
||||||
|
|
||||||
@@ -48,6 +47,7 @@ Read section 23 of `TODO.md` for the full list. The parts that are easy to get w
|
|||||||
- **Setup lives in the same SQLite database as the history.** A new database shows first-run setup. An existing database is migrated from its stored key rows and keeps all history. An unreadable database must raise a clear error and must never be treated as a new installation.
|
- **Setup lives in the same SQLite database as the history.** A new database shows first-run setup. An existing database is migrated from its stored key rows and keeps all history. An unreadable database must raise a clear error and must never be treated as a new installation.
|
||||||
- **Security status is recorded for the selected key name and the selected wallet software.** The section 20 carry-forward of a third provider's status is removed. Skip duplicate rows when the key name and the software name are the same.
|
- **Security status is recorded for the selected key name and the selected wallet software.** The section 20 carry-forward of a third provider's status is removed. Skip duplicate rows when the key name and the software name are the same.
|
||||||
- **`KEY_PRODUCTS`, `_expected_products()` and `_expected_providers()` are still keyed by key number** in `validation.py`, `static/health-check.js`, `database.py` and `export.py`. Section 23.3 replaces them with the configured name and type.
|
- **`KEY_PRODUCTS`, `_expected_products()` and `_expected_providers()` are still keyed by key number** in `validation.py`, `static/health-check.js`, `database.py` and `export.py`. Section 23.3 replaces them with the configured name and type.
|
||||||
|
- **`keys.device` is still `NOT NULL` with a `CHECK` for the three fixed products**, and `seed_fixed_keys()` still writes the fixed profiles on every start. Section 23.2 must decide what happens to both.
|
||||||
|
|
||||||
## Rules that are easy to get wrong — do not re-open
|
## Rules that are easy to get wrong — do not re-open
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user