semantic-atlas 0.1.4 → 0.3.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.
- package/.agents/skills/semantic-atlas/SKILL.md +62 -43
- package/.agents/skills/semantic-atlas/references/graph-patch.md +22 -5
- package/.agents/skills/semantic-atlas/references/product-feedback.md +34 -0
- package/.agents/skills/semantic-atlas/references/result-routing.md +32 -19
- package/.agents/skills/semantic-atlas/references/snapshot-bootstrap.md +17 -32
- package/.agents/skills/semantic-atlas-insights/SKILL.md +55 -0
- package/README.md +209 -80
- package/README.zh-CN.md +187 -81
- package/dist/cli/argument-parser.js +49 -23
- package/dist/cli/bin.js +16 -3
- package/dist/cli/cli-application.d.ts +3 -2
- package/dist/cli/cli-application.d.ts.map +1 -1
- package/dist/cli/cli-application.js +104 -48
- package/dist/cli/insights-cli.d.ts +6 -0
- package/dist/cli/insights-cli.d.ts.map +1 -0
- package/dist/cli/insights-cli.js +236 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +94 -2
- package/dist/cli/standalone-cli.d.ts +3 -0
- package/dist/cli/standalone-cli.d.ts.map +1 -0
- package/dist/cli/standalone-cli.js +96 -0
- package/dist/cli/types.d.ts +9 -6
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/contracts/cli.d.ts +473 -1400
- package/dist/contracts/cli.d.ts.map +1 -1
- package/dist/contracts/cli.js +65 -65
- package/dist/contracts/graph.d.ts +4 -0
- package/dist/contracts/graph.d.ts.map +1 -1
- package/dist/contracts/graph.js +2 -2
- package/dist/contracts/insights.d.ts +2 -0
- package/dist/contracts/insights.d.ts.map +1 -0
- package/dist/contracts/insights.js +1 -0
- package/dist/contracts/public-contracts.d.ts +1 -0
- package/dist/contracts/public-contracts.d.ts.map +1 -1
- package/dist/contracts/public-contracts.js +1 -0
- package/dist/evaluation/contracts.d.ts +11 -2
- package/dist/evaluation/contracts.d.ts.map +1 -1
- package/dist/evaluation/contracts.js +7 -2
- package/dist/graph/graph-store.d.ts +3 -1
- package/dist/graph/graph-store.d.ts.map +1 -1
- package/dist/graph/graph-store.js +48 -2
- package/dist/graph/types.d.ts +30 -9
- package/dist/graph/types.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/insights/contracts.d.ts +266 -0
- package/dist/insights/contracts.d.ts.map +1 -0
- package/dist/insights/contracts.js +124 -0
- package/dist/insights/insights-store.d.ts +73 -0
- package/dist/insights/insights-store.d.ts.map +1 -0
- package/dist/insights/insights-store.js +246 -0
- package/dist/package-metadata.d.ts +2 -0
- package/dist/package-metadata.d.ts.map +1 -0
- package/dist/package-metadata.js +9 -0
- package/dist/setup/package-upgrader.d.ts +54 -0
- package/dist/setup/package-upgrader.d.ts.map +1 -0
- package/dist/setup/package-upgrader.js +169 -0
- package/dist/setup/skill-installer.d.ts +20 -0
- package/dist/setup/skill-installer.d.ts.map +1 -0
- package/dist/setup/skill-installer.js +187 -0
- package/dist/storage/atlas-database.d.ts +1 -0
- package/dist/storage/atlas-database.d.ts.map +1 -1
- package/dist/storage/atlas-database.js +13 -6
- package/dist/world/business-map-projector.d.ts +14 -0
- package/dist/world/business-map-projector.d.ts.map +1 -0
- package/dist/world/business-map-projector.js +178 -0
- package/dist/world/world-graph-query.d.ts +8 -13
- package/dist/world/world-graph-query.d.ts.map +1 -1
- package/dist/world/world-graph-query.js +26 -229
- package/docs/README.md +30 -0
- package/docs/architecture/codegraph-backend.md +2 -2
- package/docs/architecture/continuous-business-learning.md +240 -0
- package/docs/contracts/cli-v1.md +62 -18
- package/docs/contracts/graph-model.md +11 -7
- package/docs/contracts/graph-patch-v1.md +8 -1
- package/docs/contracts/insights-v1.md +84 -0
- package/docs/evaluation.md +20 -15
- package/docs/index.md +43 -0
- package/docs/log.md +80 -0
- package/docs/product-contract.md +24 -12
- package/package.json +3 -1
- package/schemas/cli-envelope-v1.schema.json +450 -565
- package/schemas/evaluation-run-v1.schema.json +4 -1
- package/schemas/insights-envelope-v1.schema.json +428 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<h1>Semantic Atlas</h1>
|
|
3
|
-
<p><strong>
|
|
4
|
-
<p>
|
|
3
|
+
<p><strong>Give your coding agent the business map a senior engineer keeps in their head.</strong></p>
|
|
4
|
+
<p>Navigate by capabilities and behavior, confirm the responsible code, and retain what real engineering work proves.</p>
|
|
5
5
|
|
|
6
6
|
<p>
|
|
7
7
|
<a href="https://www.npmjs.com/package/semantic-atlas"><img alt="npm version" src="https://img.shields.io/npm/v/semantic-atlas?style=flat-square&color=cb3837"></a>
|
|
@@ -13,135 +13,261 @@
|
|
|
13
13
|
<p><strong>English</strong> · <a href="./README.zh-CN.md">简体中文</a></p>
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Code search is not a project understanding model
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
A file tree tells an agent where code is stored. Keyword search tells it where a
|
|
19
|
+
word appears. Neither tells it the complete business area affected by a product
|
|
20
|
+
change.
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
That gap is why an agent can find the obvious service and still miss a policy,
|
|
23
|
+
consumer, data dependency, or test elsewhere in the repository. Semantic Atlas
|
|
24
|
+
adds the missing layer: a local, evidence-bound business graph connected to the
|
|
25
|
+
code that realizes it.
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
| Starting point | What the agent sees |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| File tree | `src/`, `libs/`, packages, modules, and implementation layout |
|
|
30
|
+
| Keyword search | Files containing the words chosen for this task |
|
|
31
|
+
| Semantic Atlas | Business regions, behavior, rules, data, collaborators, tests, and their source evidence |
|
|
32
|
+
|
|
33
|
+
The goal is not to replace source inspection. It is to make the agent enter the
|
|
34
|
+
source through the right business boundary and leave verified understanding
|
|
35
|
+
behind for the next task.
|
|
36
|
+
|
|
37
|
+
## One map, continuously learned
|
|
24
38
|
|
|
25
|
-
|
|
39
|
+

