feat: sensitive frontmatter for Factory Droid auto-invocation safety

Add sensitive: true to 6 skill templates with side effects that Factory
Droids shouldn't auto-invoke (ship, land-and-deploy, guard, careful,
freeze, unfreeze). The field is:
- Factory: emitted as disable-model-invocation: true
- Claude/Codex: stripped from output by transformFrontmatter()

Also fix Claude host path: call transformFrontmatter() for Claude to
strip the sensitive: field from Claude output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-28 22:16:26 -07:00
parent 89d7ce388b
commit 205b03ede7
7 changed files with 10 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ allowed-tools:
- Agent
- AskUserQuestion
- WebSearch
sensitive: true
---
{{PREAMBLE}}