Skip to content
Merged
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
5e757b8
perf(skippy): reuse prompt prefixes without eager KV snapshots
i386 Oct 31, 2026
284ccb9
fix(skippy): report independent checkpoint RAM retention
i386 Oct 31, 2026
dfb5de0
docs: track reusable four-model KV validation jobs
i386 Oct 31, 2026
fc45513
fix(skippy): admit requests against the full KV pool
i386 Oct 31, 2026
2774f42
docs: cover admission and retained KV scaling in validation
i386 Oct 31, 2026
0ae5e10
feat(ggml): add indexed KV attention for validation
i386 Oct 31, 2026
493892c
docs(skippy): distinguish attention layout rounding from indexing
i386 Oct 31, 2026
52ee087
perf(ggml): bound indexed attention tuning and mask construction
i386 Oct 31, 2026
88c0e4a
test(skippy): add reusable four-model KV validation commands
i386 Oct 31, 2026
5e45c6a
test(skippy): drain snapshot fixture output while children run
i386 Oct 31, 2026
0f741cd
docs(skippy): record throughput parity and four-model CUDA validation
i386 Oct 31, 2026
d871b37
test(skippy): verify native checkpoint cold offload and restart
i386 Oct 31, 2026
5b50723
perf(ggml): route indexed decode through the vector attention kernel
jaredwy Oct 31, 2026
0c4a0ca
feat(bench): add reusable fixed-work AgentX comparison campaigns
i386 Oct 31, 2026
31a0eb8
fix(skippy): enable resident prefix reuse with one lane
i386 Oct 31, 2026
83a052f
fix(bench): bind offline AgentX tokenizers to pinned snapshots
i386 Oct 31, 2026
25f3bb7
fix(bench): parse structured output independently of diagnostic redac…
i386 Oct 31, 2026
58dbff8
fix(skippy): admit queued requests until their actual deadline
i386 Oct 31, 2026
ae2b64f
fix(skippy): restore cooperative prefill and longest-prefix reuse
i386 Oct 31, 2026
1501768
fix(skippy): preserve upstream CUDA attention selection
i386 Oct 31, 2026
59c670b
test(skippy): verify large cold offload disk concurrency and restart
i386 Oct 31, 2026
85ff92f
fix(skippy): preserve standard attention arithmetic
i386 Oct 31, 2026
db52a30
fix(skippy): prevent cache restores waiting behind a partial wave
i386 Oct 31, 2026
623b524
fix(skippy): avoid waiting for an empty direct decode batch
i386 Nov 1, 2026
e3c43f6
perf(skippy): use upstream per-owner KV rows for attention
i386 Nov 2, 2026
4ae8c55
docs(skippy): record final row-attention gates and fleet policy
i386 Nov 2, 2026
e4ae069
fix(skippy): enforce shared prefix admission and evidence
i386 Nov 6, 2026
5be9a56
ci(agentx): admit the pinned upstream client environment
i386 Nov 6, 2026
3ea4eef
fix(skippy): preserve fair admission and native boundaries
i386 Nov 6, 2026
cfa7587
fix: address cache and AgentX review findings
i386 Nov 6, 2026
80a919d
perf(skippy): match llama.cpp decode on Metal and resume multi-turn c…
jaredwy Nov 9, 2026
63602d8
perf(skippy): rebase the Metal decode work onto the new llama pin
jaredwy Nov 12, 2026
73e7268
fix(skippy): restore multi-turn checkpoints and span nesting lost in …
jaredwy Nov 12, 2026
2ab38ae
perf(skippy): place each request's share of a batch together in the K…
jaredwy Nov 12, 2026
42005f4
feat(skippy): batch policy API, configurable sampling executor, revie…
jaredwy Nov 12, 2026
2230468
test(skippy): add a concurrent wave to the cache reuse smoke
jaredwy Nov 12, 2026
c537fec
test(skippy): check row-list attention on the GPU for pooled list lay…
jaredwy Nov 12, 2026
ee8d792
fix(skippy): give the task pool test the source include path
jaredwy Nov 12, 2026
ea6de46
fix(skippy): keep every concurrent session's exact-state entry past t…
i386 Nov 15, 2026
e821ec3
fix(skippy): scale exact-state capture admission with the serving lan…
i386 Nov 15, 2026
2b25bb6
feat(xtask): reproducible parallel AgentX fleet benchmarks
i386 Nov 15, 2026
69f2785
feat(xtask): build AgentX fleet inputs from pinned source, move bytes…
i386 Nov 16, 2026
fbd6ae2
fix(xtask): build fleet inputs without sccache on fresh machines
i386 Nov 16, 2026
98ac0d7
fix(xtask): disable fleet in-job sccache through the build script's s…
i386 Nov 16, 2026
3acd8e8
fix(xtask): retry refused connections in the fleet smoke probe
i386 Nov 16, 2026
e06ea6a
fix(xtask): ship smoke serve logs as artifacts and stagger probe starts
i386 Nov 16, 2026
ec18faf
fix(xtask): gate fleet smoke probes on real server readiness
i386 Nov 16, 2026
943b8a0
fix(xtask): collect llama-server's companion libs from build/bin too
i386 Nov 16, 2026
9737f96
feat(xtask): decode-profile pass in the fleet smoke
i386 Nov 16, 2026
d5d7dcc
fix(skippy): make the hard byte cap enforce above the retention floor…
i386 Nov 16, 2026
625d2f4
feat(xtask): prefill chunk-size sweep in the fleet smoke
i386 Nov 16, 2026
b6dc1a4
feat(xtask): emit skippy stderr telemetry spans during the decode pro…
i386 Nov 16, 2026
381d3c9
fix(xtask): wait for serve processes to exit before starting the next
i386 Nov 16, 2026
56fab3a
fix(xtask): repair mangled skippy profile serve invocation
i386 Nov 16, 2026
d3d8b6d
feat(xtask): skippy no-cache profile pass to isolate prefill overhead
i386 Nov 16, 2026
06d0221
feat(xtask): nsys CUDA timeline profiling for prefill overhead isolation
i386 Nov 16, 2026
8b5e87b
Merge main 90286bb7 into skippy/metal-placement-batching
jaredwy Nov 18, 2026
25770dc
fix(skippy): stop building native test targets no patch defines
jaredwy Nov 18, 2026
738bef6
fix(skippy): keep compacted KV rows when their chunk had been released
jaredwy Nov 18, 2026
ec1fa11
fix(skippy): check every row-list entry before Metal reads a block fr…
jaredwy Nov 18, 2026
275f71e
fix(skippy): keep a task pool helper within the limit of the run it s…
jaredwy Nov 18, 2026
12de9dd
fix(skippy): apply the KV memory opt-outs to MSA, DSA-ISWA and DeepSe…
jaredwy Nov 18, 2026
89c4a21
fix(skippy): end process tracing when the host exits, not when a mode…
jaredwy Nov 18, 2026
aa4bb28
fix(skippy): report native checkpoint bytes against the checkpoint bu…
jaredwy Nov 18, 2026
470e81c
fix(skippy): release a discarded span's Tracy lane
jaredwy Nov 18, 2026
837cb73
fix(skippy): read the current row-list attention layout in the KV matrix
jaredwy Nov 18, 2026
76a06e5
docs(skippy): move the KV validation plan beside its README
jaredwy Nov 18, 2026
46c314b
Merge main 152ecf5a into skippy/metal-placement-batching
michaelneale Nov 19, 2026
1ec8152
fix: defer unpinned Qwen performance suites
i386 Nov 19, 2026
01eb926
ci: merge latest main into PR 3031
i386 Nov 19, 2026
7f54431
ci: declare the KV validation model list as a cache input and match m…
michaelneale Nov 19, 2026
ede388c
ci: stop requiring an eager kv-recurrent record from dense resident s…
michaelneale Nov 19, 2026
8af030b
ci: expect resident prefixes for the hybrid model in the split smoke
michaelneale Nov 19, 2026
3afad3e
Merge branch 'main' into skippy/metal-placement-batching
michaelneale Nov 19, 2026
b31d74b
chore: merge skippy/metal-placement-batching into fix/pr3031-prefix-r…
michaelneale Nov 19, 2026
d3c020a
fix(xtask): drop unused probe_url_range
michaelneale Nov 19, 2026
7271922
fix(ci): review fleet-worker python probes, drop standalone probe scr…
michaelneale Nov 19, 2026
e8b3351
Merge origin/main into fix/pr3031-prefix-retention
michaelneale Nov 20, 2026
f5e1d2c
fix(skippy-serving): keep explicit exact budgets strict and floor per…
michaelneale Nov 20, 2026
aff032f
chore(agentx): split fleet launcher out of the prefix-retention fix
michaelneale Nov 20, 2026
012de4e
fix(skippy): restore the hybrid checkpoint test from its page and rec…
michaelneale Nov 20, 2026
f8c9800
fix(skippy): record the patch queue digest after the hybrid checkpoin…
michaelneale Nov 20, 2026
678d162
fix(skippy): recheck model content when file stamps fall inside the t…
michaelneale Nov 20, 2026
e6037b0
perf(skippy): defer batch synchronization to export time for CPU/GPU …
i386 Nov 20, 2026
6e88aea
Merge remote-tracking branch 'origin/main' into w3098
michaelneale Nov 20, 2026
4e851c2
fix(skippy): address exact-state retention and runtime review findings
i386 Nov 20, 2026
9d69c02
Merge main into prefix retention
i386 Nov 20, 2026
e9c35db
Stabilize inference and cancellation tests on slow Windows runners
i386 Nov 20, 2026
e60fe81
fix(skippy): account for embeddings after the cleanup fence
i386 Nov 20, 2026
04164fc
Merge remote-tracking branch 'origin/main' into fix/pr3031-prefix-ret…
michaelneale Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
83 changes: 83 additions & 0 deletions .agents/skills/agentx-fleet-bench/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# agentx-fleet-bench

