aienvmp 0.1.33 → 0.1.34
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/CHANGELOG.md +6 -0
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/commands/status.js +36 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.34
|
|
4
|
+
|
|
5
|
+
- Added AI navigation metadata to `.aienvmp/status.json`.
|
|
6
|
+
- Included artifact paths, read order, safe commands, and agent-use rules in the compact status output.
|
|
7
|
+
- Kept the status enhancement read-only and lightweight so `sync` remains the simple default flow.
|
|
8
|
+
|
|
3
9
|
## 0.1.33
|
|
4
10
|
|
|
5
11
|
- Made `.aienvmp/status.json` a first-class artifact written by `aienvmp sync`.
|
package/README.md
CHANGED
|
@@ -54,6 +54,7 @@ AIENV.md
|
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
Trust states are machine-readable: `observed`, `planned`, `changed`, `review`, `verified`, `stale`.
|
|
57
|
+
`status.json` also lists AI read order, artifact paths, and safe commands.
|
|
57
58
|
|
|
58
59
|
AI agents can observe, plan, and record. Only a human or CI should mark environment facts as verified.
|
|
59
60
|
|
package/package.json
CHANGED
package/src/commands/status.js
CHANGED
|
@@ -59,7 +59,43 @@ export function buildStatus(manifest = {}, warnings = [], intents = []) {
|
|
|
59
59
|
dependencies: Number(manifest.dependencySnapshot?.summary?.packages || 0),
|
|
60
60
|
vulnerabilities: Number(manifest.security?.summary?.total || 0)
|
|
61
61
|
},
|
|
62
|
+
agentUse: {
|
|
63
|
+
purpose: "First AI-readable environment preflight for this workspace.",
|
|
64
|
+
rule: "Read status first, use context for details, record intent before environment changes.",
|
|
65
|
+
projectLocalWork: decision.canContinueProjectLocalWork ? "allowed" : "review-first",
|
|
66
|
+
environmentChanges: decision.canChangeEnvironmentWithoutReview ? "allowed" : "intent-and-review-first"
|
|
67
|
+
},
|
|
68
|
+
artifacts: statusArtifacts(),
|
|
69
|
+
readOrder: [
|
|
70
|
+
".aienvmp/status.json",
|
|
71
|
+
"AIENV.md",
|
|
72
|
+
".aienvmp/manifest.json",
|
|
73
|
+
".aienvmp/plan.json",
|
|
74
|
+
".aienvmp/timeline.jsonl",
|
|
75
|
+
".aienvmp/intents.jsonl"
|
|
76
|
+
],
|
|
77
|
+
commands: {
|
|
78
|
+
refresh: "aienvmp sync",
|
|
79
|
+
status: "aienvmp status --write",
|
|
80
|
+
context: "aienvmp context --json",
|
|
81
|
+
plan: "aienvmp plan --write",
|
|
82
|
+
handoff: "aienvmp handoff --record --actor agent:id",
|
|
83
|
+
recordIntent: "aienvmp intent --actor agent:id --action planned-change"
|
|
84
|
+
},
|
|
62
85
|
topAction,
|
|
63
86
|
nextCommand: topAction?.command || decision.nextCommand
|
|
64
87
|
};
|
|
65
88
|
}
|
|
89
|
+
|
|
90
|
+
function statusArtifacts() {
|
|
91
|
+
return {
|
|
92
|
+
status: ".aienvmp/status.json",
|
|
93
|
+
envMap: "AIENV.md",
|
|
94
|
+
manifest: ".aienvmp/manifest.json",
|
|
95
|
+
dashboard: ".aienvmp/dashboard.html",
|
|
96
|
+
planJson: ".aienvmp/plan.json",
|
|
97
|
+
planMarkdown: ".aienvmp/plan.md",
|
|
98
|
+
intents: ".aienvmp/intents.jsonl",
|
|
99
|
+
timeline: ".aienvmp/timeline.jsonl"
|
|
100
|
+
};
|
|
101
|
+
}
|