semantic-atlas 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/.agents/skills/semantic-atlas/SKILL.md +47 -9
  2. package/.agents/skills/semantic-atlas/references/observations.md +4 -0
  3. package/.agents/skills/semantic-atlas-maintenance/SKILL.md +126 -84
  4. package/.agents/skills/semantic-atlas-maintenance/references/reconciliation.md +59 -0
  5. package/README.md +53 -27
  6. package/README.zh-CN.md +42 -27
  7. package/dist/application/map-application.d.ts.map +1 -1
  8. package/dist/application/map-application.js +1 -0
  9. package/dist/application/map-application.js.map +1 -1
  10. package/dist/cli/observation-commands.d.ts +2 -1
  11. package/dist/cli/observation-commands.d.ts.map +1 -1
  12. package/dist/cli/observation-commands.js +19 -1
  13. package/dist/cli/observation-commands.js.map +1 -1
  14. package/dist/cli/reconciliation-command.d.ts +2 -1
  15. package/dist/cli/reconciliation-command.d.ts.map +1 -1
  16. package/dist/cli/reconciliation-command.js +32 -8
  17. package/dist/cli/reconciliation-command.js.map +1 -1
  18. package/dist/cli/run-cli.d.ts.map +1 -1
  19. package/dist/cli/run-cli.js +21 -4
  20. package/dist/cli/run-cli.js.map +1 -1
  21. package/dist/contracts/cli.d.ts +14 -1
  22. package/dist/contracts/cli.d.ts.map +1 -1
  23. package/dist/contracts/map.d.ts +80 -1
  24. package/dist/contracts/map.d.ts.map +1 -1
  25. package/dist/contracts/map.js +29 -0
  26. package/dist/contracts/map.js.map +1 -1
  27. package/dist/contracts/observation.d.ts +113 -1
  28. package/dist/contracts/observation.d.ts.map +1 -1
  29. package/dist/contracts/observation.js +71 -1
  30. package/dist/contracts/observation.js.map +1 -1
  31. package/dist/contracts/projection.d.ts +1 -0
  32. package/dist/contracts/projection.d.ts.map +1 -1
  33. package/dist/contracts/reconciliation.d.ts +11 -1
  34. package/dist/contracts/reconciliation.d.ts.map +1 -1
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/index.js.map +1 -1
  39. package/dist/map/business-flow-validator.d.ts +3 -0
  40. package/dist/map/business-flow-validator.d.ts.map +1 -0
  41. package/dist/map/business-flow-validator.js +152 -0
  42. package/dist/map/business-flow-validator.js.map +1 -0
  43. package/dist/map/business-graph.d.ts +3 -1
  44. package/dist/map/business-graph.d.ts.map +1 -1
  45. package/dist/map/business-graph.js +11 -0
  46. package/dist/map/business-graph.js.map +1 -1
  47. package/dist/map/map-validator.d.ts.map +1 -1
  48. package/dist/map/map-validator.js +31 -2
  49. package/dist/map/map-validator.js.map +1 -1
  50. package/dist/observations/observation-application.d.ts +6 -0
  51. package/dist/observations/observation-application.d.ts.map +1 -1
  52. package/dist/observations/observation-application.js +34 -1
  53. package/dist/observations/observation-application.js.map +1 -1
  54. package/dist/observations/observation-store.d.ts +8 -1
  55. package/dist/observations/observation-store.d.ts.map +1 -1
  56. package/dist/observations/observation-store.js +22 -4
  57. package/dist/observations/observation-store.js.map +1 -1
  58. package/dist/query/context-query-service.d.ts.map +1 -1
  59. package/dist/query/context-query-service.js +1 -0
  60. package/dist/query/context-query-service.js.map +1 -1
  61. package/dist/reconciliation/reconciliation-service.d.ts +1 -0
  62. package/dist/reconciliation/reconciliation-service.d.ts.map +1 -1
  63. package/dist/reconciliation/reconciliation-service.js +56 -3
  64. package/dist/reconciliation/reconciliation-service.js.map +1 -1
  65. package/dist/rendering/flow-projector.d.ts +9 -0
  66. package/dist/rendering/flow-projector.d.ts.map +1 -0
  67. package/dist/rendering/flow-projector.js +226 -0
  68. package/dist/rendering/flow-projector.js.map +1 -0
  69. package/dist/rendering/map-projector.d.ts.map +1 -1
  70. package/dist/rendering/map-projector.js +6 -2
  71. package/dist/rendering/map-projector.js.map +1 -1
  72. package/dist/rendering/viewer-browser.d.ts.map +1 -1
  73. package/dist/rendering/viewer-browser.js +95 -6
  74. package/dist/rendering/viewer-browser.js.map +1 -1
  75. package/dist/rendering/viewer-page.d.ts +16 -0
  76. package/dist/rendering/viewer-page.d.ts.map +1 -1
  77. package/dist/rendering/viewer-page.js +79 -7
  78. package/dist/rendering/viewer-page.js.map +1 -1
  79. package/docs/architecture.md +120 -64
  80. package/docs/evaluation.md +18 -3
  81. package/docs/index.md +4 -4
  82. package/docs/map-format.md +99 -5
  83. package/docs/observations.md +54 -20
  84. package/docs/product-contract.md +64 -24
  85. package/examples/commerce.yaml +50 -0
  86. package/package.json +1 -1
