rust-rebuild
Modify Allbert in an isolated rebuild worktree, run Tier A validation, and produce an operator-reviewed patch.
Files1
View on GitHubSKILL.mdskills/rust-rebuild/SKILL.md
GitHubRust Rebuild
Use this skill only when the operator explicitly asks Allbert to change its own Rust source.
Safety Contract
- Never edit the source checkout directly.
- Never edit
skills/rust-rebuild/in the source checkout. - Work only inside the active self-improvement worktree.
- Run the Tier A validation chain before proposing a patch.
- Treat failures as
needs-review, not as permission to bypass review. - Produce a concise summary plus the patch artifact path; do not inline large diffs in chat.
Operating Ritual
- Confirm that
allbert-cli self-improvement config showresolves a source checkout and reports a pinned Rust toolchain. - Use the kernel-created worktree path from the self-improvement workflow.
- Inspect files with
read_fileand make edits withwrite_fileonly inside that worktree. - Use
process_execinside the worktree for validation commands. - If validation fails, capture the failing command and the relevant output tail.
- Hand the operator a patch summary and next-step hint for approval.
The rebuild output is a review artifact, not an install action. The operator must explicitly approve and install any patch in a later step.