semantic-atlas 2.1.1 → 2.1.3
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-maintenance/SKILL.md +111 -86
- package/.agents/skills/semantic-atlas-maintenance/references/reconciliation.md +55 -0
- package/README.md +23 -9
- package/README.zh-CN.md +18 -9
- package/dist/cli/observation-commands.d.ts +2 -1
- package/dist/cli/observation-commands.d.ts.map +1 -1
- package/dist/cli/observation-commands.js +19 -1
- package/dist/cli/observation-commands.js.map +1 -1
- package/dist/cli/reconciliation-command.d.ts +2 -1
- package/dist/cli/reconciliation-command.d.ts.map +1 -1
- package/dist/cli/reconciliation-command.js +32 -8
- package/dist/cli/reconciliation-command.js.map +1 -1
- package/dist/cli/run-cli.d.ts.map +1 -1
- package/dist/cli/run-cli.js +20 -4
- package/dist/cli/run-cli.js.map +1 -1
- package/dist/contracts/cli.d.ts +10 -0
- package/dist/contracts/cli.d.ts.map +1 -1
- package/dist/contracts/observation.d.ts +110 -1
- package/dist/contracts/observation.d.ts.map +1 -1
- package/dist/contracts/observation.js +70 -0
- package/dist/contracts/observation.js.map +1 -1
- package/dist/contracts/reconciliation.d.ts +11 -1
- package/dist/contracts/reconciliation.d.ts.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/observations/observation-application.d.ts +6 -0
- package/dist/observations/observation-application.d.ts.map +1 -1
- package/dist/observations/observation-application.js +34 -1
- package/dist/observations/observation-application.js.map +1 -1
- package/dist/observations/observation-store.d.ts +8 -1
- package/dist/observations/observation-store.d.ts.map +1 -1
- package/dist/observations/observation-store.js +22 -4
- package/dist/observations/observation-store.js.map +1 -1
- package/dist/reconciliation/reconciliation-service.d.ts +1 -0
- package/dist/reconciliation/reconciliation-service.d.ts.map +1 -1
- package/dist/reconciliation/reconciliation-service.js +56 -3
- package/dist/reconciliation/reconciliation-service.js.map +1 -1
- package/docs/architecture.md +49 -22
- package/docs/index.md +3 -3
- package/docs/observations.md +51 -19
- package/docs/product-contract.md +22 -8
- package/package.json +1 -1
package/docs/product-contract.md
CHANGED
|
@@ -214,8 +214,9 @@ human-intervention evidence as acceptance conditions.
|
|
|
214
214
|
The initial product, managed setup, versioned observations, read-only
|
|
215
215
|
reconciliation, public repository, and npm publication are complete. The first
|
|
216
216
|
real target-domain map and reviewed observation pair are in local use. The
|
|
217
|
-
current `semantic-atlas@2.1.
|
|
218
|
-
|
|
217
|
+
current `semantic-atlas@2.1.3` release adds reviewed maintenance outcomes and
|
|
218
|
+
the narrow orchestration-status contract while accepting only current managed
|
|
219
|
+
Skill, observation, and claim contracts.
|
|
219
220
|
Target-repository sharing and longitudinal acceptance remain separate verified
|
|
220
221
|
stages.
|
|
221
222
|
|
|
@@ -255,7 +256,7 @@ Skills must have one verifiable version identity.
|
|
|
255
256
|
### Accuracy observations
|
|
256
257
|
|
|
257
258
|
Real-use evidence is separate from the Git business map and from business-map
|
|
258
|
-
authority. The product records
|
|
259
|
+
authority. The product records three immutable, versioned local artifacts:
|
|
259
260
|
|
|
260
261
|
- `TaskObservation`: map query outcomes including `map_not_found`, selected
|
|
261
262
|
concepts, current-evidence classification, explicitly domain-owned map-update
|
|
@@ -263,7 +264,11 @@ authority. The product records two immutable, versioned local artifacts:
|
|
|
263
264
|
known to the task Agent. Reads and writes use task artifact v2;
|
|
264
265
|
- `ReviewObservation`: the independent review verdict, correctness of the
|
|
265
266
|
business boundary and upstream cause, impact completeness, required rework,
|
|
266
|
-
and whether the map caused a wrong conclusion
|
|
267
|
+
and whether the map caused a wrong conclusion;
|
|
268
|
+
- `MaintenanceObservation`: a reviewed post-integration result for exact
|
|
269
|
+
`taskObservationId + candidateIndex` sources, their `accepted`, `refined`,
|
|
270
|
+
`discarded`, or `unresolved` classification, current evidence, and the owning
|
|
271
|
+
YAML plus real merged commit when the map changed.
|
|
267
272
|
|
|
268
273
|
The task Agent never grades its own engineering accuracy. Review or explicit
|
|
269
274
|
human correction owns correctness. Each observation uses an independent ID and
|
|
@@ -276,7 +281,9 @@ The deterministic CLI exposes the observation boundary:
|
|
|
276
281
|
```text
|
|
277
282
|
semantic-atlas observe task --stdin
|
|
278
283
|
semantic-atlas observe review --stdin
|
|
284
|
+
semantic-atlas observe maintenance --stdin
|
|
279
285
|
semantic-atlas insights summary [--repo <path>] [--period <duration>]
|
|
286
|
+
semantic-atlas reconcile status --repo <path>
|
|
280
287
|
semantic-atlas reconcile candidates --repo <path>
|
|
281
288
|
```
|
|
282
289
|
|
|
@@ -291,12 +298,19 @@ map-maintenance effort remain explanatory measures.
|
|
|
291
298
|
|
|
292
299
|
Normal engineering work records one task observation and creates durable
|
|
293
300
|
map-update candidates only when the maintenance disposition is `candidate`.
|
|
294
|
-
`reconcile
|
|
295
|
-
|
|
301
|
+
`reconcile status` reads only task and maintenance observations and returns a
|
|
302
|
+
single `required` boolean. It lets an orchestrator decide whether to create one
|
|
303
|
+
maintenance task without receiving candidate, Review, or business-domain data.
|
|
304
|
+
`reconcile candidates` is read-only and returns current actionable origins while
|
|
305
|
+
preserving their evidence disposition, duplicate provenance, linked independent
|
|
306
|
+
review, and earlier unresolved investigation. Accepted, refined, and discarded
|
|
307
|
+
origins are terminal. Unresolved origins wait for a new origin in the same
|
|
308
|
+
candidate group before becoming actionable again. A
|
|
296
309
|
post-integration maintenance task selects one business domain, checks current
|
|
297
310
|
source and durable product meaning, updates one owning YAML map through normal
|
|
298
|
-
Git review, and
|
|
299
|
-
|
|
311
|
+
Git review, and records the immutable result only after review and integration.
|
|
312
|
+
It leaves unresolved or implementation-local meaning outside the canonical map.
|
|
313
|
+
A mapless repository can create one initial domain-owned YAML
|
|
300
314
|
when current evidence establishes stable identity and bounded meaning. Periodic
|
|
301
315
|
runs provide a fallback for missed observations, accumulated drift, and changes
|
|
302
316
|
outside the normal workflow.
|