semantic-atlas 0.4.0 → 2.0.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 (346) hide show
  1. package/.agents/skills/semantic-atlas/SKILL.md +134 -166
  2. package/.agents/skills/semantic-atlas/agents/openai.yaml +4 -0
  3. package/.agents/skills/semantic-atlas/references/observations.md +130 -0
  4. package/.agents/skills/semantic-atlas/scripts/query-context.mjs +110 -0
  5. package/.agents/skills/semantic-atlas-maintenance/SKILL.md +93 -0
  6. package/.agents/skills/semantic-atlas-maintenance/agents/openai.yaml +4 -0
  7. package/.agents/skills/semantic-atlas-maintenance/references/reconciliation.md +56 -0
  8. package/README.md +133 -265
  9. package/dist/application/map-application.d.ts +24 -0
  10. package/dist/application/map-application.d.ts.map +1 -0
  11. package/dist/application/map-application.js +134 -0
  12. package/dist/application/map-application.js.map +1 -0
  13. package/dist/cli/bin.js +6 -42
  14. package/dist/cli/bin.js.map +1 -0
  15. package/dist/cli/observation-commands.d.ts +16 -0
  16. package/dist/cli/observation-commands.d.ts.map +1 -0
  17. package/dist/cli/observation-commands.js +118 -0
  18. package/dist/cli/observation-commands.js.map +1 -0
  19. package/dist/cli/projection-writer.d.ts +2 -0
  20. package/dist/cli/projection-writer.d.ts.map +1 -0
  21. package/dist/cli/projection-writer.js +9 -0
  22. package/dist/cli/projection-writer.js.map +1 -0
  23. package/dist/cli/reconciliation-command.d.ts +7 -0
  24. package/dist/cli/reconciliation-command.d.ts.map +1 -0
  25. package/dist/cli/reconciliation-command.js +33 -0
  26. package/dist/cli/reconciliation-command.js.map +1 -0
  27. package/dist/cli/run-cli.d.ts +21 -0
  28. package/dist/cli/run-cli.d.ts.map +1 -0
  29. package/dist/cli/run-cli.js +299 -0
  30. package/dist/cli/run-cli.js.map +1 -0
  31. package/dist/contracts/cli.d.ts +166 -1211
  32. package/dist/contracts/cli.d.ts.map +1 -1
  33. package/dist/contracts/cli.js +2 -232
  34. package/dist/contracts/cli.js.map +1 -0
  35. package/dist/contracts/insights.d.ts +39 -1
  36. package/dist/contracts/insights.d.ts.map +1 -1
  37. package/dist/contracts/insights.js +2 -1
  38. package/dist/contracts/insights.js.map +1 -0
  39. package/dist/contracts/map.d.ts +154 -0
  40. package/dist/contracts/map.d.ts.map +1 -0
  41. package/dist/contracts/map.js +60 -0
  42. package/dist/contracts/map.js.map +1 -0
  43. package/dist/contracts/observation.d.ts +414 -0
  44. package/dist/contracts/observation.d.ts.map +1 -0
  45. package/dist/contracts/observation.js +125 -0
  46. package/dist/contracts/observation.js.map +1 -0
  47. package/dist/contracts/projection.d.ts +7 -0
  48. package/dist/contracts/projection.d.ts.map +1 -0
  49. package/dist/contracts/projection.js +2 -0
  50. package/dist/contracts/projection.js.map +1 -0
  51. package/dist/contracts/reconciliation.d.ts +40 -0
  52. package/dist/contracts/reconciliation.d.ts.map +1 -0
  53. package/dist/contracts/reconciliation.js +2 -0
  54. package/dist/contracts/reconciliation.js.map +1 -0
  55. package/dist/index.d.ts +7 -17
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +3 -9
  58. package/dist/index.js.map +1 -0
  59. package/dist/insights/insight-service.d.ts +14 -0
  60. package/dist/insights/insight-service.d.ts.map +1 -0
  61. package/dist/insights/insight-service.js +129 -0
  62. package/dist/insights/insight-service.js.map +1 -0
  63. package/dist/map/business-graph.d.ts +32 -0
  64. package/dist/map/business-graph.d.ts.map +1 -0
  65. package/dist/map/business-graph.js +122 -0
  66. package/dist/map/business-graph.js.map +1 -0
  67. package/dist/map/map-document-loader.d.ts +13 -0
  68. package/dist/map/map-document-loader.d.ts.map +1 -0
  69. package/dist/map/map-document-loader.js +86 -0
  70. package/dist/map/map-document-loader.js.map +1 -0
  71. package/dist/map/map-validator.d.ts +12 -0
  72. package/dist/map/map-validator.d.ts.map +1 -0
  73. package/dist/map/map-validator.js +322 -0
  74. package/dist/map/map-validator.js.map +1 -0
  75. package/dist/observations/observation-application.d.ts +23 -0
  76. package/dist/observations/observation-application.d.ts.map +1 -0
  77. package/dist/observations/observation-application.js +62 -0
  78. package/dist/observations/observation-application.js.map +1 -0
  79. package/dist/observations/observation-claim-manager.d.ts +17 -0
  80. package/dist/observations/observation-claim-manager.d.ts.map +1 -0
  81. package/dist/observations/observation-claim-manager.js +198 -0
  82. package/dist/observations/observation-claim-manager.js.map +1 -0
  83. package/dist/observations/observation-store.d.ts +43 -0
  84. package/dist/observations/observation-store.d.ts.map +1 -0
  85. package/dist/observations/observation-store.js +213 -0
  86. package/dist/observations/observation-store.js.map +1 -0
  87. package/dist/observations/repository-identity.d.ts +12 -0
  88. package/dist/observations/repository-identity.d.ts.map +1 -0
  89. package/dist/observations/repository-identity.js +108 -0
  90. package/dist/observations/repository-identity.js.map +1 -0
  91. package/dist/query/context-query-service.d.ts +15 -0
  92. package/dist/query/context-query-service.d.ts.map +1 -0
  93. package/dist/query/context-query-service.js +36 -0
  94. package/dist/query/context-query-service.js.map +1 -0
  95. package/dist/reconciliation/reconciliation-service.d.ts +10 -0
  96. package/dist/reconciliation/reconciliation-service.d.ts.map +1 -0
  97. package/dist/reconciliation/reconciliation-service.js +114 -0
  98. package/dist/reconciliation/reconciliation-service.js.map +1 -0
  99. package/dist/rendering/map-projector.d.ts +8 -0
  100. package/dist/rendering/map-projector.d.ts.map +1 -0
  101. package/dist/rendering/map-projector.js +386 -0
  102. package/dist/rendering/map-projector.js.map +1 -0
  103. package/dist/setup/managed-skill-installer.d.ts +60 -0
  104. package/dist/setup/managed-skill-installer.d.ts.map +1 -0
  105. package/dist/setup/managed-skill-installer.js +293 -0
  106. package/dist/setup/managed-skill-installer.js.map +1 -0
  107. package/dist/setup/package-identity.d.ts +6 -0
  108. package/dist/setup/package-identity.d.ts.map +1 -0
  109. package/dist/setup/package-identity.js +16 -0
  110. package/dist/setup/package-identity.js.map +1 -0
  111. package/dist/setup/package-upgrader.d.ts +10 -22
  112. package/dist/setup/package-upgrader.d.ts.map +1 -1
  113. package/dist/setup/package-upgrader.js +60 -76
  114. package/dist/setup/package-upgrader.js.map +1 -0
  115. package/docs/architecture.md +426 -0
  116. package/docs/evaluation.md +220 -174
  117. package/docs/index.md +27 -45
  118. package/docs/map-format.md +225 -0
  119. package/docs/observations.md +167 -0
  120. package/docs/product-contract.md +282 -165
  121. package/examples/commerce.yaml +204 -0
  122. package/package.json +31 -32
  123. package/.agents/skills/semantic-atlas/references/graph-patch.md +0 -190
  124. package/.agents/skills/semantic-atlas/references/product-feedback.md +0 -34
  125. package/.agents/skills/semantic-atlas/references/result-routing.md +0 -104
  126. package/.agents/skills/semantic-atlas/references/snapshot-bootstrap.md +0 -42
  127. package/.agents/skills/semantic-atlas-insights/SKILL.md +0 -55
  128. package/README.zh-CN.md +0 -296
  129. package/dist/business-flow/business-flow-derivation-service.d.ts +0 -11
  130. package/dist/business-flow/business-flow-derivation-service.d.ts.map +0 -1
  131. package/dist/business-flow/business-flow-derivation-service.js +0 -151
  132. package/dist/business-flow/business-flow-draft.d.ts +0 -16
  133. package/dist/business-flow/business-flow-draft.d.ts.map +0 -1
  134. package/dist/business-flow/business-flow-draft.js +0 -150
  135. package/dist/business-flow/framework-business-strategy.d.ts +0 -7
  136. package/dist/business-flow/framework-business-strategy.d.ts.map +0 -1
  137. package/dist/business-flow/framework-business-strategy.js +0 -1
  138. package/dist/business-flow/strategies/bullmq-business-strategy.d.ts +0 -10
  139. package/dist/business-flow/strategies/bullmq-business-strategy.d.ts.map +0 -1
  140. package/dist/business-flow/strategies/bullmq-business-strategy.js +0 -79
  141. package/dist/business-flow/strategies/called-operation-derivation.d.ts +0 -13
  142. package/dist/business-flow/strategies/called-operation-derivation.d.ts.map +0 -1
  143. package/dist/business-flow/strategies/called-operation-derivation.js +0 -32
  144. package/dist/business-flow/strategies/graphql-business-strategy.d.ts +0 -8
  145. package/dist/business-flow/strategies/graphql-business-strategy.d.ts.map +0 -1
  146. package/dist/business-flow/strategies/graphql-business-strategy.js +0 -65
  147. package/dist/business-flow/strategies/nestjs-business-strategy.d.ts +0 -8
  148. package/dist/business-flow/strategies/nestjs-business-strategy.d.ts.map +0 -1
  149. package/dist/business-flow/strategies/nestjs-business-strategy.js +0 -72
  150. package/dist/business-flow/strategies/strategy-helpers.d.ts +0 -32
  151. package/dist/business-flow/strategies/strategy-helpers.d.ts.map +0 -1
  152. package/dist/business-flow/strategies/strategy-helpers.js +0 -49
  153. package/dist/business-flow/strategies/typeorm-business-strategy.d.ts +0 -10
  154. package/dist/business-flow/strategies/typeorm-business-strategy.d.ts.map +0 -1
  155. package/dist/business-flow/strategies/typeorm-business-strategy.js +0 -136
  156. package/dist/business-flow/strategies/verified-invariant-strategy.d.ts +0 -5
  157. package/dist/business-flow/strategies/verified-invariant-strategy.d.ts.map +0 -1
  158. package/dist/business-flow/strategies/verified-invariant-strategy.js +0 -38
  159. package/dist/business-flow/strategies/verified-test-strategy.d.ts +0 -5
  160. package/dist/business-flow/strategies/verified-test-strategy.d.ts.map +0 -1
  161. package/dist/business-flow/strategies/verified-test-strategy.js +0 -26
  162. package/dist/business-flow/structural-flow-catalog.d.ts +0 -21
  163. package/dist/business-flow/structural-flow-catalog.d.ts.map +0 -1
  164. package/dist/business-flow/structural-flow-catalog.js +0 -125
  165. package/dist/business-flow/types.d.ts +0 -51
  166. package/dist/business-flow/types.d.ts.map +0 -1
  167. package/dist/business-flow/types.js +0 -1
  168. package/dist/cli/argument-parser.d.ts +0 -3
  169. package/dist/cli/argument-parser.d.ts.map +0 -1
  170. package/dist/cli/argument-parser.js +0 -200
  171. package/dist/cli/cli-application.d.ts +0 -39
  172. package/dist/cli/cli-application.d.ts.map +0 -1
  173. package/dist/cli/cli-application.js +0 -571
  174. package/dist/cli/cli-error.d.ts +0 -12
  175. package/dist/cli/cli-error.d.ts.map +0 -1
  176. package/dist/cli/cli-error.js +0 -44
  177. package/dist/cli/cli-presenter.d.ts +0 -14
  178. package/dist/cli/cli-presenter.d.ts.map +0 -1
  179. package/dist/cli/cli-presenter.js +0 -36
  180. package/dist/cli/insights-cli.d.ts +0 -6
  181. package/dist/cli/insights-cli.d.ts.map +0 -1
  182. package/dist/cli/insights-cli.js +0 -236
  183. package/dist/cli/main.d.ts +0 -3
  184. package/dist/cli/main.d.ts.map +0 -1
  185. package/dist/cli/main.js +0 -137
  186. package/dist/cli/standalone-cli.d.ts +0 -3
  187. package/dist/cli/standalone-cli.d.ts.map +0 -1
  188. package/dist/cli/standalone-cli.js +0 -104
  189. package/dist/cli/types.d.ts +0 -49
  190. package/dist/cli/types.d.ts.map +0 -1
  191. package/dist/cli/types.js +0 -1
  192. package/dist/cli/web-cli.d.ts +0 -9
  193. package/dist/cli/web-cli.d.ts.map +0 -1
  194. package/dist/cli/web-cli.js +0 -134
  195. package/dist/contracts/graph.d.ts +0 -266
  196. package/dist/contracts/graph.d.ts.map +0 -1
  197. package/dist/contracts/graph.js +0 -182
  198. package/dist/contracts/identifiers.d.ts +0 -4
  199. package/dist/contracts/identifiers.d.ts.map +0 -1
  200. package/dist/contracts/identifiers.js +0 -7
  201. package/dist/contracts/public-contracts.d.ts +0 -5
  202. package/dist/contracts/public-contracts.d.ts.map +0 -1
  203. package/dist/contracts/public-contracts.js +0 -4
  204. package/dist/evaluation/comparison.d.ts +0 -30
  205. package/dist/evaluation/comparison.d.ts.map +0 -1
  206. package/dist/evaluation/comparison.js +0 -108
  207. package/dist/evaluation/contracts.d.ts +0 -301
  208. package/dist/evaluation/contracts.d.ts.map +0 -1
  209. package/dist/evaluation/contracts.js +0 -413
  210. package/dist/graph/graph-store.d.ts +0 -55
  211. package/dist/graph/graph-store.d.ts.map +0 -1
  212. package/dist/graph/graph-store.js +0 -912
  213. package/dist/graph/types.d.ts +0 -189
  214. package/dist/graph/types.d.ts.map +0 -1
  215. package/dist/graph/types.js +0 -1
  216. package/dist/insights/contracts.d.ts +0 -266
  217. package/dist/insights/contracts.d.ts.map +0 -1
  218. package/dist/insights/contracts.js +0 -124
  219. package/dist/insights/insights-store.d.ts +0 -73
  220. package/dist/insights/insights-store.d.ts.map +0 -1
  221. package/dist/insights/insights-store.js +0 -246
  222. package/dist/knowledge/business-knowledge-service.d.ts +0 -24
  223. package/dist/knowledge/business-knowledge-service.d.ts.map +0 -1
  224. package/dist/knowledge/business-knowledge-service.js +0 -200
  225. package/dist/knowledge/graph-patch-conflict-error.d.ts +0 -8
  226. package/dist/knowledge/graph-patch-conflict-error.d.ts.map +0 -1
  227. package/dist/knowledge/graph-patch-conflict-error.js +0 -12
  228. package/dist/knowledge/structural-target-binding.d.ts +0 -14
  229. package/dist/knowledge/structural-target-binding.d.ts.map +0 -1
  230. package/dist/knowledge/structural-target-binding.js +0 -11
  231. package/dist/package-metadata.d.ts +0 -2
  232. package/dist/package-metadata.d.ts.map +0 -1
  233. package/dist/package-metadata.js +0 -9
  234. package/dist/repository/git-command.d.ts +0 -3
  235. package/dist/repository/git-command.d.ts.map +0 -1
  236. package/dist/repository/git-command.js +0 -25
  237. package/dist/repository/repository-inspector.d.ts +0 -8
  238. package/dist/repository/repository-inspector.d.ts.map +0 -1
  239. package/dist/repository/repository-inspector.js +0 -97
  240. package/dist/repository/repository-language-support.d.ts +0 -14
  241. package/dist/repository/repository-language-support.d.ts.map +0 -1
  242. package/dist/repository/repository-language-support.js +0 -64
  243. package/dist/repository/types.d.ts +0 -9
  244. package/dist/repository/types.d.ts.map +0 -1
  245. package/dist/repository/types.js +0 -1
  246. package/dist/runtime/sqlite-compatibility-process.d.ts +0 -8
  247. package/dist/runtime/sqlite-compatibility-process.d.ts.map +0 -1
  248. package/dist/runtime/sqlite-compatibility-process.js +0 -20
  249. package/dist/setup/skill-installer.d.ts +0 -20
  250. package/dist/setup/skill-installer.d.ts.map +0 -1
  251. package/dist/setup/skill-installer.js +0 -187
  252. package/dist/snapshots/repository-snapshot.d.ts +0 -4
  253. package/dist/snapshots/repository-snapshot.d.ts.map +0 -1
  254. package/dist/snapshots/repository-snapshot.js +0 -119
  255. package/dist/snapshots/types.d.ts +0 -30
  256. package/dist/snapshots/types.d.ts.map +0 -1
  257. package/dist/snapshots/types.js +0 -1
  258. package/dist/storage/atlas-database.d.ts +0 -25
  259. package/dist/storage/atlas-database.d.ts.map +0 -1
  260. package/dist/storage/atlas-database.js +0 -483
  261. package/dist/storage/snapshot-store.d.ts +0 -19
  262. package/dist/storage/snapshot-store.d.ts.map +0 -1
  263. package/dist/storage/snapshot-store.js +0 -74
  264. package/dist/structural-backend/codegraph-backend.d.ts +0 -57
  265. package/dist/structural-backend/codegraph-backend.d.ts.map +0 -1
  266. package/dist/structural-backend/codegraph-backend.js +0 -1230
  267. package/dist/structural-backend/codegraph-worker-client.d.ts +0 -5
  268. package/dist/structural-backend/codegraph-worker-client.d.ts.map +0 -1
  269. package/dist/structural-backend/codegraph-worker-client.js +0 -118
  270. package/dist/structural-backend/codegraph-worker-protocol.d.ts +0 -35
  271. package/dist/structural-backend/codegraph-worker-protocol.d.ts.map +0 -1
  272. package/dist/structural-backend/codegraph-worker-protocol.js +0 -1
  273. package/dist/structural-backend/codegraph-worker.d.ts +0 -2
  274. package/dist/structural-backend/codegraph-worker.d.ts.map +0 -1
  275. package/dist/structural-backend/codegraph-worker.js +0 -131
  276. package/dist/structural-backend/process-instance.d.ts +0 -18
  277. package/dist/structural-backend/process-instance.d.ts.map +0 -1
  278. package/dist/structural-backend/process-instance.js +0 -207
  279. package/dist/structural-backend/structural-fact-changes.d.ts +0 -7
  280. package/dist/structural-backend/structural-fact-changes.d.ts.map +0 -1
  281. package/dist/structural-backend/structural-fact-changes.js +0 -78
  282. package/dist/structural-backend/structural-projection-bootstrapper.d.ts +0 -10
  283. package/dist/structural-backend/structural-projection-bootstrapper.d.ts.map +0 -1
  284. package/dist/structural-backend/structural-projection-bootstrapper.js +0 -295
  285. package/dist/structural-backend/structural-publication.d.ts +0 -13
  286. package/dist/structural-backend/structural-publication.d.ts.map +0 -1
  287. package/dist/structural-backend/structural-publication.js +0 -255
  288. package/dist/structural-backend/structural-write-lock.d.ts +0 -8
  289. package/dist/structural-backend/structural-write-lock.d.ts.map +0 -1
  290. package/dist/structural-backend/structural-write-lock.js +0 -415
  291. package/dist/structural-backend/types.d.ts +0 -144
  292. package/dist/structural-backend/types.d.ts.map +0 -1
  293. package/dist/structural-backend/types.js +0 -11
  294. package/dist/web/application/atlas-read-service.d.ts +0 -27
  295. package/dist/web/application/atlas-read-service.d.ts.map +0 -1
  296. package/dist/web/application/atlas-read-service.js +0 -216
  297. package/dist/web/application/primary-repository-catalog.d.ts +0 -15
  298. package/dist/web/application/primary-repository-catalog.d.ts.map +0 -1
  299. package/dist/web/application/primary-repository-catalog.js +0 -202
  300. package/dist/web/application/types.d.ts +0 -41
  301. package/dist/web/application/types.d.ts.map +0 -1
  302. package/dist/web/application/types.js +0 -1
  303. package/dist/web/server/api-router.d.ts +0 -4
  304. package/dist/web/server/api-router.d.ts.map +0 -1
  305. package/dist/web/server/api-router.js +0 -151
  306. package/dist/web/server/local-web-server.d.ts +0 -12
  307. package/dist/web/server/local-web-server.d.ts.map +0 -1
  308. package/dist/web/server/local-web-server.js +0 -100
  309. package/dist/web-client/assets/index-DneaErDj.css +0 -1
  310. package/dist/web-client/assets/index-cze_4vtt.js +0 -2
  311. package/dist/web-client/assets/index-cze_4vtt.js.map +0 -1
  312. package/dist/web-client/index.html +0 -61
  313. package/dist/world/business-map-projector.d.ts +0 -14
  314. package/dist/world/business-map-projector.d.ts.map +0 -1
  315. package/dist/world/business-map-projector.js +0 -178
  316. package/dist/world/types.d.ts +0 -77
  317. package/dist/world/types.d.ts.map +0 -1
  318. package/dist/world/types.js +0 -1
  319. package/dist/world/world-graph-query.d.ts +0 -30
  320. package/dist/world/world-graph-query.d.ts.map +0 -1
  321. package/dist/world/world-graph-query.js +0 -252
  322. package/dist/world/world-model-service.d.ts +0 -21
  323. package/dist/world/world-model-service.d.ts.map +0 -1
  324. package/dist/world/world-model-service.js +0 -219
  325. package/dist/world/world-snapshot-store.d.ts +0 -41
  326. package/dist/world/world-snapshot-store.d.ts.map +0 -1
  327. package/dist/world/world-snapshot-store.js +0 -581
  328. package/docs/README.md +0 -30
  329. package/docs/architecture/codegraph-backend.md +0 -190
  330. package/docs/architecture/continuous-business-learning.md +0 -240
  331. package/docs/architecture/web-viewer.md +0 -225
  332. package/docs/contracts/cli-v1.md +0 -179
  333. package/docs/contracts/graph-model.md +0 -106
  334. package/docs/contracts/graph-patch-v1.md +0 -105
  335. package/docs/contracts/http-api-v1.md +0 -155
  336. package/docs/contracts/insights-v1.md +0 -84
  337. package/docs/log.md +0 -159
  338. package/docs/mindmaps/semantic-atlas-overview.drawio +0 -255
  339. package/docs/mindmaps/semantic-atlas-overview.png +0 -0
  340. package/docs/mindmaps/semantic-atlas-overview.zh-CN.drawio +0 -255
  341. package/docs/mindmaps/semantic-atlas-overview.zh-CN.png +0 -0
  342. package/schemas/cli-envelope-v1.schema.json +0 -1244
  343. package/schemas/evaluation-plan-v1.schema.json +0 -211
  344. package/schemas/evaluation-run-v1.schema.json +0 -659
  345. package/schemas/graph-patch-v1.schema.json +0 -392
  346. package/schemas/insights-envelope-v1.schema.json +0 -428
