bpmax-cli 0.2.1-beta.14 → 0.2.1-beta.15

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": "bpmax-cli",
3
- "version": "0.2.1-beta.14",
3
+ "version": "0.2.1-beta.15",
4
4
  "description": "CLI for BPMAX environments with multi-profile config and local login callback flow",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,6 +37,15 @@ bpmax-cli init --agent <agent> --channel feishu --url "<BPMAX_URL>" --name local
37
37
 
38
38
  用户要求“提 issue”、“创建 GitLab issue”、“报 bug 到 bpmax-cli”或需要把当前问题沉淀到 bpmax-cli 仓库时,使用 `bpmax-cli issue create` 或语义别名 `bpmax-cli issue report`。
39
39
 
40
+ 如果工作中发现 bpmax-cli 自身的稳定问题,也可以自动创建 issue,不需要等用户再次下达“提 issue”:
41
+
42
+ - 适用:可复现的 bpmax-cli 缺陷、回归、缺失 typed capability、错误/误导性诊断、lint 漏检、危险默认行为、skill 与 CLI 能力不一致。
43
+ - 不适用:客户业务配置缺陷、环境临时波动、权限未授权、证据不足的猜测、只在本地脏工作区出现的问题。这些先写入本轮报告或任务书,除非用户明确要求提到 bpmax-cli。
44
+ - 自动提报前必须先写一份精简 issue 描述文件,包含:现象、复现命令或最小步骤、期望行为、实际行为、影响范围、已验证的排除项、建议修复方向。
45
+ - 正式创建前必须先执行 `bpmax-cli issue create ... --dry-run --format json`,检查标题、正文、标签、项目、assignee 和保密标记;dry-run 中不得包含 token、API Key、cookie、手机号、完整 raw payload、客户敏感数据或大段日志。
46
+ - dry-run 检查通过且问题稳定可复现时,再去掉 `--dry-run` 创建;创建成功后最终回复必须给出 `issue.web_url`。
47
+ - 如果证据还不完整,先保留本地 notes/report,不要为了“自动提报”制造低质量 issue。
48
+
40
49
  推荐流程:
41
50
 
42
51
  ```bash
@@ -390,6 +390,8 @@ PYTHON_BIN=./venv/bin/python
390
390
  ### 5. 失败后的修复闭环
391
391
  - 修配置时,回到对应 skill,不在本 skill 里重复定义实现细节。
392
392
  - 修完后立刻复测当前失败场景,不要先跳去跑别的场景。
393
+ - 如果失败原因是 bpmax-cli、test-suite、E2E 命令、skill lint 或诊断文案自身的问题,而不是客户业务配置或运行态数据问题,按 [$bpmax-cli](../bpmax-cli/SKILL.md) 的 “Issue 提报” 规则创建 bpmax-cli issue:先写精简描述文件,先跑 `bpmax-cli issue create ... --dry-run --format json`,确认无 token、cookie、手机号、完整 payload 或客户敏感数据后再正式创建,并在结论里记录 `issue.web_url`。
394
+ - 客户配置缺陷、流程运行态缺陷、业务数据不足或权限缺口,默认写入本轮 E2E 报告、任务书或修复清单;除非用户明确要求,不要把这类问题提成 bpmax-cli issue。
393
395
  - 如果失败原因是稳定反模式,更新来源 skill:
394
396
  - 流程脚本问题:更新 [$bpmax-flow-template-editor](../bpmax-flow-template-editor/SKILL.md) 或其 `references/`
395
397
  - 表单显隐/校验问题:更新 [$bpmax-form-template-editor](../bpmax-form-template-editor/SKILL.md) 或其 `references/`