mirror of https://github.com/openclaw/openclaw.git
fix(ci): restore skill fixtures and security doc anchors
This commit is contained in:
parent
f380305ee4
commit
03a03c2dc4
|
|
@ -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).
|
||||
</Warning>
|
||||
|
||||
**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
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue