<!-- source: openspec/changes/establish-studio-entity-baseline/verification.md -->

<!-- source: openspec/changes/establish-studio-entity-baseline/verification.md -->

# Verification — establish-studio-entity-baseline

> Companion to [`proposal.md`](proposal.md) / [`design.md`](design.md) / [`tasks.md`](tasks.md). Lists the deterministic acceptance assertions for Phase 1 (drafting). Phases 2–4 ship their own PRs with their own verification additions appended to this file when the trigger fires.

## Spec alignment

"Done" at the capability-spec level for Phase 1 is **scaffold-complete with no `openspec/current/` or `openspec/_methodology/` writes yet**. The change's substantive deliverable — `openspec/_methodology/studio-entity-baseline.md` with concrete IDNO, registered office, CAEM codes, and ratified D-SEB-1..5 — lands at Phase 3, gated on operator completing SRL registration with FinExpert and securing IT Park residency certificate.

Phase 1 ratifies the drafting that does not depend on registration outputs: the rationale (`design.md`), the citation register (`research/01-moldova-laws-and-sources.md`), and the per-phase task and verification contracts (`tasks.md` + this file). Phase 1 leaves `openspec/decisions.md` and `openspec/open-questions.md` untouched — D-SEB-1..5 are designed-but-not-ratified, Q-SEB-1..3 are documented in `design.md § Open questions` but not yet opened in the global `open-questions.md` registry. That promotion happens at Phase 3.

## Hallucination risks

MUST appear in this PR:

- `openspec/changes/establish-studio-entity-baseline/proposal.md`
- `openspec/changes/establish-studio-entity-baseline/design.md`
- `openspec/changes/establish-studio-entity-baseline/tasks.md`
- `openspec/changes/establish-studio-entity-baseline/verification.md`
- `openspec/changes/establish-studio-entity-baseline/research/01-moldova-laws-and-sources.md`
- Reference to D-SEB-1..5 in `design.md` headings
- Reference to Q-SEB-1..3 in `design.md § Open questions`

MUST NOT appear in this PR (held for later phases):

- `openspec/_methodology/studio-entity-baseline.md` (Phase 3)
- New `D-SEB-N` lines in `openspec/decisions.md` (Phase 3)
- New `Q-SEB-N` lines in `openspec/open-questions.md` (Phase 3)
- `_legal/vendors/finexpert.md` (Phase 2)
- Edits to `openspec/changes/publish-legal-bundle/research/01-commercial-lawyer.md` closing the `[IDNO]` / `[address]` placeholders (Phase 3)
- Edits to `openspec/_methodology/rapoport-studio-engagement.md` or `openspec/_methodology/specialist-network.md` (Phase 3)
- DB migrations under `supabase/migrations/` (this change ships none, ever — operational baseline, not schema)
- Any file under `apps/web/`, `apps/studio/`, or `packages/*` (this change is docs-only across all four phases)

MUST NOT contradict primary law citations: any tax rate, threshold formula, audit deadline, or CAEM code reference present in `proposal.md` / `design.md` / `research/01-moldova-laws-and-sources.md` MUST be traceable to a legis.md citation in the research file — no derived claims without source.

## Pattern references

- [`changes/establish-studio-legal-baseline/`](../establish-studio-legal-baseline/) — sibling baseline change targeting `_legal/` scaffolding. Mirror its file layout (proposal / design / tasks / verification / research/) and its rule of "Phase 1 ships scaffold without touching `_legal/` or `openspec/current/`".
- [`changes/publish-legal-bundle/`](../publish-legal-bundle/) — multi-phase change (phases 1–8) with research/ folder, counsel-gated late phases, and per-phase PRs. Mirror its `tasks.md § Phase N` structure with explicit triggers and forward-pointer checklists for gated phases.
- [`openspec/AGENTS.md § verification.md canonical shape`](../../AGENTS.md) — the four required sections (Spec alignment / Hallucination risks / Pattern references / Acceptance) and the six allowed `Done when:` shapes.

## Acceptance

- Done when: [ -f openspec/changes/establish-studio-entity-baseline/proposal.md ]
- Done when: [ -f openspec/changes/establish-studio-entity-baseline/design.md ]
- Done when: [ -f openspec/changes/establish-studio-entity-baseline/tasks.md ]
- Done when: [ -f openspec/changes/establish-studio-entity-baseline/verification.md ]
- Done when: [ -f openspec/changes/establish-studio-entity-baseline/research/01-moldova-laws-and-sources.md ]
- Done when: grep -c '^## D-SEB-' openspec/changes/establish-studio-entity-baseline/design.md returns 5
- Done when: grep -c '^### Q-SEB-' openspec/changes/establish-studio-entity-baseline/design.md returns 3
- Done when: grep -c '^## Phase' openspec/changes/establish-studio-entity-baseline/tasks.md returns 4
- Done when: [ ! -f openspec/_methodology/studio-entity-baseline.md ]
- Done when: ! grep -q 'D-SEB-' openspec/decisions.md
- Done when: ! grep -q 'Q-SEB-' openspec/open-questions.md
- Reviewer confirms: every tax-rate / threshold-formula / CAEM-code claim in proposal.md and design.md is traceable to a legis.md citation in research/01-moldova-laws-and-sources.md.
- Reviewer confirms: tasks.md Phase 2–4 sections each name an explicit real-world trigger that unlocks the phase (SRL registration, IT Park certificate, first quarterly cycle).
- Done when: gh pr list --head docs/establish-studio-entity-baseline/finish-phase-1-drafting returns ≥1
- Done when: jq -r '.outcome' ~/.forge/state/RAP-XXXX.json returns 'completed-with-pr'

> The final `jq` gate references a Linear ID that does not exist yet — Phase 1 ships before the epic is filed (per `tasks.md § PR mechanics`). After the Linear epic is filed post-merge, this verification.md is amended to substitute the real RAP-NN; until then the gate is informational. Pre-merge graders should treat the final two lines as a placeholder, not a hard block.
