@chrisdudek/yg 2.4.0 → 2.5.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.
@@ -32,4 +32,5 @@ quality:
32
32
  context_budget:
33
33
  warning: 10000
34
34
  error: 20000
35
+ own_warning: 5000
35
36
  `;
@@ -117,6 +117,7 @@ You have broken Yggdrasil if you do any of the following:
117
117
  - ❌ Placed a cross-cutting requirement in a local artifact instead of an aspect, or used an aspect id with no \`aspects/\` directory.
118
118
  - ❌ Invented a rationale, business rule, or decision — or recorded a decision without documenting rejected alternatives and rationale (use "rationale: unknown" if unknown).
119
119
  - ❌ Used blackbox coverage for greenfield (new) code.
120
+ - ❌ Deleted or shortened graph artifact content to reduce context package size instead of splitting the node.
120
121
 
121
122
  ### Escape Hatch
122
123
 
@@ -306,7 +307,8 @@ When reviewing graph quality (triggered by user or quality improvement):
306
307
 
307
308
  - **\`yg\` not found** → inform user: "yg CLI is not installed or not in PATH." Stop.
308
309
  - **Unfixable validate errors** → if not resolved after 3 attempts, stop and report to user. Do not loop.
309
- - **Budget exceeded** → if \`yg build-context\` exits with error (context package exceeds budget), warn user: "This node should be split." Do not proceed with implementation.
310
+ - **Budget warning (W005/W006)** → informational. \`yg validate\` shows a breakdown (own/hierarchy/aspects/flows/dependencies). Large inherited context means the system is complex — this is not a problem to fix, it is reality to acknowledge. Do not delete knowledge from artifacts. Do not attempt to "reduce" inherited context.
311
+ - **Own budget warning (W015)** → own artifacts are large. Consider splitting this node's responsibilities into child nodes. Redistribute knowledge across children so total knowledge is preserved or increased, never reduced.
310
312
  - **Corrupted \`.yggdrasil/\` files** → report to user. Do not attempt repair.
311
313
  - **Incremental sync** → run \`yg drift-sync\` every 3-5 source files during multi-file tasks. Do not defer to end.`;
312
314
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrisdudek/yg",
3
- "version": "2.4.0",
3
+ "version": "2.5.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": {