@ttmg/cli 0.4.6-vibe-beta.10 → 0.4.6-vibe-beta.13

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttmg/cli",
3
- "version": "0.4.6-vibe-beta.10",
3
+ "version": "0.4.6-vibe-beta.13",
4
4
  "description": "TikTok Mini Game Command Line Tool",
5
5
  "license": "ISC",
6
6
  "bin": {
@@ -126,6 +126,11 @@ const capabilitiesResult = runCli(['capabilities', '--format', 'json']);
126
126
  assertExit(capabilitiesResult, 0, 'capabilities');
127
127
  const capabilities = parseSingleJson(capabilitiesResult, 'capabilities');
128
128
  assert.equal(capabilities.command, 'capabilities');
129
+ assert.match(capabilities.commands.vibeUpload.command, /--vibe --web/);
130
+ assert.equal(capabilities.commands.vibeUpload.skillWorkflow.keepUploadProcessRunning, true);
131
+ assert.equal(capabilities.commands.vibeUpload.skillWorkflow.realUploadSuccess.simulation, false);
132
+ assert.equal(capabilities.commands.vibeUpload.appInfoFields.defaultedByCli.includes('privacy_policy'), true);
133
+ assert.equal(packageJson.files.includes('vibe-upload.md'), true);
129
134
  assert.equal(capabilities.structuredOutput.stdoutProtocolOnly, true);
130
135
  assert.equal(capabilities.commands.check.platformWrite, false);
131
136
  assert.equal(capabilities.commands.check.ai.option, '--ai');
@@ -388,6 +393,9 @@ const uploadHelp = runCli(['upload', '--help']);
388
393
  assert.doesNotMatch(uploadHelp.stdout, /--app-info/);
389
394
  assert.match(uploadHelp.stdout.replace(/\s+/g, ' '), /only title and icon|只收集标题和头像/);
390
395
  assertExit(uploadHelp, 0, 'upload help');
396
+ assert.match(uploadHelp.stdout, /--vibe --web --dir/);
397
+ assert.match(uploadHelp.stdout, /authorizationOpenCommand/);
398
+ assert.match(uploadHelp.stdout, /simulation=false/);
391
399
  assert.match(uploadHelp.stdout, /--preview\b/);
392
400
  assert.match(uploadHelp.stdout, /--serve-preview-page\b/);
393
401
  assert.match(uploadHelp.stdout, /--no-open\b/);
@@ -104,7 +104,8 @@ function events(result) {
104
104
  if (event.mode === 'vibe') {
105
105
  assert.deepEqual(event.inputRequirements.requiredUserInputs, ['title', 'icon']);
106
106
  assert.equal(event.inputRequirements.requestAdditionalMetadata, false);
107
- assert.equal(event.inputRequirements.additionalMetadataSource, 'platform-defaults');
107
+ assert.equal(event.inputRequirements.additionalMetadataSource, 'cli-defaults');
108
+ assert.equal(event.inputRequirements.defaultMetadataProfile, 'ppe-trial');
108
109
  }
109
110
  return event;
110
111
  });
