docs: clarify approval row is marked failed, not absent, on flake validation failure

This commit is contained in:
lexis 2026-05-26 00:14:57 +02:00 committed by Mara
commit d494413c7f

View file

@ -30,8 +30,10 @@ happens after a decision lands.
applied. applied.
3a. **Flake validation (ApplyCommit only):** after the proposal tag 3a. **Flake validation (ApplyCommit only):** after the proposal tag
is planted, hive-c0re reads `proposal/<id>:flake.lock` and is planted, hive-c0re reads `proposal/<id>:flake.lock` and
runs two checks (closes #317). The request is rejected (no runs two checks (closes #317). If either check fails, no
approval row created) if either fails: pending approval is created for the operator — the row is
marked failed and surfaces on the dashboard with the
validation message:
- **Stale lock** — materialises the commit in a temp worktree, - **Stale lock** — materialises the commit in a temp worktree,
runs `nix flake lock` (no `--update-input` flags, so it only runs `nix flake lock` (no `--update-input` flags, so it only
fills missing entries), and rejects if the committed fills missing entries), and rejects if the committed