Replace build_excel() with populate_template(): loads
app/tools/eib/eib_pre_template.xlsx fresh each run, writes EIB rows into
Final Sheet A2:I<n+1> (clearing prior run's rows first) and the audit
table starting at column AA, then saves a dated copy into outputs/ —
the template itself is never mutated. Columns J:Y (finance's own
corporate-card-ID lookup formulas and a legacy static block) are never
written to; _extend_formulas_down() only fills in a missing J:M formula
within the new data range (the template's formula rows turned out to be
non-contiguous, leftover from old manual test batches) without ever
touching a row that already has one.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Documents the platform-shell/tool-blueprint convention, the EIB tool's
mechanics, and the two-step path (landing page preview, then blueprint
restructuring) so future sessions can pick up without re-deriving it.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Split the EIB tool into app/tools/eib/ (routes.py for Flask glue,
logic.py for Flask-free business logic), registered as a Blueprint
under /eib with its own namespaced /eib/api/* routes. The home page
now renders a tool registry (app/main.py TOOLS list) instead of the
temporary /home-preview route, so future tools plug in the same way.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Single-tool Flask app (Equals Money -> Workday EIB conversion + audit)
plus a new /home-preview landing page in preparation for turning this
into a multi-tool platform.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>