Skip to content

Commit 07cf0e0

Browse files
committed
Move Property Intelligence to root solutions
1 parent 441b484 commit 07cf0e0

19 files changed

Lines changed: 42 additions & 13 deletions

CLAUDE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ aac-forge/
5454
│ ├── SAD-template.md
5555
│ └── REVIEW-template.md
5656
├── examples/
57-
│ └── order-management/ # Real-world enterprise domain
57+
│ └── order-management/ # Tutorial/demo/reference domain only
58+
├── solutions/ # Real architecture change packages for root model
5859
├── tests/ # Golden-file tests + smoke test
5960
└── .github/workflows/ # CI/CD
6061
```
@@ -120,6 +121,10 @@ borders, shapes, icons, and relationship styling. Colors and borders must carry
120121
architecture meaning such as ownership zone, sensitivity, lifecycle status, publication
121122
path, certainty, or boundary semantics.
122123

124+
Real architecture work belongs in root `solutions/` and root `model/`. The `examples/`
125+
tree is reserved for tutorial/demo/reference material and must not be auto-selected for
126+
production architecture generation.
127+
123128
### Modular Files
124129

125130
All `*.c4` files in a directory tree are **auto-discovered and merged** by LikeC4.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ aac-forge/
9191
│ └── REVIEW-template.md # 5-role review report template
9292
9393
├── examples/
94-
│ └── order-management/ # Real-world enterprise domain
94+
│ └── order-management/ # Tutorial/demo/reference domain only
9595
│ ├── model/ # 3 domains: customer-facing, core-services, integrations
9696
│ └── solutions/001_.../ # BR + SAD — Automated Order Fulfillment
97+
├── solutions/ # Real architecture change packages for the root model
98+
│ └── 001_.../ # BR + ADRs + SAD + review output
9799
98100
├── tests/
99101
│ ├── smoke-test.sh # End-to-end pipeline validation
@@ -173,6 +175,10 @@ All `*.c4` files in a directory tree are **auto-discovered and merged**. Only on
173175
filters. Avoid generic `include *` landscape views for SAD deliverables unless they
174176
are intentionally curated portfolio/workspace views.
175177

178+
Real architecture work belongs in root `solutions/` and root `model/`. The `examples/`
179+
tree is reserved for tutorial/demo/reference material and should not be auto-selected
180+
for production architecture generation.
181+
176182
## CI/CD
177183

178184
On PR: validates all model workspaces + format check + smoke tests.

docs/how-to/create-new-solution.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The pipeline: **BR document → LLM generates C4 model changes → validate →
1515

1616
## 1. Create the Solution Folder
1717

18-
Solutions live in `solutions/` (for the main model) or `examples/<name>/solutions/` (for example models):
18+
Real architecture solutions live in root `solutions/`:
1919

2020
```
2121
solutions/
@@ -28,6 +28,8 @@ solutions/
2828
```
2929

3030
`NNN` is a zero-padded sequential number (001, 002, ...). Use the next available.
31+
The `examples/` tree is reserved for tutorial/demo/reference material. Do not place
32+
working enterprise architecture packages under `examples/`.
3133

3234
```bash
3335
mkdir -p solutions/001_My_Feature/input
@@ -73,6 +75,7 @@ A good BR includes:
7375

7476
See existing BRs for examples:
7577

78+
- `solutions/001_Property Intelligence Platform/input/BR Property Intelligence Platform.md`
7679
- `examples/order-management/solutions/001_.../input/BR Automated Order Fulfillment.md`
7780

7881
## 3. Run the Generate Skill

docs/input/specs/ADR-process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ BR Document
147147

148148
| Scope | Path | Example |
149149
| --- | --- | --- |
150-
| **Solution decisions** | `<solution>/decisions/` | `examples/order-management/solutions/002_.../decisions/ADR-002-0001-kafka-vs-rest.md` |
150+
| **Solution decisions** | `<solution>/decisions/` | `solutions/002_.../decisions/ADR-002-0001-kafka-vs-rest.md` |
151151
| **Repo/tooling decisions** | `docs/adr/` | `docs/adr/ADR-0001-use-likec4-over-structurizr.md` |
152152

153153
Solution ADRs are architecture decisions made while designing a solution. They live with

examples/AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Examples Directory
2+
3+
This tree is only for tutorial, demo, and reference material.
4+
5+
Do not create real enterprise architecture solutions here. Use root `solutions/` for
6+
BR, ADR, SAD, and review artifacts, and root `model/` for the active architecture model.

skills/arch-generate-solution.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@ ADRs Accepted → edits the LikeC4 model → validates → exports diagrams →
66
SAD (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**
6069
Use `readFile` to read `aac-forge.config.json` (repo root) for `approvalBackend` and

examples/property-intelligence/solutions/001_Property Intelligence Platform/decisions/ADR-001-0001-country-isolation-and-shared-foundation-boundary.md renamed to solutions/001_Property Intelligence Platform/decisions/ADR-001-0001-country-isolation-and-shared-foundation-boundary.md

File renamed without changes.

examples/property-intelligence/solutions/001_Property Intelligence Platform/decisions/ADR-001-0002-property-master-system-boundary.md renamed to solutions/001_Property Intelligence Platform/decisions/ADR-001-0002-property-master-system-boundary.md

File renamed without changes.

examples/property-intelligence/solutions/001_Property Intelligence Platform/decisions/ADR-001-0003-property-master-storage-and-publishing.md renamed to solutions/001_Property Intelligence Platform/decisions/ADR-001-0003-property-master-storage-and-publishing.md

File renamed without changes.

examples/property-intelligence/solutions/001_Property Intelligence Platform/decisions/ADR-001-0004-property-lifecycle-and-quality-eventing.md renamed to solutions/001_Property Intelligence Platform/decisions/ADR-001-0004-property-lifecycle-and-quality-eventing.md

File renamed without changes.

0 commit comments

Comments
 (0)