feat(skills): add develop workflow

This commit is contained in:
jb
2026-09-04 10:47:04 -04:00
parent a794a1e10a
commit 8c44c07c6a
9 changed files with 1074 additions and 1 deletions
+25
View File
@@ -250,6 +250,31 @@ test("normal exposure and package evidence retain the Slice 0 security boundary"
{},
"published extensions must not be re-exposed as development symlinks",
);
assert.deepEqual(
links.extensions.globalLocalPackages,
{},
"the legacy workflow extension must remain unexposed",
);
const exposureRoot = await mkdtemp(
path.join(os.tmpdir(), "develop-workflow-exposure-test-"),
);
const exposurePlan = await buildPlan({
repoRoot: repositoryRoot,
homeDir: path.join(exposureRoot, "home"),
agentDir: path.join(exposureRoot, "home", ".pi", "agent"),
globalSkillsDir: path.join(exposureRoot, "home", ".agents", "skills"),
settingsFile: path.join(exposureRoot, "home", ".pi", "agent", "settings.json"),
});
assert.ok(
exposurePlan.operations.some(
(operation) =>
operation.type === "create-link" &&
operation.link.name === "develop-workflow" &&
operation.link.scope === "global",
),
"develop-workflow must be discovered as a shared global skill",
);
const lock = JSON.parse(
await readFile(