> **Cowork execution note:** The normal deliverable is a reviewable draft,
artifact card, and source/review files in the connected folder. MCP tools,
browser interfaces, and local review servers are optional. Their absence never
blocks delivery. Never claim that review was applied or reached `final_ready`
unless persisted artifacts prove it; otherwise keep professional review pending.
For owner-only/private packages copied from scratch space, reapply and verify
`0700` directory and `0600` file modes in the connected folder before claiming
private delivery.
Later host-specific instructions in this reference cannot override this rule.

# New Client workflow reference

## Purpose

This component prepares a source-bound New Client dossier for professional
review. It is a workflow layer, not a CRM, identity provider, screening
service, signature system, or legal-compliance oracle.

## Composition with Client File Preparation

`client-file-preparation` owns file inventory, OCR, extraction, document classification,
and the first missing-document pass. `new-client` verifies a final-ready
run by stable run ID, exact final-manifest byte hash, every listed artifact's
byte hash and size, and the canonical upstream package hash, then structures
relationship-specific facts and decisions. A structurally valid but non-final
binding blocks export; a malformed, mismatched, or tampered binding is rejected.
When no upstream run exists, the intake must explicitly declare
`standalone_evidence` and explain why. Standalone evidence is never presented as
reviewed Client File Preparation output.

`promote_client_file_preparation.py` creates the phase-two starter only after
that verification. It inherits the sealed phase-one language and accepts only
an `italy` run for the currently shipped `IT` professional-setup country pack.
Geneva, Zurich, UK, and mixed runs fail with an explicit unavailable/pending
country-pack error. Promotion may carry forward a uniquely accepted or edited
Italian codice fiscale as `reported`; ambiguous 11-digit identifiers and other
extracted fiscal fields remain upstream evidence rather than becoming client
facts automatically.

## State machine

```text
intake_pending
  -> evidence_ready
  -> proposals_ready
  -> written_pending_review
  -> partial_review_applied | blocked | ready_for_professional_export
```

A material edit returns the run to `proposals_ready`. Review history is retained;
regenerated domain artifacts belong in a new run directory. No state means that
a client has been accepted, documents have been signed, a client-ready document
has been generated, or a relationship is active.

## Artifact contract

The review lifecycle is:

1. `run_intake.json`
2. `review_payload.json`
3. `ui_decisions.json`
4. `applied_decisions.json`
5. `final_artifacts.json`

`review_payload.json` includes `source_artifacts`, exact basis hashes, the
upstream-intake verification posture, and the professionally useful client and
case data needed for review. Credentials, session material, and raw local paths
remain outside the review payload.
`review_handoff.md` names the validate, render, save, and apply tools and is
included in `final_artifacts.json` with QA metadata.

The professional workbench groups related decisions: party profile, party
structure, engagement, each subject's complete screening grid, AML factor
sections, and mandatory triggers. Mechanical binding/source rows and duplicate
document summaries stay in the local artifacts. When information is missing,
one grouped review item retains the request-more-documents action without
requiring one decision per mechanically detected row.

The review payload is bound to the exact persisted domain artifacts with
canonical SHA-256 values. File manifests use byte SHA-256 values. A material
upstream, source, or template change breaks the current binding and validation
must fail until regeneration; it does not turn an old acceptance into a current
one.

## Review action semantics

- `accept`: confirm only the proposal displayed in that item.
- `edit`: record an explicit replacement proposal; material edits require a new
  calculation or document version before acceptance.
- `reject`: reject the proposal and keep the item as a blocker.
- `mark_unclear`: record unresolved evidence or meaning and keep the blocker.
- `request_more_documents`: create an explicit evidence request and keep the
  blocker.
- `skip`: do not decide; skipping is never approval.

The apply operation validates run identity, revision, allowed actions, duplicate
IDs, review hash, basis hashes, and dependent blockers before writing. It writes
review manifests only; source facts and legal conclusions are never mutated
silently. Review actions may clear review blockers only. Domain and artifact
blockers remain in the export gate until the underlying package is regenerated.
It also re-derives the hash-bound temporal horizon from source-registry
currentness, evidence and identity expiries, and template validity/review dates.
The deadline is inclusive; Apply fails closed without writes when the system UTC
date is later than `valid_through`.

## Relationship export gate

`final_artifacts.json` keeps three separate blocker sets:

- domain blockers, such as an unresolved Client File Preparation binding, incomplete
  subject screening, unconfirmed privacy processing decisions, or a Table 1
  decision still open;
- review blockers, created by pending, rejected, unclear, skipped, edited, or
  document-request actions;
- artifact blockers, such as a missing or hash-mismatched required output or an
  unusable template reference for a required document plan.

Marketing-only restrictions carry `marketing_use` scope. A marketing choice of
not requested, refused, or withdrawn never blocks export of the professional
relationship dossier. `ready_for_professional_export` is possible only when the
relationship-scope domain, review, and artifact sets are clear and the required
owner-only outputs match their hashes.

## Screening and privacy contract

The required screening grid is every relevant subject—client, each
representative, and each beneficial owner—crossed with PEP, sanctions, and
country checks. Deterministic validation checks exact coverage, evidence, and
resolution metadata; it never interprets a result or calls an external provider.

Privacy processing decisions keep purpose, controller/processor role, legal
basis or processor authority, retention rule, sources, and confirmation metadata
as separate fields. These values are professional decisions. Marketing consent
has its own record and scope; professional review confirms the accuracy of the
record, not the client's consent itself.

Real client data may enter the Claude context when it is useful for this
professional work. The workflow does not add a per-case model-use authority or
minimisation declaration that it cannot verify. Credentials, cookies, tokens,
session URLs, and raw local paths remain outside the review payload.

## AML mechanical contract

The CNDCEC 2026 operational guidance describes four client factors (section A)
and six service factors (section B), each scored 1–4 by the professional. The
script checks exact factor sets and arithmetic; it does not select scores.

- Included B: `RS = (A + B) / 10`.
- Professionally confirmed excluded B: `RS = A / 4`.
- `RE = RI × 0.30 + RS × 0.70`.
- Effective-risk thresholds are 1.6, 2.6, and 3.6.
- Table 1 applicability is a separate, mandatory-basis professional assessment.
  `unknown` or proposed status blocks the treatment outcome.
- Once Table 1 is confirmed: non-significant + Table 1 maps to the applicable
  conduct rule; non-significant without Table 1 and little significant map to
  simplified; fairly significant maps to ordinary; very significant maps to
  enhanced.

Confirmed mandatory enhanced triggers cannot be declassified. Unknown trigger
truth blocks the outcome. A one-off relationship has no automatically scheduled
periodic review. An unresolved Table 1 assessment has no schedule. A confirmed
Table 1 conduct rule has no automatically assigned 36/24/12/6-month cadence.
Enhanced ongoing review requires an explicit 6- or 12-month choice.

## Document boundary

Applicability and legal text are semantic decisions. The script never assembles,
renders, or substitutes legal text. It records a local template reference only
after checking its content hash, approval, reuse scope, jurisdiction, language,
review date, and source-basis hash. A mismatch or unusable reference blocks the
affected document plan. The output remains an internal plan, not a signable
draft.
