@akagilnc/pi-workflow-roles 0.1.3803 → 0.1.3805

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/README.md CHANGED
@@ -13,20 +13,7 @@ export PATH="$HOME/.pi/agent/npm/node_modules/.bin:$PATH"
13
13
 
14
14
  Update with `pi update npm:@akagilnc/pi-workflow-roles`—never a second global `npm install -g`. Inspect with `ak-role roles` and `ak-role help <role>`; seat and Gate-officer configuration lives under Reading results below.
15
15
 
16
- ### Test channel (`next`)
17
-
18
- Family / dogfood installs use the same package under dist-tag `next`. Pi installation surface is isolated via `PI_CODING_AGENT_DIR` (package config, ledger, and books remain machine-scoped under user home, never following `HOME`). Do not mount or copy host credentials into the test surface; do not use a book/worktree as a stand-in for install isolation. No second global npm.
19
-
20
- ```bash
21
- export PI_CODING_AGENT_DIR="/path/to/test-surface/.pi/agent"
22
- export PATH="$PI_CODING_AGENT_DIR/npm/node_modules/.bin:$PATH"
23
- ```
24
-
25
- - **First install of next**: `pi install npm:@akagilnc/pi-workflow-roles@next` → `ak-role roles` runs; installed version looks like `0.1.<count>-next.<shortsha>`.
26
- - **Advance to a newer next**: `pi update npm:@akagilnc/pi-workflow-roles@next` → `<shortsha>` becomes the new CI `head_sha` prefix (7 chars).
27
- - **Same-version reinstall / restore**: rerun the first-install command → idempotent; version unchanged (stamp path that only moves the dist-tag when the version is already on the registry).
28
-
29
- Publish routing (Actions, not local stamp): successful `ci` push on `main` → `latest`; successful `ci` push on an allowlisted non-main branch (see `.github/workflows/ci.yml` `push.branches`) → `next`. PR completions and failed CI never publish.
16
+ Publish routing (Actions, not local stamp): successful `ci` push on the repository default branch → `latest`. Non-default-branch CI completions, PR completions, and failed CI never publish.
30
17
 
31
18
  ## Reading results
32
19
 
package/README.zh-CN.md CHANGED
@@ -13,20 +13,7 @@ export PATH="$HOME/.pi/agent/npm/node_modules/.bin:$PATH"
13
13
 
14
14
  更新用 `pi update npm:@akagilnc/pi-workflow-roles`——勿另起全局 `npm install -g`。查看能力:`ak-role roles`、`ak-role help <role>`;席位与官席配置见下方「读结果」。
15
15
 
16
- ### 测试通道(`next`)
17
-
18
- 家族/dogfood 安装面复用同一包,经 dist-tag `next` 取得;Pi 安装面经 `PI_CODING_AGENT_DIR` 隔离(包配置、账本与 book 仍属于机器用户家目录,不随 `HOME` 漂移),不与宿主已装包共享。测试面不挂载、不复制宿主凭据;不以 book/worktree 冒充安装隔离。不装第二份全局 npm。
19
-
20
- ```bash
21
- export PI_CODING_AGENT_DIR="/path/to/test-surface/.pi/agent"
22
- export PATH="$PI_CODING_AGENT_DIR/npm/node_modules/.bin:$PATH"
23
- ```
24
-
25
- - **首次装 next**:`pi install npm:@akagilnc/pi-workflow-roles@next` → `ak-role roles` 可跑;装到的版本形如 `0.1.<count>-next.<shortsha>`。
26
- - **推进到新 next**:`pi update npm:@akagilnc/pi-workflow-roles@next` → 版本号里的 `<shortsha>` 变为新 CI `head_sha` 的前 7 位。
27
- - **同版本重装/恢复**:重跑首次安装命令 → 幂等,版本不变(对应 stamp「版本已在 registry 则只移 dist-tag」路径)。
28
-
29
- 发布路由(Actions 真入口,非本地 stamp):`ci` 在 `main` 上成功 push → `latest`;`ci` 在 allowlist 非 main 分支上成功 push(见 `.github/workflows/ci.yml` 的 `push.branches`)→ `next`。PR completion 与失败 CI 不发布。
16
+ 发布路由(Actions 真入口,非本地 stamp):`ci` 在仓库默认分支上成功 push → `latest`。非默认分支的 CI completion、PR completion 与失败 CI 不发布。
30
17
 
31
18
  ## 读结果
32
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akagilnc/pi-workflow-roles",
3
- "version": "0.1.3803",
3
+ "version": "0.1.3805",
4
4
  "description": "Soul-bound workflow roles for Pi",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",