@akagilnc/pi-workflow-roles 0.1.5704 → 0.1.5712
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 +2 -2
- package/README.zh-CN.md +2 -2
- package/dist/acp-host/production-host.js +5 -0
- package/dist/headless-host/production-host.js +5 -0
- package/dist/migrate-book-topology.js +5 -0
- package/dist/package-contracts/terminating-infrastructure.js +5 -0
- package/dist/public-cli/main.js +5 -0
- package/package.json +1 -1
- package/src/package-contracts/terminating-infrastructure.ts +15 -4
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ ak-role collector --model <provider/model[:thinking]> --pr 42 --request-manifest
|
|
|
103
103
|
# fixer
|
|
104
104
|
ak-role fixer --model <provider/model[:thinking]> --attach ./findings.md --prerequisites ./prereqs.json "Repair the findings."
|
|
105
105
|
|
|
106
|
-
# doctor
|
|
106
|
+
# doctor (pending redesign — kept, not maintained as a ledger reader)
|
|
107
107
|
ak-role doctor --model <provider/model[:thinking]> --issue 115 "Diagnose this retained case."
|
|
108
108
|
|
|
109
109
|
# merger
|
|
@@ -131,7 +131,7 @@ ak-role diarist --model <provider/model[:thinking]> "整理 #582、#583 自上
|
|
|
131
131
|
# countersign request example
|
|
132
132
|
ak-role countersign --model <provider/model[:thinking]> --attach ./ticket.md "裁:本票 #582 是否足以开工。"
|
|
133
133
|
|
|
134
|
-
# analyst
|
|
134
|
+
# analyst (pending redesign — kept, not maintained as a ledger reader)
|
|
135
135
|
ak-role analyst
|
|
136
136
|
|
|
137
137
|
# Resume request example; audit continuation: ADR 0003
|
package/README.zh-CN.md
CHANGED
|
@@ -158,8 +158,8 @@ ak-role --model <provider/model[:thinking]> resume <runId> "<裁定>"
|
|
|
158
158
|
|
|
159
159
|
| 席位 | 名 | 职掌 | 状态 |
|
|
160
160
|
| --- | --- | --- | --- |
|
|
161
|
-
| doctor | **太医署** | 职掌见 [Soul](souls/doctor.md);调用面见 `ak-role help doctor`。 |
|
|
162
|
-
| analyst | **太史** | 职掌见 [ADR 0068](https://github.com/Akagilnc/ak-pi-workflow-roles/blob/main/docs/adr/0068-taishi-analysis-seat-reads-records-writes-sibling-home.md);调用面见 `ak-role help analyst`。 |
|
|
161
|
+
| doctor | **太医署** | 职掌见 [Soul](souls/doctor.md);调用面见 `ak-role help doctor`。 | 待设计(2026-10-08 陛下:留着、以后重新设计;现行卷宗改造不为它保读者) |
|
|
162
|
+
| analyst | **太史** | 职掌见 [ADR 0068](https://github.com/Akagilnc/ak-pi-workflow-roles/blob/main/docs/adr/0068-taishi-analysis-seat-reads-records-writes-sibling-home.md);调用面见 `ak-role help analyst`。 | 待设计(留着、以后重新设计;现行卷宗改造不为它保读者。原已建:[ADR 0068](https://github.com/Akagilnc/ak-pi-workflow-roles/blob/main/docs/adr/0068-taishi-analysis-seat-reads-records-writes-sibling-home.md);机器面键 `analyst`,[#445](https://github.com/Akagilnc/ak-pi-workflow-roles/issues/445) 拼音清零) |
|
|
163
163
|
| — | **司天台** | 职掌见 [ADR 0047](https://github.com/Akagilnc/ak-pi-workflow-roles/blob/main/docs/adr/0047-sitian-phase-one-mechanism-not-role.md)、[ADR 0065](https://github.com/Akagilnc/ak-pi-workflow-roles/blob/main/docs/adr/0065-sitian-phase-two-records-have-one-entry.md)。 | **一期不是角色**([ADR 0047](https://github.com/Akagilnc/ak-pi-workflow-roles/blob/main/docs/adr/0047-sitian-phase-one-mechanism-not-role.md):确定性机制;两面对账已删 [#855](https://github.com/Akagilnc/ak-pi-workflow-roles/issues/855));分析席已由太史承担;起居录见 [ADR 0075](https://github.com/Akagilnc/ak-pi-workflow-roles/blob/main/docs/adr/0075-ticket-provenance-diarist-pipeline.md);机器面键 `archivist`([#445](https://github.com/Akagilnc/ak-pi-workflow-roles/issues/445)) |
|
|
164
164
|
| marshal | **尚书省** | 审→判→修 质量收敛环的省部级驱动角色:调用方递票号与 baseline,尚书省驱动御史台/大理寺/修内司滚到收敛(converged 唯庭可判)或 escalate 上呈,交回 typed 报告;不弹、不判、不修,只让链条转到收敛 | 已定名(#145);席位待落地(#146) |
|
|
165
165
|
| — | **殿院** | [#560](https://github.com/Akagilnc/ak-pi-workflow-roles/issues/560) 机械定点测试巡查件(产物 kind `test-report`) | 在建/待落地,非席位,不占机器键 |
|
|
@@ -1500,6 +1500,11 @@ function withTerminatingOutputDeclarations(schema) {
|
|
|
1500
1500
|
description: "\u53EF\u9009\u672C\u7968\u53F7\u3002\u5C1A\u672A\u7ED1\u5B9A\u65F6\u7531\u89D2\u8272\u5728\u65E2\u6709\u56DE\u6267\u4E2D\u7533\u62A5\uFF08\u6B63\u6574\u6570\u3001\u6570\u5B57\u4E32\u6216\u524D\u5BFC #N\uFF1B\u5F52\u4F4D\u53EA\u8BFB\u672C\u5B57\u6BB5\uFF09\u3002"
|
|
1501
1501
|
})
|
|
1502
1502
|
} : {},
|
|
1503
|
+
...baseProperties?.summary === void 0 ? {
|
|
1504
|
+
summary: Type2.Unknown({
|
|
1505
|
+
description: "\u672C\u5E2D\u81EA\u884C\u586B\u5199\u7684\u4E00\u4E24\u53E5\u300120\u201350 \u5B57\u7ED3\u8BBA\u6458\u8981\u3002\u53EF\u9009\uFF1B\u4E0D\u56E0\u7F3A\u5931\u6216\u8D85\u957F\u62D2\u6536\u3001\u622A\u65AD\u6216\u4EE3\u586B\u3002"
|
|
1506
|
+
})
|
|
1507
|
+
} : {},
|
|
1503
1508
|
[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]: infrastructureFailureDeclarationSchema.properties[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]
|
|
1504
1509
|
};
|
|
1505
1510
|
const object = Type2.Object(properties, { additionalProperties: true });
|
|
@@ -455,6 +455,11 @@ function withTerminatingOutputDeclarations(schema) {
|
|
|
455
455
|
description: "\u53EF\u9009\u672C\u7968\u53F7\u3002\u5C1A\u672A\u7ED1\u5B9A\u65F6\u7531\u89D2\u8272\u5728\u65E2\u6709\u56DE\u6267\u4E2D\u7533\u62A5\uFF08\u6B63\u6574\u6570\u3001\u6570\u5B57\u4E32\u6216\u524D\u5BFC #N\uFF1B\u5F52\u4F4D\u53EA\u8BFB\u672C\u5B57\u6BB5\uFF09\u3002"
|
|
456
456
|
})
|
|
457
457
|
} : {},
|
|
458
|
+
...baseProperties?.summary === void 0 ? {
|
|
459
|
+
summary: Type.Unknown({
|
|
460
|
+
description: "\u672C\u5E2D\u81EA\u884C\u586B\u5199\u7684\u4E00\u4E24\u53E5\u300120\u201350 \u5B57\u7ED3\u8BBA\u6458\u8981\u3002\u53EF\u9009\uFF1B\u4E0D\u56E0\u7F3A\u5931\u6216\u8D85\u957F\u62D2\u6536\u3001\u622A\u65AD\u6216\u4EE3\u586B\u3002"
|
|
461
|
+
})
|
|
462
|
+
} : {},
|
|
458
463
|
[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]: infrastructureFailureDeclarationSchema.properties[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]
|
|
459
464
|
};
|
|
460
465
|
const object = Type.Object(properties, { additionalProperties: true });
|
|
@@ -8638,6 +8638,11 @@ function withTerminatingOutputDeclarations(schema) {
|
|
|
8638
8638
|
description: "\u53EF\u9009\u672C\u7968\u53F7\u3002\u5C1A\u672A\u7ED1\u5B9A\u65F6\u7531\u89D2\u8272\u5728\u65E2\u6709\u56DE\u6267\u4E2D\u7533\u62A5\uFF08\u6B63\u6574\u6570\u3001\u6570\u5B57\u4E32\u6216\u524D\u5BFC #N\uFF1B\u5F52\u4F4D\u53EA\u8BFB\u672C\u5B57\u6BB5\uFF09\u3002"
|
|
8639
8639
|
})
|
|
8640
8640
|
} : {},
|
|
8641
|
+
...baseProperties?.summary === void 0 ? {
|
|
8642
|
+
summary: typebox_exports.Unknown({
|
|
8643
|
+
description: "\u672C\u5E2D\u81EA\u884C\u586B\u5199\u7684\u4E00\u4E24\u53E5\u300120\u201350 \u5B57\u7ED3\u8BBA\u6458\u8981\u3002\u53EF\u9009\uFF1B\u4E0D\u56E0\u7F3A\u5931\u6216\u8D85\u957F\u62D2\u6536\u3001\u622A\u65AD\u6216\u4EE3\u586B\u3002"
|
|
8644
|
+
})
|
|
8645
|
+
} : {},
|
|
8641
8646
|
[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]: infrastructureFailureDeclarationSchema.properties[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]
|
|
8642
8647
|
};
|
|
8643
8648
|
const object = typebox_exports.Object(properties, { additionalProperties: true });
|
|
@@ -29,6 +29,11 @@ function withTerminatingOutputDeclarations(schema) {
|
|
|
29
29
|
description: "\u53EF\u9009\u672C\u7968\u53F7\u3002\u5C1A\u672A\u7ED1\u5B9A\u65F6\u7531\u89D2\u8272\u5728\u65E2\u6709\u56DE\u6267\u4E2D\u7533\u62A5\uFF08\u6B63\u6574\u6570\u3001\u6570\u5B57\u4E32\u6216\u524D\u5BFC #N\uFF1B\u5F52\u4F4D\u53EA\u8BFB\u672C\u5B57\u6BB5\uFF09\u3002"
|
|
30
30
|
})
|
|
31
31
|
} : {},
|
|
32
|
+
...baseProperties?.summary === void 0 ? {
|
|
33
|
+
summary: Type.Unknown({
|
|
34
|
+
description: "\u672C\u5E2D\u81EA\u884C\u586B\u5199\u7684\u4E00\u4E24\u53E5\u300120\u201350 \u5B57\u7ED3\u8BBA\u6458\u8981\u3002\u53EF\u9009\uFF1B\u4E0D\u56E0\u7F3A\u5931\u6216\u8D85\u957F\u62D2\u6536\u3001\u622A\u65AD\u6216\u4EE3\u586B\u3002"
|
|
35
|
+
})
|
|
36
|
+
} : {},
|
|
32
37
|
[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]: infrastructureFailureDeclarationSchema.properties[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]
|
|
33
38
|
};
|
|
34
39
|
const object = Type.Object(properties, { additionalProperties: true });
|
package/dist/public-cli/main.js
CHANGED
|
@@ -9105,6 +9105,11 @@ function withTerminatingOutputDeclarations(schema) {
|
|
|
9105
9105
|
description: "\u53EF\u9009\u672C\u7968\u53F7\u3002\u5C1A\u672A\u7ED1\u5B9A\u65F6\u7531\u89D2\u8272\u5728\u65E2\u6709\u56DE\u6267\u4E2D\u7533\u62A5\uFF08\u6B63\u6574\u6570\u3001\u6570\u5B57\u4E32\u6216\u524D\u5BFC #N\uFF1B\u5F52\u4F4D\u53EA\u8BFB\u672C\u5B57\u6BB5\uFF09\u3002"
|
|
9106
9106
|
})
|
|
9107
9107
|
} : {},
|
|
9108
|
+
...baseProperties?.summary === void 0 ? {
|
|
9109
|
+
summary: typebox_exports.Unknown({
|
|
9110
|
+
description: "\u672C\u5E2D\u81EA\u884C\u586B\u5199\u7684\u4E00\u4E24\u53E5\u300120\u201350 \u5B57\u7ED3\u8BBA\u6458\u8981\u3002\u53EF\u9009\uFF1B\u4E0D\u56E0\u7F3A\u5931\u6216\u8D85\u957F\u62D2\u6536\u3001\u622A\u65AD\u6216\u4EE3\u586B\u3002"
|
|
9111
|
+
})
|
|
9112
|
+
} : {},
|
|
9108
9113
|
[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]: infrastructureFailureDeclarationSchema.properties[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]
|
|
9109
9114
|
};
|
|
9110
9115
|
const object = typebox_exports.Object(properties, { additionalProperties: true });
|
package/package.json
CHANGED
|
@@ -48,10 +48,11 @@ const infrastructureFailureDeclarationSchema = Type.Object(
|
|
|
48
48
|
);
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Compose declarations shared by terminating output tools: infrastructure failure
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
51
|
+
* Compose declarations shared by terminating output tools: infrastructure failure,
|
|
52
|
+
* the optional role-asserted ticket identity, and the optional seat-written conclusion
|
|
53
|
+
* summary (#1198). Returns an open object (additionalProperties: true) with the base
|
|
54
|
+
* schema's properties plus the shared declarations. Incoming required keys that still
|
|
55
|
+
* exist are kept; every other key stays optional.
|
|
55
56
|
* Static typing is preserved on the base (`as S`), so existing
|
|
56
57
|
* `Static<typeof ...>` derived parameter types are unchanged.
|
|
57
58
|
*/
|
|
@@ -72,6 +73,16 @@ export function withTerminatingOutputDeclarations<
|
|
|
72
73
|
}
|
|
73
74
|
: {}
|
|
74
75
|
),
|
|
76
|
+
...(
|
|
77
|
+
baseProperties?.summary === undefined
|
|
78
|
+
? {
|
|
79
|
+
summary: Type.Unknown({
|
|
80
|
+
description:
|
|
81
|
+
"本席自行填写的一两句、20–50 字结论摘要。可选;不因缺失或超长拒收、截断或代填。",
|
|
82
|
+
}),
|
|
83
|
+
}
|
|
84
|
+
: {}
|
|
85
|
+
),
|
|
75
86
|
[INFRASTRUCTURE_FAILURE_DECLARATION_KEY]:
|
|
76
87
|
infrastructureFailureDeclarationSchema.properties[
|
|
77
88
|
INFRASTRUCTURE_FAILURE_DECLARATION_KEY
|