@@ -1,12 +1,11 @@
1
1
  # Semantic Atlas Accuracy Observations
2
2
 
3
- This page defines the versioned task and independent-review evidence retained
3
+ This page defines the versioned task, independent-review, and maintenance evidence retained
4
4
  from real engineering work. The [product contract](product-contract.md#accuracy-observations)
5
5
  owns why observations exist; this page owns their data, persistence, replay,
6
6
  and summary contract.
7
7
 
8
- **Status: implemented with one current task contract and one current review
9
- contract.**
8
+ **Status: implemented with current task, review, and maintenance contracts.**
10
9
 
11
10
  ## Authority Boundary
12
11
 
@@ -29,10 +28,15 @@ correct or complete, `requiredRework` is `false`, and `mapCausedRegression` is
29
28
  `false`. A `changes_requested` review sets `requiredRework` to `true` and
30
29
  records the affected dimensions.
31
30
 
31
+ A post-integration maintenance run produces one `MaintenanceObservation`. It
32
+ references exact task-candidate positions, records the reviewed classification
33
+ and current evidence, and includes the owning YAML plus real merged commit when
34
+ the canonical map changed. Work-stage proposals are not observations.
35
+
32
36
  ## Versioned Schemas
33
37
 
34
- Current task artifacts use `schemaVersion: 2`; review artifacts remain on
35
- `schemaVersion: 1`. Both use an Agent-supplied immutable `id` and an RFC 3339
38
+ Current task artifacts use `schemaVersion: 2`; review and maintenance artifacts
39
+ use `schemaVersion: 1`. All use an Agent-supplied immutable `id` and an RFC 3339
36
40
  `recordedAt` value. The caller creates the ID and timestamp once and reuses the
37
41
  complete document for an uncertain retry.
38
42
 
@@ -48,7 +52,9 @@ least one map query with one of these outcomes:
48
52
  Current-evidence dispositions are `confirmed`, `missing`, `stale`,
49
53
  `contradicted`, or `unresolved`. Each disposition and map-update candidate
50
54
  contains evidence references classified as source, test, tracked document, or
51
- runtime evidence. Candidate kinds are node, relation, and anchor. Every
55
+ runtime evidence. Candidate kinds are node, relation, anchor, and flow. A flow
56
+ candidate proposes a durable correction to a scenario's business actions,
57
+ decisions, labeled branches, or outcomes. Every
52
58
  candidate names its stable `businessDomainId` and carries a candidate-specific
53
59
  `confirmed`, `contradicted`, or `unresolved` disposition. Domain ownership and
54
60
  disposition are recorded explicitly because they cannot be inferred safely from
@@ -66,8 +72,17 @@ Review identity also contains `taskId` and `runId`, plus the referenced
66
72
  `taskObservationId`. Review accuracy values explicitly distinguish correct,
67
73
  incorrect, complete, incomplete, not applicable, and not assessed outcomes.
68
74
 
69
- The bundled Skill's [observation reference](../.agents/skills/semantic-atlas/references/observations.md)
70
- contains complete task and review JSON examples.
75
+ Maintenance identity contains its task and run ID plus one `businessDomainId`.
76
+ Each result references `taskObservationId` and zero-based `candidateIndex`, then
77
+ records `accepted`, `refined`, `discarded`, or `unresolved`, an evidence-based
78
+ reason, and current evidence. Accepted and refined results require one
79
+ `docs/business-map/*.yaml` path and hexadecimal `mergedCommit`; a document with
80
+ only discarded and unresolved results omits `mapChange`.
81
+
82
+ The understanding Skill's [observation reference](../.agents/skills/semantic-atlas/references/observations.md)
83
+ contains complete task and review JSON examples. The maintenance Skill's
84
+ [reconciliation reference](../.agents/skills/semantic-atlas-maintenance/references/reconciliation.md)
85
+ contains the maintenance result shape.
71
86
 
72
87
  ## Repository Identity And Privacy
73
88
 
@@ -82,7 +97,8 @@ Observations live under the user's local data boundary:
82
97
  ```text
83
98
  ~/.semantic-atlas/observations/v1/repositories/<repository-id>/
84
99
  ├── tasks/<observation-id>.json
85
- └── reviews/<observation-id>.json
100
+ ├── reviews/<observation-id>.json
101
+ └── maintenances/<observation-id>.json
86
102
  ```
87
103
 
88
104
  The directory `v1` identifies the private storage layout. Each artifact's own
@@ -100,11 +116,14 @@ The public write commands are:
100
116
  ```text
101
117
  semantic-atlas observe task --stdin [--repo <path>]
102
118
  semantic-atlas observe review --stdin [--repo <path>]
119
+ semantic-atlas observe maintenance --stdin [--repo <path>]
103
120
  ```
104
121
 
105
122
  The CLI parses and strictly validates the current complete input before
106
123
  resolving a write destination. Review recording then confirms that its task
107
- observation already exists in the same repository partition. The store reads
124
+ observation already exists in the same repository partition. Maintenance
125
+ recording resolves every exact candidate position and verifies its explicit
126
+ business-domain ownership. The store reads
108
127
  the same current task version that it writes. Before publication it writes and
109
128
  syncs claim metadata, exposes the claim
110
129
  through an atomic, non-overwriting link, then writes and syncs a private
@@ -149,24 +168,39 @@ because it was retained.
149
168
  The candidate discovery command is:
150
169
 
151
170
  ```text
171
+ semantic-atlas reconcile status --repo <path>
152
172
  semantic-atlas reconcile candidates --repo <path>
153
173
  ```
154
174
 
155
- It derives one deterministic v1 report from the selected repository partition.
156
- Exact domain, candidate kind, and candidate summary form a group; every task
157
- occurrence remains visible with its candidate position, evidence disposition,
158
- task query and evidence record, human correction, and linked independent
159
- reviews. Duplicate groups produce one maintenance lead while preserving all
160
- origins. Observations without a durable candidate remain outside the report.
175
+ `reconcile status` is the narrow orchestration boundary. It reads task and
176
+ maintenance observations only and returns `{ "required": boolean }`. It does
177
+ not load independent Review observations or expose candidate groups and
178
+ business-domain ownership to the caller. The actionable decision uses the same
179
+ exact-origin completion semantics as the full report.
161
180
 
162
- The command reads repository identity and immutable observation files only. It
163
- does not edit observations, source, `docs/business-map`, rendered artifacts, or
164
- Git state. The bundled `semantic-atlas-maintenance` Skill selects one business
181
+ `reconcile candidates` derives one deterministic v1 report from the selected
182
+ repository partition.
183
+ Exact domain, candidate kind, and candidate summary form a group. The report
184
+ contains only groups with a current actionable origin. Every returned task
185
+ occurrence remains visible with its candidate position, evidence disposition,
186
+ task query and evidence record, human correction, linked independent reviews,
187
+ and earlier unresolved maintenance history. Duplicate groups produce one
188
+ maintenance lead while preserving all origins. Accepted, refined, and discarded
189
+ results terminate their exact origins. When every remaining origin has only an
190
+ unresolved result, the group leaves `domains` and contributes to
191
+ `waitingForEvidenceOccurrences`; a new origin in the same group makes the full
192
+ unresolved-plus-new evidence set actionable again.
193
+
194
+ Both commands read repository identity and immutable observation files only.
195
+ They do not edit observations, source, `docs/business-map`, rendered artifacts,
196
+ or Git state. The bundled `semantic-atlas-maintenance` Skill selects one business
165
197
  domain, rechecks current source and tracked product meaning, and submits any
166
198
  accepted correction as a normal reviewed YAML change. Unresolved and
167
199
  implementation-local observations remain outside the canonical map. When the
168
200
  repository has no map, the maintenance Skill can turn a supported candidate
169
- into one bounded initial business-domain YAML.
201
+ into one bounded initial business-domain YAML. After independent review and
202
+ integration, the Skill records the result through `observe maintenance` and
203
+ requires a recorded or idempotent response before reporting completion.
170
204
 
171
205
  ## Engineering Result Semantics
172
206
 
@@ -4,16 +4,19 @@ This page defines the accepted initial product. It answers what Semantic Atlas
4
4
  must improve, how agents and people use it, and which results establish
5
5
  that the product works.
6
6
 
7
- **Status: the public product is released and installed; the first target-domain
8
- pilot is in local use and longitudinal acceptance is in progress.**
7
+ **Status: the public product is released and installed; the business-flow
8
+ extension is implemented in the current source candidate, and longitudinal
9
+ acceptance remains in progress.**
9
10
 
10
11
  ## Purpose
11
12
 
12
13
  Semantic Atlas helps coding agents make more accurate engineering changes.
13
14
  Its Agent Skill builds a task-specific understanding of stable business
14
15
  boundaries, meaningful concepts, relationships, data, rules, interfaces, and
15
- likely source entry points before an agent changes code. An existing shared map
16
- accelerates that work; a missing map starts a bounded current-evidence path.
16
+ likely source entry points before an agent changes code. Scenario flows add the
17
+ business-relevant decisions, branches, and outcomes that relationships alone
18
+ cannot express. An existing shared map accelerates that work; a missing map
19
+ starts a bounded current-evidence path.
17
20
 
18
21
  The map is a durable navigation prior rather than a synchronized copy of the
19
22
  codebase. Product structure normally changes more slowly than implementation,
@@ -31,6 +34,7 @@ reliably:
31
34
  - distinguish a downstream symptom from its upstream cause;
32
35
  - inspect the business collaborators, data, rules, and interfaces needed for a
33
36
  complete change;
37
+ - preserve business-relevant branches and outcomes during refactors;
34
38
  - choose an implementation scope that fixes the cause without unrelated work;
35
39
  - preserve readable responsibilities and maintainable code;
36
40
  - identify when the map is incomplete or contradicted by current evidence;
@@ -61,10 +65,12 @@ implementation vocabulary differ.
61
65
  A person views deterministic projections of the same tracked map to discuss
62
66
  business boundaries and relationships. A self-contained export and a local
63
67
  read-only Web command share the same interactive Viewer, including project and
64
- business-domain selection, pan, zoom, and fit-to-view. Graph cards prioritize
65
- business meaning by showing type, title, and description; selecting a card
66
- reveals its navigation anchors in a side panel or narrow-screen bottom panel.
67
- The visual surface does not become a second authoring format.
68
+ business-domain selection, relationship and flow views, pan, zoom, and
69
+ fit-to-view. Graph cards prioritize business meaning by showing type, title,
70
+ and description; selecting a card reveals its navigation anchors and related
71
+ flows in a side panel or narrow-screen bottom panel. A related flow link
72
+ switches directly to the scenario path. The visual surface does not become a
73
+ second authoring format.
68
74
 
69
75
  ### Post-task maintenance decision and reconciliation
70
76
 
@@ -106,6 +112,19 @@ navigate to, depend on, constrain, read, write, publish, consume, or change it.
106
112
  Methods, helpers, SQL statements, folders, and framework components remain
107
113
  source details until they express durable business meaning.
108
114
 
115
+ ### Business flows
116
+
117
+ A flow belongs to one existing scenario and orders business-granularity
118
+ `action`, `decision`, and `outcome` steps through transitions. Decision
119
+ transitions carry distinct business labels. A step can reference an existing
120
+ concept ID, which derives the relationship-to-flow navigation without a second
121
+ link contract.
122
+
123
+ Flows retain only steps that can change a user-visible result, durable data,
124
+ cost or provider usage, authorization or tenant isolation, an interface, or a
125
+ business outcome. They can express stable loops, but they remain advisory
126
+ knowledge rather than an executable workflow or synchronized copy of source.
127
+
109
128
  ## Authority And Accuracy
110
129
 
111
130
  Tracked map documents are authoritative for the shared map. They are not
@@ -151,9 +170,11 @@ The initial product delivers one coherent path:
151
170
  3. Normalize the complete map in memory.
152
171
  4. Find a business concept by stable ID, name, or alias.
153
172
  5. Return its containment, direct business relations, related concepts, and
154
- navigation anchors as structured JSON.
173
+ navigation anchors as structured JSON, together with complete related
174
+ business flows.
155
175
  6. Render deterministic interactive human-readable projections from the same
156
- graph as a portable HTML artifact or loopback Web session.
176
+ graph as a portable HTML artifact or loopback Web session, with linked
177
+ relationship and flow views.
157
178
  7. Package an Agent Skill that activates from business task meaning, routes map
158
179
  context or `MAP_NOT_FOUND` into current-source confirmation, and makes an
159
180
  explicit post-task maintenance decision.
@@ -175,7 +196,9 @@ The initial product does not provide:
175
196
  - mandatory map updates after every engineering task;
176
197
  - source editing, test execution, Git mutation, code review, or release
177
198
  orchestration;
178
- - branch conditions, retries, loops, timing, or executable workflow state;
199
+ - retry policy, timing, executable workflow state, or automatic source-to-flow
200
+ synchronization;
201
+ - a general workflow engine or full visual-diagram authoring system;
179
202
  - real-time multi-user map editing;
180
203
  - a second visual authoring representation.
181
204
 
@@ -191,8 +214,9 @@ the following:
191
214
  - tracked example and real-project map files load and validate through the
192
215
  public CLI;
193
216
  - context queries return the expected business owner, containment, incoming and
194
- outgoing relationships, and navigation anchors;
195
- - the renderer produces readable projections from the same normalized graph;
217
+ outgoing relationships, navigation anchors, and related flows;
218
+ - the renderer produces readable relationship and flow projections from the
219
+ same normalized map and links shared business concepts between them;
196
220
  - a package-managed Agent Skill activates for business-changing work with or
197
221
  without a map, probes bounded context before broad discovery, and confirms
198
222
  every change-controlling claim in current evidence;
@@ -214,8 +238,10 @@ human-intervention evidence as acceptance conditions.
214
238
  The initial product, managed setup, versioned observations, read-only
215
239
  reconciliation, public repository, and npm publication are complete. The first
216
240
  real target-domain map and reviewed observation pair are in local use. The
217
- current `semantic-atlas@2.1.1` release removes one-time predecessor migration
218
- paths and accepts only current managed Skill, observation, and claim contracts.
241
+ current `semantic-atlas@2.2.0` release adds scenario-owned business flows and a
242
+ linked relationship/flow Viewer while preserving reviewed maintenance outcomes,
243
+ the narrow orchestration-status contract, and current managed Skill,
244
+ observation, and claim contracts.
219
245
  Target-repository sharing and longitudinal acceptance remain separate verified
220
246
  stages.
221
247
 
@@ -255,15 +281,20 @@ Skills must have one verifiable version identity.
255
281
  ### Accuracy observations
256
282
 
257
283
  Real-use evidence is separate from the Git business map and from business-map
258
- authority. The product records two immutable, versioned local artifacts:
284
+ authority. The product records three immutable, versioned local artifacts:
259
285
 
260
286
  - `TaskObservation`: map query outcomes including `map_not_found`, selected
261
- concepts, current-evidence classification, explicitly domain-owned map-update
262
- candidates when maintenance is warranted, and any explicit human correction
263
- known to the task Agent. Reads and writes use task artifact v2;
287
+ concepts, current-evidence classification, explicitly domain-owned node,
288
+ relation, anchor, or flow candidates when maintenance is warranted, and any
289
+ explicit human correction known to the task Agent. Reads and writes use task
290
+ artifact v2;
264
291
  - `ReviewObservation`: the independent review verdict, correctness of the
265
292
  business boundary and upstream cause, impact completeness, required rework,
266
- and whether the map caused a wrong conclusion.
293
+ and whether the map caused a wrong conclusion;
294
+ - `MaintenanceObservation`: a reviewed post-integration result for exact
295
+ `taskObservationId + candidateIndex` sources, their `accepted`, `refined`,
296
+ `discarded`, or `unresolved` classification, current evidence, and the owning
297
+ YAML plus real merged commit when the map changed.
267
298
 
268
299
  The task Agent never grades its own engineering accuracy. Review or explicit
269
300
  human correction owns correctness. Each observation uses an independent ID and
@@ -276,7 +307,9 @@ The deterministic CLI exposes the observation boundary:
276
307
  ```text
277
308
  semantic-atlas observe task --stdin
278
309
  semantic-atlas observe review --stdin
310
+ semantic-atlas observe maintenance --stdin
279
311
  semantic-atlas insights summary [--repo <path>] [--period <duration>]
312
+ semantic-atlas reconcile status --repo <path>
280
313
  semantic-atlas reconcile candidates --repo <path>
281
314
  ```
282
315
 
@@ -291,12 +324,19 @@ map-maintenance effort remain explanatory measures.
291
324
 
292
325
  Normal engineering work records one task observation and creates durable
293
326
  map-update candidates only when the maintenance disposition is `candidate`.
294
- `reconcile candidates` is read-only and preserves every candidate origin,
295
- evidence disposition, duplicate provenance, and linked independent review. A
327
+ `reconcile status` reads only task and maintenance observations and returns a
328
+ single `required` boolean. It lets an orchestrator decide whether to create one
329
+ maintenance task without receiving candidate, Review, or business-domain data.
330
+ `reconcile candidates` is read-only and returns current actionable origins while
331
+ preserving their evidence disposition, duplicate provenance, linked independent
332
+ review, and earlier unresolved investigation. Accepted, refined, and discarded
333
+ origins are terminal. Unresolved origins wait for a new origin in the same
334
+ candidate group before becoming actionable again. A
296
335
  post-integration maintenance task selects one business domain, checks current
297
336
  source and durable product meaning, updates one owning YAML map through normal
298
- Git review, and leaves unresolved or implementation-local meaning outside the
299
- canonical map. A mapless repository can create one initial domain-owned YAML
337
+ Git review, and records the immutable result only after review and integration.
338
+ It leaves unresolved or implementation-local meaning outside the canonical map.
339
+ A mapless repository can create one initial domain-owned YAML
300
340
  when current evidence establishes stable identity and bounded meaning. Periodic
301
341
  runs provide a fallback for missed observations, accumulated drift, and changes
302
342
  outside the normal workflow.
@@ -202,3 +202,53 @@ relations:
202
202
  type: writes
203
203
  to: commerce.inventory.stock
204
204
  summary: Inventory reservation updates stock availability.
205
+
206
+ flows:
207
+ - id: commerce.orders.place-order-flow
208
+ name: Place order
209
+ summary: Available stock becomes a reserved, durable customer order.
210
+ scenario: commerce.orders.place-order
211
+ startsAt: search-products
212
+ steps:
213
+ - id: search-products
214
+ kind: action
215
+ name: Search products
216
+ summary: The shopper identifies products for the order.
217
+ concept: commerce.orders.place-order.search-products
218
+ - id: check-inventory
219
+ kind: decision
220
+ name: Is inventory available?
221
+ summary: Only available stock may proceed to order creation.
222
+ concept: commerce.orders.place-order.check-inventory
223
+ - id: create-order
224
+ kind: action
225
+ name: Create order
226
+ summary: The purchase becomes a durable customer order.
227
+ concept: commerce.orders.place-order.create-order
228
+ - id: reserve-inventory
229
+ kind: action
230
+ name: Reserve inventory
231
+ summary: Available stock is reserved for the created order.
232
+ concept: commerce.orders.place-order.reserve-inventory
233
+ - id: order-placed
234
+ kind: outcome
235
+ name: Order placed
236
+ summary: The shopper has a durable order backed by reserved stock.
237
+ concept: commerce.orders.order
238
+ - id: order-not-created
239
+ kind: outcome
240
+ name: Order not created
241
+ summary: Unavailable stock ends the attempt without a durable order.
242
+ transitions:
243
+ - from: search-products
244
+ to: check-inventory
245
+ - from: check-inventory
246
+ when: available
247
+ to: create-order
248
+ - from: check-inventory
249
+ when: unavailable
250
+ to: order-not-created
251
+ - from: create-order
252
+ to: reserve-inventory
253
+ - from: reserve-inventory
254
+ to: order-placed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semantic-atlas",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "A Git-native advisory business map for coding agents.",
5
5
  "keywords": [
6
6
  "ai-agents",