blog add Hauki OS Master CLI
Usage: hauki <command> [arguments]
Commands:
compile <file.ast-md> Run the Linker and Orchestrator on an AST-MD spec
publish <module_id> Promote a tested module to Tier 1 (Alpha Library)
arbiter Trigger the Tier 2 Staff Engineer mesh consolidation
run <script.js> Execute a bootloader/test script in user-space
monitor Launch the local web dashboard
clean Wipe the volatile Tier 0 (/build) environment
Examples:
hauki compile tictactoe.ast-md
hauki publish TTT_ENGINE
hauki run play_ttt.js
user@elli:~/Downloads/Remote/AST-COMPILER$ cat tictactoe.ast-md
@UNIVERSE: TTT_WIN_CHECKER
> description: Analyzes a 1D array of 9 strings (representing a 3x3 board).
Returns 'X', 'O', 'DRAW', or null if in progress.
> provider: deepseek-coder
> tags: [logic, pure]
> depends_on: []
@UNIVERSE: TTT_MOVE_VALIDATOR
> description: Accepts the board array and an index (0-8). Returns true if the
cell is empty (""), false otherwise.
> provider: deepseek-coder
> tags: [logic, pure]
> depends_on: []
@UNIVERSE: TTT_ENGINE
> description: Stateful game engine. Reads 'TTT:board' and 'TTT:turn' from OS
state. Validates the move using TTT_MOVE_VALIDATOR. If valid, updates the
board, swaps the turn, saves state, and checks for a win using
TTT_WIN_CHECKER. Returns a status message.
> provider: deepseek-coder
> tags: [stateful, game]
> depends_on: [TTT_WIN_CHECKER, TTT_MOVE_VALIDATOR]
user@elli:~/Downloads/Remote/AST-COMPILER$