codex/windows-native-pilot-shell-20261030
add-index-html-10623938925177053894 arena/094f314c-aram chatgpt-phase1b2-autopilot codex/adr-future-connectors-pi-v1 codex/aram-account-note-source-trace-20261031 codex/aram-actions-node24-maintenance-20261031 codex/aram-analyst-review-workbook-20261031 codex/aram-bs-candidate-statement-20261031 codex/aram-cash-flow-direct-candidate-20261031 codex/aram-clean-reference-year-integrity-20261030 codex/aram-cross-statement-controls-20261031 codex/aram-equity-changes-candidate-20261031 codex/aram-five-statement-cli-20261031 codex/aram-five-statement-integration-20261031 codex/aram-five-statement-orchestrator-20261031 codex/aram-gate3-coverage-target-guard-20261030 codex/aram-gate3-hidden-xlsx-guard-20261030 codex/aram-gate3-integration-validation-20261030 codex/aram-gate3-mapping-change-preview-20261030 codex/aram-gate3-stale-note-guard-20261030 codex/aram-income-statement-candidate-20261031 codex/aram-manifest-referential-integrity-20261031 codex/aram-mapping-source-parser-20261101 codex/aram-multidimensional-mapping-20261101 codex/aram-multistatement-mapping-20261031 codex/aram-pipeline-manifest-schema-20261031 codex/aram-readonly-mapping-coverage-20261031 codex/aram-reconciliation-review-gate-20261031 codex/aram-same-flush-fiscal-lock-20261030 codex/aram-synthetic-windows-demo-20261031 codex/aram-trial-balance-diagnostic-20261031 codex/aram-windows-background-detail-search-20261031 codex/aram-windows-detail-review-20261031 codex/aram-windows-five-statement-pilot-20261031 codex/aram-windows-statement-figures-20261031 codex/gate-2a-pilot-workbook codex/gate-2a-pilot-workbook-6864754244772568979 codex/gate3-authenticated-principal-boundary-20261030 codex/gate3-authored-draft-staging-20261030 codex/gate3-carry-forward-preview-20261023 codex/gate3-draft-staging-audit-20261030 codex/gate3-mapping-batch-freshness-20261030 codex/gate3-mapping-batch-review-20261030 codex/gate3-mapping-core codex/gate3-mapping-coverage-20261023 codex/gate3-mapping-excel-20261023 codex/gate3-note-mapping-review-20261023 codex/gate3-signed-year-scope-20261030 codex/gate3-unapproved-proposal-storage-20261030 codex/payvast-mapping-discovery-20261023 codex/phase-2a-backend-foundation codex/phase-2b-post-merge-record codex/phase-2b-source-registration codex/phase-2b-source-registration-12955190277775369594 codex/post-gate2a-control-reconciliation codex/post-pr18-acceptance-record codex/project-control-foundation codex/t1-repo-hygiene-20261023 codex/t2-ci-hardening-20261023 codex/t3-explicit-migrations-20261023 codex/t6a-readonly-diagnostics-20261023 codex/v1-01-safety-gate-hardening codex/v1-year-isolation-followup-20261023 codex/windows-native-pilot-shell-20261030 docs/aram-master-control-plan-20261111 docs/aram-roadmap-dashboard-20261030 docs/financial-statement-reconciliation-1402-1404-20261110 feat/gate3-governed-mapping-20261101 feat/gate3-package9-1-security-20261103 feat/gate3-package9-isolated-20261103 fix/password-unicode-validation-20261111 governance/aram-5-1-3-controls-20261030 governance/role-based-operating-model jules-1168663913887856558-73b8a885 jules-gate-2b-mapping-workflow-foundation-4137724387867065330 phase-1b1-audit-report-7365389436990903239 phase-2a-backend-foundation-10237597358138521261 phase1b2-postmerge-metadata-fix refactor/drg-parent-year-id-15088443704684163304 source-data-cleanup
md 28 lines 4.71 KB
Rendered Raw
1 # Windows native ARAM Pilot — implementation, test evidence and handoff
2
3 **Task:** continue development after owner confirms final delivery must be Windows `.exe`. Root `index.html` is explicitly quarantined; no real pilot GUI exists. [Issue #58](https://github.com/davoodmehraban89/Aram/issues/58) records previous 0 clickable controls. [Draft PR #59](https://github.com/davoodmehraban89/Aram/pull/59), exact unmerged parent #57 SHA `6b6aca8883ad4902574cbf954d739e1a3bcf3967`; original accepted `source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914` unchanged.
4
5 1. [x] Inspected actual GitHub tree, accepted status, `AGENTS.md`, `docs/ACCEPTANCE_POLICY.md`, `backend/pyproject.toml`, `pilot_workbook.py`, backend CI and missing frontend. Chose real native Tkinter/ttk instead of reactivating disconnected HTML; this **pilot shell is not final toolkit decision**.
6 2. [x] Created exact-parent branch `codex/windows-native-pilot-shell-20261030`, and **tests FIRST** at SHA `13b00d75249e92b8a5ac901ecae8e350837aae4b`: independent read-only controller, file-byte stability, rejection of non-XLSX, missing/huge/changing files, reset of stale results, no workbook deletion, headless self-test, named action callback completeness. [Backend CI run 41120753977](https://github.com/davoodmehraban89/Aram/actions/runs/41120753977) scheduled as initial RED at that SHA; **do not declare expected failure observed unless run logs confirm it**.
7 3. [x] Added `desktop_pilot_core.py` strict read-only state machine, bounded 20MiB + 1-byte file read, 500-entry/128MiB declared uncompressed ZIP cap, symlink refusal; always uses canonical `preflight_pilot_workbook`, with no DB or network.
8 4. [x] Added `desktop_pilot.py` actual native Tk window; three notebook tabs; File and Help menus; 5 implemented actions; 3 real buttons; 5 keyboard shortcuts; disabled validation until selection; issue table with fields/sheet/row/code; explicit no-approval banner. `--self-test` tests headlessly, `--ui-smoke` runs a real Tk process and invokes every menu/button + all 3 tabs in synthetic fixture. Neither is genuine pixel-level accessibility or financial E2E coverage.
9 5. [x] Added `backend/desktop/aram_pilot_entry.py`, `build_windows_exe.ps1`, README and `.github/workflows/desktop-windows-ci.yml`. Windows x64 CI installs PyInstaller, tests controller, builds **unsigned, unreleased** `AramPilot-UNRELEASED.exe`, invokes frozen `--self-test` and `--ui-smoke`, uploads 7-day PR-only inspection artifact. **No Windows EXE success or downloadable artifact may be claimed before actual remote logs/artifact inspection.**
10 6. [x] Added synthetic tests for ZIP metadata expansion and invalid symlinks; improved Windows smoke to navigate **all three tabs**, check shortcut registration, press all 3 native buttons, invoke every File/Help action. Never call an inert placeholder a functional financial feature.
11 7. [ ] Verify all GitHub Actions actual exact-code-head test outcomes, diagnose and fix failing test/build/smoke, then update spec, project status/ADR/log/handoff, finally re-run exact-last-head CI. Validate allowlist and no unrelated changes.
12 8. [ ] Independent non-author technical, accounting and Windows QA review; actual clean Windows 10/11 VM install, MS UI automation full physical clicking/keyboard, DPI, RTL and screen readers, real production acceptance data/IdP, reconciled finance statement engine and safe signing/release path. No merger without real C1/C2/C3.
13
14 ## Only allowed file changes
15
16 - NEW `backend/src/aram_backend/desktop_pilot_core.py`
17 - NEW `backend/src/aram_backend/desktop_pilot.py`
18 - NEW `backend/tests/test_desktop_pilot.py`
19 - NEW `backend/desktop/aram_pilot_entry.py`, `backend/desktop/build_windows_exe.ps1`, `backend/desktop/README.md`
20 - NEW `.github/workflows/desktop-windows-ci.yml` (explicit Windows tests and unsigned artifact)
21 - NEW focused spec/plan
22 - APPEND ONLY `PROJECT_STATUS.md`, `docs/DECISION_LOG.md`, `docs/PROJECT_LOG.md` and `docs/handoff/LATEST_HANDOFF.md`
23
24 No edits to root quarantined `index.html`, `data/`, samples/templates, canonical XLSX/PDF, production/customer DB, financial values, previous migrations, credentials, accepted branch, dependency constraints, binaries, ZIP or official release. PyInstaller is installed **only by Windows CI**, not committed binary and not a production signing process.
25
26 ## Rollback and blocker
27
28 Before merge, close unmerged Draft #59. The new CI artifact has 7-day expiry and is unsigned/UNRELEASED; deleting artifact does not undo a repo merge. No DB migration added here. If ever merged after genuine reviewers, a separate documented revert removes new desktop modules/workflow without touching source data. End-user accounting features remain blocked until financial engines, identity/permissions and independent reviewer governance are accepted.