feat/gate3-package9-isolated-20261103
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
| 1 | # Aram Project Status |
| 2 | |
| 3 | > Canonical status entry point. Update this file in every meaningful pull request. Always fetch the live accepted-branch head before acting; a committed snapshot is not a substitute for GitHub remote evidence. |
| 4 | |
| 5 | ## Repository baseline |
| 6 | |
| 7 | - Repository: [davoodmehraban89/Aram](https://github.com/davoodmehraban89/Aram) |
| 8 | - Accepted branch: source-data-cleanup |
| 9 | - Recorded accepted control event: [PR #18](https://github.com/davoodmehraban89/Aram/pull/18), reviewed head `fcbeb7387218e9ab294318ae462ed59de717fc95`, squash merge [f213d321ff4cd7d3d6fa65ba78dc48f090ee846b](https://github.com/davoodmehraban89/Aram/commit/f213d321ff4cd7d3d6fa65ba78dc48f090ee846b) |
| 10 | - Durable post-merge acceptance record: [PR #19](https://github.com/davoodmehraban89/Aram/pull/19), reviewed head `b9059592409606a0a4f11a71c30778cff158b6b6`, squash merge [77f9f595ccfe67a87b11024ff0f6143629dba438](https://github.com/davoodmehraban89/Aram/commit/77f9f595ccfe67a87b11024ff0f6143629dba438) |
| 11 | - Before starting new work, fetch the live `source-data-cleanup` head; this record intentionally avoids a self-referential current-head claim |
| 12 | - Product objective: a controlled, auditable accounting and financial-statement workflow that preserves canonical source data. |
| 13 | |
| 14 | ## Status vocabulary |
| 15 | |
| 16 | | State | Meaning | |
| 17 | |---|---| |
| 18 | | VERIFIED_AND_MERGED | Present on the accepted branch with Git evidence. | |
| 19 | | VERIFIED_BUT_UNMERGED | Present in a remote commit or PR, but not accepted. | |
| 20 | | PRESENT_BUT_UNVERIFIED | Present, but required tests or evidence are missing. | |
| 21 | | CLAIMED_BUT_NOT_PROVEN | Reported by an actor, with no sufficient GitHub evidence. | |
| 22 | | NOT_IMPLEMENTED | Required capability is absent. | |
| 23 | | IN_PROGRESS | Work is in an open PR and is not accepted. | |
| 24 | | BLOCKED | Work cannot proceed until the recorded blocker is resolved. | |
| 25 | |
| 26 | ## Verified state |
| 27 | |
| 28 | | Area | State | Evidence / note | |
| 29 | |---|---|---| |
| 30 | | Phase 1B-1 source inventory | VERIFIED_AND_MERGED | [PR #1](https://github.com/davoodmehraban89/Aram/pull/1) | |
| 31 | | Phase 1B-2 audit corrections | VERIFIED_AND_MERGED | [PR #4](https://github.com/davoodmehraban89/Aram/pull/4) | |
| 32 | | Phase 2A backend foundation | VERIFIED_AND_MERGED | [PR #6](https://github.com/davoodmehraban89/Aram/pull/6) | |
| 33 | | One-file model refactor | VERIFIED_AND_MERGED | [PR #8](https://github.com/davoodmehraban89/Aram/pull/8) | |
| 34 | | Project-control foundation | VERIFIED_AND_MERGED | [PR #10](https://github.com/davoodmehraban89/Aram/pull/10) | |
| 35 | | Phase 2B ingestion foundation | VERIFIED_AND_MERGED | [PR #12](https://github.com/davoodmehraban89/Aram/pull/12), squash merge 7b5bd79b760d534dad34b3162f770e838616ebe9 | |
| 36 | | Phase 2B control reconciliation | VERIFIED_AND_MERGED | [PR #13](https://github.com/davoodmehraban89/Aram/pull/13), squash merge 7c7533ee87146dc8fc78b46ebf423be55532c7eb | |
| 37 | | Gate 2A Pilot workbook contract/preflight | VERIFIED_AND_MERGED | [PR #15](https://github.com/davoodmehraban89/Aram/pull/15), reviewed head 74b6a6397a2a2c9199a5c7bcf818bb661b2ebe06, squash merge 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4, [Backend CI #24](https://github.com/davoodmehraban89/Aram/actions/runs/32712900800) | |
| 38 | | V1-01 safety-gate hardening | IN_PROGRESS | Draft [PR #21](https://github.com/davoodmehraban89/Aram/pull/21) from exact base `b1ddee87d31ee73b3a5aeac8f9953d0a604c206a`; independently reviewed implementation head `700d800dbd9c657f6bd510faafedcbde4847fafd`; CI-verified stabilized candidate `b3dc8b3a18934ffe63f615e4f650248be21a5f9c`; [Backend CI #39](https://github.com/davoodmehraban89/Aram/actions/runs/33015277194) succeeded with 67 tests, migration round-trip, and compile after broadening one reparent-rejection assertion to accept either valid protection message; code, scope, and protected-data boundary remain unchanged; final independent acceptance is pending this durable-document reconciliation | |
| 39 | | Post-Gate-2A control reconciliation | VERIFIED_AND_MERGED | [PR #18](https://github.com/davoodmehraban89/Aram/pull/18), reviewed head `fcbeb7387218e9ab294318ae462ed59de717fc95`, squash merge `f213d321ff4cd7d3d6fa65ba78dc48f090ee846b`; documentation only | |
| 40 | | Durable post-merge acceptance record | VERIFIED_AND_MERGED | [PR #19](https://github.com/davoodmehraban89/Aram/pull/19), reviewed head `b9059592409606a0a4f11a71c30778cff158b6b6`, squash merge `77f9f595ccfe67a87b11024ff0f6143629dba438`; documentation only | |
| 41 | | Role-based project operating model | VERIFIED_AND_MERGED | Permanent responsibilities and current assignments are defined in `docs/handoff/MASTER_RECOVERY_PROMPT.md` and ADR-011; introduced through [PR #20](https://github.com/davoodmehraban89/Aram/pull/20) | |
| 42 | | Parallel V1 prototype | VERIFIED_BUT_UNMERGED | Closed, unmerged [PR #7](https://github.com/davoodmehraban89/Aram/pull/7); reference/recovery source only | |
| 43 | | Superseded Phase 2B candidate | VERIFIED_BUT_UNMERGED | Closed, unmerged [PR #9](https://github.com/davoodmehraban89/Aram/pull/9) | |
| 44 | | Duplicate Gate 2A candidate | VERIFIED_BUT_UNMERGED | [PR #16](https://github.com/davoodmehraban89/Aram/pull/16) closed without merge on 2026-08-25; no content accepted | |
| 45 | | Gate 2B Mapping foundation candidate | VERIFIED_BUT_UNMERGED | [PR #17](https://github.com/davoodmehraban89/Aram/pull/17) closed without merge on 2026-08-25; stale-base reference only; no content accepted | |
| 46 | | Official V1 release | NOT_IMPLEMENTED | No accepted tag, release, retained release artifact, ZIP, or EXE | |
| 47 | | Comprehensive Mapping Excel import/export | NOT_IMPLEMENTED | Mandatory before V1 acceptance | |
| 48 | | Unknown-account queue and mapping carry-forward | NOT_IMPLEMENTED | Mandatory before V1 acceptance | |
| 49 | | Note and sub-note mapping workflow/UI | NOT_IMPLEMENTED | Mandatory before V1 acceptance | |
| 50 | | Minimal Pilot application and reviewable output | NOT_IMPLEMENTED | Required before packaging | |
| 51 | | Reproducible Windows package and clean-environment test | NOT_IMPLEMENTED | Required before V1 acceptance | |
| 52 | |
| 53 | ## Accepted product capabilities |
| 54 | |
| 55 | - Read-only source inventory and workbook audit evidence. |
| 56 | - Persistent backend/data-model foundation with fiscal-year mutation controls. |
| 57 | - Metadata-only source registration, structural XLSX inspection, and typed in-memory ledger parsing. |
| 58 | - Governed Pilot workbook v0.1 contract, reproducible blank template generator, and deterministic read-only preflight. |
| 59 | - Approved Pilot template path: samples/Aram_Pilot_Input_and_Mapping_Template_v0.1.xlsx. |
| 60 | - Independently verified template SHA-256: e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f. |
| 61 | |
| 62 | The accepted branch does not include PR #7 desktop/release work, PR #16 alternate Pilot implementation, or PR #17 Mapping implementation. Green CI on an unmerged stale-base PR is not acceptance evidence. |
| 63 | |
| 64 | ## Current risks and blockers |
| 65 | |
| 66 | - The accepted branch is not protected by GitHub branch protection. |
| 67 | - The accepted branch still permits direct identity mutation/deletion of approved or locked fiscal years and parent-company deletion; the V1-01 candidate fixes this but is not accepted yet. |
| 68 | - The accepted Pilot preflight can still accept targetless or structurally invalid mappings and can ignore a declared closing-delta mismatch; the V1-01 candidate fixes this but is not accepted yet. |
| 69 | - The accepted root `index.html` is still a disconnected hard-coded prototype; the V1-01 candidate replaces it with an explicit quarantine page. |
| 70 | - PR #17 was closed without merge; its stale-base 12-file diff is reference material only, and its narrative listed only 9 files. |
| 71 | - PR #17 CI was green on its own stale head, but compatibility with accepted Gate 2A was never proven. |
| 72 | - Binary execution, release provenance, and clean Windows verification do not exist. |
| 73 | - Mapping, notes/sub-notes, Pilot UI, and end-to-end user acceptance remain incomplete. |
| 74 | |
| 75 | ## Next approved action |
| 76 | |
| 77 | 1. Publish this two-file durable-document reconciliation on Draft PR #21; [Backend CI #39](https://github.com/davoodmehraban89/Aram/actions/runs/33015277194) succeeded on stabilized candidate `b3dc8b3a18934ffe63f615e4f650248be21a5f9c` with 67 tests, migration round-trip, and compile. |
| 78 | 2. The independent reviewer re-fetches the resulting documentation-only head, confirms that its comparison with `b3dc8b3a18934ffe63f615e4f650248be21a5f9c` changes only `PROJECT_STATUS.md` and `docs/handoff/LATEST_HANDOFF.md`, verifies the final workflow result, then marks the PR ready and squash-merges it. |
| 79 | 3. Only after V1-01 is accepted, start the first focused Gate 3 Mapping import/persistence task from the new accepted head. |
| 80 | |
| 81 | ## Control documents |
| 82 | |
| 83 | - [Project log](docs/PROJECT_LOG.md) |
| 84 | - [Decision log](docs/DECISION_LOG.md) |
| 85 | - [Acceptance policy](docs/ACCEPTANCE_POLICY.md) |
| 86 | - [Jules task template](docs/JULES_TASK_TEMPLATE.md) |
| 87 | - [Master recovery prompt](docs/handoff/MASTER_RECOVERY_PROMPT.md) |
| 88 | - [Latest handoff snapshot](docs/handoff/LATEST_HANDOFF.md) |
| 89 | - [Saveable ChatGPT bootstrap prompt](docs/handoff/CHATGPT_BOOTSTRAP_PROMPT.txt) |
| 90 | |
| 91 | |
| 92 | ## 2026-11-01 — Gate 3 current review status (supersedes older Gate 3 status above) |
| 93 | - Candidate: Draft PR #82 on feat/gate3-governed-mapping-20261101, based on source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914. |
| 94 | - Local Gate 3 implementation includes scoped mapping lifecycle, SQLite state/audit, optimistic concurrency, Pilot workbook roundtrip and unknown-account queue. |
| 95 | - Package 3 hardening adds separation of maker/reviewer/approver and validation that persisted mapping state agrees with append-only audit transitions. |
| 96 | - Three sequential self-audit passes documented at docs/GATE3_REVIEW_82.md; independent GitHub reviewers have not signed off. |
| 97 | - Status: CHANGES REQUESTED; Gate 3 is not formally accepted. No merge or release. |
| 98 | - Unresolved: authenticated identity and authorization, privileged-database tamper resistance, independent review, operational recovery drill, mapping ambiguity and real-data acceptance. |
| 99 | - Rollback: revert isolated PR commits; accepted base and canonical financial source files remain untouched. |
| 100 | |
| 101 | ## 2026-11-01 — Gate 3 Package 4 (supersedes earlier Gate 3 summaries) |
| 102 | - Isolated branch and Draft PR #82; accepted base source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged. |
| 103 | - New security facade: role/scope checks with injected trusted identity resolver; NOT connected to production API/IdP. |
| 104 | - New integrity verification and consistent SQLite backup-to-fresh-file test; no external tamper-evident audit anchor. |
| 105 | - Conservative ambiguity assessment; Excel hierarchy/notes roundtrip fixes; no real-ledger reconciliation claimed. |
| 106 | - Review evidence: docs/GATE3_PACKAGE4_REVIEW.md (three self-review perspectives, not independent reviewers). |
| 107 | - Formal Gate 3 status: CHANGES REQUESTED; PR must remain Draft. Do not merge/release/start Gate 4 implementation before independent acceptance. |
| 108 | - Remaining blockers: independent reviewer approval, API/IdP authorization integration, external audit integrity, authorized financial reconciliation and operational recovery evidence. |
| 109 | |
| 110 | ## 2026-11-01 — Gate 3 Package 5 (current status) |
| 111 | - Branch feat/gate3-governed-mapping-20261101; PR #82 remains Draft; base source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914 unchanged. |
| 112 | - Protected mapping HTTP endpoints added; server-only resolver required and absent by default (fail closed). No real production IdP integration is claimed. |
| 113 | - SHA-256 per-event audit chain and externally verifiable receipt support added. No separately protected receipt anchor configured; privileged tampering remains possible. |
| 114 | - Synthetic HTTP, audit tamper, backup/restore and financial mapping tests added; no authorized real financial data or production DR drill performed. |
| 115 | - Three perspective-based self-audits, NOT three independent reviewers. See docs/GATE3_PACKAGE5_ACCEPTANCE.md. |
| 116 | - Decision: NO-GO / CHANGES REQUESTED. Do not merge, release or begin Gate 4 until policy prerequisites satisfied. |
| 117 | |
| 118 | ## 2026-11-01 — Gate 3 Package 6 (latest) |
| 119 | - Branch feat/gate3-governed-mapping-20261101, PR #82 Draft, base source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914. |
| 120 | - Fail-closed resolver exceptions and separate-directory experimental audit receipt archive with exclusive creation, fsync, verification and tamper tests. |
| 121 | - Full local backend suite, scoped Ruff and CI evidence are in PR #82; see docs/GATE3_PACKAGE6_FINAL.md for final acceptance matrix. |
| 122 | - Three self-audit perspectives are not independent reviewers. Real IdP, protected external anchor, authorized financial reconciliation, operational DR drill and independent signoffs remain external prerequisites. |
| 123 | - **NO-GO — Gate 3 NOT accepted.** No Merge, Release, production data edits or Gate 4 implementation. |
| 124 | |
| 125 | ## 2026-11-01 — Gate 3 Package 7: closure dossier (latest) |
| 126 | - Initial feature SHA 1856de1beaf32073932a4d9c17b6364438a603e1, approved base source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914, PR #82 Draft, working tree clean. |
| 127 | - All 98 backend tests passed locally. No production identity provider, independently protected audit receipt repository, approved real-ledger reconciliation, staging DR evidence or independent PR review was available. |
| 128 | - Closure dossier and reviewer signoff checklist: docs/GATE3_PACKAGE7_CLOSURE_DOSSIER.md. |
| 129 | - **Formal decision: NO-GO / CHANGES REQUESTED.** Assistant's technical work package closes; Gate 3 remains blocked on named external owners. No further assistant-only packages without new evidence or verified defect. |
| 130 | - No Merge, Release, canonical data changes or Gate 4 implementation. |
| 131 | |
| 132 | |
| 133 | ## 2026-11-03 — Package 8 local execution update |
| 134 | - Local Windows worktree on `feat/gate3-governed-mapping-20261101`, HEAD `9d346f098a0a2159d96080715322879b08d9a1f8`; existing changes preserved and not published. |
| 135 | - Local authentication prototype now has bounded lockout, session cap, thread safety, expiry pruning, revoke-all and role allow-list; still not wired to API and not a production identity service. |
| 136 | - Ruff added to test extra and CI workflow; local Ruff, backend pytest, compileall, pip check, diff check and SQLite Alembic upgrade/downgrade round-trip passed. |
| 137 | - PR #82 remains Draft / NO-GO; no independent reviews. New local changes have not yet been committed or run in remote CI. |
| 138 | - Remaining mandatory blockers: trusted IdP/provisioning, independent immutable audit anchor, protected recoverable key custody and scheduled backup retention, authorized finance reconciliation, witnessed staging RPO/RTO drill, independent reviewer approval. |
| 139 | - No canonical financial data changed; no commit, push, merge or release performed. See `docs/PROJECT_LOG.md` for execution detail. |