[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718NGEZ1C38M5KQZMDQ2THW":3,"skill-same:01M718NGEZ1C38M5KQZMDQ2THW":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":53,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M718NGEZ1C38M5KQZMDQ2THW","llaminar-testing",null,"Run, extend, maintain, and diagnose Llaminar's testing and certification workflow, including Unit and production-preflight gates, generation regressions, mathematical model parity, HTTP and remote-MPI E2E, and benchmark-certified Docker images. Use when selecting or running these gates, extending the canonical matrix, or investigating test failures. Kernel tuning and cross-engine performance comparisons have separate skills.","Llaminar\u002Fllaminar","Llaminar","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F247404048?v=4","01M718MTZG2TQSA7DEB5DKQDN1","01M718MV06G9CV8S2JMN9XHX8Y",48,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.agents\u002Fllaminar-testing\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"llaminar testing","testing","unit","extending","running","when","extend","parity","matrix","canonical","remote","maintain","images","model","preflight","tuning","benchmark","run","workflow","performance","2026-11-10 10:12:30",false,"---\nname: llaminar-testing\ndescription: Run, extend, maintain, and diagnose Llaminar's testing and certification workflow, including Unit and production-preflight gates, generation regressions, mathematical model parity, HTTP and remote-MPI E2E, and benchmark-certified Docker images. Use when selecting or running these gates, extending the canonical matrix, or investigating test failures. Kernel tuning and cross-engine performance comparisons have separate skills.\n---\n\n# Llaminar Testing\n\nUse the canonical Llaminar testing workflow from fast model-free prerequisites\nthrough real-weight diagnostics and Release server\u002Fimage certification. Select\nthe gate appropriate to the task; a focused pass is not a full model or image\ncertificate. Reuse the existing drivers and typed matrix instead of maintaining\nanother model\u002Ftopology list.\n\nFor mathematical model parity, prove the live inference path against an\nindependent reference pack generated from the declared real GGUF. Preserve every\nstage comparison and canonical CSV while amortizing immutable model setup;\nnumerical checkpoints, not an extra whole-model hash pass, prove weight equivalence.\n\n## Routine regression versus mathematical diagnosis\n\nThe routine production gate is **Unit → production preflight → HTTP token\ngeneration regression → HTTP needle\u002Flong-context E2E → cross-host MPI E2E →\nbenchmarks → image certification**, independently for AVX512 and AVX2.\nGeneration projects only **MTP off (serial controls) and dynamic-depth MTP**\nfrom the canonical model\u002Ftopology definitions. Both compare against the saved\nserial control outputs, requiring at least 384 continuous committed tokens.\nPrompts, seeds, and each cell's explicit serial-control mapping are versioned\nin the canonical definitions. Expected token payloads are versioned in\n`Llaminar\u002Fcorpora`, pinned by the source gitlink and ISA approval catalog.\nRoutine tests only read those baselines; acquisition\u002Freview\u002Fpublication is a\nseparate explicit workflow. Never silently regenerate answers on drift.\nKeep the fresh\u002Ffull\u002Fpartial prefix probes, exact repeatability, actual dynamic\nMTP activity, movement obligations and captured production-path evidence.\n\nFeature PRs into `develop` use `.github\u002Fworkflows\u002Fdevelop-pr.yml` to build one\nAVX512 full-backend image pair and run only complete Unit and\nProductionTestPreflight inside its test runner. This is the pre-commit scope,\nnot certification: no AVX2, models, E2E, benchmarks or publication. It calls the\nexisting image driver with `--cpu-isa AVX512` and no `--publish`, using the same\nhost-only cache and shared accelerator concurrency group. See\n`docs\u002Fproduction-ci.md` for its same-repository trust boundary and local command.\nThe `develop` ruleset requires that exact check on an up-to-date PR and rejects\ndirect human pushes. The trusted base-branch auto-merge workflow arms native\nsquash auto-merge only for non-draft same-repository PRs; it never runs PR code.\nThe sole direct-push exception is the dedicated release-evidence deploy key for\nthe certified post-squash high-water\u002Fancestry commit. Never grant the general\nGitHub Actions app bypass, since it also owns PR auto-merge.\n\nThe enabled `develop` push workflow is intentionally narrower than that\nroutine certification path. It uses `scripts\u002Fci\u002Frun_develop_image_gate.py` to\nbuild both full-backend AVX512\u002FAVX2 builder\u002Fruntime pairs, run the complete\nUnit and ProductionTestPreflight transaction inside each builder, and publish\nthe two tested `develop` runtime tags **and exact source-SHA tags**. It does not run model discovery,\ngeneration, mathematical parity, HTTP E2E, remote MPI, benchmarks, or attach a\ncertificate. Use it for fast shippable developer images; use the full pipeline\nwhen requesting a certified artifact.\nThe `develop` → `master` PR gate is separate: its required pull-request E2E\ncheck waits for the exact develop-head image pair, proves both ISAs on the full\nHTTP matrix, then its dependent benchmark check consumes that same image-bound\nE2E receipt. The benchmark check runs both ISAs even when the first has a\ncomplete red ratchet report, comments the per-cell red\u002Famber\u002Fgreen numbers on\nthe PR, and fails if any measured phase exceeds the high-water tolerance.\nManual-dispatch E2E or benchmark runs cannot satisfy these PR checks. Do not\ncommit benchmark evidence to the open PR head: `[skip ci]` would strand its\nrequired checks. After a certified squash merge, the master release publisher compares\nthe merge **tree** with the tested develop image tree, revalidates both phase\nartifacts, and promotes those immutable image digests to dated and master\u002FSHA\ntags. It attaches the per-ISA E2E and benchmark JSON plus chart to the GitHub\nrelease. The first dated release uses concise bootstrap notes; later notes\ncover commits since the preceding release. Its dependent job then commits the\ncombined upward-only AVX512\u002FAVX2 high-water marks, result JSON, chart, and\nREADME block to `develop` with `[skip ci]`. That fast-forward commit has the\ntested develop head and certified squash-merged master commit as its two\nparents, keeping the next strict PR up-to-date without rebuilding the image.\nIt does not change the certified master tree. See `docs\u002Fproduction-ci.md` before\nediting the branch ruleset or release workflow. Keep the existing `develop`\ndeletion\u002Fforce-push guard active, but do not require linear history there:\nGitHub's auto-delete-on-merge setting must not remove that persistent branch\nbefore the post-merge evidence commit.\nOn the production ARC scale set, the runner uses the host Docker Unix socket\nrather than DIND so CI and local host work use one daemon and one safe Docker\ncache. Never point two Docker daemons at the same writable data root. Its\nworkspace and model tmpfs mounts are explicit same-path roots declared through\n`LLAMINAR_DOCKER_SHARED_ROOTS`; consult `docs\u002Fproduction-ci.md` before changing\nthe runner deployment.\nDo not run fixed-depth MTP cells or mathematical HF parity by default.\n\nToken drift or a suspected accuracy bug calls for the **specific matching\ndiagnostic mathematical HF parity cell**: retain its failing HTTP request and\ntokens, select the same model\u002Ftopology\u002Fprecision\u002Fmovement\u002FMTP configuration,\nand use checkpoint CSVs to locate the first divergent stage. Do not respond\nby regenerating expected tokens or routinely launching the entire expensive\nmathematical matrix. Fixed-depth mathematical coverage remains available for\nfocused diagnosis; the full mathematical suite is explicit opt-in only.\nFor an image pipeline, `--diagnostic-mathematical-parity` is that explicit\nopt-in; `--through parity` alone is rejected. The normal piecewise boundaries\nare `--through prerequisites` and `--through generation` before HTTP E2E.\nThe procedures below for numerical campaigns describe that diagnostic workflow,\nnot an additional routine CI regression gate.\n\n## Start with the contract\n\nChoose the workflow below before loading model-specific instructions. Treat\n`tests\u002Fv2\u002FCMakeLists.txt` plus generated CTest registration as the test inventory\nsource of truth; never copy an axis table into this skill or a runner script.\nFor model\u002Fgeneration\u002FHTTP runs, read `tests\u002Fv2\u002Fintegration\u002Fparity\u002FREADME.md` and\nthe applicable model definition or fixture. For image certification and remote\ninfrastructure, also read `docs\u002Fproduction-ci.md`.\n\nA production parity cell must:\n\n- load real weights and execute the production runner, graph, kernels,\n  collectives, streams, arenas, and KV policy;\n- compare prefill and incremental decode at every published checkpoint;\n- emit all six canonical numerical CSVs, `prefix_restore.csv`, and\n  `production_path.csv` (plus `mtp_transactions.csv` when MTP is enabled);\n- fail on missing model, backend, reference, snapshot boundary, or path proof;\n- require the exact backend-native captured generation policy for a homogeneous\n  GPU path: one complete parent where graph conditionals exist, or HIP's\n  authenticated ticket-selected retained transaction graphs for MTP;\n- keep the exact configured backend, precision, topology, and optimization;\n- meet the single global 4,500-second performance target shared by the entire\n  discovered matrix. Crossing the target must not stop or truncate correctness\n  and artifact collection.\n\nDo not certify eager replay, a test-only kernel, a host mirror, disabled\noptimization, fewer stages, relaxed thresholds, or a synthetic model as a\nsubstitute for the production path.\n\n## Choose the workflow\n\n- For the full model-free Unit and production-preflight gate, use\n  `scripts\u002Fci\u002Frun_production_prerequisites.py --build-dir BUILD --output NEW_DIR`\n  or the direct CMake\u002FCTest commands below. Refresh once after a build or test\n  inventory change, not for every unchanged diagnostic cell.\n- For public-surface generation regression, use\n  `scripts\u002Fci\u002Frun_model_parity_generation.py --mode regression`; follow the parity README's\n  control acquisition, exact-token, prefix-restore and movement contracts.\n  Diagnostic controls do not automatically certify an image.\n- For HTTP needle\u002Flong-context tests, use `scripts\u002Fci\u002Frun_model_parity_e2e.py`;\n  for remote MPI, follow **Cross-host E2E certification** below. Both derive\n  their eligible cells from the canonical definitions.\n- For complete AVX512\u002FAVX2 image and benchmark certification, use\n  `scripts\u002Fci\u002Frun_production_pipeline.py` and `docs\u002Fproduction-ci.md`. Both full\n  E2E server suites precede benchmarks; one-off benchmarks cannot certify images.\n  Benchmarks consume the canonical `benchmark` production-default projection,\n  not HTTP `server_args`: depth-15 initialization, forced movement and other\n  correctness stress overrides must not enter timing. Preserve model\u002Ftopology,\n  context and precision, and let the runtime resolve performance defaults.\n  Old stress-configured release scores are a different series; remeasure the\n  old implementation with matched intent before claiming a code speedup or\n  absence of regressions. See `docs\u002Fproduction-ci.md`, “Benchmark workload and\n  ratchet,” for policy identity and explicit cross-revision diagnostics.\n- Before publishing a changed benchmark runtime, use\n  `run_model_parity_benchmarks.py --diagnostic --diagnostic-binary PATH` with\n  the complete exported typed E2E manifest. This local Release run preserves\n  the canonical 512-token prefill\u002F256-token decode workload and all cells but\n  cannot mint an image certificate. Verify newly tagged HTTP cells locally as\n  well; only the published-image PR workflow can certify the image pair.\n- To explicitly inventory or run diagnostic mathematical campaigns, follow **Run a campaign**.\n- For a numerical or path failure, also read\n  [CSV evidence](references\u002Fcsv-evidence.md).\n- To regenerate, authenticate, or change the Python oracle, also read\n  [Hugging Face reference](references\u002Fhuggingface-reference.md).\n- To add a backend, model, precision, topology, MoE policy, placement, or MTP\n  depth, follow **Extend the matrix**; validate new math explicitly before\n  acquiring controls, then exercise the routine generation projection.\n- For a discovered defect, add a focused regression before folding the\n  invariant into its production cell.\n\n### Cross-host E2E certification\n\nRemote MPI cases are another typed E2E projection, not a second model matrix.\nThe builder writes `cross-host-manifest.json` from the full inventory; the\nproduction pipeline runs the HTTP long-needle suite first, then\n`scripts\u002Fci\u002Frun_production_cross_host_e2e.py`, and only then benchmarks. The\nrunner uses the existing Azure CLI login (CI performs federated login), creates\nfresh owner-tagged CPU VMs through `azure_cross_host_resources.py`, stages the\nimmutable controller image and every declared model shard, and invokes the public HTTP\nserver with its MPI hostfile. The frontend owns bootstrap; MPI daemons and\ninference children run inside source-tree-identical Release images on each\nhost. A controller may use AVX512 while a remote CPU peer uses the explicitly\nadmitted AVX2 sibling: the runner reads host CPU flags before transfer and\nrejects an incompatible image rather than masking a SIGILL as an MPI failure. Each\nscenario must execute both\nthe `plan-apply` and `auto-serve` routes, prove nonlocal CPU expert work and\nmatched transport evidence in prefill and decode, and retire its exact Azure\nlease. A pipeline-owned empty projection emits an explicit not-applicable\nreport; a missing report, fallback to local execution, or incomplete cleanup is\nfatal. Keep credentials outside image layers and reports; only the ephemeral\ncontroller container receives the SSH key, and no container receives Azure\ncredentials. Use\nprivate VM addresses for MPI and the public address only for authenticated\ncontrol-plane SSH. Fresh Ubuntu peers receive only a secret-free cloud-init\nbootstrap for Docker\u002FSSH\u002FTUN, and the runner waits before staging bytes. The\nrunner owns its SSH tunnel and private Azure return route, not a pre-existing\nVPN. Collect remote rank evidence before container retirement and preserve\nartifacts after temporary staging cleanup. Recover interrupted leases only\nwith their exact receipt; see `docs\u002Fproduction-ci.md` for prerequisites.\n\n### Long-context server stress\n\nUse the mature `tests\u002Fv2\u002Fe2e\u002Fserver\u002Flong_context_checks.py` needle primitive\nwhen a live server fix needs a sustained correctness\u002Flifetime proof. This is a\nfocused stress diagnostic, not a replacement for the complete eight-check E2E\ncertificate and not permission to maintain another model\u002Ftopology matrix.\n\nBracket the server lifetime with `tests\u002Fv2\u002Fe2e\u002Fserver\u002Fgpu_driver_diagnostics.py`\n`begin --state PATH` before startup and `finish --state PATH --report PATH`\nafter teardown. The ordinary HTTP\u002Fgeneration harness does this automatically;\nan ad hoc stress loop must retain the same evidence. New AMDGPU\u002FNVIDIA driver\nwarnings or an unreadable\u002Flost kernel-log interval fail the cell even if all\nresponses are correct. Do not clear historical logs or skip the observer.\nUse the access setup in `docs\u002Fproduction-ci.md`; extra log-reading privileges\nbelong to the tools container, not the certified inference image.\n\nStart the stress clock only after the Release server publishes `ServerReady`.\nFirst run one `run_needle_check` for each of `beginning`, `middle`, and `end` so\nall three exact prompts are admitted to prefix cache. Take the steady-state\nmemory baseline after that warm cycle. Then rotate the same three placements\nfor the requested duration (normally 900 seconds), failing on the first recall,\nHTTP, JSON, timeout, or server-process error. Use the cell's declared context,\nminimum prompt length, thinking-model setting, output budget, and request\ntimeout; do not shorten the prompt or silently restart the server to manufacture\na pass.\n\nEvery canonical stress run also includes at least one production HTTP\ngeneration with an exact `max_tokens: 1024` budget. It is an accuracy oracle,\nnot merely a long-output smoke test: use the cell's reviewed deterministic\ncontrol prompt, seed, prompt-token IDs, 1,024 completion-token IDs, and finish\nreason, and compare them with `scripts\u002Fci\u002Fgeneration_tokens.py`. Send\n`return_token_ids: true` and `return_runtime_summary: true`, then retain the\ncomplete response beside the per-iteration stress artifact. The request must\nretain the cell's long-context needle geometry so the same transaction proves\nlong-prompt state and sustained decode. Structured-output and degeneration\nchecks may supplement this exact token comparison but cannot replace it. The\nshort needle answers commonly stop after only a few tokens and therefore\ncannot prove a decode maintenance cadence, MTP depth behavior, movement epoch,\nor post-movement arithmetic by themselves.\n\nPublish an atomically replaced JSON artifact after every request. Retain the\niteration, placement, pass\u002Fdetail, request wall time, elapsed stress time, and:\n\n- RSS for every `llaminar2 serve` MPI process;\n- CUDA compute-process memory for every participant;\n- ROCm VRAM usage for every participant.\n\nClassify the warm cycle separately: new RAM\u002Fdisk prefix-cache admission may\ngrow memory there. Exact repeat restores after the steady-state baseline must\nnot show monotonic CPU or GPU growth. Inspect per-rank mappings or allocator\nstate rather than dismissing a slope as noise; short-lived participant threads,\nunbounded diagnostic tags, retained request state, and driver allocations are\ndifferent defects. A completed stress proof requires the full requested wall\ntime, at least one pass at every needle placement, zero failed iterations,\nstable post-warm device memory, and no unexplained post-warm host-memory trend.\n\nStop the server through its normal signal\u002FHTTP shutdown path after collecting\nthe terminal sample so MPI followers, background maintenance, graph resources,\nand PerfStats flush cleanly. Search the complete server log for asynchronous\nCUDA\u002FHIP errors and fatal\u002Fwarning lifecycle diagnostics. When Dynamic\nExpertOverlay is selected, the 1,024-token response must prove device\u002Fhost\nauthority as declared by the topology, nonzero completed decision windows, and\na complete authority-owned movement ledger. If the cell is intended to prove\nmovement, require at least one published movement wave, transaction, command,\nand nonzero physical bytes, then validate the expected promotion\u002Fdemotion and\nsame-priority axes. Accuracy and memory stability alone do not prove that\nmaintenance actually ran. A no-movement economy result is valid only for a\ncell explicitly testing that outcome and must retain its typed rejection\nreason.\n\n## Run a campaign\n\nConfigure and build Integration with every available backend. Use Ninja and\nunrestricted parallelism.\n\n```bash\ncmake -B build_v2_integration -S src\u002Fv2 -G Ninja \\\n  -DCMAKE_BUILD_TYPE=Integration\ncmake --build build_v2_integration --parallel\n```\n\nAudit discovery before loading models:\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration --list\n```\n\nThe audit must reject wildcard GTest filters, missing production labels,\nmissing `forward_graph` PerfStats, wrong timeouts, duplicate cases, and empty\nselection. Record campaign and exact-cell counts when changing coverage.\n\nThe first non-list run for a build first builds the CMake-owned `v2_unit_gate`\ntarget and runs the complete `V2_Unit_*` namespace. It then runs the\n`ProductionTestPreflight` integration label, all before the model fixture or\nRAM staging. Unit tests prove device-free policy and state-machine invariants;\npreflight proves MPI\u002Frank lifecycle, orchestration, explicit-stream event\nordering, graph capture\u002Freplay, retained heterogeneous tickets, prepared\nExpertOverlay weights, and CUDA\u002FROCm overlay epochs. Both inventories live only\nin CTest registration: the Python driver discovers and validates them instead\nof copying test or executable names. A preflight-label member must be an\n`Integration` test, require no fixture or external file, and have a timeout no\ngreater than 120 seconds. Any build, unit, or preflight failure stops model\nadmission and is recorded by the combined preflight receipt.\n\nAmortize that receipt across unchanged local diagnostic runs; do not rebuild or\nrerun the two prerequisite suites for each cell. Numerical unseen-cell runs use\n`--reuse-passed-preflight-report PATH`; the generation driver uses\n`--reuse-preflight-report PATH`. Both delegate to the same receipt validator,\nwhich checks the build directory, Ninja\u002FCTest freshness and complete test\ninventory. A stale receipt is a hard error, not permission to bypass the gate.\nAfter a fix, run its focused regression first, finish all required executable\nbuilds, then refresh Unit\u002Fpreflight once before resuming the affected and unseen\ncells. Receipt reuse does not reuse a cell's pass or certify an image.\n\nRun the same prerequisite phases directly when developing their infrastructure:\n\n```bash\ncmake --build build_v2_integration --parallel \\\n  --target v2_unit_gate v2_production_test_preflight_gate\nctest --test-dir build_v2_integration \\\n  --output-on-failure --parallel --no-tests=error -R '^V2_Unit_'\nctest --test-dir build_v2_integration \\\n  --output-on-failure --parallel --no-tests=error \\\n  -L '^ProductionTestPreflight$'\n```\n\nGit pre-commit runs only these two complete model-free suites on every branch.\nThe hook builds their CMake-owned dependency targets and does not launch\nnumerical campaigns, E2E, containers, Release builds, or benchmarks. Register\nthe tracked hooks with `git config --local core.hooksPath .githooks`; see\n`.githooks\u002FREADME.md`. Passing pre-commit is prerequisite evidence, not a\nnumerical, HTTP, or performance certificate. Keep heavier manual\u002FCI gates\nseparate unless the user explicitly changes that policy.\n\nFor development, run the narrow affected backend or precision first. These are\ndiagnostic subsets, not the final economy proof.\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration \\\n  --backend 'CUDA' --precision 'ALL' \\\n  --report parity-results\u002Fcuda-production-campaigns.json\n```\n\nDo not invoke a registered `ProductionCampaign_*` child directly with CTest.\nThose entries are the driver's internal discovery\u002Fscheduling units and fail\nbefore model mapping when the identity-bound tmpfs contract is absent. Narrow a\nreal campaign with the driver's `--campaign`, `--backend`, and `--precision`\nselectors so staging, identity locking, artifacts, and the global timing\nauthority remain intact.\n\nFor one already identified red, use the driver's exact registered-cell route,\nnot a hand-written `mpirun` command. It validates the requested fully qualified\nGTest identity against CTest discovery, retains the exact registered process\ncontract, runs the normal fixture\u002Fstaging path and CSV validator, and records a\nnon-certifying focused report. It is the shortest valid feedback loop for an\nHF checkpoint diagnosis; it does not update the green ledger or replace a\nlater unfiltered campaign. After a current prerequisite receipt exists, add\n`--reuse-passed-preflight-report PATH` only when its build\u002FCTest identity\nvalidator accepts it.\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration \\\n  --backend 'CUDA' --precision 'ALL' \\\n  --campaign 'V2_Integration_Parity_Qwen36MoE_ExpertOverlay_ProductionCampaign_CUDA_ALL_PRECISIONS' \\\n  --exact-cell 'Suite\u002FFixture.ProductionParity\u002FRegistered_Model_Topology_Static_Ordinal_ActFP32_KVFP16_MTPOff' \\\n  --model-ramdisk-root \u002Fmnt\u002Fllaminar-production-parity \\\n  --persistent-model-cache-dir cache \\\n  --report parity-results\u002Ffocused-exact-cell.json\n```\n\nFor an explicitly requested full mathematical diagnostic, run the unfiltered\nmatrix. The 75-minute requirement is one wall-clock\nperformance target for all campaigns, backends, precision types, and fixtures\ncombined. It is not a per-campaign timeout or a reason to abort unfinished\ncells. Each exact generated GTest cell nevertheless has a fixed 900-second\nprogress watchdog. A newly published per-cell `test_log.txt` transfers the\ndeadline to that cell; expiry kills its complete CTest\u002FMPI process group and\nrecords the exact identity as `exact_cell_timeout`. `GTEST_FAIL_FAST=1` is part\nof every registered production campaign contract:\nthe first exact red ends its process-amortized aggregate. The driver publishes\nthat aggregate as the sole first-failure authority, cancels already-running\nbackend-disjoint sibling process groups, records them as cancelled rather than\nadditional reds, and admits no pending campaigns. Diagnose that preserved\nfirst-failure evidence before restarting the unfiltered matrix. Use\n`scripts\u002Fci\u002Fsetup_production_parity_tmpfs.sh` once for persistent\nlocal iteration. Its named mount is independent of host-login `\u002Fdev\u002Fshm` IPC\ncleanup, and repeated setup preserves the existing cache. Persistence still\nends when that mount ends: reboot, container replacement, or explicit\nunmount\u002Fremount necessarily discards it. Campaign failure and successful exit\ndo not. Follow the parity README's explicit unmount command for manual cleanup;\nnever use a broad shared-memory deletion.\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration \\\n  --target-seconds 4500 \\\n  --model-ramdisk-root \u002Fmnt\u002Fllaminar-production-parity \\\n  --persistent-model-cache-dir cache \\\n  --report parity-results\u002Fproduction-campaigns.json\n```\n\nAfter an interrupted local sweep, repeat\n`--prioritize-unseen-from-artifact-root PATH` for each preserved campaign\nartifact root to run wholly unseen aggregates before partial aggregates and\npreviously complete aggregates. This is an explicit scheduling hint only. It\nnever removes a selected exact cell, reuses an old pass, or weakens the active\nrun's freshness and full CSV validation; the restarted unfiltered run must\nstill rerun the complete discovered matrix for certification.\n\nSuccess requires exit zero, every discovered campaign completed, every exact\ncell represented, `correctness_passed: true`, `global_target_met: true`,\n`performance_requirements_met: true`, and `global_elapsed_seconds \u003C= 4500`.\nIt also requires `preflight_return_code: 0` and a nonempty `preflight_tests`\ninventory containing the complete Unit namespace and Integration preflight\nlabel. Unit build\u002Ftest and preflight elapsed time are part of that single global\nwall-clock budget.\nThe separate completion timeout guards setup phases that cannot publish an\nexact-cell transition. It is not a cumulative matrix deadline. Once inference\nstarts, the fixed fifteen-minute exact-cell watchdog is the sole timeout authority;\neach fresh `test_log.txt` transition renews that complete budget.\nKeep the JSON and CSVs as CI artifacts, but never commit local result\ndirectories.\n\n## Verify production-path evidence\n\nRead `production_path.csv` before interpreting numerical output. Every\nhomogeneous CUDA or ROCm row needs graph execution, native decode capture or\nreplay, and zero segmented plan\u002Fcapture\u002Freplay. A non-MTP row also needs\ncomplete `full_graph_*` capture or replay. An MTP row must report\n`device_generation_controller=true` and one of these exact policies:\n\n- CUDA: `generation_execution_policy=native_conditional_parent`,\n  `native_generation_parent=true`, `generation_loop_certified=true`, and a\n  complete `full_graph_*` capture\u002Freplay.\n- ROCm\u002FHIP: `generation_execution_policy=host_scheduled_captured_transactions`,\n  `native_generation_parent=false`,\n  `hosted_ticket_boundary_certified=true`,\n  `generation_loop_certified=true`, and a complete\n  `forward_full_graph_*` transaction capture\u002Freplay. The truthful complete\n  `full_graph_*` fields remain false because HIP cannot represent the outer\n  conditional loop.\n\nThe ROCm certificate is not granted from the policy spelling. PerfStats must\nprove the exact ABI-v2 52-byte `immutable_scheduler_snapshot` with\n`state_payload=false`, authenticated observations, retained HIP graph-family\nmaterialization, per-device captured transaction\u002Fterminal submissions, matching\ncontroller and compact-reducer ledgers, and either exact standalone launches or\nthe rank launch that submits every participant before the next ticket wait.\n`generation_certification_detail` gives the first failed invariant. Any other\nintermediate D2H\u002Fhost-materialization boundary fails closed.\nCPU still needs the production graph execution path. Heterogeneous cells may\nsegment only at their explicitly declared backend or collective boundary.\n\nUse `IOrchestrationRunner::moeOptimizationMovementLedger()` as the sole typed\ntruth for completed ExpertOverlay movement. Its immutable edges are authored\nby the host or device placement authority and exported as\n`expert_movement.csv`; PerfStats is lifecycle, economy, transport, and\nobservability evidence only. Never infer a completed objective from a proposal\ncounter or from physical direction: a participant-skew correction can be\nfolded into promotion\u002Fdemotion endpoints, while a same-priority edge can merely\nclose a tier-residency capacity cycle. The ledger's `movement_axis` therefore\ndistinguishes `tier_residency`, `participant_placement`, and `combined` from\nthe independent physical `direction` column. Host-authoritative topologies\nmirror diagnostics through `moe_overlay_residency`; device-authoritative\nall-GPU topologies mirror accepted transactions and physical commits through\n`moe_overlay_controller` and `moe_overlay_residency`. The required facts remain\nan authority-owned typed objective, staged\u002Fcopied payload, nonzero physical\nbytes, and a published destination placement:\n\n- Static: planner, copy, transport, ownership\u002Freplica, and destination-apply\n  movement counters are all zero.\n- Dynamic: a maintenance boundary and routing-window synchronization occurred;\n  at least one ownership change or replica arrival occurred; packed expert\n  bytes crossed transport and were applied at the destination.\n- LLEP: the production begin\u002Frestore transaction ran; non-owner rows were\n  assigned; at least one packed expert and nonzero bytes moved.\n\nStatic additionally requires an empty authoritative movement ledger. Dynamic\ntwo-axis topologies require at least one ledger edge whose axis advances tier\nresidency and one whose axis advances participant placement; a `combined` edge\nsatisfies both without demanding a gratuitous extra transfer.\n\nFor public HTTP generation probes, validate every terminal\n`runtime_summary.expert_movement` snapshot with the shared\n`generation_movement_ledger.py` consumer. It checks immutable model-lifetime\nhistory, complete physical cycles and their owner-authored economy\u002Fadmission\nproofs in both live and saved observations. Missing old evidence must fail,\nnot become an empty Static journal. Device publication can recompose several\nlogical objectives into one physical component; retain each command's axis\nrather than requiring identical axis labels within that component. The sibling\n`expert_movement_topology` comes from the runner's canonical frozen model plan,\nusing the same geometry projection as deep parity. Require immutable geometry,\nthe declared authority, and every available objective axis over a Dynamic\ncohort. Static retains an empty journal even with available axes. This is a\npassive evidence check, not a second planner. After shutdown the HTTP harness\nindependently checks published payloads and matched transport\u002Fowner publication,\nthen joins its committed expert identities to the HTTP journal. See the\ntransport evidence section of [CSV evidence](references\u002Fcsv-evidence.md) before\ndiagnosing a missing movement witness. A journal-only saved pass is not complete\ntransport proof.\n\nGeneration requires its full continuous minimum even for models without MTP.\nDuring initial acquisition, a deliberate model-owned prompt\u002Fseed search may\nfind a suitable long workload. Keep candidates diagnostic, freeze the chosen\nworkload before canonical collection, and verify it across affected topologies\nand precisions. Never retry seeds inside the gate, suppress EOS, or waive exact\nrepeats and prefix restoration for a short answer.\n\nDo not equate physical-movement coverage with the longer matched throughput\ncohort. Every Dynamic cell owns `EconomicMovement`. A model\u002Ftopology definition\nmay additionally select `dynamic_speedup_witness` as ordinal, random, both\nowner orders, or disabled. The expander places that before\u002Fafter speed proof on\nonly the first activation\u002FKV pair, ordinary prefill profile, and MTP-off cell;\nall remaining cells retain their complete movement, numerical, graph, prefix,\nand CSV obligations. Add a representative only when a new transport class or\nmaterially different topology economy needs one, and never infer witnesses in\nthe fixture from a test name or from the mere presence of CPU participants.\n\nUse `moe_placement` separately to authenticate the requested ordinal or seeded\nrandom physical owner map. Setup placement is not request-time movement.\nExpertOverlay cells also retain `expert_residency_diagnostics.csv` (and one\nrank-suffixed file per follower) so a failed or successful run can be audited\nwithout reconstructing cross-rank controller state from interleaved logs.\n\nWhen `promoted_expert_execution.csv` proves the numerical result of a moved\nexpert, an independently routed row may be exactly zero in both native and\nreference execution. That is an exact equality witness, recorded as\n`exact_zero_route_rows`; it is not missing execution. A row that is zero on\nonly one side is recorded as `one_sided_zero_route_rows` and fails closed.\n\nMTP coverage must include fixed depths 1, 2, 3, and 15 plus dynamic depth on\nCPU, CUDA, and ROCm. Compare recursive sidecar checkpoints and final verifier\noutputs, assert the requested\u002Feffective depth and dynamic-controller activity,\nand require the same graph evidence as ordinary inference. Dynamic depth needs\none serial-token-exact, full-budget adaptive witness whose controller-window,\nattempted-draft, and verifier counters increase; a physically deep transaction\nthat was clipped at an ExpertOverlay maintenance boundary is not adaptive-depth\nproof. MoE MTP inherits the same policy and placement movement contract.\n\n## Diagnose and fix a failure\n\n1. Preserve the failing result directory and global report.\n2. Confirm model\u002Freference identity and production path before changing any\n   tolerance.\n3. Find the first failing phase, decode step, layer, and stage from the CSVs;\n   later divergence is usually propagation, not the cause.\n4. Compare shape\u002Fcount, NaN\u002FInf, routing identity, cosine, relative L2, maximum\n   absolute error, RMSE, SNR, distribution drift, KL, and Top-K evidence.\n5. Map the first bad stage to graph wiring, tensor layout, kernel arithmetic,\n   collective order, KV state, MoE movement, or MTP advancement.\n6. Reproduce with one exact CTest\u002FGTest cell. Loop a flaky case up to 20 times.\n7. Fix the production implementation. Do not weaken the reference, skip a\n   checkpoint, raise a timeout, or enter another path.\n8. Add a focused device-free unit or backend integration regression for the\nroot invariant. Every `V2_Unit_*` test joins the prerequisite automatically. If\nan Integration test is model-free and guards campaign infrastructure or a\nproduction mechanism used by parity, add its existing CTest registration to\n`V2_PRODUCTION_TEST_PREFLIGHT_TESTS`; do not copy either inventory into the\nPython driver. Then rerun both prerequisite phases and the affected diagnostic\ncell before resuming routine generation regression. Run the full mathematical\nmatrix only when explicitly requested.\n\nIf only the full campaign fails, inspect reuse boundaries: `ModelContext` may\nretain immutable prepared weights only when its complete physical identity is\nunchanged. Runner, arena, stream, graph, request snapshots, KV data, runtime\nMoE policy, and controller state must be exact per cell and reset explicitly.\n\n## Extend the matrix\n\nDescribe supported configurations with `ModelParityDefinition`: one immutable\nreal-model identity, one `ModelParityTopologyDefinition`, the precision matrix,\nand standard feature profiles. Expand it with\n`expandModelParityDefinition()` and keep the resulting `ModelParityCase` as the\ntest parameter. Give each topology an unambiguous backend and collective\nidentity. Add a `ProductionParity` test calling\n`runProductionParityCampaign()`, or a narrowly specialized fused body when the\nfeature needs additional path evidence. Do not recover runtime policy by\nparsing the generated GoogleTest name and do not build a second axis expander\ninside a model fixture.\n\nRegister through `discover_v2_parity_tests()`. Supply\nproduction binaries named `v2_integration_parity_\u003Cmodel>_\u003Cscope>_matrix`, with\nmodel\u002Fscope fixture names; keep topology instances, precision, placement,\nmovement, and MTP axes in generated cell names. Discovery rejects production\nregistrations without the matrix binary role. Follow the parity README's naming\ncontract and compare exact parameter inventories when renaming suites; never\nrelabel historical CSV evidence as a new run. Supply\n`PRODUCTION_PERF_STATS_FILTER` when the cell must assert domains beyond\n`forward_graph`. Build the target to regenerate its CTest include, then verify\nthat `--list` increases by exactly the intended cells and does not lose an old\naxis.\n\nFor new ExpertOverlay coverage, the standard supported matrix crosses\nStatic\u002FDynamic with ordinal\u002Frandom placement and MTP off\u002F1\u002F2\u002F3\u002F15\u002Fdynamic,\nasserting movement semantics on CPU, CUDA, and ROCm. Add LLEP only after its\ntopology is a first-class installed implementation with its own exact movement\nand economy contract; never route an unfinished LLEP cell through Dynamic or\nStatic. Add each newly supported model, topology, activation precision, KV\nprecision, tensor format, sampling mode, or collective through the same typed\ndefinition and registration source. Prefix restore is not a multiplicative\naxis: every generated production cell automatically proves fresh seed, full\nhit, and partial hit through the production tiered cache.\n\nAfter the affected slice is green, run framework checks and routine generation\nregression. The complete mathematical command below is explicit diagnosis only:\n\n```bash\npython3 tests\u002Fv2\u002Funit\u002Fscripts\u002Ftest_production_parity_campaigns.py\npython3 -m pytest -q python\u002Freference\u002Ftests\u002Ftest_snapshot_metadata.py\nctest --test-dir build_v2_integration \\\n  -R '^V2_Unit_ProductionParityCampaigns$' --output-on-failure\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration --target-seconds 4500 \\\n  --persistent-model-cache-dir \\\n    \"${LLAMINAR_PRODUCTION_PARITY_CACHE_DIR:-\u002Fdev\u002Fshm\u002Fllaminar-production-parity-cache}\" \\\n  --report parity-results\u002Fproduction-campaigns.json\n```\n\nKeep `.githooks\u002Fpre-commit`, `.github\u002Fworkflows\u002Fci.yml`, this skill,\n`tests\u002Fv2\u002Fintegration\u002Fparity\u002FREADME.md`, and the short parity references in\n`AGENTS.md` synchronized when the canonical command or gate changes.\n","# Llaminar Testing\n\nUse the canonical Llaminar testing workflow from fast model-free prerequisites\nthrough real-weight diagnostics and Release server\u002Fimage certification. Select\nthe gate appropriate to the task; a focused pass is not a full model or image\ncertificate. Reuse the existing drivers and typed matrix instead of maintaining\nanother model\u002Ftopology list.\n\nFor mathematical model parity, prove the live inference path against an\nindependent reference pack generated from the declared real GGUF. Preserve every\nstage comparison and canonical CSV while amortizing immutable model setup;\nnumerical checkpoints, not an extra whole-model hash pass, prove weight equivalence.\n\n## Routine regression versus mathematical diagnosis\n\nThe routine production gate is **Unit → production preflight → HTTP token\ngeneration regression → HTTP needle\u002Flong-context E2E → cross-host MPI E2E →\nbenchmarks → image certification**, independently for AVX512 and AVX2.\nGeneration projects only **MTP off (serial controls) and dynamic-depth MTP**\nfrom the canonical model\u002Ftopology definitions. Both compare against the saved\nserial control outputs, requiring at least 384 continuous committed tokens.\nPrompts, seeds, and each cell's explicit serial-control mapping are versioned\nin the canonical definitions. Expected token payloads are versioned in\n`Llaminar\u002Fcorpora`, pinned by the source gitlink and ISA approval catalog.\nRoutine tests only read those baselines; acquisition\u002Freview\u002Fpublication is a\nseparate explicit workflow. Never silently regenerate answers on drift.\nKeep the fresh\u002Ffull\u002Fpartial prefix probes, exact repeatability, actual dynamic\nMTP activity, movement obligations and captured production-path evidence.\n\nFeature PRs into `develop` use `.github\u002Fworkflows\u002Fdevelop-pr.yml` to build one\nAVX512 full-backend image pair and run only complete Unit and\nProductionTestPreflight inside its test runner. This is the pre-commit scope,\nnot certification: no AVX2, models, E2E, benchmarks or publication. It calls the\nexisting image driver with `--cpu-isa AVX512` and no `--publish`, using the same\nhost-only cache and shared accelerator concurrency group. See\n`docs\u002Fproduction-ci.md` for its same-repository trust boundary and local command.\nThe `develop` ruleset requires that exact check on an up-to-date PR and rejects\ndirect human pushes. The trusted base-branch auto-merge workflow arms native\nsquash auto-merge only for non-draft same-repository PRs; it never runs PR code.\nThe sole direct-push exception is the dedicated release-evidence deploy key for\nthe certified post-squash high-water\u002Fancestry commit. Never grant the general\nGitHub Actions app bypass, since it also owns PR auto-merge.\n\nThe enabled `develop` push workflow is intentionally narrower than that\nroutine certification path. It uses `scripts\u002Fci\u002Frun_develop_image_gate.py` to\nbuild both full-backend AVX512\u002FAVX2 builder\u002Fruntime pairs, run the complete\nUnit and ProductionTestPreflight transaction inside each builder, and publish\nthe two tested `develop` runtime tags **and exact source-SHA tags**. It does not run model discovery,\ngeneration, mathematical parity, HTTP E2E, remote MPI, benchmarks, or attach a\ncertificate. Use it for fast shippable developer images; use the full pipeline\nwhen requesting a certified artifact.\nThe `develop` → `master` PR gate is separate: its required pull-request E2E\ncheck waits for the exact develop-head image pair, proves both ISAs on the full\nHTTP matrix, then its dependent benchmark check consumes that same image-bound\nE2E receipt. The benchmark check runs both ISAs even when the first has a\ncomplete red ratchet report, comments the per-cell red\u002Famber\u002Fgreen numbers on\nthe PR, and fails if any measured phase exceeds the high-water tolerance.\nManual-dispatch E2E or benchmark runs cannot satisfy these PR checks. Do not\ncommit benchmark evidence to the open PR head: `[skip ci]` would strand its\nrequired checks. After a certified squash merge, the master release publisher compares\nthe merge **tree** with the tested develop image tree, revalidates both phase\nartifacts, and promotes those immutable image digests to dated and master\u002FSHA\ntags. It attaches the per-ISA E2E and benchmark JSON plus chart to the GitHub\nrelease. The first dated release uses concise bootstrap notes; later notes\ncover commits since the preceding release. Its dependent job then commits the\ncombined upward-only AVX512\u002FAVX2 high-water marks, result JSON, chart, and\nREADME block to `develop` with `[skip ci]`. That fast-forward commit has the\ntested develop head and certified squash-merged master commit as its two\nparents, keeping the next strict PR up-to-date without rebuilding the image.\nIt does not change the certified master tree. See `docs\u002Fproduction-ci.md` before\nediting the branch ruleset or release workflow. Keep the existing `develop`\ndeletion\u002Fforce-push guard active, but do not require linear history there:\nGitHub's auto-delete-on-merge setting must not remove that persistent branch\nbefore the post-merge evidence commit.\nOn the production ARC scale set, the runner uses the host Docker Unix socket\nrather than DIND so CI and local host work use one daemon and one safe Docker\ncache. Never point two Docker daemons at the same writable data root. Its\nworkspace and model tmpfs mounts are explicit same-path roots declared through\n`LLAMINAR_DOCKER_SHARED_ROOTS`; consult `docs\u002Fproduction-ci.md` before changing\nthe runner deployment.\nDo not run fixed-depth MTP cells or mathematical HF parity by default.\n\nToken drift or a suspected accuracy bug calls for the **specific matching\ndiagnostic mathematical HF parity cell**: retain its failing HTTP request and\ntokens, select the same model\u002Ftopology\u002Fprecision\u002Fmovement\u002FMTP configuration,\nand use checkpoint CSVs to locate the first divergent stage. Do not respond\nby regenerating expected tokens or routinely launching the entire expensive\nmathematical matrix. Fixed-depth mathematical coverage remains available for\nfocused diagnosis; the full mathematical suite is explicit opt-in only.\nFor an image pipeline, `--diagnostic-mathematical-parity` is that explicit\nopt-in; `--through parity` alone is rejected. The normal piecewise boundaries\nare `--through prerequisites` and `--through generation` before HTTP E2E.\nThe procedures below for numerical campaigns describe that diagnostic workflow,\nnot an additional routine CI regression gate.\n\n## Start with the contract\n\nChoose the workflow below before loading model-specific instructions. Treat\n`tests\u002Fv2\u002FCMakeLists.txt` plus generated CTest registration as the test inventory\nsource of truth; never copy an axis table into this skill or a runner script.\nFor model\u002Fgeneration\u002FHTTP runs, read `tests\u002Fv2\u002Fintegration\u002Fparity\u002FREADME.md` and\nthe applicable model definition or fixture. For image certification and remote\ninfrastructure, also read `docs\u002Fproduction-ci.md`.\n\nA production parity cell must:\n\n- load real weights and execute the production runner, graph, kernels,\n  collectives, streams, arenas, and KV policy;\n- compare prefill and incremental decode at every published checkpoint;\n- emit all six canonical numerical CSVs, `prefix_restore.csv`, and\n  `production_path.csv` (plus `mtp_transactions.csv` when MTP is enabled);\n- fail on missing model, backend, reference, snapshot boundary, or path proof;\n- require the exact backend-native captured generation policy for a homogeneous\n  GPU path: one complete parent where graph conditionals exist, or HIP's\n  authenticated ticket-selected retained transaction graphs for MTP;\n- keep the exact configured backend, precision, topology, and optimization;\n- meet the single global 4,500-second performance target shared by the entire\n  discovered matrix. Crossing the target must not stop or truncate correctness\n  and artifact collection.\n\nDo not certify eager replay, a test-only kernel, a host mirror, disabled\noptimization, fewer stages, relaxed thresholds, or a synthetic model as a\nsubstitute for the production path.\n\n## Choose the workflow\n\n- For the full model-free Unit and production-preflight gate, use\n  `scripts\u002Fci\u002Frun_production_prerequisites.py --build-dir BUILD --output NEW_DIR`\n  or the direct CMake\u002FCTest commands below. Refresh once after a build or test\n  inventory change, not for every unchanged diagnostic cell.\n- For public-surface generation regression, use\n  `scripts\u002Fci\u002Frun_model_parity_generation.py --mode regression`; follow the parity README's\n  control acquisition, exact-token, prefix-restore and movement contracts.\n  Diagnostic controls do not automatically certify an image.\n- For HTTP needle\u002Flong-context tests, use `scripts\u002Fci\u002Frun_model_parity_e2e.py`;\n  for remote MPI, follow **Cross-host E2E certification** below. Both derive\n  their eligible cells from the canonical definitions.\n- For complete AVX512\u002FAVX2 image and benchmark certification, use\n  `scripts\u002Fci\u002Frun_production_pipeline.py` and `docs\u002Fproduction-ci.md`. Both full\n  E2E server suites precede benchmarks; one-off benchmarks cannot certify images.\n  Benchmarks consume the canonical `benchmark` production-default projection,\n  not HTTP `server_args`: depth-15 initialization, forced movement and other\n  correctness stress overrides must not enter timing. Preserve model\u002Ftopology,\n  context and precision, and let the runtime resolve performance defaults.\n  Old stress-configured release scores are a different series; remeasure the\n  old implementation with matched intent before claiming a code speedup or\n  absence of regressions. See `docs\u002Fproduction-ci.md`, “Benchmark workload and\n  ratchet,” for policy identity and explicit cross-revision diagnostics.\n- Before publishing a changed benchmark runtime, use\n  `run_model_parity_benchmarks.py --diagnostic --diagnostic-binary PATH` with\n  the complete exported typed E2E manifest. This local Release run preserves\n  the canonical 512-token prefill\u002F256-token decode workload and all cells but\n  cannot mint an image certificate. Verify newly tagged HTTP cells locally as\n  well; only the published-image PR workflow can certify the image pair.\n- To explicitly inventory or run diagnostic mathematical campaigns, follow **Run a campaign**.\n- For a numerical or path failure, also read\n  [CSV evidence](references\u002Fcsv-evidence.md).\n- To regenerate, authenticate, or change the Python oracle, also read\n  [Hugging Face reference](references\u002Fhuggingface-reference.md).\n- To add a backend, model, precision, topology, MoE policy, placement, or MTP\n  depth, follow **Extend the matrix**; validate new math explicitly before\n  acquiring controls, then exercise the routine generation projection.\n- For a discovered defect, add a focused regression before folding the\n  invariant into its production cell.\n\n### Cross-host E2E certification\n\nRemote MPI cases are another typed E2E projection, not a second model matrix.\nThe builder writes `cross-host-manifest.json` from the full inventory; the\nproduction pipeline runs the HTTP long-needle suite first, then\n`scripts\u002Fci\u002Frun_production_cross_host_e2e.py`, and only then benchmarks. The\nrunner uses the existing Azure CLI login (CI performs federated login), creates\nfresh owner-tagged CPU VMs through `azure_cross_host_resources.py`, stages the\nimmutable controller image and every declared model shard, and invokes the public HTTP\nserver with its MPI hostfile. The frontend owns bootstrap; MPI daemons and\ninference children run inside source-tree-identical Release images on each\nhost. A controller may use AVX512 while a remote CPU peer uses the explicitly\nadmitted AVX2 sibling: the runner reads host CPU flags before transfer and\nrejects an incompatible image rather than masking a SIGILL as an MPI failure. Each\nscenario must execute both\nthe `plan-apply` and `auto-serve` routes, prove nonlocal CPU expert work and\nmatched transport evidence in prefill and decode, and retire its exact Azure\nlease. A pipeline-owned empty projection emits an explicit not-applicable\nreport; a missing report, fallback to local execution, or incomplete cleanup is\nfatal. Keep credentials outside image layers and reports; only the ephemeral\ncontroller container receives the SSH key, and no container receives Azure\ncredentials. Use\nprivate VM addresses for MPI and the public address only for authenticated\ncontrol-plane SSH. Fresh Ubuntu peers receive only a secret-free cloud-init\nbootstrap for Docker\u002FSSH\u002FTUN, and the runner waits before staging bytes. The\nrunner owns its SSH tunnel and private Azure return route, not a pre-existing\nVPN. Collect remote rank evidence before container retirement and preserve\nartifacts after temporary staging cleanup. Recover interrupted leases only\nwith their exact receipt; see `docs\u002Fproduction-ci.md` for prerequisites.\n\n### Long-context server stress\n\nUse the mature `tests\u002Fv2\u002Fe2e\u002Fserver\u002Flong_context_checks.py` needle primitive\nwhen a live server fix needs a sustained correctness\u002Flifetime proof. This is a\nfocused stress diagnostic, not a replacement for the complete eight-check E2E\ncertificate and not permission to maintain another model\u002Ftopology matrix.\n\nBracket the server lifetime with `tests\u002Fv2\u002Fe2e\u002Fserver\u002Fgpu_driver_diagnostics.py`\n`begin --state PATH` before startup and `finish --state PATH --report PATH`\nafter teardown. The ordinary HTTP\u002Fgeneration harness does this automatically;\nan ad hoc stress loop must retain the same evidence. New AMDGPU\u002FNVIDIA driver\nwarnings or an unreadable\u002Flost kernel-log interval fail the cell even if all\nresponses are correct. Do not clear historical logs or skip the observer.\nUse the access setup in `docs\u002Fproduction-ci.md`; extra log-reading privileges\nbelong to the tools container, not the certified inference image.\n\nStart the stress clock only after the Release server publishes `ServerReady`.\nFirst run one `run_needle_check` for each of `beginning`, `middle`, and `end` so\nall three exact prompts are admitted to prefix cache. Take the steady-state\nmemory baseline after that warm cycle. Then rotate the same three placements\nfor the requested duration (normally 900 seconds), failing on the first recall,\nHTTP, JSON, timeout, or server-process error. Use the cell's declared context,\nminimum prompt length, thinking-model setting, output budget, and request\ntimeout; do not shorten the prompt or silently restart the server to manufacture\na pass.\n\nEvery canonical stress run also includes at least one production HTTP\ngeneration with an exact `max_tokens: 1024` budget. It is an accuracy oracle,\nnot merely a long-output smoke test: use the cell's reviewed deterministic\ncontrol prompt, seed, prompt-token IDs, 1,024 completion-token IDs, and finish\nreason, and compare them with `scripts\u002Fci\u002Fgeneration_tokens.py`. Send\n`return_token_ids: true` and `return_runtime_summary: true`, then retain the\ncomplete response beside the per-iteration stress artifact. The request must\nretain the cell's long-context needle geometry so the same transaction proves\nlong-prompt state and sustained decode. Structured-output and degeneration\nchecks may supplement this exact token comparison but cannot replace it. The\nshort needle answers commonly stop after only a few tokens and therefore\ncannot prove a decode maintenance cadence, MTP depth behavior, movement epoch,\nor post-movement arithmetic by themselves.\n\nPublish an atomically replaced JSON artifact after every request. Retain the\niteration, placement, pass\u002Fdetail, request wall time, elapsed stress time, and:\n\n- RSS for every `llaminar2 serve` MPI process;\n- CUDA compute-process memory for every participant;\n- ROCm VRAM usage for every participant.\n\nClassify the warm cycle separately: new RAM\u002Fdisk prefix-cache admission may\ngrow memory there. Exact repeat restores after the steady-state baseline must\nnot show monotonic CPU or GPU growth. Inspect per-rank mappings or allocator\nstate rather than dismissing a slope as noise; short-lived participant threads,\nunbounded diagnostic tags, retained request state, and driver allocations are\ndifferent defects. A completed stress proof requires the full requested wall\ntime, at least one pass at every needle placement, zero failed iterations,\nstable post-warm device memory, and no unexplained post-warm host-memory trend.\n\nStop the server through its normal signal\u002FHTTP shutdown path after collecting\nthe terminal sample so MPI followers, background maintenance, graph resources,\nand PerfStats flush cleanly. Search the complete server log for asynchronous\nCUDA\u002FHIP errors and fatal\u002Fwarning lifecycle diagnostics. When Dynamic\nExpertOverlay is selected, the 1,024-token response must prove device\u002Fhost\nauthority as declared by the topology, nonzero completed decision windows, and\na complete authority-owned movement ledger. If the cell is intended to prove\nmovement, require at least one published movement wave, transaction, command,\nand nonzero physical bytes, then validate the expected promotion\u002Fdemotion and\nsame-priority axes. Accuracy and memory stability alone do not prove that\nmaintenance actually ran. A no-movement economy result is valid only for a\ncell explicitly testing that outcome and must retain its typed rejection\nreason.\n\n## Run a campaign\n\nConfigure and build Integration with every available backend. Use Ninja and\nunrestricted parallelism.\n\n```bash\ncmake -B build_v2_integration -S src\u002Fv2 -G Ninja \\\n  -DCMAKE_BUILD_TYPE=Integration\ncmake --build build_v2_integration --parallel\n```\n\nAudit discovery before loading models:\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration --list\n```\n\nThe audit must reject wildcard GTest filters, missing production labels,\nmissing `forward_graph` PerfStats, wrong timeouts, duplicate cases, and empty\nselection. Record campaign and exact-cell counts when changing coverage.\n\nThe first non-list run for a build first builds the CMake-owned `v2_unit_gate`\ntarget and runs the complete `V2_Unit_*` namespace. It then runs the\n`ProductionTestPreflight` integration label, all before the model fixture or\nRAM staging. Unit tests prove device-free policy and state-machine invariants;\npreflight proves MPI\u002Frank lifecycle, orchestration, explicit-stream event\nordering, graph capture\u002Freplay, retained heterogeneous tickets, prepared\nExpertOverlay weights, and CUDA\u002FROCm overlay epochs. Both inventories live only\nin CTest registration: the Python driver discovers and validates them instead\nof copying test or executable names. A preflight-label member must be an\n`Integration` test, require no fixture or external file, and have a timeout no\ngreater than 120 seconds. Any build, unit, or preflight failure stops model\nadmission and is recorded by the combined preflight receipt.\n\nAmortize that receipt across unchanged local diagnostic runs; do not rebuild or\nrerun the two prerequisite suites for each cell. Numerical unseen-cell runs use\n`--reuse-passed-preflight-report PATH`; the generation driver uses\n`--reuse-preflight-report PATH`. Both delegate to the same receipt validator,\nwhich checks the build directory, Ninja\u002FCTest freshness and complete test\ninventory. A stale receipt is a hard error, not permission to bypass the gate.\nAfter a fix, run its focused regression first, finish all required executable\nbuilds, then refresh Unit\u002Fpreflight once before resuming the affected and unseen\ncells. Receipt reuse does not reuse a cell's pass or certify an image.\n\nRun the same prerequisite phases directly when developing their infrastructure:\n\n```bash\ncmake --build build_v2_integration --parallel \\\n  --target v2_unit_gate v2_production_test_preflight_gate\nctest --test-dir build_v2_integration \\\n  --output-on-failure --parallel --no-tests=error -R '^V2_Unit_'\nctest --test-dir build_v2_integration \\\n  --output-on-failure --parallel --no-tests=error \\\n  -L '^ProductionTestPreflight$'\n```\n\nGit pre-commit runs only these two complete model-free suites on every branch.\nThe hook builds their CMake-owned dependency targets and does not launch\nnumerical campaigns, E2E, containers, Release builds, or benchmarks. Register\nthe tracked hooks with `git config --local core.hooksPath .githooks`; see\n`.githooks\u002FREADME.md`. Passing pre-commit is prerequisite evidence, not a\nnumerical, HTTP, or performance certificate. Keep heavier manual\u002FCI gates\nseparate unless the user explicitly changes that policy.\n\nFor development, run the narrow affected backend or precision first. These are\ndiagnostic subsets, not the final economy proof.\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration \\\n  --backend 'CUDA' --precision 'ALL' \\\n  --report parity-results\u002Fcuda-production-campaigns.json\n```\n\nDo not invoke a registered `ProductionCampaign_*` child directly with CTest.\nThose entries are the driver's internal discovery\u002Fscheduling units and fail\nbefore model mapping when the identity-bound tmpfs contract is absent. Narrow a\nreal campaign with the driver's `--campaign`, `--backend`, and `--precision`\nselectors so staging, identity locking, artifacts, and the global timing\nauthority remain intact.\n\nFor one already identified red, use the driver's exact registered-cell route,\nnot a hand-written `mpirun` command. It validates the requested fully qualified\nGTest identity against CTest discovery, retains the exact registered process\ncontract, runs the normal fixture\u002Fstaging path and CSV validator, and records a\nnon-certifying focused report. It is the shortest valid feedback loop for an\nHF checkpoint diagnosis; it does not update the green ledger or replace a\nlater unfiltered campaign. After a current prerequisite receipt exists, add\n`--reuse-passed-preflight-report PATH` only when its build\u002FCTest identity\nvalidator accepts it.\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration \\\n  --backend 'CUDA' --precision 'ALL' \\\n  --campaign 'V2_Integration_Parity_Qwen36MoE_ExpertOverlay_ProductionCampaign_CUDA_ALL_PRECISIONS' \\\n  --exact-cell 'Suite\u002FFixture.ProductionParity\u002FRegistered_Model_Topology_Static_Ordinal_ActFP32_KVFP16_MTPOff' \\\n  --model-ramdisk-root \u002Fmnt\u002Fllaminar-production-parity \\\n  --persistent-model-cache-dir cache \\\n  --report parity-results\u002Ffocused-exact-cell.json\n```\n\nFor an explicitly requested full mathematical diagnostic, run the unfiltered\nmatrix. The 75-minute requirement is one wall-clock\nperformance target for all campaigns, backends, precision types, and fixtures\ncombined. It is not a per-campaign timeout or a reason to abort unfinished\ncells. Each exact generated GTest cell nevertheless has a fixed 900-second\nprogress watchdog. A newly published per-cell `test_log.txt` transfers the\ndeadline to that cell; expiry kills its complete CTest\u002FMPI process group and\nrecords the exact identity as `exact_cell_timeout`. `GTEST_FAIL_FAST=1` is part\nof every registered production campaign contract:\nthe first exact red ends its process-amortized aggregate. The driver publishes\nthat aggregate as the sole first-failure authority, cancels already-running\nbackend-disjoint sibling process groups, records them as cancelled rather than\nadditional reds, and admits no pending campaigns. Diagnose that preserved\nfirst-failure evidence before restarting the unfiltered matrix. Use\n`scripts\u002Fci\u002Fsetup_production_parity_tmpfs.sh` once for persistent\nlocal iteration. Its named mount is independent of host-login `\u002Fdev\u002Fshm` IPC\ncleanup, and repeated setup preserves the existing cache. Persistence still\nends when that mount ends: reboot, container replacement, or explicit\nunmount\u002Fremount necessarily discards it. Campaign failure and successful exit\ndo not. Follow the parity README's explicit unmount command for manual cleanup;\nnever use a broad shared-memory deletion.\n\n```bash\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration \\\n  --target-seconds 4500 \\\n  --model-ramdisk-root \u002Fmnt\u002Fllaminar-production-parity \\\n  --persistent-model-cache-dir cache \\\n  --report parity-results\u002Fproduction-campaigns.json\n```\n\nAfter an interrupted local sweep, repeat\n`--prioritize-unseen-from-artifact-root PATH` for each preserved campaign\nartifact root to run wholly unseen aggregates before partial aggregates and\npreviously complete aggregates. This is an explicit scheduling hint only. It\nnever removes a selected exact cell, reuses an old pass, or weakens the active\nrun's freshness and full CSV validation; the restarted unfiltered run must\nstill rerun the complete discovered matrix for certification.\n\nSuccess requires exit zero, every discovered campaign completed, every exact\ncell represented, `correctness_passed: true`, `global_target_met: true`,\n`performance_requirements_met: true`, and `global_elapsed_seconds \u003C= 4500`.\nIt also requires `preflight_return_code: 0` and a nonempty `preflight_tests`\ninventory containing the complete Unit namespace and Integration preflight\nlabel. Unit build\u002Ftest and preflight elapsed time are part of that single global\nwall-clock budget.\nThe separate completion timeout guards setup phases that cannot publish an\nexact-cell transition. It is not a cumulative matrix deadline. Once inference\nstarts, the fixed fifteen-minute exact-cell watchdog is the sole timeout authority;\neach fresh `test_log.txt` transition renews that complete budget.\nKeep the JSON and CSVs as CI artifacts, but never commit local result\ndirectories.\n\n## Verify production-path evidence\n\nRead `production_path.csv` before interpreting numerical output. Every\nhomogeneous CUDA or ROCm row needs graph execution, native decode capture or\nreplay, and zero segmented plan\u002Fcapture\u002Freplay. A non-MTP row also needs\ncomplete `full_graph_*` capture or replay. An MTP row must report\n`device_generation_controller=true` and one of these exact policies:\n\n- CUDA: `generation_execution_policy=native_conditional_parent`,\n  `native_generation_parent=true`, `generation_loop_certified=true`, and a\n  complete `full_graph_*` capture\u002Freplay.\n- ROCm\u002FHIP: `generation_execution_policy=host_scheduled_captured_transactions`,\n  `native_generation_parent=false`,\n  `hosted_ticket_boundary_certified=true`,\n  `generation_loop_certified=true`, and a complete\n  `forward_full_graph_*` transaction capture\u002Freplay. The truthful complete\n  `full_graph_*` fields remain false because HIP cannot represent the outer\n  conditional loop.\n\nThe ROCm certificate is not granted from the policy spelling. PerfStats must\nprove the exact ABI-v2 52-byte `immutable_scheduler_snapshot` with\n`state_payload=false`, authenticated observations, retained HIP graph-family\nmaterialization, per-device captured transaction\u002Fterminal submissions, matching\ncontroller and compact-reducer ledgers, and either exact standalone launches or\nthe rank launch that submits every participant before the next ticket wait.\n`generation_certification_detail` gives the first failed invariant. Any other\nintermediate D2H\u002Fhost-materialization boundary fails closed.\nCPU still needs the production graph execution path. Heterogeneous cells may\nsegment only at their explicitly declared backend or collective boundary.\n\nUse `IOrchestrationRunner::moeOptimizationMovementLedger()` as the sole typed\ntruth for completed ExpertOverlay movement. Its immutable edges are authored\nby the host or device placement authority and exported as\n`expert_movement.csv`; PerfStats is lifecycle, economy, transport, and\nobservability evidence only. Never infer a completed objective from a proposal\ncounter or from physical direction: a participant-skew correction can be\nfolded into promotion\u002Fdemotion endpoints, while a same-priority edge can merely\nclose a tier-residency capacity cycle. The ledger's `movement_axis` therefore\ndistinguishes `tier_residency`, `participant_placement`, and `combined` from\nthe independent physical `direction` column. Host-authoritative topologies\nmirror diagnostics through `moe_overlay_residency`; device-authoritative\nall-GPU topologies mirror accepted transactions and physical commits through\n`moe_overlay_controller` and `moe_overlay_residency`. The required facts remain\nan authority-owned typed objective, staged\u002Fcopied payload, nonzero physical\nbytes, and a published destination placement:\n\n- Static: planner, copy, transport, ownership\u002Freplica, and destination-apply\n  movement counters are all zero.\n- Dynamic: a maintenance boundary and routing-window synchronization occurred;\n  at least one ownership change or replica arrival occurred; packed expert\n  bytes crossed transport and were applied at the destination.\n- LLEP: the production begin\u002Frestore transaction ran; non-owner rows were\n  assigned; at least one packed expert and nonzero bytes moved.\n\nStatic additionally requires an empty authoritative movement ledger. Dynamic\ntwo-axis topologies require at least one ledger edge whose axis advances tier\nresidency and one whose axis advances participant placement; a `combined` edge\nsatisfies both without demanding a gratuitous extra transfer.\n\nFor public HTTP generation probes, validate every terminal\n`runtime_summary.expert_movement` snapshot with the shared\n`generation_movement_ledger.py` consumer. It checks immutable model-lifetime\nhistory, complete physical cycles and their owner-authored economy\u002Fadmission\nproofs in both live and saved observations. Missing old evidence must fail,\nnot become an empty Static journal. Device publication can recompose several\nlogical objectives into one physical component; retain each command's axis\nrather than requiring identical axis labels within that component. The sibling\n`expert_movement_topology` comes from the runner's canonical frozen model plan,\nusing the same geometry projection as deep parity. Require immutable geometry,\nthe declared authority, and every available objective axis over a Dynamic\ncohort. Static retains an empty journal even with available axes. This is a\npassive evidence check, not a second planner. After shutdown the HTTP harness\nindependently checks published payloads and matched transport\u002Fowner publication,\nthen joins its committed expert identities to the HTTP journal. See the\ntransport evidence section of [CSV evidence](references\u002Fcsv-evidence.md) before\ndiagnosing a missing movement witness. A journal-only saved pass is not complete\ntransport proof.\n\nGeneration requires its full continuous minimum even for models without MTP.\nDuring initial acquisition, a deliberate model-owned prompt\u002Fseed search may\nfind a suitable long workload. Keep candidates diagnostic, freeze the chosen\nworkload before canonical collection, and verify it across affected topologies\nand precisions. Never retry seeds inside the gate, suppress EOS, or waive exact\nrepeats and prefix restoration for a short answer.\n\nDo not equate physical-movement coverage with the longer matched throughput\ncohort. Every Dynamic cell owns `EconomicMovement`. A model\u002Ftopology definition\nmay additionally select `dynamic_speedup_witness` as ordinal, random, both\nowner orders, or disabled. The expander places that before\u002Fafter speed proof on\nonly the first activation\u002FKV pair, ordinary prefill profile, and MTP-off cell;\nall remaining cells retain their complete movement, numerical, graph, prefix,\nand CSV obligations. Add a representative only when a new transport class or\nmaterially different topology economy needs one, and never infer witnesses in\nthe fixture from a test name or from the mere presence of CPU participants.\n\nUse `moe_placement` separately to authenticate the requested ordinal or seeded\nrandom physical owner map. Setup placement is not request-time movement.\nExpertOverlay cells also retain `expert_residency_diagnostics.csv` (and one\nrank-suffixed file per follower) so a failed or successful run can be audited\nwithout reconstructing cross-rank controller state from interleaved logs.\n\nWhen `promoted_expert_execution.csv` proves the numerical result of a moved\nexpert, an independently routed row may be exactly zero in both native and\nreference execution. That is an exact equality witness, recorded as\n`exact_zero_route_rows`; it is not missing execution. A row that is zero on\nonly one side is recorded as `one_sided_zero_route_rows` and fails closed.\n\nMTP coverage must include fixed depths 1, 2, 3, and 15 plus dynamic depth on\nCPU, CUDA, and ROCm. Compare recursive sidecar checkpoints and final verifier\noutputs, assert the requested\u002Feffective depth and dynamic-controller activity,\nand require the same graph evidence as ordinary inference. Dynamic depth needs\none serial-token-exact, full-budget adaptive witness whose controller-window,\nattempted-draft, and verifier counters increase; a physically deep transaction\nthat was clipped at an ExpertOverlay maintenance boundary is not adaptive-depth\nproof. MoE MTP inherits the same policy and placement movement contract.\n\n## Diagnose and fix a failure\n\n1. Preserve the failing result directory and global report.\n2. Confirm model\u002Freference identity and production path before changing any\n   tolerance.\n3. Find the first failing phase, decode step, layer, and stage from the CSVs;\n   later divergence is usually propagation, not the cause.\n4. Compare shape\u002Fcount, NaN\u002FInf, routing identity, cosine, relative L2, maximum\n   absolute error, RMSE, SNR, distribution drift, KL, and Top-K evidence.\n5. Map the first bad stage to graph wiring, tensor layout, kernel arithmetic,\n   collective order, KV state, MoE movement, or MTP advancement.\n6. Reproduce with one exact CTest\u002FGTest cell. Loop a flaky case up to 20 times.\n7. Fix the production implementation. Do not weaken the reference, skip a\n   checkpoint, raise a timeout, or enter another path.\n8. Add a focused device-free unit or backend integration regression for the\nroot invariant. Every `V2_Unit_*` test joins the prerequisite automatically. If\nan Integration test is model-free and guards campaign infrastructure or a\nproduction mechanism used by parity, add its existing CTest registration to\n`V2_PRODUCTION_TEST_PREFLIGHT_TESTS`; do not copy either inventory into the\nPython driver. Then rerun both prerequisite phases and the affected diagnostic\ncell before resuming routine generation regression. Run the full mathematical\nmatrix only when explicitly requested.\n\nIf only the full campaign fails, inspect reuse boundaries: `ModelContext` may\nretain immutable prepared weights only when its complete physical identity is\nunchanged. Runner, arena, stream, graph, request snapshots, KV data, runtime\nMoE policy, and controller state must be exact per cell and reset explicitly.\n\n## Extend the matrix\n\nDescribe supported configurations with `ModelParityDefinition`: one immutable\nreal-model identity, one `ModelParityTopologyDefinition`, the precision matrix,\nand standard feature profiles. Expand it with\n`expandModelParityDefinition()` and keep the resulting `ModelParityCase` as the\ntest parameter. Give each topology an unambiguous backend and collective\nidentity. Add a `ProductionParity` test calling\n`runProductionParityCampaign()`, or a narrowly specialized fused body when the\nfeature needs additional path evidence. Do not recover runtime policy by\nparsing the generated GoogleTest name and do not build a second axis expander\ninside a model fixture.\n\nRegister through `discover_v2_parity_tests()`. Supply\nproduction binaries named `v2_integration_parity_\u003Cmodel>_\u003Cscope>_matrix`, with\nmodel\u002Fscope fixture names; keep topology instances, precision, placement,\nmovement, and MTP axes in generated cell names. Discovery rejects production\nregistrations without the matrix binary role. Follow the parity README's naming\ncontract and compare exact parameter inventories when renaming suites; never\nrelabel historical CSV evidence as a new run. Supply\n`PRODUCTION_PERF_STATS_FILTER` when the cell must assert domains beyond\n`forward_graph`. Build the target to regenerate its CTest include, then verify\nthat `--list` increases by exactly the intended cells and does not lose an old\naxis.\n\nFor new ExpertOverlay coverage, the standard supported matrix crosses\nStatic\u002FDynamic with ordinal\u002Frandom placement and MTP off\u002F1\u002F2\u002F3\u002F15\u002Fdynamic,\nasserting movement semantics on CPU, CUDA, and ROCm. Add LLEP only after its\ntopology is a first-class installed implementation with its own exact movement\nand economy contract; never route an unfinished LLEP cell through Dynamic or\nStatic. Add each newly supported model, topology, activation precision, KV\nprecision, tensor format, sampling mode, or collective through the same typed\ndefinition and registration source. Prefix restore is not a multiplicative\naxis: every generated production cell automatically proves fresh seed, full\nhit, and partial hit through the production tiered cache.\n\nAfter the affected slice is green, run framework checks and routine generation\nregression. The complete mathematical command below is explicit diagnosis only:\n\n```bash\npython3 tests\u002Fv2\u002Funit\u002Fscripts\u002Ftest_production_parity_campaigns.py\npython3 -m pytest -q python\u002Freference\u002Ftests\u002Ftest_snapshot_metadata.py\nctest --test-dir build_v2_integration \\\n  -R '^V2_Unit_ProductionParityCampaigns$' --output-on-failure\npython3 scripts\u002Fci\u002Frun_production_parity_campaigns.py \\\n  --build-dir build_v2_integration --target-seconds 4500 \\\n  --persistent-model-cache-dir \\\n    \"${LLAMINAR_PRODUCTION_PARITY_CACHE_DIR:-\u002Fdev\u002Fshm\u002Fllaminar-production-parity-cache}\" \\\n  --report parity-results\u002Fproduction-campaigns.json\n```\n\nKeep `.githooks\u002Fpre-commit`, `.github\u002Fworkflows\u002Fci.yml`, this skill,\n`tests\u002Fv2\u002Fintegration\u002Fparity\u002FREADME.md`, and the short parity references in\n`AGENTS.md` synchronized when the canonical command or gate changes.\n",{"name":5,"description":7},"master","454741b1b2228bc6874e46ade75bbf523a8385d5",".agents\u002Fllaminar-testing",4,"https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar","https:\u002F\u002Fllaminar.ai","https:\u002F\u002Fgithub.com\u002FLlaminar","Home of the Llaminar inferencing engine.","2026-11-15 04:04:16",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add Llaminar\u002Fllaminar --skill llaminar-testing",{"tool":63,"command":64},"bunx","bunx skills add Llaminar\u002Fllaminar --skill llaminar-testing",{"tool":66,"command":67},"pnpm","pnpm dlx skills add Llaminar\u002Fllaminar --skill llaminar-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.agents\u002Fllaminar-testing\u002FSKILL.md",true,[71,77,81],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"agents\u002Fopenai.yaml","REFERENCE","参考文档",286,"https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.agents\u002Fllaminar-testing\u002Fagents\u002Fopenai.yaml",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fcsv-evidence.md",14033,"https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.agents\u002Fllaminar-testing\u002Freferences\u002Fcsv-evidence.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fhuggingface-reference.md",7068,"https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.agents\u002Fllaminar-testing\u002Freferences\u002Fhuggingface-reference.md",[86,94,102,112,120,125],{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":43},"01M718P9ZZSG781K5PXM1V3KG2","rocm-tuning","https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Frocm-tuning\u002FSKILL.md",[],[92,38,93],"rocm tuning","rocm",{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":43},"01M718P95WX88GYN9MTSC6AE40","mtp-tuning","https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fmtp-tuning\u002FSKILL.md",[],[100,38,101],"mtp tuning","mtp",{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":43},"01M718P7JK26A3N6VZYSE2J36T","cuda-kernel-profiling","https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fcuda-kernel-profiling\u002FSKILL.md",[],[108,109,110,111],"profiling","cuda kernel profiling","cuda","kernel",{"skillNo":113,"name":114,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":43},"01M718P5YCB9J40NZZ0PRAKS5V","cpu-tuning","https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fcpu-tuning\u002FSKILL.md",[],[118,119,38],"cpu tuning","CPU",{"skillNo":121,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":43},"01M718P57PZ4G3X1B24ZVWR2PQ","https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Frocm-tuning\u002FSKILL.md",[],[92,38,93],{"skillNo":126,"name":127,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":43},"01M718P4GF2X3EHBTY7ZB1Q2T2","nativevnni-gemm-tuning","https:\u002F\u002Fgithub.com\u002FLlaminar\u002Fllaminar\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fnativevnni-gemm-tuning\u002FSKILL.md",[],[38,131],"nativevnni gemm tuning"]