Reproduce AgentX llama-vs-skippy benchmarks across parallel fleet machines, driven by xtask, with
everything pinned and reviewable.

## When to use this skill

- Run, reproduce, or harvest an AgentX comparison (llama vs skippy) or smoke probe across one or
more fleet machines.
- Diagnose a fleet benchmark run (bounced jobs, missing results, stranded evidence).
- Publish fleet benchmark results to MLflow or a PR.

## Surface

All verbs live under `cargo xtool automation agentx`:

| Verb | Purpose |
|---|---|
| `pin` / `comparison` | Single-machine provenance pin and the 6-arm comparison (existing) |
| `fleet --input manifest.json` | Validate a manifest, pre-flight every kit URL, generate one jy spec per run, submit all in parallel, stamp a run-root |
| `fleet-status --run-root DIR` | Per-job status table for a run-root |
| `fleet-harvest --run-root DIR` | Fetch evidence for terminal jobs, extract matrices, print the results table |
Comment thread
i386 marked this conversation as resolved.
Resolved
| `mlflow-export` / `mlflow-publish` | Publication (existing) |

The fleet worker script is repo-owned at `skippy/evals/agentx/fleet-worker.sh` and embedded by
SHA; never edit a copy in a run directory. Models and the corpus are pinned by repo/rev/sha256
in the manifest. The worker clones the product repository at the manifest commit, builds the
native runtime, skippy CLI and the unpatched llama-server baseline from pinned source, and
moves every result and evidence file through jy artifacts (the daemon uploads
$JIANYANG_ARTIFACT_DIR). There is no external object storage in the flow: distribution is by
git commits, evidence by jy artifacts.

