4
5
> **وضعیت:** کامیتشده طبق **ADR-033** (2026-12-04، دستور owner در چت Arena). این فایل پرامپتهای **تکی و کامل** پنج نقش برای اجرا در sessionهای جداگانه است؛ نسخهٔ یکپارچهٔ تکایجنتی در `MASTER_ORCHESTRATION_PROMPT.md` است و `AGENTS.md` هر دو را بهطور خودکار معرفی میکند.
6
>
7
-> **Snapshot at design time:** base = `07a8ae0e621e706e4ce1583a611699bc2bc6d38d` (`origin/source-data-cleanup`) · R1 accepted (PR #98 merged) · PR #99 (dev tooling) OPEN, head `73889c7f8329c788b12ffc8481796cf3782a156a` · R2–R6 NOT_STARTED · Dependabot: 15 alerts on default branch.
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.
8
9
---
10
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.
29
30
-**Serialization:** one active PR per file-area at a time. Workers must check open PRs touching their target files before starting (e.g., D1's vitest upgrade and F1's coverage raise both wait for PR #99 to merge — they touch `package.json`, `vite.config.ts`, `frontend-ci.yml`).
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
32
**Stop conditions (all agents):** base SHA mismatch · protected-data change would be required · tests cannot run · auth blocks publication · evidence unobtainable → **stop and report, do not improvise.**
33
141
142
- Bootstrap: read `AGENTS.md`, `PROJECT_STATUS.md`, `docs/ACCEPTANCE_POLICY.md`, `PROJECT_LOG.md` tail; `git fetch origin`; verify the work order's base branch + full SHA; **stop and report on mismatch**.
143
- One focused PR, ≤ ~1,500 changed lines excluding tests/generated data (الف۵ — note: test files are excluded from the cap, so a test-growing PR may exceed it only with M0's explicit note in the PR body); PR template; `PROJECT_LOG.md` append; `PROJECT_STATUS.md` update when state changes.
144
-- **Before starting:** check open PRs touching your target files. **Open PR #99 touches `package.json`, `vite.config.ts`, `frontend-ci.yml` — your coverage-raise task starts only after M0 confirms #99 merged (or M0 re-orders).**
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.
152
153
## First assignment
154
155
-Until M0 confirms PR #99 merged: audit the six low-coverage components and deliver a **test plan** to M0 (no code). After confirmation: execute queue item 1.
155
+PR #99 is merged (`70a0110`) — nothing blocks the plan-first step: audit the six low-coverage components, deliver the **test plan** to M0, then execute queue item 1 on M0's go.
156
157
---
158
172
173
## Current queue (one PR each unless M0 redirects)
174
175
-1. **Dev-dependency major upgrade:** clear the six dev-only advisories recorded in the `PROJECT_LOG.md` entry of 2026-12-04 (vitest 2.x chain: tinypool ×2 critical, @vitest/mocker + vite-node moderate; vite high ≤6.4.3; esbuild moderate, dev-server only). `npm audit fix --force` proposes vitest@5 (breaking) — plan it as one standalone focused PR: full frontend suite green, coverage re-measured and thresholds consciously re-based (document the new measurements in the PR body), prod-audit gate still 0. **Blocked until PR #99 merges** (same files) — verify before starting.
175
+1. **Dev-dependency major upgrade:** clear the six dev-only advisories recorded in the `PROJECT_LOG.md` entry of 2026-12-04 (vitest 2.x chain: tinypool ×2 critical, @vitest/mocker + vite-node moderate; vite high ≤6.4.3; esbuild moderate, dev-server only). `npm audit fix --force` proposes vitest@5 (breaking) — plan it as one standalone focused PR: full frontend suite green, coverage re-measured and thresholds consciously re-based (document the new measurements in the PR body), prod-audit gate still 0. **Unblocked** — PR #99 merged (`70a0110`); Dependabot has already opened vitest@5.1.2 (#109/#112) and vite@8.4.0 (#110) update PRs — triage/adopt those instead of duplicating; keep one active PR per file-area with F1's coverage-raise.
176
2. **R6 release-checklist package** (documentation PR; no tagging).
177
3. C9 prep per future work orders.
178
188
189
- Bootstrap: read `AGENTS.md`, `PROJECT_STATUS.md`, `docs/ACCEPTANCE_POLICY.md`, `PROJECT_LOG.md` tail; `git fetch origin`; verify the work order's base branch + full SHA; **stop and report on mismatch**.
190
- One focused PR ≤ ~1,500 changed lines excluding tests/generated data (الف۵); PR template; `PROJECT_LOG.md` append; `PROJECT_STATUS.md` update when state changes; new ADR for decisions.
191
-- **Before starting:** check open PRs touching your target files (see the PR #99 note above).
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.
244
245
## First assignment (available now)
246
247
-Independently verify **open PR #99** (dev tooling; head `73889c7f8329c788b12ffc8481796cf3782a156a`, base `07a8ae0e621e706e4ce1583a611699bc2bc6d38d`) as the pilot run of this protocol, and deliver the verdict to M0. Thereafter: continuous gate on every worker PR, in queue order. Second in queue: retroactive verification of **R2 / PR #100** (`a8ba20c`) and **R3 / PR #101** (`0578ea5`) — both merged under the owner's directive before this model was adopted; an independent T1 pass now strengthens the evidence chain (backend suite incl. `test_controls_r2.py` + `test_statement_compare_r3.py`, fail-closed approval behavior, BS 16/16 reproduction, coverage floors).
247
+Retroactive verification of **R2 / PR #100** (`a8ba20c`) and **R3 / PR #101** (`0578ea5`) as the pilot run of this protocol — both merged under the owner's directive before this model was adopted, and #99's acceptance was owner-delegated to the author session (self-review, waiver recorded in `docs/PROJECT_LOG.md`), so an independent T1 pass is what strengthens the evidence chain now (backend suite incl. `test_controls_r2.py` + `test_statement_compare_r3.py`, fail-closed approval behavior, BS 16/16 reproduction, coverage floors). Deliver the verdicts to M0. Thereafter: continuous gate on every worker PR, in queue order.
248
249
---
250