@unified-product-graph/mcp-server 0.7.1 → 0.7.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 (56) hide show
  1. package/TOOLS.md +11 -11
  2. package/dist/index.js +930 -911
  3. package/dist/index.js.map +1 -1
  4. package/dist/preflight.js +1 -1
  5. package/dist/preflight.js.map +1 -1
  6. package/dist/tools-manifest.json +11 -11
  7. package/package.json +1 -1
  8. package/skills/upg/SKILL.md +30 -30
  9. package/skills/upg-analytics/SKILL.md +11 -11
  10. package/skills/upg-capture/SKILL.md +19 -19
  11. package/skills/upg-connect/SKILL.md +6 -6
  12. package/skills/upg-context/SKILL.md +51 -51
  13. package/skills/upg-context-intelligence/SKILL.md +43 -43
  14. package/skills/upg-design-system/SKILL.md +21 -21
  15. package/skills/upg-diff/SKILL.md +12 -12
  16. package/skills/upg-discover/SKILL.md +10 -10
  17. package/skills/upg-explore/SKILL-DETAIL.md +9 -9
  18. package/skills/upg-explore/SKILL.md +14 -14
  19. package/skills/upg-export/SKILL.md +34 -34
  20. package/skills/upg-feedback/SKILL.md +17 -17
  21. package/skills/upg-gaps/SKILL.md +31 -31
  22. package/skills/upg-hypothesis/SKILL.md +10 -10
  23. package/skills/upg-impact/SKILL.md +30 -30
  24. package/skills/upg-import/SKILL.md +14 -14
  25. package/skills/upg-init/SKILL.md +40 -40
  26. package/skills/upg-inspect/SKILL.md +9 -9
  27. package/skills/upg-journey/SKILL.md +21 -21
  28. package/skills/upg-launch/SKILL-DETAIL.md +71 -71
  29. package/skills/upg-launch/SKILL.md +16 -16
  30. package/skills/upg-migrate/SKILL.md +19 -19
  31. package/skills/upg-okr/SKILL-DETAIL.md +27 -27
  32. package/skills/upg-okr/SKILL.md +10 -10
  33. package/skills/upg-persona/SKILL.md +20 -20
  34. package/skills/upg-prioritise/SKILL.md +19 -19
  35. package/skills/upg-pull/SKILL-DETAIL.md +21 -21
  36. package/skills/upg-pull/SKILL.md +5 -5
  37. package/skills/upg-push/SKILL-DETAIL.md +23 -23
  38. package/skills/upg-push/SKILL.md +6 -6
  39. package/skills/upg-reflect/SKILL.md +20 -20
  40. package/skills/upg-research/SKILL.md +37 -37
  41. package/skills/upg-rollback/SKILL.md +19 -19
  42. package/skills/upg-run/SKILL.md +14 -14
  43. package/skills/upg-schema-changelog/SKILL.md +29 -29
  44. package/skills/upg-schema-consolidate/SKILL.md +18 -18
  45. package/skills/upg-schema-edges/SKILL.md +12 -12
  46. package/skills/upg-schema-evolve/SKILL.md +16 -16
  47. package/skills/upg-schema-health/SKILL.md +22 -22
  48. package/skills/upg-schema-update/SKILL.md +24 -24
  49. package/skills/upg-snapshot/SKILL.md +8 -8
  50. package/skills/upg-status/SKILL.md +31 -31
  51. package/skills/upg-strategy/SKILL.md +26 -26
  52. package/skills/upg-template/SKILL.md +21 -21
  53. package/skills/upg-trace/SKILL.md +22 -22
  54. package/skills/upg-tree/SKILL.md +18 -18
  55. package/skills/upg-verify/SKILL.md +42 -42
  56. package/skills/upg-workspace/SKILL.md +12 -12
package/TOOLS.md CHANGED
@@ -98,7 +98,7 @@ diffing.
98
98
 
99
99
  ### `get_session_context`
100
100
 
101
- Read session context: which skills ran, what was recommended, current focus area. Returns `recommendations_to_avoid` the deduped list of recommendations already given this session. Pick your next recommendation NOT in that array (data-layer dedup, not prose).
101
+ Read session context: which skills ran, what was recommended, current focus area. Returns `recommendations_to_avoid`; the deduped list of recommendations already given this session. Pick your next recommendation NOT in that array (data-layer dedup, not prose).
102
102
 
103
103
  **Atomicity:** `atomic (read-only)`
104
104
 
@@ -109,7 +109,7 @@ _No arguments._
109
109
  JSON: `{ lens, skills_invoked, recommendations_given,
110
110
  recommendations_to_avoid, focus_area, custom, skills_count, last_skill,
111
111
  last_recommendation }`. `recommendations_to_avoid` is the deduped list of
