# Execution prompt — Modernize AS0558844

This is the orchestration prompt used for the second stage. It delegates the
architecture, parity, implementation, and validation requirements to the
updated Prompt 2.

---

I want you to run the prompt located at:

`hsbc/forward-eng/2-prompt-forward-eng-by-semantic-network 1.md`

Use the following consolidated Knowledge Graph as the authoritative
modernization input:

`hsbc/forward-eng/asset_kg_builder_cli/out/asset_kg_graph.json`

The consolidated graph was generated from the current Assets 1–7 under:

`hsbc/forward-eng/asset_kg_builder_cli/assets/`

Use the sanitised workbook below as the authoritative source for screen,
worksheet, field, reporting-period, and visual parity:

`hsbc/Sanitised_HSBC_EUCs/AS0558844.xlsm`

Use this directory as the execution root:

`hsbc/forward-eng/asset_kg_builder_cli/`

Generate the complete application under:

`hsbc/forward-eng/asset_kg_builder_cli/code/`

Use these execution parameters:

- `TARGET_LANGUAGE`: Python (backend), TypeScript + React (frontend)
- `TARGET_FRAMEWORK`: FastAPI (backend), React (frontend)
- `ARCH_STYLE`: Layered Architecture
- `EXECUTION_MODE`: SPA (frontend), REST API (backend)
- `DB_STRATEGY`: In memory
- `INFORMATION_PROCESSING_STRATEGY`: Realtime
- `INTERACTIVE_PHASE_GATES`: false

Regenerate the implementation from the consolidated graph and workbook
evidence. Do not use an existing implementation as source evidence.

The result must be functional and demonstrably coherent with the workbook.
Every modern workspace must identify its source worksheet, relevant VBA or
graph evidence, API mapping, and validation method. Create and enforce the
screen-parity contract before considering the execution complete.

Run backend tests, frontend tests, the frontend production build, dependency
audit, and an end-to-end browser validation. Do not claim complete formula
lineage because the graph extraction reached its documented dependency and
range-reference limits.

If a genuine blocker cannot be resolved from the prompt, graph, workbook,
assets, or repository files, ask for clarification.

---

The updated Prompt 2 is also packaged at:

`hsbc/dist/prompts/2-prompt-forward-eng-by-semantic-network.md`

The consolidated input and resulting application are packaged at:

- `hsbc/dist/consolidated/assets-1-to-7-consolidated.json`
- `hsbc/dist/application/`

