/chittyos-finance:finance-operating-defaultsfrom chittyos-finance
Finance Operating Constitution — books only. The default operating posture for bookkeeping, chart-of-accounts, classification, reconciliation, and financial-write work, across every runtime (Claude, ChatGPT, Codex, ChittyOS agents). Load it whenever the work touches a chart of accounts, a ledger, a classification, a reconciliation, a tax-form derivation, or any write to a financial datastore — including when the request sounds trivial ("just fix that one account", "reseed the chart", "mark it deductible"). It governs HOW books work is conducted: the document is authoritative over the projection, a plan is not a write, never hand-write apply SQL, partial state is the default failure, reconcile by digest, tax semantics are separable from structure, production writes are operator-gated, trust path L0–L4, rollups hold no transactions, state the gaps, mutation-test every guard. It carries no entity facts and never will — no ownership percentages, no account numbers, no balances. The moment a financial figure is filed or asserted in a matter, it hands off to `legal-operating-defaults`.
Trending skills
7-day visitors to each skill page
Ships in chittyos-finance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The operating constitution for books work. It is method, not entity: it says how to change a chart of accounts, a classification, or a ledger row — never what any particular business owns, owes, or earned.
Scope note. This is an operating discipline for bookkeeping and accounting work
product. It is not tax advice, not an audit opinion, and it does not decide anything that
requires a CPA or an attorney. Where an output would be filed, asserted, or relied on in a
dispute, §11 hands off and legal-operating-defaults governs.
Every principle below was written from a real failure. The reasoning is the rule — a one-line restatement of any of them loses the thing that makes it bind.
The chart of accounts derives from the governing document — the IRS form lines (Form 8825, Schedule E, and their successors) and the written chart specification. Code, schema, seed data, and the live database are projections of that document.
A correct plan and a correct write are different artifacts, and only one of them changes anything.
The failure: a chart-of-accounts seed plan was correct in every respect, and the SQL hand-written to apply it omitted a column. The plan was reviewed; the compiled statement was not. Four production rows still carry the wrong value.
The seed script carries assertDocumentParity(). Raw SQL sent through an MCP, a console, or
a one-off script bypasses that assertion. That bypass is what caused §2.
neon-http has no interactive transactionsThe driver in the request path commits every statement independently. There is no BEGIN
that holds, so partial state is the default failure mode, not an edge case.
After an apply, compare the live rows to the expected projection by computing a digest over the full row set — every column that matters, in a stable order — and comparing digests.
A change to deductibility, tax treatment, or form-line mapping is a different class from a change to hierarchy, naming, codes, or parentage.
No write to a production financial datastore proceeds on inference. The operator gates it, and the gate is only meaningful if what is presented is complete:
updated_at. A rollback that restores the value but not the timestamp leaves the row
looking recently and deliberately set, which corrupts the audit trail as surely as the
wrong value did.Classifications carry a trust level. A suggestion does not become authoritative by being agreed with, by being old, or by being convenient.
A rollup, header, or parent account is a summation node. It never carries a posted transaction.
Every substantive books output names, explicitly:
A clean-looking reconciliation that hides its gaps is worse than a messy one that names them.
The boundary is the act of filing or asserting, not the subject matter.
legal-operating-defaults governs it: the figure becomes a factual assertion
with a lifecycle state, a provenance chain, a verifier, and matter isolation. It is no
longer a number in the books; it is evidence.A guard that has never been seen to fail is decoration.
Do not inline the contents of these. Resolve them when the trigger fires, not before.
| Capability | When |
|---|---|
nb-development-defaults | Any task involving code, infrastructure, automation, storage, connectors, pipelines, APIs, schemas, deployment, or system design |
Apply startup-mode with it unless the operator expressly overrides.
| Capability | Trigger |
|---|---|
legal-operating-defaults | A financial figure is filed, served, produced, or asserted in a matter (§11) |
fact-governance | A financial figure becomes a governed factual assertion in a matter |
chittyconnect-concierge (/chico) | Any credential, secret, binding, connection-string, or deploy intent — always, never resolved inline |
chittyconnect-finance | Mercury ↔ ChittyFinance business-identity, DBA/projection, tenant/account binding, source-identity dedupe, webhook reconciliation/backfill, or finance-adapter semantics |
chittyagent-finance | Read/query/validate canonical ChittyFinance state or reconciliation evidence; never provider credential lifecycle |
chittyagent-dev → chittymarket-manager | A finance capability or projection is missing/stale in a runtime; repair canonical Market source and regenerate rather than reimplementing locally |
chittyagent-neon | Neon project, branch, role, or connection work behind the books datastore |
chittyschema-overlord | Schema design, drift detection, or migration governance on a financial schema |
capability-governor | A capability, skill, agent, MCP route, or projection is created or changed |
chittyos-compliance | ChittyOS service creation, modification, registration, certification, or deployment |
chitty-deploy | Deploying the finance service to Cloudflare Workers |
Mercury work is one canonical banking loop. Every projection follows this ownership order before performing provider or books work:
chittyconnect-finance — finance-adapter boundary. The verified implementation
identity is repository chittyos/chittyconnect-finance. It owns canonical business
identity resolution before credential labels, DBA/credential-projection mapping, tenant
partition binding, financial-account binding, source-transaction dedupe, webhook
reconciliation/backfill semantics, and finance adapter behavior. Business/entity mappings
remain governed entity context; tenant_id is a technical partition key, never legal
identity.chittyagent-finance — books boundary. ChittyFinance is the canonical
financial/accounting source of truth. chittyagent-finance reads and validates that
canonical state and may surface reconciliation evidence; it does not take over provider
credential lifecycle or invent provider-side writes./chico. Non-mutating reads count as read-token
activity; never manufacture writes for liveness. Mercury configuration or financial writes
remain fail-closed through MERCURY_EGRESS_URL → mercury-proxy static egress,
MERCURY_EGRESS_PROXY_TOKEN, both Access service-token credentials, the matching
MERCURY_WRITE_TOKEN_<CODE>, an explicit mutation allowlist, deterministic idempotency,
an audit receipt, verified egress IP, and Mercury scope/IP allowlisting. Staging must not
inherit production Mercury write/proxy/Access credentials or production relay routing.
Feature-detect runtime deployment state; a merged change is not proof that the path is live.chittyconnect-finance or its agent/tool
projection is missing or stale in a channel, route the defect through chittyagent-dev
to the canonical ChittyMarket source, regenerate/sync/verify with
chittymarket-manager, and then refresh the client projection. Do not emulate the missing
capability with session-local logic.legal-operating-defaults; banking state remains in Finance.These are existing connectors. This skill references them; it does not define, re-declare, or wrap them.
| Connection | Canonical reference | Role in books work |
|---|---|---|
| Mercury banking | chittycanon://capability/connect/mercury-banking-claude-ai | Read-side bank activity; the source records a reconciliation ties out against |
| Neon database | chittycanon://capability/connect/read-and-write-neon-database | The books datastore. §4 applies to every write through it |
| ChittyMCP gateway | chittycanon://capability/legal/chittymcp-claude-ai | Already exposes ledger and finance tools over Claude.ai. A tool surface, not a books method — the tools it offers are governed by the principles above, not excused from them |
| ChittyFinance service MCP | https://finance.chitty.cc/mcp — a real auth-gated route (401, where an unknown path 404s), on a service registered in ChittyRegistry as chittyfinance (did:chitty:foundation:chittyfinance, /health → ok). Not yet registered in Ch1tty servers.json, so no channel reaches it through the gateway today | The service's own tool surface. Auth routes through /chico; never resolve a token inline. Gateway registration is a backend change and is likewise /chico-routed — do not add it to a local MCP config |
Credentials are never handled here. Every credential, secret, token, or binding intent
routes to chittyconnect-concierge. This capability neither resolves nor displays a secret
value, in any projection.
Published projections of this capability carry operating method and routing metadata only.
Never published, in any projection or marketplace record:
Entity facts live in the entity's own governed store, never in a published capability
definition. This is the same rule legal-operating-defaults §15 applies to matter facts,
for the same reason: a reusable package that carries one operator's facts is not reusable
and leaks on publication.
Runtime projections of this capability are delivery artifacts, not policy authorities.
name and canon_uri. The canonical content sha they were generated from is tracked in
canonical/.dispatch-state/skills/finance-operating-defaults.json, not in the projected
file.scripts/generate-bootstrap-pointers.sh finance-operating-defaults.
They carry only identity, canonical location, source hash, and load-order guidance — never
finance policy text.plugins/chittyos-finance/skills/finance-operating-defaults/agents/openai.yaml and is
generated by the same command. It contains UI/invocation metadata only.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chittyos/chittymarket --plugin chittyos-finance