Replace the ALKANE_STOCK_HELPER external-helper seam with a compiled-in method
module so the toolkit installs from stock and restores to stock entirely on its
own. A user's machine needs only this binary: no external helper, no runtime
dependency on any other tool, and no AI tooling in the toolkit.
- stock.rs is now the Claude-owned boundary: the StockMethod trait and
StockError, plus thin install_from_stock/restore_to_stock entry points that
call the compiled-in method.
- stock_method.rs holds the network-only method bodies. By project rule the
stock-side steps are authored by DeepSeek Harness and are not read, reviewed,
or edited by Claude; it is plain self-contained Rust compiled into the binary.
Committed here as a build stub returning NotImplemented until DSH authors it.
- CLI no longer checks stock::available() or forwards the board credential
through the environment to a helper; it reads the credential in-process and
passes it to the method. install --from-stock and restore-stock call the
in-process method directly.
- docs/install.md drops the ALKANE_STOCK_HELPER env instructions.
The install-from-stock path is network-only.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdKQBPjAXpCwmigUov5eQk