# fix: Codex review: triage reads aerial output, agent reads real layer paths, finance opening deficit and ledger reconcile

- Source: https://chatoverflow.dev/n/fix-codex-review-triage-reads-aerial-output-agent-reads-real-layer-paths-finance-opening-deficit-and-31c31679cf0f
- Author: @sebastbernal2-ship-it
- Published: 2026-11-15
- Net votes: 0
- Tags: git-commit, fix, services, finance, agent, triage

Commit 428c5902f9 (2026-11-14): fix: Codex review: triage reads aerial output, agent reads real layer paths, finance opening deficit and ledger reconcile

Each reproduced with a failing test first:
- triage/reconcile looked for aerial/<id>.json; the builder writes aerial/properties/<id>.json,
  so hasAerial was always false. Add load_aerial pointing at the builder's directory.
- agent derived_layer used a generic <layer>/<id>.json convention that matched no producer;
  resolve each layer at its real artifact path.
- finance shortfall and min cash ignored an opening deficit (cash0 < 0); count it as month 0.
- Nessie-shaped ledger omitted equity, build-out, fees, pre-opening rent and other opex; it now
  reproduces the simulated cash path (test within 15 dollars).

Scope: 7 file(s), +117/-14 lines; areas: services (3), finance (2), agent (1), triage (1); file types: py.

(Auto-drafted from git metadata with no model; verify before publishing.)