## Manifest

```json
{
"campaign": "agentx-prNNNN-YYYYMMDD",
"product_source_commit": "<full40>",
"repo_url": "https://github.com/Mesh-LLM/mesh-llm",
"mode": "smoke",
"corpus": {"repo": "...", "rev": "...", "sha256": "64-hex"},
"runs": [
{"model": "qwen3.5-4b", "backend": "cuda", "probe": {"conversations": 4, "turns": 4, "block_chars": 6300}}
]
}
```

Model references resolve to repo/rev/file/sha entries that live in
`skippy/evals/kv-validation/models.json` plus the manifest's per-run overrides.

## Hard rules (learned expensively)

1. **Placement is by hardware only.** Targets are `os: linux|macos` plus worker-side guards
(`NO_AARCH64_HOST`, memory floor for Metal). Never target nodes by name.
2. **`jy result` returns nothing until a job TERMINATES.** A running job with no results is
healthy. Never cancel for missing results.
3. **Artifacts ship only on clean worker exit.** For stranded evidence use the scavenge pattern:
a pinned-hardware job that tars the dead run dir into `$JIANYANG_ARTIFACT_DIR` and exits 0.
4. **Guard-exits requeue; real errors diagnose.** `NO_PYTHON312`/`NO_AARCH64_HOST`/placement
bounces: `jy requeue <job>` (submit dedupes identical specs). Anything else: read
`jy logs <job> | tail -30` first.
5. **`fleet` pre-flights the pinned commit** (`git ls-remote`) before submitting, and the
worker builds everything from that commit. Never distribute binaries through external object
storage: source pins + jy artifacts only. The historical CDN path-keyed negative-cache
(404s pinned for hours per URL path) is exactly why.
6. **A/B experiments must target the intended budget knob.** `AGENTX_SKIPPY_PREFIX_CACHE_BUDGET`
(exact-state catalog cap) is distinct from `AGENTX_SKIPPY_PREFIX_CACHE_RAM` (resident
checkpoint RAM).
7. The prefix-reuse regression probe is `skippy/evals/agentx/prefix-reuse-probe.py` (exit 1 on
any post-first-turn miss).
8. `jy` sessions expire; empty CLI output means `jy login` and retry.
9. Watch long runs with a paseo heartbeat that carries these rules; 10-minute cadence for smoke,
30 for full campaigns.
10. Harvest order: evidence -> results table -> PR comment -> MLflow publish, in that order.

