Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c5fba70
accelerator(charter): kick off the PR-less git-monster accelerator (l…
May 29, 2026
4176b79
accelerator(event-store): Action Items 1+2 — substrate-grounding + gi…
May 29, 2026
ffc4766
accelerator(event-store): wire the two-layer-razor + past-as-generato…
May 29, 2026
0428bbd
accelerator: be good to our host — today's forgiveness-budget is GitH…
May 29, 2026
c1dd8bb
accelerator(Action Item 3): move-next harness + STAGED self-triggerin…
May 30, 2026
ccd2f6a
accelerator(move-next): add structured key logging (surfaces agent + …
May 30, 2026
9cbe399
accelerator(move-next): append cycle event (agent=otto)
claude May 30, 2026
5488209
accelerator(move-next): swap placeholder ULID -> canonical Zeta-ID ke…
May 30, 2026
bf01567
accelerator: add reusable account-free local-LLM primitive (CYOA sele…
claude May 30, 2026
f65d2a3
accelerator(local-llm): add seed option for DST-deterministic local-m…
claude May 30, 2026
99aaf39
accelerator: make small local-LLM a CORE install.sh primitive (declar…
claude May 30, 2026
c8d69c6
accelerator(local-llm): float ollama latest + real-model install.sh v…
claude May 30, 2026
0a53afe
accelerator(local-llm): fix ollama linux asset — .tar.zst (zstd), not…
claude May 30, 2026
45222e2
backlog(B-0940): evaluate Ubuntu support value — NixOS primary, Ubunt…
claude May 30, 2026
cdea2ab
backlog(B-0940): sharpen — NixOS declarative-by-construction (boots r…
claude May 30, 2026
6136737
accelerator(ci): Ubuntu docker install.sh test (sibling to nixos) + z…
claude May 30, 2026
9c86089
accelerator(apt): declare .NET native runtime deps (libicu74 etc.) — …
claude May 30, 2026
fbbf7f7
ci(docker-nixos): also trigger on accelerator branch (off-leash NixOS…
claude May 30, 2026
b4539b6
backlog(B-0941): NixOS-native ollama — close the hole in the shield (…
claude May 30, 2026
1f904aa
fix(B-0941): NixOS-native ollama via nix + nixos test ASSERTS local-L…
claude May 30, 2026
f82bd8a
fix(B-0941): nix-env-first + surface nix stderr (diagnose the suppres…
claude May 30, 2026
22871ef
fix(B-0941): nix profile install --priority 6 (resolve coreutils file…
claude May 30, 2026
df24f22
fix(B-0941): nix BUILD + symlink (no profile mutation) — sidestep the…
claude May 30, 2026
38e2ceb
diag(B-0941): surface /tmp/ollama.log on daemon-unreachable (the inst…
claude May 30, 2026
6f377b9
fix(B-0941): LD_LIBRARY_PATH-clean ollama wrapper (diagnosed glibc sy…
claude May 30, 2026
376a8d3
harvest(install-graph): graduate local-LLM install primitive + Docker…
claude May 30, 2026
1cc1ba8
fix(lint): add tools/setup/common/local-llm.sh to bash-retirement all…
claude May 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/workflows/accelerator-local-llm-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Accelerator — local-LLM entropy-lever validation (off-leash, accelerator branch).
#
# Proves the claim: a BARE runner + `install.sh` ⇒ working local-LLM substrate
# (Aaron 2026-05-30 "install.sh is our biggest lever against entropy"). Runs the
# real install graph, asserts the pinned model actually landed + serves, and runs
# a REAL (not mocked) selection through the local model. This is the gate that
# graduates the local-LLM core primitive from off-leash (accelerator) to main.
#
# Pushing this workflow / any local-LLM file to the accelerator branch triggers it.
# Heavy (full install + ~400MB model pull); concurrency cancels superseded runs.

name: accelerator-local-llm-validate

on:
workflow_dispatch:
push:
branches: [accelerator/pr-less-git-monster]
paths:
- "tools/setup/manifests/local-llm"
- "tools/setup/common/local-llm.sh"
- "tools/setup/linux.sh"
- "tools/setup/macos.sh"
- "tools/setup/manifests/brew"
- "tools/accelerator/local-llm.ts"
- "tools/accelerator/validate-local-llm.ts"
- ".github/workflows/accelerator-local-llm-validate.yml"

concurrency:
group: accelerator-local-llm-validate-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
validate-linux:
runs-on: ubuntu-24.04
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0

- name: Run install.sh (the entropy lever — bare runner → substrate)
env:
# Authenticated mise (per the mise.sh fix) so the toolchain install
# doesn't hit the unauthenticated GitHub rate limit.
MISE_GITHUB_TOKEN: ${{ github.token }}
run: ./tools/setup/install.sh

- name: Ensure ollama on PATH + daemon serving
run: |
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
export PATH="$HOME/.local/bin:$PATH"
command -v ollama
if ! curl -fsS http://127.0.0.1:11434/api/version >/dev/null 2>&1; then
(ollama serve >/dev/null 2>&1 &)
for _ in $(seq 1 30); do
curl -fsS http://127.0.0.1:11434/api/version >/dev/null 2>&1 && break
sleep 1
done
fi
curl -fsS http://127.0.0.1:11434/api/version

- name: Assert the pinned model landed (declarative manifest)
run: |
export PATH="$HOME/.local/bin:$PATH"
MODEL=$(grep -E '^model' tools/setup/manifests/local-llm | awk '{print $2}')
echo "expected model: $MODEL"
ollama list
ollama list | awk 'NR>1 {print $1}' | grep -qx "$MODEL"

- name: Mock-backed primitive tests (logic; run anywhere)
run: bun test tools/accelerator/local-llm.test.ts

- name: REAL local-LLM validation (entropy-lever end-to-end)
run: |
export PATH="$HOME/.local/bin:$PATH"
bun tools/accelerator/validate-local-llm.ts --root "$PWD"
6 changes: 6 additions & 0 deletions .github/workflows/docker-nixos-install-sh-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ on:
push:
branches:
- main
# Off-leash validation: install.sh changes are built on the accelerator
# branch (incl. the local-LLM step) BEFORE harvesting to main (Aaron's
# off-leash-first model). This test validates install.sh, so it must
# re-run when install.sh changes there too — otherwise the primary OS is
# only re-validated at harvest time.
- accelerator/pr-less-git-monster
paths:
- 'tools/setup/**'
- '.mise.toml'
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/docker-ubuntu-install-sh-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# .github/workflows/docker-ubuntu-install-sh-test.yml
#
# Docker-based install.sh test on Ubuntu — sibling to docker-nixos-install-sh-test
# (Aaron 2026-05-30: "center our docker tests around ubuntu and nixos and have
# tests for both with install.sh"). The Dockerfile IS the test: it runs install.sh
# on a bare ubuntu image and validates the core local-LLM primitive (ollama +
# pinned model + real chooseIndex probe). A failing install.sh / assert fails the
# build, which fails this job.
#
# Off-leash on the accelerator branch (Aaron: "accelerator is for off-leash
# testing; once we get it right, main becomes off-leash too"). This is the gate
# that guards graduating the local-LLM install primitive to main.
#
# FIRST CUT uses a direct `docker build` (vs the nixos TS driver) for simplicity.
# FOLLOW-UP (Aaron's GHA-cache point): consolidate both OS tests onto a shared TS
# driver + buildx `cache-from/to: type=gha` so the heavy install (1.2GB ollama +
# toolchain) bakes once and iteration runs inside the cached image.
#
# Security: no github.event.* values interpolated into run: lines.

name: docker-ubuntu-install-sh-test

on:
workflow_dispatch:
push:
branches: [accelerator/pr-less-git-monster]
paths:
Comment on lines +23 to +27
- "tools/ci/dockerfiles/ubuntu-install-sh-test/**"
- "tools/setup/**"
- "tools/accelerator/local-llm.ts"
- "tools/accelerator/validate-local-llm.ts"
- ".mise.toml"
- ".dockerignore"
- ".github/workflows/docker-ubuntu-install-sh-test.yml"

concurrency:
group: docker-ubuntu-install-sh-test-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
docker-ubuntu-test:
name: docker-ubuntu-install-sh-test
runs-on: ubuntu-24.04
# Cold build: full install.sh (mise toolchain + lean + jars) + ollama 1.2GB +
# 398MB model pull. Generous bound for the first uncached run.
timeout-minutes: 40
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: docker build (the test — install.sh + local-LLM validation inside)
run: |
docker build \
-f tools/ci/dockerfiles/ubuntu-install-sh-test/Dockerfile \
-t zeta-ubuntu-install-sh-test \
.
2 changes: 2 additions & 0 deletions docs/BACKLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,8 @@ are closed (status: closed in frontmatter)._
- [ ] **[B-0934](backlog/P2/B-0934-backlog-index-integrity-required-or-advisory-decision-2026-05-29.md)** Decide whether backlog-index-integrity is required or explicitly advisory
- [ ] **[B-0937](backlog/P2/B-0937-redundancy-checks-across-satellites-and-rules-mirror-beacon-rhyme-retirement-hub-over-budget-detector-2026-05-29.md)** Redundancy-checks across satellites + rules — duplicate-content audit, mirror→beacon rhyme-retirement, hub-over-budget detector
- [ ] **[B-0939](backlog/P2/B-0939-self-propagating-markdown-compiler-rule-bootstrap-traveler-template-every-md-propagates-or-doesnt-compile-aaron-mika-2026-05-30.md)** Self-propagating-Markdown compiler-rule + bootstrap-traveler template (every .md is a self-propagating pattern through time or it doesn't compile)
- [ ] **[B-0940](backlog/P2/B-0940-evaluate-ubuntu-support-value-nixos-primary-community-reach-aaron-2026-05-30.md)** Evaluate what Ubuntu support brings us — NixOS is primary; Ubuntu's value is community/contributor reach
- [ ] **[B-0941](backlog/P2/B-0941-nixos-native-ollama-local-llm-hole-in-the-shield-test-passes-by-skipping-aaron-2026-05-30.md)** NixOS-native ollama for the local-LLM primitive — close the hole in the shield (NixOS test passes by SKIPPING, not validating)

## P3 — convenience / deferred

Expand Down
Loading
Loading