docs(control): reconcile Gate 2A acceptance and stale work (#18)
Accept the documentation-only control reconciliation after final remote review and explicit repository-owner authorization. Records PR #15 acceptance, PR #16 and #17 closure without merge, Issue #14 completion, Issue #11 roadmap reconciliation, and the canonical latest-handoff path. No application code, protected financial data, binary, artifact, or release file changed.
davoodmehraban89 committed
Aug 25, 2026 at 10:16 UTC
f213d321ff4cd7d3d6fa65ba78dc48f090ee846b
4 files changed
+135
-71
PROJECT_STATUS.md
+50
-33
@@ -1,59 +1,76 @@
1
# Aram Project Status
2
3
-> Canonical status entry point. Update this file in every meaningful pull request.
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
-- Accepted baseline commit: [`7c7533ee87146dc8fc78b46ebf423be55532c7eb`](https://github.com/davoodmehraban89/Aram/commit/7c7533ee87146dc8fc78b46ebf423be55532c7eb)
8
+- Accepted branch: source-data-cleanup
9
+- Last independently verified accepted branch head before the active control candidate: [4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4](https://github.com/davoodmehraban89/Aram/commit/4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4)
10
+- Active documentation-only control candidate: Draft [PR #18](https://github.com/davoodmehraban89/Aram/pull/18), based exactly on 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
11
- Product objective: a controlled, auditable accounting and financial-statement workflow that preserves canonical source data.
12
13
## Status vocabulary
14
15
| State | Meaning |
16
|---|---|
16
-| `VERIFIED_AND_MERGED` | Present on the accepted branch with Git evidence. |
17
-| `VERIFIED_BUT_UNMERGED` | Present in a remote commit or PR, but not accepted. |
18
-| `PRESENT_BUT_UNVERIFIED` | Present, but required tests or evidence are missing. |
19
-| `CLAIMED_BUT_NOT_PROVEN` | Reported by an actor, with no sufficient GitHub evidence. |
20
-| `NOT_IMPLEMENTED` | Required capability is absent. |
21
-| `IN_PROGRESS` | Work is in an open PR and is not accepted. |
22
-| `BLOCKED` | Work cannot proceed until the recorded blocker is resolved. |
17
+| VERIFIED_AND_MERGED | Present on the accepted branch with Git evidence. |
18
+| VERIFIED_BUT_UNMERGED | Present in a remote commit or PR, but not accepted. |
19
+| PRESENT_BUT_UNVERIFIED | Present, but required tests or evidence are missing. |
20
+| CLAIMED_BUT_NOT_PROVEN | Reported by an actor, with no sufficient GitHub evidence. |
21
+| NOT_IMPLEMENTED | Required capability is absent. |
22
+| IN_PROGRESS | Work is in an open PR and is not accepted. |
23
+| BLOCKED | Work cannot proceed until the recorded blocker is resolved. |
24
25
## Verified state
26
27
| Area | State | Evidence / note |
28
|---|---|---|
28
-| Phase 1B-1 source inventory | `VERIFIED_AND_MERGED` | [PR #1](https://github.com/davoodmehraban89/Aram/pull/1) |
29
-| Phase 1B-2 audit corrections | `VERIFIED_AND_MERGED` | [PR #4](https://github.com/davoodmehraban89/Aram/pull/4) |
30
-| Phase 2A backend foundation | `VERIFIED_AND_MERGED` | [PR #6](https://github.com/davoodmehraban89/Aram/pull/6) |
31
-| Project control refactor | `VERIFIED_AND_MERGED` | [PR #10](https://github.com/davoodmehraban89/Aram/pull/10) |
32
-| One-file model refactor | `VERIFIED_AND_MERGED` | [PR #8](https://github.com/davoodmehraban89/Aram/pull/8) |
33
-| Phase 2B ingestion foundation | `VERIFIED_AND_MERGED` | [PR #12](https://github.com/davoodmehraban89/Aram/pull/12), squash merge `7b5bd79b760d534dad34b3162f770e838616ebe9` |
34
-| Phase 2B control reconciliation | `VERIFIED_AND_MERGED` | [PR #13](https://github.com/davoodmehraban89/Aram/pull/13), squash merge `7c7533ee87146dc8fc78b46ebf423be55532c7eb` |
35
-| Gate 2A Pilot workbook contract/preflight | `IN_PROGRESS` | Draft [PR #15](https://github.com/davoodmehraban89/Aram/pull/15); Backend CI run #23 passed with 52 tests |
36
-| Parallel V1 prototype | `VERIFIED_BUT_UNMERGED` | Closed, unmerged [PR #7](https://github.com/davoodmehraban89/Aram/pull/7); reference/recovery source only |
37
-| PR #7 test/release claims | `CLAIMED_BUT_NOT_PROVEN` | No independent acceptance evidence recorded |
38
-| Official V1 release | `NOT_IMPLEMENTED` | No accepted user-ready release |
39
-| Comprehensive Mapping Excel import/export | `NOT_IMPLEMENTED` | Mandatory before V1 acceptance |
40
-| Note and sub-note mapping workflow/UI | `NOT_IMPLEMENTED` | Mandatory before V1 acceptance |
41
-
42
-The accepted branch does not include PR #7's `desktop/`, `dist/`, ZIP/EXE, or V1 release-documentation changes. A generated binary inside an unmerged branch is not an official release.
29
+| Phase 1B-1 source inventory | VERIFIED_AND_MERGED | [PR #1](https://github.com/davoodmehraban89/Aram/pull/1) |
30
+| Phase 1B-2 audit corrections | VERIFIED_AND_MERGED | [PR #4](https://github.com/davoodmehraban89/Aram/pull/4) |
31
+| Phase 2A backend foundation | VERIFIED_AND_MERGED | [PR #6](https://github.com/davoodmehraban89/Aram/pull/6) |
32
+| One-file model refactor | VERIFIED_AND_MERGED | [PR #8](https://github.com/davoodmehraban89/Aram/pull/8) |
33
+| Project-control foundation | VERIFIED_AND_MERGED | [PR #10](https://github.com/davoodmehraban89/Aram/pull/10) |
34
+| Phase 2B ingestion foundation | VERIFIED_AND_MERGED | [PR #12](https://github.com/davoodmehraban89/Aram/pull/12), squash merge 7b5bd79b760d534dad34b3162f770e838616ebe9 |
35
+| Phase 2B control reconciliation | VERIFIED_AND_MERGED | [PR #13](https://github.com/davoodmehraban89/Aram/pull/13), squash merge 7c7533ee87146dc8fc78b46ebf423be55532c7eb |
36
+| 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) |
37
+| Post-Gate-2A control reconciliation | IN_PROGRESS | Draft [PR #18](https://github.com/davoodmehraban89/Aram/pull/18); documentation only and unmerged |
38
+| Parallel V1 prototype | VERIFIED_BUT_UNMERGED | Closed, unmerged [PR #7](https://github.com/davoodmehraban89/Aram/pull/7); reference/recovery source only |
39
+| Superseded Phase 2B candidate | VERIFIED_BUT_UNMERGED | Closed, unmerged [PR #9](https://github.com/davoodmehraban89/Aram/pull/9) |
40
+| 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 |
41
+| 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 |
42
+| Official V1 release | NOT_IMPLEMENTED | No accepted tag, release, retained release artifact, ZIP, or EXE |
43
+| Comprehensive Mapping Excel import/export | NOT_IMPLEMENTED | Mandatory before V1 acceptance |
44
+| Unknown-account queue and mapping carry-forward | NOT_IMPLEMENTED | Mandatory before V1 acceptance |
45
+| Note and sub-note mapping workflow/UI | NOT_IMPLEMENTED | Mandatory before V1 acceptance |
46
+| Minimal Pilot application and reviewable output | NOT_IMPLEMENTED | Required before packaging |
47
+| Reproducible Windows package and clean-environment test | NOT_IMPLEMENTED | Required before V1 acceptance |
48
+
49
+## Accepted product capabilities
50
+
51
+- Read-only source inventory and workbook audit evidence.
52
+- Persistent backend/data-model foundation with fiscal-year mutation controls.
53
+- Metadata-only source registration, structural XLSX inspection, and typed in-memory ledger parsing.
54
+- Governed Pilot workbook v0.1 contract, reproducible blank template generator, and deterministic read-only preflight.
55
+- Approved Pilot template path: samples/Aram_Pilot_Input_and_Mapping_Template_v0.1.xlsx.
56
+- Independently verified template SHA-256: e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f.
57
+
58
+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.
59
60
## Current risks and blockers
61
46
-- Agent reports have previously diverged from the remote repository.
47
-- PR #7 is large, unmerged, and cannot be accepted as a single unit.
48
-- PR #12 is accepted and merged; superseded PR #9 is closed without merge.
49
-- Binary execution on a clean Windows environment has not been independently proven.
50
-- Mapping, notes, and sub-notes are incomplete for V1.
62
+- The accepted branch is not protected by GitHub branch protection.
63
+- PR #17 was closed without merge; its stale-base 12-file diff is reference material only, and its narrative listed only 9 files.
64
+- PR #17 CI was green on its own stale head, but compatibility with accepted Gate 2A was never proven.
65
+- Durable records remain a candidate until PR #18 is independently reviewed and explicitly accepted.
66
+- Binary execution, release provenance, and clean Windows verification do not exist.
67
+- Mapping, notes/sub-notes, Pilot UI, and end-to-end user acceptance remain incomplete.
68
69
## Next approved action
70
54
-1. Independently review the focused Gate 2A Draft PR implementing [Issue #14](https://github.com/davoodmehraban89/Aram/issues/14).
55
-2. Require a green full Backend CI run and verify the generated blank template checksum.
56
-3. Do not merge without a separate acceptance decision; do not revive PR #9 or merge PR #7 directly.
71
+1. Independently review the final remote head, four-file diff, and metadata of Draft PR #18.
72
+2. Merge PR #18 only after Davood gives explicit authorization following that review.
73
+3. Do not revive or merge PR #17; after control reconciliation is accepted, define a new focused Gate 2B task from the then-current accepted head.
74
75
## Control documents
76
docs/PROJECT_LOG.md
+25
@@ -186,3 +186,28 @@ Each new entry must record: UTC timestamp, actor, task/phase, base branch and SH
186
- Test evidence: 52 passed, 1 warning; Alembic upgrade/downgrade and compileall succeeded
187
- PR state: Draft, open, mergeable, and unmerged
188
- Acceptance: `IN_PROGRESS`; independent diff review and explicit merge decision remain required
189
+
190
+### 2026-08-25T06:30:00Z — Post-Gate-2A control reconciliation and stale-work cleanup
191
+
192
+- Actor: Codex successor project manager / independent GitHub reviewer; cleanup authorized by repository owner
193
+- Task/phase: reconcile accepted Gate 2A evidence, close its duplicate candidate, and block stale-base Gate 2B work before continuation
194
+- Accepted base: source-data-cleanup@4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
195
+- Working branch: codex/post-gate2a-control-reconciliation
196
+- PR: [#18](https://github.com/davoodmehraban89/Aram/pull/18), Draft and unmerged
197
+- Initial publication commit: c6eefc26955c694c388371bcfaa96452b1b5f469
198
+- Exact changed files planned/finalized: PROJECT_STATUS.md, docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md, docs/handoff/MASTER_RECOVERY_PROMPT.md
199
+- Accepted Gate 2A evidence: [PR #15](https://github.com/davoodmehraban89/Aram/pull/15), reviewed head 74b6a6397a2a2c9199a5c7bcf818bb661b2ebe06, squash merge 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
200
+- Final Gate 2A GitHub Actions: [Backend CI run #24](https://github.com/davoodmehraban89/Aram/actions/runs/32712900800), success; 52 passed, 1 warning; Alembic upgrade/downgrade and compileall succeeded
201
+- Pilot template SHA-256 independently recomputed from the accepted GitHub file: e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f
202
+- Superseded duplicate: [PR #16](https://github.com/davoodmehraban89/Aram/pull/16) closed without merge on 2026-08-25 after an evidence comment; it duplicated accepted Gate 2A, was dirty, and recorded incorrect merge SHA 35d45c3f200672a6ef97f13a84cf7c823ecf1bb8
203
+- Closed reference candidate: [PR #17](https://github.com/davoodmehraban89/Aram/pull/17), base 7c7533ee87146dc8fc78b46ebf423be55532c7eb, head 4f8648add0e2ed60f01753e979fa3fbe9ccf0f18; closed without merge on 2026-08-25 after an evidence comment; its green stale-head CI does not prove compatibility and no content is accepted
204
+- Tests for PR #18: documentation-only; backend pytest and migration execution are not applicable; final remote diff and changed-file review remain mandatory
205
+- GitHub Actions for PR #18: NOT_VERIFIED at entry creation; documentation-only paths may not trigger Backend CI
206
+- Artifacts/releases: NONE
207
+- Protected data: no application code, workflow, migration, XLSX/PDF, data/, database, financial-source, binary, ZIP, EXE, or release file changed
208
+- Acceptance: IN_PROGRESS; PR #18 is not merged and requires independent final-head review plus explicit repository-owner authorization
209
+- Reviewer: final PR #18 reviewer pending
210
+- Issue metadata: [Issue #14](https://github.com/davoodmehraban89/Aram/issues/14) closed as completed with verified PR #15 evidence; [Issue #11](https://github.com/davoodmehraban89/Aram/issues/11) updated to mark Gate 2 accepted and Gate 3 blocked pending PR #18
211
+- Recovery: close PR #18 without merge; accepted branch remains at 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
212
+- Remaining risks: branch protection is disabled; PR #17 reference work remains unaccepted; Mapping/UI/release work is incomplete
213
+- Next action: independently review Draft PR #18; do not start or merge Gate 2B work before the control decision
docs/handoff/LATEST_HANDOFF.md
+58
-36
@@ -1,44 +1,66 @@
1
# Aram — Latest Handoff Prompt
2
3
-> Current authoritative handoff snapshot: 2026-08-24 UTC
4
-> Verify every statement against GitHub before acting.
3
+> Current authoritative candidate snapshot: 2026-08-25 UTC
4
+> GitHub remote evidence remains authoritative. Fetch the live branch and PR heads before acting.
5
6
## Accepted repository state
7
8
-- Canonical branch: `source-data-cleanup`
9
-- Accepted head: `7c7533ee87146dc8fc78b46ebf423be55532c7eb`
10
-- Phase 1B-1, Phase 1B-2, Phase 2A, project controls, and Phase 2B are accepted.
11
-- PR #12 is squash-merged; PR #9 and PR #7 are closed without merge.
12
-- PR #13 is squash-merged and records the Phase 2B acceptance state.
13
-- No user-ready V1 release or EXE is accepted or proven.
14
-
15
-## Active focused candidate
16
-
17
-- Roadmap: https://github.com/davoodmehraban89/Aram/issues/11
18
-- Task: https://github.com/davoodmehraban89/Aram/issues/14
19
-- Base: `source-data-cleanup@7c7533ee87146dc8fc78b46ebf423be55532c7eb`
20
-- Branch: `codex/gate-2a-pilot-workbook`
21
-- Draft PR: https://github.com/davoodmehraban89/Aram/pull/15
22
-- Candidate scope: governed blank Pilot workbook v0.1, reproducible generator,
23
- human-readable contract, deterministic read-only preflight, focused tests,
24
- and required project-control updates.
25
-- Template path: `samples/Aram_Pilot_Input_and_Mapping_Template_v0.1.xlsx`
26
-- Template SHA-256:
27
- `e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f`
28
-- Local evidence: nine focused validation scenarios and compileall passed.
29
-- Remote evidence: Backend CI run #23 passed with 52 tests and one warning;
30
- Alembic upgrade/downgrade and compileall succeeded:
31
- https://github.com/davoodmehraban89/Aram/actions/runs/32712716962
32
-- Acceptance remains pending independent diff review and an explicit merge decision.
33
-
34
-## Safety boundary
35
-
36
-The candidate must remain a Draft and unmerged. It does not persist workbook
37
-bytes or financial values, execute mappings, calculate statements, modify
38
-canonical XLSX/PDF or `data/`, or create desktop/release/ZIP/EXE artifacts.
8
+- Repository: davoodmehraban89/Aram
9
+- Canonical branch: source-data-cleanup
10
+- Last independently verified accepted head before the active control candidate: 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
11
+- That commit is the squash merge of accepted [PR #15](https://github.com/davoodmehraban89/Aram/pull/15).
12
+- Earlier accepted work includes PR #1, #4, #6, #8, #10, #12, and #13.
13
+- PR #7, PR #9, PR #16, and PR #17 are closed without merge and contribute no accepted code.
14
+- [Issue #14](https://github.com/davoodmehraban89/Aram/issues/14) is completed; [Issue #11](https://github.com/davoodmehraban89/Aram/issues/11) records Gate 2 accepted and Gate 3 blocked pending PR #18.
15
+- No user-ready V1 release, tag, ZIP, EXE, or retained release artifact is accepted or proven.
16
+
17
+## Accepted Gate 2A evidence
18
+
19
+- PR: https://github.com/davoodmehraban89/Aram/pull/15
20
+- Base: source-data-cleanup@7c7533ee87146dc8fc78b46ebf423be55532c7eb
21
+- Reviewed PR head: 74b6a6397a2a2c9199a5c7bcf818bb661b2ebe06
22
+- Squash merge: 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
23
+- Final GitHub Actions: https://github.com/davoodmehraban89/Aram/actions/runs/32712900800
24
+- CI conclusion: success; 52 passed, 1 warning; Alembic upgrade/downgrade and compileall succeeded.
25
+- Accepted capabilities: governed Pilot workbook v0.1 contract, approved blank template, reproducible generator, and deterministic read-only in-memory preflight.
26
+- Template path: samples/Aram_Pilot_Input_and_Mapping_Template_v0.1.xlsx
27
+- Independently recomputed SHA-256: e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f
28
+- Protected boundary: PR #15 changed no canonical XLSX/PDF, data/, database, financial-source, workflow, migration, desktop/release, ZIP, or EXE path.
29
+
30
+## Active control candidate
31
+
32
+- Draft PR: https://github.com/davoodmehraban89/Aram/pull/18
33
+- Branch: codex/post-gate2a-control-reconciliation
34
+- Required base: source-data-cleanup@4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
35
+- Scope: PROJECT_STATUS.md, append-only docs/PROJECT_LOG.md, docs/handoff/LATEST_HANDOFF.md, and the stale-path correction in docs/handoff/MASTER_RECOVERY_PROMPT.md.
36
+- Application code, tests, workflows, migrations, workbook content, financial data, artifacts, and releases are excluded.
37
+- PR #18 remains Draft and unmerged. Its final remote head and four-file diff must be fetched and independently reviewed.
38
+
39
+## Closed superseded work
40
+
41
+- PR #16 was closed without merge on 2026-08-25.
42
+- It duplicated accepted PR #15, was based on stale head 7c7533ee87146dc8fc78b46ebf423be55532c7eb, had mergeable_state dirty, and recorded the incorrect merge SHA 35d45c3f200672a6ef97f13a84cf7c823ecf1bb8.
43
+- No file or claim from PR #16 is accepted.
44
+
45
+## Closed Gate 2B reference
46
+
47
+- PR: https://github.com/davoodmehraban89/Aram/pull/17
48
+- Base: source-data-cleanup@7c7533ee87146dc8fc78b46ebf423be55532c7eb
49
+- Head: 4f8648add0e2ed60f01753e979fa3fbe9ccf0f18
50
+- Final state after cleanup: closed without merge on 2026-08-25; it was non-Draft, unmerged, and mergeable_state dirty before closure.
51
+- GitHub reports 12 changed files although the PR narrative names only 9.
52
+- Backend CI run #31 succeeded with 51 tests, but it ran on the stale branch head and does not prove compatibility with accepted Gate 2A.
53
+- The Mapping code in PR #17 is not accepted. Do not reopen, revive, or merge that PR.
54
+- Comprehensive Mapping Excel import/export, carry-forward, unknown-account queue, note/sub-note mapping, management UI, reproducible Windows packaging, and end-to-end Pilot acceptance remain unimplemented.
55
+
56
+## Governance and release reality
57
+
58
+- GitHub remote evidence outranks this snapshot and every agent report.
59
+- The accepted branch is currently unprotected; explicit review discipline is therefore mandatory.
60
+- There are no accepted Git tags or GitHub Releases.
61
+- Canonical financial XLSX/PDF and source data remain protected.
62
+- Green CI on an unmerged PR is not acceptance evidence.
63
64
## Single next action
65
42
-Fetch Draft PR #15 and its exact head, review all changed files against the
43
-base, and verify the final head CI. Correct only failures caused by Issue #14.
44
-Do not start Gate 3 and do not merge without a separate acceptance decision.
66
+Fetch Draft PR #18, verify its final head, exact four-file diff, Draft/unmerged state, protected-data boundary, and any GitHub checks. Record one explicit decision. Do not start Gate 2B or revive PR #17 until that control decision is complete.
docs/handoff/MASTER_RECOVERY_PROMPT.md
+2
-2
@@ -1,6 +1,6 @@
1
# Aram — Master Recovery Prompt
2
3
-این فایل پرامپت دائمی بازیابی پروژه است. متن داخل بخش «COPY FROM HERE» را بدون تغییر به ChatGPT یا عامل جدید بدهید. این فایل ثابت میماند؛ وضعیت روز پروژه در فایل `ARAM_LATEST_HANDOFF_PROMPT.md` قرار دارد.
3
+این فایل پرامپت دائمی بازیابی پروژه است. متن داخل بخش «COPY FROM HERE» را بدون تغییر به ChatGPT یا عامل جدید بدهید. این فایل ثابت میماند؛ وضعیت روز پروژه در فایل `docs/handoff/LATEST_HANDOFF.md` قرار دارد.
4
5
---
6
@@ -40,7 +40,7 @@ If GitHub access is available:
40
- `docs/ACCEPTANCE_POLICY.md`
41
- `docs/JULES_TASK_TEMPLATE.md`
42
- `.github/pull_request_template.md`
43
-4. Then read the newest `ARAM_LATEST_HANDOFF_PROMPT.md` supplied by Davood and verify every material claim against GitHub.
43
+4. Then read `docs/handoff/LATEST_HANDOFF.md` from the same authoritative ref and verify every material claim against GitHub.
44
45
If authenticated GitHub access is NOT available:
46