@taptap/cli 2026.9.11 → 2026.9.22
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/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +49 -0
- package/README.md +2 -2
- package/README.zh.md +3 -3
- package/affordance/app.md +2 -2
- package/bin/taptap-cli-darwin-amd64 +0 -0
- package/bin/taptap-cli-darwin-arm64 +0 -0
- package/bin/taptap-cli-linux-amd64 +0 -0
- package/bin/taptap-cli-linux-arm64 +0 -0
- package/bin/taptap-cli-linux-riscv64 +0 -0
- package/bin/taptap-cli-windows-amd64.exe +0 -0
- package/bin/taptap-cli-windows-arm64.exe +0 -0
- package/checksums.txt +7 -7
- package/package.json +1 -1
- package/skills/index.json +33 -10
- package/skills/taptap-app-edit/SKILL.md +19 -33
- package/skills/taptap-app-edit/references/app-edit-analysis.md +3 -2
- package/skills/taptap-app-edit/references/app-edit-audit-and-history.md +41 -36
- package/skills/taptap-app-edit/references/app-edit-execution-rules.md +94 -0
- package/skills/taptap-app-edit/references/app-edit-field-map.md +44 -18
- package/skills/taptap-app-edit/references/app-edit-fields-and-packages.md +6 -5
- package/skills/taptap-app-edit/references/app-edit-version-lifecycle.md +4 -4
- package/skills/taptap-app-edit/references/review-risk-checklist.md +2 -1
- package/skills/taptap-asset-library/SKILL.md +36 -33
- package/skills/taptap-asset-library/references/asset-library-ingest.md +5 -21
- package/skills/taptap-asset-library/references/asset-library-search.md +28 -35
- package/skills/taptap-cli/SKILL.md +8 -4
- package/skills/taptap-cli/references/business-routing.md +2 -1
- package/skills/taptap-cli/references/cli-command-patterns.md +9 -8
- package/skills/taptap-cli/references/operation-handbooks.md +5 -4
- package/skills/taptap-cli/references/shared-execution.md +7 -7
- package/skills/taptap-dashboard-stats/SKILL.md +4 -3
- package/skills/taptap-identity/SKILL.md +5 -5
- package/skills/taptap-materials/SKILL.md +20 -19
- package/skills/taptap-package-management/SKILL.md +47 -44
- package/skills/taptap-package-management/references/package-management-diagnostics.md +36 -26
- package/skills/taptap-player-feedback/SKILL.md +116 -0
- package/skills/taptap-player-feedback/references/player-feedback-queries.md +122 -0
- package/skills/taptap-publish-game/SKILL.md +7 -5
- package/skills/taptap-publish-game/references/publish-game-creation.md +10 -11
- package/skills/taptap-qualification/SKILL.md +24 -30
- package/skills/taptap-qualification/references/qualification-analysis.md +62 -70
- package/skills/taptap-qualification/references/qualification-draft.md +6 -6
- package/skills/taptap-qualification/references/qualification-lifecycle.md +10 -23
- package/skills/taptap-qualification/references/qualification-materials.md +42 -28
- package/skills/taptap-test-plan/SKILL.md +30 -31
- package/skills/taptap-test-plan/references/test-plan-creation.md +15 -12
- package/skills/taptap-test-plan/references/test-plan-faq.md +2 -2
- package/skills/taptap-test-plan/references/test-plan-operations.md +18 -16
- package/taptap-suite/SKILL.md +12 -8
- package/taptap-suite/references/taptap-app-edit/SKILL.md +19 -33
- package/taptap-suite/references/taptap-app-edit/references/app-edit-analysis.md +3 -2
- package/taptap-suite/references/taptap-app-edit/references/app-edit-audit-and-history.md +41 -36
- package/taptap-suite/references/taptap-app-edit/references/app-edit-execution-rules.md +94 -0
- package/taptap-suite/references/taptap-app-edit/references/app-edit-field-map.md +44 -18
- package/taptap-suite/references/taptap-app-edit/references/app-edit-fields-and-packages.md +6 -5
- package/taptap-suite/references/taptap-app-edit/references/app-edit-version-lifecycle.md +4 -4
- package/taptap-suite/references/taptap-app-edit/references/review-risk-checklist.md +2 -1
- package/taptap-suite/references/taptap-asset-library/SKILL.md +36 -33
- package/taptap-suite/references/taptap-asset-library/references/asset-library-ingest.md +5 -21
- package/taptap-suite/references/taptap-asset-library/references/asset-library-search.md +28 -35
- package/taptap-suite/references/taptap-cli/references/business-routing.md +2 -1
- package/taptap-suite/references/taptap-cli/references/cli-command-patterns.md +9 -8
- package/taptap-suite/references/taptap-cli/references/operation-handbooks.md +5 -4
- package/taptap-suite/references/taptap-cli/references/shared-execution.md +7 -7
- package/taptap-suite/references/taptap-dashboard-stats/SKILL.md +4 -3
- package/taptap-suite/references/taptap-identity/SKILL.md +5 -5
- package/taptap-suite/references/taptap-materials/SKILL.md +20 -19
- package/taptap-suite/references/taptap-package-management/SKILL.md +47 -44
- package/taptap-suite/references/taptap-package-management/references/package-management-diagnostics.md +36 -26
- package/taptap-suite/references/taptap-player-feedback/SKILL.md +116 -0
- package/taptap-suite/references/taptap-player-feedback/references/player-feedback-queries.md +122 -0
- package/taptap-suite/references/taptap-publish-game/SKILL.md +7 -5
- package/taptap-suite/references/taptap-publish-game/references/publish-game-creation.md +10 -11
- package/taptap-suite/references/taptap-qualification/SKILL.md +24 -30
- package/taptap-suite/references/taptap-qualification/references/qualification-analysis.md +62 -70
- package/taptap-suite/references/taptap-qualification/references/qualification-draft.md +6 -6
- package/taptap-suite/references/taptap-qualification/references/qualification-lifecycle.md +10 -23
- package/taptap-suite/references/taptap-qualification/references/qualification-materials.md +42 -28
- package/taptap-suite/references/taptap-test-plan/SKILL.md +30 -31
- package/taptap-suite/references/taptap-test-plan/references/test-plan-creation.md +15 -12
- package/taptap-suite/references/taptap-test-plan/references/test-plan-faq.md +2 -2
- package/taptap-suite/references/taptap-test-plan/references/test-plan-operations.md +18 -16
- package/skills/taptap-package-management/references/package-management-page-paths.md +0 -10
- package/taptap-suite/references/taptap-package-management/references/package-management-page-paths.md +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
All notable TapTap CLI changes are documented here.
|
|
4
4
|
|
|
5
|
+
## [v2026.9.22] - 2026-09-22
|
|
6
|
+
|
|
7
|
+
### Fixes
|
|
8
|
+
|
|
9
|
+
- Clarify that `region_flag_*` distribution status must be adjusted before
|
|
10
|
+
review submission, not after version release: it is a draft field that ships
|
|
11
|
+
with the version, so opening a game for play needs the status set pre-review.
|
|
12
|
+
- Make qualification reporting confirm the `app_features` facts
|
|
13
|
+
(`is_internet_required`, `has_in_app_purchase`, `has_ai_content`,
|
|
14
|
+
`has_ip_authorization`, `has_text_story_simulation`) before listing anything,
|
|
15
|
+
and derive the required set from `analyze-app-status` so that only
|
|
16
|
+
`QUALIFICATION_INCOMPLETE` items are treated as gaps; non-required empty slots
|
|
17
|
+
become an opt-in question instead of a flat "8 missing" list.
|
|
18
|
+
- Add a contract guard so the qualification fact-first guidance stays reachable
|
|
19
|
+
from the always-loaded `SKILL.md` entrypoints.
|
|
20
|
+
|
|
21
|
+
## [v2026.9.21] - 2026-09-21
|
|
22
|
+
|
|
23
|
+
### Highlights
|
|
24
|
+
|
|
25
|
+
- Point the CLI at the DC capability gateway: the OpenAPI capability surface
|
|
26
|
+
(catalog generation, idempotency, auth) is now served by `dc-gateway` and the
|
|
27
|
+
CLI depends on the contract instead of a specific service.
|
|
28
|
+
- Raise the minimum client version to `2026.9.21`; older builds get an explicit
|
|
29
|
+
upgrade response on both the capability paths and the Meta endpoint.
|
|
30
|
+
|
|
31
|
+
### Improvements
|
|
32
|
+
|
|
33
|
+
- Show parameter descriptions and response fields in `--help` for dynamic
|
|
34
|
+
OpenAPI commands, and document that `--data @path` must stay inside the
|
|
35
|
+
current working directory.
|
|
36
|
+
- Surface the server `error_description` in error messages, and fail closed on
|
|
37
|
+
the package upload paths with the real idempotency key in the preview.
|
|
38
|
+
- Add the player-feedback and test-plan skills, rewrite qualification against
|
|
39
|
+
the DC contract, and align app-edit / package-management / materials with the
|
|
40
|
+
new field semantics (Windows branch packages, publish-status wording,
|
|
41
|
+
qualification vs. precheck separation).
|
|
42
|
+
- Let the catalog generator script authenticate with `TAP_OPENAPI_TOKEN` for
|
|
43
|
+
local and RND environments.
|
|
44
|
+
|
|
45
|
+
### Fixes
|
|
46
|
+
|
|
47
|
+
- Follow the DC submit contract (`preaudit_passed`) and the `expected` rules
|
|
48
|
+
(empty values as `[]`, tolerate single-element arrays for scalars).
|
|
49
|
+
- Drop `DEFAULT(0)` from the Windows upload/bind options and candidate lists;
|
|
50
|
+
the launcher package only exists when the app has the `pc_package_branch`
|
|
51
|
+
capability, and the CLI no longer asks the user about it.
|
|
52
|
+
- Stop advertising a replay for irreversible operations.
|
|
53
|
+
|
|
5
54
|
## [v2026.9.11] - 2026-09-11
|
|
6
55
|
|
|
7
56
|
### Highlights
|
package/README.md
CHANGED
|
@@ -189,7 +189,7 @@ Use service commands when you need precise control. Write operations support
|
|
|
189
189
|
```bash
|
|
190
190
|
taptap-cli package-management get-package-overview --dev-id <developer-id> --app-id <app-id>
|
|
191
191
|
taptap-cli dashboard-stats get-dashboard-stats --dev-id <developer-id> --app-id <app-id> --data '{"metric":"download"}'
|
|
192
|
-
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"
|
|
192
|
+
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"release_schedule":{"kind":"immediate"}}' --idempotency-key <key> --dry-run
|
|
193
193
|
```
|
|
194
194
|
|
|
195
195
|
Run `taptap-cli aliases` only when maintaining automation that still uses the compatibility aliases.
|
|
@@ -269,7 +269,7 @@ To check whether a command succeeded, test `ok == true` (or the exit code) - **d
|
|
|
269
269
|
For commands that may have side effects, preview the request with `--dry-run` first:
|
|
270
270
|
|
|
271
271
|
```bash
|
|
272
|
-
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"
|
|
272
|
+
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"release_schedule":{"kind":"immediate"}}' --idempotency-key <key> --dry-run
|
|
273
273
|
```
|
|
274
274
|
|
|
275
275
|
### Schema Introspection
|
package/README.zh.md
CHANGED
|
@@ -183,9 +183,9 @@ CLI 为常见任务提供快捷命令,也为精确操作提供服务命令。
|
|
|
183
183
|
需要精确控制时使用服务命令。写操作支持 `--dry-run` 预览。
|
|
184
184
|
|
|
185
185
|
```bash
|
|
186
|
-
taptap-cli package-management
|
|
186
|
+
taptap-cli package-management list-apk-packages --dev-id <developer-id> --app-id <app-id> --data '{"page":1,"page_size":50}'
|
|
187
187
|
taptap-cli dashboard-stats get-dashboard-stats --dev-id <developer-id> --app-id <app-id> --data '{"metric":"download"}'
|
|
188
|
-
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"
|
|
188
|
+
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"release_schedule":{"kind":"immediate"}}' --idempotency-key <key> --dry-run
|
|
189
189
|
```
|
|
190
190
|
|
|
191
191
|
仅在维护仍使用兼容 alias 的自动化时运行 `taptap-cli aliases` 查看清单。
|
|
@@ -264,7 +264,7 @@ taptap-cli app +list --dev-id <developer-id> --page-all
|
|
|
264
264
|
对可能产生副作用的命令,建议先用 `--dry-run` 预览请求:
|
|
265
265
|
|
|
266
266
|
```bash
|
|
267
|
-
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"
|
|
267
|
+
taptap-cli app submit-app-review --dev-id <developer-id> --app-id <app-id> --data '{"release_schedule":{"kind":"immediate"}}' --idempotency-key <key> --dry-run
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
### Schema 自省
|
package/affordance/app.md
CHANGED
|
@@ -87,7 +87,7 @@ Submit the completed draft for review only after the readiness analysis reports
|
|
|
87
87
|
|
|
88
88
|
### Prerequisites
|
|
89
89
|
|
|
90
|
-
- A [[prepare-review-snapshot]] result whose `
|
|
90
|
+
- A [[prepare-review-snapshot]] result whose `release_schedule` was passed unchanged through [[precheck-app-review]]
|
|
91
91
|
- A successful [[precheck-app-review]] result for that same snapshot
|
|
92
92
|
- Explicit user confirmation for this high-risk write
|
|
93
93
|
|
|
@@ -96,7 +96,7 @@ Submit the completed draft for review only after the readiness analysis reports
|
|
|
96
96
|
**Preview the review submission request**
|
|
97
97
|
|
|
98
98
|
```bash
|
|
99
|
-
taptap-cli app submit-app-review --dev-id "<developer_id>" --app-id "<app_id>" --data '{"
|
|
99
|
+
taptap-cli app submit-app-review --dev-id "<developer_id>" --app-id "<app_id>" --data '{"release_schedule":{"kind":"immediate"}}' --idempotency-key "<key>" --dry-run
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
## +list
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/checksums.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
11b0ac960aa9659bd721a6ee8e632491c1713bc3de07c3b31a7f7762242aafaf bin/taptap-cli-darwin-amd64
|
|
2
|
+
c60d546f890b5011dffdeb3edc4dee79dfd50a048c2837f4e0c54260053b1a74 bin/taptap-cli-darwin-arm64
|
|
3
|
+
4a8ab94c8f2de3f3f44273c817d1b72278936b230c5752b04eb58c09d65e5e4b bin/taptap-cli-linux-amd64
|
|
4
|
+
910d685e7c4645a63ab72ebdbef2f069e69b5d274f4e42bf630ae53a1c0b3b09 bin/taptap-cli-linux-arm64
|
|
5
|
+
e4a432f3620b08013f5fb4ca911686b15a7097e9b2a1f687e4b2335f7b94fbf6 bin/taptap-cli-linux-riscv64
|
|
6
|
+
80f578fc37631ae8dbd0ba969cfc8b66ab5aa2ea65fb605e5c0668b9f2b3a27e bin/taptap-cli-windows-amd64.exe
|
|
7
|
+
fd0b8726edaf9fcb490b5205b40b8bf48db3bf629f00a79ed563835c94f476a5 bin/taptap-cli-windows-arm64.exe
|
package/package.json
CHANGED
package/skills/index.json
CHANGED
|
@@ -1,14 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"skills": [
|
|
3
|
-
{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
3
|
+
{
|
|
4
|
+
"name": "taptap-app-edit"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"name": "taptap-asset-library"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "taptap-cli"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "taptap-dashboard-stats"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "taptap-identity"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "taptap-materials"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "taptap-package-management"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "taptap-player-feedback"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "taptap-publish-game"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "taptap-qualification"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "taptap-test-plan"
|
|
35
|
+
}
|
|
13
36
|
]
|
|
14
37
|
}
|
|
@@ -28,7 +28,7 @@ metadata:
|
|
|
28
28
|
|
|
29
29
|
**素材缺口和候选不得混写。输出资料体检或 handoff 时,按图标、简介、开发者的话、游戏截图、宣传图、实机视频和首页推荐逐项列出当前状态;本地候选按场景逐项列出,每个文件单独输出实际绝对路径。宿主能返回图片时逐张展示并保留路径,不能返回图片时明确说明并逐行输出路径。**
|
|
30
30
|
|
|
31
|
-
**包体写入事实门禁 —** `package_slots` 是唯一槽位写入事实。schema 未声明、槽位不可用、候选非 ready 或 `expected` 缺失时必须停止并报告契约缺口,不得从 `current_bindings`、候选或历史响应补造;`current_bindings` 只用于展示。完整契约见 [fields and packages](references/app-edit-fields-and-packages.md)
|
|
31
|
+
**包体写入事实门禁 —** `package_slots` 是唯一槽位写入事实。schema 未声明、槽位不可用、候选非 ready 或 `expected` 缺失时必须停止并报告契约缺口,不得从 `current_bindings`、候选或历史响应补造;`current_bindings` 只用于展示。完整契约见 [fields and packages](references/app-edit-fields-and-packages.md)「包体槽位」。包体管理页面入口不由 CLI 承诺。
|
|
32
32
|
|
|
33
33
|
## 快速决策
|
|
34
34
|
|
|
@@ -39,9 +39,9 @@ metadata:
|
|
|
39
39
|
| 改文字、图片、视频等普通字段 | 读模块详情,带最新 `expected` 调 `save-changes` | [fields and packages](references/app-edit-fields-and-packages.md) |
|
|
40
40
|
| 切换或清空主包体 / Windows 包体 | `list-packages` → `select-package` / `clear-package` | [fields and packages](references/app-edit-fields-and-packages.md) |
|
|
41
41
|
| 按 Spark version_code 绑定资料页主包体 | `list-packages` → `+bind-spark-version` dry-run → 确认后 apply | [fields and packages](references/app-edit-fields-and-packages.md) |
|
|
42
|
-
| 提交审核并设置上线方式 | skill analysis → platform-status
|
|
42
|
+
| 提交审核并设置上线方式 | skill analysis → platform-status →(关卡/TapMaker 先签 SCE 协议)→ 三步提审,细则见 [audit and history](references/app-edit-audit-and-history.md) |
|
|
43
43
|
| 撤审、撤定时、改时间、重置草稿 | 先确认 version 状态,再预览和确认 | [version lifecycle](references/app-edit-version-lifecycle.md) |
|
|
44
|
-
| 定时已到但版本仍待上线 | 确认 `status=
|
|
44
|
+
| 定时已到但版本仍待上线 | 确认 `status="scheduled"` 且 `release_time <= now`,再确认后 `publish-scheduled-release` | [version lifecycle](references/app-edit-version-lifecycle.md) |
|
|
45
45
|
| 从文案文件提取字段、识别图片用途、规划新版资料 | Agent 生成候选,读当前值并确认后写入 | [skill analysis](references/app-edit-analysis.md) |
|
|
46
46
|
| 当前缺少图片素材 | 先询问是否有可用的本地素材;没有时再询问是否需要为允许生图的场景生成候选,并转 `taptap-asset-library` | [游戏物料要求](../taptap-cli/references/material-requirements.md)、[`taptap-asset-library`](../taptap-asset-library/SKILL.md) |
|
|
47
47
|
| 上传本地目录、zip 或多种图片/视频/包体 | 转 `taptap-materials`,上传后再回来写字段或绑定槽位 | [`taptap-materials`](../taptap-materials/SKILL.md) |
|
|
@@ -58,7 +58,7 @@ taptap-cli app list-app-versions --app-id <appId> --dev-id <developerId> --page
|
|
|
58
58
|
taptap-cli app save-changes --app-id <appId> --dev-id <developerId> --data @changes.json --idempotency-key <save-key> --dry-run
|
|
59
59
|
taptap-cli app select-package --app-id <appId> --dev-id <developerId> --data @package-selection.json --idempotency-key <select-key> --dry-run
|
|
60
60
|
taptap-cli app +bind-spark-version --app-id <appId> --dev-id <developerId> --data @spark-binding.json --idempotency-key <intent-key> --dry-run
|
|
61
|
-
taptap-cli app prepare-review-snapshot --app-id <appId> --dev-id <developerId>
|
|
61
|
+
taptap-cli app prepare-review-snapshot --app-id <appId> --dev-id <developerId>
|
|
62
62
|
taptap-cli app precheck-app-review --app-id <appId> --dev-id <developerId> --data @review-precheck.json
|
|
63
63
|
taptap-cli app submit-app-review --app-id <appId> --dev-id <developerId> --data @audit-confirmation.json --idempotency-key <submit-key> --yes
|
|
64
64
|
taptap-cli app publish-scheduled-release --app-id <appId> --dev-id <developerId> --idempotency-key <publish-key> --dry-run
|
|
@@ -66,35 +66,21 @@ taptap-cli app publish-scheduled-release --app-id <appId> --dev-id <developerId>
|
|
|
66
66
|
|
|
67
67
|
## 执行规则
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
- `
|
|
74
|
-
- `
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
- 提审意图必须单独确认:泛化准备请求和“正式上线”目标只能触发准备状态检查或提审选项提示;只有用户明确表达“提交审核 / 提审”后才可调用 `prepare-review-snapshot`,预审结果后仍须再次确认才可调用 `submit-app-review`。
|
|
85
|
-
- 正式提审前按正式发布口径检查资质:资质缺口、开发者认证和豁免结论以 `taptap-qualification` 的当前分析结果为准;服务端 blocker 未清零时停止提审,不得自行放宽或收紧资质策略。
|
|
86
|
-
- 提审先用 `prepare-review-snapshot`(read,无需 `--yes`)生成完整复核快照并保存 `review_snapshot.fingerprint`,再把同一个 `review_fingerprint` 和相同 `release_schedule` 原样传给 `precheck-app-review`(read,无需 `--yes`)与 `submit-app-review --yes`(write,带稳定幂等键);收到 `SUBMIT_REVIEW_STALE` 时回到第一步,禁止复用旧指纹。
|
|
87
|
-
- 当前 metadata 将 `prepare-review-snapshot` 和 `precheck-app-review` 标记为 `read`,无需 `--yes` 即可取得真实结果;`submit-app-review` 仍为 `write`,需 `--yes` 与稳定幂等键。`--dry-run` 只预览请求,不会执行预检。上线方式只支持立即上线或精确定时,并在三步中保持一致;模糊季度/档期必须追问具体时间或改为立即上线。
|
|
88
|
-
- 复核返回风险数据不可用且要求确认时,展示 warning;`--yes` 不代表已核对。当前 schema 未声明风险确认输入时停止并报告契约缺口,不能补造本地 flag。
|
|
89
|
-
- 用户确认前和发布结果中,逐项说明可见 `region_flag_*` 的真实状态。统一说明:“版本发布后,分发入口会保持当前设置。仍显示‘敬请期待’的入口,如需开放下载或游玩,请单独调整对应的分发状态。”
|
|
90
|
-
- `submit-app-review`、`publish-scheduled-release` 或其它发布动作成功并读回状态后,按共享“运营阶段手册交接”输出一个阶段匹配的官方手册。预约/首曝要求可见分发状态文案明确包含“预约”;首次上线要求完整历史中没有 `online`、`offline` 或 `published` 证据;已有任一发布历史的再次提审、版本更新或上线后运营使用长线运营手册。状态冲突或历史不完整时只给快速入门总入口。
|
|
91
|
-
- 实际执行 `submit-app-review` 前必须使用当前 `review_fingerprint` 完成正式预审;资料、开发者认证或上架资质任一项无法确认或未满足时必须停止,不能依赖旧截图、旧结果或“上传成功”继续提审。
|
|
92
|
-
- 后续检查必须以当前读取结果或写后读回证据为准:此前建议的上传、回填或补充动作,如果没有对应的成功结果和当前状态证据,仍必须列为未完成,不能按已完成处理。创建成功后、资料或素材写后读回后、正式提审前,主动提示用户:“请按规范完善游戏图标、简介、开发者的话、游戏截图、宣传图、实机视频及当前可见且适用的首页推荐素材选项。系统默认图标仅用于完成游戏创建,不代表已通过素材审核;如未替换为符合要求的正式图标,可能导致素材审核不通过并影响首页或编辑推荐展示。是否阻断提审,以当前字段 `required`、服务端预检结果或适用的官方物料要求为准。”如果本次读取结果中确实缺少图片素材,紧接着询问用户是否有可用的本地素材或真实游戏截图;用户确认没有本地素材后,再询问是否需要为图标、宣传图或 Windows 素材生成本地候选图,并转 `taptap-asset-library`。不得为缺失的游戏截图生成虚构画面,必须要求真实游戏截图。游戏资料或版本审核通过不等于素材审核通过,也不等于已经具备首页推荐资格。非必填项只说明官方文档明确的展示/分发条件,或当前状态能直接证明的影响;首页编辑推荐栏目推荐图缺失时,只能说明官方要求的专属栏目展示限制,不得断言所有缺失项都会导致只能通过搜索或分享访问,也不得断言会被降流或受到确定的流量处罚。官方规则只引用 [游戏物料要求](../taptap-cli/references/material-requirements.md) 中列出的 TapTap 官方文档及对应章节,来源 URL 和章节映射以该 reference 为准;字段必填性、当前缺口和服务端阻断以本次 `get-app-module`、`prepare-review-snapshot` 或 `precheck-app-review` 的真实返回为准。
|
|
93
|
-
- `precheck-app-review` 返回 `required_consents` 时,只展示每项 `agreement.name` 和 `agreement.url`;任一字段缺失时停止并报告契约缺口,不得请求用户同意或回传 `consent_token`。只有详情齐全且用户在当前对话明确同意后,才把全部未过期的 token 原样放入 `submit-app-review` 的 `consent_tokens`,并保持原 `review_fingerprint` 和 `release_schedule` 不变;`--yes` 不代表协议同意,也不得补造其它字段或 flag。
|
|
94
|
-
- 生命周期动作先用 `list-app-versions` / `get-app-version` 读取当前状态;`logs[].event='schedule_cancelled'` 不是审核驳回。定时版本通常由平台自动发布;若 `status=3` 且 `release_time <= 当前时间` 仍未上线,可在展示影响并取得明确确认后调用 `publish-scheduled-release`,成功后重新读取版本与分发状态。HITL 后状态漂移必须重新读取。
|
|
95
|
-
- 正式预检成功时,面向用户固定展示“阻塞项:无”和“提交状态:可提交审核”;`can_submit` 仅用于内部判断,不得原样输出 `Blocker`、`can_submit=true` 等机器字段。
|
|
96
|
-
- 面向用户报告旧值/新值、保存结果、版本状态、风险和下一步;不默认输出完整 raw JSON 或 schema。
|
|
97
|
-
- 若当前 `status` 表示审核中或等待定时上线,用户动作默认是等待并按 `release_time`/审核结果检查,不要让用户重复上传、重复创建或重复提交。
|
|
69
|
+
完整细则(包体两条路径、资质事实收集、提审三步与预检口径、运营阶段手册、素材话术、生命周期)见 [execution rules](references/app-edit-execution-rules.md)。要点:
|
|
70
|
+
|
|
71
|
+
- 缺 `developerId` / `appId` 时转 `taptap-identity`;不知道字段所属模块先读 [field map](references/app-edit-field-map.md)。
|
|
72
|
+
- 编辑资料时先确认资质判断事实(`app_features`),再推导必须资质。
|
|
73
|
+
- 可选 iOS 覆盖字段 `title_ios` / `description_ios` / `icon_ios` / `banner_4_ios` / `square_promo_image_ios` / `screenshots_ios`:继承、清空与 `expected` 口径见 [field map](references/app-edit-field-map.md)。
|
|
74
|
+
- 包体写入依赖 `list-packages` 的同次 ready 候选与槽位 `available=true`,按原样 `expected` 走 dry-run → `--yes` → 写后读回;stale/409 停止重读,详见 [fields and packages](references/app-edit-fields-and-packages.md)「包体槽位」。
|
|
75
|
+
- 普通字段每批不超过 10 个 change;`expected` 严格取值与 stale 处理见 [fields and packages](references/app-edit-fields-and-packages.md)「文字字段」。
|
|
76
|
+
- `age_grade`、`apk_package_name`、`mini_game_play_enabled` 不能通过普通字段保存;替代路径见 [field map](references/app-edit-field-map.md)。
|
|
77
|
+
- 版本状态以 `get-app-version` 的 `logs[].event` 为准:`schedule_cancelled` 不是审核驳回。
|
|
78
|
+
- 发布成功后交接运营手册:用 `list-app-versions --page-all` 读完整历史,按共享「运营阶段手册交接」区分「首次上线」与「长线运营」,正本见 [operation handbooks](../taptap-cli/references/operation-handbooks.md)。
|
|
79
|
+
- 图片和视频以当次返回的 `image_spec` / `video_spec` 为准;`trailer` 与 `gameplay_demo_video` 不能使用同一个 `videoId`。
|
|
80
|
+
- 提审意图必须单独确认;只有用户明确表达“提交审核 / 提审”后才可调用 `prepare-review-snapshot`,预审结果后仍须再次确认才可 `submit-app-review`。三步契约见 [audit and history](references/app-edit-audit-and-history.md)。
|
|
81
|
+
- 正式预检成功时,面向用户固定展示“阻塞项:无”和“提交状态:可提交审核”;预检不成功时逐项展示卡点并询问是否「强制提交」(预检可跳过)。`preaudit_passed` 仅用于内部判断,不得原样输出 `Blocker`、`preaudit_passed=true` 等机器字段。
|
|
82
|
+
- 关卡 / TapTap 制造游戏在体检阶段就引导签 SCE 协议:用户明确同意后调 `taptap-cli app agree-sce-agreement --yes`,再重查确认 blocker 消失。
|
|
83
|
+
- 每次写入后输出 handoff;面向用户报告业务语言,不默认输出完整 raw JSON 或 schema。
|
|
98
84
|
|
|
99
85
|
## References
|
|
100
86
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
已知 `developerId` 和 `appId` 后,按问题所需读取以下证据;用户问“还差什么 / 能不能提审 / 帮我检查资料”时读取完整集合:
|
|
8
8
|
|
|
9
|
+
0. 先调用 `analyze-app-status` 做总体体检:一次拿到 `blockers`(必填缺失 / 包体缺失 / 字段约束 / 防沉迷联动 / SCE 协议 / READ_ONLY)、`warnings`(资质缺口 `QUALIFICATION_INCOMPLETE`、审核结论、默认图标)和 `suggestions`(建议补充字段)。这比逐个读模块更全局,优先用于回答「还差什么 / 能不能提交」;具体字段为什么缺、怎么补,再用下面第 1 步的 `get-app-module` 读字段级详情。资质维度**只看 `QUALIFICATION_INCOMPLETE`**:它是按游戏事实算出的必须资质缺口,message 里列出的才是必须补的资质;没有它 = 资质不阻断,不要再去列 8 类资质客观状态。
|
|
9
10
|
1. 对 9 个模块分别调用 `get-app-module`:
|
|
10
11
|
- `basic-info`
|
|
11
12
|
- `assets-upload`
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
- `other-settings`
|
|
19
20
|
2. 调用 `list-packages`,读取候选摘要、`current_bindings`、总数,以及当前 schema 声明时的 `package_slots`;包体写入只使用同次 `package_slots.<slot>.available` 与 `expected`,schema 未声明时停止绑定(契约见 [fields and packages](app-edit-fields-and-packages.md))。
|
|
20
21
|
3. 调用 `list-app-versions`,读取当前声明的 `version_id`、`version`、`status`、`release_time`、`last_event` 和 `logs`;需要查看某一历史版本字段时,将目标 item 的 `version` 传给 `get-app-version`,读取只读的 `detail.form_data`。列表项的 `version_id` 当前只是 `version` 的兼容别名。
|
|
21
|
-
4.
|
|
22
|
+
4. 资质只报告 `QUALIFICATION_INCOMPLETE` message 里列出的必须资质,转 `taptap-qualification` 看这几个的具体状态和补材料;不要因为 `get-qualification-status` 有 8 类资质(客观登记表)就把 8 个都列给用户。开发者认证转 `taptap-identity`。
|
|
22
23
|
5. 资料填写提示或提审准备度检查按 [review risk checklist](review-risk-checklist.md) 将官方规则、当前事实、历史审核、测试证据和 Agent 判断分层。官方规则只从 [`official-review-rules-v4.md`](../../taptap-cli/references/official-review-rules-v4.md) 选择与当前字段直接相关的章节。
|
|
23
24
|
|
|
24
25
|
读取失败的维度必须标记为“无法确认”,不能把未知当作通过。只回答单个字段或素材规格时,读取目标模块即可,不为形式完整而调用全部模块。
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
- **字段**:`get-app-module` 当前使用 `data.result.fields.<field_id>`;只检查字段对象当次实际返回的 `current_value`、`visible`、`state` 和规格字段。
|
|
34
35
|
- **包体**:候选必须来自同次 `list` 且 `status=ready`;槽位契约(`package_slots` 声明检查、`available`、`expected`)按 [fields and packages](app-edit-fields-and-packages.md)「包体槽位」执行,schema 未声明时停止绑定。字段缺失、空值、不可用或 stale 时标记“无法确认”并停止。
|
|
35
36
|
- **分发状态**:只报告 `platform-status` 中实际可见的 `region_flag_*`,并使用当次 `options` / `value_labels`。
|
|
36
|
-
- **发布设置**:以 `release-settings` 当前值为准;版本通常由平台按定时自动发布。若到点后仍为 `status=
|
|
37
|
+
- **发布设置**:以 `release-settings` 当前值为准;版本通常由平台按定时自动发布。若到点后仍为 `status="scheduled"`,仅在 `release_time <= 当前时间` 时可按生命周期流程确认后调用 `publish-scheduled-release`。
|
|
37
38
|
- **资质与认证**:以 `taptap-qualification` 的当前结果为准。任何未完成或无法确认项都不能被 AI 文案判断覆盖。
|
|
38
39
|
- **审核历史**:从 `list-app-versions.result.list[].logs` 按时间顺序读取事件、原因和备注;历史字段快照读取 `get-app-version.result.detail.form_data`。历史快照只用于解释和比较,不能直接作为当前 draft 写入的 `expected`,也不能把审核原文改写成官方规范。
|
|
39
40
|
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
|
|
17
17
|
哪些请求算提审意图、哪些只算目标方向,以 [shared execution](../../taptap-cli/references/shared-execution.md)「提审意图门禁」的唯一词表为准,本文件不另立清单;本节流程从“用户已明确提审”开始。
|
|
18
18
|
|
|
19
|
-
标准流程固定为:`prepare-review-snapshot` → `precheck-app-review` → 单独最终确认 → `submit-app-review --idempotency-key <submit-key> --yes
|
|
19
|
+
标准流程固定为:`prepare-review-snapshot` → `precheck-app-review` → 单独最终确认 → `submit-app-review --idempotency-key <submit-key> --yes`。**第 2、3 步必须传完全相同的 `release_schedule`**;第 1 步的入参只有 scope,不接受该字段(`additionalProperties: false`,多传即校验失败)。用 `version_id` 校验第 2、3 步仍在复核第 1 步的同一版本(`revision` 只有第 1 步返回)。当前 metadata 把前两步标为 `read`,无需 `--yes` 与幂等键;`submit-app-review` 仍为 `write`,需稳定幂等键与 `--yes`。CLI 不覆盖其风险分类。
|
|
20
20
|
|
|
21
21
|
发布前必须把“版本发布”和“平台分发状态”拆开处理:
|
|
22
22
|
|
|
23
23
|
- 调 `get-app-module` 并传 `{"module_id":"platform-status"}`,只筛选接口当次实际返回且可见的 `region_flag_*` 字段,读取各字段的 `current_value`、`value_labels` 和 `options`。
|
|
24
24
|
- 不要把同模块的 `app_platforms`、`itunes_id`、`steam_id` 当成分发状态入口,也不要预设游戏类型、包体方向与状态枚举之间的映射;工具未返回的入口不要猜测或补写。
|
|
25
|
-
- 使用 `value_labels[String(current_value)]` 逐项解释当前状态;不要把字段自身的 `label`
|
|
25
|
+
- 使用 `value_labels[String(current_value)]` 逐项解释当前状态;不要把字段自身的 `label` 当成状态文案。若任一可见分发状态入口是“敬请期待”,说明发布版本不会自动改变该入口;如需开放下载或游玩,应在提审前把该入口改为当前 options 中的可用值、随本次版本一起审核生效,并询问保留当前值还是调整。
|
|
26
26
|
- 用户选择修改时,先展示当前状态、目标状态、该字段动态 `options` 和影响,并执行带最新 `expected`、稳定 `--idempotency-key` 的 `save-changes --dry-run`。用户明确确认后复用同一个 key,去掉 `--dry-run` 并追加 `--yes` 写入;成功后重新读取 `platform-status`。
|
|
27
27
|
- 用户不修改时保留原值。执行 `submit-app-review --yes` 前必须再次读取 `platform-status`;若可见字段、当前值或 options 变化,废弃旧摘要并按最新结果重新确认。
|
|
28
28
|
|
|
@@ -30,61 +30,66 @@
|
|
|
30
30
|
|
|
31
31
|
#### 步骤 ① `prepare-review-snapshot`
|
|
32
32
|
|
|
33
|
-
进入步骤 ① 前,先按 [review risk checklist](review-risk-checklist.md)
|
|
33
|
+
进入步骤 ① 前,先按 [review risk checklist](review-risk-checklist.md) 输出本地风险清单,分开列出官方规则、当前事实、历史审核、测试证据和无法验证项;其中**资质确认**转 [taptap-qualification](../../taptap-qualification/SKILL.md)(见其「提审前资质确认」执行规则)。该清单不替代服务端 blocker,也不能把历史拒审写成官方规则。
|
|
34
34
|
|
|
35
|
-
然后确定本次上线方式,只允许 `{"kind":"immediate"}` 或 `{"kind":"scheduled_exact","release_time":<Unix秒>}
|
|
35
|
+
然后确定本次上线方式,只允许 `{"kind":"immediate"}` 或 `{"kind":"scheduled_exact","release_time":<Unix秒>}`;不传时沿用草稿设置。**步骤 ① 的 operation 只接受 scope,不接受这个字段**,所以此处只确定取值,到步骤 ② 才作为 `release_schedule` 传入。调用后:
|
|
36
36
|
|
|
37
|
-
- 用 `
|
|
37
|
+
- 用 `prepare-review-snapshot` 返回的 `changes` 和 `warnings` 向用户复核资料、包体、资质和风险提示;未填写与不适用要明确区分。
|
|
38
38
|
- 合并展示本地风险清单与服务端结果时保留来源;服务端结果优先,不能静默删除其 blocker 或 warning。
|
|
39
|
-
- `
|
|
40
|
-
-
|
|
41
|
-
- 保存 `review_snapshot.fingerprint`,后续作为 `review_fingerprint` 原样传递,禁止自行生成或修改。
|
|
39
|
+
- `prepare-review-snapshot` 返回的 `warnings` 非空时,说明当前无法确认的风险事实,不能把它们当作已通过。
|
|
40
|
+
- 保存本次返回的 `revision` 和 `version_id`,后续两步用它校验复核对象未漂移;禁止自行生成或修改。(`preaudit_passed` / `blockers` 不在本步的返回里,属于步骤 ②。)
|
|
42
41
|
|
|
43
42
|
#### 步骤 ② `precheck-app-review`
|
|
44
43
|
|
|
45
|
-
|
|
44
|
+
传入完全相同的 `release_schedule`。`precheck-app-review` 返回 `blockers` 非空 或 `preaudit_passed === false` 时,向用户逐项展示 `blockers`(阻塞,提交会被服务端拒绝)与 `warnings`(风险提示),并询问是否继续。预检是**可跳过**的:用户明确「强制提交」时允许进入步骤 ③ 执行 `submit-app-review`,由服务端做最终校验裁决;未明确时建议先修复 `blockers`。
|
|
46
45
|
|
|
47
|
-
|
|
46
|
+
向用户展示预检结果时保留业务语义,不直接回显字段名或布尔值。正式预检通过(`preaudit_passed === true`)、且没有阻断项(`blockers` 为空)时,固定输出:
|
|
48
47
|
|
|
49
48
|
- 阻塞项:无
|
|
50
49
|
- 提交状态:可提交审核
|
|
51
50
|
|
|
52
|
-
`
|
|
51
|
+
`preaudit_passed === false`(机审未通过)时,仍输出「阻塞项:无」「提交状态:可提交审核」,但**必须同时说明「内容预审未通过:不阻断提交,但提交后可能被审核驳回」**并逐项展示 `PREAUDIT` warnings——「可提交」与「机审未过」两者要同时说清,不能只报其一。
|
|
52
|
+
|
|
53
|
+
`preaudit_passed` 只用于内部流程判断,不得向用户原样输出 `Blocker`、`preaudit_passed=true` 等机器字段。存在阻断项时,逐项展示服务端返回的阻断原因,不得输出“可提交审核”;用户明确「强制提交」时说明提交可能被服务端拒绝,允许继续。
|
|
53
54
|
|
|
54
55
|
| 返回 | 含义 | 处理 |
|
|
55
56
|
| --- | --- | --- |
|
|
56
|
-
| `
|
|
57
|
-
| `
|
|
58
|
-
| `
|
|
59
|
-
| `
|
|
60
|
-
| `
|
|
61
|
-
| `SUBMIT_REVIEW_REQUIRED` / `SUBMIT_REVIEW_STALE` | 缺少复核或复核后事实变化 | 回到步骤 ①重新生成快照并复核,禁止复用旧指纹 |
|
|
57
|
+
| `blockers` 非空 | 存在阻断项 | 逐项展示阻断原因(提交会被服务端拒绝),询问是否「强制提交」;用户确认时允许进入步骤 ③ |
|
|
58
|
+
| `preaudit_passed === false` | 机审未通过 | 展示 `PREAUDIT` warnings,说明「不阻断提交,但提交后可能被审核驳回」;询问是否继续 |
|
|
59
|
+
| `warnings` 非空 | 有风险提示 | 展示 `warnings`,询问"是否继续提交?" |
|
|
60
|
+
| `preaudit_passed === true` 且 `blockers` 为空 | 可提交 | 等待最终提交确认 |
|
|
61
|
+
| `version_id` 与步骤 ① 不一致 | 复核后版本已变化 | 回到步骤 ①重新生成快照并复核,禁止沿用旧快照 |
|
|
62
62
|
| 顶层 `ok: false` | 工具失败 | 按 `error.type` / `error.subtype` 告知失败,停止;业务成功或状态读取当前 operation 已声明字段 |
|
|
63
63
|
|
|
64
64
|
#### 步骤 ③ `submit-app-review`
|
|
65
65
|
|
|
66
|
+
步骤 ② 预检是**可跳过**的:`preaudit_passed === true` 且 `blockers` 为空时可直接提交;否则向用户展示卡点后,用户明确「强制提交」仍可进入本步执行 `submit-app-review`,最终由服务端校验(`blockers` 拒绝 / `warnings` 不拒)裁决。
|
|
67
|
+
|
|
66
68
|
参数:
|
|
67
69
|
|
|
68
|
-
-
|
|
70
|
+
- 复用步骤 ②的同一个 `release_schedule`;`version_id` 与第一步不一致时回到步骤 ①。
|
|
69
71
|
- 传与前两步一致的 `release_schedule`;精确定时的 `release_time` 必须是 Unix 秒。
|
|
70
72
|
- 精确定时上线时间必须 **≥ 当前时间 + 6 小时**(这是 taptap-cli 与 tds-dc 共同遵循的**前端校验**约定,不是后端硬约束;BFF 在 `submit-core` 自校验后再调后端)。
|
|
71
|
-
- 若步骤
|
|
73
|
+
- 若步骤 ①返回的 `warnings` 非空,必须展示无法确认的事实。`submit-app-review` 只接受 `release_schedule`,不能补造本地 flag 或请求字段;`--yes` 不代表已核对。
|
|
72
74
|
|
|
73
|
-
|
|
75
|
+
《创意工坊内容授权协议》由 `analyze-app-status` 提前暴露,**不要在 precheck 时才处理**:
|
|
74
76
|
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
77
|
+
- 关卡 / TapTap 制造游戏(`isLevel || isTapMaker`)未签署时,`analyze-app-status` 返回 `SCE_AGREEMENT_REQUIRED` blocker(含协议 url)。体检阶段就要引导签约,不要等到提审卡控。
|
|
78
|
+
- 展示协议:名称《创意工坊内容授权协议》,url `https://www.taptap.cn/doc/ugcgame-agreement`。
|
|
79
|
+
- 用户在当前对话明确同意后,调 `taptap-cli app agree-sce-agreement --app-id <appId> --dev-id <developerId> --yes` 签署,再重查 `analyze-app-status` 确认 blocker 消失。
|
|
80
|
+
- 用户不愿用 CLI 签时,给协议 url 引导去开发者后台签约,签完回来重查。
|
|
81
|
+
- `--yes` 只确认签署动作,不代表用户已同意协议;签署前必须用户明确同意,不得自行声称已同意。
|
|
82
|
+
- 签署失败或协议状态无法确认时停止,不继续调用提审;向用户说明工具返回的错误。
|
|
83
|
+
- `submit-app-review` 仍会做最终卡控(未签署 → 拒绝提交);签约后该卡控自动通过。
|
|
84
|
+
- 若 `version_id` 与步骤 ① 不一致,回到步骤 ①,不得用旧快照重试。
|
|
80
85
|
|
|
81
86
|
询问上线方式:"立即上线"还是"精确定时上线"。**草稿已有受支持的上线方式设置时优先沿用,不要重复询问**(从 `release-settings` 模块读取当前 `release_schedule`)。
|
|
82
87
|
|
|
83
|
-
**用户说"今晚 10 点发布 / 帮我定到明早 9 点 / X 时间上线"**——把换算后的 `release_schedule={"kind":"scheduled_exact","release_time":<Unix秒>}` 从步骤
|
|
88
|
+
**用户说"今晚 10 点发布 / 帮我定到明早 9 点 / X 时间上线"**——把换算后的 `release_schedule={"kind":"scheduled_exact","release_time":<Unix秒>}` 从步骤 ② 开始传入两步,不要先提审通过再去单独设时间。用户说"2026 年 Q4 / 暑期 / 春节前后"这类非精确档期时,说明当前链路只支持精确时间或立即上线,要求补充具体时间或选择立即上线。
|
|
84
89
|
|
|
85
90
|
**相对时间表达必须先取精确时间再换算**:当用户说"5 小时后 / N 小时后 / 明早 9 点 / 今晚 10 点"等相对时间或仅含时分的表达时,使用本地系统时间(Asia/Shanghai)换算成 Unix 秒传给 `submit-app-review`;如果无法可靠取得当前时分秒,就要求用户给绝对时间。不要凭空估算时分。
|
|
86
91
|
|
|
87
|
-
成功后告知"已成功提交审核,请耐心等待审核结果,通常 1-3 个工作日",并附最新读回的各可见 `region_flag_*`
|
|
92
|
+
成功后告知"已成功提交审核,请耐心等待审核结果,通常 1-3 个工作日",并附最新读回的各可见 `region_flag_*` 分发状态。仍为“敬请期待”的入口要说明:本次提交未调整该入口,发布后它仍会保持“敬请期待”;如需开放下载或游玩,请在下一轮提审前先调整对应分发状态。这不代表发布失败。
|
|
88
93
|
|
|
89
94
|
最后按 shared execution 的“运营阶段手册交接”补充一个后续运营入口和一句官方描述摘要;进入提审链路时先用 `list-app-versions --page-all` 读取完整发布历史并保存本次证据,作为后续阶段判定的输入。提审成功本身不能证明运营阶段,历史不完整或证据冲突时只给快速入门总入口。
|
|
90
95
|
|
|
@@ -102,25 +107,25 @@
|
|
|
102
107
|
|
|
103
108
|
#### G-1. 撤销审核 → `withdraw-app-review`
|
|
104
109
|
|
|
105
|
-
用户场景:"撤回审核 / 不上了 / 改一下再提"——当前 `status=
|
|
110
|
+
用户场景:"撤回审核 / 不上了 / 改一下再提"——当前 `status="reviewing"`(审核中)时。
|
|
106
111
|
|
|
107
|
-
先 `withdraw-app-review --dry-run` 或展示动作影响;用户明确确认后追加 `--yes` 执行。成功后版本回到 `
|
|
112
|
+
先 `withdraw-app-review --dry-run` 或展示动作影响;用户明确确认后追加 `--yes` 执行。成功后版本回到 `status="draft"`(草稿),可继续 `save-changes`。
|
|
108
113
|
|
|
109
114
|
#### G-2. 撤销定时上线 → `cancel-scheduled-release` ⚠️ 文案陷阱
|
|
110
115
|
|
|
111
|
-
用户场景:"撤销定时 / 不定时了"——当前 `status=
|
|
116
|
+
用户场景:"撤销定时 / 不定时了"——当前 `status="scheduled"`(待上线)时。
|
|
112
117
|
|
|
113
118
|
先 `cancel-scheduled-release --dry-run` 或展示动作影响;用户明确确认后追加 `--yes` 执行。成功后**后端 status 会变成 `2`(与"审核失败"复用同一状态值)**,但业务事件是"撤销定时"。
|
|
114
119
|
|
|
115
120
|
<critical>
|
|
116
|
-
告知用户时**禁止**复述"已变更为审核失败 / status=2"
|
|
121
|
+
告知用户时**禁止**复述"已变更为审核失败 / status=2"(原始值 2 与"审核失败"复用,归一化后表现为 `status="rejected"`)。统一说"已撤销定时上线,可以修改后重新提审"。
|
|
117
122
|
工具返回 `last_event='schedule_cancelled'`、归一化的 `status`、`version_id`、`revision` 和已清除的 `release_time`;业务文案以 `last_event` 为准,不把 `status='rejected'` 误报成审核失败。
|
|
118
123
|
通过当前版本的 `logs` 区分 `schedule_cancelled` 与 `review_rejected`;日志缺失或事件为 `unknown` 时才报告“审核历史无法确认”。
|
|
119
124
|
</critical>
|
|
120
125
|
|
|
121
126
|
#### G-3. 修改定时时间 → `reschedule-release`
|
|
122
127
|
|
|
123
|
-
用户场景:"改一下上线时间 / 推迟 2 天 / 提前到明早"——**当前 `status=
|
|
128
|
+
用户场景:"改一下上线时间 / 推迟 2 天 / 提前到明早"——**当前 `status="scheduled"`(待上线)时**。
|
|
124
129
|
|
|
125
130
|
参数与 `submit-app-review` 的定时分支同构:只传 Unix 秒形式的 `release_time`;必须 ≥ 当前+6 小时。用户给的是绝对或相对时间表达(如「N 小时后」)时,使用本地系统时间换算为 Unix 秒;无法可靠换算时要求用户给绝对时间。
|
|
126
131
|
|
|
@@ -133,7 +138,7 @@
|
|
|
133
138
|
用户报告“定时到了还没上线”时:
|
|
134
139
|
|
|
135
140
|
1. 用 `list-app-versions` 重新读取当前版本;状态已经是 `4` 时说明平台已发布,再读取 `platform-status` 报告分发入口状态。
|
|
136
|
-
2. 只有当前仍为 `status=
|
|
141
|
+
2. 只有当前仍为 `status="scheduled"` 且 `release_time <= 当前时间` 时,才可展示“将立即把待上线版本发布为线上版本”的影响,并用稳定 key 执行 `publish-scheduled-release --dry-run`。
|
|
137
142
|
3. 用户明确确认后复用同一 key,加 `--yes` 执行;成功后重新读取版本和 `platform-status`,确认状态为已上线并报告各分发入口。
|
|
138
143
|
- 按 shared execution「运营阶段手册交接」用提审前保存的历史证据判定运营阶段;缺少前置快照时使用快速入门总入口。
|
|
139
144
|
4. `release_time` 尚未到、状态已变化或无法确认时间时停止;如需改变计划,按前置使用 `reschedule-release` 或 `cancel-scheduled-release`,不得绕过状态门禁。
|
|
@@ -142,7 +147,7 @@
|
|
|
142
147
|
|
|
143
148
|
#### G-5. 重置为线上版本 → `reset-draft` ⚠️ 不可逆
|
|
144
149
|
|
|
145
|
-
用户场景:"这一版改乱了 / 重来 / 回到线上那一版重新改"——当前 `status
|
|
150
|
+
用户场景:"这一版改乱了 / 重来 / 回到线上那一版重新改"——当前 `status` 为 `"draft"` 或 `"rejected"` 且**存在线上版本**。
|
|
146
151
|
|
|
147
152
|
⚠️ **不可逆**:当前 draft 相对线上版本的所有未发布改动都会丢失(包括已保存到草稿但尚未发布的内容;用户的"草稿里改了一半"不会被保留)。底层实现是 `delete + create` 两步组合,**非原子**——第二步失败会留下无 unpublished 的中间态,由下方「失败恢复」段的重试 + `create-draft` 兜底。
|
|
148
153
|
|
|
@@ -219,7 +224,7 @@ taptap-cli app get-app-version \
|
|
|
219
224
|
|
|
220
225
|
1. 按 [skill analysis](app-edit-analysis.md) 读取当前状态与阻断项
|
|
221
226
|
2. 只处理当前可填字段(按 `get-app-module` 的 visibility 过滤)
|
|
222
|
-
3. 能批量的尽量一次 `save-changes`(每批 ≤
|
|
227
|
+
3. 能批量的尽量一次 `save-changes`(每批 ≤10 字段)
|
|
223
228
|
4. 修改后重新读取受影响模块,并按 skill analysis 确认进度
|
|
224
229
|
5. 满足条件再进入预审
|
|
225
230
|
|
|
@@ -268,5 +273,5 @@ taptap-cli app get-app-version \
|
|
|
268
273
|
- **"发布资料" ≠ "直接提交审核"**
|
|
269
274
|
- **“正式上线” ≠ “提交审核”**:正式上线只确认目标阶段,不授权调用提审工具
|
|
270
275
|
- 先判断目标阶段,再决定要补哪些资料、是否需要调整 `release_schedule`
|
|
271
|
-
-
|
|
276
|
+
- 发布版本不会自动改变分发入口状态;用户确认前和发布结果中都要逐项说明工具返回且可见的 `region_flag_*` 实际状态
|
|
272
277
|
- 用户未明确目标时,先做意图采集;不要让用户在不知道差异和目标的情况下直接过 approval
|