# State 002 Learning Guide

> For the complete documentation index, see [llms.txt](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/llms.txt).

## Position In Learning Graph

*   Previous state(s): [001-baseline-uncontainerized-parity](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/docs/learning/state-001-baseline-uncontainerized-parity.md)
*   Dotted-line parent(s): none
*   Next state(s): [003-agentic-harness-foundation](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/docs/learning/state-003-agentic-harness-foundation.md)

## Convergence Metadata

*   Convergence state: `no`
*   Convergence level: `none`
*   Lineage role: `prelude`
*   Nearest previous convergence: `none`
*   Nearest next convergence: `none`

## Rendered Code

*   Generated branch: [code/generated-state-002-edge-proxy-uncontainerized](https://github.com/finos/traderX/tree/code/generated-state-002-edge-proxy-uncontainerized)
*   Authoring branch (spec source): [main](https://github.com/finos/traderX/tree/main)

## Code Comparison With Previous State

*   Compare against `001-baseline-uncontainerized-parity`: [code/generated-state-001-baseline-uncontainerized-parity...code/generated-state-002-edge-proxy-uncontainerized](https://github.com/finos/traderX/compare/code%2Fgenerated-state-001-baseline-uncontainerized-parity...code%2Fgenerated-state-002-edge-proxy-uncontainerized)

## Plain-English Code Delta

*   **Code focus:** Adds an edge proxy component and routes browser traffic through one origin.
*   **Runtime behavior:** Keeps services uncontainerized while reducing client-side cross-origin complexity.
*   **Learning takeaway:** Introduces ingress-style edge concerns before containerization.

## Run This State

```bash
./scripts/start-state-002-edge-proxy-generated.sh
```

## Canonical Spec Links

*   State spec pack: [/specs/edge-proxy-uncontainerized](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/edge-proxy-uncontainerized.md)
*   Architecture: [/specs/edge-proxy-uncontainerized/system/architecture](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/edge-proxy-uncontainerized/system/architecture.md)
*   Flows / topology: [/specs/edge-proxy-uncontainerized/system/runtime-topology](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/edge-proxy-uncontainerized/system/runtime-topology.md)
*   Research: [link](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/edge-proxy-uncontainerized/research.md)
*   Data model: [link](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/edge-proxy-uncontainerized/data-model.md)
*   Quickstart: [link](https://deploy-preview-472--lucky-concha-f3599f.netlify.app/specs/edge-proxy-uncontainerized/quickstart.md)
