Skip to content

Pixel-CLI/pixel / .agents/skills/docker-setup-smoke

docker-setup-smoke

Verified

Replay Pixel's new-user setup in Docker without an LLM — install through a release archive, install.sh, the Homebrew tap, or sources from main, a PR head or a pinned commit; then personal Claude/Codex/pi settings kept, idempotent reinstall, first pixel audit, doctor and --fix, project install, disabled classify and uninstall; with --agents, Claude Code, Codex and pi sessions against a scripted fake model show whether each receives the Pixel prompt, runs pixel and routes grep. Use for Linux setup smoke checks, not macOS behavior or real model inference.

FileKindSize
SKILL.mdskill md10.7 KB
scripts/Dockerfileother1.8 KB
scripts/agents.shscript7.6 KB
scripts/bootstrap.shscript1.0 KB
scripts/brew.shscript2.6 KB
scripts/checks.shscript11.8 KB
scripts/fake-llm.pyscript8.8 KB
scripts/installer.shscript934 B
scripts/run.shscript5.6 KB
scripts/source.shscript1.0 KB
scripts/test-runner.pyscript11.1 KB

scripts/source.sh

View on GitHub
#!/bin/sh
# SPDX-FileCopyrightText: The Pixel contributors
# SPDX-License-Identifier: MIT

set -eu
git init -q /source
cd /source
git remote add origin https://github.com/Pixel-CLI/pixel.git
git fetch --depth 1 origin "$PIXEL_SOURCE_REF"
git checkout --detach FETCH_HEAD
sha=$(git rev-parse HEAD)
printf 'source-ref: %s\nsource-sha: %s\n' "$PIXEL_SOURCE_REF" "$sha" > /evidence/source.txt
rustc --version
cargo --version
# Match the shipped Linux feature set; omit debug info for a smaller smoke build.
export CARGO_PROFILE_DEV_DEBUG=0
echo 'Building: cargo build --locked -j 4 -p pixel-cli --no-default-features --features model2vec'
cargo build --locked -j 4 -p pixel-cli --no-default-features --features model2vec
install -o tester -g tester -m 755 target/debug/pixel /home/tester/.local/bin/pixel
/home/tester/.local/bin/pixel --version > /evidence/binary-version.txt
cat /evidence/binary-version.txt
grep -qx "commit: $sha" /evidence/binary-version.txt
printf 'PIXEL_BIN_DIR=/home/tester/.local/bin\nPIXEL_OWNS_BINARY=1\n' > /etc/pixel-smoke.env
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 466kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 466kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 466kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 192kUpdated Claude CodeCodexVerifiedInstall