@akagilnc/pi-workflow-roles 0.1.4444 → 0.1.4503
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 -0
- package/README.zh-CN.md +2 -0
- package/dist/acp-host/description.js +2 -3
- package/dist/acp-host/production-host.js +512 -288
- package/dist/auditor-soul.js +8 -1
- package/dist/headless-host/description.js +3 -3
- package/dist/headless-host/production-host.js +519 -257
- package/dist/host-descriptions.js +3 -18
- package/dist/method-host-plugin/.claude-plugin/plugin.json +5 -0
- package/dist/method-host-plugin/skills/ak-cross-m-review/CONTEXT.md +48 -0
- package/dist/method-host-plugin/skills/ak-cross-m-review/LICENSE +21 -0
- package/dist/method-host-plugin/skills/ak-cross-m-review/SKILL.md +170 -0
- package/dist/method-host-plugin/skills/ak-cross-m-review/prompts/cmr-completeness.md +118 -0
- package/dist/method-host-plugin/skills/ak-cross-m-review/prompts/cmr-reviewer.md +128 -0
- package/dist/method-host-plugin/skills/ak-cross-m-review/provenance.json +41 -0
- package/dist/method-host-plugin/skills/diagnosing-bugs/SKILL.md +134 -0
- package/dist/method-host-plugin/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/dist/method-host-plugin/skills/diagnosing-bugs/provenance.json +31 -0
- package/dist/method-host-plugin/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/dist/method-host-plugin/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/dist/method-host-plugin/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/dist/method-host-plugin/skills/resolving-merge-conflicts/provenance.json +26 -0
- package/dist/method-host-plugin/skills/tdd/SKILL.md +38 -0
- package/dist/method-host-plugin/skills/tdd/agents/openai.yaml +3 -0
- package/dist/method-host-plugin/skills/tdd/mocking.md +59 -0
- package/dist/method-host-plugin/skills/tdd/provenance.json +36 -0
- package/dist/method-host-plugin/skills/tdd/tests.md +77 -0
- package/dist/public-cli/countersign-run.js +214 -155
- package/dist/public-cli/diarist-run.js +4 -1
- package/dist/public-cli/invocation.js +129 -21
- package/dist/public-cli/main.js +386 -202
- package/dist/session-opening-materials.js +17 -5
- package/extensions/role-runtime.ts +16 -6
- package/package.json +1 -1
- package/resources/method-host-plugin/.claude-plugin/plugin.json +5 -0
- package/scripts/build-package.mjs +6 -1
- package/src/acp-host/description.ts +2 -4
- package/src/acp-host/production-host.ts +0 -1
- package/src/auditor-soul.ts +10 -1
- package/src/headless-host/description.ts +4 -3
- package/src/headless-host/role-turn-host.ts +27 -4
- package/src/host-descriptions.ts +3 -23
- package/src/host-native-method.ts +67 -0
- package/src/public-cli/countersign-run.ts +326 -218
- package/src/public-cli/diarist-run.ts +4 -0
- package/src/public-cli/invocation.ts +205 -23
- package/src/role-envelope.ts +17 -47
- package/src/role-runtime-dependencies.ts +17 -2
- package/src/role-runtime.ts +12 -7
- package/src/session-opening-materials.ts +27 -11
package/dist/auditor-soul.js
CHANGED
|
@@ -66,9 +66,16 @@ export async function loadAuditorSoul(role) {
|
|
|
66
66
|
if (soul.trim().length === 0) {
|
|
67
67
|
throw new Error(`The ${role} auditor Soul is blank`);
|
|
68
68
|
}
|
|
69
|
-
return
|
|
69
|
+
return soul;
|
|
70
|
+
}
|
|
71
|
+
export function loadAuditorReferenceMaterials(role) {
|
|
72
|
+
const soulPath = auditorSoulRelativePath(role);
|
|
73
|
+
return joinPackageMaterials(AUDITOR_SESSION_MATERIALS[role].filter((path) => path !== soulPath));
|
|
70
74
|
}
|
|
71
75
|
/** Runtime loader: subject input decides which soul file to assemble. */
|
|
72
76
|
export async function loadAuditorSoulFromSubjectInput(raw) {
|
|
73
77
|
return loadAuditorSoul(resolveAuditorSubject(raw));
|
|
74
78
|
}
|
|
79
|
+
export function loadAuditorReferenceMaterialsFromSubjectInput(raw) {
|
|
80
|
+
return loadAuditorReferenceMaterials(resolveAuditorSubject(raw));
|
|
81
|
+
}
|
|
@@ -30,6 +30,8 @@ export function headlessTurnArgs(options) {
|
|
|
30
30
|
description.jsonSchemaFlag,
|
|
31
31
|
JSON.stringify(options.jsonSchema),
|
|
32
32
|
];
|
|
33
|
+
if (options.pluginDir)
|
|
34
|
+
args.push("--plugin-dir", options.pluginDir);
|
|
33
35
|
if (options.mcpConfigPath !== undefined && options.mcpConfigPath !== "") {
|
|
34
36
|
args.push(description.mcpConfigFlag, options.mcpConfigPath);
|
|
35
37
|
}
|
|
@@ -321,9 +323,7 @@ export function codexTurnArgs(options) {
|
|
|
321
323
|
}
|
|
322
324
|
// JSONL event stream: thread_id + final agent_message + turn.completed/failed.
|
|
323
325
|
args.push("--json");
|
|
324
|
-
// Operator config/
|
|
325
|
-
// Project/system config and AGENTS.md have no official suppression switch.
|
|
326
|
-
args.push("--ignore-user-config", "--ignore-rules");
|
|
326
|
+
// Operator config/skills stay open (#922 host-native-loader). Auth uses CODEX_HOME.
|
|
327
327
|
const roots = (options.writableRoots ?? []).filter((root) => root !== "");
|
|
328
328
|
if (roots.length > 0) {
|
|
329
329
|
// Resume has no --add-dir; the config key keeps extra roots available on both paths.
|