跨模型复核会把代码或决策材料发送给外部模型服务
原文依据:3 处用户选择 Gemini 或 Codex CLI 后,Skill 明确要求把 ARTIFACT 和 CONTRACT 传给该工具。只读沙箱限制的是工作区写入,并不阻止 CLI 将输入发往其模型提供商。
专有代码、客户信息、内部架构、未公开决策或嵌入材料中的凭据可能进入另一服务商的系统,并受其日志、保留和账户政策约束。
仅当用户选择并逐次授权 Gemini/Codex CLI 时,Skill 才要求把 ARTIFACT 和 CONTRACT 交给该工具。若 CLI 连接托管模型,这些材料可能离开本机;只读沙箱只限制写入工作区,不能证明它阻止网络传输。用户可要求作者明确说明各 CLI 的数据去向、保留政策,并仅提交已脱敏材料或禁止外部 CLI。
2. Test it works (`gemini --version` or equivalent) before passing the full prompt — a stale or broken binary may pass `which` but fail on real input.3. Confirm the exact invocation with the user, including required flags, auth, and env vars (e.g., API keys). Implementations vary; never assume.4. Pass ARTIFACT + CONTRACT + the adversarial prompt **only**. No session context, no CLAIM.5. Mind shell escaping. If the artifact contains quotes, `$(...)`, or backticks, prefer stdin (`echo … | gemini`) or a heredoc over inline `-p "…"`. When in doubt, ask the user to confirm the invocation before running it.6. Take the output into Step 4 (RECONCILE).查看另外 2 个位置
# Codex (read-only sandbox keeps the CLI from writing to your workspace):codex exec --sandbox read-only -C <repo-path> - < /tmp/doubt-prompt.md# Gemini ('--approval-mode plan' is read-only; '-p ""' triggers non-interactive# mode and the prompt is read from stdin):gemini --approval-mode plan -p "" < /tmp/doubt-prompt.md```- Cross-model is **skipped**, and the skip must be **announced** in the output: *"Cross-model skipped: non-interactive context."*- **Never invoke an external CLI without explicit user authorization** — this is a load-bearing safety property.