Admin · Setup

Import workbench

Paste JSON, see exactly what it will do, then apply through an audited database function. Applies run as you, so sign in first.

You are signed out
Previews still work, but every apply will be refused. Go to login.
EnvironmentReadyRoot env loaded
Remote writesTest windowGuarded CLIs
Bootstrap payloadValid1 company, 48 periods
Schema apply50 workbenchespnpm v2:migration-status

Foundation

AI resources

Back to the app

External AI briefing

Copy this prompt, paste it into ChatGPT/Claude with your Excel/CSV, then paste the returned JSON here.

PAN: not set — add at /app/company

VAT: not set — add at /app/company

Examples are templates, not gospel
Repo examples pass structural validation but use placeholder tax IDs and sample amounts. Your accountant should confirm statutory rules and opening balances before you apply in production.

AI Resources JSON

Valid
44 lines

Preview

Resource packet preview
Company
SCC
Packets
2
Drafts
0
Sources
4

Upserts AI resource packets by code and version; the payload must carry at least one packet. Importing a version as active makes it the only active version of that code (any other active version is retired and stamped as superseded); importing it as retired stamps the retirement. The active version can be corrected in place; retired versions are frozen (re-importing them with different content is refused, publish a new version instead) but can be re-activated. Optional drafts are recorded by draft type and payload content (key order and number spelling do not matter), so re-importing the same draft updates the fields the entry carries and keeps the stored packet link, prompt, model and validation result for any field it omits, rather than adding a second row. Drafts can be draft, validated or abandoned (applied is stamped by the apply path that consumes the draft); applied and abandoned drafts are locked. No model API is called. Requires ai.manage_resources, plus ai.manage_drafts when drafts are present.

Runs app.apply_import('ai_resources') as you; the database re-checks your permission and records an audit event.