Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 2.15 KB

File metadata and controls

27 lines (18 loc) · 2.15 KB

复制给智能体安装 / Copy this to an agent

把下面这段发给你的编码智能体(Claude Code / Codex CLI 等),让它替你完成下载校验和预览:

请安装 codex-keysmith 最新 Release。只从 GitHub Releases 页面下载资产,先用 SHA256SUMS 校验,不使用 curl | python。运行 --version、--status 和 --dry-run,报告目标 .codex 目录、内置提示词来源与 SHA-256、全局行为范围、MD/config/hooks/legacy/manifest 计划和备份路径;如果 status 发现 durable journal,只预览 --recover 并等我确认后才添加 --yes。完成后开启新 Codex 会话验证。不要删除任何备份或事务日志,不修改 Codex 二进制、网络、运行中进程或凭证。

English version:

Install the latest codex-keysmith Release. Only download assets from the GitHub Releases page, verify SHA256SUMS first, and never pipe curl into python. Run --version, --status, and --dry-run; report the target .codex directory, bundled-prompt source and SHA-256, global behavior scope, the MD/config/hooks/legacy/manifest plan, and backup paths. If status finds a durable journal, only preview --recover and wait for my confirmation before adding --yes. Start a new Codex session to verify after deployment. Do not delete any backup or transaction journal, and do not modify the Codex binary, network, running processes, or credentials.

可选:部署 contract(不要并进上面的默认安装)

在完成默认 unrestricted 安装之后,如需薄合同,用同一脚本预览 `--preset contract --dry-run`,确认目标是 gpt-contract.md 后再加 `--yes`。不要改默认安装步骤,不要替换已有 unrestricted 稿的字节。

可选:生成 fixture 工作区(不要并进上面的默认安装)

如需环境通道,用源码树或 Release zip/tar 中的 fixture_packs/ 运行 `--scaffold-list` 与 `--scaffold pytest_complete --dry-run`。确认工作区是 ~/.codex-fixture-workspace/pytest_complete 且文案写明未修改 ~/.codex 后,再加 `--yes`。不要把文件写进当前项目,不要启动 codex,不要改 ~/.codex。