@mingfuyun/star-allinone 0.1.8 → 0.1.9

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mingfuyun/star-allinone",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "星系运维前端能力包",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/skills/README.md CHANGED
@@ -259,7 +259,7 @@ StarLink 使用:
259
259
  | `shared-ai-review` | SKILL | Hooks、契约、权限、性能、安全的 P0–P3 审查 |
260
260
  | `shared-commit-current-changes` | SKILL | 确认门禁、中文 Conventional Commit、禁止未确认就提交 |
261
261
  | `shared-review-and-submit` | SKILL | impact → verify → commit review 编排 |
262
- | `shared-publish-test` | SKILL + `scripts/publish-current-branch.sh` | 云效测试流水线发布;只从 `.star-allinone.json` 读取 `publishPipelineId` |
262
+ | `shared-publish-test` | SKILL + `scripts/publish-current-branch.sh` | 云效测试流水线发布;只从配置读 `publishPipelineId`;git push 后不自动跑,需单独确认「推送流水线」 |
263
263
 
264
264
  以下内容**不**写进公共 skill 源码:
265
265
 
@@ -55,6 +55,9 @@ Lead with findings. Then present optional improvements, validation results, chan
55
55
  3. Commit without `--no-verify` unless the user explicitly authorizes it. Do not amend unless requested.
56
56
  4. Push to upstream, or `git push -u origin HEAD` when none exists. Never force-push.
57
57
  5. Report hash, subject, files, validation, and remote branch.
58
+ 6. Stop. Do not run `$shared-publish-test` or any Yunxiao pipeline script after git push.
59
+
60
+ A confirmed commit or push does not authorize the test pipeline. If the user later says `确认推送流水线` or `发布测试环境`, follow `.agents/skills/shared-publish-test/SKILL.md`.
58
61
 
59
62
  ## Safety
60
63
 
@@ -1,12 +1,23 @@
1
1
  ---
2
2
  name: {{sharedSkillName}}
3
- description: Publish the current frontend Git branch to the project's Yunxiao test pipeline. Use when the user asks to publish, deploy, release, or run the test environment pipeline, especially 发布测试环境, 发布测试云效流水线, or 以当前分支发布.
3
+ description: Publish the current frontend Git branch to the project's Yunxiao test pipeline only after explicit confirmation such as 确认推送流水线 or 发布测试环境. Never run the pipeline automatically after git push.
4
4
  ---
5
5
 
6
6
  # Publish Test Environment
7
7
 
8
8
  This skill is fully shared. The only project-specific value is `publishPipelineId` in `.star-allinone.json`.
9
9
 
10
+ Do not run the pipeline script after a git push. Git push, `确认提交并推送`, and `确认` are not pipeline authorization.
11
+
12
+ Run the script only after an explicit pipeline confirmation in this conversation, such as:
13
+
14
+ - `确认推送流水线`
15
+ - `发布测试环境`
16
+ - `发布测试云效流水线`
17
+ - `以当前分支发布`
18
+
19
+ If the user has not said one of these, stop and ask whether to publish the test pipeline. Do not infer yes from a prior commit or push.
20
+
10
21
  From the business repository root, run:
11
22
 
12
23
  ```bash
@@ -59,6 +59,9 @@ Execute the commit phase only after an explicit reply such as `确认` or `确
59
59
  4. Create the confirmed commit message.
60
60
  5. Push only if the user asked to push.
61
61
  6. Report commit, remote branch, and workspace status.
62
+ 7. Stop. Do not run `$shared-publish-test` or the pipeline script after git push.
63
+
64
+ Git push confirmation is not pipeline confirmation. Run the pipeline only after a separate explicit reply such as `确认推送流水线` or `发布测试环境`. Then follow `.agents/skills/shared-publish-test/SKILL.md`.
62
65
 
63
66
  If the user only says `确认` but the scope is unclear, do not commit; ask for the exact files and message.
64
67
 
@@ -72,4 +75,4 @@ If the user says `提交代码` before a review proposal exists, run the three s
72
75
  | `$shared-verify` | Convention and command verification |
73
76
  | `$shared-commit-current-changes` | Review plus confirmation-gated commit |
74
77
  | `$shared-ai-review` | Standalone review without commit |
75
- | `$shared-publish-test` | After a confirmed push, publish the current branch using `publishPipelineId` |
78
+ | `$shared-publish-test` | Publish to the test pipeline only after a separate `确认推送流水线`. Never run it automatically after git push. |