@unified-product-graph/core 0.9.20 → 0.9.21

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/CHANGELOG.md CHANGED
@@ -7,6 +7,17 @@ This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ---
9
9
 
10
+ ## [0.9.21] - 2026-06-11
11
+
12
+ **The `get_tree` fallback message no longer contradicts the tree it renders.**
13
+
14
+ ### Fixed
15
+ - A pattern's anchor fallback fires for two reasons, and the message conflated them. Under the most-nodes anchor rule, `get_tree` falls back when the anchor type is ABSENT, but also when it is PRESENT and merely nests under a richer root (e.g. services that all sit under a `bounded_context`). The note always said "No `<anchor>` found", which on a graph with nested services contradicts the services rendered right below it. `assembleTree` now returns **`anchor_present`** (does the anchor type have at least one node), and the CLI `tree --pattern` note and the show-tree skill use it: absent keeps "No `<anchor>` found; rooted on `<fallback>`", present-but-nested says "`<anchor>` present, but `<fallback>` surfaces more of the tree; rooted there." Behaviour was already correct; only the wording is fixed. Generalises to every pattern whose anchor sits below a structural root.
16
+
17
+ No entity, domain, region, edge, or tool-count change (entities 315, edges 980, local tools 123).
18
+
19
+ ---
20
+
10
21
  ## [0.9.20] - 2026-06-11
11
22
 
12
23
  **The tree-pattern catalogue is now introspectable and drift-guarded.** A pattern can no longer cite an edge the grammar lacks, and clients can read the catalogue instead of reverse-engineering it.
package/dist/index.cjs CHANGED
@@ -28431,7 +28431,7 @@ function isCanonical(text) {
28431
28431
  }
28432
28432
 
28433
28433
  // src/index.ts
28434
- var UPG_VERSION = "0.9.20";
28434
+ var UPG_VERSION = "0.9.21";
28435
28435
  var UPG_FORMAT_VERSION = "0.4.0";
28436
28436
  var MARKDOWN_FORMAT_VERSION = "0.1";
28437
28437
  var UPG_TYPES = getTypes();