feat: scaffold rust llm module controller
CI / validate (push) Successful in 35s

This commit is contained in:
2026-07-21 11:10:20 -05:00
commit b445d8a117
23 changed files with 2888 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
cargo run -- dictionary generate
cargo run -- run logger --payload '{"message":"hello from codex"}'
echo "logger dispatched; see logs/controller-actions.jsonl"
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
command -v rustc >/dev/null
command -v cargo >/dev/null
if [[ -x /opt/homebrew/bin/llama-server ]]; then
echo "llama-server: /opt/homebrew/bin/llama-server"
else
command -v llama-server >/dev/null
echo "llama-server: $(command -v llama-server)"
fi
mkdir -p dictionary logs runtime
cargo build
cargo run -- dictionary generate
echo "codex setup complete"
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
cargo fmt --check
cargo test
cargo run -- dictionary generate
test -s dictionary/actions.jsonl
test -s dictionary/actions.index.json
echo "precommit check complete"