Skip to content
ContractSpec
Start here

Package manual · domains

·Billing, finance and economic evidence

lib.finance-os-runtime

Deterministic provider-neutral FinanceOS planning, budget, posting, and evidence runtime.

domainslibraryv2.0.4experimentalservernode
@lssm-tech/lib.finance-os-runtime
bun add @lssm-tech/lib.finance-os-runtime
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Deterministic FinanceOS projections over @lssm-tech/lib.finance-ops-spec and @lssm-tech/lib.economic-evidence.

The runtime validates exact money, entity and tenant isolation, balanced postings, segregation of duties, idempotency, corrections, budget freshness, and multi-company consolidation. Consequential operations only produce digest-bound handoff packets. Hosts must obtain ContractSpec Connect approval and provide adapters; this package never executes banking, tax, payroll, provider, or ledger effects.

Consolidation is explicitly holding-bound and homogeneous in both currency and scale. Full consolidation uses validated decimal/minor exact-money totals; elimination requires scoped accounts plus posted, Connect-authorized reciprocal entries whose evidence exists in FinanceOS truth. Mixed units require governed FX evidence and therefore fail closed in this runtime by default.

Relationships

THIS PACKAGElib.finance-os-runtime9 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

2 declarations

Declared capabilities

Lib Finance Os Runtime

Deterministic provider-neutral FinanceOS planning, budget, posting, and evidence runtime.

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • cleanrimraf dist .turbo
  • lint:checknode ../../../../scripts/biome.cjs check .
  • prebuildcontractspec-bun-build prebuild
  • testbun test
  • typechecktsgo --noEmit