112
- every recommendation given this session runners should filter their
112
+ every recommendation given this session; runners should filter their
113
113
  next recommendation against this array rather than re-deriving the
114
114
  dedup rule from prose.
115
115
 
@@ -887,7 +887,7 @@ _Product areas, the `.upg-area.json` cwd scoper, and the session change log._
887
887
 
888
888
  Create a product area entity in the portfolio document (`.upg/portfolio.upg`). Product areas represent the organisational axis (who owns what). Supports nesting via `parent_area_id`. The portfolio document is created on demand.
889
889
 
890
- **Atomicity:** `atomic per write the portfolio file is read, mutated, and
890
+ **Atomicity:** `atomic per write; the portfolio file is read, mutated, and
891
891
  flushed in one pass.`
892
892
 
893
893
  **Arguments:**
@@ -1694,7 +1694,7 @@ JSON: `{ parent_type, valid_children: string[] }`
1694
1694
 
1695
1695
  ### `inspect`
1696
1696
 
1697
- [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing inspection, invoke the /upg-inspect skill instead of calling this tool directly. Inspect approach: path of arrival to "what's broken?". Returns the Inspect record + invocation params in the family-resemblance envelope. The LLM consumes `signature_hint` and emits `{ violations: [{ severity, kind, entity_id, description, fix_hint }] }` against `UPG_ANTI_PATTERNS` + the live graph. Optional `region` or `entities[]` scope the audit.
1697
+ [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing inspection, invoke the /upg-inspect skill instead of calling this tool directly. Inspect approach: path of arrival to "what's broken?". Returns the Inspect record + invocation params in the family-resemblance envelope. The LLM consumes `signature_hint` and emits `{ violations: [{ severity, kind, entity_id, description, fix_hint }] }` against `UPG_ANTI_PATTERNS` + the live graph. Optional `region` or `entities[]` scope the audit.
1698
1698
 
1699
1699
  **Atomicity:** `atomic (read-only)`
1700
1700
 
@@ -1922,7 +1922,7 @@ JSON: `{ patterns: string[], total: number }`
1922
1922
 
1923
1923
  ### `list_frameworks`
1924
1924
 
1925
- List the canonical `UPGFramework` definitions the 34 curated, famous product frameworks that anchor the public catalog (spanning strategy, discovery, prioritisation, design, growth, engineering, and reflection classics). Paginated (default 50, max 200). Cursor is opaque: pass `next_cursor` from a previous response. Optional `category` is exact-match against `UPGFramework.category` and applies before pagination.
1925
+ List the canonical `UPGFramework` definitions; the 34 curated, famous product frameworks that anchor the public catalog (spanning strategy, discovery, prioritisation, design, growth, engineering, and reflection classics). Paginated (default 50, max 200). Cursor is opaque: pass `next_cursor` from a previous response. Optional `category` is exact-match against `UPGFramework.category` and applies before pagination.
1926
1926
 
1927
1927
  **Atomicity:** `atomic (read-only)`
1928
1928
 
@@ -2156,7 +2156,7 @@ execution_mode: "execution_v0_4_0" }`.
2156
2156
 
2157
2157
  ### `prioritise`
2158
2158
 
