semantic-atlas 2.6.0 → 2.6.1

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.
@@ -101,6 +101,14 @@ For a mapless task, the observation query records the bounded outcome:
101
101
 
102
102
  ## Confirm The Current-Evidence Model
103
103
 
104
+ Identify who promises the task's outcome and controls its rules/state, then
105
+ separate that owner from callers, consumers and infrastructure collaborators.
106
+ When ownership or lifecycle coverage is uncertain, read the shared
107
+ [boundary-design reference](../semantic-atlas-maintenance/references/boundary-design.md)
108
+ and apply its source-to-map coverage and cohesion questions to this task only.
109
+ An ordinary engineering task needs a sufficient local model, not a complete
110
+ project partition or a map-authoring artifact.
111
+
104
112
  For every statement that could control the change:
105
113
 
106
114
  1. Open current source or tests that implement or exercise the behavior.
@@ -185,8 +193,9 @@ Add concepts, relations, and flows only when current evidence supports their
185
193
  accuracy. When no relevant flow changed, record no flow candidate.
186
194
 
187
195
  For every proposed candidate, identify the actual business responsibility from
188
- its outcomes, owned data/rules and collaborators. Reuse a mapped domain when
189
- that meaning matches; an independently meaningful new business area receives
196
+ its outcomes, owned data/rules, lifecycle and collaborators using the same
197
+ boundary-design reference when that ownership needs investigation. Reuse a mapped
198
+ domain when that meaning matches; an independently meaningful new business area receives
190
199
  its own stable `businessDomainId`, even when another domain already has a YAML.
191
200
  Use narrower capabilities for behavior belonging inside an existing area.
192
201
  The maintenance Skill rechecks this ownership before choosing files. A required
@@ -7,6 +7,8 @@ compatibility: Requires Node.js 24+, Git, the current semantic-atlas CLI, and re
7
7
  # Semantic Atlas Maintenance
8
8
 
9
9
  Create or maintain a source-supported business map through ordinary Git review.
10
+ Design a coherent, sufficiently complete responsibility before choosing its
11
+ map nodes and files; a plausible diagram can still omit or misplace business.
10
12
  Current source, tests, tracked product documents, and required runtime evidence
11
13
  decide business meaning; retained candidates supply investigation leads.
12
14
 
@@ -60,17 +62,19 @@ evidence. For candidate reconciliation, start from the selected origins and
60
62
  confirm their current evidence. Apply this sequence when creating the first map,
61
63
  adding later business capabilities, correcting meaning, or reconciling drift:
62
64
 
63
- 1. Inspect the affected map, tracked product documents, current source and tests.
64
- Follow callers and collaborators needed to confirm both endpoints of a
65
- relationship. Use runtime evidence when deployed state owns the conclusion.
66
- Preserve `MAP_NOT_FOUND` as the result when no map exists.
67
- 2. Identify the affected business responsibilities, owned data and rules,
68
- collaborators, and decisive evidence before selecting a YAML file. Independent
69
- responsibilities with their own business outcomes and rules get distinct
70
- business areas. Source directories and existing filenames are evidence, not
71
- the decision about ownership.
65
+ 1. Read [references/boundary-design.md](references/boundary-design.md). Establish
66
+ result promises, owned decisions/state, supported lifecycles and collaborator
67
+ limits from current source, tests and tracked product documents. Use runtime
68
+ evidence when deployed state owns the conclusion. Preserve `MAP_NOT_FOUND`
69
+ when no map exists.
70
+ 2. Build a source-to-map coverage account from independently discovered business
71
+ entries and state/rule owners. Challenge the proposed partition for overly
72
+ broad areas, fragmented lifecycles, omissions and misplaced concepts using
73
+ the reference. Record unresolved boundaries and the supported stopping point.
74
+ Complete this reasoning before choosing YAML files; for a local request,
75
+ keep the account limited to the requested neighborhood and its contracts.
72
76
  3. Reuse an existing domain and owning file when their business meaning matches
73
- the change. Give newly identified independent business areas their own
77
+ the confirmed partition. Give newly identified independent business areas
74
78
  meaningful `domain` roots and owning YAML files, including during incremental
75
79
  maintenance. Use `capability` and `part_of` for narrower responsibilities within