## Reading results

- Smoke reports per-turn `tok/s` and `cached%` plus a `steady_tok_s` summary per engine. Skippy
`cached%` should track llama's on every model; a gap with matching cache means decode-bound, a
gap with low cache means retention is still failing.
- Comparison campaigns interleave arms (`llama, skippy, skippy, llama, llama, skippy`) at
c1/c2/c4 with 69 requests and 18,713 verified output tokens per cell. Judge skippy by
`output_tok_s`, `cache_read_tokens.p50`, and `ttft.p50` per cell.
10 changes: 8 additions & 2 deletions .agents/skills/manage-ci/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,14 @@ Python-free or remove legacy validation before its Rust replacement passes.

Retained external Python dependencies have bounded owners: the admitted external
Python SDK and its locked client environments, llama.cpp's upstream Jinja and FP8 conversion tests
using the trusted controller's `ci/llama-canary/jinja/uv.lock`, and the optional llama-benchy wrapper with
an immutable default source commit. These interfaces do not authorize new
using the trusted controller's `ci/llama-canary/jinja/uv.lock`, the optional
llama-benchy wrapper with an immutable default source commit, and the pinned
external AgentX client environment under `skippy/evals/agentx/`. AgentX setup
uses an installed Python 3.12 interpreter without interpreter downloads;
prepared campaign workers remain offline. Its exact dependency inputs,
upstream wheel identity, and setup invocation belong to the typed policy below.
See [the November 6 AgentX maintainer decision](references/maintainer-decisions.md).
These interfaces do not authorize new
repository Python implementations. The canary Jinja environment belongs to its
run's state directory and must use a preinstalled interpreter; dependency
restoration must not download an interpreter or skip upstream tests. Freeze the
Expand Down
17 changes: 15 additions & 2 deletions .agents/skills/manage-ci/references/current-inventory.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# MeshLLM CI inventory

Manual KV validation lives in `automation kv-validation` and the thin
`skippy-kv-*` Just recipes. It prepares one external native test harness against
an exact packaged runtime, then reuses producer artifacts for the four pinned
AgentX models. Its explicit Linux JY CPU/CUDA specs use the accepted lab/custom
schema; Metal runs natively through the same local owner. This foundation is
not selected by ordinary CI and does not qualify deferred long-c4/L3/performance
checks. See `skippy/evals/kv-validation/README.md`.

The optional AgentX comparison owner consumes the pinned external client and
locked environment in `skippy/evals/agentx/`. The November 6 maintainer decision
admits this bounded dependency through `ci/python-tooling-policy.json`.
`agentx-setup` uses installed Python 3.12 without interpreter downloads;
campaign workers use prepared inputs offline. This adds no required CI lane.

Every workflow disables Rust debug information for the dev, test, release and
bench profiles through workflow- or job-level `CARGO_PROFILE_<PROFILE>_DEBUG=0`.
Reusable workflows set their own environment, and the Linux test, client and
Expand All @@ -12,6 +26,7 @@ checks are preserved. Cache epoch `v5` invalidates the previous namespace.
Batch jobs report filesystem space before each package and target/compiler-cache
sizes after the test step, including failures.


The standalone C++ facade paths `skippy/skippy_api/**` and
`skippy/skippy-api-rs/**` have additive tooling ownership. Their catalog-only
admission is a protected-main prerequisite before dependent branches adopt the
Expand Down Expand Up @@ -135,7 +150,6 @@ workflow owners, direct PR routing and still-unverified census in agreement.
| `release.yml` | dispatch on the default branch | Canonical version synchronization, release-only signing, assets, publication, post-publish release-notes regrouping, and a preflighted downstream `mesh-packaging` dispatch |
| `resume-crates-release.yml` (`Release · Resume crates.io`) | dispatch on the default branch | Exact-tag, exact-SHA recovery for a partially published stable crates.io chain; grants `packages: read` to pull its pinned GHCR runner image; workflow-commit controller validates locked historical metadata and the source's literal roster through Rust, then publishes from the immutable release source |
| `website-pages.yml` | main website paths, dispatch | Public website deployment |
| `dflash-pairings-publish.yml` (`Publish DFlash pairing index`) | push to `main` touching `mesh/crates/mesh-llm-skippy-adapter/data/dflash-pairings/**`, dispatch on `main` | Publishes the checked-in DFlash pairing index to Hugging Face `meshllm/dflash-pairings` with `HF_TOKEN`: uploads `index/<sha256>.json` only when absent (never overwritten or deleted; an existing copy must hash to its name), refreshes the human-facing root `index.json` and `README.md`, then re-downloads and hashes the published file. Releases pin the index by `DFLASH_PAIRING_INDEX_SHA256`. GitHub-hosted with the pinned `public cpu` image for the `hf` CLI; one non-cancelling concurrency group per commit, so no pending publication is replaced; only the run whose pairings still match `main` refreshes the root copies |
| `pr_cleanup.yml` | PR close, dispatch | Positively matched cleanup only |
| `pr_auto_assign.yml` | PR lifecycle | Metadata only |
| `cache-warm-sccache.yml` (`Cache · Trusted sccache seed`) | successful Main Quality, dispatch | Sole bounded Linux compiler-seed publisher on GitHub-hosted infrastructure |
Expand Down Expand Up @@ -742,7 +756,6 @@ Reusable slices/workflows with a `container:` job, and what backs it:
| `ci-ui-artifact-slice.yml` | `ui_stamp` | `public cpu`, release-tag callers only; protected automation checkout consumes the immutable raw distribution |
| `ci-web-slice.yml` | `ui_quality`, `ui_e2e`, `mesh/website` | `public ui`, `public browser`, existing `public web`, respectively |
| `website-pages.yml` | `build` | `public web` |
| `dflash-pairings-publish.yml` | `publish` | `public cpu`, sha256:f499b79b... -- unconditional, no bare-metal row |
| `nightly-stability-run.yml` | `stability` | `public cpu`, the image `prepare-automation` verifies (also bakes the node/pnpm the CLI-smoke step needs) |
| `nightly-kv-coverage.yml` | `ownership-state-machines` | `public cpu`, sha256:8d93de6b... |
| `release.yml` (CUDA/ROCm/Vulkan compiler rows) | per-backend `public` digests | Native compiler/toolkit images remain backend-specific; amd64 CUDA preserves its intentional ARC self-hosted placement |
Expand Down
18 changes: 18 additions & 0 deletions .agents/skills/manage-ci/references/maintainer-decisions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Maintainer decisions

## 2026-11-06: retain the external AgentX client

James directed: “we must make allowances for agentx.” This answered the proposal
to admit PR #2746's existing pinned upstream client and locked environment,
with setup using an installed Python 3.12 interpreter.

Source: [James's decision in Reviews](buzz://message?channel=97e27aa1-1281-4752-91a4-24ea085e1a62&id=31a7946c8680288d723e2831e22218e77d3d62c6732e87b70b24ed8605fd52b8).

The bounded owner is `skippy/evals/agentx/`: its exact upstream AgentX wheel,
dependency manifest, lock and setup invocation are registered in
`ci/python-tooling-policy.json`. Setup does not download an interpreter.
Campaign workers consume the prepared environment offline and verify its bytes.
This decision permits the external client dependency; it does not permit new
repository Python implementations or a general interpreter invocation bypass.
Changing the admitted inputs still requires updating their exact typed policy
and passing the policy's rejection tests and normal repository consistency gate.
6 changes: 4 additions & 2 deletions .github/actions/plan-ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,13 @@ runs:
exit 1
fi
manifest_root=$(mktemp -d "$RUNNER_TEMP/mesh-ci-manifests.XXXXXX")
# BSD tar can stop after end markers before git writes its padding.
# Finish the producer first so pipefail cannot mistake SIGPIPE for drift.
# BSD tar may stop at end-of-archive before Git writes its final
# padding. Materialize the archive so pipefail cannot reject valid
# manifests because the producer receives SIGPIPE.
manifest_archive=$(mktemp "$RUNNER_TEMP/mesh-ci-manifest-archive.XXXXXX")
git archive --format=tar "$SOURCE_SHA" -- ci/ownership.yml ci/slices.yml > "$manifest_archive"
tar -x -f "$manifest_archive" -C "$manifest_root"
rm "$manifest_archive"
profile=pr-ready
if [[ "$DRAFT" == "true" ]]; then
profile=pr-draft
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/select-ci-runners/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ runs:

# This checked-in deadline makes the accepted repository-wide cache
# risk self-expiring. Extending it requires a reviewed source change.
depot_pr_exception_expires="2027-09-14"
depot_pr_exception_expires="2026-09-14"
current_utc_date="$(date -u +%F)"
depot_pr_exception_active=false
if [[ "$INPUT_DEPOT_PR_ENABLED" == "true" &&
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ mesh/sdk/swift/Generated/MeshLLMFFI.xcframework/
# Generated UI dependencies left at their pre-split location.
/crates/mesh-llm-ui/node_modules/

# Local seL4 Microkit experiments (see #2866 review)
microkit-work/
# C++ tooling scratch; skippy/skippy_api/.clang-tidy is checked in.
/.lsmcp/
compile_commands.json
Expand Down
25 changes: 24 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions ci/ci.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# MeshLLM CI topology

`automation kv-validation` is an explicit manual diagnostic surface, separate
from the five required PR/main lanes. One backend producer prepares matching
tools and the external indexed-attention model harness once; four model jobs
reuse the immutable prepared image. The Linux JY adapter emits CPU/CUDA custom
jobs without dispatching them. Native Metal uses the local worker command.
No automatic GPU/model fan-out or required-check topology changes accompany
this foundation. See `skippy/evals/kv-validation/README.md` for its bounded scope.

The optional AgentX comparison uses a separately prepared, pinned upstream
client environment. Its manifest, lock, wheel identity and setup invocation are
admitted by `ci/python-tooling-policy.json` under the November 6 maintainer
decision. Setup requires installed Python 3.12; workers remain offline. The
allowance changes no required-check topology or generic Python tooling policy.

All workflows disable Rust debug information with workflow- or job-level
`CARGO_PROFILE_DEV_DEBUG=0`, `CARGO_PROFILE_TEST_DEBUG=0`,
`CARGO_PROFILE_RELEASE_DEBUG=0` and `CARGO_PROFILE_BENCH_DEBUG=0`.
Expand All @@ -13,6 +27,7 @@ before each package and retained target/compiler-cache sizes even when tests fai
The upstream canary sets the environment in each executing job and its reusable
family-pass workflow separately.


## Standalone C++ API qualification

The protected catalog admits `skippy/skippy_api/**` and
Expand Down
29 changes: 29 additions & 0 deletions ci/model-artifacts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ to this contract. Every artifact records an immutable
Hugging Face revision, its exact file set, byte sizes, SHA-256 digests, family
capabilities, and the suites and cadences allowed to use it.

A suite built from models pinned elsewhere is declared, not typed in:
`derived_suites` names a pinned evals model list
(`skippy/evals/kv-validation/models.json`), the selectors to register it at
and an id prefix, and the generator refuses the registry until every derived
row exists, so a member cannot be forgotten. `cargo xtool models pin` with no
arguments registers exactly the missing rows: each file name is the list's
with its selector suffix swapped (`Qwen3.5-4B-Q4_K_M.gguf` at `BF16` is
`Qwen3.5-4B-BF16.gguf`), each id is `<prefix>-<key>` with the selector slug
swapped (`perf-qwen3.5-4b-bf16`), and the size and LFS SHA-256 come from the
Hub over the pinned HTTPS transport, with the list's own digest enforced at
its own selector. A single file enters with
`cargo xtool models pin <repo>@<revision> <file> --id <id> --family <family>
--selector <text> --suite <suite> --tag <tag>...`, which resolves the revision
to its commit the same way; `--expect-sha256` checks the Hub against a digest
pinned elsewhere and `--dry-run` prints the rows instead of writing them.

Run the generator after changing the registry:

```bash
Expand All @@ -25,6 +41,19 @@ files with `--verify-root`. Single-file consumers additionally pass
`--require-single-file` so multipart artifacts fail closed. CI caches use the
artifact digest in their exact key; a cache hit is still verified before use.

A whole suite is materialized on one machine with
`cargo xtool models fetch <manifest> --cadence <cadence> --root <dir>`. Each
artifact lands in `<root>/<artifact id>/<file>` through the pinned HTTPS
transfer and is held to the manifest's size and SHA-256; a file that already
verifies is kept, one that does not is reported and left for the operator.
`--dry-run` lists what would be fetched and how much, `--artifact-id` limits
the fetch to one artifact, and `models resolve --artifact-id <id>
--verify-root <root>/<id>` checks a fetched artifact afterwards. The
`performance-*` suites are the manual performance tiers: `performance-coverage`
pins one representative of each architecture class (dense, MoE, MLA, MXFP4,
sliding window, Mamba2, RWKV7, Granite hybrid, embedding, reranker) at the
same revision the family battery certifies.

Multi-artifact manifests may declare `default_artifact_id` for callers that
intentionally consume the suite's canonical fixture without selecting an
artifact explicitly. Explicit `--artifact-id` selection always takes
Expand Down
2 changes: 1 addition & 1 deletion ci/model-artifacts/manifests/competitive-benchmark.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schema_version": 1,
"manifest_kind": "test-model-artifacts",
"suite": "competitive-benchmark",
"registry_sha256": "b728aded7ecf526901a7b2735a4cb94aac4d749c0ebb8888caa8aa82d65e134e",
"registry_sha256": "66c2ae6cf5724d2609d60c1f2f442b7de5483f43e860f4c4fa5a14332e387f59",
"artifacts": [
{
"id": "family-llama",
Expand Down
2 changes: 1 addition & 1 deletion ci/model-artifacts/manifests/hf-download-smoke.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schema_version": 1,
"manifest_kind": "test-model-artifacts",
"suite": "hf-download-smoke",
"registry_sha256": "b728aded7ecf526901a7b2735a4cb94aac4d749c0ebb8888caa8aa82d65e134e",
"registry_sha256": "66c2ae6cf5724d2609d60c1f2f442b7de5483f43e860f4c4fa5a14332e387f59",
"artifacts": [
{
"id": "smollm2-q4-download",
Expand Down
2 changes: 1 addition & 1 deletion ci/model-artifacts/manifests/openai-smoke.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schema_version": 1,
"manifest_kind": "test-model-artifacts",
"suite": "openai-smoke",
"registry_sha256": "b728aded7ecf526901a7b2735a4cb94aac4d749c0ebb8888caa8aa82d65e134e",
"registry_sha256": "66c2ae6cf5724d2609d60c1f2f442b7de5483f43e860f4c4fa5a14332e387f59",
"artifacts": [
{
"id": "smollm2-q4-download",
Expand Down
Loading
Loading