aienvmp 0.1.20 → 0.1.22
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 +12 -0
- package/README.md +29 -7
- package/examples/github-action.yml +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.22
|
|
4
|
+
|
|
5
|
+
- Reworked the README around Quick Start, AI Usage, CI Usage, and outputs.
|
|
6
|
+
- Made the project positioning clearer: AI-first environment maps for shared coding machines.
|
|
7
|
+
- Emphasized read-only planning and avoiding runtime/tool drift across agents.
|
|
8
|
+
|
|
9
|
+
## 0.1.21
|
|
10
|
+
|
|
11
|
+
- Added a GitHub Actions artifact upload example for `AIENV.md`, plan outputs, manifest, and dashboard.
|
|
12
|
+
- Added a short README CI pointer to the example workflow.
|
|
13
|
+
- Kept the core composite action lightweight and read-only by default.
|
|
14
|
+
|
|
3
15
|
## 0.1.20
|
|
4
16
|
|
|
5
17
|
- Added a dashboard Environment Steps card backed by `.aienvmp/plan.json`.
|
package/README.md
CHANGED
|
@@ -6,29 +6,39 @@
|
|
|
6
6
|
|
|
7
7
|
**AI Environment Map.**
|
|
8
8
|
|
|
9
|
-
`aienvmp` is an AI environment
|
|
9
|
+
`aienvmp` is an AI-first environment map for shared coding machines.
|
|
10
10
|
|
|
11
|
-
It helps Codex, Claude, Gemini, and
|
|
11
|
+
It helps Codex, Claude, Gemini, and humans avoid silent Node, Python, package manager, Docker, and security drift.
|
|
12
12
|
|
|
13
|
-
Core loop: scan
|
|
13
|
+
Core loop: scan once, give AI a preflight context, write a read-only action plan, and hand off safe next steps.
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Quick Start
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
npx aienvmp sync
|
|
19
19
|
npx aienvmp context
|
|
20
20
|
npx aienvmp plan
|
|
21
21
|
npx aienvmp handoff
|
|
22
|
-
npx aienvmp handoff --record --actor agent:codex
|
|
23
22
|
```
|
|
24
23
|
|
|
25
|
-
Optional read-only checks:
|
|
24
|
+
Optional deeper read-only checks:
|
|
26
25
|
|
|
27
26
|
```bash
|
|
28
27
|
npx aienvmp sync --deep
|
|
29
28
|
npx aienvmp sync --security
|
|
30
29
|
```
|
|
31
30
|
|
|
31
|
+
## AI Usage
|
|
32
|
+
|
|
33
|
+
Tell each agent to read `aienvmp context --json` before environment changes.
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npx aienvmp context --json
|
|
37
|
+
npx aienvmp intent --actor agent:codex --action "upgrade node" --target node
|
|
38
|
+
npx aienvmp record --actor agent:codex --summary "updated .nvmrc" --target node
|
|
39
|
+
npx aienvmp handoff --record --actor agent:codex
|
|
40
|
+
```
|
|
41
|
+
|
|
32
42
|
## Output
|
|
33
43
|
|
|
34
44
|
```text
|
|
@@ -45,7 +55,7 @@ Trust states are machine-readable: `observed`, `planned`, `changed`, `review`, `
|
|
|
45
55
|
|
|
46
56
|
AI agents can observe, plan, and record. Only a human or CI should mark environment facts as verified.
|
|
47
57
|
|
|
48
|
-
##
|
|
58
|
+
## Agent Files
|
|
49
59
|
|
|
50
60
|
`aienvmp` does not replace AGENTS.md. It gives AGENTS.md a live environment source of truth.
|
|
51
61
|
|
|
@@ -53,6 +63,17 @@ AI agents can observe, plan, and record. Only a human or CI should mark environm
|
|
|
53
63
|
npx aienvmp snippet agents
|
|
54
64
|
```
|
|
55
65
|
|
|
66
|
+
## CI Usage
|
|
67
|
+
|
|
68
|
+
Use the GitHub Action to write the env map, plan, dashboard, and optional strict checks. See [examples/github-action.yml](examples/github-action.yml).
|
|
69
|
+
|
|
70
|
+
```yaml
|
|
71
|
+
- uses: soovwv/aienvmp@main
|
|
72
|
+
with:
|
|
73
|
+
write-plan: "true"
|
|
74
|
+
strict: "off" # security, policy, coordination, all, or off
|
|
75
|
+
```
|
|
76
|
+
|
|
56
77
|
## Commands
|
|
57
78
|
|
|
58
79
|
```bash
|
|
@@ -72,6 +93,7 @@ aienvmp doctor --strict security # fail only scoped warnings
|
|
|
72
93
|
- simple by default
|
|
73
94
|
- AI-first
|
|
74
95
|
- lightweight
|
|
96
|
+
- read-only planning, no automatic fixes
|
|
75
97
|
- one advisory engine, optional enforcement with `doctor --ci`
|
|
76
98
|
- scoped enforcement with `doctor --strict security|policy|coordination|all`
|
|
77
99
|
- non-blocking unless strict mode is explicitly requested
|
|
@@ -15,3 +15,15 @@ jobs:
|
|
|
15
15
|
directory: "."
|
|
16
16
|
write-plan: "true"
|
|
17
17
|
strict: "off" # security, policy, coordination, all, or off
|
|
18
|
+
|
|
19
|
+
- uses: actions/upload-artifact@v4
|
|
20
|
+
if: always()
|
|
21
|
+
with:
|
|
22
|
+
name: aienvmp
|
|
23
|
+
path: |
|
|
24
|
+
AIENV.md
|
|
25
|
+
.aienvmp/manifest.json
|
|
26
|
+
.aienvmp/plan.json
|
|
27
|
+
.aienvmp/plan.md
|
|
28
|
+
.aienvmp/dashboard.html
|
|
29
|
+
if-no-files-found: ignore
|