@davoodmehraban89 / Aram-2 Mirror · read-only / commits / 182e7e9
Fork 0

Mirrored from https://github.com/davoodmehraban89/Aram.git

Synced Dec 3, 17:00 UTC

docs(control): reconcile Gate 2A acceptance and stale work

davoodmehraban89 committed Aug 25, 2026 at 10:05 UTC 182e7e9b618c64ca5e06c86128c9f82fe6c86e45
3 files changed +131 -69
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 | BLOCKED | Open [PR #17](https://github.com/davoodmehraban89/Aram/pull/17); base 7c7533ee87146dc8fc78b46ebf423be55532c7eb, head 4f8648add0e2ed60f01753e979fa3fbe9ccf0f18, mergeable_state dirty; do not merge |
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 is based on the pre-Gate-2A head, conflicts with the accepted branch, and its narrative lists 9 changed files while GitHub reports 12.
64 +- PR #17 final CI is green on its own stale head, but compatibility with the accepted Gate 2A baseline is not 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 merge or patch PR #17 in place; 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
+24
@@ -186,3 +186,27 @@ 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 +- Blocked candidate: [PR #17](https://github.com/davoodmehraban89/Aram/pull/17), base 7c7533ee87146dc8fc78b46ebf423be55532c7eb, head 4f8648add0e2ed60f01753e979fa3fbe9ccf0f18, open/non-Draft/dirty; its green CI does not prove compatibility with the accepted head
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 +- Recovery: close PR #18 without merge; accepted branch remains at 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
211 +- Remaining risks: branch protection is disabled; PR #17 remains open and stale; Mapping/UI/release work is incomplete
212 +- Next action: independently review Draft PR #18; do not start or merge Gate 2B work before the control decision
docs/handoff/LATEST_HANDOFF.md
+57 -36
@@ -1,44 +1,65 @@
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, and PR #16 are closed without merge and contribute no accepted code.
14 +- No user-ready V1 release, tag, ZIP, EXE, or retained release artifact is accepted or proven.
15 +
16 +## Accepted Gate 2A evidence
17 +
18 +- PR: https://github.com/davoodmehraban89/Aram/pull/15
19 +- Base: source-data-cleanup@7c7533ee87146dc8fc78b46ebf423be55532c7eb
20 +- Reviewed PR head: 74b6a6397a2a2c9199a5c7bcf818bb661b2ebe06
21 +- Squash merge: 4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
22 +- Final GitHub Actions: https://github.com/davoodmehraban89/Aram/actions/runs/32712900800
23 +- CI conclusion: success; 52 passed, 1 warning; Alembic upgrade/downgrade and compileall succeeded.
24 +- Accepted capabilities: governed Pilot workbook v0.1 contract, approved blank template, reproducible generator, and deterministic read-only in-memory preflight.
25 +- Template path: samples/Aram_Pilot_Input_and_Mapping_Template_v0.1.xlsx
26 +- Independently recomputed SHA-256: e14a7feb80a216d79ed9cb6dde2b0df3e55317f3da6b26efc77f7118f4702b6f
27 +- Protected boundary: PR #15 changed no canonical XLSX/PDF, data/, database, financial-source, workflow, migration, desktop/release, ZIP, or EXE path.
28 +
29 +## Active control candidate
30 +
31 +- Draft PR: https://github.com/davoodmehraban89/Aram/pull/18
32 +- Branch: codex/post-gate2a-control-reconciliation
33 +- Required base: source-data-cleanup@4ab54f4a3cf666827fa1ed30c4e43259ea79f2d4
34 +- 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.
35 +- Application code, tests, workflows, migrations, workbook content, financial data, artifacts, and releases are excluded.
36 +- PR #18 remains Draft and unmerged. Its final remote head and four-file diff must be fetched and independently reviewed.
37 +
38 +## Closed superseded work
39 +
40 +- PR #16 was closed without merge on 2026-08-25.
41 +- It duplicated accepted PR #15, was based on stale head 7c7533ee87146dc8fc78b46ebf423be55532c7eb, had mergeable_state dirty, and recorded the incorrect merge SHA 35d45c3f200672a6ef97f13a84cf7c823ecf1bb8.
42 +- No file or claim from PR #16 is accepted.
43 +
44 +## Blocked Gate 2B candidate
45 +
46 +- PR: https://github.com/davoodmehraban89/Aram/pull/17
47 +- Base: source-data-cleanup@7c7533ee87146dc8fc78b46ebf423be55532c7eb
48 +- Head: 4f8648add0e2ed60f01753e979fa3fbe9ccf0f18
49 +- State at verification: open, non-Draft, unmerged, mergeable_state dirty.
50 +- GitHub reports 12 changed files although the PR narrative names only 9.
51 +- 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.
52 +- The Mapping code in PR #17 is not accepted. Do not merge or patch that PR in place.
53 +- 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.
54 +
55 +## Governance and release reality
56 +
57 +- GitHub remote evidence outranks this snapshot and every agent report.
58 +- The accepted branch is currently unprotected; explicit review discipline is therefore mandatory.
59 +- There are no accepted Git tags or GitHub Releases.
60 +- Canonical financial XLSX/PDF and source data remain protected.
61 +- Green CI on an unmerged PR is not acceptance evidence.
62
63 ## Single next action
64
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.
65 +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, merge, or repair Gate 2B until that control decision is complete.