Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 3, 20:45 UTC
docs: propose V1 scope disposition for open PR families
davoodmehraban89 committed
Nov 11, 2026 at 23:08 UTC
2a03a47cdc296ec9abf33f0365ef6110c9ca68b5
1 file changed
+156
docs/OPEN_PR_V1_SCOPE_DISPOSITION_PROPOSAL_20261111.md
new
+156
@@ -0,0 +1,156 @@
1
+# Aram — V1 Scope and Disposition Proposal for 55 Open PRs
2
+
3
+**Prepared:** 2026-11-11
4
+**Repository:** `davoodmehraban89/Aram`
5
+**Accepted baseline:** `source-data-cleanup@7dc864fd032f0c4ae4d650d89304a01286a6d914`
6
+**Status:** PROPOSAL ONLY — no PR merged, closed, retargeted or deleted.
7
+
8
+## 1. Executive summary
9
+
10
+The live GitHub inventory contains 55 open PRs, all Draft, organized into 13 dependency families:
11
+
12
+| Root PR | Family size | Workstream | Proposed disposition |
13
+|---:|---:|---|---|
14
+| 22 | 1 | Repository hygiene / README | Review useful README-only changes; reconcile status/log with new control docs |
15
+| 23 | 1 | Dependency security audit | Retain as candidate; exact-head audit and backend CI evidence exists; reconcile pyproject with runtime imports |
16
+| 24 | 1 | Read-only Mapping diagnostic baseline | Preserve as historical evidence; likely superseded by fresh PR #90 and implementation PR #60; review before close |
17
+| 25 | 1 | Explicit reversible Alembic schema | Retain as migration candidate; validate against identity metadata and final schema contract |
18
+| 26 | 17 | Gate 3 Mapping core and hardening | HOLD as one dependent chain; no child promotion until fiscal-year safety and independent Gate 3 acceptance |
19
+| 29 | 1 | ADR-012 Excel-first V1 / future Peyvast | Retain as proposed architecture decision; owner / governance acceptance required |
20
+| 32 | 3 | Fiscal-year ownership and note isolation | Critical P0 safety candidate; complete same-flush / graph-wide / lifecycle gates and independent tests |
21
+| 34 | 1 | 5+1+3 governance proposal | Hold for owner decision; reconcile with current master plan before acceptance |
22
+| 44 | 1 | Older roadmap dashboard proposal | Likely superseded by PR #91; preserve historical evidence, compare before close |
23
+| 60 | 22 | Read-only Mapping coverage, five-statement engine and Windows pilot | HOLD as one stacked V1 candidate chain; do not merge child PRs individually |
24
+| 82 | 4 | Gate 3 / Package 9 / Security 9.1 | FINAL NO-GO family; preserve as evidence, no merge or release until external gates pass |
25
+| 90 | 1 | Financial reconciliation | Retain as financial evidence candidate; owner decisions remain open |
26
+| 91 | 1 | Master control plan / execution dashboard | Retain as control-doc candidate; independent review required |
27
+
28
+## 2. Family-level recommendations
29
+
30
+### Family rooted at PR #22 — repository hygiene
31
+
32
+**Members:** #22.
33
+
34
+- Useful scope: README restoration and historical V1-01 status reconciliation.
35
+- Risk: overlaps `PROJECT_STATUS.md`, `docs/PROJECT_LOG.md`, and `docs/handoff/LATEST_HANDOFF.md`, now also changed by PR #91.
36
+- Recommendation: review and selectively retain README-only improvements; do not overwrite the new control/status record with stale PR #21 next actions.
37
+
38
+### Family rooted at PR #23 — dependency audit
39
+
40
+**Members:** #23.
41
+
42
+- Exact-head evidence in the PR body reports successful dependency audit and Backend CI.
43
+- Recommendation: retain as a candidate, but reconcile `backend/pyproject.toml` with the final runtime dependency set and current security code before merge.
44
+- Do not assume a historical audit result covers later dependency changes.
45
+
46
+### Family rooted at PR #24 — diagnostic baseline
47
+
48
+**Members:** #24.
49
+
50
+- Documentary baseline only; its own description says the canonical XLSX was not opened and a fresh workbook-level diagnostic remains pending.
51
+- Recommendation: preserve as historical evidence; likely superseded by the direct workbook validation in PR #90 and read-only preview chain rooted at #60. Close only after confirming no unique evidence is lost.
52
+
53
+### Family rooted at PR #25 — explicit migrations
54
+
55
+**Members:** #25.
56
+
57
+- Exact-head CI / migration tests are recorded in its PR body.
58
+- Recommendation: retain as a migration candidate. Reconcile it with the final identity schema decision and the G2.1 `IdentityBase` metadata requirement. Test upgrade/downgrade against disposable databases containing existing synthetic financial tables.
59
+
60
+### Family rooted at PR #26 — Gate 3 Mapping core
61
+
62
+**Members:** #26, #27, #28, #30, #31, #45, #46, #47, #50, #51, #52, #53, #54, #55, #56, #57, #59.
63
+
64
+- This is a 17-PR stacked family: persistence, Excel interchange, coverage, carry-forward, review, stale-note/hidden-content guards, draft staging, identity, and desktop staging.
65
+- PR #26 itself says the fiscal-year safety work in PR #32 is a prerequisite and that the ORM-only year protection is not a raw/bulk SQL or concurrency guarantee.
66
+- Recommendation: hold the entire family as an integration unit. Do not merge the final child or cherry-pick isolated pieces until PR #32 / #35 safety gates are accepted, branch ancestry is rebased to the accepted SHA, and independent financial/security reviews pass.
67
+- Preserve the reviewer-identity fix from the isolated G1/G2.1 worktree; do not accept the Gate3 variant that replaces reviewer with approver on approval.
68
+
69
+### Family rooted at PR #29 — ADR-012
70
+
71
+**Members:** #29.
72
+
73
+- The PR body records the owner direction: Excel/CSV and Windows-first V1; Peyvast as a later provider-neutral connector.
74
+- Recommendation: retain as an architecture proposal; confirm its wording is consistent with the master control plan and obtain governance acceptance before treating it as binding.
75
+
76
+### Family rooted at PR #32 — fiscal-year safety
77
+
78
+**Members:** #32, #33, #35.
79
+
80
+- This family contains protected fiscal-year ownership, note isolation, same-flush follow-up and Peyvast discovery.
81
+- PR #35 records remaining same-flush, direct non-Draft creation and graph-wide move gaps.
82
+- Recommendation: treat as P0 safety work. Complete the missing invariants and tests before accepting Mapping persistence, approval or connector work. Do not treat a passing subset as complete fiscal-year safety.
83
+
84
+### Family rooted at PR #34 — governance proposal
85
+
86
+**Members:** #34.
87
+
88
+- Proposes five specialist responsibilities + one operational manager + three independent acceptance controls; its own body states it is not accepted.
89
+- Recommendation: hold for owner decision. Reconcile roles, reserved decisions and acceptance authority with the new master plan; do not silently supersede existing ADRs.
90
+
91
+### Family rooted at PR #44 — older roadmap dashboard
92
+
93
+**Members:** #44.
94
+
95
+- Proposes a different seven-gate / weighted dashboard and explicitly says its weights require owner approval.
96
+- Recommendation: treat as historical proposal likely superseded by PR #91's eight-phase evidence-based dashboard. Preserve its unique decisions/evidence, then close with a supersession record only after review.
97
+
98
+### Family rooted at PR #60 — read-only Mapping and five-statement / Windows chain
99
+
100
+**Members:** #60–#81 (22 PRs).
101
+
102
+- This is a long stacked chain from read-only Mapping coverage through reconciliation, balance sheet, income statement, equity, cash flow, multi-statement pipeline, CLI hardening, Windows pilot and source drill-down.
103
+- Several child PRs intentionally touch the same desktop and pipeline files. The changed-file matrix identifies these overlaps; they are not automatically conflicts.
104
+- Recommendation: keep as one candidate workstream. Validate the full final child against its immediate base and the accepted baseline; run exact-head tests on a clean Windows machine; verify all displayed values remain non-official until owner approval; do not merge each child independently.
105
+
106
+### Family rooted at PR #82 — Gate 3 / Package 9 / Security 9.1
107
+
108
+**Members:** #82, #88, #89, #92.
109
+
110
+- PR #82 explicitly states FINAL NO-GO due to missing independent signoffs and operational evidence.
111
+- PR #88/#89 are downstream isolated candidates; PR #92 is a security child based on #89, not the accepted baseline.
112
+- Recommendation: preserve this family as a no-go evidence record. Do not merge, release, or treat #92's focused fix / green tests as approval of the parent security design. Require independent security review, persistent session/throttling evidence, DR proof, and accounting/operations signoffs.
113
+
114
+### Family rooted at PR #90 — financial reconciliation
115
+
116
+**Members:** #90.
117
+
118
+- Read-only reconciliation, account 8161 seven-rule proposal and simulation, equity root-cause refinement, duplicate Note 23, budget unit and #REF! findings, partial auditor PDF review.
119
+- Recommendation: retain as the current financial evidence candidate. Obtain accounting and budget-owner dispositions before changing any canonical workbook; full auditor review remains open.
120
+
121
+### Family rooted at PR #91 — master control and dashboard
122
+
123
+**Members:** #91.
124
+
125
+- Documentation-only master plan, eight-phase dashboard, worktree ownership, 62-file disposition, 55-PR inventory/dependency graph and 427-entry file overlap matrix.
126
+- Recommendation: retain as the single control-document candidate after independent review. It does not authorize code merges or production release.
127
+
128
+## 3. Cross-family blockers
129
+
130
+1. **Control-document contention:** `docs/PROJECT_LOG.md` appears in 45 PRs, `docs/handoff/LATEST_HANDOFF.md` in 41, and `PROJECT_STATUS.md` in 31. Consolidate these documents once on a reviewed control branch; never wholesale-copy branch-local status files.
131
+2. **Runtime dependency contention:** `backend/pyproject.toml` appears in multiple security / migration candidates. Resolve from actual runtime imports and clean installation.
132
+3. **Security / API composition:** `backend/src/aram_backend/main.py` is touched by multiple auth / Gate 3 PRs. Review the complete router and principal composition before integration.
133
+4. **Windows five-statement chain:** several desktop source, test and workflow files are shared across PRs #75–#80. Compare each child to its immediate parent to avoid duplicate patches.
134
+5. **Mapping lifecycle:** preserve reviewer identity and review timestamp at approval; approver identity belongs in the audit event.
135
+6. **Migration metadata:** decide whether identity schema is in the V1 candidate and ensure Alembic target metadata includes exactly the accepted models.
136
+
137
+## 4. Proposed disposition vocabulary
138
+
139
+- `KEEP_CANDIDATE`: unique in-scope work; review and rebase before integration.
140
+- `HOLD_DEPENDENCY_CHAIN`: do not merge independently; parent chain must be accepted first.
141
+- `HOLD_NO_GO`: explicit safety / acceptance gate failed; preserve evidence.
142
+- `LIKELY_SUPERSEDED`: compare unique changes, archive evidence, then close with a clear reason if nothing remains.
143
+- `OWNER_DECISION_REQUIRED`: product/governance/accounting/security decision is missing.
144
+- `ACCEPTED`: only after merge into accepted baseline with required review and exact-head CI. No open PR in this inventory is accepted.
145
+
146
+## 5. Immediate execution order
147
+
148
+1. Review PR #32 / #35 fiscal-year safety and record exact remaining invariants.
149
+2. Reconcile the direct-to-baseline migration/dependency candidates #23 and #25.
150
+3. Decide V1 scope for the #60 five-statement/Windows chain.
151
+4. Decide governance and architecture proposals #29, #34 and #44.
152
+5. Reconcile the #22 README candidate with PR #91 control docs.
153
+6. Keep #82/#88/#89/#92 NO-GO until independent security and operations gates pass.
154
+7. Only then create one integration candidate from `source-data-cleanup` with a reviewed commit/file ownership manifest.
155
+
156
+**No PR was merged, closed, retargeted, or deleted by this proposal.**