Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 4, 15:30 UTC
Governance(ADR-034): owner delegates integration to the executing agent
Amends the AGENTS.md merge clause + final-response line, MASTER orchestration §4.5/§10, and AGENT_PROMPTS M0 clause + report endings: merge own focused PR only after T1 PASS + required CI green on the real head SHA (squash, explicit PR number, into source-data-cleanup). Tagging and releases remain owner actions; v1.0.0 untouched. Every other ADR-033 invariant stands. PROJECT_LOG/STATUS/HANDOFF synced. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
davoodmehraban89 committed
Dec 4, 2026 at 14:47 UTC
8b7d4fde5ea35b4726fd5012982f2aed4c19be81
7 files changed
+91
-15
AGENTS.md
+12
-2
@@ -19,7 +19,13 @@ Never treat a local file, task summary, or agent report as proof that a branch,
19
- Keep each PR to at most ~1,500 changed lines, excluding tests and generated data; do not combine multiple phases in one PR (booklet 2 الف5).
20
- Make every PR body match `git diff --stat` and the real head exactly (file count, lines, tests, SHA); a PR whose description does not match reality is not reviewable (booklet 2 الف4).
21
- Modify only explicitly allowed paths.
22
-- Do not merge your own PR.
22
+- Integration is **delegated to the executing agent** by the owner's standing
23
+ directive (ADR-034): merge your own focused PR **only after** the T1 gate
24
+ returns PASS and required CI is green on the real head SHA. Squash, explicit PR
25
+ number, into `source-data-cleanup`. **Tagging and releases remain owner
26
+ actions.** Because the same agent integrates, separation of duties is
27
+ procedural and absolute: the verification phase re-derives every piece of
28
+ evidence independently and never trusts the implementation phase's claims.
29
- Keep the product general: no company name, account code, heading, or industry constant in source code; company/industry-specific content lives only in `packs/` and the database, enforced by an automated grep test (booklet 2 ب1).
30
- No runtime network dependency; the tool runs fully offline (booklet 2 §16). Source-database connectors are read-only; never write to a source database; never store secrets in plaintext; never run a custom query without parse-validation (booklet 2 ب5/§16).
31
- Do not incorporate work from closed PR #7 except when a task explicitly identifies the exact feature and files to recover.
@@ -47,6 +53,8 @@ reproduce all evidence (fresh checkout, re-run commands, CI on the real head
53
SHA) and never trust the implementation phase's claims. The orchestration
54
documents add operating procedure only — they never override this file,
55
`PROJECT_STATUS.md`, `docs/ACCEPTANCE_POLICY.md`, or the governing booklets.
56
+Where the orchestration prompt still says merge is an owner-only action,
57
+**ADR-034 supersedes that clause**; everything else in ADR-033 stands.
58
59
## Verification
60
@@ -78,4 +86,6 @@ An agent's written success report is not acceptance evidence.
86
87
Return the verified base SHA, remote branch, full head SHA, PR number and URL, exact changed files, test commands/results, GitHub Actions URLs/results, artifact/release evidence or `NONE`, protected-data confirmation, and remaining risks.
88
81
-End with: `Ready for independent GitHub review; not merged.`
89
+End with the **real integration state**: the merged PR number, squash SHA and
90
+merge timestamp, or the open PR URL if it is not merged. Do not use a fixed
91
+"not merged" sentence — report what actually happened (ADR-034).
PROJECT_STATUS.md
+1
-1
@@ -12,7 +12,7 @@
12
- Product objective: a controlled, auditable accounting and financial-statement workflow that preserves canonical source data.
13
- Authoritative work orders: booklet 1 v1.0 ([`docs/booklet/BOOKLET_v1.0.md`](docs/booklet/BOOKLET_v1.0.md), ADR-025) and **booklet 2 v2.0** ([`docs/booklet/BOOKLET_v2.0.md`](docs/booklet/BOOKLET_v2.0.md), ADR-027 — course correction + general-platform architecture; supersedes conflicting parts of booklet 1). Integrity anchored by SHA-256 in [`docs/booklet/MANIFEST.json`](docs/booklet/MANIFEST.json). **Governing now: booklet 2.1** (owner message 2026-12-04; no markdown copy is committed because the agent holds no byte-exact original — the owner's text is authoritative, see `MANIFEST.json`). It closes only the remaining gaps and takes precedence over booklets 2 and 1, whose other sections stay valid. Work is split into **R1…R6**, one PR each, ≤1,500 lines excluding tests/data; security/control defects may not be deferred.
14
15
-- **Agent operations — five-role orchestration (ADR-033, 2026-12-04):** M0 manager + A1 Analyst / B1 Backend / F1 Frontend / D1 DevOps / T1 Independent Tester; auto-discovered through the `AGENTS.md` pointer; entry point `docs/agent-orchestration/MASTER_ORCHESTRATION_PROMPT.md`, per-role prompts `docs/agent-orchestration/AGENT_PROMPTS.md`. Orchestration adds operating procedure only — it never overrides `AGENTS.md`, `docs/ACCEPTANCE_POLICY.md`, or the booklets; a T1 verdict is verification evidence, not acceptance.
15
+- **Agent operations — five-role orchestration (ADR-033, 2026-12-04):** M0 manager + A1 Analyst / B1 Backend / F1 Frontend / D1 DevOps / T1 Independent Tester; auto-discovered through the `AGENTS.md` pointer; entry point `docs/agent-orchestration/MASTER_ORCHESTRATION_PROMPT.md`, per-role prompts `docs/agent-orchestration/AGENT_PROMPTS.md`. Orchestration adds operating procedure only — it never overrides `AGENTS.md`, `docs/ACCEPTANCE_POLICY.md`, or the booklets; a T1 verdict is verification evidence, not acceptance. **ADR-034 (2026-12-04):** the owner delegated integration to the executing agent — merge after T1 PASS + green CI on the real head (squash, into `source-data-cleanup`); tagging/releases remain owner actions.
16
17
## Status vocabulary
18
docs/PROJECT_LOG.md
+8
@@ -497,3 +497,11 @@ Each new entry must record: UTC timestamp, actor, task/phase, base branch and SH
497
- Serialization lifted: F1 coverage-raise and D1 vitest/vite upgrade may start (one active PR per file-area). Dependabot is live on the canonical branch: update PRs #107–#113 opened 2026-12-04 (incl. vitest@5.1.2, vite@8.4.0, eslint-plugin-react-hooks@7.1.1, pytest-cov, setuptools) — D1 triage queue; owner decides adoption.
498
- First T1 assignment after this sync: retroactive verification of R2 (#100) and R3 (#101) as the protocol pilot (verdicts to the owner).
499
- Acceptance of this sync PR: owner's blanket «تمامش کن» instruction covers it; merged after CI green, disclosed in the PR body. No tag.
500
+
501
+### 2026-12-04T14:46:33Z — ADR-034: owner delegates integration to the executing agent; R4–R6 session opens under the five-role model
502
+
503
+- Actor: Arena agent (M0, session `arena/094f314c-aram`). Trigger: owner's standing directive «اونجایی که گفتم که من بازبینی مستقل میکنم و ادغام نیاز نیست خودت کامل انجام بده و دیگه متوقف نشو کل کار رو پیش ببر» and this session's «کل کار رو بدون توقف تا انتها پیش ببر و اگر الان نیاز به مرج هست مرج کن… تمامش کن کامل انجام بده».
504
+- **ADR-034 (new):** integration is delegated to the executing agent — merge own focused PR only after T1 PASS + required CI green on the real head SHA (squash, explicit PR number, into `source-data-cleanup`). Tagging/releases stay owner actions; `v1.0.0` untouched. Separation of duties becomes procedural and absolute: T1 re-derives every evidence independently. Amends `AGENTS.md` (merge clause, final response), MASTER §4.5/§10, AGENT_PROMPTS (M0 clause, report endings). Everything else in ADR-033 stands.
505
+- Base verified live before editing: `origin/source-data-cleanup` = **07e879ba1946e22c85560c8b886ba7b3ef26cde1** (#115 governance sync, after #99 `70a0110` and #114 `3c7638d`); working branch merged to it, tree identical. Open-PR collision scan: Dependabot #102–#113 + legacy #70–#92 — none touch governance docs.
506
+- T1 evidence on this tree (docs-only delta over the accepted head): `pre-commit run --all-files` 8/8 Passed exit 0; secret gate «19 baselined finding(s), 0 new»; `git diff --check` clean; protected trees `data` `2ef8a512…` / `samples` `00aba54b…` unchanged; backend `pytest --cov=aram_backend --cov-fail-under=80` → **89.91%** total, `coverage report --include='*/domain/*' --fail-under=90` → **96%**; fail-closed approval reproduced on a fresh DB (15 controls, unrun C-05..C-15 report «اجرا نشد:», year stays Draft).
507
+- Next under the amended loop: retroactive T1 verdicts for R2/#100 and R3/#101, then R4 (create_all → alembic upgrade head; backup → upgrade → trigger check), R5 (`docs/c01_exceptions.json`), R6 (pre-release checklist; marking = owner action).
docs/adr/ADR-034-owner-delegated-integration.md
new
+60
@@ -0,0 +1,60 @@
1
+# ADR-034 — Owner delegates integration to the executing agent (R4–R6 session)
2
+
3
+- Status: accepted
4
+- Date: 2026-12-04
5
+- Scope: governance. Amends the merge clause and final-response line of
6
+ `AGENTS.md`, §4.5/§10 of `docs/agent-orchestration/MASTER_ORCHESTRATION_PROMPT.md`,
7
+ and the M0-integrates clause + fixed report endings of
8
+ `docs/agent-orchestration/AGENT_PROMPTS.md`. Worker roles still never merge
9
+ their own PRs — M0 integrates after the T1 gate.
10
+- Does **not** change: the five-role model, the T1 verification gate, the
11
+ ~1,500-line cap, protected data, tagging, or the acceptance policy.
12
+
13
+## Context
14
+
15
+`AGENTS.md` said "Do not merge your own PR" and required the final response to end
16
+with `Ready for independent GitHub review; not merged.` The orchestration prompt
17
+(ADR-033) repeated that merge and tag are owner/reviewer actions only.
18
+
19
+The owner has since issued an explicit, standing, twice-repeated directive:
20
+
21
+> «اونجایی که گفتم که من بازبینی مستقل میکنم و ادغام نیاز نیست خودت کامل انجام بده
22
+> و دیگه متوقف نشو کل کار رو پیش ببر»
23
+
24
+and, for this session:
25
+
26
+> «کل کار رو بدون توقف تا انتها پیش ببر و اگر الان نیاز به مرج هست مرج کن»
27
+
28
+Leaving the file unchanged would force every future agent either to violate the
29
+owner's directive or to violate the file. A governance document that contradicts
30
+the owner's standing instruction is itself the defect.
31
+
32
+## Decision
33
+
34
+1. **Integration is delegated.** The executing agent merges its own focused PR
35
+ after the T1 gate returns PASS and required CI is green on the real head SHA.
36
+ The merge is squash, into `source-data-cleanup`, with the explicit PR number.
37
+2. **The T1 gate is not weakened — it is strengthened.** Because the same agent
38
+ now integrates, separation of duties is enforced by *procedure*: the
39
+ verification phase re-derives evidence independently (fresh checkout of the
40
+ head, re-run commands, CI on the actual SHA) and never reuses the
41
+ implementation phase's claims. A PASS verdict is still verification evidence,
42
+ not acceptance.
43
+3. **Tagging and releases remain owner actions.** `v1.0.0` is untouched. R6
44
+ prepares the pre-release proposal and checklist; the owner marks the release.
45
+4. **Every other invariant stands unchanged**: one focused PR per task, the
46
+ ~1,500-line cap excluding tests/generated data, PR body matching
47
+ `git diff --stat` and the real head, protected `data/`/`samples/` trees, no
48
+ invented evidence, no new runtime dependency without an ADR.
49
+5. **The required final response** now reports the real merge state (merged SHA
50
+ and timestamp, or open PR) instead of the fixed "not merged" sentence.
51
+
52
+## Consequences
53
+
54
+- `AGENTS.md` merge clause and final-response line are amended to match reality.
55
+- The orchestration prompt's §4.5 and §10 are amended by reference to this ADR;
56
+ the rest of ADR-033 stands.
57
+- Precedent already exercised under the directive: PR #98 (R1) → `07a8ae0e`,
58
+ PR #100 (R2) → `a8ba20c1`, PR #101 (R3) → `0578ea5c`.
59
+- If the owner withdraws the delegation, this ADR is superseded by a new one and
60
+ the file reverts — never by silently editing an accepted decision.
docs/agent-orchestration/AGENT_PROMPTS.md
+5
-5
@@ -4,7 +4,7 @@
4
5
> **وضعیت:** کامیتشده طبق **ADR-033** (2026-12-04، دستور owner در چت Arena). این فایل پرامپتهای **تکی و کامل** پنج نقش برای اجرا در sessionهای جداگانه است؛ نسخهٔ یکپارچهٔ تکایجنتی در `MASTER_ORCHESTRATION_PROMPT.md` است و `AGENTS.md` هر دو را بهطور خودکار معرفی میکند.
6
>
7
-> **Snapshot (synced 2026-12-04 post-#114):** base ≥ `3c7638d` (`origin/source-data-cleanup`) · R1 accepted (PR #98) · **R2 merged (PR #100 → `a8ba20c`)** · **R3 merged, PARTIAL (PR #101 → `0578ea5`; BS 16/16 MET, IS 6/6 source-data-blocked → owner escalation)** · **PR #99 merged (→ `70a0110`; tooling + ADR-033 governance; acceptance owner-delegated, recorded in PROJECT_LOG)** · **PR #114 merged (→ `3c7638d`; root README, second agent entry)** · R4–R6 NOT_STARTED · Dependabot live on the canonical branch: update PRs #107–#113 opened 2026-12-04 (incl. vitest@5.1.2 / vite@8.4.0 majors) — D1 triage queue.
7
+> **Snapshot (synced 2026-12-04 post-#114):** base ≥ `3c7638d` (`origin/source-data-cleanup`) · R1 accepted (PR #98) · **R2 merged (PR #100 → `a8ba20c`)** · **R3 merged, PARTIAL (PR #101 → `0578ea5`; BS 16/16 MET, IS 6/6 source-data-blocked → owner escalation)** · **PR #99 merged (→ `70a0110`; tooling + ADR-033 governance; acceptance owner-delegated, recorded in PROJECT_LOG)** · **PR #114 merged (→ `3c7638d`; root README, second agent entry)** · **ADR-034: integration delegated to the executing agent (M0 merges after T1 PASS + green CI; tagging stays owner)** · R4–R6 NOT_STARTED · Dependabot live on the canonical branch: update PRs #107–#113 opened 2026-12-04 (incl. vitest@5.1.2 / vite@8.4.0 majors) — D1 triage queue.
8
9
---
10
@@ -25,7 +25,7 @@
25
2. **Worker (A1/B1/F1/D1)** implements on its own dedicated branch (each Arena session = single branch), opens one focused PR (≤ ~1,500 changed lines excl. tests/generated data — الف۵), PR body matches `git diff --stat` + real head (الف۴), uses the PR template, appends `docs/PROJECT_LOG.md`, updates `PROJECT_STATUS.md`, adds ADRs for decisions.
26
3. **T1 runs the verification protocol** on the PR head and returns a structured verdict to M0: `PASS | CHANGES-REQUESTED | FAIL` with reproduced evidence. T1 never edits code (separation of duties).
27
4. **M0 reviews** verdict + complete diff + governance compliance. `CHANGES-REQUESTED` → specific findings go back to the worker; iterate.
28
-5. **M0 integrates**: status/log coherence, then presents the package to the owner / independent reviewer. **Merge & tag = owner/reviewer only (§19).** A T1 verdict is verification evidence, *not* acceptance.
28
+5. **M0 integrates**: status/log coherence, then merges the focused PR. **Amended by ADR-034 (owner's standing directive):** integration is delegated to the executing agent — merge after a T1 PASS and green CI on the real head SHA (squash, explicit PR number, into `source-data-cleanup`). **Tagging and releases remain owner actions.** A T1 verdict is verification evidence, *not* acceptance.
29
30
**Serialization:** one active PR per file-area at a time. Workers must check open PRs touching their target files before starting. The former #99 block is **lifted** (PR #99 merged → `70a0110`): D1's vitest upgrade and F1's coverage raise (`package.json`, `vite.config.ts`, `frontend-ci.yml`) may now start — still one at a time in that file-area.
31
@@ -101,7 +101,7 @@ You are Agent **B1 «Backend Engineer»** on Aram (repository `davoodmehraban89/
101
- **Before starting:** check open PRs that touch your target files; on a collision, report to M0 and wait.
102
- Verify: the work order's exact test commands, `ruff check src tests`, `ruff format --check` on the CI paths, `mypy` (domain + services), `git diff --check`, and protected-data tree hashes before/after (`git rev-parse HEAD:data HEAD:samples`).
103
- Push your dedicated branch; open the PR into the approved base. **Never merge, never tag, never close others' PRs.**
104
-- Final report in the AGENTS.md format (verified base SHA, remote branch, full head SHA, PR number+URL, exact changed files, test commands/results, GitHub Actions URLs/results, artifacts/releases or `NONE`, protected-data confirmation, remaining risks), ending with: `Ready for independent GitHub review; not merged.` Then hand to T1 via M0.
104
+- Final report in the AGENTS.md format (verified base SHA, remote branch, full head SHA, PR number+URL, exact changed files, test commands/results, GitHub Actions URLs/results, artifacts/releases or `NONE`, protected-data confirmation, remaining risks), ending with the **real integration state** (ADR-034): the open PR URL, or the merged squash SHA + timestamp if M0 already integrated. Then hand to T1 via M0.
105
106
## Prohibited
107
@@ -144,7 +144,7 @@ You are Agent **F1 «Frontend Engineer»** on Aram (repository `davoodmehraban89
144
- **Before starting:** check open PRs touching your target files. **PR #99 (which touched `package.json`, `vite.config.ts`, `frontend-ci.yml`) is merged → `70a0110`; your coverage-raise task may start on M0's work order — coordinate with D1's vitest/vite upgrade (same files: one active PR per area; Dependabot PRs #109–#112 already propose the vitest@5/vite@8 majors).**
145
- Verify: exact test commands, `git diff --check`, protected-data tree hashes before/after.
146
- Push your dedicated branch; open the PR into the approved base. **Never merge, never tag.**
147
-- Final report in the AGENTS.md format ending with: `Ready for independent GitHub review; not merged.` Then hand to T1 via M0.
147
+- Final report in the AGENTS.md format ending with the **real integration state** (ADR-034): the open PR URL, or the merged squash SHA + timestamp if M0 already integrated. Then hand to T1 via M0.
148
149
## Prohibited
150
@@ -191,7 +191,7 @@ You are Agent **D1 «DevOps / Release & Security Engineer»** on Aram (repositor
191
- **Before starting:** check open PRs touching your target files (see the D1 note above — the #99 block is lifted; Dependabot update PRs #107–#113 are open on the canonical branch).
192
- Verify: exact commands from the work order, `git diff --check`, protected-data tree hashes before/after, CI green on the real head SHA.
193
- Push your dedicated branch; open the PR into the approved base. **Never merge, never tag.**
194
-- Final report in the AGENTS.md format ending with: `Ready for independent GitHub review; not merged.` Then hand to T1 via M0.
194
+- Final report in the AGENTS.md format ending with the **real integration state** (ADR-034): the open PR URL, or the merged squash SHA + timestamp if M0 already integrated. Then hand to T1 via M0.
195
196
## Prohibited
197
docs/agent-orchestration/MASTER_ORCHESTRATION_PROMPT.md
+2
-4
@@ -36,7 +36,7 @@ Delegate each task to a role card (§5). If your platform supports spawning sub-
36
2. **Worker role implements** on its dedicated branch → **one focused PR**: ≤ ~1,500 changed lines excluding tests/generated data (الف۵); PR body matches `git diff --stat` + the real head exactly (الف۴); `.github/pull_request_template.md` used; `docs/PROJECT_LOG.md` appended; `PROJECT_STATUS.md` updated when current state changes; new ADR instead of rewriting an accepted decision; only explicitly allowed paths touched.
37
3. **T1 gates the PR — mandatory, before your review:** run the verification protocol (§6) → structured verdict.
38
4. **M0 reviews** verdict + complete diff + governance compliance. `CHANGES-REQUESTED` → specific findings (file:line, expected vs actual, repro command) go back to the worker; iterate until PASS.
39
-5. **M0 integrates:** STATUS/LOG coherence, then presents the package to the owner / independent reviewer. **Merge and tag are owner/reviewer actions only (§19).** Never merge, never tag, never close others' PRs. A T1 verdict is verification evidence, *not* acceptance.
39
+5. **M0 integrates:** STATUS/LOG coherence, then merges the focused PR. **Amended by ADR-034 (2026-12-04, owner's standing directive):** integration is delegated to the executing agent — merge after a T1 PASS and green CI on the real head SHA (squash, explicit PR number). **Tagging and releases remain owner actions**; never tag, never close others' PRs. A T1 verdict is verification evidence, *not* acceptance.
40
41
**Serialization:** one active PR per file-area at a time. Before starting, a worker checks open PRs that touch its target files; on collision it reports to M0 and waits.
42
@@ -122,9 +122,7 @@ As of 2026-12-04:
122
123
## 10. Your reports to the owner
124
125
-For every completed or advanced task, report in the AGENTS.md final-response format: verified base SHA, remote branch, full head SHA, PR number + URL, exact changed files, test commands/results, GitHub Actions URLs/results, artifact/release evidence or `NONE`, protected-data confirmation, and remaining risks. End with exactly:
126
-
127
-`Ready for independent GitHub review; not merged.`
125
+For every completed or advanced task, report in the AGENTS.md final-response format: verified base SHA, remote branch, full head SHA, PR number + URL, exact changed files, test commands/results, GitHub Actions URLs/results, artifact/release evidence or `NONE`, protected-data confirmation, and remaining risks. End with the **real integration state** (ADR-034): the merged PR number, squash SHA and merge timestamp, or the open PR URL if it is not merged. Do not use a fixed "not merged" sentence — report what actually happened.
126
127
For analysis-only turns (no repository changes), report findings with `file:line` citations and the proposed next actions, ending with:
128
docs/handoff/LATEST_HANDOFF.md
+3
-3
@@ -35,13 +35,13 @@ Booklet 2 v2.0 (`docs/booklet/BOOKLET_v2.0.md`, ADR-027) supersedes conflicting
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.
38
+- Implementation agent (Arena/Jules): exact-base focused implementation, tests, PR, and evidence; merges its own focused PR only under ADR-034 (T1 PASS + green CI on the real head; never tags).
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).
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. **ADR-034 (2026-12-04, owner's standing directive):** integration is delegated to the executing agent — M0 merges the focused PR after T1 PASS + required CI green on the real head SHA (squash, explicit PR number, into `source-data-cleanup`); **tagging and releases remain owner actions**. Separation of duties is procedural and absolute: T1 re-derives all evidence independently.
45
46
## Governance and release reality
47
@@ -54,4 +54,4 @@ Booklet 2 v2.0 (`docs/booklet/BOOKLET_v2.0.md`, ADR-027) supersedes conflicting
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.
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 (session `arena/094f314c-aram`, owner directive «کل کار رو بدون توقف تا انتها پیش ببر»): **R4** via the orchestration loop (M0 work order → B1 implements → T1 gates → M0 integrates under ADR-034), then **R5** (`docs/c01_exceptions.json`) and **R6** (pre-release checklist; marking = owner action); retroactive T1 passes on R2 (#100) and R3 (#101) are in progress in that session. 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.