@@ -0,0 +1,204 @@
1
+ schemaVersion: 1
2
+ map:
3
+ id: commerce
4
+ title: Commerce
5
+ summary: Capabilities that let a shopper discover and purchase products.
6
+
7
+ nodes:
8
+ - id: commerce
9
+ kind: domain
10
+ name: Commerce
11
+ summary: Customer-facing product discovery and purchase.
12
+ aliases: []
13
+ anchors: []
14
+
15
+ - id: commerce.catalog
16
+ kind: capability
17
+ name: Catalog
18
+ summary: Makes products available for discovery.
19
+ aliases:
20
+ - Product catalog
21
+ anchors:
22
+ - kind: directory
23
+ value: src/catalog
24
+ description: Likely source area for catalog behavior.
25
+
26
+ - id: commerce.inventory
27
+ kind: capability
28
+ name: Inventory
29
+ summary: Tracks and reserves sellable stock.
30
+ aliases:
31
+ - Stock management
32
+ anchors:
33
+ - kind: directory
34
+ value: src/inventory
35
+ description: Likely source area for inventory behavior.
36
+
37
+ - id: commerce.orders
38
+ kind: capability
39
+ name: Orders
40
+ summary: Creates and manages customer purchase records.
41
+ aliases: []
42
+ anchors:
43
+ - kind: directory
44
+ value: src/orders
45
+ description: Likely source area for order behavior.
46
+
47
+ - id: commerce.orders.place-order
48
+ kind: scenario
49
+ name: Place order
50
+ summary: Coordinates product selection, stock checks, order creation, and reservation.
51
+ aliases:
52
+ - Checkout
53
+ anchors:
54
+ - kind: symbol
55
+ value: PlaceOrderService.execute
56
+ description: Historical orchestration entry point to confirm in current source.
57
+
58
+ - id: commerce.orders.place-order.search-products
59
+ kind: operation
60
+ name: Search products
61
+ summary: Finds products that can participate in an order.
62
+ aliases: []
63
+ anchors: []
64
+
65
+ - id: commerce.orders.place-order.check-inventory
66
+ kind: operation
67
+ name: Check inventory
68
+ summary: Determines whether requested stock is available.
69
+ aliases:
70
+ - Check stock
71
+ anchors: []
72
+
73
+ - id: commerce.orders.place-order.create-order
74
+ kind: operation
75
+ name: Create order
76
+ summary: Creates the durable customer order record.
77
+ aliases: []
78
+ anchors: []
79
+
80
+ - id: commerce.orders.place-order.reserve-inventory
81
+ kind: operation
82
+ name: Reserve inventory
83
+ summary: Reserves available stock for the created order.
84
+ aliases:
85
+ - Reserve stock
86
+ anchors: []
87
+
88
+ - id: commerce.catalog.product
89
+ kind: data
90
+ name: Product
91
+ summary: A sellable product presented to shoppers.
92
+ aliases: []
93
+ anchors: []
94
+
95
+ - id: commerce.inventory.stock
96
+ kind: data
97
+ name: Stock
98
+ summary: Available and reserved quantity for a product.
99
+ aliases:
100
+ - Inventory record
101
+ anchors: []
102
+
103
+ - id: commerce.orders.order
104
+ kind: data
105
+ name: Order
106
+ summary: A customer's durable purchase record.
107
+ aliases: []
108
+ anchors: []
109
+
110
+ relations:
111
+ - from: commerce.catalog
112
+ type: part_of
113
+ to: commerce
114
+ summary: Catalog is a durable Commerce capability.
115
+
116
+ - from: commerce.inventory
117
+ type: part_of
118
+ to: commerce
119
+ summary: Inventory is a durable Commerce capability.
120
+
121
+ - from: commerce.orders
122
+ type: part_of
123
+ to: commerce
124
+ summary: Orders is a durable Commerce capability.
125
+
126
+ - from: commerce.orders.place-order
127
+ type: part_of
128
+ to: commerce.orders
129
+ summary: Placing an order is an Orders scenario.
130
+
131
+ - from: commerce.orders.place-order.search-products
132
+ type: part_of
133
+ to: commerce.orders.place-order
134
+ summary: Product search participates in placing an order.
135
+
136
+ - from: commerce.orders.place-order.check-inventory
137
+ type: part_of
138
+ to: commerce.orders.place-order
139
+ summary: Inventory checking participates in placing an order.
140
+
141
+ - from: commerce.orders.place-order.create-order
142
+ type: part_of
143
+ to: commerce.orders.place-order
144
+ summary: Order creation participates in placing an order.
145
+
146
+ - from: commerce.orders.place-order.reserve-inventory
147
+ type: part_of
148
+ to: commerce.orders.place-order
149
+ summary: Inventory reservation participates in placing an order.
150
+
151
+ - from: commerce.catalog.product
152
+ type: part_of
153
+ to: commerce.catalog
154
+ summary: Product belongs to the Catalog capability.
155
+
156
+ - from: commerce.inventory.stock
157
+ type: part_of
158
+ to: commerce.inventory
159
+ summary: Stock belongs to the Inventory capability.
160
+
161
+ - from: commerce.orders.order
162
+ type: part_of
163
+ to: commerce.orders
164
+ summary: Order belongs to the Orders capability.
165
+
166
+ - from: commerce.orders.place-order
167
+ type: invokes
168
+ to: commerce.orders.place-order.search-products
169
+ summary: Placing an order starts by finding relevant products.
170
+
171
+ - from: commerce.orders.place-order
172
+ type: invokes
173
+ to: commerce.orders.place-order.check-inventory
174
+ summary: Placing an order checks whether requested stock is available.
175
+
176
+ - from: commerce.orders.place-order
177
+ type: invokes
178
+ to: commerce.orders.place-order.create-order
179
+ summary: Placing an order creates a durable order record.
180
+
181
+ - from: commerce.orders.place-order.create-order
182
+ type: invokes
183
+ to: commerce.orders.place-order.reserve-inventory
184
+ summary: Creating an order coordinates reservation of its stock.
185
+
186
+ - from: commerce.orders.place-order.search-products
187
+ type: reads
188
+ to: commerce.catalog.product
189
+ summary: Product search reads the product catalog.
190
+
191
+ - from: commerce.orders.place-order.check-inventory
192
+ type: reads
193
+ to: commerce.inventory.stock
194
+ summary: Inventory checking reads current stock.
195
+
196
+ - from: commerce.orders.place-order.create-order
197
+ type: writes
198
+ to: commerce.orders.order
199
+ summary: Order creation writes the durable order record.
200
+
201
+ - from: commerce.orders.place-order.reserve-inventory
202
+ type: writes
203
+ to: commerce.inventory.stock
204
+ summary: Inventory reservation updates stock availability.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "semantic-atlas",
3
- "version": "0.4.0",
4
- "description": "A local, revision-aware business map for coding agents and read-only human browsing.",
3
+ "version": "2.0.0",
4
+ "description": "A Git-native advisory business map for coding agents.",
5
5
  "keywords": [
6
6
  "ai-agents",
7
- "code-analysis",
8
- "knowledge-graph",
7
+ "business-map",
8
+ "coding-agents",
9
9
  "typescript",
10
10
  "cli"
11
11
  ],
