ace-pack 0.1.0 → 0.1.1
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/README.md +12 -3
- package/install-ace-pack.mjs +13 -0
- package/package.json +2 -1
- package/scripts/agent-memory-templates.mjs +7 -0
package/README.md
CHANGED
|
@@ -40,8 +40,8 @@ ACE turns those soft expectations into local project structure:
|
|
|
40
40
|
- `AGENTS.md` keeps stack, architecture, and workflow rules close to the code.
|
|
41
41
|
- `.ai/memory-config.json` marks high-risk paths and keywords for the current
|
|
42
42
|
repository.
|
|
43
|
-
- `ace:validate`
|
|
44
|
-
mechanical quality gate.
|
|
43
|
+
- `ace:validate` starts as an ACE memory check and can be replaced by each
|
|
44
|
+
repo with its real mechanical quality gate.
|
|
45
45
|
|
|
46
46
|
## ACE vs. Just Chatting With AI
|
|
47
47
|
|
|
@@ -137,6 +137,15 @@ lightweight private runner package:
|
|
|
137
137
|
No dependency install is required for ACE itself. The runner only exposes
|
|
138
138
|
commands such as `ace:onboard`, `ace:hub`, `ace:classify`, and `ace:finish`.
|
|
139
139
|
|
|
140
|
+
On Windows PowerShell, use `pnpm.cmd` if script execution policy blocks the
|
|
141
|
+
regular `pnpm` shim:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
pnpm.cmd ace:onboard -- --apply
|
|
145
|
+
pnpm.cmd ace:classify
|
|
146
|
+
pnpm.cmd ace:validate
|
|
147
|
+
```
|
|
148
|
+
|
|
140
149
|
Known SaaS monorepo? Apply the built-in preset:
|
|
141
150
|
|
|
142
151
|
```bash
|
|
@@ -199,7 +208,7 @@ pnpm ace:classify
|
|
|
199
208
|
| `ace:onboard -- --preset next-trpc-drizzle-saas --apply` | Applies the built-in Next.js + tRPC + Drizzle SaaS profile. |
|
|
200
209
|
| `ace:onboard -- --check` | Fails if the repository is still unprofiled. |
|
|
201
210
|
| `ace:classify` | Git diff risk analysis for small, standard, and large tasks. |
|
|
202
|
-
| `ace:validate` |
|
|
211
|
+
| `ace:validate` | Default mechanical quality gate alias for `ace:check`. Projects may replace it with a stricter local gate. |
|
|
203
212
|
| `ace:finish` | Adaptive closeout, memory documentation, reports, and reflection. |
|
|
204
213
|
| `ace:hub` | Interactive context generator for copying focused project context into AI tools. |
|
|
205
214
|
|
package/install-ace-pack.mjs
CHANGED
|
@@ -29,6 +29,10 @@ const REQUIRED_PACKAGE_SCRIPTS = {
|
|
|
29
29
|
'ai:update:changed': 'node ./scripts/ai-update.mjs changed',
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
const DEFAULT_PACKAGE_SCRIPTS = {
|
|
33
|
+
'ace:validate': 'node ./scripts/check-agent-memory.mjs',
|
|
34
|
+
}
|
|
35
|
+
|
|
32
36
|
const MANAGED_SCRIPT_FILES = [
|
|
33
37
|
'ace-hub.mjs',
|
|
34
38
|
'ace-onboard.mjs',
|
|
@@ -135,6 +139,15 @@ async function ensurePackageScripts(rootDir) {
|
|
|
135
139
|
changed = true
|
|
136
140
|
}
|
|
137
141
|
|
|
142
|
+
for (const [scriptName, scriptValue] of Object.entries(DEFAULT_PACKAGE_SCRIPTS)) {
|
|
143
|
+
if (scriptName in nextScripts) {
|
|
144
|
+
continue
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
nextScripts[scriptName] = scriptValue
|
|
148
|
+
changed = true
|
|
149
|
+
}
|
|
150
|
+
|
|
138
151
|
if (!changed) {
|
|
139
152
|
return false
|
|
140
153
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ace-pack",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Zero-dependency cognitive architecture framework for AI-driven development.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"install:pack": "node ./install-ace-pack.mjs",
|
|
39
39
|
"install:legacy": "node ./install-agent-memory-pack.mjs",
|
|
40
40
|
"link:global": "pnpm link --global",
|
|
41
|
+
"ace:validate": "node ./scripts/check-agent-memory.mjs",
|
|
41
42
|
"test": "vitest run"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
@@ -177,6 +177,9 @@ task.
|
|
|
177
177
|
- Use \`pnpm ace:classify\` to select the adaptive task tier.
|
|
178
178
|
- Run \`pnpm ace:onboard\` after fresh installation in an unfamiliar project
|
|
179
179
|
before trusting project-specific risk rules.
|
|
180
|
+
- On Windows PowerShell, use \`pnpm.cmd ace:classify\`,
|
|
181
|
+
\`pnpm.cmd ace:validate\`, and similar commands if script execution policy
|
|
182
|
+
blocks the \`pnpm\` shim.
|
|
180
183
|
- For large or high-risk standard tasks, complete \`.ai/current-task.md\`
|
|
181
184
|
Business Value and Technical Approach before writing code.
|
|
182
185
|
- Treat \`.ai/*\` as the current source of task context and handoff state.
|
|
@@ -218,6 +221,10 @@ Before starting work:
|
|
|
218
221
|
7. Read \`.ai/work-log.md\` only when you need extra historical context.
|
|
219
222
|
8. If the memory files are missing, run \`pnpm ace:init\`.
|
|
220
223
|
|
|
224
|
+
Command note: examples use \`pnpm\`. On Windows PowerShell, use
|
|
225
|
+
\`pnpm.cmd ace:classify\`, \`pnpm.cmd ace:validate\`, and similar commands if
|
|
226
|
+
the \`pnpm\` shim is blocked by execution policy.
|
|
227
|
+
|
|
221
228
|
Legacy commands such as \`pnpm ai:task:classify\`, \`pnpm ai:task:finish\`,
|
|
222
229
|
and \`pnpm agent-memory:init\` remain supported for compatibility.
|
|
223
230
|
|