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.
Files changed (44) hide show
  1. package/.agents/skills/semantic-atlas-maintenance/SKILL.md +111 -86
  2. package/.agents/skills/semantic-atlas-maintenance/references/reconciliation.md +55 -0
  3. package/README.md +23 -9
  4. package/README.zh-CN.md +18 -9
  5. package/dist/cli/observation-commands.d.ts +2 -1
  6. package/dist/cli/observation-commands.d.ts.map +1 -1
  7. package/dist/cli/observation-commands.js +19 -1
  8. package/dist/cli/observation-commands.js.map +1 -1
  9. package/dist/cli/reconciliation-command.d.ts +2 -1
  10. package/dist/cli/reconciliation-command.d.ts.map +1 -1
  11. package/dist/cli/reconciliation-command.js +32 -8
  12. package/dist/cli/reconciliation-command.js.map +1 -1
  13. package/dist/cli/run-cli.d.ts.map +1 -1
  14. package/dist/cli/run-cli.js +20 -4
  15. package/dist/cli/run-cli.js.map +1 -1
  16. package/dist/contracts/cli.d.ts +10 -0
  17. package/dist/contracts/cli.d.ts.map +1 -1
  18. package/dist/contracts/observation.d.ts +110 -1
  19. package/dist/contracts/observation.d.ts.map +1 -1
  20. package/dist/contracts/observation.js +70 -0
  21. package/dist/contracts/observation.js.map +1 -1
  22. package/dist/contracts/reconciliation.d.ts +11 -1
  23. package/dist/contracts/reconciliation.d.ts.map +1 -1
  24. package/dist/index.d.ts +4 -4
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/index.js.map +1 -1
  28. package/dist/observations/observation-application.d.ts +6 -0
  29. package/dist/observations/observation-application.d.ts.map +1 -1
  30. package/dist/observations/observation-application.js +34 -1
  31. package/dist/observations/observation-application.js.map +1 -1
  32. package/dist/observations/observation-store.d.ts +8 -1
  33. package/dist/observations/observation-store.d.ts.map +1 -1
  34. package/dist/observations/observation-store.js +22 -4
  35. package/dist/observations/observation-store.js.map +1 -1
  36. package/dist/reconciliation/reconciliation-service.d.ts +1 -0
  37. package/dist/reconciliation/reconciliation-service.d.ts.map +1 -1
  38. package/dist/reconciliation/reconciliation-service.js +56 -3
  39. package/dist/reconciliation/reconciliation-service.js.map +1 -1
  40. package/docs/architecture.md +49 -22
  41. package/docs/index.md +3 -3
  42. package/docs/observations.md +51 -19
  43. package/docs/product-contract.md +22 -8
  44. package/package.json +1 -1
@@ -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.1` release removes one-time predecessor migration
218
- paths and accepts only current managed Skill, observation, and claim contracts.
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 two immutable, versioned local artifacts:
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 candidates` is read-only and preserves every candidate origin,
295
- evidence disposition, duplicate provenance, and linked independent review. A
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 leaves unresolved or implementation-local meaning outside the
299
- canonical map. A mapless repository can create one initial domain-owned YAML
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semantic-atlas",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "A Git-native advisory business map for coding agents.",
5
5
  "keywords": [
6
6
  "ai-agents",