@@ -26,7 +26,7 @@
26
26
  "main": "./dist/index.js",
27
27
  "types": "./dist/index.d.ts",
28
28
  "bin": {
29
- "semantic-atlas": "dist/cli/bin.js"
29
+ "semantic-atlas": "./dist/cli/bin.js"
30
30
  },
31
31
  "exports": {
32
32
  ".": {
@@ -35,46 +35,45 @@
35
35
  }
36
36
  },
37
37
  "files": [
38
- ".agents/skills/semantic-atlas",
39
- ".agents/skills/semantic-atlas-insights",
38
+ ".agents",
40
39
  "dist",
41
- "docs",
42
- "schemas",
43
- "README.md",
44
- "README.zh-CN.md",
45
- "LICENSE"
40
+ "docs/architecture.md",
41
+ "docs/evaluation.md",
42
+ "docs/index.md",
43
+ "docs/map-format.md",
44
+ "docs/observations.md",
45
+ "docs/product-contract.md",
46
+ "examples",
47
+ "LICENSE",
48
+ "README.md"
46
49
  ],
47
50
  "engines": {
48
- "node": ">=22.12.0 <25"
51
+ "node": ">=24 <25"
49
52
  },
50
53
  "publishConfig": {
51
54
  "access": "public",
52
55
  "provenance": true
53
56
  },
