bpmax-cli 0.2.1-beta.3 → 0.2.1-beta.4

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.3",
3
+ "version": "0.2.1-beta.4",
4
4
  "description": "CLI for BPMAX environments with multi-profile config and local login callback flow",
5
5
  "type": "module",
6
6
  "bin": {
@@ -160,7 +160,8 @@ Every AI task row must include:
160
160
  - `evidence`: expected proof such as readback hash, browser screenshot, test report, or lint result.
161
161
  - For configuration write tasks, `evidence` or `notes` must include `bpmax-cli config adapters --format json`, the matching typed CLI lint/build/submit/verify/readback commands, and the domain-specific constraints from the relevant skill.
162
162
  - Migration tasks that create or update multiple config objects must specify whether they will use `bpmax-cli config batch submit --manifest ...` and `bpmax-cli config batch readback --manifest ...`; if not, the task must explain why batch evidence is intentionally skipped.
163
- - Tasks that depend on IDs returned by typed create/submit must consume the standard `id` / `key` / `readback_hint` response fields instead of asking subagents to parse domain-specific response bodies.
163
+ - Tasks that depend on IDs returned by direct typed create/submit must consume the standard top-level `id` / `key` / `readback_hint` response fields instead of asking subagents to parse domain-specific response bodies.
164
+ - Batch `response_out` files are row envelopes: consume `ok` / `domain` / `id` / `action` at the top level, then read created IDs and hints from `response.id` / `response.key` / `response.readback_hint`; if a row is dry-run, copy `response.required_confirm` into the manifest `confirm` before retrying.
164
165
 
165
166
  ## Object Lock Rules
166
167
 
@@ -63,7 +63,8 @@ bpmax-cli config dataset relation-fields readback --id <dataset_id> --format jso
63
63
  ```
64
64
 
65
65
  - 批量迁移多个数据集或字段时,优先生成 batch manifest 并使用 `bpmax-cli config batch submit/readback`。manifest 每行必须写 `domain`、`id`、`payload`、`confirm`、`response_out`;不要为每个字段临时写 collector 解析不同 response shape。
66
- - 所有 typed submit/create 响应都要读取标准字段 `id`、`key`、`readback_hint`;如果还需要兼容旧字段,只能作为 fallback,不能把旧 response shape 当主路径。
66
+ - 直接执行 typed submit/create 时,要读取响应顶层标准字段 `id`、`key`、`readback_hint`;如果还需要兼容旧字段,只能作为 fallback,不能把旧 response shape 当主路径。
67
+ - 通过 `bpmax-cli config batch submit/readback` 执行时,`response_out` 是行级 envelope:顶层读取 `ok`、`domain`、`id`、`action`,真实 typed 响应在 `response` 下,创建 ID 和回读提示读取 `response.id`、`response.key`、`response.readback_hint`。若某行停在 dry-run,必须把 `response.required_confirm` 写回 manifest 的 `confirm` 后重跑。
67
68
  - 提交前硬门禁:必须先跑数据集 lint;`basicTableAudit` blocker 或脚本位点里把 ES dataset 查询入口写成 `data_set_id` 时,直接阻断提交。
68
69
  - 脚本类查询默认口径:
69
70
  - 前端验数或调试样例默认优先 `raw-es-search`