Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 4, 14:15 UTC
dependabot/github_actions/actions/setup-python-7
Aram — Latest Handoff Prompt
Durable accepted-state record with persistent role assignments and recovery workflow. 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. 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).
Accepted repository state
- Repository: davoodmehraban89/Aram
- Canonical branch:
source-data-cleanup - Live accepted head:
46253c94405abd065dfc5e8cf080b295cb83cde4— squash merge of PR #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.) - Release tag
v1.0.0→46253c94405abd065dfc5e8cf080b295cb83cde4(owner-authorized, pre-mission). Author does not tag (§19). - Post-merge CI on accepted head: Backend #47137691800 ✅, Frontend #47137691857 ✅.
- Booklet Phases 0–9 are VERIFIED_AND_MERGED at this head (319 backend tests; see
PROJECT_STATUS.md). - 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).
- Authoritative work order: «کتابچهٔ اجرایی تکمیل Aram» v1.0 at
docs/booklet/BOOKLET_v1.0.md(SHA-256 anchor indocs/booklet/MANIFEST.json, ADR-025).
Active mission — booklet 2 course correction + C0…C10 roadmap
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).
- 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. - 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.
- 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).
C0 protected-data evidence
data/tree2ef8a512523f62f0cf84c5009f141be2f8a9cb5f,samples/tree00aba54b1dc30485ba9b164c8036a7b4bbe9020e— unchanged before/after (C0 removes browser edition + docs/process only).- Working branch
arena/094f314c-aramaligned to accepted base46253c9via merge (no force-push). Browser edition recoverable from history @46253c9;experiment/browser-editionbranch = owner action (Arena single-branch constraint, ADR-028).
Durable role-based operating model
- Permanent source:
docs/handoff/MASTER_RECOVERY_PROMPT.md - Decision record: ADR-011 in
docs/DECISION_LOG.md - Introduced through: PR #20
- Davood is Project Owner and the accounting/product authority.
- ChatGPT chat is Operational Coordinator: recovery, task scoping, implementation prompts, first-pass review, and copy-ready handoffs.
- Implementation agent (Arena/Jules): exact-base focused implementation, tests, PR, and evidence; never merges its own PR.
- Independent reviewer / authorized maintainer: technical sequencing, remote evidence review, conflict resolution, acceptance decisions, and merges under owner delegation.
- GitHub is the evidence source of truth.
- Accounting ambiguity, material scope, protected-data changes, releases, destructive actions, credentials, and new external authority remain Davood escalation points.
A repository mismatch pauses only the affected task without edits; it does not halt the project.
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 theAGENTS.mdpointer; 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).
Governance and release reality
- GitHub remote evidence outranks this record and every agent report.
- The accepted branch is currently unprotected; explicit review discipline is mandatory.
- Tag
v1.0.0exists on46253c9(owner pre-mission authorization); no further tagging without owner directive. - Canonical financial XLSX/PDF and source data remain protected.
- Green CI on an unmerged PR is not acceptance evidence.
- Windows EXE not built; clean-machine install log + §14 UAT signature pending (Phase 9 release checklist, owner).
Single next action
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.