54
57
  "dependencies": {
55
- "@colbymchenry/codegraph": "1.5.0",
56
- "zod": "^4.1.12"
58
+ "@dagrejs/dagre": "^1.1.8",
59
+ "commander": "^14.0.0",
60
+ "string-width": "^8.2.2",
61
+ "yaml": "^2.8.1",
62
+ "zod": "^4.1.5"
57
63
  },
58
64
  "devDependencies": {
59
- "@types/node": "^22.10.0",
60
- "tiktoken": "1.0.22",
61
- "tsx": "^4.20.6",
62
- "typescript": "^5.9.0",
63
- "vite": "^7.3.6",
64
- "vitest": "^3.2.0"
65
+ "@types/node": "^24.3.0",
66
+ "typescript": "^5.9.2",
67
+ "vitest": "^3.2.4"
65
68
  },
66
69
  "scripts": {
67
- "build": "tsc -p tsconfig.build.json && vite build",
70
+ "build": "tsc -p tsconfig.build.json",
71
+ "contracts:check": "vitest run tests/release/release-contract.test.ts",
72
+ "release:verify": "pnpm contracts:check && pnpm test && pnpm typecheck && pnpm build && node tests/smoke/built-render.mjs && node tests/smoke/built-skill.mjs && node tests/smoke/packaged-product.mjs && pnpm pack --dry-run && git diff --check",
68
73
  "test": "vitest run",
69
- "test:watch": "vitest",
70
- "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.web.json",
71
- "evaluation:validate": "tsx scripts/validate-evaluation.ts --baseline evaluation/cases/plan.json evaluation/examples/no-atlas-run.json",
72
- "evaluation:discovery": "tsx scripts/validate-evaluation.ts evaluation/cases/plan.json evaluation/results/fresh-agent-discovery-v5/location-nestjs-provider-atlas.json",
73
- "evaluation:run": "tsx scripts/run-fresh-agent-evaluation.ts",
74
- "evaluation:results": "tsx scripts/validate-evaluation.ts --baseline --comparison --report evaluation/results/fresh-agent-v1/report.json evaluation/cases/plan.json evaluation/results/fresh-agent-v1/runs/*.json",
75
- "validation:backend": "tsx scripts/validate-embedded-backend.ts",
76
- "package:verify": "tsx scripts/verify-package.ts",
77
- "contracts:generate": "tsx scripts/generate-contracts.ts",
78
- "contracts:check": "tsx scripts/generate-contracts.ts --check"
74
+ "test:acceptance": "pnpm release:verify",
75
+ "test:built": "pnpm build && node tests/smoke/built-render.mjs && node tests/smoke/built-skill.mjs",
76
+ "test:package": "node tests/smoke/packaged-product.mjs",
77
+ "typecheck": "tsc -p tsconfig.json"
79
78
  }
