feat(skills): add develop workflow
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user