# AS0558844 distribution package

This directory contains the reproducible outputs of the two-stage
Excel/VBA-to-application modernization.

## Contents

```text
hsbc/dist/
├── assets-1-to-7/
│   ├── asset1_functional_taxonomy_and_code_mapping.json
│   ├── asset2_data_taxonomy_and_physical_traceability.json
│   ├── asset3_entrypoints_and_call_graph_mapping.json
│   ├── asset4_business_rules.json
│   ├── asset5_epics.json
│   ├── asset6_complexity_and_test_cases.json
│   └── asset7_data_provisioning_and_sample_generation.json
├── consolidated/
│   └── assets-1-to-7-consolidated.json
├── prompts/
│   ├── 1-prompt-isn-generate-assets-1-to-7.md
│   └── 2-prompt-forward-eng-by-semantic-network.md
├── execution-prompts/
│   ├── 01-generate-assets-1-to-7.md
│   └── 02-modernize-application.md
├── application/
│   ├── backend/
│   ├── frontend/
│   ├── docs/
│   └── README.md
├── RUN-WINDOWS.md
├── MANIFEST.json
└── SHA256SUMS.txt
```

## Artifact lineage

1. Updated Prompt 1 reads the authoritative Neo4j workbook dump and generates
   Assets 1–7.
2. The asset graph builder consolidates those seven assets into
   `assets-1-to-7-consolidated.json`.
3. Updated Prompt 2 reads the consolidated graph and validates screen parity
   against `AS0558844.xlsm`.
4. The resulting FastAPI/React application is stored under `application/`.

The authoritative source workbook is not copied into this distribution:

`hsbc/Sanitised_HSBC_EUCs/AS0558844.xlsm`

The source workbook was used read-only and was not modified by the generated
application.

## Running

For Windows instructions, see [`RUN-WINDOWS.md`](./RUN-WINDOWS.md).

For architecture, traceability, screen parity, and validation evidence, see:

`application/docs/`

## Integrity

`MANIFEST.json` records the packaged files, source locations, sizes, and SHA-256
digests. `SHA256SUMS.txt` can be used with common checksum tools to verify that
the package has not changed.

