docs(mapping): define visible-only XLSX import threat model
davoodmehraban89 committed
Oct 30, 2026 at 17:29 UTC
dee928b967787f97443a6411b525f1fc3be469a6
1 file changed
+12
docs/superpowers/plans/2026-10-30-mapping-workbook-visibility.md
new
+12
@@ -0,0 +1,12 @@
1
+# Issue #38 — test-first remediation and evidence
2
+
3
+- Parent: Draft [PR #27](https://github.com/davoodmehraban89/Aram/pull/27) `6c0068a660a3834f042b89d41d62bba82cb3a498`; depends on Draft PR #26.
4
+- Child: Draft [PR #46](https://github.com/davoodmehraban89/Aram/pull/46); branch `codex/aram-gate3-hidden-xlsx-guard-20261030`.
5
+- [x] Add adversarial hidden-sheet/row/header/column plus import pre-write regression tests, test-only `e266906686a265d32dfdf8032c0cafec32ff3a73`. [RED CI 41067372049](https://github.com/davoodmehraban89/Aram/actions/runs/41067372049): **8 expected failures, 109 passed, 1 warning** (missing ValueError).
6
+- [x] Implement pre-parse visibility rejection using read-only sheet state and streaming worksheet XML; code `34500e8f0ba877f5f19839be8946790f5c163599`.
7
+- [x] [GREEN CI 41067615098](https://github.com/davoodmehraban89/Aram/actions/runs/41067615098): **117 passed, 1 warning**; isolated Alembic upgrade/downgrade and compileall succeeded.
8
+- [ ] Final code+documentation SHA: verify CI and changed file allowlist again; test permission/reviewer protocol.
9
+- [ ] C1 technical / XLSX security, C2 financial correctness, C3 acceptance reviewer identities must be distinct from author and approve exact SHA; currently BLOCKED. Do not merge child before parent.
10
+- [ ] Later: adversarial workload performance, unusual XML namespace/encoding and workbook presentation edge cases under independent review. This change does not prove all Excel display semantics or Windows compatibility.
11
+
12
+**Allowed:** `mapping_excel.py`, its test file, this spec/plan, append-only `docs/PROJECT_LOG.md` and `docs/handoff/LATEST_HANDOFF.md`. No financial XLSX/PDF, `data/`, real database, migration, dependency, workflows, binary/release. Rollback while Draft: close unmerged PR; after acceptance: reviewed revert PR.