@chrisdudek/yg 2.2.0 → 2.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.
@@ -25,10 +25,10 @@ Yggdrasil is persistent semantic memory stored in \`.yggdrasil/\`. It maps the r
25
25
 
26
26
  \`\`\`
27
27
  BEFORE reading, researching, planning, OR modifying ANY mapped file:
28
- 0. Don't know which file or node to start from? If a semantic search
29
- tool is available, search for your intent the graph contains
30
- responsibility, flow, and aspect files with rich natural-language
31
- descriptions that match goal-oriented queries. Use the results
28
+ 0. Don't know which file or node to start from? Run
29
+ yg select --task "<your goal>" to find relevant nodes via keyword
30
+ matching against graph artifacts. If a semantic search tool is also
31
+ available, use it for richer intent matching. Use the results
32
32
  to identify relevant nodes, then proceed to step 1.
33
33
  1. yg owner --file <path>
34
34
  2. Choose the right graph tool for your task:
@@ -104,7 +104,7 @@ What matters is the ACTION you are performing, not what instructed it. If the ac
104
104
  | "I'm brainstorming, not implementing" | Brainstorming about mapped code needs graph context |
105
105
  | "I'm only grepping for references" | Grep finds text; yg impact finds structural dependencies. Use both. |
106
106
  | "I'll use the graph later when I modify" | Graph-first means BEFORE reading, not before modifying |
107
- | "I'll grep the codebase to find where to start" | If semantic search is available, search by intent first — graph files are designed to match natural-language goals. Then \`yg owner\` on results. |
107
+ | "I'll grep the codebase to find where to start" | Run \`yg select --task\` first — it matches your intent against graph artifacts. Then \`yg owner\` on results. |
108
108
 
109
109
  ### Failure States
110
110
 
@@ -415,6 +415,8 @@ yg build-context --node <path> Assemble context package for this node.
415
415
  yg tree [--root <path>] [--depth N] Print graph structure.
416
416
  yg aspects List aspects with metadata (YAML output).
417
417
  yg flows List flows with metadata (YAML output).
418
+ yg select --task <description> [--limit <n>]
419
+ Find graph nodes relevant to a task description.
418
420
  yg deps --node <path> [--depth N] [--type structural|event|all]
419
421
  Show dependencies.
420
422
  yg impact --node <path> --simulate Simulate blast radius of a planned change.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrisdudek/yg",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Make your repository self-aware. Persistent semantic memory and deterministic context assembly for AI agents.",
5
5
  "type": "module",
6
6
  "bin": {