recon_gen.apps.executives.app

Tree-based builder for the Executives App (L.6 — greenfield).

First app built directly against the Phase L tree primitives instead of being ported from imperative builders. The L.6 acceptance is that a first-time author can wire a 4-sheet app without touching constants.py (the tree carries internal IDs); URL-facing sheet IDs are still explicit but live inline here, not in a sibling constants.py module.

Sheets land per L.6 sub-step:

  • L.6.2 — Skeleton + Getting Started shell (this commit).

  • L.6.3 — Dataset SQL (datasets.py).

  • L.6.4 — Account Coverage sheet.

  • L.6.5 — Transaction Volume Over Time sheet.

  • L.6.6 — Money Moved sheet.

  • L.6.7 — Cross-app drills into AR Transactions.

  • L.6.8 — Theme: reuse default preset. (Per N.1.g the sasquatch-bank preset moved to L2 YAML; Executives stays on default until N.4 makes it L2-fed.)

  • L.6.9 — Unit tests (mirror the per-app shape).

  • L.6.10 — CLI wiring (generate executives, –all includes it).

  • L.6.11 — Confirm Executives reads existing PR + AR + Investigation seeds without needing its own demo SQL.

  • L.6.12 — Iteration gate: surface any L.1 friction.

Functions

build_analysis(cfg, *[, l2_instance])

Build the complete Executives Analysis resource via the tree.

build_executives_app(cfg, *[, l2_instance])

Construct the Executives App as a tree (N.4.b — L2-fed).

build_executives_dashboard(cfg, *[, l2_instance])

Build the Executives Dashboard resource via the tree.

recon_gen.apps.executives.app.build_analysis(cfg, *, l2_instance=None)[source]

Build the complete Executives Analysis resource via the tree.

Forwards l2_instance to build_executives_app; default is the persona-neutral spec_example.

Return type:

Analysis

Parameters:
recon_gen.apps.executives.app.build_executives_app(cfg, *, l2_instance=None)[source]

Construct the Executives App as a tree (N.4.b — L2-fed).

Per the N.2 audit, Executives is fed by the same institution YAML that drives L1 / L2FT / Investigation. Z.C: the deployment + DB-table prefixes are required cfg fields — both come from cfg.deployment_name (QS-resource segment) and cfg.db_table_prefix (DB table-name prefix). Defaults to the persona-neutral spec_example L2 instance.

Executives reads from <db_table_prefix>_transactions + <db_table_prefix>_daily_balances. No app-specific matviews.

Return type:

App

Parameters:
recon_gen.apps.executives.app.build_executives_dashboard(cfg, *, l2_instance=None)[source]

Build the Executives Dashboard resource via the tree.

Return type:

Dashboard

Parameters: