feat(capital): Keynes-inspired 8 Forms of Capital accounting module #47
Merged
wasabi opened 1 week ago

Summary

Extends the 8 Forms of Capital from a static stock inventory into a dynamic capital-accounting & deferred-credit system, borrowing from Keynes' How to Pay for the War.

Changes

  • schemas/postgres/330_capital_accounting.sql: capital_capacity_assessment, capital_diversion_observation, capital_capture_risk, regenerative_credit_ledger (DRAFT-only), and v_capital_dashboard.
  • services/capital/: capacity (output-capacity & under-mobilization), diversion (consumption-vs-reinvestment index via expense_event.is_capex), capture (value-leakage / concentration signal), credit (deferred-pay ledger, draft-only, read-only credit_capacity), accounting_report, cli.
  • services/export/report_generator.py: new capital_accounting report type + comprehensive_status section.
  • services/agents/safety.py: register new governed tables; agents may only create draft regenerative_credit_ledger.
  • AGENTS.md: constructive-only boundary note + CLI references.
  • tests/test_capital_accounting.py: 9 passing tests (capacity, diversion, capture, DRAFT-only enforcement, report composition).

Keynes concepts mapped

  1. Deferred Pay / compulsory savings -> regenerative_credit_ledger.
  2. Output-capacity & national-income accounting -> capital_capacity_assessment.
  3. Consumption-vs-production diversion -> capital_diversion_observation.
  4. Managed containment (inflation analog) -> capital_capture_risk.
  5. External deficit / allied financing -> credit_capacity (network-underwritten deficit).
  6. Non-coercive levy as deferred merit claim -> compatible with the overjustification guardrail.

Safety

Advisory-only; no autonomous settlement/redemption or on-chain drawdown. New writes restricted to status='draft' via safety.py. All analytics read-only.

Commits were merged into target branch
  • feat(capital): Keynes-inspired 8 Forms of Capital accounting module
    Extends the 8 Forms of Capital from a static stock inventory into a dynamic
    capital-accounting & deferred-credit system (Keynes, How to Pay for the War):
    
    - capital_capacity_assessment: stock vs regenerative output capacity;
      surfaces under-mobilized Forms (output-capacity accounting).
    - capital_diversion_observation: consumption-vs-reinvestment diversion index
      (capex proxy from expense_event.is_capex).
    - capital_capture_risk: value-leakage / concentration early-warning per Form.
    - regenerative_credit_ledger: DRAFT-only deferred-pay / compulsory-savings
      analog (withheld claim on future regenerative output). Settlement/redemption
      are human-approved and out of scope.
    - services/capital/ module + CLI (capacity, diversion, capture, credit, report).
    - capital_accounting report type + comprehensive_status section.
    - safety.py: register new tables; agents may only create draft credits.
    - AGENTS.md constructive-only boundary note + CLI references.
    - tests/test_capital_accounting.py (9 passing).
    1 week ago
  • wasabi merged 1 week ago
1/1
Submitter wasabi
Target main
Source feat/capital-accounting
Jobs
Merge Strategy
Create Merge Commit
Watchers (1)
Reference
pull request KI-47
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover