diff --git a/docs/gateway/security/index.md b/docs/gateway/security/index.md index faa339efb22..7c20971d886 100644 --- a/docs/gateway/security/index.md +++ b/docs/gateway/security/index.md @@ -13,7 +13,7 @@ OpenClaw is **not** a hostile multi-tenant security boundary for multiple advers If you need mixed-trust or adversarial-user operation, split trust boundaries (separate gateway + credentials, ideally separate OS users/hosts). -**On this page:** [Trust model](#scope-first-personal-assistant-security-model) | [Quick audit](#quick-check-openclaw-security-audit) | [Hardened baseline](#hardened-baseline-excerpt) | [DM access model](#dm-access-model) | [Configuration hardening](#configuration-hardening-examples) | [Incident response](#incident-response) +**On this page:** [Trust model](#scope-first-personal-assistant-security-model) | [Quick audit](#quick-check-openclaw-security-audit) | [Hardened baseline](#hardened-baseline-in-60-seconds) | [DM access model](#dm-access-model-pairing--allowlist--open--disabled) | [Configuration hardening](#configuration-hardening-examples) | [Incident response](#incident-response) ## Scope first: personal assistant security model diff --git a/src/agents/skills.test-helpers.ts b/src/agents/skills.test-helpers.ts index e0cae977466..3928a4026d0 100644 --- a/src/agents/skills.test-helpers.ts +++ b/src/agents/skills.test-helpers.ts @@ -1,6 +1,6 @@ import fs from "node:fs/promises"; import path from "node:path"; -import type { Skill } from "@mariozechner/pi-coding-agent"; +import { createSyntheticSourceInfo, type Skill } from "@mariozechner/pi-coding-agent"; export async function writeSkill(params: { dir: string; @@ -37,6 +37,12 @@ export function createCanonicalFixtureSkill(params: { filePath: params.filePath, baseDir: params.baseDir, source: params.source, + sourceInfo: createSyntheticSourceInfo(params.filePath, { + source: params.source, + baseDir: params.baseDir, + scope: "project", + origin: "top-level", + }), disableModelInvocation: params.disableModelInvocation ?? false, }; }