WIP lot S : floor_amend retiré (le quorum le remplace), fixture de production sous tests/fixtures/seed-production-2026-11-02/, reprise des tests (api, inertia, ballots, objections, typos)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-11-03 04:06:07 +01:00
co-authored by Claude Opus 5.5
parent 6228d3913a
commit e2445f6467
14 changed files with 185 additions and 312 deletions
@@ -34,18 +34,3 @@ CREATE TABLE seed_proposal_amendments (
at TEXT NOT NULL,
PRIMARY KEY (amendment_id, doc_id)
);
-- A floor C changed in an existing document (src/floor_amend.rs), should Yvv
-- lower it to start (question asked on 2026-11-02; none listed yet): decided
-- once per document, only if the floor is still the one expected. Each decision
-- is kept here: applied, refused (and why), or present.
CREATE TABLE floor_amendments (
amendment_id TEXT NOT NULL,
doc_id TEXT NOT NULL REFERENCES documents(id),
from_floor REAL, -- the floor found
to_floor REAL NOT NULL,
outcome TEXT NOT NULL, -- applied | refused | present
reason TEXT, -- why it was refused
at TEXT NOT NULL,
PRIMARY KEY (amendment_id, doc_id)
);