Huginn/crates/eureka-pipeline
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 12cda03e98 rustup component add clippy 2>&1 | tail -1
cargo clippy --locked --workspace --all-targets -- -D warnings 2>&1 | tail -30
echo "CLIPPY-RC ${PIPESTATUS[0]}"
cargo test --locked --workspace 2>&1 | grep -E "^test result" | awk '{p+=$4; f+=$6} END {print "TOTAL passed", p, "failed", f}'
EOS
S=$(pwd); (SUMMARY=$S/v4.log nohup bash C:/Users/Meta/.claude/skills/eureka/tools/stopgap/ygg-verify.sh /f/Projects/Huginn-leaf-anchors HEAD rust "$(tr -d '\r' < v4.sh)" > v4.launch 2>&1 &); sleep 1; echo ok
Allow clippy::large_enum_variant on PipelineDocument

CutSpec.reads grows the largest variant past clippy's 200-byte gap to the next; boxing a variant would change every construction site, and a document is a transient wrapper around one value. Builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 21:40:57 +02:00
..
golden Golden lines and published schemas derived for CodeLocation.symbol and CutSpec.reads 2026-10-09 21:12:25 +02:00
src rustup component add clippy 2>&1 | tail -1 2026-10-09 21:40:57 +02:00
Cargo.toml Relicense the workspace AGPL-3.0-only, own the CultLib rev once, index every schema 2026-10-09 15:15:10 +02:00
README.md Leaf: CodeLocation.symbol and CutSpec.reads, additive at epoch v2 through the value_types! = absent marker 2026-10-09 20:29:53 +02:00

eureka-pipeline

The pipeline leaf: typed documents, bounds, keys and the cultcache wrappers that define the mind's wire. Library only.

Provenance and license

Copied once from GameCult/Epiphany at ef956865, where it was licensed PolyForm Noncommercial. Its sole copyright holder relicensed it AGPL-3.0-only on 2026-10-09; the root LICENSE is the AGPL-3.0 text and covers this crate like the rest of the workspace.

Wire parity checks

Committed (runs in cargo test -p eureka-pipeline): encoded_envelopes_match_the_committed_golden asserts key, cultcache type id, schema name and payload bytes of every kind and every encoding-relevant variant against golden/envelopes.txt. A diff there is a wire change; do not regenerate it to make the test pass. An additive field adds golden lines and never changes an existing one.

Opt-in, against a real store: stored_documents_read_back decodes, validates and keys every stored pipeline document and asserts that it re-encodes to the stored key, type and payload bytes. Take a copy of the store (the test copies the file again before opening it, so the copy may be read-only), never open the live one:

sudo cp /var/lib/gamecult/huginn/minds/eureka/mind.redb "$SNAP/minds/eureka/mind.redb"
HUGINN_MIND_SNAPSHOT="$SNAP" cargo test -p eureka-pipeline -- --ignored --exact tests::stored_documents_read_back --nocapture