guardian-framework 0.1.39 → 0.1.41

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-07-03T22:22:29Z",
2
+ "timestamp": "2026-07-04T06:05:46Z",
3
3
  "mode": "all",
4
4
  "stages_run": [],
5
5
  "summary": {
@@ -101,7 +101,7 @@ case "$PLATFORM" in
101
101
  if [[ -n "$BODY_FILE" && -f "$BODY_FILE" ]]; then
102
102
  STRIPPED_BODY=$(awk '/^---$/{n++; next} n>=2{print}' "$BODY_FILE")
103
103
  if [[ -n "$STRIPPED_BODY" ]]; then
104
- TMP_BODY=$(mktemp /tmp/guardian-issue-XXXXXX.md)
104
+ TMP_BODY=$(mktemp /tmp/guardian-issue-body-XXXXXX 2>/dev/null) || TMP_BODY="/tmp/guardian-issue-body-$$.md"
105
105
  echo "$STRIPPED_BODY" > "$TMP_BODY"
106
106
  ARGS+=(--body-file "$TMP_BODY")
107
107
  trap "rm -f '$TMP_BODY'" EXIT
@@ -142,7 +142,7 @@ case "$PLATFORM" in
142
142
  if [[ -n "$BODY_FILE" && -f "$BODY_FILE" ]]; then
143
143
  STRIPPED_BODY=$(awk '/^---$/{n++; next} n>=2{print}' "$BODY_FILE")
144
144
  if [[ -n "$STRIPPED_BODY" ]]; then
145
- TMP_BODY=$(mktemp /tmp/guardian-issue-XXXXXX.md)
145
+ TMP_BODY=$(mktemp /tmp/guardian-issue-body-XXXXXX 2>/dev/null) || TMP_BODY="/tmp/guardian-issue-body-$$.md"
146
146
  echo "$STRIPPED_BODY" > "$TMP_BODY"
147
147
  ARGS+=(--description-file "$TMP_BODY")
148
148
  trap "rm -f '$TMP_BODY'" EXIT
@@ -36,10 +36,20 @@ You implement code from approved plans. You follow ALL architectural patterns.
36
36
  ## Workflow
37
37
 
38
38
  ### Pre-Implementation
39
- 1. Read the approved Design Proposal + Implementation Plan
40
- 2. Read the Validation Contract (pre-validated items)
41
- 3. Grep for existing types with same name
42
- 4. Verify dependencies satisfied
39
+ 1. **Run GitNexus impact analysis on EVERY symbol you plan to modify.**
40
+ Before editing any function, class, or method:
41
+ - Call `gitnexus_impact({target: "symbolName", direction: "upstream"})`
42
+ - Review the blast radius (callers, affected processes, risk level)
43
+ - If risk is HIGH or CRITICAL, warn the user before proceeding
44
+ 2. Read the approved Design Proposal + Implementation Plan
45
+ 3. Read the Validation Contract (pre-validated items)
46
+ 4. Grep for existing types with same name
47
+ 5. Verify dependencies satisfied
48
+
49
+ ### Post-Implementation (Before Create-MR)
50
+ 1. Run `gitnexus_detect_changes()` to verify changes only affect expected symbols
51
+ 2. For regression review: `gitnexus_detect_changes({scope: "compare", base_ref: "main"})`
52
+ 3. Confirm no unexpected blast radius from your changes
43
53
 
44
54
  ### Implementation
45
55
  1. Create feature branch: `[branch-prefix]/[issue-N]-[description]`
@@ -49,10 +59,10 @@ You implement code from approved plans. You follow ALL architectural patterns.
49
59
 
50
60
  ### Verification
51
61
  ```bash
52
- [build command]
53
- [test command]
54
- [lint command]
55
- [format command]
62
+ bun build ./src/index.ts --outdir ./dist
63
+ bun test
64
+ biome check .
65
+ biome format . --write
56
66
  ```
57
67
 
58
68
  ### Wiring Verification (Before Marking Complete)