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

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

Synced Dec 4, 14:15 UTC

dependabot/github_actions/actions/checkout-7
add-index-html-10623938925177053894 arena/094f314c-aram arena/2d4eda07-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 dependabot/github_actions/actions/checkout-7 dependabot/github_actions/actions/setup-node-6 dependabot/github_actions/actions/setup-python-7 dependabot/github_actions/actions/upload-artifact-7 dependabot/npm_and_yarn/frontend/eslint-plugin-react-hooks-7.1.1 dependabot/npm_and_yarn/frontend/globals-17.15.0 dependabot/npm_and_yarn/frontend/vite-8.4.0 dependabot/npm_and_yarn/frontend/vitest-5.1.2 dependabot/npm_and_yarn/frontend/vitest/coverage-v8-5.1.2 dependabot/pip/backend/mypy-gte-1.13-and-lt-3 dependabot/pip/backend/pytest-cov-gte-6.0-and-lt-8 dependabot/pip/backend/setuptools-gte-75-and-lt-85 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 57 lines 7.49 KB
Rendered Raw
1 # Aram — Latest Handoff Prompt
2
3 > Durable accepted-state record with persistent role assignments and recovery workflow.
4 > GitHub remote evidence remains authoritative. Always fetch the live branch head and open PRs before acting; recorded SHAs are verified events, not perpetual current-head claims.
5 > Handoff cadence: refreshed at the end of each B-category (B0…B12) and on governance change, not after every commit (booklet §0.5; ADR-026).
6
7 ## Accepted repository state
8
9 - Repository: davoodmehraban89/Aram
10 - Canonical branch: `source-data-cleanup`
11 - **Live accepted head: `46253c94405abd065dfc5e8cf080b295cb83cde4`** — squash merge of [PR #96](https://github.com/davoodmehraban89/Aram/pull/96) at 2026-12-03T15:22:02Z (owner final acceptance). *(Superseded: the head has since advanced — PR #97 → `f2e6da5`, PR #98/R1 → `07a8ae0`, PR #100/R2 → `a8ba20c`, PR #101/R3 → `0578ea5`, PR #99 (tooling + ADR-033 governance) → squash merge under owner delegation; verify live.)*
12 - **Release tag `v1.0.0`** → `46253c94405abd065dfc5e8cf080b295cb83cde4` (owner-authorized, pre-mission). Author does not tag (§19).
13 - Post-merge CI on accepted head: [Backend #47137691800](https://github.com/davoodmehraban89/Aram/actions/runs/47137691800) ✅, [Frontend #47137691857](https://github.com/davoodmehraban89/Aram/actions/runs/47137691857) ✅.
14 - Booklet Phases 0–9 are **VERIFIED_AND_MERGED** at this head (319 backend tests; see `PROJECT_STATUS.md`).
15 - Earlier accepted control events: PR #1/#4/#6/#8/#10/#12/#13/#15/#18/#19/#20/#21. Closed-unmerged PR #7/#9/#16/#17 contribute no accepted code (reference only).
16 - Authoritative work order: «کتابچهٔ اجرایی تکمیل Aram» v1.0 at `docs/booklet/BOOKLET_v1.0.md` (SHA-256 anchor in `docs/booklet/MANIFEST.json`, ADR-025).
17
18 ## Active mission — booklet 2 course correction + C0…C10 roadmap
19
20 Booklet 2 v2.0 (`docs/booklet/BOOKLET_v2.0.md`, ADR-027) supersedes conflicting parts of booklet 1 and the B0…B12 framing; governing roadmap is **C0…C10** (see `PROJECT_STATUS.md`). One focused PR per phase task, ≤ ~1,500 changed lines excl. tests/generated data (الف‌5); PR body matches `git diff --stat` + real head (الف‌4). Executor only; independent reviewer separate; no "done" without evidence (§19). Ambiguities closed via booklet 2 §14 (OD-01..OD-14), never by querying the owner. `data/` + `samples/` read-only with before/after tree-hash evidence per PR. No merge, no tag, no runtime network, no company-specific code (§16).
21
22 - **C0 (this PR, IN_PROGRESS — re-scoped from B0):** الف‌1 browser-edition removal (ADR-028); الف‌2 persistent core verified main path; الف‌3 phase 0/1 + golden 1404 verified merged; الف‌4/5 PR honesty/size + generality + offline rules in AGENTS.md; الف‌6 `docs/PR_TRIAGE.md`; الف‌7 exit criteria; booklet 1+2 references + manifests. B0 deliverables (archive, status rewrite, discrepancy skeleton, ADR-025/026) retained as C0-compatible.
23 - **C0 addendum (owner appendix revision, 2026-12-03):** Databan catalog studied by owner (marketing, unverified; no agent site access); positioning = independent pluggable product + Host Integration API; **OD-09 revised pyodbc-first** (python-tds fallback); accepted elements mapped to C4–C9/C11; rejected scope binding (government systems, bank invoices, form builder/cartable, messenger bots for financial data); ADR-029; booklet 2 re-anchored with revision history in MANIFEST.json.
24 - **C1…C10 (+ optional C11):** NOT_IMPLEMENTED; see the phase table in `PROJECT_STATUS.md`. C10 = Shadow Run two companies + owner signature; C11 = optional AI assistant, OFF by default, never generates numbers (engine + approved CalculationRun lineage only). History rewrite / large-file migration BLOCKED absent owner directive (C9).
25
26 ### C0 protected-data evidence
27
28 - `data/` tree `2ef8a512523f62f0cf84c5009f141be2f8a9cb5f`, `samples/` tree `00aba54b1dc30485ba9b164c8036a7b4bbe9020e` — unchanged before/after (C0 removes browser edition + docs/process only).
29 - Working branch `arena/094f314c-aram` aligned to accepted base `46253c9` via merge (no force-push). Browser edition recoverable from history @`46253c9`; `experiment/browser-edition` branch = owner action (Arena single-branch constraint, ADR-028).
30
31 ## Durable role-based operating model
32
33 - Permanent source: `docs/handoff/MASTER_RECOVERY_PROMPT.md`
34 - Decision record: ADR-011 in `docs/DECISION_LOG.md`
35 - Introduced through: [PR #20](https://github.com/davoodmehraban89/Aram/pull/20)
36 - Davood is Project Owner and the accounting/product authority.
37 - ChatGPT chat is Operational Coordinator: recovery, task scoping, implementation prompts, first-pass review, and copy-ready handoffs.
38 - Implementation agent (Arena/Jules): exact-base focused implementation, tests, PR, and evidence; never merges its own PR.
39 - Independent reviewer / authorized maintainer: technical sequencing, remote evidence review, conflict resolution, acceptance decisions, and merges under owner delegation.
40 - GitHub is the evidence source of truth.
41 - Accounting ambiguity, material scope, protected-data changes, releases, destructive actions, credentials, and new external authority remain Davood escalation points.
42 - A repository mismatch pauses only the affected task without edits; it does not halt the project.
43
44 - **Five-role agent orchestration (ADR-033, 2026-12-04, owner directive):** M0 manager/architect/integrator coordinates A1 Analyst (no product code), B1 Backend Engineer, F1 Frontend Engineer, D1 DevOps/Release & Security Engineer, and T1 Independent Tester, who gates every deliverable (findings only, never fixes). Entry point: `docs/agent-orchestration/MASTER_ORCHESTRATION_PROMPT.md`, auto-discovered through the `AGENTS.md` pointer; per-role prompts: `docs/agent-orchestration/AGENT_PROMPTS.md`. A sole agent executes the roles sequentially with strict separation of duties (verification reproduces all evidence independently). A T1 verdict is verification evidence, not acceptance; merge/tag remain owner/reviewer actions (§19).
45
46 ## Governance and release reality
47
48 - GitHub remote evidence outranks this record and every agent report.
49 - The accepted branch is currently unprotected; explicit review discipline is mandatory.
50 - Tag `v1.0.0` exists on `46253c9` (owner pre-mission authorization); no further tagging without owner directive.
51 - Canonical financial XLSX/PDF and source data remain protected.
52 - Green CI on an unmerged PR is not acceptance evidence.
53 - Windows EXE not built; clean-machine install log + §14 UAT signature pending (Phase 9 release checklist, owner).
54
55 ## Single next action
56
57 PR #99 (dev tooling gates + ADR-033 five-role orchestration governance) was **accepted under owner delegation to the author session** (2026-12-04, «خودت اینکاری که از من خواستی رو انجام بده») and squash-merged into `source-data-cleanup`; the self-review waiver and the full PASS evidence are recorded in `docs/PROJECT_LOG.md`. **This merge makes the orchestration mechanism live for all new Arena sessions**: checkout the canonical branch → `AGENTS.md` → `docs/agent-orchestration/MASTER_ORCHESTRATION_PROMPT.md`. Next: **R4** via the orchestration loop (M0 work order → B1 implements → T1 gates → M0 integrates → owner acceptance), coordinated with the parallel session through the owner to avoid duplicate R4/R5 work; retroactive T1 passes on R2 (#100) and R3 (#101) are queued. R3's IS residue (notes 6/7/8/9/20-3) is source-data-blocked → Davood escalation (protected data / accounting ambiguity), never agent-side tolerance. Verify the merged head live on GitHub. Do not tag.