@@ -6,13 +6,19 @@ ADRs Accepted → edits the LikeC4 model → validates → exports diagrams →
66SAD (rev 2) → verifies.
77
88** Argument:** Path to the solution folder, e.g.
9- ` solutions/001_Forging Runic Diagrams and Covenant Scrolls ` or
10- ` examples/order-management/solutions/002_Automated Order Fulfillment ` .
9+ ` solutions/001_Property Intelligence Platform ` .
1110
12- If no argument is provided, iterate through ` solutions/NNN_Name/ ` folders (and
13- ` examples/*/solutions/NNN_Name/ ` ) from highest number to lowest. Target the first folder
14- that has files in ` input/ ` but whose ` output/ ` folder is empty or has only a SAD
15- skeleton (rev 1, status: Draft). If none found, ask the user.
11+ Real architecture work lives under root ` solutions/ ` . The ` examples/ ` tree is only for
12+ tutorial/demo/reference work.
13+
14+ If no argument is provided, iterate through ` solutions/NNN_Name/ ` folders from highest
15+ number to lowest. Target the first folder that has files in ` input/ ` but whose ` output/ `
16+ folder is empty or has only a SAD skeleton (rev 1, status: Draft). If none found, ask
17+ the user.
18+
19+ If the user passes a path under ` examples/ ` , confirm that they intentionally want to
20+ work on tutorial/demo material before creating or modifying artifacts there. Do not
21+ auto-select ` examples/*/solutions/ ` for normal architecture work.
1622
1723---
1824
@@ -53,8 +59,11 @@ Use `readFile` to read all files from `<solution>/input/`.
5359> `tail`, or `range` options.
5460
5561**1.2 Read the current architecture model**
56- Use `searchFiles` with pattern `*.c4` under `model/` (or the relevant `examples/*/model/`)
57- to discover all model files. Use `readFile` to read every discovered `.c4` file.
62+ Use `searchFiles` with pattern `*.c4` under `model/` to discover all model files. Use
63+ `readFile` to read every discovered `.c4` file.
64+
65+ Only read an `examples/*/model/` workspace when the user explicitly passed an
66+ `examples/` solution path and confirmed they are working on tutorial/demo material.
5867
5968**1.3 Read workspace configuration**
6069Use `readFile` to read `aac-forge.config.json` (repo root) for `approvalBackend` and
0 commit comments