80
79
  }
@@ -1,190 +0,0 @@
1
- # GraphPatch authoring
2
-
3
- Read this reference only when durable, verified business knowledge should be
4
- written to Semantic Atlas.
5
-
6
- ## Preconditions
7
-
8
- 1. `status` identifies the intended worktree and a current, complete world
9
- snapshot.
10
- 2. The Agent has inspected the relevant source and can state the assertion,
11
- certainty, and evidence separately.
12
- 3. Current map output supplies every structural symbol ID, exact source range,
13
- and file `contentHash` used as evidence.
14
- 4. The knowledge is durable, verified, reusable business meaning rather than a
15
- task note, implementation instruction, test result, Git fact, debugging
16
- symptom, or generic code summary.
17
-
18
- Use the repository's `schemas/graph-patch-v1.schema.json` and
19
- `docs/contracts/graph-patch-v1.md` as the normative contract when they are
20
- available. The outline here is an authoring checklist.
21
-
22
- ## Patch shape
23
-
24
- A patch is one strict JSON object. Every operation uses the discriminator `op`.
25
- Relation endpoints are domain-tagged objects rather than key or ID strings:
26
-
27
- ```json
28
- {
29
- "schemaVersion": 1,
30
- "baseSnapshotId": "<current 64-character snapshot ID>",
31
- "nodeOperations": [
32
- {
33
- "op": "upsert",
34
- "node": {
35
- "key": "commerce/orders/place-order",
36
- "kind": "Operation",
37
- "label": "Place order",
38
- "summary": "Creates and persists a customer order.",
39
- "aliases": ["checkout"],
40
- "certainty": "exact",
41
- "evidence": [
42
- {
43
- "symbolId": "symbol:<current structural identity>",
44
- "file": "src/orders/order.service.ts",
45
- "range": {
46
- "start": { "line": 18, "column": 3 },
47
- "end": { "line": 24, "column": 4 }
48
- },
49
- "contentHash": "<current 64-character file hash>"
50
- }
51
- ]
52
- }
53
- }
54
- ],
55
- "relationOperations": [
56
- {
57
- "op": "upsert",
58
- "relation": {
59
- "from": {
60
- "domain": "business",
61
- "key": "commerce/orders/place-order"
62
- },
63
- "type": "realized_by",
64
- "to": {
65
- "domain": "structural",
66
- "id": "symbol:<current structural identity>"
67
- },
68
- "certainty": "exact",
69
- "evidence": [
70
- {
71
- "symbolId": "symbol:<current structural identity>",
72
- "file": "src/orders/order.service.ts",
73
- "range": {
74
- "start": { "line": 18, "column": 3 },
75
- "end": { "line": 24, "column": 4 }
76
- },
77
- "contentHash": "<current 64-character file hash>"
78
- }
79
- ]
80
- }
81
- }
82
- ]
83
- }
84
- ```
85
-
86
- Node removal uses `{ "op": "remove", "key": "..." }`. Relation removal uses
87
- `op: "remove"` with the same domain-tagged `from`, `type`, and `to` selector but
88
- without certainty or evidence. A single patch can create related nodes and
89
- connect them atomically.
90
-
91
- ## Business vocabulary
92
-
93
- Node kinds:
94
-
95
- - `Capability`: a durable business ability;
96
- - `Scenario`: a user or system scenario within a capability;
97
- - `Operation`: a business action or use-case step;
98
- - `Invariant`: a rule constraining behavior or data;
99
- - `Interface`: an API, event, queue, or integration contract;
100
- - `Data`: a business data concept or persisted record.
101
-
102
- Use stable lowercase slash-separated keys such as
103
- `<namespace>/<concept>`. A key is durable vocabulary identity; its readable
104
- namespace does not define its hierarchy. Labels and aliases provide vocabulary,
105
- summaries state evidence-bound assertions, and `part_of` alone defines current
106
- placement. Preserve a node's key when its parent changes.
107
-
108
- Business relation types:
109
-
110
- - `part_of`, `reads`, `writes`, `publishes`, `consumes`, and `constrained_by`
111
- connect a business source to a business target;
112
- - `realized_by` and `verified_by` connect a business source to a structural
113
- `Symbol` or `Test` declaration returned by the current map. A `File` or
114
- `Module` is navigation context, not a learned implementation or verification
115
- target. When the backend exposes only a test file, cite that source in the
116
- task result and omit `verified_by` until a declaration target is available.
117
-
118
- Every learned relation originates at a business node.
119
-
120
- - Every `from` is `{ "domain": "business", "key": "..." }`.
121
- - A business target is `{ "domain": "business", "key": "..." }`.
122
- - A structural target is `{ "domain": "structural", "id": "symbol:..." }` or
123
- a current `test:...` declaration ID.
124
-
125
- ## Hierarchy and reparenting
126
-
127
- Any business node kind may be a provisional root while no verified parent is
128
- known. Each node has at most one outgoing `part_of` parent, and the complete
129
- `part_of` graph remains acyclic.
130
-
131
- When later work verifies a different or broader parent, submit one patch that
132
- can upsert the parent, remove the old `part_of`, and upsert the new `part_of`.
133
- Keep the moved node and descendants unchanged so their keys, evidence, and
134
- non-hierarchy relationships remain reusable. Atlas validates the final graph
135
- after removals and rejects the whole patch when it would create a second parent
136
- or a cycle.
137
-
138
- ## Evidence
139
-
140
- Every upserted node summary and relation includes at least one evidence item:
141
-
142
- ```json
143
- {
144
- "symbolId": "symbol:<Atlas structural identity>",
145
- "file": "<repository-relative source path>",
146
- "range": {
147
- "start": { "line": 1, "column": 1 },
148
- "end": { "line": 1, "column": 1 }
149
- },
150
- "contentHash": "<current Atlas file content hash>"
151
- }
152
- ```
153
-
154
- Copy structural identity, path, range, and hash from a current `code search` or
155
- direct `map show` evidence result.
156
- Atlas validates that the symbol resolves, path and range match, and file hash is
157
- current. Evidence outside the worktree or fabricated from source text is not a
158
- valid binding.
159
-
160
- Certainty is independent from evidence freshness:
161
-
162
- - `exact` means the evidence uniquely proves the assertion;
163
- - `inferred` means the evidence supports an explicit Agent synthesis;
164
- - `hypothesis` is available in the GraphPatch contract for explicitly requested
165
- exploratory records. The required task-completion capture keeps unverified
166
- hypotheses in task context and persists only verified `exact` or `inferred`
167
- knowledge.
168
-
169
- Use one assertion per clear business meaning. Multiple source locations can
170
- support one assertion; one nearby symbol should not stand in for an unproven
171
- workflow.
172
-
173
- ## Submission and conflicts
174
-
175
- Send exactly one complete JSON value through standard input:
176
-
177
- ```sh
178
- semantic-atlas learn --stdin < /path/to/graph-patch.json
179
- ```
180
-
181
- Keep transient patch drafts outside tracked repository content. On an invalid
182
- input error, correct the schema or reference. On snapshot, evidence, or
183
- repository-boundary rejection, run `status`, re-query the current map, and
184
- rebuild the patch from current evidence. Preserve atomic intent rather than
185
- partially replaying operations.
186
-
187
- After success, inspect the returned operation counts and run `map show` for the
188
- learned key. Confirm its certainty, `valid` status, evidence, and intended
189
- relationships, then use `map view` at the world and parent levels to confirm its
190
- placement before relying on it in later tasks.
@@ -1,34 +0,0 @@
1
- # Product feedback
2
-
3
- Use this procedure after the primary engineering task has recovered or reached
4
- its normal conclusion. It records confirmed product friction without adding a
5
- step to ordinary development work.
6
-
7
- Report only an observed, source-confirmed Atlas issue that materially blocked
8
- or slowed the task, or a concrete improvement that follows from that evidence.
9
- Keep the report compact and omit prompts, query text, source text, command
10
- output, credentials, and unrelated task details.
11
-
12
- Send one JSON value through the project command:
13
-
14
- ```bash
15
- semantic-atlas feedback report --stdin <<'JSON'
16
- {
17
- "kind": "problem",
18
- "category": "misleading-result",
19
- "impact": "slowed",
20
- "observed": "The cited operation was unrelated after source confirmation.",
21
- "expected": "The result should identify a narrower evidence path.",
22
- "sourceConfirmed": true
23
- }
24
- JSON
25
- ```
26
-
27
- Choose `kind` as `problem` or `suggestion`; use one category from
28
- `misleading-result`, `missing-knowledge`, `workflow-friction`, `performance`,
29
- `cli-error`, or `skill-instruction`; and select impact as `blocked`, `slowed`,
30
- or `minor`. The command links the most recent local command events for that
31
- repository without storing their arguments or outputs.
32
-
33
- This feedback is product-operational data, not business knowledge. Continue the
34
- task's normal knowledge-capture decision independently.
@@ -1,104 +0,0 @@
1
- # Result routing
2
-
3
- Use this reference when a Semantic Atlas command produces missing, stale,
4
- partial, unsupported, unknown, ambiguous, empty, or error results.
5
-
6
- ## Envelope discipline
7
-
8
- Every handled CLI command writes one JSON envelope to standard output. Read:
9
-
10
- - `schemaVersion` before interpreting fields;
11
- - `status` as `ok`, `partial`, or `error`;
12
- - `repository.root` to confirm the intended worktree;
13
- - `snapshot.id` and `snapshot.freshness` for the published world;
14
- - `data.command` before consuming command-specific fields;
15
- - `warnings[].code` as the stable warning identity.
16
-
17
- Treat additive command fields as optional. Use the command discriminant and
18
- documented fields rather than matching prose messages.
19
-
20
- ## Freshness and availability
21
-
22
- | Observation | Route |
23
- | --- | --- |
24
- | `data.freshness: "current"`, complete backend | Query the map. |
25
- | `data.freshness: "missing"` | Run `index`, then inspect its envelope before querying. |
26
- | `data.freshness: "stale"` | Run `index`; use old business identities only as vocabulary until publication completes. |
27
- | Backend `missing`, `building`, `failed`, or `incomplete` | Run or retry `index` when appropriate; use source while no complete publication exists. |
28
- | `ATLAS_STATE_MISSING` or `ATLAS_STATE_STALE` | Refresh with `status` and `index`; repeat the query only against a current publication. |
29
- | `UNSUPPORTED_REPOSITORY` | Record the unsupported repository boundary and use the normal source workflow. |
30
-
31
- An index result can be `partial` while still publishing useful current data.
32
- Route its unsupported-language, stale-assertion, and unknown-boundary warnings
33
- individually.
34
-
35
- ## Query results
36
-
37
- ### Empty business knowledge
38
-
39
- `BUSINESS_KNOWLEDGE_EMPTY` with `data.command: "map.view"` and `regions: []`
40
- means the structural snapshot is usable but no verified business node has been
41
- learned yet. Treat it as a normal task-driven learning state:
42
-
43
- 1. Confirm the world view is empty, then run `code search` with the active
44
- task's likely symbols, interfaces, data names, or framework entry points.
45
- 2. Inspect only the structural relationships and source ranges needed for the
46
- current engineering task.
47
- 3. Complete and verify the engineering work with source as authority.
48
- 4. At knowledge capture, introduce durable verified concepts as provisional
49
- roots or attach them to any parent established during the task.
50
-
51
- Structural nodes remain source-navigation evidence and never substitute for
52
- business regions.
53
-
54
- ### Empty or weak search
55
-
56
- 1. Reduce the task to business vocabulary and try up to two materially
57
- different `map search` formulations.
58
- 2. Inspect the world `map view`, then zoom through the closest owning hierarchy
59
- when a relevant region exists.
60
- 3. Classify the business map as `insufficient` when no relevant node or
61
- relationship emerges.
62
- 4. Run up to two materially different `code search` formulations using exact
63
- symbol fragments, interface names, data names, paths, or framework terms.
64
- 5. Use returned source locations as the bounded fallback seed set.
65
-
66
- Lexical scores rank results only. A high score does not establish correctness,
67
- certainty, or business meaning.
68
-
69
- ### Unknown and ambiguity
70
-
71
- An `UNKNOWN_BOUNDARY` warning means the structural index detected unresolved
72
- runtime or language behavior. Use `code search` to locate the task-relevant
73
- owner and inspect the execution or assignment path in source. Promote a
74
- relationship in the Agent's conclusion only when source establishes it
75
- uniquely; preserve the ambiguity and any finite candidates discovered in source
76
- when multiple targets remain plausible.
77
-
78
- ### Stale assertions
79
-
80
- A stale business node keeps useful key, label, and aliases while its summary or
81
- relations lack current evidence. Reindex first. Then inspect the changed or
82
- missing evidence and either use current source for the task or submit a new
83
- GraphPatch after verification.
84
-
85
- ### Unsupported structure
86
-
87
- Continue using supported nodes and relations as partial context. Inspect the
88
- unsupported file, language, runtime behavior, reflection, or generated contract
89
- through normal source tools. Keep the unsupported portion separate from exact
90
- Atlas facts.
91
-
92
- ## Error outcomes
93
-
94
- | Exit code | Meaning and route |
95
- | --- | --- |
96
- | `0` | Consume `ok` or `partial` data. |
97
- | `1` | Treat as an internal failure; preserve diagnostics and use source. |
98
- | `2` | Correct command, option, stdin, or schema input before retrying. |
99
- | `3` | Confirm repository discovery and supported languages; use source for a genuinely unsupported repository. |
100
- | `4` | Refresh missing/stale state or select a persisted change range. |
101
- | `5` | Refresh the current snapshot/evidence, rebuild the GraphPatch, and retry only when the patch still represents verified knowledge. |
102
-
103
- Handled errors still use JSON envelopes. Unexpected diagnostics belong to
104
- standard error and remain troubleshooting evidence rather than map facts.
@@ -1,42 +0,0 @@
1
- # Snapshot publication
2
-
3
- Read this reference after the required `status` call shows that the structural
4
- snapshot needs publication. Keep all commands serialized in the exact target
5
- worktree.
6
-
7
- ## Publish structural state
8
-
9
- 1. For `missing`, `stale`, failed, or incomplete state, run
10
- `semantic-atlas index` and inspect the returned envelope. In a new Git
11
- worktree, this command automatically restores a compatible sibling
12
- CodeGraph projection and incrementally synchronizes it; no separate
13
- initialization command is needed. When no candidate is compatible, the same
14
- command performs the initial full index.
15
- 2. Run `semantic-atlas status` again. Continue with Atlas only when freshness is
16
- `current` and backend completeness is `complete`.
17
- 3. Run `semantic-atlas map view`. It returns current parentless business nodes
18
- as world regions. An empty `regions` array with `BUSINESS_KNOWLEDGE_EMPTY`
19
- means no task has established reusable business knowledge yet.
20
- 4. Use source as authority while publication is unavailable. Read result routing
21
- when the index or follow-up status contains warnings or errors.
22
-
23
- ## Continue into the normal task
24
-
25
- A normal task grows only the business area it actually verifies:
26
-
27
- 1. Inspect the world view and search task business vocabulary. When business
28
- knowledge is empty or irrelevant, use `code search` for bounded structural
29
- owners and source locations.
30
- 2. Open the bounded source path required by the task and confirm the decisive
31
- behavior.
32
- 3. Identify each durable business concept and relationship that the source now
33
- proves but the current map lacks.
34
- 4. Follow GraphPatch authoring, submit those verified facts together, and verify
35
- each learned entry through `semantic-atlas map show`, then confirm its
36
- placement through `semantic-atlas map view`.
37
- 5. Stop after the task-relevant business area is reusable. Let later engineering
38
- tasks expand or reorganize the map as they verify more behavior.
39
-
40
- Empty business knowledge routes to bounded structural and source inspection for
41
- the active task. The resulting source evidence may introduce a provisional root;
42
- a later task can reparent it when a broader business concept becomes verified.