2159
- [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing prioritisation, invoke the /upg-prioritise skill instead of calling this tool directly. Prioritise approach: path of arrival to "what's most important?". Returns the Prioritise record + invocation params + framework metadata in the family-resemblance envelope. Both `candidates` and `framework_id` are required. The LLM looks up the framework via `get_framework`, reads its scoring spec, and emits `{ ranked: [{ entity_id, score, rationale }], framework_used }`.
2159
+ [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing prioritisation, invoke the /upg-prioritise skill instead of calling this tool directly. Prioritise approach: path of arrival to "what's most important?". Returns the Prioritise record + invocation params + framework metadata in the family-resemblance envelope. Both `candidates` and `framework_id` are required. The LLM looks up the framework via `get_framework`, reads its scoring spec, and emits `{ ranked: [{ entity_id, score, rationale }], framework_used }`.
2160
2160
 
2161
2161
  **Atomicity:** `atomic (read-only)`
2162
2162
 
@@ -2184,7 +2184,7 @@ or when `framework_id` is not in `UPG_FRAMEWORKS`.
2184
2184
 
2185
2185
  ### `reflect`
2186
2186
 
2187
- [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing reflection, invoke the /upg-reflect skill instead of calling this tool directly. Reflect approach: path of arrival to "what should I be questioning?". Returns the Reflect record + invocation params in the family-resemblance envelope. The LLM consumes `mode` + `scope` + `signature_hint` and emits `{ prompts: [{ kind, question, target_entities? }] }`. `mode` is one of: `assumptions`, `alternatives`, `blind-spots`, `load-bearing`; omit for open reflection. `scope` accepts a region id, entity id, or `null` for whole-graph.
2187
+ [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing reflection, invoke the /upg-reflect skill instead of calling this tool directly. Reflect approach: path of arrival to "what should I be questioning?". Returns the Reflect record + invocation params in the family-resemblance envelope. The LLM consumes `mode` + `scope` + `signature_hint` and emits `{ prompts: [{ kind, question, target_entities? }] }`. `mode` is one of: `assumptions`, `alternatives`, `blind-spots`, `load-bearing`; omit for open reflection. `scope` accepts a region id, entity id, or `null` for whole-graph.
2188
2188
 
2189
2189
  **Atomicity:** `atomic (read-only)`
2190
2190
 
@@ -2241,7 +2241,7 @@ not synthesise a non-canonical key.
2241
2241
 
2242
2242
  ### `trace`
2243
2243
 
2244
- [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing tracing, invoke the /upg-trace skill instead of calling this tool directly. Trace approach: path of arrival to "walk a meaningful path through existing graph". Returns the Trace record + invocation params in the family-resemblance envelope. The LLM uses `anchor` + `path` to compose `query()` calls and emits `{ trail: [{ depth, entity_id, edge_type_in }], reached: entity_id[] }`. `path` is type-shorthand: `["persona","job","feature"]` walks persona→job→feature using the canonical edge per pair (via `resolve_edge_for_pair`). Optional `edges_override` selects non-canonical edges per hop; `null` per element means "use canonical".
2244
+ [LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing tracing, invoke the /upg-trace skill instead of calling this tool directly. Trace approach: path of arrival to "walk a meaningful path through existing graph". Returns the Trace record + invocation params in the family-resemblance envelope. The LLM uses `anchor` + `path` to compose `query()` calls and emits `{ trail: [{ depth, entity_id, edge_type_in }], reached: entity_id[] }`. `path` is type-shorthand: `["persona","job","feature"]` walks persona→job→feature using the canonical edge per pair (via `resolve_edge_for_pair`). Optional `edges_override` selects non-canonical edges per hop; `null` per element means "use canonical".
2245
2245
 
2246
2246
  **Atomicity:** `atomic (read-only)`
2247
2247
 
@@ -2454,7 +2454,7 @@ Walk the loaded graph and return a per-class, per-node report of schema drift pl
2454
2454
  | ---- | ---- | -------- | ----------- |
2455
2455
  | `anti_pattern_ids` | array | | Restrict anti-pattern evaluation to a subset of catalog ids (e.g. ["features-without-hypotheses"]). |
2456
2456
  | `if_changed_since` | string | | Hash from a previous response. Returns { changed: false } if graph unchanged. |
2457
- | `include_polymorphic_upgrades` | boolean | | When true, include a `polymorphic_with_typed_alternative` array listing polymorphic edges (e.g. node_owned_by_person, node_constrains_node) that have a more-specific typed alternative for their actual source/target pair. Opt-in only omitted by default to avoid cluttering routine validation output. Does not affect `valid`; these are advisory suggestions. |
2457
+ | `include_polymorphic_upgrades` | boolean | | When true, include a `polymorphic_with_typed_alternative` array listing polymorphic edges (e.g. node_owned_by_person, node_constrains_node) that have a more-specific typed alternative for their actual source/target pair. Opt-in only; omitted by default to avoid cluttering routine validation output. Does not affect `valid`; these are advisory suggestions. |
2458
2458
  | `limit` | number | | Max entries per class (default 100, max 1000) |
2459
2459
  | `scope` | `all` \| `entity_drift` \| `edge_drift` \| `property_drift` \| `top_level_drift` \| `lifecycle_drift` \| `self_referential` | | Which drift class(es) to include in the response (default "all"). Counts in `summary` are always returned for every class. |
2460
2460
  | `severity` | `high` \| `medium` \| `low` | | Filter anti-pattern violations to one severity tier. |
@@ -2507,7 +2507,7 @@ pure spec-shape check; `skip_drift: true` for catalog-only.
2507
2507
  "_hash": "sha256-abc123"
2508
2508
  }
2509
2509
 
2510
- // Run a full graph health check schema drift + anti-pattern violations
2510
+ // Run a full graph health check; schema drift + anti-pattern violations
2511
2511
  // Input:
2512
2512
  {}
2513
2513
  // Output (truncated):
@@ -2569,7 +2569,7 @@ JSON: `MigrateStatusResult`.
2569
2569
  **Warnings (non-error surfaces):**
2570
2570
 
2571
2571
  - Default is `dry_run: true`. Pass `dry_run: false` to commit.
2572
- Idempotent on retry re-running after a successful commit reports
2572
+ Idempotent on retry; re-running after a successful commit reports
2573
2573
  zero changes (canonical statuses pass the validity check).
2574
2574
 
2575
2575
  **See also:** `migrate_type`, `migrate_properties`, `validate_graph`, `list_lifecycles`