@@ -191,8 +192,14 @@ async function main() {
191
192
  assert.equal(info.import_token, 'process-test-secret');
192
193
  assert.equal(info.app_info.icon_uri, 'web-icon-receipt');
193
194
  assert.equal(info.app_info.app_name, input[input.indexOf('--title') + 1]);
194
- assert.deepEqual(Object.keys(info.app_info).sort(), ['app_name', 'icon_uri'],
195
- 'Default uploads must leave other metadata to platform defaults');
195
+ assert.deepEqual(info.app_info, {
196
+ description: 'DevTool PPE integration test fixture. Not a production game.',
197
+ category: 'Other', subcategory: 'Other',
198
+ terms_of_service: 'https://www.tiktok.com',
199
+ privacy_policy: 'https://www.tiktok.com',
200
+ copyright_confirmation: true, contact_email: 'devtool-test@example.invalid',
201
+ app_name: input[input.indexOf('--title') + 1], icon_uri: 'web-icon-receipt',
202
+ }, 'CLI must send complete PPE trial defaults without asking the user for them');
196
203
  } else {
197
204
  assert.match(req.headers['content-type'], /^multipart\/form-data; boundary=/);
198
205
  assert.match(body.toString(), /name="task_id"\r\n\r\n7684370037737553941\r\n/);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttmg/cli",
3
- "version": "0.4.6-vibe-beta.10",
3
+ "version": "0.4.6-vibe-beta.13",
4
4
  "description": "TikTok Mini Game Command Line Tool",
5
5
  "license": "ISC",
6
6
  "bin": {
package/vibe-upload.md CHANGED
@@ -2,35 +2,51 @@
2
2
 
3
3
  ## 中文
4
4
 
5
+ 自 `0.4.6-vibe-beta.13` 起,默认服务条款 `terms_of_service` 与隐私政策 `privacy_policy` 均提交 `https://www.tiktok.com`,替换原占位地址。
6
+
7
+ 默认资料修复已在 `0.4.6-vibe-beta.11` 发布:CLI 自动补齐此前跑通的 PPE 试用资料,用户只提供标题和头像。beta.10 仅修改了输入提示,没有自动补齐字段,真实基础信息提交会被拒绝。
8
+
5
9
  本次范围:本地准备 → 授权绑定 → 上传头像 → 提交应用信息 → 上传代码包 → 上传完成。不包含预览、审核或正式发布。`--web` 使用真实 PPE 授权和上传;`--mock` 的授权与素材上传仍为模拟。网页授权后自动上传的修复已在 `0.4.6-vibe-beta.9` 发布;用户输入要求已在 `0.4.6-vibe-beta.10` 修正。
6
10
 
7
- ### 博华如何接入
11
+ ### Web 上传入口
8
12
 
9
- 继续使用 `--mock`,无需本地环境配置。CLI 内置 `ppe_op_vc` 创建任务,展示授权二维码,并查询三次真实状态;之后模拟授权和头像/信息/代码包上传。二维码可用于查看端内授权页,不要求完成授权。真实请求失败仍报错,素材不会上传到 PPE。上线时由 CLI 版本去掉 PPE 路由,Skill 不负责切换环境。
13
+ 真实授权和上传使用 `--web`。安装 `vibe-beta` 标签对应的版本,再用 `ttmg --version` 核对实际执行版本。`beta` 是另一个发布标签,不能用它判断 Web 链路是否包含最新修复。无需设置 PPE 环境变量或预先执行 `ttmg login`;用户在本次浏览器授权页完成授权。
10
14
 
11
15
  Skill 只引导开发者准备游戏名称、本地头像和工程,然后调用 CLI、读取结构化状态。不调用平台接口、不保存 Token、不自行轮询、不增加名称头像表单。
12
16
 
13
17
  Skill 固定调用:
14
18
 
15
19
  ```sh
16
- ttmg upload --vibe --mock --dir ./game --title "星环守卫" --icon ./avatar.png --format ndjson
20
+ npm install -g @ttmg/cli@vibe-beta
21
+ ttmg --version
22
+ ttmg capabilities --format json
23
+ ttmg upload --vibe --web --dir ./game --title "星环守卫" --icon ./avatar.png --format ndjson
17
24
  ```
18
25
 
19
- 未安装本地构建时,以 `node /绝对路径/cli/dist/index.js` 替换 `ttmg`。已调通的步骤接真实接口、未调通的步骤继续模拟,由 CLI 内部维护;Skill 不跟着 HTTP 字段和联调环境变化。
26
+ Skill 启动一次命令并持续读取 NDJSON。宿主工具返回会话 ID 时,继续读取同一进程;等待用户授权期间不终止、不重启,也不再调用第二次上传。`--web` 全程使用真实授权和上传;`--mock` 仅用于下方单独列出的演示。
20
27
 
21
28
  可先检查素材,不创建 task、不打开页面:
22
29
 
23
30
  ```sh
24
- ttmg upload --vibe --dir ./game --title "星环守卫" --icon ./avatar.png --dry-run --format json
31
+ ttmg upload --vibe --web --dir ./game --title "星环守卫" --icon ./avatar.png --dry-run --format json
25
32
  ```
26
33
 
27
34
  已有 ZIP 时,用 `--package ./game.zip` 替换 `--dir ./game`。名称和头像必须由开发者提供;演示脚本中的临时样本不作为产品默认素材。
28
35
 
29
36
  ### 用户需要提供什么
30
37
 
31
- **只收集游戏标题和本地头像,并使用当前游戏目录或代码包。** 描述、分类、服务条款、隐私政策、版权确认及其他应用资料由平台默认处理,Skill 不向用户索要,也不生成资料表单或自行补值。
38
+ **只收集游戏标题和本地头像,并使用当前游戏目录或代码包。** 描述、分类、服务条款、隐私政策、版权确认及其他应用资料由 CLI 使用既有 PPE 试用默认值补齐,Skill 不向用户索要,也不生成资料表单或自行补值。
39
+
40
+ 能力查询和上传事件均返回 `inputRequirements`:`requiredUserInputs=["title","icon"]`、`additionalMetadataSource="cli-defaults"`、`requestAdditionalMetadata=false`。`--app-info` 仅兼容旧调用,当前流程不使用。
32
41
 
33
- 能力查询和上传事件均返回 `inputRequirements`:`requiredUserInputs=["title","icon"]`、`additionalMetadataSource="platform-defaults"`、`requestAdditionalMetadata=false`。`--app-info` 仅兼容旧调用,当前流程不使用。
42
+ CLI 在 `app_info` 请求中自动带上 `description`、`category`、`subcategory`、`terms_of_service`、`privacy_policy`、`copyright_confirmation`、`contact_email`,再填入用户标题和真实上传头像 URI。默认资料标识为 `ppe-trial`;命令中没有这些参数,不代表请求里没传。能力查询的 `appInfoFields.defaultedByCli` 列出默认字段。
43
+
44
+ ### Skill 执行顺序
45
+
46
+ 1. 调用上方 `--web --format ndjson` 命令;本地预检可先加 `--dry-run`。
47
+ 2. 收到 `waiting_authorization`,提示用户在系统浏览器完成授权,保持原进程运行。
48
+ 3. 收到 `uploading`,按 `uploadStep` 展示 `avatar`、`app_info`、`package` 进度。授权轮询和上传由 CLI 完成。
49
+ 4. 收到 `terminal=true`、`status=uploaded`、`uploaded=true`、`simulation=false`,确认真实上传完成。`failed`、`cancelled` 或进程中断按下方失败说明处理。
34
50
 
35
51
  ### Skill 读取什么
36
52
 
@@ -56,6 +72,8 @@ ttmg auth open --page-url <pageUrl> --format json
56
72
 
57
73
  命令通过临时本地页面跳转到后端原始 `landing_url`,不使用 `aweme://`,不新建任务或上传文件。凭证只留在上传进程与页面服务中,不输出到 Skill 或放进命令参数。原上传进程继续轮询,授权成功与否以其 `readyForInput` 为准。
58
74
 
75
+ `pageUrl` 是本机绑定/上传进度页,不是平台原始授权页。`authorizationOpenCommand` 是重新打开同一任务授权页的入口;正常情况下 `--web` 已经自动打开,无需重复执行。`browserOpenRequested=true` 只代表发起打开浏览器,不能据此判定授权成功。两种页面入口都依赖原上传进程,不能把本机链接发给另一台电脑使用。
76
+
59
77
  成功返回 `status=open_requested`、`browserOpenRequested=true`、`platformWrite=false`,只表示已请求系统浏览器打开。页面过期、流程结束或没有可用真实授权地址时,返回 `VIBE_AUTH_PAGE_UNAVAILABLE`;URL 输入错误返回 `VIBE_INVALID_PAGE_URL`,浏览器启动失败返回 `VIBE_BROWSER_OPEN_FAILED`。不得因打开失败而自动创建新任务。
60
78
 
61
79
  命令在 CLI 所在电脑执行;远程机器不会打开开发者电脑的浏览器。二维码原路径和 `--mock` 自动推进逻辑保持不变;真实网页授权与上传使用 `--web`。
@@ -103,13 +121,13 @@ ttmg upload --vibe --package ./game.zip --title "测试游戏" --icon ./avatar.p
103
121
  | icon-failed / info-failed / upload-failed | 在对应上传步骤失败,uploadStep 指明位置 |
104
122
  | processing | 包已上传,后端状态仍为 PROCESSING;CLI 返回 uploaded,不等 SUCCEEDED |
105
123
 
106
- Mock 的 denied 是交互测试场景,真实端内拒绝授权如何映射错误仍待后端确认。Mock 不请求任何远端,不更改平台登录态,不创建真实应用。
124
+ Mock 的 denied 是交互测试场景,真实端内拒绝授权如何映射错误仍待后端确认。独立离线测试通过注入传输实现;用户执行的 `--mock` 会真实创建并查询 PPE 任务,但不调用真实素材上传接口。
107
125
 
108
126
  轮询间隔使用创建任务返回的 `poll_interval_seconds`,第三次真实查询后模拟授权。`--poll-interval` 仅用于覆盖测试间隔。`--timeout` 是整体超时,默认 300 秒。不自动重试写接口、不实现跨进程续传。
109
127
 
110
128
  ### 页面与素材
111
129
 
112
- 同一电脑本地页依次显示授权绑定码、上传进度、上传完成;失败时清除授权码并显示失败原因。没有完成后的预览码、发布按钮或名称头像表单。结构化输出不自动打开浏览器,Skill 用 pageUrl 打开 Codex 右侧预览或浏览器;文本输出默认打开,`--no-open` 可关闭。
130
+ 同一电脑本地页显示绑定状态、上传进度、上传完成;二维码模式显示授权绑定码,Web 模式在系统浏览器完成授权。失败时清除授权码并显示失败原因。`--web` 在 text、JSON、NDJSON 格式下均自动打开授权页;其他模式只有 text 默认打开本地页,可用 `--no-open` 关闭。Skill 可用 `pageUrl` 展示本地进度页。
113
131
 
114
132
  页面只监听 127.0.0.1,二维码才由手机扫描,手机不访问 pageUrl。默认 15 分钟后关闭,内容驻留内存;测试可设置 `TTMG_VIBE_PAGE_TTL_MS`(1—900000)。取消进程会关闭页面;成功与可显示的失败页面保留至到期。不要分享本地页面地址。
115
133
 
@@ -141,7 +159,7 @@ TTMG_VIBE_BACKEND=local-http TTMG_VIBE_API=http://127.0.0.1:3100 ttmg upload --v
141
159
 
142
160
  **v1 → v2 兼容性变化**:旧 UUID 换 Token 的三接口协议废弃,`--vibe-authorize-url` 返回明确错误;授权地址来自 landing_url。不再输出 preview_ready、game_preview、uploadId、reviewStatus。Skill 必须校验 schemaVersion=2,并按新终态处理。普通不带 --vibe 的 upload 不变。
143
161
 
144
- 2026-09-14 已核对 BFF 源码:头像 PNG/JPEG、1024×1024、5 MiB;Native ZIP 和解压总大小上限 100 MiB。本地暂未实现完整 ZIP 内容及解压总大小校验。待真实联调验证:网关包体透传、TOS 权限、手机 OAuth 授权与上传回执。后端接口调整留在适配层处理;若用户动作或成功语义改变,应协商升级 CLI schema。
162
+ 2026-09-14 已核对 BFF 源码:头像 PNG/JPEG、1024×1024、5 MiB;Native ZIP 和解压总大小上限 100 MiB。本地暂未实现完整 ZIP 内容及解压总大小校验。2026-09-15 修复构建使用自有测试素材跑通真实 PPE 网页授权、头像、默认资料和代码包上传;该验证不覆盖全部游戏、手机授权或正式环境。后端接口调整留在适配层处理;若用户动作或成功语义改变,应协商升级 CLI schema。
145
163
 
146
164
  ### 验证
147
165
 
@@ -151,31 +169,47 @@ TTMG_VIBE_BACKEND=local-http TTMG_VIBE_API=http://127.0.0.1:3100 ttmg upload --v
151
169
 
152
170
  ## English
153
171
 
154
- ### Skill entry
172
+ Starting with `0.4.6-vibe-beta.13`, the default `terms_of_service` and `privacy_policy` URLs are both `https://www.tiktok.com`, replacing the previous placeholders.
173
+
174
+ The default-metadata fix shipped in `0.4.6-vibe-beta.11`. The CLI fills the existing PPE trial metadata automatically; users provide only title and icon. Beta.10 changed input guidance without filling the fields, and its real app-info submission was rejected.
175
+
176
+ ### Web upload entry
155
177
 
156
178
  Scope: local preparation → authorization binding → avatar upload → app-info submission → package upload → **upload complete**. No preview, review or production release. `--web` uses real PPE authorization and uploads; `--mock` still simulates authorization and material uploads.
157
179
 
158
180
  Automatic upload was fixed in `0.4.6-vibe-beta.9`; the user-input clarification ships in `0.4.6-vibe-beta.10`.
159
181
 
160
- Keep the existing --mock command; no environment setup is required:
182
+ Use `--web` for real authorization and upload. Install `vibe-beta` and check the executable with `ttmg --version`. The separate `beta` tag does not identify the latest Web fixes. No PPE environment variables or prior `ttmg login` are required; the user authorizes in the browser for this task.
161
183
 
162
184
  ```sh
163
- ttmg upload --vibe --mock --dir ./game --title "My game" --icon ./avatar.png --format ndjson
185
+ npm install -g @ttmg/cli@vibe-beta
186
+ ttmg --version
187
+ ttmg capabilities --format json
188
+ ttmg upload --vibe --web --dir ./game --title "My game" --icon ./avatar.png --format ndjson
164
189
  ```
165
190
 
166
- Use `--package ./game.zip` instead of --dir for a prepared ZIP. Use `--dry-run --format json` for local preparation only. When running a source build, replace ttmg with `node /absolute/path/cli/dist/index.js`. Explicit --mock or --vibe-api overrides environment selection; an unconfigured backend fails instead of silently simulating.
191
+ Use `--package ./game.zip` instead of `--dir` for an existing ZIP. Add `--dry-run --format json` to the Web command for local preparation only; it creates no task and opens no browser.
167
192
 
168
- The Skill gathers the title and user-selected local icon in conversation. It does not call backend APIs, store credentials, poll services, or introduce a metadata form. The CLI internally connects working steps to PPE and simulates the remaining steps. Removing PPE at production launch is a CLI release change, not a Skill configuration step.
193
+ Start one command and keep reading its NDJSON. If the host tool returns a session ID, keep reading that same process while the user authorizes. Do not stop, restart or launch another upload. `--web` uses real authorization and uploads throughout; `--mock` is the separate demo mode below. The Skill does not call platform APIs, store credentials or add a metadata form.
169
194
 
170
195
  ### User inputs
171
196
 
172
- **Collect only the game title and local icon, using the current game directory or ZIP.** The platform defaults all other app metadata. Do not request extra fields, add a form or invent values.
197
+ **Collect only the game title and local icon, using the current game directory or ZIP.** The CLI fills other app metadata with existing PPE trial defaults. Do not request extra fields, add a form or invent values.
173
198
 
174
- Capabilities and upload events include `inputRequirements` with `requiredUserInputs=["title","icon"]`, `additionalMetadataSource="platform-defaults"` and `requestAdditionalMetadata=false`.
199
+ Capabilities and upload events include `inputRequirements` with `requiredUserInputs=["title","icon"]`, `additionalMetadataSource="cli-defaults"` and `requestAdditionalMetadata=false`.
175
200
 
176
201
  The `--app-info` option remains for legacy callers only; the current workflow does not use it.
177
202
 
178
- Source checked on 2026-09-14: BFF enforces these icon limits and a 100 MiB Native ZIP/uncompressed-size limit. Full local ZIP-content/uncompressed-size validation is not implemented. Gateway transport, TOS access, phone OAuth and upload receipts still require real integration testing.
203
+ The CLI submits `description`, `category`, `subcategory`, `terms_of_service`, `privacy_policy`, `copyright_confirmation` and `contact_email` inside `app_info`, together with the user title and uploaded icon URI. The profile is `ppe-trial`; missing command-line arguments do not mean missing request fields. Capabilities list the defaults under `appInfoFields.defaultedByCli`.
204
+
205
+ Source checked on 2026-09-14: BFF enforces PNG/JPEG, 1024×1024, 5 MiB icons and a 100 MiB Native ZIP/uncompressed-size limit. Full local ZIP-content/uncompressed-size validation is not implemented. On 2026-09-15, a corrected build completed real PPE web authorization and icon, default app-info and package uploads with owned test fixtures. This does not cover every game, phone authorization or production.
206
+
207
+ ### Skill execution order
208
+
209
+ 1. Run the `--web --format ndjson` command above; optionally precheck with `--dry-run`.
210
+ 2. At `waiting_authorization`, ask the user to authorize in the system browser and keep the process running.
211
+ 3. At `uploading`, display `uploadStep`: `avatar`, `app_info`, then `package`. The CLI owns polling and uploads.
212
+ 4. Confirm real completion only when `terminal=true`, `status=uploaded`, `uploaded=true`, `simulation=false`. Handle failure, cancellation or interruption as described below.
179
213
 
180
214
  ### Output and decisions
181
215
 
@@ -206,6 +240,8 @@ Credentials stay inside the uploader/page worker, not in Skill output or command
206
240
  arguments. The original uploader keeps polling; its `readyForInput` determines
207
241
  authorization readiness.
208
242
 
243
+ `pageUrl` is the local binding/upload-progress page, not the original platform authorization URL. To reopen authorization for the same task, execute `authorizationOpenCommand`. Normally `--web` has already opened it. `browserOpenRequested=true` only confirms the open request, not authorization. Both page entry points depend on the original uploader and the CLI computer; do not send localhost links to another computer.
244
+
209
245
  Success reports `status=open_requested`, `browserOpenRequested=true`, and
210
246
  `platformWrite=false`; it does not mean authorization succeeded. Expired,
211
247
  completed, or unavailable authorization pages return `VIBE_AUTH_PAGE_UNAVAILABLE`;
@@ -255,10 +291,10 @@ The five endpoint contracts are listed in the table above. Mock and loopback HTT
255
291
 
256
292
  A business-success response requires error_info.code=0. Package completion additionally requires package_uri and a valid non-failure status; no polling until SUCCEEDED. No platform Cookies or redirects are used. Configure TTMG_VIBE_BACKEND=local-http plus TTMG_VIBE_API=http://127.0.0.1:3100, or pass --vibe-api explicitly; this option rejects remote hosts.
257
293
 
258
- For internal PPE integration, set TTMG_VIBE_BACKEND=ppe and TTMG_VIBE_PPE=ppe_op_vc without changing the Skill command. This uses real creation/polling on developers.tiktok.com and encodes the QR as aweme://webview?url=<encodeURIComponent(landing_url)>. The phone must use the same lane. OAuth is not bypassed or simulated. After authorization, the CLI uploads the icon, submits the title and icon URI, and uploads the package. Other app metadata uses platform defaults. The regular --web entry configures PPE internally and opens the system browser.
294
+ For internal PPE integration, set TTMG_VIBE_BACKEND=ppe and TTMG_VIBE_PPE=ppe_op_vc without changing the Skill command. This uses real creation/polling on developers.tiktok.com and encodes the QR as aweme://webview?url=<encodeURIComponent(landing_url)>. The phone must use the same lane. OAuth is not bypassed or simulated. After authorization, the CLI uploads the icon, submits the title and icon URI, and uploads the package. The CLI fills other app metadata with existing PPE trial defaults. The regular --web entry configures PPE internally and opens the system browser.
259
295
 
260
296
  The normal --mock trial internally uses ppe_op_vc without environment variables. Task creation, QR and three polls are real; authorization, icon, app-info and package uploads are simulated with separate in-memory credentials. This changes --mock from an offline run into a PPE integration trial: platformWrite becomes true when task creation is attempted, while simulation remains true. No real material-upload endpoint is called, and real request failures still fail. --mock-scenario controls only simulated steps. Offline unit/process tests use injected transports, not a separate developer configuration.
261
297
 
262
298
  Schema-v1 UUID endpoints, --vibe-authorize-url, preview_ready, game_preview, uploadId and reviewStatus are retired. The deprecated option returns an explicit error. Ordinary upload without --vibe is unchanged.
263
299
 
264
- Unconfirmed: platform file limits, token expiry/retry rules, actual denial mapping and in-client PPE Cookie behavior. Run test:vibe, built test:vibe-process, and test:agent-contract. Local contract tests do not establish real platform or device results.
300
+ Unconfirmed: token expiry/retry rules, actual denial mapping and in-client PPE Cookie behavior. Run test:vibe, built test:vibe-process, and test:agent-contract. Local contract tests do not establish real platform or device results; the PPE test-fixture result above is recorded separately.