← Files VeraARCHIVED FILE

modules/client-file-preparation/skills/avviso-intake/SKILL.md

6.33 KB · Oct 2, 2026 · 00:29 UTC

↓ Download file

---
name: avviso-intake
description: Use when creating a first intake memo for notices, agency communications, avvisi, cartelle, HMRC letters, or Swiss cantonal tax letters found in a customer folder, extracting practical references.
---

## Client workflow gate

Resolve the exact Studio Archive client and engagement before reading or writing
case material. Resume or prepare a `client-file-preparation` run, use only its
managed input folder and `output_dir`, and pass its absolute context path as
`--client-engagement`. Do not invent a sibling output folder.

# Avviso Intake

Use this workflow when a customer folder contains an avviso, comunicazione, cartella, Agenzia file, HMRC letter, Swiss cantonal tax letter, or similar document.

## Codex-Native Run UX

Before running helper scripts or write-heavy work, identify material choices that would change execution: problem framing, decision angle, risk appetite, scope boundaries, audience, evidence posture, mappings, cut-off, OCR, notification, or review assumptions. Reuse choices already established in the conversation or bound case records. Ask only for unresolved material choices and wait before their dependent work; continue independent authorized preparation. Generate choices from the actual inputs; do not offer named frameworks, regulators, document types, output packages, or issue categories unless the facts cue them or the user must supply a missing custom value. Do not infer missing required evidence, approval, or a material business decision. State routine provisional assumptions when the workflow permits them.

Default output policy: produce the richest normal package for the workflow. DOCX/Word, Excel/CSV, JSON audit, diagnostics, charts, packaged reports, review notes, and Codex-written review files are not choices to propose when they are natural outputs of that plugin; generate them whenever dependencies and source data permit. Ask only when an output is technically impossible, unsafe, or the user explicitly requests a reduced/debug run.

Default currency policy follows the document and jurisdiction: Italy uses
`EUR`, Swiss cantonal matters normally use `CHF`, and UK matters normally use
`GBP`. Preserve an explicit source currency. Ask only when an unresolved
currency would materially change the intake; otherwise record the applicable
jurisdiction default as an assumption.

Keep progress and handoff concise. Use a checklist, Run Intake table, Decision
Table, or Artifact Card when it helps the user review complex work; their chat
format is optional. Preserve all required saved mappings, review decisions,
validation records, and artifacts. Resolve material choices before dependent
execution and continue independent authorized work while awaiting an answer.
Obtain authorization for external, destructive, or approval-sensitive actions
when not already given, and preserve workflow-specific approval gates.
At delivery, link outputs and state their purpose, review status, unresolved
items, and next action. Create `codex_run_review.md` when a durable review index
is useful; never edit plugin source or generated ZIPs during a user-data run.

## Scope

- Extract practical elements only: file name, possible dates, possible amounts, protocol references, and documents to recover.
- State clearly when an element is "da verificare".
- Read each file's classification and extraction disposition from the shared
  handoff. A filename hint does not establish the document's meaning, and an
  unreadable or unsupported notice cannot be treated as reviewed. Inspect the
  relevant source before interpreting practical references or missing evidence.

## Run

The avviso intake is included in the full workflow:

```bash
python ../../scripts/build_file_preparation_outputs.py <managed-input-folder> --client-engagement <client_engagement_path> --year <anno>
```

If the command is interrupted, rerun it with the same arguments and output
folder. The workflow resumes integrity-checked extraction checkpoints for
unchanged source files and rejects stale or incompatible partial runs.

Review:

- `avviso/avviso_intake_memo.md`
- `avviso/deadlines_and_amounts.csv`

For persisted Model review, validate once and reuse the returned opaque review
reference for render, save, and apply. Do not resend `review_payload.json`
merely to carry state. Routine high-confidence inventory rows omit extracted
text previews after deterministic mapping; exception rows retain a bounded
preview, and every row keeps its exact local source reference.

## Deliver the reviewed notice, not only the extraction list

A mention of a tax form in a notice does not establish that the form was supplied.
Read the notice and any client covering message before accepting document kinds.
Use the existing text-hash-bound `--document-kind-decisions` contract when a
lexical candidate is wrong. For a readable letter with no supported fiscal-form
adapter, `kind: "unsupported"` means no fiscal-form fields are extracted; it does
not mean that the letter is unreadable. Preserve the exact extracted-text hash
and `basis: "model_review"`. Changed decisions require a new successor run.
Keep generated decision JSON under that run's owning `outputs/` and use
`--out <owning-outputs>/intake` for its fresh native output directory, so the
configuration is outside the initially empty intake folder.

The deterministic `avviso/avviso_intake_memo.md` and date/reference CSV are
extraction aids. The main delivered note is the current source-backed synthesis
in `07_scheda_codex_per_studio.md`. Follow the full client-file-preparation skill's
normal explicit review edit and Apply path to replace its initial template.
Explain who wrote to whom, the stated request and period, protocol, dates with
their source meaning, documents actually received, missing evidence and next
checks. Distinguish a client statement from an acquired document or proof of
receipt. Do not turn an extracted date into a verified legal deadline or infer
a quantified debt from a document request.

Review the missing-document candidates against this assignment. Remove unrelated
general tax-intake questions; a notice does not by itself justify a CU request.
Show the reviewed note first, then the extracted references. Keep all original
sources and extraction records. Apply changes through the normal review contract,
never by overwriting sealed outputs. Practice with new evidence uses a fresh run
and retains the earlier notice assessment.

SHA-256: c6b1da5358a14a4e520cad3b761208522e16038edef40520da6574f470525791