76
80
  an area. A single-business project or local task can still use one file.
@@ -129,8 +133,9 @@ git diff --check
129
133
  git diff -- docs/business-map/
130
134
  ```
131
135
 
132
- Inspect every changed business area in the Viewer. Confirm that domain
133
- selection matches the evidenced boundaries, cross-file relationships retain
136
+ Recheck source-to-map coverage against the final partition, including supported
137
+ lifecycle responsibilities missing from the old map. Inspect every changed
138
+ business area in the Viewer. Confirm that domain selection matches the evidenced boundaries, cross-file relationships retain
134
139
  external neighboring concepts, and scenario flows preserve their branches,
135
140
  outcomes and relationship-to-flow links. Moving YAML alone does not establish
136
141
  correct business containment. Check the complete graph together, including
@@ -153,15 +158,17 @@ a candidate-origin observation. A reorganization records its complete Git diff
153
158
  and integration state; retained origins stay available for accurate separate
154
159
  reconciliation instead of being consumed by a fabricated single-file result.
155
160
 
156
- Report the requested scope, boundaries, evidence, owning files, validation and
157
- render results, Git candidate, and actual review/integration state. Include
161
+ Report the requested scope, boundaries, source-to-map coverage and unresolved
162
+ ownership, evidence, owning files, validation and render results, Git candidate, and actual review/integration state. Include
158
163
  origins, classifications and the observation draft for candidate reconciliation.
159
164
 
160
165
  ## Review Phase
161
166
 
162
- Use the host workflow's ordinary independent review. Review durable business
163
- meaning, relation direction, flow branch meaning, evidence support,
164
- complete-graph validity, and whether the domain/file partition matches the
167
+ Use the host workflow's ordinary independent review. Start from current source
168
+ entry points and the requested outcomes, and challenge ownership and lifecycle
169
+ coverage independently of the map's own node list using the boundary-design
170
+ reference. Review durable business meaning, relation direction, flow branch
171
+ meaning, evidence support, complete-graph validity, and whether the domain/file partition matches the
165
172
  requested business scope. For candidate reconciliation, also check exact origin
166
173
  coverage, one-domain ownership, and whether discarded or unresolved conclusions
167
174
  correctly avoid a map edit.
@@ -0,0 +1,120 @@
1
+ # Design Business Boundaries
2
+
3
+ Use this reference before creating or changing a business partition, or when a
4
+ mapped owner, missing lifecycle or collaborator could change an engineering
5
+ conclusion. It owns boundary judgment; `map-authoring.md` owns YAML expression.
6
+ Apply it at the requested scale: a project map covers evidenced project
7
+ responsibilities, a local map covers one complete requested neighborhood, and an
8
+ engineering task establishes only the boundary needed for its decision.
9
+
10
+ ## Start With The Responsibility, Then Draw It
11
+
12
+ A useful business area is a coherent responsibility: someone relies on its
13
+ result, it owns decisions that make that result true, and its supported lifecycle
14
+ explains how the result is established, changed and ended. A user journey may
15
+ cross several such areas. Calling another action, sharing a table, or appearing
16
+ in the same execution path proves collaboration; ownership requires evidence
17
+ about who decides the rule, authoritative state or outcome.
18
+
19
+ Before choosing domains or files, describe each plausible owner in working
20
+ notes using this compact shape. A short local task can keep the same reasoning
21
+ in its answer; no separate tracked document is required.
22
+
23
+ | Responsibility | Required evidence |
24
+ | --- | --- |
25
+ | Result and beneficiary | What user, operator or dependent capability can rely on this area to accomplish |
26
+ | Owned decisions and state | Rules it decides, records whose meaning/lifecycle it controls, and meaningful changes it permits |
27
+ | Supported lifecycle | How the responsibility starts, is used or changed, and ends; include alternative entries and consequential failure/refusal paths that actually exist |
28
+ | Collaborators and limits | Inputs/outputs it exchanges, who owns the other decisions, and what current repository evidence can establish |
29
+ | Source support and uncertainty | Decisive entry points, state/rule owners and tests; unresolved ownership that could alter the partition |
30
+
31
+ Use the card to test candidate boundaries, not to invent missing product
32
+ features. A library can own recording, revising, withdrawing and making its
33
+ knowledge available while a chat consumer owns answering a conversation. Those
34
+ activities can remain one library responsibility even when different modules or
35
+ entry points implement them. If source supports only retrieval, retain only that
36
+ supported scope and state the missing ownership evidence.
37
+
38
+ ## Discover Coverage Independently Of The Existing Map
39
+
40
+ Build a bounded list of supported scenarios from current evidence before using
41
+ the map's node list as a completeness checklist. Start with product promises and
42
+ public/user/operator entry points. Cross-check durable state and its writers,
43
+ configuration and authorization owners, event/job/callback entries, and tests
44
+ that exercise consequential decisions. Follow only surfaces capable of changing
45
+ the requested business meaning. Technical directories help locate evidence;
46
+ their number and shape do not prescribe the business partition.
47
+
48
+ For each supported scenario, record its responsible owner and decisive source.
49
+ A compact table is sufficient: `scenario or lifecycle responsibility -> owner ->
50
+ source -> mapped concept/flow or reason omitted`. Use explicit collaborator,
51
+ implementation-detail or unresolved dispositions when those explain the result.
52
+ An omitted scenario needs such a reason; a node already drawn is not evidence
53
+ that the supported responsibility is complete.
54
+
55
+ Completeness means that a reader can find the important supported outcomes,
56
+ rules and lifecycle changes under the right owner. Several equivalent HTTP,
57
+ event or tool entries may share a single scenario and multiple anchors. Create a
58
+ separate scenario or operation when it has independently meaningful decisions
59
+ or outcomes. Method counts, generic CRUD lists and one flow per endpoint are not
60
+ completion measures. A project map accounts for its evidenced responsibilities;
61
+ a local request finishes at its relevant collaborator contracts.
62
+
63
+ ## Challenge Cohesion And Ownership
64
+
65
+ Use the following questions on the provisional partition before encoding it:
66
+
67
+ | Possible defect | Evidence that decides the correction |
68
+ | --- | --- |
69
+ | Too broad | Can two groups deliver separately meaningful outcomes and change their rules or authoritative state for different reasons? Give each an owner and retain their collaboration. |
70
+ | Too fragmented | Do the fragments establish, change or end the same promised result under the same rules and lifecycle? Keep them together as capabilities/scenarios; use source anchors for technical layers. |
71
+ | Incomplete | Does an independently found entry, state transition, configuration or exit path have meaningful behavior with no represented owner? Include it at the right granularity, or identify the evidence still missing. |
72
+ | Misplaced | Is a concept nested under its caller, consumer or source directory even though another responsibility decides its meaning? Move containment to that owner and express the usage as a relation. |
73
+
74
+ Treat these as evidence tests, not requirements for a fixed number of domains.
75
+ One area may have many scenarios; many callers may share one action. A shared
76
+ record has one primary business owner even when other areas read or write it.
77
+ Determine ownership from the rules and lifecycle authority, and represent each
78
+ confirmed writer's collaboration explicitly. Shared identity follows business
79
+ meaning: one physical table can support distinct responsibility-specific
80
+ concepts, while equivalent concepts share one identity across callers.
81
+
82
+ Shared technical capabilities can be independently meaningful. For example, a
83
+ reusable execution system may own definition/instance separation, cancellation,
84
+ resumption and completion contracts across several products. Represent that
85
+ supported responsibility at its own level when relevant. An adapter, conversion
86
+ helper or queue wrapper usually supplies evidence behind another operation;
87
+ its callable methods alone do not establish a new business area. Product
88
+ configuration belongs to the result it configures; generic execution lifecycle
89
+ belongs to the execution responsibility. Inspect who owns each decision.
90
+
91
+ ## Preserve The Repository Boundary
92
+
93
+ Distinguish business ownership from where a call is made. For a remote parser,
94
+ commerce service or third-party channel, map the local integration responsibility
95
+ and the evidenced interface or external collaborator. State external ownership
96
+ in its name, summary or notes and link the relevant contract anchors. Expand
97
+ that collaborator's internal business only when it belongs to the requested
98
+ scope and current evidence supports it. An interface can be shown without
99
+ inventing an external domain or an internal implementation.
100
+
101
+ A local orchestration flow can reference independently owned actions to explain
102
+ an end-to-end result. Each concept keeps its owner; flow participation does not
103
+ transfer containment. Preserve separate owners when a business process spans
104
+ repositories, and state which part the current repository actually implements.
105
+
106
+ ## Decide And Stop
107
+
108
+ Choose the partition when each retained owner has a source-supported promise
109
+ and decision/state responsibility, important supported scenarios have an owner,
110
+ and dependencies are expressed at their evidenced boundaries. Then translate
111
+ that partition into the existing domain/capability/scenario model and owning
112
+ files. Preserve stable IDs when identity remains the same.
113
+
114
+ When uncertainty would change ownership, retain it explicitly and continue only
115
+ the supported portion. Finish a local investigation when the task's behavior,
116
+ owner and necessary collaborator contracts are established. Complete map work
117
+ when source-to-map coverage explains the requested responsibility and the
118
+ boundary challenge reveals no material omission or misplaced ownership. Schema
119
+ validity and a readable diagram are separate checks; neither proves that this
120
+ business partition is correct.
@@ -1,9 +1,10 @@
1
1
  # Business Map Authoring
2
2
 
3
- Use this reference when creating or updating map documents. The Skill owns the
4
- common business-ownership decisions for every edit; this page supplies the
5
- version 1 authoring shape. The installed package's `docs/map-format.md` defines the complete format,
6
- and `semantic-atlas validate` checks all documents together.
3
+ Use this reference when encoding a confirmed business partition. The Skill owns
4
+ the workflow; [boundary-design.md](boundary-design.md) supplies boundary judgment.
5
+ This page supplies the version 1 authoring shape. The installed package's
6
+ `docs/map-format.md` defines the complete format, and `semantic-atlas validate`
7
+ checks all documents together.
7
8
 
8
9
  ## Document And Concept Shape
9
10
 
@@ -30,7 +30,12 @@ correctness.
30
30
 
31
31
  The answer identifies the capability, scenario, operation, data, invariant, and
32
32
  interface boundaries required by the task. Repository folders or framework
33
- components do not replace business ownership.
33
+ components do not replace business ownership. Evaluate cohesion, lifecycle
34
+ coverage and external responsibility limits against independently discovered
35
+ source entry points and state/rule owners. A partition fails when it absorbs a
36
+ collaborator, splits one responsibility into technical pieces, omits supported
37
+ business behavior or places it under another owner, even when graph validation
38
+ passes.
34
39
 
35
40
  ### Root-cause accuracy
36
41
 
@@ -126,6 +131,11 @@ order, fulfillment and revenue responsibilities within technical source files;
126
131
  the control has three technical directories serving one cancellation business.
127
132
  A maintenance case starts from a valid order map and asks for the newly
128
133
  implemented delivery behavior to be incorporated.
134
+ A local library correction case starts with retrieval misplaced under its chat
135
+ consumer. Source independently exposes material intake, revision, asynchronous
136
+ extraction, withdrawal and removal, plus unrelated neighboring features. It
137
+ checks complete responsibility coverage, correct external ownership and a
138
+ clean stop at the requested business boundary rather than a node or file count.
129
139
  Execution receives only the request and source fixture, while expected results
130
140
  remain with the evaluator. Use the bundled understanding and maintenance Skills
131
141
  in fresh contexts, with equivalent baseline and candidate environments.
@@ -27,7 +27,11 @@ Every map-writing task chooses ownership from stable business responsibilities,
27
27
  owned data/rules, and collaborators. This applies to initial creation, later
28
28
  capability additions, drift correction and candidate maintenance. Source
29
29
  folders, existing filenames and recorded candidate owners supply evidence;
30
- current business meaning decides the boundary.
30
+ current business meaning decides the boundary. Before encoding, use the Skills'
31
+ [boundary-design method](../.agents/skills/semantic-atlas-maintenance/references/boundary-design.md)
32
+ to establish cohesive responsibilities, supported lifecycle coverage and
33
+ collaborator limits. That reference owns the judgment method; this page owns
34
+ its representation in the tracked model.
31
35
 
32
36
  Reuse a domain and owning YAML when their business scope remains correct. Give
33
37
  a newly identified independent business area its own meaningful `domain` root
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semantic-atlas",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "A Git-native advisory business map for coding agents.",
5
5
  "keywords": [
6
6
  "ai-agents",