一键导入
habu-bootstrap
Use when recovering or refreshing Habu bin/hb, selecting Gforth, validating no-binary bootstrap, or porting bootstrap work to zed/Linux.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when recovering or refreshing Habu bin/hb, selecting Gforth, validating no-binary bootstrap, or porting bootstrap work to zed/Linux.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when timing the Habu native test suite on a supported host class, comparing host profiles, or setting timing-regression policy.
Use when running Habu focused tests, the full native gate, timing the gate, or changing gate pool and budget arguments.
Use when building standalone Habu AOT binaries, REPL images, or validating native hb-build behavior.
| name | habu-bootstrap |
| description | Use when recovering or refreshing Habu bin/hb, selecting Gforth, validating no-binary bootstrap, or porting bootstrap work to zed/Linux. |
Use this skill for bin/hb recovery and self-refresh.
bin/hb seed copied from a trusted
checkout of the same OS/arch (docs/seed.md) over any gforth bootstrap.{: locals support.gforth 0.7.9_20260610.https://www.complang.tuwien.ac.at/forth/gforth/Snapshots/0.7.9_20260610/gforth-0.7.9_20260610.tar.xz
— the GitHub tag archive does NOT self-build (PREFORTH needs a gforth).~/.local/bin/gforth when present.Verify locals support:
printf ': x {: a :} a . ; 7 x bye\n' | /path/to/gforth
Recover missing bin/hb:
HABU_ALLOW_BOOTSTRAP=1 GFORTH=/path/to/gforth tools/bootstrap.sh
Run the periodic no-install recovery check:
HABU_BOOTSTRAP_CHECK_ONLY=1 HABU_ALLOW_BOOTSTRAP=1 GFORTH=/path/to/gforth tools/bootstrap.sh
Refresh the self-hosted engine:
bin/hb --load lib/errors.f lib/string.f lib/memory.f lib/fs.f lib/fs-mutate.f \
lib/process.f lib/process-argv.f lib/process-env.f lib/codesign.f \
tools/build-fixpoint.f tools/build-fixpoint-main.f -- install
If the package manager lacks Gforth 0.7.9+, build a current snapshot and install
or wrap it under ~/.local/bin/gforth; keep the exact snapshot command in
docs/bootstrap.md.
On zed, validate local macOS bootstrap first, then port the same committed tree and use zed only for Linux/aarch64 proof.