@aipper/aiws-spec 0.0.16 → 0.0.17
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/package.json
CHANGED
|
@@ -10,7 +10,20 @@
|
|
|
10
10
|
- 启用本机门禁(推荐):`aiws hooks install .`(或手工:`git config core.hooksPath .githooks`;`git commit`/`git push` 会自动跑 `aiws validate .`)
|
|
11
11
|
- 提交前校验(强制门禁):`aiws validate .`(包含:漂移检测 + `ws_change_check` + `requirements_contract`)
|
|
12
12
|
- Codex(推荐):本仓库内置 repo skills:`.agents/skills/`(可显式 `$ws-dev`,也可隐式套用工作流)
|
|
13
|
-
- Codex skills
|
|
13
|
+
- Codex skills(常用,一句话说明):
|
|
14
|
+
- `$ws-preflight`:预检(读取真值文件并输出约束摘要)
|
|
15
|
+
- `$ws-submodule-setup`:子模块分支对齐(写入 `.gitmodules` 的 `submodule.<name>.branch`)
|
|
16
|
+
- `$ws-plan`:规划(生成可落盘 `plan/` 工件;供 `$ws-dev` 执行)
|
|
17
|
+
- `$ws-plan-verify`:计划质检(执行前检查计划是否过长/跑偏)
|
|
18
|
+
- `$ws-dev`:开发(按需求实现并验证;适用于任何需要修改代码/配置的任务)
|
|
19
|
+
- `$ws-pull`:拉取并对齐 submodules(尽量避免 detached;减少人为差异)
|
|
20
|
+
- `$ws-push`:推送(submodule 感知:先 submodules 后 superproject;fast-forward 安全)
|
|
21
|
+
- `$ws-review`:评审(提交前审计与证据落盘)
|
|
22
|
+
- `$ws-commit`:提交(先审计/门禁再 commit;submodule 感知)
|
|
23
|
+
- `$aiws-init`:初始化工作区(生成真值文件与门禁)
|
|
24
|
+
- `$aiws-validate`:校验工作区(漂移检测 + 门禁)
|
|
25
|
+
- `$aiws-hooks-install`:启用 git hooks 门禁(`core.hooksPath=.githooks`)
|
|
26
|
+
- `$aiws-change-new`:创建 `changes/<change-id>` 工件
|
|
14
27
|
- Codex CLI(推荐,可选):安装全局 skills:`npx @aipper/aiws codex install-skills`(写入 `~/.codex/skills/` 或 `$CODEX_HOME/skills`)
|
|
15
28
|
- Codex CLI(遗留,可选):安装全局 prompts:`npx @aipper/aiws codex install-prompts`(写入 `~/.codex/prompts/` 或 `$CODEX_HOME/prompts`;prompts 已 deprecated)
|
|
16
29
|
- 不要把敏感信息写入 git:`secrets/test-accounts.json`、`.env*`、token、内网地址等
|