@davoodmehraban89 / Aram-1 / commits / 6b6aca8
Fork 0

docs(mapping): append signed proposer evidence and absent approval blockers

davoodmehraban89 committed Oct 30, 2026 at 23:08 UTC 6b6aca8883ad4902574cbf954d739e1a3bcf3967
1 file changed +8
docs/handoff/LATEST_HANDOFF.md
+8
@@ -174,3 +174,11 @@ Publish this requested two-document reconciliation on PR #21 and route the resul
174 - New `mapping_year_authorization.require_year_access` checks current DB Company/FiscalYear Draft and exact grant under `Session.no_autoflush` with `populate_existing`. Read-only `GET /api/v1/auth/year-access/{year_id}` uses signed-principal dependency. No proposal/write/approval route activated; real company/year grant assignment and IdP connection are NOT configured.
175 - Tests-only [RED 41110810775](https://github.com/davoodmehraban89/Aram/actions/runs/41110810775) 28 intentional missing-behavior failures. Initial [CI 41110973867](https://github.com/davoodmehraban89/Aram/actions/runs/41110973867) 2 test expectation failures/257 passes; invalid signed role should be 401, not 403. Corrected assertions and added direct cross-role denial at SHA `59cb141cad81add6523f4fea7a127c8180d080e5`. **Verify final exact SHA GitHub CI, all migration round-trips and reviewer status.**
176 - Real authenticated user approval, independently established C1/C2/C3 reviewers, persisted identity on drafts, non-self-approval, locked compare-and-set apply, Excel importer closure, source account hierarchy and financial reconciliation still open (Issues #49/#39/#43). Keep Draft/unmerged; no operational acceptance.
177 +
178 +## 2026-10-30 — Gate 3 authenticated proposer-bound Unreviewed staging, Draft PR #57
179 +
180 +- New [Draft PR #57](https://github.com/davoodmehraban89/Aram/pull/57) child of unmerged #56 exact parent `0fc0713bd9e0906954c16d7a6b25aad8bf793383`. Upstream #55/#54/#53/#52/#51/#50/#26 still Draft; accepted `source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914` unchanged.
181 +- New RSA bearer + exact signed proposer-scope **POST** endpoint stages strictly `Unreviewed` batch draft, independent system DraftStaged event and immutable-at-SQLite-DML author identity evidence in one transaction. New SQLAlchemy Core `mapping_draft_authors` has unique draft FK, payload/author hash, proposer-only CHECK. Alembic `20261030_04` adds SQLite UPDATE/DELETE triggers and refuses other providers. No private keys, real IdP or production DB configured.
182 +- Prevents another signed issuer+subject from claiming same request key; explicitly rejects adopting legacy unattributed existing draft. Current-year signed reviewer/author self-review comparison is **read-only** and does NOT record actual finance approval/rejection. No approval route or MappingRule apply exists in this PR.
183 +- Tests-first [RED CI 41116237163](https://github.com/davoodmehraban89/Aram/actions/runs/41116237163) missing module; [GREEN CI 41116509978](https://github.com/davoodmehraban89/Aram/actions/runs/41116509978) **275 passed, two warnings**, 01→02→03→04 Alembic upgrade, full reverse downgrade and compileall successful on code SHA `ed9703da28d04bef7d09692a974322987280f401`. Verify **final docs SHA CI**, allowlist and PR review count before result claim.
184 +- **Not solved:** globally preventing old internal/Excel write paths, external enterprise IdP, actual employee grants and reviewer author dual-control record, legally immutable signed accounting audit, transactional DB CAS/lock and financial-source reconciliation. Real independent C1/C2/C3 human approvals and PR #25 migration integration missing; Issues #49/#39/#43 remain OPEN. Keep Draft/unmerged, never claim Gate 3 production approval.