|
|
26
40
|
|
|
27
|
-
|
|
41
|
+
Semantic Atlas keeps one business graph that can be viewed at different semantic
|
|
42
|
+
zoom levels:
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
Commerce
|
|
46
|
+
└── Orders ─────────────────── works with ─── Customers
|
|
47
|
+
├── Checkout
|
|
48
|
+
│ └── Place order ─────── reads ───────── Customer profile
|
|
49
|
+
└── After-sales
|
|
50
|
+
└── Refund eligibility ─ constrained by Refund policy
|
|
51
|
+
```
|
|
28
52
|
|
|
29
|
-
|
|
53
|
+
`map view` starts at the current world regions. Focusing a region reveals its
|
|
54
|
+
children, breadcrumbs, and summarized cross-region connections. The agent keeps
|
|
55
|
+
zooming until the operation, data, rule, or test relevant to the task becomes
|
|
56
|
+
visible. This is one canonical map projected at the current level, not a large
|
|
57
|
+
overview plus a collection of disconnected detail maps.
|
|
30
58
|
|
|
31
|
-
|
|
32
|
-
- **Spend less source context.** Use graph evidence to choose a bounded source seed set, then read only the code needed to decide the task.
|
|
33
|
-
- **Keep knowledge honest.** Evidence is tied to a snapshot; changed or missing evidence becomes visibly stale instead of silently remaining current.
|
|
34
|
-
- **Preserve uncertainty.** Dynamic dispatch, reflection, unsupported structure, and unresolved targets stay explicit and route the agent back to source.
|
|
35
|
-
- **Leave the project untouched.** Durable knowledge stays under `~/.semantic-atlas`; only a disposable CodeGraph projection enters the worktree's ignored `.atlas/` directory. Tracked source and configuration are not rewritten.
|
|
59
|
+
The map grows during normal engineering work:
|
|
36
60
|
|
|
37
|
-
|
|
61
|
+
1. The agent queries what the project already knows.
|
|
62
|
+
2. Missing knowledge routes it to bounded structural evidence and source.
|
|
63
|
+
3. The agent implements or investigates the real task and verifies the result.
|
|
64
|
+
4. Only durable business meaning proven by current source is learned.
|
|
65
|
+
5. The next task starts with a better map.
|
|
38
66
|
|
|
39
|
-
|
|
67
|
+
`index` publishes code structure; it does not guess a repository-wide business
|
|
68
|
+
model. A newly indexed project can honestly have an empty business map. The first
|
|
69
|
+
relevant task may introduce a provisional root such as "Refund eligibility".
|
|
70
|
+
Later work can discover "After-sales" and "Orders" above it and reparent the
|
|
71
|
+
existing node without changing its stable identity or evidence.
|
|
72
|
+
|
|
73
|
+
## What the agent actually does
|
|
74
|
+
|
|
75
|
+
Suppose a product request changes refund eligibility. A Semantic Atlas-aware
|
|
76
|
+
agent follows this path:
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
status
|
|
80
|
+
-> refresh the structural snapshot when needed
|
|
81
|
+
-> view/search the business map
|
|
82
|
+
-> zoom into the refund region and inspect its evidence
|
|
83
|
+
-> use bounded code search only for gaps
|
|
84
|
+
-> confirm behavior in source and tests
|
|
85
|
+
-> make and verify the change
|
|
86
|
+
-> reindex, inspect semantic changes, and retain durable knowledge
|
|
87
|
+
```
|
|
40
88
|
|
|
41
|
-
|
|
89
|
+
Without an existing refund region, the same workflow begins with a small
|
|
90
|
+
`code search` result instead of pretending that folders are business concepts.
|
|
91
|
+
Once the task establishes the capability, rules, and relationships, later agents
|
|
92
|
+
can navigate there directly.
|
|
42
93
|
|
|
43
|
-
|
|
94
|
+
This workflow is delivered as one product:
|
|
44
95
|
|
|
45
|
-
|
|
96
|
+
- The **Semantic Atlas Skill** teaches compatible coding agents when to query,
|
|
97
|
+
return to source, and retain knowledge.
|
|
98
|
+
- The **Semantic Atlas Insights Skill** supports a separate daily product review
|
|
99
|
+
and feedback-triage loop, keeping routine development context focused.
|
|
100
|
+
- The **`semantic-atlas` CLI** provides deterministic local JSON operations.
|
|
101
|
+
- The structural analyzer remains an internal evidence provider. Its directory
|
|
102
|
+
graph, CLI, storage schema, and terminology do not become the business map.
|
|
103
|
+
|
|
104
|
+
## Install
|
|
105
|
+
|
|
106
|
+
Semantic Atlas supports Node.js 22.12 through 24 and Git repositories containing
|
|
107
|
+
TypeScript or JavaScript.
|
|
46
108
|
|
|
47
109
|
```sh
|
|
48
110
|
npm install --global semantic-atlas
|
|
49
|
-
semantic-atlas
|
|
111
|
+
semantic-atlas setup
|
|
112
|
+
semantic-atlas --version
|
|
113
|
+
semantic-atlas -h
|
|
50
114
|
```
|
|
51
115
|
|
|
52
|
-
|
|
116
|
+
`setup` atomically installs the primary Skill at
|
|
117
|
+
`~/.agents/skills/semantic-atlas` and the maintenance Skill at
|
|
118
|
+
`~/.agents/skills/semantic-atlas-insights`. Re-running it verifies the managed
|
|
119
|
+
copies and repairs local changes. A recognized legacy copy at
|
|
120
|
+
`~/.codex/skills/semantic-atlas` is removed only after the shared installation
|
|
121
|
+
succeeds.
|
|
53
122
|
|
|
54
|
-
|
|
123
|
+
Indexing, querying, and learning stay local and make no model or network calls.
|
|
124
|
+
npm access is used only to install or upgrade Semantic Atlas.
|
|
55
125
|
|
|
56
|
-
|
|
126
|
+
### Upgrade
|
|
57
127
|
|
|
58
|
-
```
|
|
59
|
-
|
|
128
|
+
```sh
|
|
129
|
+
semantic-atlas upgrade
|
|
60
130
|
```
|
|
61
131
|
|
|
62
|
-
|
|
132
|
+
`upgrade` checks npm's latest stable release, installs that exact resolved
|
|
133
|
+
version globally, verifies the newly installed CLI, and runs the new package's
|
|
134
|
+
`setup`. When the package is already current, it still verifies and synchronizes
|
|
135
|
+
the managed Skill. The command is repository-independent: it does not discover a
|
|
136
|
+
Git project or open Atlas data.
|
|
63
137
|
|
|
64
|
-
|
|
138
|
+
## First project
|
|
65
139
|
|
|
66
|
-
|
|
140
|
+
The bundled Skill normally drives these commands for the agent. They are shown
|
|
141
|
+
here to make the lifecycle explicit. Run Atlas commands serially in the exact
|
|
142
|
+
target worktree:
|
|
67
143
|
|
|
68
144
|
```sh
|
|
69
145
|
semantic-atlas status
|
|
70
146
|
semantic-atlas index
|
|
71
|
-
semantic-atlas map
|
|
147
|
+
semantic-atlas map view
|
|
72
148
|
semantic-atlas map search "checkout" --limit 10
|
|
73
|
-
semantic-atlas map
|
|
149
|
+
semantic-atlas map view commerce/orders
|
|
150
|
+
semantic-atlas map show commerce/orders/checkout
|
|
74
151
|
```
|
|
75
152
|
|
|
76
|
-
|
|
153
|
+
If `status` reports `missing`, `stale`, or an incomplete structural backend, run
|
|
154
|
+
`index` before querying. If a current world returns `regions: []` with
|
|
155
|
+
`BUSINESS_KNOWLEDGE_EMPTY`, the project has no verified business knowledge yet.
|
|
156
|
+
The agent then uses a bounded fallback:
|
|
77
157
|
|
|
78
|
-
|
|
158
|
+
```sh
|
|
159
|
+
semantic-atlas code search "CheckoutService" --limit 10
|
|
160
|
+
```
|
|
79
161
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
4. **Confirm source.** Open the cited ranges and resolve the decisive behavior in authoritative code. Keep partial, stale, unsupported, and unknown results bounded.
|
|
84
|
-
5. **Do the engineering work.** The calling agent edits code, runs tests, reviews diffs, and owns Git; Atlas performs none of those actions.
|
|
85
|
-
6. **Reconcile and learn.** Reindex after relevant source changes, inspect semantic `changes`, and submit only durable, verified business knowledge through `learn --stdin`. Verify learned nodes with `map show`.
|
|
162
|
+
Project commands write one versioned JSON envelope to standard output and keep
|
|
163
|
+
diagnostics on standard error. `setup`, `upgrade`, `-h`/`--help`, and `--version`
|
|
164
|
+
are repository-independent text commands.
|
|
86
165
|
|
|
87
|
-
|
|
166
|
+
## Product insights
|
|
88
167
|
|
|
89
|
-
|
|
168
|
+
Normal work does not gain a new reporting step. When source confirmation shows
|
|
169
|
+
that Atlas materially blocked or slowed a task, the primary Skill can record one
|
|
170
|
+
compact, evidence-contextual report. Daily maintenance is handled by the
|
|
171
|
+
separate Insights Skill:
|
|
90
172
|
|
|
91
|
-
|
|
173
|
+
```sh
|
|
174
|
+
semantic-atlas insights summary --period yesterday
|
|
175
|
+
semantic-atlas insights feedback --period yesterday --status new
|
|
176
|
+
semantic-atlas insights feedback update --stdin
|
|
177
|
+
```
|
|
92
178
|
|
|
93
|
-
|
|
179
|
+
The local store records objective command metadata such as command name,
|
|
180
|
+
outcome, warning codes, duration, repository identity, and snapshot identity.
|
|
181
|
+
It never records prompts, command arguments, query text, source text, or command
|
|
182
|
+
output. Use the signals with fresh-agent evaluation and source-confirmed reports;
|
|
183
|
+
they show product usage and friction, not a standalone recall score.
|
|
94
184
|
|
|
95
|
-
|
|
185
|
+
## Trust model
|
|
96
186
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
| Final-answer correctness | 100% | 100% | No regression |
|
|
100
|
-
| Required-file recall | 100% | 100% | No regression |
|
|
101
|
-
| Required-symbol recall | 100% | 100% | No regression |
|
|
102
|
-
| Median unique source files opened | 6.5 | 4 | 38.46% fewer |
|
|
103
|
-
| Median observed source-input tokens | 1,351 | 688 | 49.07% fewer |
|
|
187
|
+
Semantic Atlas is useful because it preserves the line between evidence and
|
|
188
|
+
understanding:
|
|
104
189
|
|
|
105
|
-
|
|
190
|
+
- **Source remains authoritative.** Answer-controlling and change-controlling
|
|
191
|
+
behavior is confirmed in the checked-out code.
|
|
192
|
+
- **Business facts carry evidence.** Learned nodes and relations bind to source
|
|
193
|
+
symbols, ranges, content hashes, certainty, and a repository snapshot.
|
|
194
|
+
- **Change invalidates confidence visibly.** Evidence that can no longer be
|
|
195
|
+
rebound becomes `stale`; it is not silently retained as current truth.
|
|
196
|
+
- **Uncertainty stays explicit.** Dynamic dispatch, reflection, unsupported
|
|
197
|
+
structure, hypotheses, and unresolved targets route the agent back to source.
|
|
198
|
+
- **The target project stays untouched.** Atlas does not edit source, run tests,
|
|
199
|
+
or operate Git. Generated worktree state is ignored and disposable.
|
|
106
200
|
|
|
107
|
-
|
|
201
|
+
## Local storage
|
|
108
202
|
|
|
109
|
-
|
|
203
|
+
```text
|
|
204
|
+
~/.semantic-atlas/repositories/<repository-id>/
|
|
205
|
+
└── atlas.db durable repository business knowledge
|
|
110
206
|
|
|
111
|
-
|
|
207
|
+
~/.semantic-atlas/
|
|
208
|
+
└── insights.db installation-level usage and feedback signals
|
|
112
209
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
210
|
+
<worktree>/.atlas/
|
|
211
|
+
├── .gitignore
|
|
212
|
+
└── codegraph.db disposable structural projection
|
|
213
|
+
```
|
|
116
214
|
|
|
117
|
-
|
|
215
|
+
Business knowledge is shared across worktrees of the same repository. Structural
|
|
216
|
+
state is separate because each worktree can contain a different commit or dirty
|
|
217
|
+
source. A new worktree can bootstrap from a compatible sibling projection and
|
|
218
|
+
then synchronize incrementally. Removing a worktree removes only its disposable
|
|
219
|
+
projection.
|
|
118
220
|
|
|
119
|
-
|
|
221
|
+
Set an absolute `SEMANTIC_ATLAS_HOME` when tests or CI need isolated durable
|
|
222
|
+
state.
|
|
120
223
|
|
|
121
|
-
|
|
122
|
-
| --- | --- |
|
|
123
|
-
| Source authority | Every answer-controlling claim is confirmed in source; Atlas context never overrides the checked-out code. |
|
|
124
|
-
| Evidence validity | Business assertions carry source locators, hashes, certainty, and snapshot-derived validity. Failed rebinding produces `stale`, not silent deletion or promotion. |
|
|
125
|
-
| Explicit uncertainty | `UnknownBoundary`, `partial`, `unsupported`, `hypothesis`, and insufficient results narrow source fallback; they are never presented as exact facts. |
|
|
126
|
-
| One product | The CLI and Skill expose one Semantic Atlas workflow. CodeGraph stays behind the adapter and its CLI, MCP, schema, and backend types are not public Atlas interfaces. |
|
|
127
|
-
| Durable repository knowledge | `~/.semantic-atlas/repositories/<repository-id>/atlas.db` stores repository-wide business knowledge, snapshots, snapshot bindings, validity, and worktree publication state. Set absolute `SEMANTIC_ATLAS_HOME` only when tests or CI need isolation. |
|
|
128
|
-
| Disposable worktree projection | Each worktree owns `.atlas/codegraph.db`, containing CodeGraph structure only. A missing projection is bootstrapped from a compatible sibling and incrementally synchronized. |
|
|
129
|
-
| Zero intrusion | Atlas prepares `.atlas/.gitignore`, writes no tracked source or project configuration, and does not edit, test, review, commit, merge, or release code. Removing a worktree removes only its disposable projection. |
|
|
224
|
+
## Evidence from the frozen evaluation
|
|
130
225
|
|
|
131
|
-
|
|
226
|
+
The retained [`fresh-agent-v1` report](evaluation/results/fresh-agent-v1/report.json)
|
|
227
|
+
contains 12 paired location and dependency-impact cases across NestJS, GraphQL,
|
|
228
|
+
TypeORM, and BullMQ, for 24 fresh-agent runs.
|
|
229
|
+
|
|
230
|
+
| Metric | Without Atlas | With Atlas | Fixture result |
|
|
231
|
+
| --- | ---: | ---: | --- |
|
|
232
|
+
| Final-answer correctness | 100% | 100% | No regression |
|
|
233
|
+
| Required-file recall | 100% | 100% | No regression |
|
|
234
|
+
| Required-symbol recall | 100% | 100% | No regression |
|
|
235
|
+
| Median unique source files opened | 6.5 | 4 | 38.46% fewer |
|
|
236
|
+
| Median observed source-input tokens | 1,351 | 688 | 49.07% fewer |
|
|
237
|
+
|
|
238
|
+
These are fixture-scoped results, not a claim of universal business accuracy or
|
|
239
|
+
total model-token savings. Read the [evaluation protocol](docs/evaluation.md)
|
|
240
|
+
before interpreting them.
|
|
241
|
+
|
|
242
|
+
## Command reference
|
|
132
243
|
|
|
133
244
|
```text
|
|
245
|
+
semantic-atlas setup
|
|
246
|
+
semantic-atlas upgrade
|
|
247
|
+
semantic-atlas -h | --help
|
|
248
|
+
semantic-atlas --version
|
|
249
|
+
|
|
134
250
|
semantic-atlas status [--repo <path>] [--pretty]
|
|
135
251
|
semantic-atlas index [--repo <path>] [--pretty]
|
|
136
|
-
semantic-atlas map
|
|
137
|
-
semantic-atlas map search <
|
|
138
|
-
semantic-atlas map
|
|
139
|
-
semantic-atlas
|
|
252
|
+
semantic-atlas map view [business-key] [--repo <path>] [--pretty]
|
|
253
|
+
semantic-atlas map search <business-term> [--limit <n>] [--repo <path>] [--pretty]
|
|
254
|
+
semantic-atlas map show <business-key> [--repo <path>] [--pretty]
|
|
255
|
+
semantic-atlas code search <structural-term> [--limit <n>] [--repo <path>] [--pretty]
|
|
140
256
|
semantic-atlas learn --stdin [--repo <path>] [--pretty]
|
|
141
257
|
semantic-atlas changes [--from <snapshot-id>] [--to <snapshot-id>] [--repo <path>] [--pretty]
|
|
258
|
+
semantic-atlas feedback report --stdin [--repo <path>] [--pretty]
|
|
259
|
+
|
|
260
|
+
semantic-atlas insights summary [--period today|yesterday|7d|30d|all] [--pretty]
|
|
261
|
+
semantic-atlas insights feedback [--period today|yesterday|7d|30d|all] [--status new|triaged|resolved|dismissed] [--pretty]
|
|
262
|
+
semantic-atlas insights feedback update --stdin [--pretty]
|
|
142
263
|
```
|
|
143
264
|
|
|
144
|
-
Field-level behavior
|
|
265
|
+
Field-level behavior is defined by the versioned [CLI v1](docs/contracts/cli-v1.md)
|
|
266
|
+
and [GraphPatch v1](docs/contracts/graph-patch-v1.md) contracts. Product
|
|
267
|
+
observability and feedback behavior are defined by
|
|
268
|
+
[Insights v1](docs/contracts/insights-v1.md).
|
|
269
|
+
|
|
270
|
+
## Develop
|
|
145
271
|
|
|
146
272
|
```sh
|
|
147
273
|
corepack enable
|
|
@@ -152,15 +278,18 @@ pnpm build
|
|
|
152
278
|
pnpm package:verify
|
|
153
279
|
```
|
|
154
280
|
|
|
155
|
-
`package:verify` installs the packed artifact
|
|
281
|
+
`package:verify` installs the packed artifact outside the source checkout and
|
|
282
|
+
runs the real CLI. `validation:backend` adds structural projection, recovery,
|
|
283
|
+
evidence rebinding, sibling bootstrap, and worktree-isolation gates.
|
|
156
284
|
|
|
157
|
-
##
|
|
285
|
+
## Read next
|
|
158
286
|
|
|
159
287
|
- [Product contract](docs/product-contract.md)
|
|
288
|
+
- [Continuous business learning and semantic zoom](docs/architecture/continuous-business-learning.md)
|
|
160
289
|
- [Graph model](docs/contracts/graph-model.md)
|
|
161
|
-
- [
|
|
162
|
-
- [
|
|
163
|
-
- [
|
|
290
|
+
- [CLI v1 contract](docs/contracts/cli-v1.md)
|
|
291
|
+
- [Insights v1 contract](docs/contracts/insights-v1.md)
|
|
292
|
+
- [Evaluation protocol](docs/evaluation.md)
|
|
164
293
|
|
|
165
294
|
## License
|
|
166
295
|
|