How an engagement runs
Four Claude skills run in sequence against a client folder in clients/<slug>/. Each phase reads the source files and prior reports in that folder, writes its markdown deliverable back to disk, and reseals the client's AES-256-GCM Data Ball.
1 · Create the engagement
In the Intake view, choose personal or business, enter the client name, and drop in their accounting exports and tax documents. The server createsclients/<slug>/ with client.json, normalizes any accounting or bank feeds into INGESTED-LEDGER.txt, and seals the initialvault.databall. Each engagement type includes a pre-Phase-0 document checklist so missing W-2s, 1099s, or bank statements are caught before verification runs.
2 · Run the phases
Each skill reads the engagement folder and writes its report back into it:
| Command | Writes |
|---|---|
/accounting-intake clients/<slug>/ | financial-profile-<slug>.md |
/accounting-verify-data clients/<slug>/ | phase1-data-verification-report.md |
/accounting-verify-compliance clients/<slug>/ | phase2-compliance-report.md |
/accounting-tax-strategy clients/<slug>/ | phase3-tax-strategy-report.md |
3 · Read the state
The dashboard parses the markdown files on every request. Reloading the page always reflects the current files on disk.
The status contract
Each check section in a report starts with a machine-readable status line:
## CHECK 3 — CLASSIFICATION ACCURACY
**Status:** FLAG — 14 transactions need reclassification before filingEvery check starts with PASS, FLAG, FAIL, orSKIPPED, followed by the finding. Unparseable status lines default toflag. A section with no status line is marked unrecorded, and a report with no status lines shows as "written" rather than "verified".
Files as the state model
Because state comes from the markdown reports, a phase can be re-run by an agent or edited by an accountant in a text editor and the UI updates on refresh. Deleting a report resets that phase in the dashboard.
Running locally
git clone git@github.com:cemarsh/accounting.git
cd accounting/web
npm install
npm run dev # dashboard + engagement API on localhost
npm run serve # build, then serve from dist/The local server binds to loopback (127.0.0.1) unless configured otherwise. See Security for remote deployment settings.