codex/aram-clean-reference-year-integrity-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 118 lines 12.4 KB
Rendered Raw
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 | VERIFIED_AND_MERGED | [PR #21](https://github.com/davoodmehraban89/Aram/pull/21), merged 2026-08-27; squash commit `7dc864fd032f0c4ae4d650d89304a01286a6d914`; [accepted-head CI](https://github.com/davoodmehraban89/Aram/actions/runs/33063001065) succeeded with 67 tests |
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 - PR #21 is accepted and protects fiscal-year/company identity. A follow-up audit reproduced moving year-owned records out of protected years and relationship-based cross-year statement-note links; the focused candidate on `codex/v1-year-isolation-followup-20261023` addresses these gaps but is not accepted yet.
68 - Accepted PR #21 rejects targetless/hierarchy-invalid mappings and declared closing-delta mismatches; these previously recorded candidate risks are resolved.
69 - The accepted root `index.html` is an explicit quarantine page. A real Pilot UI remains unimplemented.
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 ## Current focused follow-up — 2026-10-23
76
77 - Base verified against GitHub: `source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914`.
78 - Candidate branch: `codex/v1-year-isolation-followup-20261023`; status `IN_PROGRESS`, not accepted.
79 - Scope: original/proposed fiscal-year ownership checks, effective relationship/FK validation, and focused regression tests. No schema, dependency, workflow, canonical-data or release changes.
80 - Local evidence: 110 tests passed, one existing third-party deprecation warning; isolated Alembic upgrade/downgrade, compilation and whitespace checks passed.
81 - RED evidence: original ownership regressions reproduced 22 missing rejections; reference-resolution regressions reproduced seven missing rejections before their respective fixes.
82 - Independent local review found one pending-explicit-ID parent gap, addressed with eight additional direct-FK tests; four reproduced the missing behavior before the fix.
83 - Graph-wide changes involving clean referencing records, expired fiscal-year lifecycle/same-flush behavior, and bulk/raw/concurrent writes are not certified by this focused ORM fix and require separate release gates.
84 - Published Draft [PR #32](https://github.com/davoodmehraban89/Aram/pull/32), initial reviewed-code head `75f82fcbfa2d9745d4c8e358979fe4fe754a82b6`. [Backend CI](https://github.com/davoodmehraban89/Aram/actions/runs/39959519926) succeeded on that head. This subsequent documentation-only reconciliation still requires final-head CI verification and independent remote acceptance; the PR remains unmerged.
85 - Draft PRs #22–31 exist as of this inspection; Gate 3 candidates are active but remain unaccepted. Their older descriptions may predate current CI results.
86
87 ## Next action
88
89 1. Independently review the focused isolation follow-up and its final remote CI before accepting it; the implementation author must not self-merge.
90 2. Reconcile PR #22 documentation and PR #26/27 mapping candidates with the safety fix. Existing drafts do not yet implement the requested persisted old/new preview, user approval, identical-input coalescing or full account/dimension identity.
91 3. Continue the owner-requested read-only Peyvast SQL Server integration and governed DB/Excel mapping design. The customer installation version, schema, supported interface and access remain unverified; no live connector or financial reconciliation is claimed.
92
93 ## Pending child safety fix — 2026-10-30
94
95 - Draft [PR #35](https://github.com/davoodmehraban89/Aram/pull/35) is stacked on unmerged PR #32 at `28d1c57882ec20fc17c2c133bbe62ff56e12973f`; neither is accepted or merged.
96 - Scope: reject simultaneous Draft→Approved fiscal-year transition and mutations/new registrations within that year's ORM Session; reject same-flush Company edits. Separate Draft edit followed by approval remains valid.
97 - Code/testing candidate `f5f9257563f382f6663bc7b1eb0433a43482e9fd`: [Backend CI run 41059384195](https://github.com/davoodmehraban89/Aram/actions/runs/41059384195) completed successfully, 120 passed, one warning; migration round-trip and compile passed. Later documentation-only SHA must be checked anew.
98 - Scope limitations remain: raw/bulk SQL, external database writers, concurrency, graph-wide parent moves and database-level integrity are **not** certified or fixed here.
99 - Do not treat the pending ORM fix as V1 financial release acceptance. All independent controls and parent merge/rebase gates remain mandatory.
100
101 ## Pending graph-wide isolation follow-up — 2026-10-30
102
103 - Stacked Draft [PR #41](https://github.com/davoodmehraban89/Aram/pull/41) is based on unmerged PR #35 at `dab37e544e441a6111d7e88a53bae4d193f10de2`; PR #35 depends on unmerged PR #32. No acceptance or merge is claimed.
104 - Scope: detect Draft `NoteDefinition` or `FinancialStatement` year moves that would leave unmodified `MappingRule` or `StatementLine` references crossing fiscal years. Allow valid coordinated Draft moves and reference retargeting.
105 - RED test-only commit `0994232dfb48eac4d448cf4ea09b8ba770ae0cf0`: [Backend CI 41060564954](https://github.com/davoodmehraban89/Aram/actions/runs/41060564954): **6 failed, 123 passed**. These failures reproduced the clean-reference bypass.
106 - GREEN code-plus-regressions commit `78ff0dd5a8ee35b621ae901be39f6a11d37ea063`: [Backend CI 41060899585](https://github.com/davoodmehraban89/Aram/actions/runs/41060899585): **132 passed, 1 warning**, Alembic upgrade/downgrade and compile passed. Later documentation commits must have exact-head CI independently verified.
107 - Limits: only affected existing references are scanned at ORM before-flush time. Database-level raw/bulk/concurrent enforcement, all races, performance at scale and provider-level constraints remain unverified.
108 - Protected financial sources, `data/`, customer databases, migrations, dependencies, workflows, builds and releases were not modified. C1/C2/C3 independent approvals are pending. Draft/unmerged.
109
110 ## Control documents
111
112 - [Project log](docs/PROJECT_LOG.md)
113 - [Decision log](docs/DECISION_LOG.md)
114 - [Acceptance policy](docs/ACCEPTANCE_POLICY.md)
115 - [Jules task template](docs/JULES_TASK_TEMPLATE.md)
116 - [Master recovery prompt](docs/handoff/MASTER_RECOVERY_PROMPT.md)
117 - [Latest handoff snapshot](docs/handoff/LATEST_HANDOFF.md)
118 - [Saveable ChatGPT bootstrap prompt](docs/handoff/CHATGPT_BOOTSTRAP_PROMPT.txt)