@davoodmehraban89 / Aram / commits / f7cb6ab
Fork 0

docs(handoff): make PR 12 the authoritative next action

davoodmehraban89 committed Aug 24, 2026 at 11:49 UTC f7cb6abb7caf3f1c0c28d402ae41b0e3c005a280
1 file changed +59 -92
docs/handoff/LATEST_HANDOFF.md
+59 -92
@@ -1,112 +1,79 @@
1 # Aram — Latest Handoff Prompt
2
3 -> Current authoritative handoff snapshot created: 2026-08-24 UTC
4 -> This file supersedes every earlier handoff prompt. After each meaningful project step, replace this file with a newer version. Do not use older versions as the continuation baseline.
3 +> Current authoritative handoff snapshot: 2026-08-24 UTC
4 +> This file supersedes every earlier handoff prompt. Verify every statement against GitHub before acting.
5
6 ---
7
8 ## COPY FROM HERE
9
10 -Use the permanent instructions in `ARAM_MASTER_RECOVERY_PROMPT.md`, then verify this current handoff against the private GitHub repository `davoodmehraban89/Aram`.
10 +Use the permanent instructions in `docs/handoff/MASTER_RECOVERY_PROMPT.md`, then
11 +verify this snapshot against the private repository `davoodmehraban89/Aram`.
12 +Do not ask Davood to reconstruct project history from memory.
13
12 -### Last independently verified repository state
13 -
14 -- Default/canonical branch: `source-data-cleanup`
15 -- Accepted governance merge SHA: `e42d76a24e591a265d3bb6c79ac614ff5b2f211f`
16 -- Governance merge URL: `https://github.com/davoodmehraban89/Aram/commit/e42d76a24e591a265d3bb6c79ac614ff5b2f211f`
17 -- Note: a later documentation-only commit may move the branch head beyond this SHA. Always fetch the current branch head; `e42d76a...` remains the independently verified PR #10 merge evidence.
18 -
19 -### Accepted and merged state
14 +### Accepted repository state
15
16 +- Canonical branch: `source-data-cleanup`
17 +- Approved base used by the active Phase 2B candidate:
18 + `a41b07d7a7dd192c3ae4a277eb4903327883456f`
19 - Phase 1B-1: merged through PR #1.
20 - Phase 1B-2 corrections: merged through PR #4.
23 -- Phase 2A backend/data-model foundation: merged through PR #6.
21 +- Phase 2A backend foundation: merged through PR #6.
22 - One-file model refactor: merged through PR #8.
25 -- Project-control and durable handoff foundation: merged through PR #10 at `e42d76a24e591a265d3bb6c79ac614ff5b2f211f`.
26 -- No accepted, user-ready V1 release has been proven.
27 -
28 -### Work currently requiring attention
29 -
30 -#### PR #10 — project-control foundation
31 -
32 -- URL: `https://github.com/davoodmehraban89/Aram/pull/10`
33 -- State at last verification: CLOSED AND MERGED
34 -- Merged at: `2026-08-24T06:46:50Z`
35 -- Merge SHA: `e42d76a24e591a265d3bb6c79ac614ff5b2f211f`
36 -- Base: `source-data-cleanup`
37 -- Verified base SHA: `5122fd052ebe0ffe0e07dbb8153a872a4f047355`
38 -- Head branch: `codex/project-control-foundation`
39 -- Final reviewed head SHA: `7650aafd06a913d660704ae80dea260eb3728b04`
40 -- Verified scope: 10 files, 794 additions, and 0 deletions.
41 -- Verified changed files:
42 - - `.github/pull_request_template.md`
43 - - `AGENTS.md`
44 - - `PROJECT_STATUS.md`
45 - - `docs/ACCEPTANCE_POLICY.md`
46 - - `docs/DECISION_LOG.md`
47 - - `docs/JULES_TASK_TEMPLATE.md`
48 - - `docs/PROJECT_LOG.md`
49 - - `docs/handoff/CHATGPT_BOOTSTRAP_PROMPT.txt`
50 - - `docs/handoff/LATEST_HANDOFF.md`
51 - - `docs/handoff/MASTER_RECOVERY_PROMPT.md`
52 -- Verification: no trailing whitespace and no conflict markers were found.
53 -- Scope: documentation, agent instructions, and PR template only.
54 -- No application code, tests, workflows, XLSX, PDF, ZIP, EXE, database, or financial-data file changed.
55 -- GitHub Actions/check status at last verification: no workflow run and no status checks were attached to the head commit.
56 -- Acceptance result: independently reviewed, explicitly authorized by Davood, and squash-merged successfully. The durable controls now exist on the accepted branch.
57 -
58 -The ten-file count supersedes the earlier six-file, seven-file, and nine-file reports. `AGENTS.md` was added after confirming from official Jules documentation that Jules reads repository-level instructions. Two durable handoff files were added so recovery remains possible when ChatGPT history is unavailable. A plain-text `CHATGPT_BOOTSTRAP_PROMPT.txt` was then added as the saveable entry point that guides a successor chat through official GitHub connection and evidence recovery.
59 -
60 -#### PR #9 — Phase 2B ingestion foundation
61 -
62 -- URL: `https://github.com/davoodmehraban89/Aram/pull/9`
63 -- Last known state: OPEN, DRAFT, NOT MERGED
64 -- Original base: `source-data-cleanup@5122fd052ebe0ffe0e07dbb8153a872a4f047355`; it must now be rebased or updated onto the accepted governance baseline.
65 -- Last observed head SHA: `8b141d793ad2d534fdf7399bb79d101d53ae29af`
66 -- Claimed scope: source registration, read-only XLSX preflight, and ledger parsing.
67 -- Independent verification confirmed Backend CI run #14 succeeded with the PR head and the exact eight-file scope.
68 -- An independent review comment requested two changes before acceptance: reject same-hash registrations when filename/document type conflicts with the existing record, and integrate the project-control documents after PR #10 becomes the baseline.
69 -- Review comment ID: `5391629767`.
70 -
71 -#### PR #7 — closed prototype/recovery source
72 -
73 -- URL: `https://github.com/davoodmehraban89/Aram/pull/7`
74 -- State: CLOSED, UNMERGED.
75 -- It contains a large parallel prototype including desktop and branch-level ZIP/EXE work.
76 -- It is not an accepted V1 and must not be merged directly.
77 -- Recover useful features only through small, focused PRs based on the accepted branch.
78 -
79 -### Current product boundary
80 -
81 -- Comprehensive financial-statement Mapping Excel import/export is not complete.
82 -- Note and sub-note mapping workflow is not complete.
83 -- Mapping management UI is not complete.
84 -- Official `v1.0.0-pilot` GitHub Release and independently verified downloadable assets have not been proven.
85 -- Branch-level ZIP/EXE existence does not equal an official or tested release.
86 -- A governed Pilot Excel contract named `Aram_Pilot_Input_and_Mapping_Template_v0.1.xlsx` has been created for user testing and future importer implementation. It contains Company, Accounts, Notes, Mapping, Test_Log, Checks, and data-dictionary sheets. It is a data contract, not proof that the current application can import it yet.
87 -- GitHub Issue #11 is the canonical V1 Pilot roadmap: `https://github.com/davoodmehraban89/Aram/issues/11`.
88 -
89 -### Current operating decision
90 -
91 -- Davood has Google AI Pro and therefore uses Jules in Pro. At the time of this handoff, the published Jules in Pro allowance is 100 tasks per rolling 24 hours and 15 concurrent tasks; this is not expected to constrain the project's controlled, sequential workflow.
92 -- Jules is the primary implementation agent under the repository controls in `AGENTS.md` and the acceptance policy.
93 -- ChatGPT/Codex must independently verify the remote branch, commit, diff, CI, and artifacts after each task.
94 -- GitHub Copilot Cloud Agent is not the planned replacement because it requires a paid Copilot plan and may introduce payment/access risk for Davood in Iran.
95 -- If Jules reports completion that is absent or contradictory in GitHub, reject that task and issue one controlled corrective prompt. Escalate the specific task to direct GitHub/Codex implementation only if the corrective attempt also fails.
96 -- The project must never depend on a single chat session or agent memory.
23 +- Project-control foundation: merged through PR #10.
24 +- No Phase 2B candidate and no user-ready V1 release has been accepted or merged.
25 +
26 +### Active Phase 2B candidate: PR #12
27 +
28 +- URL: https://github.com/davoodmehraban89/Aram/pull/12
29 +- Branch: `codex/phase-2b-source-registration-12955190277775369594`
30 +- Base: `source-data-cleanup@a41b07d7a7dd192c3ae4a277eb4903327883456f`
31 +- State at last verification: OPEN, DRAFT, MERGEABLE, NOT MERGED.
32 +- Independently reviewed implementation head:
33 + `9e90533658e400a51402db673efae9cbd0aa37d1`
34 +- Scope at that head: 11 files; no canonical XLSX/PDF, `data/`, database,
35 + ZIP, EXE, or financial-source file.
36 +- Backend CI run #17:
37 + https://github.com/davoodmehraban89/Aram/actions/runs/32703999006
38 +- Run #17 conclusion: `success`.
39 +- Regression tests cover exact-duplicate idempotency and rejection of same-year,
40 + same-hash conflicts in filename, document type, or both. Rejected conflicts
41 + leave one unchanged original `SourceDocument`.
42 +- Backend README documents metadata-only registration, supported types,
43 + read-only XLSX inspection and ledger parsing, semantic-conflict rejection,
44 + and the non-persistence of payload bytes and financial values.
45 +- Documentation-control corrections were added after the reviewed implementation
46 + head; fetch the current PR head and its newest CI before deciding acceptance.
47 +
48 +### Superseded candidate: PR #9
49 +
50 +- URL: https://github.com/davoodmehraban89/Aram/pull/9
51 +- PR #9 is the older Phase 2B candidate.
52 +- Do not merge PR #9 while PR #12 is under review.
53 +- Close or otherwise disposition PR #9 only after PR #12 receives an explicit
54 + independent acceptance decision.
55 +
56 +### Protected boundaries
57 +
58 +- Do not modify canonical XLSX/PDF files, `data/`, financial source values,
59 + databases, ZIP/EXE artifacts, mappings, desktop code, or release code as part
60 + of Phase 2B candidate review.
61 +- PR #7 remains closed and unmerged; recover work from it only through separately
62 + approved focused tasks.
63 +- Mapping import/export, note/sub-note workflow, UI, and an official tested V1
64 + release remain incomplete.
65
66 ### Single next action
67
100 -Send Jules the focused corrective task for PR #9: fix the same-hash semantic identity collision, add regression tests, rebase or update from the accepted governance baseline, and update `PROJECT_STATUS.md` plus append `docs/PROJECT_LOG.md`. Then independently verify its branch, commit, exact diff, CI, and GitHub evidence. Do not begin the Excel importer until the corrected Phase 2B foundation is accepted.
68 +Independently review the current remote head of Draft PR #12: verify its complete
69 +diff, changed-file list, new Backend CI result, regression behavior, and protected
70 +data boundary. Record an explicit acceptance decision. Do not merge either PR #12
71 +or PR #9 before that decision.
72
73 ### Mandatory first response
74
104 -Report whether GitHub access succeeded, then compare this handoff with current GitHub evidence. Do not ask Davood to retell the history and do not start new implementation work before the comparison is complete.
75 +Report whether GitHub access succeeded. Then report the current PR #12 head,
76 +Draft/merge state, exact changed files, and CI evidence compared with this handoff.
77 +Do not start new implementation work until that comparison is complete.
78
79 ## END COPY
107 -
108 -## PR #12 Candidate
109 -- PR #12 is the current Phase 2B review candidate.
110 -- PR #9 is an older candidate that must not be merged while PR #12 is under review.
111 -- PR #12 remains Draft and unmerged.
112 -- The single next action is independent review of PR #12.