guardian-framework 0.1.39 → 0.1.40
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/dist/cli.js +1 -1
- package/dist/exports.js +1 -1
- package/package.json +1 -1
- package/templates/pi/extensions/architect-lib/helpers.ts +29 -36
- package/templates/pi/extensions/architect.ts +46 -1636
- package/templates/pi/preflight_report.json +2 -2
- package/templates/pi/skills/agents/code-developer.md +18 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-07-
|
|
2
|
+
"timestamp": "2026-07-04T06:00:56Z",
|
|
3
3
|
"mode": "all",
|
|
4
4
|
"stages_run": [],
|
|
5
5
|
"summary": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"failed": 1,
|
|
9
9
|
"skipped": 12
|
|
10
10
|
},
|
|
11
|
-
"duration_seconds":
|
|
11
|
+
"duration_seconds": 1,
|
|
12
12
|
"results": [
|
|
13
13
|
{
|
|
14
14
|
"name": "check_mr_traceability.sh",
|
|
@@ -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.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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)
|