diff --git a/.github/workflows/ci-ready.yml b/.github/workflows/ci-ready.yml index 1d888328b..4f84c3dac 100644 --- a/.github/workflows/ci-ready.yml +++ b/.github/workflows/ci-ready.yml @@ -107,7 +107,7 @@ jobs: run: | env -i PATH=/usr/bin:/bin LANG=C.UTF-8 PYTHONPATH=src \ /usr/bin/python3 -m tools.qualify_kv_edit_actor \ - --plan evidence/kv-actor-qualification-20261030/plan/qualification-plan.json \ + --plan evidence/kv-actor-qualification-20261031/plan/qualification-plan.json \ --revision "$GITHUB_SHA" --output "$RUNNER_TEMP/kv-actor-qualification" - name: Retain separate scripted actor receipt including failures if: always() diff --git a/docs/skill-coverage.md b/docs/skill-coverage.md index eb46c78f5..c2bd0ca49 100644 --- a/docs/skill-coverage.md +++ b/docs/skill-coverage.md @@ -4,7 +4,7 @@ Generated from the registry, the skill sidecars and the two maintained matrices. **Do not edit by hand**; regenerate after any registry, skill, matrix or frozen-plan change. -- Input digest: `sha256:2081c91cd7318ae75d1d50673b3a00c2f7be297ceb3ff53009a773c6d8c1476b` +- Input digest: `sha256:b60b6ee6224999ed51c45d93648bb7c22108e0522ad44b1471bed5ce5fb26481` - Regenerate: `python tools/build_skill_coverage.py` - Verify without writing: `python tools/build_skill_coverage.py --check` @@ -79,9 +79,9 @@ optimization is fully covered or that any procedure has measured benefit. | Skill | Backend | Declared task | Applicability | Conditions | SearchSpace layer / stage | Reference Matrix | State | Gaps | |---|---|---|---|---|---|---|---|---| -| [dcp-async-save-performance](../src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md) | common | Diagnose training-visible checkpoint pauses using PyTorch Distributed Checkpoint asynchronous saving and staging ... | **unknown** | — | 1 Accelerator · Diagnose / Configure / Optimize
2 RAM/Host · Observe / Profile / Configure / Optimize / Verify † guidance: PyTorch framework source procedures
3 SSD · Observe / Profile / Configure / Optimize / Verify † guidance: PyTorch framework source procedures | 1 · Systems sources (C1 / DCP async-save-only approval — pytorch/pytorch @ ...) | candidate · not_run · 1 readset(s) | no-applicability, no-eval | -| [diffusers-invocation-state](../src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md) | common | Trace Diffusers pipeline-wrapper and scheduler invocation state when repeated calls, from_pipe reuse or interruption ... | FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin ... | — | 2 RAM/Host † guidance: Diffusers invocation guidance (source-derived) | Diffusers invocation source extraction (huggingface/diffusers @ `aea7b70be0f594bcdc15a6f2677ee2ca85e49e8e` ...) | candidate · not_run · 1 readset(s) | no-eval | -| [lazy-evaluation-stream-lifetimes](../src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md) | common | Diagnose MLX lazy evaluation, cross-stream ordering and array-buffer lifetimes when timing, memory use or asynchronous ... | MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual ... | — | 1 Accelerator † guidance: MLX framework guidance (source-derived) | MLX framework source extraction (ml-explore/mlx @ `bff10220c742907f0c68e55ff174aaea56f74e3d` (MIT)) | candidate · not_run · 1 readset(s) | no-eval | +| [dcp-async-save-performance](../src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md) | common | Diagnose training-visible checkpoint pauses using PyTorch Distributed Checkpoint asynchronous saving and staging ... | Source-supported diagnosis of training-visible PyTorch DCP save pauses ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Diagnose / Configure / Optimize
2 RAM/Host · Observe / Profile / Configure / Optimize / Verify † guidance: PyTorch framework source procedures
3 SSD · Observe / Profile / Configure / Optimize / Verify † guidance: PyTorch framework source procedures | 1 · Systems sources (C1 / DCP async-save-only approval — pytorch/pytorch @ ...) | candidate · not_run · 1 readset(s) | no-eval | +| [diffusers-invocation-state](../src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md) | common | Trace Diffusers pipeline-wrapper and scheduler invocation state when repeated calls, from_pipe reuse or interruption ... | FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 2 RAM/Host † guidance: Diffusers invocation guidance (source-derived) | Diffusers invocation source extraction (huggingface/diffusers @ `aea7b70be0f594bcdc15a6f2677ee2ca85e49e8e` ...) | candidate · not_run · 1 readset(s) | no-eval | +| [lazy-evaluation-stream-lifetimes](../src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md) | common | Diagnose MLX lazy evaluation, cross-stream ordering and array-buffer lifetimes when timing, memory use or asynchronous ... | MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator † guidance: MLX framework guidance (source-derived) | MLX framework source extraction (ml-explore/mlx @ `bff10220c742907f0c68e55ff174aaea56f74e3d` (MIT)) | candidate · not_run · 1 readset(s) | no-eval | | [pytorch](../src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md) | common | Operate and diagnose PyTorch installation, tensors and autograd, training and data, compilation and export, accelerator ... | Major user workflows and selected deep mechanisms of pinned pytorch/pytorch source; exact ... | failure_modes, input_contract, produced_artifact, refusal_point | 1 Accelerator † guidance: PyTorch framework source procedures
2 RAM/Host † guidance: PyTorch framework source procedures
3 SSD † guidance: PyTorch framework source procedures
4 Network † guidance: PyTorch framework source procedures | PyTorch framework operating graph (pytorch/pytorch @ `9a90a4fefcaafa63ac984621963a6fcc66aee68c`, source ...) | candidate · not_run · 1 readset(s) | no-eval | | [torch-npu](../src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md) | ascend | Operate and diagnose TorchNPU on Ascend across installation, PrivateUse1 dispatch, operator development, memory and ... | Source-grounded TorchNPU operation and diagnosis; qualify the selected installed stack ... | failure_modes, input_contract, produced_artifact, refusal_point | 1 Accelerator † guidance: TorchNPU framework source procedures
2 RAM/Host † guidance: TorchNPU framework source procedures
4 Network † guidance: TorchNPU framework source procedures | TorchNPU framework operating graph (Ascend/pytorch @ `046934140b96836c3fcef14d0f39ae54dc0a06bf` ...) | candidate · not_run · 2 readset(s) | no-eval | @@ -89,32 +89,32 @@ optimization is fully covered or that any procedure has measured benefit. | Skill | Backend | Declared task | Applicability | Conditions | SearchSpace layer / stage | Reference Matrix | State | Gaps | |---|---|---|---|---|---|---|---|---| -| [audit-afd-p2p-exchanges](../src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md) | cuda | Audit CUDA P2pNccl Attention/FFN rank namespaces and per-stage, per-peer hidden-state ownership when uneven worker ... | Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with ... | — | 1 Accelerator · Diagnose / Configure / Verify | 1 · Systems sources (vllm-project/afd-plugin @ `df8d6a0c403c3ca1b4ed9cf1687e7204908bebec` ...) | candidate · not_run · 1 readset(s) | no-eval | -| [audit-flare-session-lifecycle](../src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md) | cuda | Audit Flare complete prefix/session restoration, inbound transfer tickets, publication/use/retirement fences and ... | Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 ... | — | 1 Accelerator † guidance: Flare preparation and complete-session source contracts
2 RAM/Host † guidance: Flare preparation and complete-session source contracts
3 SSD † guidance: Flare preparation and complete-session source contracts | Flare preparation and complete-session source knowledge (NVIDIA/flare-local-inference → [NVIDIA/local-inference](https://github ...) | candidate · not_run · 2 readset(s) | no-eval | -| [audit-h3-metal-fasth3-semantics](../src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md) | common | Audit h3-metal FastH3 effective configuration, checkpoint tensor and schedule semantics, partial VSA tiles, sparse ... | h3-metal FastH3 requested/effective configuration, checkpoint transformation and ... | — | 1 Accelerator · Observe / Diagnose / Verify | 1 · Systems sources (zuiho-kai/h3-metal @ `4ba47a3eabdbebf801ac6664b31f8ec168bc57a8` ...) | candidate · not_run · 3 readset(s) | no-eval | -| [audit-h3-runtime-residency](../src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md) | common | Audit MiniMax-H3 generation in h3.c on Apple Silicon by tracing conditioning, AdaLN precompute, DiT residency, Metal ... | MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input ... | — | 1 Accelerator · Observe / Diagnose / Verify
2 RAM/Host · Observe / Diagnose / Verify
3 SSD · Diagnose / Configure / Verify | 1 · Systems sources (antirez/h3.c @ `8974cc055ea9c02fcd14cc27dfda3e1027c05153` (MIT ...) | candidate · not_run · 3 readset(s) | no-eval | -| [audit-llama-runtime-state](../src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md) | common | Audit llama.cpp context memory, partial decode progress, graph reuse and server cancellation when a retry, stale ... | Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis ... | — | 1 Accelerator · Diagnose / Verify
2 RAM/Host · Diagnose / Verify | 1 · Systems sources (ggml-org/llama.cpp @ `707616feb5f379e99ff7442680a55b4a1704c7c9` (MIT ...) | candidate · not_run · 1 readset(s) | no-eval | -| [audit-recurrent-kv-finalization](../src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md) | common | Audit vLLM-RLT synchronous early-exit KV propagation, later depth-specific attention reads, and request storage ... | Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED ... | — | — | 1 · Systems sources (InferMatrixLab/vllm-rlt (legacy ThinkFlowLab/vllm-rlt) @ ...) | candidate · not_run · 2 readset(s) | no-SearchSpace-layer, no-eval | -| [audit-sd-cpp-residency](../src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md) | common | Audit stable-diffusion.cpp image-generation memory pressure by separating catalog freshness and weight-byte delivery ... | Source-grounded audit of native image-generation weight/runtime residency, optional ... | — | 1 Accelerator · Observe / Diagnose / Verify
2 RAM/Host · Observe / Diagnose / Verify
3 SSD · Diagnose / Verify | 1 · Systems sources (leejet/stable-diffusion.cpp @ `b13a48219d5cdf408edcb93da6cd69b612ed03d ...) | candidate · not_run · 2 readset(s) | no-eval | -| [audit-sglang-diffusion-lifetimes](../src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md) | common | Diagnose SGLang multimodal_gen stage state, component residency and request timeout/deletion when grouped outputs ... | Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual ... | — | 1 Accelerator · Diagnose / Verify
2 RAM/Host · Diagnose / Verify | 1 · Systems sources (sgl-project/sglang @ `df13d5dce31abfeff0e701a62e8c39a136758e6c` ...) | candidate · not_run · 1 readset(s) | no-eval | -| [audit-vllm-kv-lifetimes](../src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md) | common | Audit vLLM V1 asynchronous KV load/save completion, block retention, preemption, and receive-failure contracts when ... | **unknown** | — | 1 Accelerator · Observe / Diagnose / Verify | 1 · Systems sources (vllm-project/vllm @ `7f730b4cea9a66520a9200265928ebe016b48a39` ...) | candidate · not_run · 1 readset(s) | no-applicability, no-eval | -| [bound-windowed-attention-replay](../src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md) | common | Bound replay or prefill query rows across a producer/consumer boundary whose retained inputs and separately preserved ... | Decoders with an explicit producer/consumer boundary and a demonstrated dependency ... | — | 1 Accelerator † guidance: DeepInfer bounded source guidance
2 RAM/Host † guidance: DeepInfer bounded source guidance | DeepInfer source extraction (deepseek-ai/DeepInfer @ `8b16149741a4935e1dec8cea27853f273b374c5b` ...) | candidate · not_run · 2 readset(s) | no-eval | -| [budget-speculative-verification](../src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md) | common | Decide how many draft tokens to verify per decode step when acceptance varies by request and position. Use when an ... | Engines with multi-token speculative decoding whose verification forward cost grows with ... | — | 1 Accelerator † guidance: DeepInfer bounded source guidance | DeepInfer source extraction (deepseek-ai/DeepInfer @ `8b16149741a4935e1dec8cea27853f273b374c5b` ...) | candidate · not_run · 2 readset(s) | no-eval | -| [comfy-ui](../src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md) | common | Audit ComfyUI workflow-output cache validity, lazy dependencies and model-weight residency as separate state contracts ... | Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm ... | — | 1 Accelerator · Diagnose / Configure / Verify
2 RAM/Host · Diagnose / Configure / Verify | 1 · Systems sources (Comfy-Org/ComfyUI @ `b1a247c9cf9dbfda4b2c0a0c1d50950667eeaa0c` (GNU ...) | candidate · not_run · 1 readset(s) | no-eval | -| [diagnose-vllm-admission-pressure](../src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md) | common | Diagnose vLLM V1 admission stalls and KV-pressure preemption by separating token, input, active-request ... | **unknown** | — | 1 Accelerator · Observe / Diagnose / Configure / Optimize / Verify | 1 · Systems sources (vllm-project/vllm @ `7f730b4cea9a66520a9200265928ebe016b48a39` ...) | candidate · not_run · 14 readset(s) | no-applicability, no-eval | -| [dwarfstar](../src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md) | common | Investigate DwarfStar model fit, expert SSD streaming, session and vision cache correctness, speculative sampling and ... | Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support ... | — | — | DwarfStar portable AREX extraction (antirez/ds4 @ `ee7e8405232c8971000cc7ba2b945b00bf6d20d3`; AREX-Skill ...) | candidate · partial_cpu_only · 2 readset(s) | no-SearchSpace-layer, no-eval | -| [generation-cache-lifecycle](../src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md) | common | Trace MLX-LM prefill, generation batching, prompt-cache reuse and cooperative stopping when request state, cache rows ... | MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime ... | — | 2 RAM/Host † guidance: MLX-LM application guidance (source-derived) | MLX-LM application source extraction (ml-explore/mlx-lm @ `ab7f7048dc341ced2d84b1887eeb17d60b0d1b02` (MIT)) | candidate · not_run · 1 readset(s) | no-eval | -| [husky](../src/inferrsi/data/skill_library/repositories/husky/SKILL.md) | common | Review Husky's official-document claims as research hypotheses, separating author reports, implementation evidence ... | Review Husky document claims and specify missing evidence; common catalog scope is not ... | — | — | Husky document-only research adaptation (Official https://husky.underdog.ai/; displayed2026-09-20 ...) | candidate · not_run · 2 readset(s) | no-SearchSpace-layer, no-eval | -| [kv-tier-management](../src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md) | common | Manage runtime KV cache tiers (GPU → CPU RAM → local disk) for LLM serving: decide when KV is stored, retained ... | **unknown** | — | 2 RAM/Host · Configure / Optimize
3 SSD · Optimize | 1 · Systems sources (LMCache/LMCache @ c3b875a) | candidate · not_run · 0 readset(s) | no-applicability, no-eval | -| [lily](../src/inferrsi/data/skill_library/repositories/lily/SKILL.md) | common | Investigate Lily's exact Qwen3.6-35B-A3B MLX-affine-Q4 contract, Metal state and kernels, strict greedy text API ... | Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog ... | — | — | Lily portable AREX extraction (perplexityai/pplx-garden `lily/` @ `1ed972ed3f0bd5616c997c9507c25616c6 ...) | candidate · not_run · 2 readset(s) | no-SearchSpace-layer, no-eval | -| [lithos-metal](../src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md) | common | Inspect Lithos Metal compilation and fusion, GPU-resident generation and DSpark state, or local serving and ... | Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and ... | — | 1 Accelerator · Diagnose / Configure / Optimize / Verify | 1 · Systems sources (lithos-ai/lithos-metal @ `6653b7df5f2c4392ec7b038960f2796b1499923f` ...) | candidate · not_run · 1 readset(s) | no-eval | -| [local-dream](../src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md) | common | Audit Local Dream Android desired-versus-serving process state, remote exposure, native backend and DiT packaging/ABI ... | Selected Android app/process and native diffusion boundary contracts; common is a ... | — | 2 RAM/Host † guidance: Local Dream Android diffusion source contracts | Local Dream Android diffusion boundary source (xororz/local-dream @ `db162df4d9bb6efc6595250423d8df26241f4c27` ...) | candidate · not_run · 2 readset(s) | no-eval | -| [mistral-rs](../src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md) | common | Investigate mistral.rs Metal paged-attention decode layouts, prefill coordinates and workspace, actual-model prewarm ... | Selected native Metal paged decode/prefill layout/metadata/workspace and ... | — | 1 Accelerator † guidance: mistral.rs Metal paged-attention source contracts
2 RAM/Host † guidance: mistral.rs Metal paged-attention source contracts | mistral.rs Metal paged-attention extraction (EricLBuehler/mistral.rs @ `9459891e7697238225885518119682ac8209a612` ...) | candidate · not_run · 2 readset(s) | no-eval | -| [mlc-llm](../src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md) | common | Investigate MLC LLM compiled Metal artifact/schema, Apple target and pinned TVM module/storage/stream contracts, and ... | Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source ... | — | 1 Accelerator † guidance: MLC LLM artifact, target and runtime source contracts
2 RAM/Host † guidance: MLC LLM artifact, target and runtime source contracts | MLC LLM compiled Metal and runtime contracts (mlc-ai/mlc-llm @ `8978ea9aec626d64096aaa92fbc89bda2e3ea802`; TVM ...) | candidate · not_run · 2 readset(s) | no-eval | -| [mlx-swift-lm](../src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md) | common | Investigate MLX Swift LM generation ownership, cancellation and settled task completion, and recurrent GatedDelta Metal ... | Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts ... | — | 1 Accelerator † guidance: MLX Swift LM ownership and recurrent Metal source contracts
2 RAM/Host † guidance: MLX Swift LM ownership and recurrent Metal source contracts | MLX Swift LM lifecycle and recurrent Metal extraction (ml-explore/mlx-swift-lm @ `3d066d3a0ffdc7e70c476a3d31488ea62dfdd0ac` ...) | candidate · not_run · 2 readset(s) | no-eval | -| [project-maya](../src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md) | common | Investigate Project Maya model-family dispatch, representation and memory tiers, API versus native state, speculative ... | Model-specific dispatch/residency, API/native state and qualification investigation ... | — | 1 Accelerator † guidance: Project Maya model-specific source contracts
2 RAM/Host † guidance: Project Maya model-specific source contracts
3 SSD † guidance: Project Maya model-specific source contracts | Project Maya source and CPU-slice extraction (mw00/project-maya @ `249f9a87d1a9d72bec2b684d704b0aa9296b1c9c` ...) | candidate · partial_cpu_only · 2 readset(s) | no-eval | -| [splash](../src/inferrsi/data/skill_library/repositories/splash/SKILL.md) | common | Investigate Splash model-format compatibility, automatic memory planning, Metal and ANE execution, DFlash2 ... | Pinned Splash representation, planning, state/serving and verification investigation ... | — | — | Splash portable AREX extraction (incoai/splash @ `39a97385f8560cf8a93972cec9b0a963c9195250`; AREX ...) | candidate · partial_cpu_only · 2 readset(s) | no-SearchSpace-layer, no-eval | -| [vllm-metal](../src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md) | common | Investigate vllm-metal Apple inference through platform and native-ABI selection, paged KV/offload ownership ... | Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch ... | — | 1 Accelerator † guidance: vLLM Metal selected source contracts
2 RAM/Host † guidance: vLLM Metal selected source contracts
3 SSD † guidance: vLLM Metal selected source contracts | vLLM Metal portable AREX source and CPU extraction (vllm-project/vllm-metal @ `e7df7a6ff215f99c7842552d230fdbc709835934` ...) | candidate · partial_cpu_only · 2 readset(s) | no-eval | +| [audit-afd-p2p-exchanges](../src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md) | cuda | Audit CUDA P2pNccl Attention/FFN rank namespaces and per-stage, per-peer hidden-state ownership when uneven worker ... | Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Diagnose / Configure / Verify | 1 · Systems sources (vllm-project/afd-plugin @ `df8d6a0c403c3ca1b4ed9cf1687e7204908bebec` ...) | candidate · not_run · 1 readset(s) | no-eval | +| [audit-flare-session-lifecycle](../src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md) | cuda | Audit Flare complete prefix/session restoration, inbound transfer tickets, publication/use/retirement fences and ... | Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator † guidance: Flare preparation and complete-session source contracts
2 RAM/Host † guidance: Flare preparation and complete-session source contracts
3 SSD † guidance: Flare preparation and complete-session source contracts | Flare preparation and complete-session source knowledge (NVIDIA/flare-local-inference → [NVIDIA/local-inference](https://github ...) | candidate · not_run · 2 readset(s) | no-eval | +| [audit-h3-metal-fasth3-semantics](../src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md) | common | Audit h3-metal FastH3 effective configuration, checkpoint tensor and schedule semantics, partial VSA tiles, sparse ... | h3-metal FastH3 requested/effective configuration, checkpoint transformation and ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Observe / Diagnose / Verify | 1 · Systems sources (zuiho-kai/h3-metal @ `4ba47a3eabdbebf801ac6664b31f8ec168bc57a8` ...) | candidate · not_run · 3 readset(s) | no-eval | +| [audit-h3-runtime-residency](../src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md) | common | Audit MiniMax-H3 generation in h3.c on Apple Silicon by tracing conditioning, AdaLN precompute, DiT residency, Metal ... | MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Observe / Diagnose / Verify
2 RAM/Host · Observe / Diagnose / Verify
3 SSD · Diagnose / Configure / Verify | 1 · Systems sources (antirez/h3.c @ `8974cc055ea9c02fcd14cc27dfda3e1027c05153` (MIT ...) | candidate · not_run · 3 readset(s) | no-eval | +| [audit-llama-runtime-state](../src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md) | common | Audit llama.cpp context memory, partial decode progress, graph reuse and server cancellation when a retry, stale ... | Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Diagnose / Verify
2 RAM/Host · Diagnose / Verify | 1 · Systems sources (ggml-org/llama.cpp @ `707616feb5f379e99ff7442680a55b4a1704c7c9` (MIT ...) | candidate · not_run · 1 readset(s) | no-eval | +| [audit-recurrent-kv-finalization](../src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md) | common | Audit vLLM-RLT synchronous early-exit KV propagation, later depth-specific attention reads, and request storage ... | Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | — | 1 · Systems sources (InferMatrixLab/vllm-rlt (legacy ThinkFlowLab/vllm-rlt) @ ...) | candidate · not_run · 2 readset(s) | no-SearchSpace-layer, no-eval | +| [audit-sd-cpp-residency](../src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md) | common | Audit stable-diffusion.cpp image-generation memory pressure by separating catalog freshness and weight-byte delivery ... | Source-grounded audit of native image-generation weight/runtime residency, optional ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Observe / Diagnose / Verify
2 RAM/Host · Observe / Diagnose / Verify
3 SSD · Diagnose / Verify | 1 · Systems sources (leejet/stable-diffusion.cpp @ `b13a48219d5cdf408edcb93da6cd69b612ed03d ...) | candidate · not_run · 2 readset(s) | no-eval | +| [audit-sglang-diffusion-lifetimes](../src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md) | common | Diagnose SGLang multimodal_gen stage state, component residency and request timeout/deletion when grouped outputs ... | Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Diagnose / Verify
2 RAM/Host · Diagnose / Verify | 1 · Systems sources (sgl-project/sglang @ `df13d5dce31abfeff0e701a62e8c39a136758e6c` ...) | candidate · not_run · 1 readset(s) | no-eval | +| [audit-vllm-kv-lifetimes](../src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md) | common | Audit vLLM V1 asynchronous KV load/save completion, block retention, preemption, and receive-failure contracts when ... | Pinned vLLM V1 scheduler/connector ownership audit for asynchronous KV load/save ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Observe / Diagnose / Verify | 1 · Systems sources (vllm-project/vllm @ `7f730b4cea9a66520a9200265928ebe016b48a39` ...) | candidate · not_run · 1 readset(s) | no-eval | +| [bound-windowed-attention-replay](../src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md) | common | Bound replay or prefill query rows across a producer/consumer boundary whose retained inputs and separately preserved ... | Decoders with an explicit producer/consumer boundary and a demonstrated dependency ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator † guidance: DeepInfer bounded source guidance
2 RAM/Host † guidance: DeepInfer bounded source guidance | DeepInfer source extraction (deepseek-ai/DeepInfer @ `8b16149741a4935e1dec8cea27853f273b374c5b` ...) | candidate · not_run · 2 readset(s) | no-eval | +| [budget-speculative-verification](../src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md) | common | Decide how many draft tokens to verify per decode step when acceptance varies by request and position. Use when an ... | Engines with multi-token speculative decoding whose verification forward cost grows with ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator † guidance: DeepInfer bounded source guidance | DeepInfer source extraction (deepseek-ai/DeepInfer @ `8b16149741a4935e1dec8cea27853f273b374c5b` ...) | candidate · not_run · 2 readset(s) | no-eval | +| [comfy-ui](../src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md) | common | Audit ComfyUI workflow-output cache validity, lazy dependencies and model-weight residency as separate state contracts ... | Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Diagnose / Configure / Verify
2 RAM/Host · Diagnose / Configure / Verify | 1 · Systems sources (Comfy-Org/ComfyUI @ `b1a247c9cf9dbfda4b2c0a0c1d50950667eeaa0c` (GNU ...) | candidate · not_run · 1 readset(s) | no-eval | +| [diagnose-vllm-admission-pressure](../src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md) | common | Diagnose vLLM V1 admission stalls and KV-pressure preemption by separating token, input, active-request ... | Pinned vLLM V1 branch-based diagnosis of queued requests, low scheduled-token counts and ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator · Observe / Diagnose / Configure / Optimize / Verify | 1 · Systems sources (vllm-project/vllm @ `7f730b4cea9a66520a9200265928ebe016b48a39` ...) | candidate · not_run · 14 readset(s) | no-eval | +| [dwarfstar](../src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md) | common | Investigate DwarfStar model fit, expert SSD streaming, session and vision cache correctness, speculative sampling and ... | Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | — | DwarfStar portable AREX extraction (antirez/ds4 @ `ee7e8405232c8971000cc7ba2b945b00bf6d20d3`; AREX-Skill ...) | candidate · partial_cpu_only · 2 readset(s) | no-SearchSpace-layer, no-eval | +| [generation-cache-lifecycle](../src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md) | common | Trace MLX-LM prefill, generation batching, prompt-cache reuse and cooperative stopping when request state, cache rows ... | MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 2 RAM/Host † guidance: MLX-LM application guidance (source-derived) | MLX-LM application source extraction (ml-explore/mlx-lm @ `ab7f7048dc341ced2d84b1887eeb17d60b0d1b02` (MIT)) | candidate · not_run · 1 readset(s) | no-eval | +| [husky](../src/inferrsi/data/skill_library/repositories/husky/SKILL.md) | common | Review Husky's official-document claims as research hypotheses, separating author reports, implementation evidence ... | Review Husky document claims and specify missing evidence; common catalog scope is not ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | — | Husky document-only research adaptation (Official https://husky.underdog.ai/; displayed2026-09-20 ...) | candidate · not_run · 2 readset(s) | no-SearchSpace-layer, no-eval | +| [kv-tier-management](../src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md) | common | Manage runtime KV cache tiers (GPU → CPU RAM → local disk) for LLM serving: decide when KV is stored, retained ... | LMCache multiprocess runtime KV tier policy across engine GPU cache, host L1 and ... | failure_modes, input_contract, produced_artifact
3 advice | 2 RAM/Host · Configure / Optimize
3 SSD · Optimize | 1 · Systems sources (LMCache/LMCache @ c3b875a) | candidate · not_run · 0 readset(s) | no-eval | +| [lily](../src/inferrsi/data/skill_library/repositories/lily/SKILL.md) | common | Investigate Lily's exact Qwen3.6-35B-A3B MLX-affine-Q4 contract, Metal state and kernels, strict greedy text API ... | Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | — | Lily portable AREX extraction (perplexityai/pplx-garden `lily/` @ `1ed972ed3f0bd5616c997c9507c25616c6 ...) | candidate · not_run · 2 readset(s) | no-SearchSpace-layer, no-eval | +| [lithos-metal](../src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md) | common | Inspect Lithos Metal compilation and fusion, GPU-resident generation and DSpark state, or local serving and ... | Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and ... | failure_modes, input_contract, produced_artifact
3 advice | 1 Accelerator · Diagnose / Configure / Optimize / Verify | 1 · Systems sources (lithos-ai/lithos-metal @ `6653b7df5f2c4392ec7b038960f2796b1499923f` ...) | candidate · not_run · 1 readset(s) | no-eval | +| [local-dream](../src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md) | common | Audit Local Dream Android desired-versus-serving process state, remote exposure, native backend and DiT packaging/ABI ... | Selected Android app/process and native diffusion boundary contracts; common is a ... | failure_modes, input_contract, produced_artifact
3 advice | 2 RAM/Host † guidance: Local Dream Android diffusion source contracts | Local Dream Android diffusion boundary source (xororz/local-dream @ `db162df4d9bb6efc6595250423d8df26241f4c27` ...) | candidate · not_run · 2 readset(s) | no-eval | +| [mistral-rs](../src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md) | common | Investigate mistral.rs Metal paged-attention decode layouts, prefill coordinates and workspace, actual-model prewarm ... | Selected native Metal paged decode/prefill layout/metadata/workspace and ... | failure_modes, input_contract, produced_artifact
3 advice | 1 Accelerator † guidance: mistral.rs Metal paged-attention source contracts
2 RAM/Host † guidance: mistral.rs Metal paged-attention source contracts | mistral.rs Metal paged-attention extraction (EricLBuehler/mistral.rs @ `9459891e7697238225885518119682ac8209a612` ...) | candidate · not_run · 2 readset(s) | no-eval | +| [mlc-llm](../src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md) | common | Investigate MLC LLM compiled Metal artifact/schema, Apple target and pinned TVM module/storage/stream contracts, and ... | Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source ... | failure_modes, input_contract, produced_artifact
3 advice | 1 Accelerator † guidance: MLC LLM artifact, target and runtime source contracts
2 RAM/Host † guidance: MLC LLM artifact, target and runtime source contracts | MLC LLM compiled Metal and runtime contracts (mlc-ai/mlc-llm @ `8978ea9aec626d64096aaa92fbc89bda2e3ea802`; TVM ...) | candidate · not_run · 2 readset(s) | no-eval | +| [mlx-swift-lm](../src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md) | common | Investigate MLX Swift LM generation ownership, cancellation and settled task completion, and recurrent GatedDelta Metal ... | Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts ... | failure_modes, input_contract, produced_artifact
3 advice | 1 Accelerator † guidance: MLX Swift LM ownership and recurrent Metal source contracts
2 RAM/Host † guidance: MLX Swift LM ownership and recurrent Metal source contracts | MLX Swift LM lifecycle and recurrent Metal extraction (ml-explore/mlx-swift-lm @ `3d066d3a0ffdc7e70c476a3d31488ea62dfdd0ac` ...) | candidate · not_run · 2 readset(s) | no-eval | +| [project-maya](../src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md) | common | Investigate Project Maya model-family dispatch, representation and memory tiers, API versus native state, speculative ... | Model-specific dispatch/residency, API/native state and qualification investigation ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | 1 Accelerator † guidance: Project Maya model-specific source contracts
2 RAM/Host † guidance: Project Maya model-specific source contracts
3 SSD † guidance: Project Maya model-specific source contracts | Project Maya source and CPU-slice extraction (mw00/project-maya @ `249f9a87d1a9d72bec2b684d704b0aa9296b1c9c` ...) | candidate · partial_cpu_only · 2 readset(s) | no-eval | +| [splash](../src/inferrsi/data/skill_library/repositories/splash/SKILL.md) | common | Investigate Splash model-format compatibility, automatic memory planning, Metal and ANE execution, DFlash2 ... | Pinned Splash representation, planning, state/serving and verification investigation ... | failure_modes, input_contract, produced_artifact, refusal_point
3 advice | — | Splash portable AREX extraction (incoai/splash @ `39a97385f8560cf8a93972cec9b0a963c9195250`; AREX ...) | candidate · partial_cpu_only · 2 readset(s) | no-SearchSpace-layer, no-eval | +| [vllm-metal](../src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md) | common | Investigate vllm-metal Apple inference through platform and native-ABI selection, paged KV/offload ownership ... | Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch ... | failure_modes, input_contract, produced_artifact
3 advice | 1 Accelerator † guidance: vLLM Metal selected source contracts
2 RAM/Host † guidance: vLLM Metal selected source contracts
3 SSD † guidance: vLLM Metal selected source contracts | vLLM Metal portable AREX source and CPU extraction (vllm-project/vllm-metal @ `e7df7a6ff215f99c7842552d230fdbc709835934` ...) | candidate · partial_cpu_only · 2 readset(s) | no-eval | ## Registered: Methods (20) @@ -239,7 +239,7 @@ an entrypoint routes to procedures below it rather than adding one. | `no-SearchSpace-layer` | 15: ascend-video-diffusion-optimization, audit-fixed-workload-claim, audit-recurrent-kv-finalization, cite-check-downstream-pr, competitor-scan, draft-acceptance-issue, dwarfstar, husky, inference-benchmark-design, lily, npu-skill-factory, repository-evolution-analysis, skill-evolution-playbook, splash, video-diffusion-optimization | | `no-Reference-Matrix-row` | 8: ascend-video-diffusion-optimization, audit-fixed-workload-claim, cite-check-downstream-pr, claim-contract, competitor-scan, draft-acceptance-issue, rsi-evidence, video-diffusion-optimization | | `no-sidecar` | 0: — | -| `no-applicability` | 4: audit-vllm-kv-lifetimes, dcp-async-save-performance, diagnose-vllm-admission-pressure, kv-tier-management | +| `no-applicability` | 0: — | | `no-eval` | 77: as listed in the Gaps column above | These are inventory gaps, not defects. A workflow skill may legitimately diff --git a/evidence/kv-actor-qualification-20261031/README.md b/evidence/kv-actor-qualification-20261031/README.md new file mode 100644 index 000000000..770600da6 --- /dev/null +++ b/evidence/kv-actor-qualification-20261031/README.md @@ -0,0 +1,27 @@ +# Scripted KV actor qualification for the updated K payload + +This prospective software-control plan qualifies the complete K owner at +`a04c599c49465b67ea40a1f0de622706ab3da955`. Batch 4 added source-supported +applicability and recommendations to `metadata.json`; the procedure and source +notes retain their previous bytes. Metadata is part of the actor's exposed +knowledge, so this is a new payload identity even though its evidence and +candidate maturity did not change. + +The [2026-10-30 plan](../kv-actor-qualification-20261030/plan/qualification-plan.json), +its integrity manifest and retained receipts remain unchanged. They describe +the earlier K bytes and cannot qualify this payload by inheritance. This plan +retains the same complete three-file owner, task-plan digest, 1,800-lease +workload, limits, scripted arms and qualification requirements. The existing +qualifier still rejects changed bytes, expanded exposure and unavailable +isolation; no production qualifier logic is changed. + +Ready must produce a fresh receipt and raw archive for the exact clean submitted +revision, this plan and its actual A2/A3 exposure. Until that run completes, +qualification remains not_run/INCONCLUSIVE. Existing tests and earlier receipts +are not a hosted result for this version. + +This plan makes zero provider calls and changes no live authorization, actor +manifest, charge identity, reservation or ledger. A future live plan must still +match its separately authorized exposure and hosted qualification exactly. +Scripted software qualification supplies no knowledge-efficacy, model-quality +or production-performance result. diff --git a/evidence/kv-actor-qualification-20261031/patch/README.md b/evidence/kv-actor-qualification-20261031/patch/README.md new file mode 100644 index 000000000..ae41d6ded --- /dev/null +++ b/evidence/kv-actor-qualification-20261031/patch/README.md @@ -0,0 +1,7 @@ +# Payload change + +The complete K owner retains its procedure and source notes. Its metadata adds +source-supported applicability and owner advice at the plan's knowledge revision. +The current Ready job and software tests select this new prospective plan. +The earlier qualification bundle and all production qualifier, task-verifier, +live-authorization and reservation logic remain unchanged. diff --git a/evidence/kv-actor-qualification-20261031/plan/integrity.json b/evidence/kv-actor-qualification-20261031/plan/integrity.json new file mode 100644 index 000000000..ff7785e8f --- /dev/null +++ b/evidence/kv-actor-qualification-20261031/plan/integrity.json @@ -0,0 +1,7 @@ +{ + "README.md": "4d2d85cc4afa8d44809d01fa34b2c7af588e0c819a5d435466aa79915231d93b", + "patch/README.md": "eca4ad73b58e1d924042f34ced0aabc858a04012f47145c164bb5031a91e02e8", + "plan/qualification-plan.json": "b21e414dcefbbb221607c0ddb9e90d943f40ad0266bfbf271818dc2e5601bd95", + "results/README.md": "8b2137b0cddb25c5aa8c33d107b6c288e2bf887e82c7ea9090891c2c2d1c0d39", + "validator/README.md": "9c635cd59e6707a5b34ebbc47d47a755d78ab8b9228d60813630a147f1263f17" +} diff --git a/evidence/kv-actor-qualification-20261031/plan/qualification-plan.json b/evidence/kv-actor-qualification-20261031/plan/qualification-plan.json new file mode 100644 index 000000000..b2a9f1c71 --- /dev/null +++ b/evidence/kv-actor-qualification-20261031/plan/qualification-plan.json @@ -0,0 +1,42 @@ +{ + "schema": "kv-actor-model-free-qualification-v1", + "scope": "Scripted actor/workbench/isolation qualification only; zero real model calls; no K efficacy result", + "accepted_scope": "https://github.com/InferMatrixLab/InferRSI/issues/248#issuecomment-6526000390", + "base_revision": "57bc805db9bb56995e2ae988830e1c52a14f85d3", + "task_plan_sha256": "60cc479686aa2ba3772f627cc5179a3c0dc6d215c0fdeb57547fd58dc30859ed", + "knowledge_revision": "a04c599c49465b67ea40a1f0de622706ab3da955", + "knowledge_root": "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes", + "knowledge_files_sha256": { + "SKILL.md": "4c3f27459df239f9f4fc971c559d4c9ddfbfebd70507a8a93be8eae59a30b69d", + "metadata.json": "8ded6e60c562131616dc8cdcf0d7efc04aef1884885da0b30fb16f42d7433b7c", + "references/source-notes.md": "3665b034594fc8cc767c408002f4e16f8803369242405027c7f37ce6c9ecebe9" + }, + "qualification_max_seconds": 480, + "descendant_probe_seconds": 2, + "visible_workload_count": 1800, + "visible_min_improvement_pct": 0, + "actor_limits": { + "max_source_bytes": 65536, + "max_feedback_bytes": 8192, + "max_writes": 8, + "max_checks": 8, + "max_benchmarks": 4, + "benchmark_repetitions": 2, + "max_seconds": 600 + }, + "client": { + "kind": "anthropic-messages-edit-check-v1", + "provider": "yibuapi", + "endpoint": "https://yibuapi.com/v1/messages", + "api_version": "2023-06-01", + "max_requests": 8, + "max_output_tokens": 4096, + "max_request_bytes": 262144, + "max_read_bytes": 65536, + "max_tool_calls": 32 + }, + "model": "claude-opus-5-5", + "input_token_ceiling": 1000000, + "retry_policy": "No automatic rerun; retain every qualification attempt separately", + "paid_execution": "Absent. Scripted response fixtures are not provider evidence or spending authority." +} diff --git a/evidence/kv-actor-qualification-20261031/results/README.md b/evidence/kv-actor-qualification-20261031/results/README.md new file mode 100644 index 000000000..25f0151f5 --- /dev/null +++ b/evidence/kv-actor-qualification-20261031/results/README.md @@ -0,0 +1,6 @@ +# Results + +No hosted result for this prospective payload version is committed here. Ready +retains exact-head qualification receipts and privacy-redacted raw archives as +separate run/attempt artifacts, including failures. Earlier payload receipts and +local unit tests do not qualify this version or establish knowledge efficacy. diff --git a/evidence/kv-actor-qualification-20261031/validator/README.md b/evidence/kv-actor-qualification-20261031/validator/README.md new file mode 100644 index 000000000..0bc1141fe --- /dev/null +++ b/evidence/kv-actor-qualification-20261031/validator/README.md @@ -0,0 +1,16 @@ +# Unchanged software qualification contract + +The existing `tools/qualify_kv_edit_actor.py` validates the complete regular-file +K owner and every pinned file digest. It reuses the independently frozen task +plan, verifier and benchmark-output supplement under +`evidence/kv-reclamation-20261030/` without changing their bytes or gates. + +A fresh hosted receipt must bind the exact clean revision, dependency closure, +new plan digest, complete A2/A3 exposure and common actor contracts. It must +retain both edit/check/measurement revisions, immutable final grading, runtime +isolation and descendant cleanup. Timing gains are not software-control gates; +unavailable requirements remain INCONCLUSIVE. + +The current plan is not an update to any live actor or paid execution approval. +Live admission still requires its separately frozen manifests, matching hosted +exposure, explicit authorization and existing reservation checks. diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md index 8bd394700..bbd74d7a5 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md @@ -15,7 +15,7 @@ These are knowledge abstracts (`--kind knowledge`), with namespaced package IDs distinct from explicitly selected `checkout_ref` skills. Ascend/CUDA procedures use their corresponding backend; shared methods use `common`. -Source snapshot: [fb4171e87b4c78d4d62c927f297374ed917949f5](https://github.com/InferMatrixLab/InferRSI/tree/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library). +Source snapshot: [1bada78556d695a01cf2bc3b0c117f65855cc177](https://github.com/InferMatrixLab/InferRSI/tree/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library). ```bash inferrsi knowledge search 'profiling' --repo-type inferrsi --limit 50 @@ -29,7 +29,7 @@ contain the current input paths and bytes (Git checkout filters are respected). ```bash python tools/build_skill_index.py --source-revision -python tools/build_skill_index.py --source-revision fb4171e87b4c78d4d62c927f297374ed917949f5 --check +python tools/build_skill_index.py --source-revision 1bada78556d695a01cf2bc3b0c117f65855cc177 --check ``` `--check` detects missing, stale and unexpected generated records without writing. diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-aclgraph-capture-replay.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-aclgraph-capture-replay.json index 59b4ce2c3..38ede9b19 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-aclgraph-capture-replay.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-aclgraph-capture-replay.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-device-health.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-device-health.json index f9058b075..b7da6596e 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-device-health.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-device-health.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-distributed-parallel.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-distributed-parallel.json index 69cf7ceba..54cf6e9bf 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-distributed-parallel.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-distributed-parallel.json @@ -27,8 +27,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-graph-mode.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-graph-mode.json index d4224a4e2..640f058fb 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-graph-mode.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-graph-mode.json @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-model-adaptation.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-model-adaptation.json index 3a338ea45..096ab6dcb 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-model-adaptation.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-model-adaptation.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-profiling.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-profiling.json index a5bf84b10..f3b116c32 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-profiling.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-profiling.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-tuning.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-tuning.json index 6b1a09850..e0aa8ff4f 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-tuning.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-tuning.json @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-optimization-casebook.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-optimization-casebook.json index 9f00de82c..bc74ae8f6 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-optimization-casebook.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-optimization-casebook.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-performance-analysis.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-performance-analysis.json index 2f257c972..a03778265 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-performance-analysis.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-performance-analysis.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-video-diffusion-optimization.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-video-diffusion-optimization.json index 0317d20ca..937d6f5d9 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-video-diffusion-optimization.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-video-diffusion-optimization.json @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascendc-tiling-design.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascendc-tiling-design.json index 6ea88932d..2a0c44b1c 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascendc-tiling-design.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascendc-tiling-design.json @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/cann-attribution-overlap.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/cann-attribution-overlap.json index 9fc85b313..94e4d504a 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/cann-attribution-overlap.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/cann-attribution-overlap.json @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torch-npu.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torch-npu.json index 9aa4f492c..82dbdabf1 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torch-npu.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torch-npu.json @@ -20,8 +20,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-device-memory-lifecycle.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-device-memory-lifecycle.json index cb172cfa5..69d216b0e 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-device-memory-lifecycle.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-device-memory-lifecycle.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-pinned-host-memory-lifecycle.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-pinned-host-memory-lifecycle.json index 9a64b5a41..a61864e58 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-pinned-host-memory-lifecycle.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-pinned-host-memory-lifecycle.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-serving-preemption.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-serving-preemption.json index 8bb622e47..ad0808449 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-serving-preemption.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-serving-preemption.json @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", "src/inferrsi/data/skill_library/methods/assess-serving-preemption/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-split-backward-schedule.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-split-backward-schedule.json index abf0d4947..da9ae7462 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-split-backward-schedule.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-split-backward-schedule.json @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-fixed-workload-claim.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-fixed-workload-claim.json index fdbdf3259..7ca5cad92 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-fixed-workload-claim.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-fixed-workload-claim.json @@ -20,8 +20,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-metal-fasth3-semantics.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-metal-fasth3-semantics.json index e1ea58288..6e4cc46a6 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-metal-fasth3-semantics.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-metal-fasth3-semantics.json @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/LICENSE", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", @@ -56,7 +56,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/LICENSE": "663e51edcd9a3a8f858018ce6924ad2895a24c269c26c39ad75325bcd0f7e5bc", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md": "e5205de6eba52b3d1693666af755640697717e52ee7834e1ae30e4071b208d54", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/metadata.json": "86a67bb56110c3a9e191e0ff576194162e960cbddca0a99c593ea7aef8df8a4e", + "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/metadata.json": "f1681981db4f9077ee27ff71571dceecd69daf25136bd374b7d9ad3b59762a6a", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/THIRD_PARTY_NOTICES.md": "a0d77db7d2aca0eda811ab3c386cc32b3143f2c2609a042cf4642954f0f6fb09", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/preflight.md": "5cf745005914c74b18a09f127d1d02ce0cb64f6cd7899501ce3cb40938c42a4c", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/repo-provenance.md": "6a4c14207223dcc2584f7133bd14ff4590c2258fc2bd44f3721b6bf63e3e35cf", @@ -148,7 +148,12 @@ "method": "Bounded fork-specific source audit, bundled selected-declaration helper and assertion-backed cases. Native Apple/Metal/model evidence remains blocked; no numerical/performance/skill-efficacy claim." }, "applicability": { - "scope": "h3-metal FastH3 requested/effective configuration, checkpoint transformation and schedule/RoPE semantics, VSA prefix/partial tiles and dispatch/fallback audit. Common catalog placement is discovery, not CPU inference or Apple qualification." + "scope": "h3-metal FastH3 requested/effective configuration, checkpoint transformation and schedule/RoPE semantics, VSA prefix/partial tiles and dispatch/fallback audit. Common catalog placement is discovery, not CPU inference or Apple qualification.", + "prerequisites": "Access to the fork-specific source and semantic contracts; native checks additionally need their matching Metal/model resources and separate execution authority.", + "input_contract": "Source revision/patches, requested parameters and explicitly captured environment controls, checkpoint path/key-family/config identity, requested/aligned frames, latent dimensions, packed prefix segments and sparse-pipeline availability or unknown.", + "produced_artifact": "A ledger of requested and normalized parameters, ambient overrides, source invariants, counterexamples, observed/unknown facts and the smallest discriminating next check.", + "failure_modes": "Ignoring ambient overrides, mixing checkpoint identity switches, using global rather than per-head Q/K/V concatenation, pooling padded boundary rows, or double-adding coarse attention can invalidate the semantic audit.", + "refusal_point": "Stop on conflicting configuration, mixed checkpoint identity, missing resources or the authorized boundary; name the missing native test/fixture and leave it blocked/not_run." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: native Apple/Metal, actual FastH3 checkpoint/schedule/sparse parity, audio/video quality, target memory fit, performance and service evidence not_run.", @@ -163,14 +168,25 @@ "references/source-identity.json", "references/repo-provenance.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Record requested parameters, normalized values and later environment overrides separately, including requested versus aligned frame counts.", + "Audit checkpoint transformations and schedule consumers beyond tensor names/shapes; tiny permutation fixtures can falsify mappings but do not establish model parity.", + "Resolve sparse eligibility and the dense-fine-plus-gated-coarse fallback explicitly; preserve unknown pipeline availability." + ] }, "applicability": { - "scope": "h3-metal FastH3 requested/effective configuration, checkpoint transformation and schedule/RoPE semantics, VSA prefix/partial tiles and dispatch/fallback audit. Common catalog placement is discovery, not CPU inference or Apple qualification." + "scope": "h3-metal FastH3 requested/effective configuration, checkpoint transformation and schedule/RoPE semantics, VSA prefix/partial tiles and dispatch/fallback audit. Common catalog placement is discovery, not CPU inference or Apple qualification.", + "prerequisites": "Access to the fork-specific source and semantic contracts; native checks additionally need their matching Metal/model resources and separate execution authority.", + "input_contract": "Source revision/patches, requested parameters and explicitly captured environment controls, checkpoint path/key-family/config identity, requested/aligned frames, latent dimensions, packed prefix segments and sparse-pipeline availability or unknown.", + "produced_artifact": "A ledger of requested and normalized parameters, ambient overrides, source invariants, counterexamples, observed/unknown facts and the smallest discriminating next check.", + "failure_modes": "Ignoring ambient overrides, mixing checkpoint identity switches, using global rather than per-head Q/K/V concatenation, pooling padded boundary rows, or double-adding coarse attention can invalidate the semantic audit.", + "refusal_point": "Stop on conflicting configuration, mixed checkpoint identity, missing resources or the authorized boundary; name the missing native test/fixture and leave it blocked/not_run." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Record requested parameters, normalized values and later environment overrides separately, including requested versus aligned frame counts.", + "Audit checkpoint transformations and schedule consumers beyond tensor names/shapes; tiny permutation fixtures can falsify mappings but do not establish model parity.", + "Resolve sparse eligibility and the dense-fine-plus-gated-coarse fallback explicitly; preserve unknown pipeline availability." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-runtime-residency.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-runtime-residency.json index 7d2147f9e..3cab986c6 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-runtime-residency.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-runtime-residency.json @@ -30,8 +30,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/LICENSE", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", @@ -57,7 +57,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/LICENSE": "663e51edcd9a3a8f858018ce6924ad2895a24c269c26c39ad75325bcd0f7e5bc", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md": "fdb4d9483c6efa836f9e59617da605fa9c2186e11c2041b05d5c81850ba0475d", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/metadata.json": "fe626a77af3f084f36fd73ffdb6f67976e7dceeafb94ba22078ef03c3a96cfae", + "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/metadata.json": "952bd2947b68e56d249f10798e028d191a8ffbdb2f123775be66946d3e2ef77e", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/THIRD_PARTY_NOTICES.md": "a0d77db7d2aca0eda811ab3c386cc32b3143f2c2609a042cf4642954f0f6fb09", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/minimax-h3-apple.md": "57ce01754ba96c378f13a91305ef3d418b926f99b2753f0af99315572bce063a", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/minimax-h3-weight-inventory.json": "fbaacaeec340d3ce893556ee864405a0746af4d13530a38cb3d5aa9d60929271", @@ -177,7 +177,12 @@ "method": "Manual pinned-source distillation informed by the existing Repo-To-Skill ledger; no AREX/DisCo execution or behavioral efficacy claim." }, "applicability": { - "scope": "MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input encoders, schedule precompute, phased/cached residency, numerical controls and SSD streaming on Apple Silicon. Common catalog placement is a discovery classification, not cross-backend qualification." + "scope": "MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input encoders, schedule precompute, phased/cached residency, numerical controls and SSD streaming on Apple Silicon. Common catalog placement is a discovery classification, not cross-backend qualification.", + "prerequisites": "Access to the pinned source architecture and selected component/format inventory; native checks need matching model, fixture and backend resources within an authorized experiment budget.", + "input_contract": "Runtime revision/patches, macOS/SDK/GPU and memory budget, FL2VA/Ref2VA selection, component formats, prompt and ordered media, requested/aligned frames, canvases, steps/seed, layer/reuse/token/precision policies and preview/interactive-cache state.", + "produced_artifact": "A phase/component/owner ledger with resident weights, runtime/host buffers, overlap, release/reuse boundaries and observations/unknowns, followed by a discriminating check, actual result and remaining gap.", + "failure_modes": "Estimating fit from model-file bytes, confusing runtime int8 with incompatible MLX bundles, ignoring preview/cache overlap, or reducing DiT residency to address a VAE/host-output peak can produce a wrong capacity diagnosis.", + "refusal_point": "Stop at unavailable model/fixture/backend resources or the accepted experiment budget; missing target evidence remains unverified/INCONCLUSIVE." }, "limitations": [ "Native h3.c/Metal execution, target peak memory, audio/video quality, performance, service behavior and skill efficacy were not run.", @@ -191,14 +196,25 @@ "references/source-identity.json", "references/minimax-h3-weight-inventory.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve the actual conditioning and output components before counting residency; do not add alternative checkpoints or count shared files twice.", + "Trace one-shot, preview and interactive ownership separately, including AdaLN schedule dependencies and prepared-cache reset boundaries.", + "Classify approximation and precision controls before comparison, then measure the relevant phase with tensor, physical/compressed/swap and storage observations." + ] }, "applicability": { - "scope": "MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input encoders, schedule precompute, phased/cached residency, numerical controls and SSD streaming on Apple Silicon. Common catalog placement is a discovery classification, not cross-backend qualification." + "scope": "MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input encoders, schedule precompute, phased/cached residency, numerical controls and SSD streaming on Apple Silicon. Common catalog placement is a discovery classification, not cross-backend qualification.", + "prerequisites": "Access to the pinned source architecture and selected component/format inventory; native checks need matching model, fixture and backend resources within an authorized experiment budget.", + "input_contract": "Runtime revision/patches, macOS/SDK/GPU and memory budget, FL2VA/Ref2VA selection, component formats, prompt and ordered media, requested/aligned frames, canvases, steps/seed, layer/reuse/token/precision policies and preview/interactive-cache state.", + "produced_artifact": "A phase/component/owner ledger with resident weights, runtime/host buffers, overlap, release/reuse boundaries and observations/unknowns, followed by a discriminating check, actual result and remaining gap.", + "failure_modes": "Estimating fit from model-file bytes, confusing runtime int8 with incompatible MLX bundles, ignoring preview/cache overlap, or reducing DiT residency to address a VAE/host-output peak can produce a wrong capacity diagnosis.", + "refusal_point": "Stop at unavailable model/fixture/backend resources or the accepted experiment budget; missing target evidence remains unverified/INCONCLUSIVE." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Resolve the actual conditioning and output components before counting residency; do not add alternative checkpoints or count shared files twice.", + "Trace one-shot, preview and interactive ownership separately, including AdaLN schedule dependencies and prepared-cache reset boundaries.", + "Classify approximation and precision controls before comparison, then measure the relevant phase with tensor, physical/compressed/swap and storage observations." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-llama-runtime-state.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-llama-runtime-state.json index 41c071fb0..5ddfce7b9 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-llama-runtime-state.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-llama-runtime-state.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/metadata.json", @@ -41,7 +41,7 @@ "checkout_ref": "checkout:audit-llama-runtime-state", "source_files": { "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md": "95e81b6bc096a954fa73139ea5bc001d1efa6c99747161da62f012b494e5c013", - "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/metadata.json": "1d30b31dc8352fc6a8d7b8abbef8118c840e47e5b90795dae0c758bf9717278c", + "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/metadata.json": "22f1d01b48ea6e2b2ef2deeb20c1404ce8b586eb18442b5adb1390310b4b7503", "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md": "3d12a401e9decb55a2f4f3b2bfa0d360ef5110f63a0469dfe285654e78054190", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" }, @@ -94,7 +94,12 @@ } ], "applicability": { - "scope": "Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis; concrete model/backend behavior requires native validation." + "scope": "Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis; concrete model/backend behavior requires native validation.", + "prerequisites": "Pinned llama.cpp source or a concrete runtime trace, access to the relevant memory/graph/server ownership evidence and an identified caller recovery policy that remains in force.", + "input_contract": "Source/build and model revisions, memory type, actual backend/device and execution mode, context/batch/ubatch parameters, sequence IDs/positions/output flags and return status; graph cases need dispatch evidence, server cases need correlated HTTP/task/slot/cache logs.", + "produced_artifact": "An owner/event ledger of ubatch progress, retained memory, graph-gate decisions, input readiness and slot release/retention, with the first supported broken obligation or smallest missing observation.", + "failure_modes": "Assuming whole-batch rollback after partial decode failure, treating token count as a complete graph-reuse key, or equating posted cancellation with released slots can hide retained state or misdiagnose correct deferred work.", + "refusal_point": "Stop before reset or repair if revision, memory type, actual backend, sequence ownership or partial progress is unknown; escalate unsupported rollback or unresolved in-flight work." }, "limitations": [ "Source-derived candidate; native runtime and efficacy validation not run.", @@ -104,14 +109,25 @@ "provenance_readsets": [ "references/source-notes.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Reconcile per-sequence retained positions with completed ubatches before retrying a failed logical batch.", + "Check both graph allow_reuse and input can_reuse gates, then establish copy readiness independently of graph identity.", + "Trace cancellation posting, normal task processing, slot release and prompt retention as separate events." + ] }, "applicability": { - "scope": "Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis; concrete model/backend behavior requires native validation." + "scope": "Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis; concrete model/backend behavior requires native validation.", + "prerequisites": "Pinned llama.cpp source or a concrete runtime trace, access to the relevant memory/graph/server ownership evidence and an identified caller recovery policy that remains in force.", + "input_contract": "Source/build and model revisions, memory type, actual backend/device and execution mode, context/batch/ubatch parameters, sequence IDs/positions/output flags and return status; graph cases need dispatch evidence, server cases need correlated HTTP/task/slot/cache logs.", + "produced_artifact": "An owner/event ledger of ubatch progress, retained memory, graph-gate decisions, input readiness and slot release/retention, with the first supported broken obligation or smallest missing observation.", + "failure_modes": "Assuming whole-batch rollback after partial decode failure, treating token count as a complete graph-reuse key, or equating posted cancellation with released slots can hide retained state or misdiagnose correct deferred work.", + "refusal_point": "Stop before reset or repair if revision, memory type, actual backend, sequence ownership or partial progress is unknown; escalate unsupported rollback or unresolved in-flight work." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Reconcile per-sequence retained positions with completed ubatches before retrying a failed logical batch.", + "Check both graph allow_reuse and input can_reuse gates, then establish copy readiness independently of graph identity.", + "Trace cancellation posting, normal task processing, slot release and prompt retention as separate events." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-recurrent-kv-finalization.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-recurrent-kv-finalization.json index 5ae945020..df6dc6e37 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-recurrent-kv-finalization.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-recurrent-kv-finalization.json @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/LICENSE", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", @@ -48,7 +48,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md": "a468d75f25e77b96e6fb5376692f7a89c0464cc00d4df035f1dc6cc923f713cc", - "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json": "db0b4593d7a6fbb898fdf11a1710b529abbade847ea57319843669b375b68fc8", + "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json": "dfd605f8f31740565063fad0785dea3e7751b8deea4d43e1a66ca30d92ae901f", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/NOTICE.md": "cca794656897ecdc37f983f7f23c4cd12306dbe3c9cd2f54fece6340753ae4cf", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-identity.json": "5e52db0a0bda4673b9aac46a3fc035b824780def72921fee6796edb2ed9fca65", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md": "0956f59cd9a1fac27da53228dd60c51a07b87639a43c09bfab296c4aeeceaab9", @@ -112,7 +112,12 @@ } ], "applicability": { - "scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification." + "scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification.", + "prerequisites": "The selected native Ouro synchronous path uses host KVMetadata, no speculation/connector/preemption, atomic prefill and disabled graph/static-buffer/packed-prefill paths; changed execution conditions need a new bounded check.", + "input_contract": "Repository revision, model/configuration, recurrent-layer set, loop count, cache layout and block size, dtype/device, attention backend and effective flags, plus the traced token/depth/layer and its next consumer.", + "produced_artifact": "A bounded token/finalization/consumer/retirement trace separating source call order, observed data and written validity, completion evidence and remaining native model/backend/performance gaps.", + "failure_modes": "Substituting mark_finalized for K/V propagation, accepting allocated pages as a complete written prefix, applying LAST_EXITED copy expectations to SHARED, or treating event recording as completion can invalidate the ownership diagnosis.", + "refusal_point": "On a failed prerequisite or complete-prefix check, retain the first failing token/depth/layer and trace the missing operation. Stop the conclusion when flags or metadata ownership leave the selected path." }, "limitations": [ "Source-derived candidate; native CPU/CUDA, model correctness/quality, performance and agent efficacy are not validated.", @@ -123,14 +128,25 @@ "references/source-notes.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Distinguish copied K/V values, logical written positions and allocated capacity; follow the later depth-specific attention consumer.", + "Preserve executed shallower values during LAST_EXITED propagation and use SHARED as a separate one-plane control.", + "Follow the latest request event through runner release before scheduler cache release; page reuse is not evidence of erased old bytes." + ] }, "applicability": { - "scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification." + "scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification.", + "prerequisites": "The selected native Ouro synchronous path uses host KVMetadata, no speculation/connector/preemption, atomic prefill and disabled graph/static-buffer/packed-prefill paths; changed execution conditions need a new bounded check.", + "input_contract": "Repository revision, model/configuration, recurrent-layer set, loop count, cache layout and block size, dtype/device, attention backend and effective flags, plus the traced token/depth/layer and its next consumer.", + "produced_artifact": "A bounded token/finalization/consumer/retirement trace separating source call order, observed data and written validity, completion evidence and remaining native model/backend/performance gaps.", + "failure_modes": "Substituting mark_finalized for K/V propagation, accepting allocated pages as a complete written prefix, applying LAST_EXITED copy expectations to SHARED, or treating event recording as completion can invalidate the ownership diagnosis.", + "refusal_point": "On a failed prerequisite or complete-prefix check, retain the first failing token/depth/layer and trace the missing operation. Stop the conclusion when flags or metadata ownership leave the selected path." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Distinguish copied K/V values, logical written positions and allocated capacity; follow the later depth-specific attention consumer.", + "Preserve executed shallower values during LAST_EXITED propagation and use SHARED as a separate one-plane control.", + "Follow the latest request event through runner release before scheduler cache release; page reuse is not evidence of erased old bytes." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sd-cpp-residency.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sd-cpp-residency.json index c32fef00c..1d8f61df4 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sd-cpp-residency.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sd-cpp-residency.json @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/LICENSE", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", @@ -49,7 +49,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/LICENSE": "b53fa08f515cb5a6fff7b9fd8fcd0961a4b80df29d74372d25e1f9171aa042ee", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md": "4c04d39812fb566e3ecb5807c170d5c32848eb2b93a1f0fedcf66ba9a9c92860", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/metadata.json": "13ab6d874c4e3135be80ef7c3cb6bfd28fb9121012e0536831ec3705ccb8c5eb", + "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/metadata.json": "412c649b16526038ee0299f8b2a610bb7f120eaab25cd83575809fe03b604b2e", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/loader-storage-boundaries.md": "c1ec047aa37fca6b374f9bfd750e8f30d45af1d48fe728db23873c0b84ad94e8", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/phase-residency.md": "7b537cb972347dd68e303960f142892346d8b19b884e4d08016ea36a23bdaa7a", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-identity.json": "af4830370b6eddc2d176a9ae14da4ab56a90b0fe048a01a89ee051df4365d8e9", @@ -117,7 +117,12 @@ } ], "applicability": { - "scope": "Source-grounded audit of native image-generation weight/runtime residency, optional segment prefetch and bounded non-ZIP safetensors catalog/read/staging ownership; confirm the actual source, GGML, backend, model and executing path independently." + "scope": "Source-grounded audit of native image-generation weight/runtime residency, optional segment prefetch and bounded non-ZIP safetensors catalog/read/staging ownership; confirm the actual source, GGML, backend, model and executing path independently.", + "prerequisites": "Access to the pinned source/storage boundaries and evidence of the actual image runner/backend dispatch; native capacity or prefetch checks require matching GGML, model and backend resources.", + "input_contract": "Runtime/GGML revisions and selection, compiled/loaded backends and devices, model/components and numerical image settings, effective memory/prefetch/placement settings and actual dispatch; retain available phase allocations, cache/workspace, transfer events and completed-image counts.", + "produced_artifact": "A phase-by-runner/backend/device ownership table for stored and resident weights, retained runtime, pending allocations, pin/prefetch ownership and release/eviction, with one discriminating check and its actual status.", + "failure_modes": "Treating max_vram as proof of segmentation, unpin as physical freeing, or configured prefetch as completed useful overlap can misidentify the capacity cause; missing observations cannot be read as zero.", + "refusal_point": "Stop when the cause is resolved or matching GGML/model/backend resources are unavailable; invoking this audit does not authorize dependency installation, model downloads, policy changes or device provisioning." }, "limitations": [ "Source-derived candidate; native inference, allocator behavior, image quality and performance were not run.", @@ -132,14 +137,25 @@ "references/source-notes.md", "references/loader-storage-boundaries.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Separate parameter storage, compute-resident weights, retained workspace/output caches and pending allocations for each runner and phase.", + "Verify the actual monolithic, segmented or multi-device path before interpreting a memory budget or prefetch setting.", + "For a policy comparison, hold model, inputs, numerical settings and device fixed; check completed images and quality before latency, and separate startup, first and warm requests." + ] }, "applicability": { - "scope": "Source-grounded audit of native image-generation weight/runtime residency, optional segment prefetch and bounded non-ZIP safetensors catalog/read/staging ownership; confirm the actual source, GGML, backend, model and executing path independently." + "scope": "Source-grounded audit of native image-generation weight/runtime residency, optional segment prefetch and bounded non-ZIP safetensors catalog/read/staging ownership; confirm the actual source, GGML, backend, model and executing path independently.", + "prerequisites": "Access to the pinned source/storage boundaries and evidence of the actual image runner/backend dispatch; native capacity or prefetch checks require matching GGML, model and backend resources.", + "input_contract": "Runtime/GGML revisions and selection, compiled/loaded backends and devices, model/components and numerical image settings, effective memory/prefetch/placement settings and actual dispatch; retain available phase allocations, cache/workspace, transfer events and completed-image counts.", + "produced_artifact": "A phase-by-runner/backend/device ownership table for stored and resident weights, retained runtime, pending allocations, pin/prefetch ownership and release/eviction, with one discriminating check and its actual status.", + "failure_modes": "Treating max_vram as proof of segmentation, unpin as physical freeing, or configured prefetch as completed useful overlap can misidentify the capacity cause; missing observations cannot be read as zero.", + "refusal_point": "Stop when the cause is resolved or matching GGML/model/backend resources are unavailable; invoking this audit does not authorize dependency installation, model downloads, policy changes or device provisioning." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Separate parameter storage, compute-resident weights, retained workspace/output caches and pending allocations for each runner and phase.", + "Verify the actual monolithic, segmented or multi-device path before interpreting a memory budget or prefetch setting.", + "For a policy comparison, hold model, inputs, numerical settings and device fixed; check completed images and quality before latency, and separate startup, first and warm requests." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sglang-diffusion-lifetimes.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sglang-diffusion-lifetimes.json index 8403d9756..f809d4a52 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sglang-diffusion-lifetimes.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sglang-diffusion-lifetimes.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/LICENSE", "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", @@ -43,7 +43,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/LICENSE": "1495e1e757ef4d0925a2350563cf5754bb23c51701a8ec4fb3c5cdcbedae6747", "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md": "b0a4ba4751087126143ef86983798deb0ed00e24b6ff06bf6ef76a9df6e274f2", - "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json": "6ed57dfb4f25ecb34b81f2188b055e05d172ba2581e6a3b605b814b2f733a4d6", + "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json": "e2cb137978960d29b3644967a29dab930c768d3453bce8aff2aad96fd90a56d9", "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md": "d0fcfd1177ae2f351041c5b2abba7f5121cec133006d9e4dca8f74ddb567332d", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" }, @@ -101,7 +101,12 @@ } ], "applicability": { - "scope": "Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual backend/model behavior requires native validation." + "scope": "Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual backend/model behavior requires native validation.", + "prerequisites": "Pinned source or a concrete trace of the selected composed-pipeline executor and installed residency manager, with the applicable monolithic route identified.", + "input_contract": "Source/build, backend and executor/pipeline class, model revision, modality/shape, steps/scheduler/seed/output count, grouped/serial route, ranks, placement, warmup/save settings and symptom; timeout cases need correlated request/job and client/scheduler/worker events.", + "produced_artifact": "A version-bound owner/event ledger, first unresolved boundary, causal hypothesis, smallest real discriminating check, exact results and missing dependencies.", + "failure_modes": "Assuming all executors share the SyncExecutor contract, treating closed component use as eviction, assuming grouped schedulers are isolated, or reading socket close/job deletion as stopped device compute can misdiagnose ownership.", + "refusal_point": "Stop performance claims when the executing path, cleanup or output quality is unresolved; retain the failure and a known baseline rather than inferring a blanket leak or safety conclusion." }, "limitations": [ "Source-derived candidate; upstream runtime and efficacy validation not run.", @@ -111,14 +116,25 @@ "provenance_readsets": [ "references/source-notes.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Trace the actual executor and separate request, stage, component-use, module, scheduler, finalizer and allocator-cache lifetimes.", + "Check scheduler aliases and declared output-copy policies before introducing overlap; compare real serial/grouped outputs with fixed timesteps and seeds.", + "Correlate worker, finalizer and device completion after client timeout or deletion; preserve an unknown execution outcome until that evidence exists." + ] }, "applicability": { - "scope": "Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual backend/model behavior requires native validation." + "scope": "Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual backend/model behavior requires native validation.", + "prerequisites": "Pinned source or a concrete trace of the selected composed-pipeline executor and installed residency manager, with the applicable monolithic route identified.", + "input_contract": "Source/build, backend and executor/pipeline class, model revision, modality/shape, steps/scheduler/seed/output count, grouped/serial route, ranks, placement, warmup/save settings and symptom; timeout cases need correlated request/job and client/scheduler/worker events.", + "produced_artifact": "A version-bound owner/event ledger, first unresolved boundary, causal hypothesis, smallest real discriminating check, exact results and missing dependencies.", + "failure_modes": "Assuming all executors share the SyncExecutor contract, treating closed component use as eviction, assuming grouped schedulers are isolated, or reading socket close/job deletion as stopped device compute can misdiagnose ownership.", + "refusal_point": "Stop performance claims when the executing path, cleanup or output quality is unresolved; retain the failure and a known baseline rather than inferring a blanket leak or safety conclusion." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Trace the actual executor and separate request, stage, component-use, module, scheduler, finalizer and allocator-cache lifetimes.", + "Check scheduler aliases and declared output-copy policies before introducing overlap; compare real serial/grouped outputs with fixed timesteps and seeds.", + "Correlate worker, finalizer and device completion after client timeout or deletion; preserve an unknown execution outcome until that evidence exists." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-vllm-kv-lifetimes.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-vllm-kv-lifetimes.json index df9322c25..0f3f76d17 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-vllm-kv-lifetimes.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-vllm-kv-lifetimes.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/metadata.json", @@ -39,7 +39,7 @@ "checkout_ref": "checkout:audit-vllm-kv-lifetimes", "source_files": { "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md": "4c3f27459df239f9f4fc971c559d4c9ddfbfebd70507a8a93be8eae59a30b69d", - "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/metadata.json": "b43fc3a7ccae59c664fcdf9ff77962edcc07c2a3df8b59324db551642bd23e23", + "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/metadata.json": "8ded6e60c562131616dc8cdcf0d7efc04aef1884885da0b30fb16f42d7433b7c", "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md": "3665b034594fc8cc767c408002f4e16f8803369242405027c7f37ce6c9ecebe9", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" }, @@ -78,12 +78,33 @@ "provenance_readsets": [ "references/source-notes.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "Pinned vLLM V1 scheduler/connector ownership audit for asynchronous KV load/save completion, retained blocks, preemption and failed receives; concrete connector conformance is not established by the interface.", + "prerequisites": "A concrete connector and worker/model-runner call trace at identified revisions, with request/block events sufficient to compare actual callers against the pinned scheduler/interface contracts.", + "input_contract": "Engine/connector revision and class, producer/consumer roles, KV-group count/block namespace, failure policy, concurrent-batch and graph modes; correlate bounded request IDs with allocation, matched tokens, load/save events, receive failures, preemption, finish and pool return.", + "produced_artifact": "An ownership/event ledger and bounded contract-conformance report naming the earliest evidenced broken obligation, owner, affected requests/blocks and smallest missing observation, with a proposed targeted regression check.", + "failure_modes": "Equating reserved tokens with usable KV, finished responses with reusable blocks, or send completion with scheduler write-fence completion can hide unsafe reuse; missing failed-receive completion can leave waits unreleased.", + "refusal_point": "Escalate absent concrete caller evidence, ambiguous block namespaces, unsupported layouts or revision drift; stop before inferring a backend fix, freeing retained blocks or claiming a reproduced bug." + }, + "recommendations": [ + "Trace lookup, allocation, worker execution and completion propagation before changing request state; repeated or undecided lookup and ordinary admission waits can be valid.", + "Check delayed-free ownership and scheduler in-flight-write fences separately, including empty-step save/metadata ordering in the real worker.", + "Keep receive failure and finished_recving correlated, and use request-level failure evidence for multi-group layouts while preserving the existing recovery policy." + ] + }, + "applicability": { + "scope": "Pinned vLLM V1 scheduler/connector ownership audit for asynchronous KV load/save completion, retained blocks, preemption and failed receives; concrete connector conformance is not established by the interface.", + "prerequisites": "A concrete connector and worker/model-runner call trace at identified revisions, with request/block events sufficient to compare actual callers against the pinned scheduler/interface contracts.", + "input_contract": "Engine/connector revision and class, producer/consumer roles, KV-group count/block namespace, failure policy, concurrent-batch and graph modes; correlate bounded request IDs with allocation, matched tokens, load/save events, receive failures, preemption, finish and pool return.", + "produced_artifact": "An ownership/event ledger and bounded contract-conformance report naming the earliest evidenced broken obligation, owner, affected requests/blocks and smallest missing observation, with a proposed targeted regression check.", + "failure_modes": "Equating reserved tokens with usable KV, finished responses with reusable blocks, or send completion with scheduler write-fence completion can hide unsafe reuse; missing failed-receive completion can leave waits unreleased.", + "refusal_point": "Escalate absent concrete caller evidence, ambiguous block namespaces, unsupported layouts or revision drift; stop before inferring a backend fix, freeing retained blocks or claiming a reproduced bug." }, - "applicability": {}, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Trace lookup, allocation, worker execution and completion propagation before changing request state; repeated or undecided lookup and ordinary admission waits can be valid.", + "Check delayed-free ownership and scheduler in-flight-write fences separately, including empty-step save/metadata ordering in the real worker.", + "Keep receive failure and finished_recving correlated, and use request-level failure evidence for multi-group layouts while preserving the existing recovery policy." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/bound-windowed-attention-replay.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/bound-windowed-attention-replay.json index d203e1729..bc36aa315 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/bound-windowed-attention-replay.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/bound-windowed-attention-replay.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/metadata.json", @@ -42,7 +42,7 @@ "checkout_ref": "checkout:bound-windowed-attention-replay", "source_files": { "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md": "4703beb6e5194ef2ff2c0b5ec69f64e35417a4bc0dfb50a10c80a920b77ef3b5", - "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/metadata.json": "014be24d0e669f4acbc0717dc323eec784026cf185186619d5a19d6d84496131", + "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/metadata.json": "c68254b1a96a8834ae46c7a1d9035856fa4783315b219aa95e31461bd8ac58c9", "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/source-notes.md": "fd917bd5ac80bee9c9f4525f8e0300f6d67dc144e2a16632af42a67f3d53d098", "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md": "60e71e70c5519bcdf6c171eec2be2f342e8801bedd746d6005f11adc646dfaff", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" @@ -90,7 +90,11 @@ "applicability": { "scope": "Decoders with an explicit producer/consumer boundary and a demonstrated dependency closure for compact query rows, including separately preserved historical state", "prerequisites": "A derived dependency closure; a full-length KV write at the boundary; known rollback depth; control over metadata construction", - "hardware": "Backend-independent retain arithmetic; window sizes, boundary index and ring lengths come from the model config and do not transfer" + "hardware": "Backend-independent retain arithmetic; window sizes, boundary index and ring lengths come from the model config and do not transfer", + "input_contract": "The actual producer/consumer split and transitive dependency closure, boundary index, window and rollback depth, consumer KV sharing/compression layout and separately preserved historical keys.", + "produced_artifact": "A dependency listing, enforced retain length, compact query/position/store-slot/visibility metadata, a separate historical-key retention statement and a diagnostic equivalence-reference mode.", + "failure_modes": "Applying window-plus-rollback without dependency closure, discarding full-layout state, clipping away the sampling row, or comparing across preemption can invalidate replay; compact queries do not imply historical keys were dropped.", + "refusal_point": "Stop if required consumer state is unavailable without a preserved full-length copy, the boundary representation cannot be captured, or comparison preemption moves the anchor. Do not use for clipped-region outputs or required bit-identical preemption replay." }, "limitations": [ "Source-derived candidate; no equivalence run was performed.", @@ -104,16 +108,26 @@ "references/source-notes.md", "references/validation.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Derive every consumer dependency before computing keep; preserve the required full-layout representation separately from the compact query rows.", + "Use the visibility-only diagnostic mode to isolate equivalence from row gathering, and retain one sampling row for a fully clipped chunk.", + "Check metadata at chunk/store boundaries, actual prompt-logprob handling and zero preemption during equivalence comparison." + ] }, "applicability": { "scope": "Decoders with an explicit producer/consumer boundary and a demonstrated dependency closure for compact query rows, including separately preserved historical state", "prerequisites": "A derived dependency closure; a full-length KV write at the boundary; known rollback depth; control over metadata construction", - "hardware": "Backend-independent retain arithmetic; window sizes, boundary index and ring lengths come from the model config and do not transfer" + "hardware": "Backend-independent retain arithmetic; window sizes, boundary index and ring lengths come from the model config and do not transfer", + "input_contract": "The actual producer/consumer split and transitive dependency closure, boundary index, window and rollback depth, consumer KV sharing/compression layout and separately preserved historical keys.", + "produced_artifact": "A dependency listing, enforced retain length, compact query/position/store-slot/visibility metadata, a separate historical-key retention statement and a diagnostic equivalence-reference mode.", + "failure_modes": "Applying window-plus-rollback without dependency closure, discarding full-layout state, clipping away the sampling row, or comparing across preemption can invalidate replay; compact queries do not imply historical keys were dropped.", + "refusal_point": "Stop if required consumer state is unavailable without a preserved full-length copy, the boundary representation cannot be captured, or comparison preemption moves the anchor. Do not use for clipped-region outputs or required bit-identical preemption replay." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Derive every consumer dependency before computing keep; preserve the required full-layout representation separately from the compact query rows.", + "Use the visibility-only diagnostic mode to isolate equivalence from row gathering, and retain one sampling row for a fully clipped chunk.", + "Check metadata at chunk/store boundaries, actual prompt-logprob handling and zero preemption during equivalence comparison." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/budget-speculative-verification.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/budget-speculative-verification.json index 816a7d646..96920f691 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/budget-speculative-verification.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/budget-speculative-verification.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/metadata.json", @@ -42,7 +42,7 @@ "checkout_ref": "checkout:budget-speculative-verification", "source_files": { "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md": "f157562d1edc905cb4fc07246567e3c5b844efb9fbf5fe39f0d40553a1b1a307", - "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/metadata.json": "4d68bf4c1767eaee12ade963bbd551d0e61d1bcd81a984bb02fd3aae46965919", + "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/metadata.json": "1aa80a3109072c1ec211f38dbeb9e9cb9edb56aeac187946b43e65dd7502e46f", "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/source-notes.md": "6fa955022f16cd598f44fd6521901d1cb868b06cec545cabe2b82769a641b5d6", "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md": "673d93f6700052974b340fab25b3438e0e6344960569ac9abec7d7720f662288", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" @@ -88,7 +88,11 @@ "applicability": { "scope": "Engines with multi-token speculative decoding whose verification forward cost grows with query rows", "prerequisites": "A calibrated per-position acceptance signal; a measured (rows, step_time) curve; a handle on metadata construction", - "hardware": "Backend-independent procedure; the reference implementation targets NVIDIA SM100 and Ascend 950 only" + "hardware": "Backend-independent procedure; the reference implementation targets NVIDIA SM100 and Ascend 950 only", + "input_contract": "Draft width and row representation, the defined individual/conditional versus cumulative acceptance semantics, verify rows/time curve, sampler cost and acceptance round actually available at schedule time.", + "produced_artifact": "A per-step verification row budget, per-request query lengths from one through draft_width plus one, cumulative acceptance vectors and predicted-versus-realized acceptance error logs.", + "failure_modes": "Confusing verification savings with reduced drafting, misreading confidence semantics or available rounds, allowing later-position confidence to select an earlier token, or generating non-prefix grants can invalidate the budget or sampling claim.", + "refusal_point": "Stop if unthrottled drafting or sampler cost dominates, the signal cannot be made cumulative, or no round supplies acceptance estimates; the procedure also does not apply without a per-step cost model." }, "limitations": [ "Source-derived candidate; no local efficacy validation and no reproduced gain.", @@ -103,16 +107,26 @@ "references/source-notes.md", "references/validation.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Measure draft, verify and sampler costs separately and fit the verify curve for graph sizes that will actually replay.", + "Preserve the one-row floor and prefix grants, and audit CPU/GPU allocation timing against the per-position decision-independence contract.", + "Report verification rows, accepted tokens, total step time and throughput separately; use an independently specified sampling oracle rather than requiring unchanged accepted length." + ] }, "applicability": { "scope": "Engines with multi-token speculative decoding whose verification forward cost grows with query rows", "prerequisites": "A calibrated per-position acceptance signal; a measured (rows, step_time) curve; a handle on metadata construction", - "hardware": "Backend-independent procedure; the reference implementation targets NVIDIA SM100 and Ascend 950 only" + "hardware": "Backend-independent procedure; the reference implementation targets NVIDIA SM100 and Ascend 950 only", + "input_contract": "Draft width and row representation, the defined individual/conditional versus cumulative acceptance semantics, verify rows/time curve, sampler cost and acceptance round actually available at schedule time.", + "produced_artifact": "A per-step verification row budget, per-request query lengths from one through draft_width plus one, cumulative acceptance vectors and predicted-versus-realized acceptance error logs.", + "failure_modes": "Confusing verification savings with reduced drafting, misreading confidence semantics or available rounds, allowing later-position confidence to select an earlier token, or generating non-prefix grants can invalidate the budget or sampling claim.", + "refusal_point": "Stop if unthrottled drafting or sampler cost dominates, the signal cannot be made cumulative, or no round supplies acceptance estimates; the procedure also does not apply without a per-step cost model." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Measure draft, verify and sampler costs separately and fit the verify curve for graph sizes that will actually replay.", + "Preserve the one-row floor and prefix grants, and audit CPU/GPU allocation timing against the per-position decision-independence contract.", + "Report verification rows, accepted tokens, total step time and throughput separately; use an independently specified sampling oracle rather than requiring unchanged accepted length." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/calibrate-serving-simulation.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/calibrate-serving-simulation.json index 3fa80c032..465d050c7 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/calibrate-serving-simulation.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/calibrate-serving-simulation.json @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cgroup-resource-controls.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cgroup-resource-controls.json index 242a2926d..8df5ed768 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cgroup-resource-controls.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cgroup-resource-controls.json @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/checkpoint-recovery-consistency.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/checkpoint-recovery-consistency.json index d2ee84003..f6591279e 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/checkpoint-recovery-consistency.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/checkpoint-recovery-consistency.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/choose-parallel-training-plan.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/choose-parallel-training-plan.json index 2d437e595..ab404a363 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/choose-parallel-training-plan.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/choose-parallel-training-plan.json @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cite-check-downstream-pr.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cite-check-downstream-pr.json index 8514044af..e6af78776 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cite-check-downstream-pr.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cite-check-downstream-pr.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/claim-contract.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/claim-contract.json index 9f55bdeeb..c0c19ea67 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/claim-contract.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/claim-contract.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/comfy-ui.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/comfy-ui.json index 1d8c71c05..965358804 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/comfy-ui.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/comfy-ui.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/comfy-ui/LICENSE", "src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", @@ -45,7 +45,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/comfy-ui/LICENSE": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", "src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md": "c993bd6ff8e9b5f82f39f175ec8242341136e4ee0808af414e1d94ad3e196c5e", - "src/inferrsi/data/skill_library/repositories/comfy-ui/metadata.json": "74742851a002a51c208362cdcd2a59fdab5d1734d8492b1f93fbec3cf21e0841", + "src/inferrsi/data/skill_library/repositories/comfy-ui/metadata.json": "81ad1c73b12426e4bf7961889f4b9a1c92739c6be18380402f7866e021cac67b", "src/inferrsi/data/skill_library/repositories/comfy-ui/references/graph-cache-invalidation.md": "614c9a4e6943d24d7d7be7d632682ce8b1dcc239124a37d9dc1d487113772eac", "src/inferrsi/data/skill_library/repositories/comfy-ui/references/model-residency.md": "014c68386e7cdfdb7b4f566836e8b2ff61bd5a5a506e7b4723f83fe80c5d4de7", "src/inferrsi/data/skill_library/repositories/comfy-ui/references/repo-provenance.md": "ca996ef515af42a3ce304747fa3f12a31c00533deaace5ba2ce21aefa0a62e2e", @@ -104,7 +104,12 @@ } ], "applicability": { - "scope": "Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm the actual revision, node registry, cache caller and static/dynamic patcher before transfer." + "scope": "Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm the actual revision, node registry, cache caller and static/dynamic patcher before transfer.", + "prerequisites": "Access to the pinned provenance and the actual node registry/cache caller; residency questions additionally require the concrete patcher and effective dynamic/static mode. Native memory conclusions need the actual backend.", + "input_contract": "Exact revision, API-format prompt/output targets, relevant node classes/constants/links/hidden inputs and external state, selected cache caller/mode and patcher settings, plus available execution/load/memory/timing observations.", + "produced_artifact": "A state/owner/key/lifetime/consumer ledger with invalidation or release events, evidence and unresolved boundaries, followed by a discriminating check and its actual result.", + "failure_modes": "Treating identical JSON as proof of unchanged external inputs, confusing eviction with key validity, or equating workflow cache hits with device-resident model weights can explain the wrong state contract.", + "refusal_point": "Stop when the cause/action is supported or required environment, backend or model resources are unavailable; do not manufacture a hit, hardware result or performance threshold." }, "limitations": [ "Source-derived candidate; no local executor-cache, device-residency or performance qualification.", @@ -114,14 +119,25 @@ "provenance_readsets": [ "references/repo-provenance.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Draw the affected dependency cone with declared, lazy and dynamically expanded links, then mark unfingerprinted external state unresolved.", + "Separate output/object cache validity and retention from patch identity, partial unload, full detach and allocator-visible release.", + "Change one test variable while fixing prompt, output target, model, backend, precision, seed and cache mode; check values and executed nodes before timing." + ] }, "applicability": { - "scope": "Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm the actual revision, node registry, cache caller and static/dynamic patcher before transfer." + "scope": "Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm the actual revision, node registry, cache caller and static/dynamic patcher before transfer.", + "prerequisites": "Access to the pinned provenance and the actual node registry/cache caller; residency questions additionally require the concrete patcher and effective dynamic/static mode. Native memory conclusions need the actual backend.", + "input_contract": "Exact revision, API-format prompt/output targets, relevant node classes/constants/links/hidden inputs and external state, selected cache caller/mode and patcher settings, plus available execution/load/memory/timing observations.", + "produced_artifact": "A state/owner/key/lifetime/consumer ledger with invalidation or release events, evidence and unresolved boundaries, followed by a discriminating check and its actual result.", + "failure_modes": "Treating identical JSON as proof of unchanged external inputs, confusing eviction with key validity, or equating workflow cache hits with device-resident model weights can explain the wrong state contract.", + "refusal_point": "Stop when the cause/action is supported or required environment, backend or model resources are unavailable; do not manufacture a hit, hardware result or performance threshold." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Draw the affected dependency cone with declared, lazy and dynamically expanded links, then mark unfingerprinted external state unresolved.", + "Separate output/object cache validity and retention from patch identity, partial unload, full detach and allocator-visible release.", + "Change one test variable while fixing prompt, output target, model, backend, precision, seed and cache mode; check values and executed nodes before timing." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/competitor-scan.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/competitor-scan.json index 58f20b2ea..1599d7dfe 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/competitor-scan.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/competitor-scan.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dcp-async-save-performance.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dcp-async-save-performance.json index 1b82dd3f5..ecd40cf06 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dcp-async-save-performance.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dcp-async-save-performance.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/metadata.json", @@ -41,7 +41,7 @@ "checkout_ref": "checkout:dcp-async-save-performance", "source_files": { "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md": "645139ee0c88ec865cad952e24cda35f4648d4b777b732c9b7d274b6c7830845", - "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/metadata.json": "db7ad368394ccbfdeff6a16e3423c300d51305b1f95ff5c3936df91738a8cc35", + "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/metadata.json": "49764fa454403fb38891d82ee63de1e07a90d3ff6a3cd28550aee7ea34cbdcb0", "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md": "22afe4f4d77f441096cc657d55d763473bfcbea8fb531c8e493fe49ab84955f7", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" }, @@ -71,12 +71,33 @@ "provenance_readsets": [ "references/sources.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "Source-supported diagnosis of training-visible PyTorch DCP save pauses, snapshot/staging/upload lifetimes and bounded CPU staging-buffer reuse; distributed recovery validity and backend durability need separate evidence.", + "prerequisites": "Known correspondence between the installed PyTorch API and source/version notes, identified checkpointed-state mutation boundaries and an initial one-outstanding-save policy before overlap is considered.", + "input_contract": "Installed PyTorch revision, stager, storage writer and thread/process executor, checkpoint contents, ranks per host and state-mutation boundaries; performance assessment needs caller/staging/upload waits and host/resource observations.", + "produced_artifact": "A completion/lifetime diagnosis and smallest justified staging/cache/backpressure lever, with separate caller-pause, staging, upload and step-time measurements proposed for authorized validation.", + "failure_modes": "Mutating source state before staging completes, overwriting cached snapshots before prior upload completes, ignoring caller-side state_dict work or treating async return as durability can corrupt the snapshot or misstate the pause.", + "refusal_point": "Reject staging overlap that races checkpointed-state mutation; do not infer backend durability from asynchronous return or writer completion." + }, + "recommendations": [ + "Place the staging wait before the earliest mutation of any checkpointed state, including forward-mutated buffers rather than only optimizer.step.", + "Wait for the previous upload before reusing a stager's CPU storage; observe the final upload before closing caller-owned staging resources.", + "Measure checkpoint and intervening steps with the same state/cadence, retaining first-use and cached-buffer costs plus per-host memory and I/O pressure." + ] + }, + "applicability": { + "scope": "Source-supported diagnosis of training-visible PyTorch DCP save pauses, snapshot/staging/upload lifetimes and bounded CPU staging-buffer reuse; distributed recovery validity and backend durability need separate evidence.", + "prerequisites": "Known correspondence between the installed PyTorch API and source/version notes, identified checkpointed-state mutation boundaries and an initial one-outstanding-save policy before overlap is considered.", + "input_contract": "Installed PyTorch revision, stager, storage writer and thread/process executor, checkpoint contents, ranks per host and state-mutation boundaries; performance assessment needs caller/staging/upload waits and host/resource observations.", + "produced_artifact": "A completion/lifetime diagnosis and smallest justified staging/cache/backpressure lever, with separate caller-pause, staging, upload and step-time measurements proposed for authorized validation.", + "failure_modes": "Mutating source state before staging completes, overwriting cached snapshots before prior upload completes, ignoring caller-side state_dict work or treating async return as durability can corrupt the snapshot or misstate the pause.", + "refusal_point": "Reject staging overlap that races checkpointed-state mutation; do not infer backend durability from asynchronous return or writer completion." }, - "applicability": {}, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Place the staging wait before the earliest mutation of any checkpointed state, including forward-mutated buffers rather than only optimizer.step.", + "Wait for the previous upload before reusing a stager's CPU storage; observe the final upload before closing caller-owned staging resources.", + "Measure checkpoint and intervening steps with the same state/cadence, retaining first-use and cached-buffer costs plus per-host memory and I/O pressure." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dense-performance-evidence.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dense-performance-evidence.json index 5939b6db3..f5f7f9e6d 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dense-performance-evidence.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dense-performance-evidence.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diagnose-vllm-admission-pressure.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diagnose-vllm-admission-pressure.json index 4a38dafb4..f4cbdd57d 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diagnose-vllm-admission-pressure.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diagnose-vllm-admission-pressure.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/metadata.json", @@ -52,7 +52,7 @@ "checkout_ref": "checkout:diagnose-vllm-admission-pressure", "source_files": { "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md": "d99fc28d48127d3bc627f2a0cab6f3f16158a77da49428838a08865adaea9905", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/metadata.json": "78459416734f61a8faa819d9a1a3ad7b9a985e8bf8e149813c604d15be6bb92f", + "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/metadata.json": "a4a4c4b7645852bce4abafde8e4128baacbdf1bc2a69362f7c3120db597fbe40", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/INTEGRATION_NOTES.md": "82b24be82451ee121892f61575d0cf4ecb9920813a25ccb26cce2b45dda6d8b3", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/cases/migration-is-not-free-memory.md": "2ac168f2725cba7fc92dfcc67c01bf2258dff6a2dbe1ddb063bc60c175d82d0a", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/cases/parallelism-change-with-state-cost.md": "5accc81086e4500d66f894ef6af9951e1cbb76941f6c631aab5c5561a786d8d8", @@ -106,12 +106,33 @@ "references/papers-20261015/references/orca-readset.md", "references/source-notes.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "Pinned vLLM V1 branch-based diagnosis of queued requests, low scheduled-token counts and KV-pressure preemption, separating admission/token/input/allocation/connector-wait constraints.", + "prerequisites": "The deployed scheduler must be mapped to the pinned branches, with effective configuration and a bounded request/step trace; another revision requires re-establishing that correspondence.", + "input_contract": "Deployed revision, scheduler class/configuration, connector role, KV layout, policy and speculative/encoder/concurrent-batch features; per-step queues, tokens, both budgets, allocation results, victims, transfer/free state and timing.", + "produced_artifact": "A per-step accounting ledger, observed limiting branch and competing explanation, missing instrumentation and one conditional configuration/progress hypothesis with predicted effects and trade-offs.", + "failure_modes": "Inferring memory exhaustion from a queue or high KV usage, conflating token/input budgets, ignoring pending frees or reading async token accounting as load completion can attribute admission stalls to the wrong branch.", + "refusal_point": "When required state is missing, leave the diagnosis unresolved and request the smallest trace; escalate allocation or connector behavior outside the readset and stop before live mutation or performance claims." + }, + "recommendations": [ + "Trace the first actual blocking or skip branch and record running versus admission caps and token versus input budgets separately.", + "Inspect deferred frees and request-free eligibility before blaming preemption victim selection, then reconcile restored budgets for an already-scheduled victim.", + "Reconstruct waiting admission independently, including queue precedence and async prefix states; change no setting without a branch-specific hypothesis." + ] + }, + "applicability": { + "scope": "Pinned vLLM V1 branch-based diagnosis of queued requests, low scheduled-token counts and KV-pressure preemption, separating admission/token/input/allocation/connector-wait constraints.", + "prerequisites": "The deployed scheduler must be mapped to the pinned branches, with effective configuration and a bounded request/step trace; another revision requires re-establishing that correspondence.", + "input_contract": "Deployed revision, scheduler class/configuration, connector role, KV layout, policy and speculative/encoder/concurrent-batch features; per-step queues, tokens, both budgets, allocation results, victims, transfer/free state and timing.", + "produced_artifact": "A per-step accounting ledger, observed limiting branch and competing explanation, missing instrumentation and one conditional configuration/progress hypothesis with predicted effects and trade-offs.", + "failure_modes": "Inferring memory exhaustion from a queue or high KV usage, conflating token/input budgets, ignoring pending frees or reading async token accounting as load completion can attribute admission stalls to the wrong branch.", + "refusal_point": "When required state is missing, leave the diagnosis unresolved and request the smallest trace; escalate allocation or connector behavior outside the readset and stop before live mutation or performance claims." }, - "applicability": {}, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Trace the first actual blocking or skip branch and record running versus admission caps and token versus input budgets separately.", + "Inspect deferred frees and request-free eligibility before blaming preemption victim selection, then reconcile restored budgets for an already-scheduled victim.", + "Reconstruct waiting admission independently, including queue precedence and async prefix states; change no setting without a branch-specific hypothesis." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diffusers-invocation-state.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diffusers-invocation-state.json index 621e95c4d..5a8863730 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diffusers-invocation-state.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diffusers-invocation-state.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/metadata.json", @@ -42,7 +42,7 @@ "checkout_ref": "checkout:diffusers-invocation-state", "source_files": { "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md": "7581b56336d07213a87d01477793ae1a8acf0b7cf876fce36c9a761ee32c1ff4", - "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/metadata.json": "68ac7f64b7ab947fc2db664bc3990f102c1cc5539b42350aa5818d0bbf17d86c", + "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/metadata.json": "66f8d20c1644aba964adfff3b439bfd3ecd3875885191e6ce10721bc50877b1a", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/ownership.md": "40688cc44183027efbf2fca8d3548c299cdf2e33fef54f76ab3549353eb9bd1b", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/source-map.md": "10562a75683bd9bd07ec2e37a1cbd0f93f2534d6f85b55a566adb2d97485215f", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md": "5a0b854b87d091d7d505b0bdd5c03330052507a851ab6edf35b93a6675f2d4f7", @@ -84,7 +84,12 @@ } ], "applicability": { - "scope": "FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin; inspect the actual caller contract." + "scope": "FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin; inspect the actual caller contract.", + "prerequisites": "Access to the pinned ownership path and an identified caller admission/serialization contract; other pipeline or scheduler classes need their own contracts.", + "input_contract": "Diffusers/PyTorch revisions, pipeline/scheduler classes and object identities, construction/from_pipe path, actual components, scheduler config and resolved timesteps/sigmas, shape/dtype, callback/interrupt timing, output/cleanup path and overlapping intervals.", + "produced_artifact": "An object-identity/ownership map and call-to-schedule-reset/step/interrupt/output/cleanup trace, the caller admission contract, one next check and actual evidence status.", + "failure_modes": "Assuming from_pipe deep-copies scheduler state, passing an enumeration index instead of a scheduler timestep, or treating cooperative iteration skipping as kernel cancellation/exception cleanup can misidentify invocation ownership.", + "refusal_point": "Stop when the ownership question is resolved or a required fixture/backend is absent; do not infer service-wide race or serialization behavior from this readset." }, "limitations": [ "Source-derived candidate; no installed API, native scheduler, model, concurrency or service validation.", @@ -94,14 +99,25 @@ "provenance_readsets": [ "references/source-map.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Check wrapper and scheduler identities explicitly and follow the effective schedule reset and step-index progression.", + "Trace interruption through its loop-boundary consumer and normal decode/cleanup tail while preserving the caller's existing shared-state serialization.", + "Use a real scheduler CPU check only for its scheduler cycle; keep pipeline reuse/interruption and serving claims tied to matching fixtures and execution evidence." + ] }, "applicability": { - "scope": "FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin; inspect the actual caller contract." + "scope": "FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin; inspect the actual caller contract.", + "prerequisites": "Access to the pinned ownership path and an identified caller admission/serialization contract; other pipeline or scheduler classes need their own contracts.", + "input_contract": "Diffusers/PyTorch revisions, pipeline/scheduler classes and object identities, construction/from_pipe path, actual components, scheduler config and resolved timesteps/sigmas, shape/dtype, callback/interrupt timing, output/cleanup path and overlapping intervals.", + "produced_artifact": "An object-identity/ownership map and call-to-schedule-reset/step/interrupt/output/cleanup trace, the caller admission contract, one next check and actual evidence status.", + "failure_modes": "Assuming from_pipe deep-copies scheduler state, passing an enumeration index instead of a scheduler timestep, or treating cooperative iteration skipping as kernel cancellation/exception cleanup can misidentify invocation ownership.", + "refusal_point": "Stop when the ownership question is resolved or a required fixture/backend is absent; do not infer service-wide race or serialization behavior from this readset." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Check wrapper and scheduler identities explicitly and follow the effective schedule reset and step-index progression.", + "Trace interruption through its loop-boundary consumer and normal decode/cleanup tail while preserving the caller's existing shared-state serialization.", + "Use a real scheduler CPU check only for its scheduler cycle; keep pipeline reuse/interruption and serving claims tied to matching fixtures and execution evidence." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/draft-acceptance-issue.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/draft-acceptance-issue.json index 2ab425603..ecc817755 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/draft-acceptance-issue.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/draft-acceptance-issue.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dwarfstar.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dwarfstar.json index b455bf99d..00163960e 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dwarfstar.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dwarfstar.json @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/dwarfstar/LICENSE", "src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", @@ -57,7 +57,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/dwarfstar/LICENSE": "4a8a1358f5b048627d71e4988de0bafd386f4988991929629e6cb9e29b7b9b2f", "src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md": "a04a252ecdcd4710a3273595f4bd1f3eb8e24d5bb1bfe005f058a78388254dc9", - "src/inferrsi/data/skill_library/repositories/dwarfstar/metadata.json": "e1f0c2dc3d7ea9278039c2e8c3e8ca4f8e3aba33504b7784d628e903f0b5fc8c", + "src/inferrsi/data/skill_library/repositories/dwarfstar/metadata.json": "c883f6bc05e585f072cf03f734b7a296a65842c7921d3afcfe89e1977405fbd2", "src/inferrsi/data/skill_library/repositories/dwarfstar/references/repo-provenance.md": "7d72f9c85ee60fe003f5f5a585b52e9989ebcedca625b584fa39a976d4433998", "src/inferrsi/data/skill_library/repositories/dwarfstar/references/repo-routing-metadata.json": "8e195b420b67151932af5f435c284f49677cc7863e650c83cfa9e762fd00db0b", "src/inferrsi/data/skill_library/repositories/dwarfstar/references/source-identity.json": "a38fe07d003accd83b7626d7e189f7b49b4b73e7a223e4d441b0e33add5d9c91", @@ -154,7 +154,12 @@ "method": "User-approved native C adaptation and partial drafting; manual stable-ID subskill orchestration and integrated create/verify stages. Required-backend blocks disable automatic admission." }, "applicability": { - "scope": "Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support or cross-backend qualification." + "scope": "Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support or cross-backend qualification.", + "prerequisites": "Access to the pinned native-source contract and relevant memory/state/qualification route; native verification needs a compatible build, matching hardware/weights and task-specific execution authority.", + "input_contract": "Engine revision/patches, actual model artifact/representation, selected backend/build and topology, memory/storage budget, context/chunk/session count, image inputs, sampling/speculation policy, cache state and quality/service requirements.", + "produced_artifact": "A bounded executing-tuple report with observed signal, source-backed mechanism, alternate explanation, proposed falsifier, actual check outcome and unresolved backend/model/service gap.", + "failure_modes": "Inferring model support from flags, aliases, file mapping or quantization names can select the wrong graph; treating CPU bookkeeping or parser checks as native backend/service qualification can overstate the result.", + "refusal_point": "Stop at unavailable hardware/weights, unsafe exposure or the authorized budget; retain memory-guard refusals rather than disabling the guard to claim fit." }, "limitations": [ "Metal/CUDA/ROCm inference, actual model output, SSD runtime I/O, GPU recurrent rollback, physical distributed behavior, service quality/performance and skill efficacy remain unverified.", @@ -166,14 +171,25 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Choose the memory, serving-state or qualification route by the observed symptom and identify the owner, validity key and release/rollback boundary.", + "Freeze comparison controls, test the smallest invariant first and retain fallback messages, cancellations, refusals and unavailable fixtures.", + "Base model support on the actual loaded artifact and graph; use native backend evidence for model, tensor-parallel or service conclusions." + ] }, "applicability": { - "scope": "Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support or cross-backend qualification." + "scope": "Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support or cross-backend qualification.", + "prerequisites": "Access to the pinned native-source contract and relevant memory/state/qualification route; native verification needs a compatible build, matching hardware/weights and task-specific execution authority.", + "input_contract": "Engine revision/patches, actual model artifact/representation, selected backend/build and topology, memory/storage budget, context/chunk/session count, image inputs, sampling/speculation policy, cache state and quality/service requirements.", + "produced_artifact": "A bounded executing-tuple report with observed signal, source-backed mechanism, alternate explanation, proposed falsifier, actual check outcome and unresolved backend/model/service gap.", + "failure_modes": "Inferring model support from flags, aliases, file mapping or quantization names can select the wrong graph; treating CPU bookkeeping or parser checks as native backend/service qualification can overstate the result.", + "refusal_point": "Stop at unavailable hardware/weights, unsafe exposure or the authorized budget; retain memory-guard refusals rather than disabling the guard to claim fit." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Choose the memory, serving-state or qualification route by the observed symptom and identify the owner, validity key and release/rollback boundary.", + "Freeze comparison controls, test the smallest invariant first and retain fallback messages, cancellations, refusals and unavailable fixtures.", + "Base model support on the actual loaded artifact and graph; use native backend evidence for model, tensor-parallel or service conclusions." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/evaluate-elastic-serving-placement.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/evaluate-elastic-serving-placement.json index 2d8d490bc..9ba2db480 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/evaluate-elastic-serving-placement.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/evaluate-elastic-serving-placement.json @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/generation-cache-lifecycle.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/generation-cache-lifecycle.json index 38e216200..a3299719e 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/generation-cache-lifecycle.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/generation-cache-lifecycle.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/metadata.json", @@ -43,7 +43,7 @@ "checkout_ref": "checkout:generation-cache-lifecycle", "source_files": { "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md": "bf1177cb9985c12a9bf11edb64771018e1e314c4713920de8fd4a989ff70115f", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/metadata.json": "d86cecb615e93ba0f6be09d1ead102cd5a17068c07e1be2549ac5cd8f7519279", + "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/metadata.json": "c2e30a2a3365dd27cac7916dc26aa356f1277d07ebee891c173ee37b77111fa1", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/cache-stop.md": "bba6b5c73261065309cbcf11b1e591eef48916f0c79ceaaf74d98a9fa96b0992", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/generation-batch.md": "f16d3c57d45e63bcaffd3871aa41c76972ee11f7dbf1e12b45d9b170303cad9b", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/source-map.md": "91d26181f246307f2113f94b12ac9587d689b654dcd216e9f14b11cf5ebb650c", @@ -89,7 +89,12 @@ } ], "applicability": { - "scope": "MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime compatibility requires separate qualification." + "scope": "MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime compatibility requires separate qualification.", + "prerequisites": "Access to the independently pinned MLX-LM generation/cache contracts and the selected entry path; model, backend and runtime compatibility is separately established for any native claim.", + "input_contract": "MLX-LM/MLX revisions and builds, backend/device, model/tokenizer/adapter/draft identities, entry point, tokenized prompts, cache classes, batching/prefill limits, per-request sampling/processors/stops, seed and KV quantization; failure traces include UIDs, stages, lengths, terminal reason and next-request result.", + "produced_artifact": "An entry-path decision, UID/stage/cache-row table, prefix identity and cache-class assumptions, terminal/cleanup trace and actual evidence status with a targeted verification plan.", + "failure_modes": "Ignoring server batching gates, filtering only some per-request row state, reusing a text-only prefix key or treating a stop flag as immediate MLX work cancellation can corrupt lifecycle reasoning.", + "refusal_point": "Stop at the first unsupported contract or missing required fixture/backend; retain a targeted plan without inferring paged allocation, radix sharing or instantaneous prefill interruption." }, "limitations": [ "Source-derived candidate; no local native-backend, model, service or efficacy validation.", @@ -98,14 +103,25 @@ "provenance_readsets": [ "references/source-map.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve the library versus server entry and its batching gates before transferring BatchGenerator behavior.", + "Keep UID, caches, tokens, samplers, processors, lengths, stop matchers and pending outputs aligned under the same removal selection, including prompt-stage requests.", + "Check exact token/model/adapter/draft identity and cache-type copy/trim semantics, then trace cooperative removal through survivor and next-request behavior." + ] }, "applicability": { - "scope": "MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime compatibility requires separate qualification." + "scope": "MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime compatibility requires separate qualification.", + "prerequisites": "Access to the independently pinned MLX-LM generation/cache contracts and the selected entry path; model, backend and runtime compatibility is separately established for any native claim.", + "input_contract": "MLX-LM/MLX revisions and builds, backend/device, model/tokenizer/adapter/draft identities, entry point, tokenized prompts, cache classes, batching/prefill limits, per-request sampling/processors/stops, seed and KV quantization; failure traces include UIDs, stages, lengths, terminal reason and next-request result.", + "produced_artifact": "An entry-path decision, UID/stage/cache-row table, prefix identity and cache-class assumptions, terminal/cleanup trace and actual evidence status with a targeted verification plan.", + "failure_modes": "Ignoring server batching gates, filtering only some per-request row state, reusing a text-only prefix key or treating a stop flag as immediate MLX work cancellation can corrupt lifecycle reasoning.", + "refusal_point": "Stop at the first unsupported contract or missing required fixture/backend; retain a targeted plan without inferring paged allocation, radix sharing or instantaneous prefill interruption." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Resolve the library versus server entry and its batching gates before transferring BatchGenerator behavior.", + "Keep UID, caches, tokens, samplers, processors, lengths, stop matchers and pending outputs aligned under the same removal selection, including prompt-stage requests.", + "Check exact token/model/adapter/draft identity and cache-type copy/trim semantics, then trace cooperative removal through survivor and next-request behavior." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-memory-management.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-memory-management.json index 2062bc005..bb514d1d8 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-memory-management.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-memory-management.json @@ -30,8 +30,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-overhead-optimization.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-overhead-optimization.json index ba15d0baf..f88703d25 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-overhead-optimization.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-overhead-optimization.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/husky.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/husky.json index 6ed5c46e2..8ae51b6fa 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/husky.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/husky.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/husky/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/husky/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/husky/SKILL.md", "src/inferrsi/data/skill_library/repositories/husky/metadata.json", @@ -44,7 +44,7 @@ "checkout_ref": "checkout:husky", "source_files": { "src/inferrsi/data/skill_library/repositories/husky/SKILL.md": "ac86afdabf9adffb684cb635971934438724bdfde8628ec549727ea23c40cf3b", - "src/inferrsi/data/skill_library/repositories/husky/metadata.json": "9b720bc6fcb65b6dbddba36d6187b4bee86346a1bc633f55a75bd43dbe4fa04e", + "src/inferrsi/data/skill_library/repositories/husky/metadata.json": "b1cb0a5be02d1170125bfc3e16c044b9c1463a611a14d36fac40638524fc2e52", "src/inferrsi/data/skill_library/repositories/husky/references/author-report.md": "4c1351ca42b2535a7c03c4da87706040650ef10d86eadcdb496e881a147fc0f7", "src/inferrsi/data/skill_library/repositories/husky/references/repo-provenance.md": "37de912e2e2a36b44233560e6a8368b994428bff587ed4f04b1cb5fbaba0a9e7", "src/inferrsi/data/skill_library/repositories/husky/references/source-availability.json": "d3523e53c89d4aee5bfaa17db84501aa4c4eddd59bcee486df5d48d3aa48173d", @@ -105,7 +105,12 @@ "method": "Single coherent research workflow, bounded source summary, original verification questions and offline schema checks. Repository/environment/native stages remain unavailable." }, "applicability": { - "scope": "Review Husky document claims and specify missing evidence; common catalog scope is not inference backend compatibility." + "scope": "Review Husky document claims and specify missing evidence; common catalog scope is not inference backend compatibility.", + "prerequisites": "Access to the bounded official-document inventory and verification protocol; implementation and native reproduction remain unavailable until separately supplied and authenticated.", + "input_contract": "The exact claim, source/view date, workload and comparison intent, supporting evidence classes and available implementation/model/output/measurement artifacts; unknown identity, licensing and availability remain explicit.", + "produced_artifact": "A reviewable claim/evidence request recording source availability, mechanism hypothesis, counter-signal, missing identities/artifacts, proposed falsifying check and actual result or bounded INCONCLUSIVE conclusion.", + "failure_modes": "Treating a public-page reading as code inspection, proposed extensions as shipped behavior, summed independent ratios as one gain, or a structurally valid self-reported card as authentic evidence can overstate qualification.", + "refusal_point": "Stop at missing source/receipts, unsafe or private data, unsupported resources or the authorized budget; unavailable artifacts yield an unverified/INCONCLUSIVE research conclusion." }, "limitations": [ "No canonical public repository, implementation revision, retained receipts or source-code license was identified; unknowns remain unknown.", @@ -119,14 +124,25 @@ "references/repo-provenance.md", "references/source-availability.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Separate author reports, inspected implementation, executed experiments and new interpretations, including negative findings and future work.", + "Request immutable identities and artifacts, then state one mechanism, competing explanation and smallest ablation with frozen semantic requirements.", + "Use the offline card auditor only to identify structural gaps; it authenticates neither artifacts nor execution and leaves qualification unadjudicated." + ] }, "applicability": { - "scope": "Review Husky document claims and specify missing evidence; common catalog scope is not inference backend compatibility." + "scope": "Review Husky document claims and specify missing evidence; common catalog scope is not inference backend compatibility.", + "prerequisites": "Access to the bounded official-document inventory and verification protocol; implementation and native reproduction remain unavailable until separately supplied and authenticated.", + "input_contract": "The exact claim, source/view date, workload and comparison intent, supporting evidence classes and available implementation/model/output/measurement artifacts; unknown identity, licensing and availability remain explicit.", + "produced_artifact": "A reviewable claim/evidence request recording source availability, mechanism hypothesis, counter-signal, missing identities/artifacts, proposed falsifying check and actual result or bounded INCONCLUSIVE conclusion.", + "failure_modes": "Treating a public-page reading as code inspection, proposed extensions as shipped behavior, summed independent ratios as one gain, or a structurally valid self-reported card as authentic evidence can overstate qualification.", + "refusal_point": "Stop at missing source/receipts, unsafe or private data, unsupported resources or the authorized budget; unavailable artifacts yield an unverified/INCONCLUSIVE research conclusion." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Separate author reports, inspected implementation, executed experiments and new interpretations, including negative findings and future work.", + "Request immutable identities and artifacts, then state one mechanism, competing explanation and smallest ablation with frozen semantic requirements.", + "Use the offline card auditor only to identify structural gaps; it authenticates neither artifacts nor execution and leaves qualification unadjudicated." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-benchmark-design.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-benchmark-design.json index 328af8a6c..950b70b56 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-benchmark-design.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-benchmark-design.json @@ -35,8 +35,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-optimization-casebook.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-optimization-casebook.json index c096b8506..d85803a4f 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-optimization-casebook.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-optimization-casebook.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/admission-drain-occupancy.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kernel-writing-guide.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kernel-writing-guide.json index ff9d9cf9f..bcc6daa2f 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kernel-writing-guide.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kernel-writing-guide.json @@ -39,8 +39,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/cases/causal-conv1d-dispatch-state.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kv-tier-management.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kv-tier-management.json index d3df286e1..f7d9b52c5 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kv-tier-management.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kv-tier-management.json @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json", @@ -41,7 +41,7 @@ "checkout_ref": "checkout:kv-tier-management", "source_files": { "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md": "e4b78f368d70c8abb74a935acb910414015f1aeec1b50f7a295e836822ec4b27", - "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json": "c221189b8d85fac3bd41ef1c7cd560f1aebc8cfa0381c182d1d571a7169be829", + "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json": "85f7242b83334af11f57799875738b498bfe4680a51f36727792dfbe91806704", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" }, "skill_metadata": { @@ -69,12 +69,31 @@ "Original typed source inventory is not normalized; retain source identities and limits in the procedure/readsets." ], "provenance_readsets": [], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "LMCache multiprocess runtime KV tier policy across engine GPU cache, host L1 and configured L2 adapters, covering store/retention, prefetch admission, eviction and RAM pressure; startup loading and checkpoint recovery have separate owners.", + "prerequisites": "The deployment uses the inspected MP-mode semantics rather than single-process knobs; selected GDS/DAX/raw-block paths need their own platform and adapter prerequisites. Lazy offload additionally requires vLLM prefix caching.", + "input_contract": "MP versus single-process mode, store/retention policy and rationale, L1 manager capacities and eviction settings, L2 adapter capacities/eviction, chunk-size distribution and prefetch in-flight setting, together with token-level hit and pressure counters.", + "produced_artifact": "A mode- and adapter-specific tier-policy choice with retention rationale, an ordered RAM-release plan and a verification record separating L1/L2 token hits, prefetch pressure, store lag and per-manager usage.", + "failure_modes": "Mixing MP and in-process controls, treating key-count eviction as a byte fraction for unequal chunks, omitting fs capacity management, or increasing count-based prefetch admission without tracking L1 pressure can make the policy or memory claim unusable." + }, + "recommendations": [ + "Choose store retention and prefetched-key retention separately; use skip_l1 with noop only for buffer-only operation and account for failed stores remaining in L1.", + "Tune the count-based prefetch in-flight limit against L1 allocation failures and in-flight bytes; eager or warm prefetch can raise pressure before useful reuse.", + "Record per-adapter capacity/eviction and actual chunk-size uniformity; report token-level L1/L2 hits and sum per-l1_tag bytes rather than ratios." + ] + }, + "applicability": { + "scope": "LMCache multiprocess runtime KV tier policy across engine GPU cache, host L1 and configured L2 adapters, covering store/retention, prefetch admission, eviction and RAM pressure; startup loading and checkpoint recovery have separate owners.", + "prerequisites": "The deployment uses the inspected MP-mode semantics rather than single-process knobs; selected GDS/DAX/raw-block paths need their own platform and adapter prerequisites. Lazy offload additionally requires vLLM prefix caching.", + "input_contract": "MP versus single-process mode, store/retention policy and rationale, L1 manager capacities and eviction settings, L2 adapter capacities/eviction, chunk-size distribution and prefetch in-flight setting, together with token-level hit and pressure counters.", + "produced_artifact": "A mode- and adapter-specific tier-policy choice with retention rationale, an ordered RAM-release plan and a verification record separating L1/L2 token hits, prefetch pressure, store lag and per-manager usage.", + "failure_modes": "Mixing MP and in-process controls, treating key-count eviction as a byte fraction for unequal chunks, omitting fs capacity management, or increasing count-based prefetch admission without tracking L1 pressure can make the policy or memory claim unusable." }, - "applicability": {}, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Choose store retention and prefetched-key retention separately; use skip_l1 with noop only for buffer-only operation and account for failed stores remaining in L1.", + "Tune the count-based prefetch in-flight limit against L1 allocation failures and in-flight bytes; eager or warm prefetch can raise pressure before useful reuse.", + "Record per-adapter capacity/eviction and actual chunk-size uniformity; report token-level L1/L2 hits and sum per-l1_tag bytes rather than ratios." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lazy-evaluation-stream-lifetimes.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lazy-evaluation-stream-lifetimes.json index 43c831378..07875bd1b 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lazy-evaluation-stream-lifetimes.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lazy-evaluation-stream-lifetimes.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/metadata.json", @@ -42,7 +42,7 @@ "checkout_ref": "checkout:lazy-evaluation-stream-lifetimes", "source_files": { "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md": "a95569bcc0da6e715fd74783a6a1e0489e92b680c582f15dafbf98df589d505a", - "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/metadata.json": "9c2293c8956508de987c886c7224d673d22912e7e915b026b05abdd287e97401", + "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/metadata.json": "cfa57ac908025135113d04c3d64b9967f8d9a3af4a00707673d94b8227c85808", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/execution-lifetime.md": "c4bc41e08aca68f661325f61e6f0db1760a079dc362f295c847bdc374fee3bf6", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/source-map.md": "798b9cb89ed6b885eb47464ca9f137d2802a54571b9327e631d7742d3e5abd5d", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md": "ebfc00bf7d6ab0a1dc415953ae84d56ccdc713d5614aff85e433c4a843793bff", @@ -94,7 +94,12 @@ } ], "applicability": { - "scope": "MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual backend separately." + "scope": "MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual backend separately.", + "prerequisites": "Access to the pinned MLX execution/lifetime contract and a bounded reproduction with an identified evaluation/read boundary; device-dependent conclusions need the actual selected backend.", + "input_contract": "MLX revision/build, backend/device, Python/C++ entry, array shapes/dtypes, primitive streams, evaluation/read boundary and transformation context; timing needs warmup/work boundaries, while memory needs live references, in-flight buffers, allocator cache and synchronized observations.", + "produced_artifact": "A producer/evaluation/dependency-wait/backend/availability-cleanup trace, ownership table, observed symptom and one discriminating check with build-bound actual evidence status.", + "failure_modes": "Timing graph construction or submission as execution, assuming evaluated means completed, synchronizing only the default stream, or treating graph detachment/Python deletion as reusable storage can misdiagnose time or memory.", + "refusal_point": "Stop when the trace answers the question; if the required backend is absent, retain the source-supported diagnosis and exact runtime gap rather than substituting CPU import success." }, "limitations": [ "Source-derived candidate; no local native-backend, model, service or efficacy validation.", @@ -103,14 +108,25 @@ "provenance_readsets": [ "references/source-map.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Separate graph construction, async_eval submission, eval and host reads, and record which stream the measurement actually synchronizes.", + "Preserve the dependency-wait path and selected backend buffer-retention/donation contract before changing streams or assuming storage can be reused.", + "Distinguish live, in-flight and allocator-cached memory; inspect the real error/cleanup path before proposing a leak fix or hiding the failure." + ] }, "applicability": { - "scope": "MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual backend separately." + "scope": "MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual backend separately.", + "prerequisites": "Access to the pinned MLX execution/lifetime contract and a bounded reproduction with an identified evaluation/read boundary; device-dependent conclusions need the actual selected backend.", + "input_contract": "MLX revision/build, backend/device, Python/C++ entry, array shapes/dtypes, primitive streams, evaluation/read boundary and transformation context; timing needs warmup/work boundaries, while memory needs live references, in-flight buffers, allocator cache and synchronized observations.", + "produced_artifact": "A producer/evaluation/dependency-wait/backend/availability-cleanup trace, ownership table, observed symptom and one discriminating check with build-bound actual evidence status.", + "failure_modes": "Timing graph construction or submission as execution, assuming evaluated means completed, synchronizing only the default stream, or treating graph detachment/Python deletion as reusable storage can misdiagnose time or memory.", + "refusal_point": "Stop when the trace answers the question; if the required backend is absent, retain the source-supported diagnosis and exact runtime gap rather than substituting CPU import success." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Separate graph construction, async_eval submission, eval and host reads, and record which stream the measurement actually synchronizes.", + "Preserve the dependency-wait path and selected backend buffer-retention/donation contract before changing streams or assuming storage can be reused.", + "Distinguish live, in-flight and allocator-cached memory; inspect the real error/cleanup path before proposing a leak fix or hiding the failure." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lily.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lily.json index b7cc150a9..2d9e49eb6 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lily.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lily.json @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/lily/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/lily/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/lily/LICENSE", "src/inferrsi/data/skill_library/repositories/lily/NOTICE.md", @@ -61,7 +61,7 @@ "src/inferrsi/data/skill_library/repositories/lily/LICENSE": "b9e2b50a48a09fb39dafa71ab1a11a6e87389addda17faa99d55f5f74a0001ac", "src/inferrsi/data/skill_library/repositories/lily/NOTICE.md": "7a01e666044fb8aca1fd88c636bca43bcc95b8b1fecbe101dce4c7c80fbb5759", "src/inferrsi/data/skill_library/repositories/lily/SKILL.md": "db815674d5d36964902041d310d3df844d00ab2e6bef0ce4b72ed2696ab2b9aa", - "src/inferrsi/data/skill_library/repositories/lily/metadata.json": "6d9d54e84f957881cc26894eb82ae666f106cfc6c505924f9a6fb6b35eab457f", + "src/inferrsi/data/skill_library/repositories/lily/metadata.json": "52f01d58613e1a93e9cfd958ceca9ab5061baa07c5f94572393520434892b420", "src/inferrsi/data/skill_library/repositories/lily/references/repo-provenance.md": "96182f6cb3666f89adf1aed6e216c0a84ce3a04a0685a4257e286100ba8ee367", "src/inferrsi/data/skill_library/repositories/lily/references/repo-routing-metadata.json": "f2f3becb51056e03081c7c4140e19572a6318c3d63015884df56eb49d38a00fc", "src/inferrsi/data/skill_library/repositories/lily/references/source-identity.json": "4595559c11611c855be150919fca3eeb89e7f96c7a8dd133b9f79a5cd8e05e62", @@ -177,7 +177,12 @@ "method": "User-approved native Rust/Metal and partial drafting adaptation; stable-ID lanes, integrated source graph and assertion/helper verification. Missing compiler/backend/checkpoint remains explicit." }, "applicability": { - "scope": "Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog classification is not CPU inference or cross-device support." + "scope": "Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog classification is not CPU inference or cross-device support.", + "prerequisites": "Access to the exact Lily source/model-layout/API contracts; native checks require the matching Rust/Metal/checkpoint environment and frozen comparison requirements.", + "input_contract": "Source revision, Cargo lock/toolchain, macOS/chip/GPU family, checkpoint and tensor payload identities, affine configuration/layout, tokenizer/template/stops, sequence/output budgets, greedy policy, input history, prefix-cache state and quality/measurement requirements.", + "produced_artifact": "A source/model/device-bound representation, serving-cache or qualification diagnosis with the observation, invariant, alternate cause, smallest falsifier, actual result and remaining native gap.", + "failure_modes": "Equal bit width, file size, API names or prompt_cache_key do not establish tensor/token/state equivalence; ignoring the extra lookahead slot can understate request capacity, and green CPU references do not replace matched-model Metal goldens.", + "refusal_point": "Stop at unsupported formats/APIs, missing compiler/backend/checkpoint, unfrozen gates or the authorized budget; do not weaken ignored/golden tests to obtain a green result." }, "limitations": [ "Cargo/Rust1.92, supported M5/macOS26/Metal and model resources are unavailable; native evidence remains BLOCKED_REQUIRED_BACKEND.", @@ -190,14 +195,25 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve exact affine representation and strict API semantics, then trace token frontier, cache key and restore/release ownership.", + "Retain the source's extra request lookahead slot in capacity arithmetic rather than counting only prompt and visible output.", + "Separate reported benchmark version from the checked-out runner and distinguish offline screening, native compilation, Metal operators and matched-model goldens." + ] }, "applicability": { - "scope": "Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog classification is not CPU inference or cross-device support." + "scope": "Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog classification is not CPU inference or cross-device support.", + "prerequisites": "Access to the exact Lily source/model-layout/API contracts; native checks require the matching Rust/Metal/checkpoint environment and frozen comparison requirements.", + "input_contract": "Source revision, Cargo lock/toolchain, macOS/chip/GPU family, checkpoint and tensor payload identities, affine configuration/layout, tokenizer/template/stops, sequence/output budgets, greedy policy, input history, prefix-cache state and quality/measurement requirements.", + "produced_artifact": "A source/model/device-bound representation, serving-cache or qualification diagnosis with the observation, invariant, alternate cause, smallest falsifier, actual result and remaining native gap.", + "failure_modes": "Equal bit width, file size, API names or prompt_cache_key do not establish tensor/token/state equivalence; ignoring the extra lookahead slot can understate request capacity, and green CPU references do not replace matched-model Metal goldens.", + "refusal_point": "Stop at unsupported formats/APIs, missing compiler/backend/checkpoint, unfrozen gates or the authorized budget; do not weaken ignored/golden tests to obtain a green result." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Resolve exact affine representation and strict API semantics, then trace token frontier, cache key and restore/release ownership.", + "Retain the source's extra request lookahead slot in capacity arithmetic rather than counting only prompt and visible output.", + "Separate reported benchmark version from the checked-out runner and distinguish offline screening, native compilation, Metal operators and matched-model goldens." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lithos-metal.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lithos-metal.json index b9b43868d..588b3f204 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lithos-metal.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lithos-metal.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/lithos-metal/LICENSE", "src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", @@ -60,7 +60,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/lithos-metal/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", "src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md": "4c71ba2f26c275829466bba2412738aa27799842e642c75cdfd36d9ed8713f7f", - "src/inferrsi/data/skill_library/repositories/lithos-metal/metadata.json": "ea2d4e73e33a49433a2834d19489653f828e56f69c4975cc32cf508176eb24ae", + "src/inferrsi/data/skill_library/repositories/lithos-metal/metadata.json": "c5fa717d6f79d54e6aa2b0c5b672e80ac7412fbe5901ae24fda78a24c584ba67", "src/inferrsi/data/skill_library/repositories/lithos-metal/references/mlx-license.md": "ccfab7ccb2ea306f71531c8ca77bb55507606cd90768b1e32b8b52ab5b48cf01", "src/inferrsi/data/skill_library/repositories/lithos-metal/references/notices.md": "b2c9d2481ef2c9d16b3240c951ae65db417e5d309cd06b7917db9d84fe175886", "src/inferrsi/data/skill_library/repositories/lithos-metal/references/package-api.md": "4f3ecfabafb2a15eddf21ccf964b8c37635bbb7862418a2c404e7049c0fa2898", @@ -132,7 +132,11 @@ } ], "applicability": { - "scope": "Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and recipe qualification required separately." + "scope": "Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and recipe qualification required separately.", + "prerequisites": "Access to the pinned package/API and selected compiler, generation or serving contracts; revision/API drift needs a fresh bounded inspection, and efficacy claims need campaign-owned gates and matching native/model evidence.", + "input_contract": "Actual source/package version, backend/configuration, chip/core count and OS, target/draft checkpoint identities, context and prompt-token IDs, sampling/numerical options and the affected recipe/runtime/session/cache boundary.", + "produced_artifact": "A routed region/dependency, committed-state or cache-identity/lifecycle ledger, followed by the smallest supported finding, missing checks and next bounded action.", + "failure_modes": "Treating session adoption/cache hits as generation correctness, fewer dispatches as faster rounds, another chip recipe as the default, CPU cache checks as GPU rollback or health liveness as loaded/warm model state can yield unsupported conclusions." }, "limitations": [ "Source-derived candidate; empirical efficacy validation not_run.", @@ -147,14 +151,24 @@ "disable-model-invocation": true, "metadata": { "disco-role": "operating" - } + }, + "recommendations": [ + "Follow session replacement across recipe geometry, committed generation state and serving adoption/cache identity before interpreting a cache hit.", + "Keep an unfused/native or target-only control with matching decoded weights, numerical mode, row bounds and sampling policy; verify dependencies and persistent state before timing.", + "Distinguish package/CPU checks, synthetic Metal execution, model continuation and HTTP workload evidence; chip recipes and target-compute projections do not establish another device or E2E rate." + ] }, "applicability": { - "scope": "Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and recipe qualification required separately." + "scope": "Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and recipe qualification required separately.", + "prerequisites": "Access to the pinned package/API and selected compiler, generation or serving contracts; revision/API drift needs a fresh bounded inspection, and efficacy claims need campaign-owned gates and matching native/model evidence.", + "input_contract": "Actual source/package version, backend/configuration, chip/core count and OS, target/draft checkpoint identities, context and prompt-token IDs, sampling/numerical options and the affected recipe/runtime/session/cache boundary.", + "produced_artifact": "A routed region/dependency, committed-state or cache-identity/lifecycle ledger, followed by the smallest supported finding, missing checks and next bounded action.", + "failure_modes": "Treating session adoption/cache hits as generation correctness, fewer dispatches as faster rounds, another chip recipe as the default, CPU cache checks as GPU rollback or health liveness as loaded/warm model state can yield unsupported conclusions." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Follow session replacement across recipe geometry, committed generation state and serving adoption/cache identity before interpreting a cache hit.", + "Keep an unfused/native or target-only control with matching decoded weights, numerical mode, row bounds and sampling policy; verify dependencies and persistent state before timing.", + "Distinguish package/CPU checks, synthetic Metal execution, model continuation and HTTP workload evidence; chip recipes and target-compute projections do not establish another device or E2E rate." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/local-dream.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/local-dream.json index 32e907519..52de5913c 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/local-dream.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/local-dream.json @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", "src/inferrsi/data/skill_library/repositories/local-dream/metadata.json", @@ -53,7 +53,7 @@ "checkout_ref": "checkout:local-dream", "source_files": { "src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md": "e51fd3c71d693070abeba57ca67dcca82c7347cb94eb98f43e7c455bcacbaa46", - "src/inferrsi/data/skill_library/repositories/local-dream/metadata.json": "ab33602252d0f5bb0797c3e1f12466b55a82aeaff10cd24e42a99a5224c8e593", + "src/inferrsi/data/skill_library/repositories/local-dream/metadata.json": "63b71cc6a237d8c4e00db875d15594df09d6e3cf87a1cb25183a311b4d480804", "src/inferrsi/data/skill_library/repositories/local-dream/references/android-lifecycle.md": "f85e5fce39f5de5f88548fd8c21978240c810f899e03ff05ed72eb3508ee5e36", "src/inferrsi/data/skill_library/repositories/local-dream/references/native-contracts.md": "40206892f5e421f9d8edf303870f5c4aefa3e87123537178d45f438f3d04b7ce", "src/inferrsi/data/skill_library/repositories/local-dream/references/packaging-and-abi.md": "9a19bca59e19c3bfbfc1a15f5fc756c13d954ace367812aeb000551f4484ad06", @@ -154,7 +154,11 @@ } ], "applicability": { - "scope": "Selected Android app/process and native diffusion boundary contracts; common is a discovery category, not CPU/device compatibility or native qualification." + "scope": "Selected Android app/process and native diffusion boundary contracts; common is a discovery category, not CPU/device compatibility or native qualification.", + "prerequisites": "Access to the pinned Android lifecycle/native/packaging contracts and identified installed artifacts; stronger conclusions require an authorized, frozen workload on the actual selected Android/ARM64 backend.", + "input_contract": "Source revision, installed APK/version/flavor/ABI, native executable and loaded DiT library, QNN/Hexagon/MNN builds, model/export/weights/tokenizer identities, requested and serving configuration, and lifecycle/readiness/generation/cache observations.", + "produced_artifact": "A bounded failed-boundary report with counter-signals, identities observed versus declared, the smallest missing discriminator and retained INCONCLUSIVE native scope.", + "failure_modes": "Reading UI flags or equal declared configurations as actual dispatch/readiness, treating cancellation/SSE progress as native completion, or interpreting model-directory caches as authenticated model-revision namespaces can misidentify stale state." }, "limitations": [ "Source-derived candidate; required Android ARM64/MNN/QNN/Hexagon/model execution BLOCKED_REQUIRED_BACKEND / not_run; qualification INCONCLUSIVE.", @@ -169,14 +173,24 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Compare requested and serving model/backend/dimensions/bind address through stop/reopen and health observations; never enable host mode as a diagnostic default.", + "Trace the actual MNN/QNN/Anima/DiT path and separate native library/ABI identity from UI runOnCpu flags and declared SDK labels.", + "Keep progress, cancellation, native completion, release and saved final output separate; check prompt-cache mode/version/dimensions and textual-inversion caller guards before proposing cache changes." + ] }, "applicability": { - "scope": "Selected Android app/process and native diffusion boundary contracts; common is a discovery category, not CPU/device compatibility or native qualification." + "scope": "Selected Android app/process and native diffusion boundary contracts; common is a discovery category, not CPU/device compatibility or native qualification.", + "prerequisites": "Access to the pinned Android lifecycle/native/packaging contracts and identified installed artifacts; stronger conclusions require an authorized, frozen workload on the actual selected Android/ARM64 backend.", + "input_contract": "Source revision, installed APK/version/flavor/ABI, native executable and loaded DiT library, QNN/Hexagon/MNN builds, model/export/weights/tokenizer identities, requested and serving configuration, and lifecycle/readiness/generation/cache observations.", + "produced_artifact": "A bounded failed-boundary report with counter-signals, identities observed versus declared, the smallest missing discriminator and retained INCONCLUSIVE native scope.", + "failure_modes": "Reading UI flags or equal declared configurations as actual dispatch/readiness, treating cancellation/SSE progress as native completion, or interpreting model-directory caches as authenticated model-revision namespaces can misidentify stale state." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Compare requested and serving model/backend/dimensions/bind address through stop/reopen and health observations; never enable host mode as a diagnostic default.", + "Trace the actual MNN/QNN/Anima/DiT path and separate native library/ABI identity from UI runOnCpu flags and declared SDK labels.", + "Keep progress, cancellation, native completion, release and saved final output separate; check prompt-cache mode/version/dimensions and textual-inversion caller guards before proposing cache changes." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mistral-rs.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mistral-rs.json index 1984bb81f..386ee1047 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mistral-rs.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mistral-rs.json @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/mistral-rs/LICENSE", "src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", @@ -67,7 +67,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/mistral-rs/LICENSE": "b40bb09c7b3b6f697a8920cf9d2cb3ff8cfcf77a0fcb6d264a92842b43c4dcae", "src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md": "8917b30fb86437dea7508275ccce1992194d6e0c4858d537a410bf1f900953d0", - "src/inferrsi/data/skill_library/repositories/mistral-rs/metadata.json": "5e88e2ca64b848b8177336351e03d1fbcb5c495fd54217daa83710ef6faccff0", + "src/inferrsi/data/skill_library/repositories/mistral-rs/metadata.json": "3ca0ca5f3a3c9e4c3e2c7d4587940b83123cf05f4e3213b305ccdd1ae89cd679", "src/inferrsi/data/skill_library/repositories/mistral-rs/references/apache-component-license.md": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", "src/inferrsi/data/skill_library/repositories/mistral-rs/references/paged-component-notice.md": "a1718d8c5a25f15e61bea98a158880e96faa5b7174e82c4e1470fbacb23a3559", "src/inferrsi/data/skill_library/repositories/mistral-rs/references/repo-provenance.md": "fab87dacbe0a7298e42137cab7409f443ece0dfefba60961040031e36d96adc8", @@ -175,7 +175,11 @@ "method": "Stable-ID bounded decode/prefill/qualification author lanes, whole-graph reconciliation, hard cases and offline helper/static/scaffold/wheel checks; compiler and actual Apple evidence not_run." }, "applicability": { - "scope": "Selected native Metal paged decode/prefill layout/metadata/workspace and preparation/evidence investigation. Common catalog categorization is not CPU inference or hardware certification." + "scope": "Selected native Metal paged decode/prefill layout/metadata/workspace and preparation/evidence investigation. Common catalog categorization is not CPU inference or hardware certification.", + "prerequisites": "Access to the pinned Rust/Candle/MSL decode, prefill and qualification contracts; native comparisons need the matched Rust/Apple/Candle/shader stack and separately authorized frozen references.", + "input_contract": "mistral.rs/Candle/native artifact revisions, Rust toolchain, Apple SDK/OS/device, actual model/cache dtype and representation, shape/strides/offsets, block table, context and execution limits.", + "produced_artifact": "A source/build-bound route and invariant report with actual versus declared facts, safe support result, counter-signal and smallest next native check; unavailable Metal/kernel/model evidence remains blocked.", + "failure_modes": "Equating element counts with physical alias/layout identity, transferring decode geometry to prefill, or treating prewarm/pipeline preparation as actual dispatch can misclassify eligibility and native correctness." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: actual Rust/Candle/Apple Metal compilation, native tensor/cache/dispatch/parity/model/quality/service/performance evidence not_run.", @@ -188,14 +192,24 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Select decode, prefill or qualification by the failed contract, then follow cache/metadata bytes from producer through view to native consumer.", + "Keep static predicates, pipeline preparation, kernel dispatch, numerical correctness and model/service outcomes as separate evidence steps; retain skipped or gated tests.", + "Use the matched Candle revision and native shader/build inputs; broad workspace tests can require model fixtures, tokens and downloads." + ] }, "applicability": { - "scope": "Selected native Metal paged decode/prefill layout/metadata/workspace and preparation/evidence investigation. Common catalog categorization is not CPU inference or hardware certification." + "scope": "Selected native Metal paged decode/prefill layout/metadata/workspace and preparation/evidence investigation. Common catalog categorization is not CPU inference or hardware certification.", + "prerequisites": "Access to the pinned Rust/Candle/MSL decode, prefill and qualification contracts; native comparisons need the matched Rust/Apple/Candle/shader stack and separately authorized frozen references.", + "input_contract": "mistral.rs/Candle/native artifact revisions, Rust toolchain, Apple SDK/OS/device, actual model/cache dtype and representation, shape/strides/offsets, block table, context and execution limits.", + "produced_artifact": "A source/build-bound route and invariant report with actual versus declared facts, safe support result, counter-signal and smallest next native check; unavailable Metal/kernel/model evidence remains blocked.", + "failure_modes": "Equating element counts with physical alias/layout identity, transferring decode geometry to prefill, or treating prewarm/pipeline preparation as actual dispatch can misclassify eligibility and native correctness." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Select decode, prefill or qualification by the failed contract, then follow cache/metadata bytes from producer through view to native consumer.", + "Keep static predicates, pipeline preparation, kernel dispatch, numerical correctness and model/service outcomes as separate evidence steps; retain skipped or gated tests.", + "Use the matched Candle revision and native shader/build inputs; broad workspace tests can require model fixtures, tokens and downloads." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlc-llm.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlc-llm.json index d18213bdb..3d7b73082 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlc-llm.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlc-llm.json @@ -27,8 +27,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/mlc-llm/LICENSE", "src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", @@ -71,7 +71,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/mlc-llm/LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", "src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md": "e0fd1accb4216191c56e7e4a8074633f36d9063727c2546e0d2eed14220d8cf4", - "src/inferrsi/data/skill_library/repositories/mlc-llm/metadata.json": "c9927e284e44aa09733424c024409ec8efc9593520418bb7d2e53ef301363681", + "src/inferrsi/data/skill_library/repositories/mlc-llm/metadata.json": "f20ca326ca0966e8d56b5fa698f971001a4af77370a145631e98476601610fa9", "src/inferrsi/data/skill_library/repositories/mlc-llm/references/mlc-notice.md": "3a7dfb37bb96ce6f5a1cc0d6d4c8da3b8a35e6ec4692647ba0a37f6155c7e694", "src/inferrsi/data/skill_library/repositories/mlc-llm/references/repo-provenance.md": "423f21e1de6d7ab2e11c0bdf540357efde025ae4535bdf76ed9770b1a59ba35a", "src/inferrsi/data/skill_library/repositories/mlc-llm/references/repo-routing-metadata.json": "5309c27e7b60c4fe7aaef28bf6911e7e3c936b58b1a907aa8486bf0e40b4c0d0", @@ -186,7 +186,11 @@ } ], "applicability": { - "scope": "Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source contracts. Common catalog categorization is not CPU inference or Apple qualification." + "scope": "Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source contracts. Common catalog categorization is not CPU inference or Apple qualification.", + "prerequisites": "Access to the pinned MLC and exact TVM fork/gitlink contracts; native checks require separately prepared matching MLC/TVM/FFI and the applicable Apple SDK/device stack.", + "input_contract": "MLC revision, TVM gitlink/build, model/tokenizer/quantized-parameter identity, target/host/SDK, compiled artifact/format, runtime device and the actual compiled/runtime configuration sources.", + "produced_artifact": "An identity and actual-versus-declared boundary report for artifact, Metal runtime or KV-limit ownership, with a negative signal and smallest missing native discriminator.", + "failure_modes": "Treating a schema hash as payload authentication, an opt-in WebLLM artifact contract as a native-engine ABI, serializable Metal fallback as runnable, or automatic capacity estimates as free memory can create unsupported qualification claims." }, "limitations": [ "Source-derived candidate; original compiled CPU/native tests, compiler/live API/CLI/model/Metal/fit/quality/service/performance execution not_run; required native BLOCKED_REQUIRED_BACKEND.", @@ -200,14 +204,24 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Identify the interface's actual consumer before using a valid artifact manifest as evidence of native model/task support.", + "Separate codegen/export from runtime factory/load, pipeline creation, dispatch and stream completion; a serializable kind=metal fallback can still be non-runnable.", + "Trace runtime preference, compile-time bounds, nested workspace inputs and explicit overrides separately before interpreting a KV or working-set estimate." + ] }, "applicability": { - "scope": "Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source contracts. Common catalog categorization is not CPU inference or Apple qualification." + "scope": "Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source contracts. Common catalog categorization is not CPU inference or Apple qualification.", + "prerequisites": "Access to the pinned MLC and exact TVM fork/gitlink contracts; native checks require separately prepared matching MLC/TVM/FFI and the applicable Apple SDK/device stack.", + "input_contract": "MLC revision, TVM gitlink/build, model/tokenizer/quantized-parameter identity, target/host/SDK, compiled artifact/format, runtime device and the actual compiled/runtime configuration sources.", + "produced_artifact": "An identity and actual-versus-declared boundary report for artifact, Metal runtime or KV-limit ownership, with a negative signal and smallest missing native discriminator.", + "failure_modes": "Treating a schema hash as payload authentication, an opt-in WebLLM artifact contract as a native-engine ABI, serializable Metal fallback as runnable, or automatic capacity estimates as free memory can create unsupported qualification claims." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Identify the interface's actual consumer before using a valid artifact manifest as evidence of native model/task support.", + "Separate codegen/export from runtime factory/load, pipeline creation, dispatch and stream completion; a serializable kind=metal fallback can still be non-runnable.", + "Trace runtime preference, compile-time bounds, nested workspace inputs and explicit overrides separately before interpreting a KV or working-set estimate." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlx-swift-lm.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlx-swift-lm.json index 21e947454..bc510c7e9 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlx-swift-lm.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlx-swift-lm.json @@ -27,8 +27,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/LICENSE", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", @@ -62,7 +62,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/LICENSE": "7b1d86acac816ce8192209d7e01141c129b4d48d474c15cc5fb4af62f497c323", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md": "501f73e7b327b04b6b80501b42b20dab1ac15c875817e6f4c4b66fe3e69b4fc4", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/metadata.json": "014131f345a28d3367313ed5a4cce858fe4c93d4d47a5f03eb89f609592e032f", + "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/metadata.json": "6d5bd7d5f3566b75c8c0b53be95d524db039a517566826c211c978987d78b253", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/references/repo-provenance.md": "f1b15edf89c597db0c3fc0bff7db6b2451924ce9273c39623bc0cbdccb568d31", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/references/repo-routing-metadata.json": "8fc804347771cd768a7ed027f2041d96c9832fe5f8c5869e6593a3021b1bef8b", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/references/scope-and-notices.md": "18e56805a8f275d35af3d8e42f3aa1525871b43400921a5d2dca4897c2047214", @@ -175,7 +175,11 @@ "method": "Stable-ID lifecycle and recurrent-kernel author lanes, integrated root/local references, hard cases and offline support/static/scaffold/package checks; native Swift/Xcode/MLX compiler/tests not_run." }, "applicability": { - "scope": "Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts. Common categorization is not CPU inference or Apple qualification." + "scope": "Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts. Common categorization is not CPU inference or Apple qualification.", + "prerequisites": "Access to the Swift lifecycle and selected GatedDelta contracts, with resolved MLX/native identities for a comparison; native checks require a prepared matching Swift/Xcode/Apple stack and separate authorization.", + "input_contract": "Exact source revision, resolved Swift/MLX dependencies, Xcode/SDK/OS/device, API family and native artifact identity; the selected question supplies lifecycle ownership/completion observations or recurrent producer shape/dtype/layout and actual consumer/fallback.", + "produced_artifact": "An identity and actual-versus-declared report for generation ownership or recurrent kernel invariants, with safe support result, counter-signal and smallest separately authorized native check.", + "failure_modes": "Conflating lexical isolation with exclusive access across await or completed task join, treating useKernel as observed dispatch, calling an ops fallback CPU execution, or assuming a manifest range is a resolved dependency can invalidate the conclusion." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: native Swift/MLX compiler, host-control tests and required Apple Metal cancellation/backgrounding/kernel/cache/model/fit/quality/service/performance evidence not_run.", @@ -189,14 +193,24 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve mutable-context/cache ownership and task settlement separately from lexical isolation and queued GPU work before cache reuse or producer shutdown.", + "Follow recurrent shape/dtype/layout to the actual Metal or ops consumer; predicate eligibility and useKernel alone do not prove dispatch.", + "Record the actual dependency resolution and use the documented Xcode macOS test route; the source states swift test does not work for this package." + ] }, "applicability": { - "scope": "Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts. Common categorization is not CPU inference or Apple qualification." + "scope": "Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts. Common categorization is not CPU inference or Apple qualification.", + "prerequisites": "Access to the Swift lifecycle and selected GatedDelta contracts, with resolved MLX/native identities for a comparison; native checks require a prepared matching Swift/Xcode/Apple stack and separate authorization.", + "input_contract": "Exact source revision, resolved Swift/MLX dependencies, Xcode/SDK/OS/device, API family and native artifact identity; the selected question supplies lifecycle ownership/completion observations or recurrent producer shape/dtype/layout and actual consumer/fallback.", + "produced_artifact": "An identity and actual-versus-declared report for generation ownership or recurrent kernel invariants, with safe support result, counter-signal and smallest separately authorized native check.", + "failure_modes": "Conflating lexical isolation with exclusive access across await or completed task join, treating useKernel as observed dispatch, calling an ops fallback CPU execution, or assuming a manifest range is a resolved dependency can invalidate the conclusion." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Resolve mutable-context/cache ownership and task settlement separately from lexical isolation and queued GPU work before cache reuse or producer shutdown.", + "Follow recurrent shape/dtype/layout to the actual Metal or ops consumer; predicate eligibility and useKernel alone do not prove dispatch.", + "Record the actual dependency resolution and use the documented Xcode macOS test route; the source states swift test does not work for this package." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/npu-skill-factory.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/npu-skill-factory.json index 8b0ac1659..b8ab6fb57 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/npu-skill-factory.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/npu-skill-factory.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/optimization-search-policy.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/optimization-search-policy.json index c645d3c28..14c16ee29 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/optimization-search-policy.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/optimization-search-policy.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", "src/inferrsi/data/skill_library/methods/optimization-search-policy/cases/sarathi-chunk-budget.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/os-process-placement.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/os-process-placement.json index 242c9c23f..36532f246 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/os-process-placement.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/os-process-placement.json @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", "src/inferrsi/data/skill_library/hardware/host/os-process-placement/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/performance-ceiling-analysis.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/performance-ceiling-analysis.json index da76f5b07..b1f1ed6dd 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/performance-ceiling-analysis.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/performance-ceiling-analysis.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/plan-activation-residency.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/plan-activation-residency.json index 672d773ce..362ca17db 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/plan-activation-residency.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/plan-activation-residency.json @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", "src/inferrsi/data/skill_library/methods/plan-activation-residency/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/project-maya.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/project-maya.json index 7dd98248f..da792eebe 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/project-maya.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/project-maya.json @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/project-maya/LICENSE", "src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", @@ -63,7 +63,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/project-maya/LICENSE": "574cffb7c57769a9271043ac0c2b07c5e7e7621cfb81081b901d8981e791d121", "src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md": "c619a3472be02147a847a24ca97c56afd8b56b6ffd22ce66fcae453155e34bab", - "src/inferrsi/data/skill_library/repositories/project-maya/metadata.json": "c9f7879ca512c07e9bdf6d1d1a52de055a0fa210b8838c205e27a34436324834", + "src/inferrsi/data/skill_library/repositories/project-maya/metadata.json": "c48af69c430f23a8b39a2dbc09495bef54b48147c64068b39cfb3551f4e94c63", "src/inferrsi/data/skill_library/repositories/project-maya/references/license-boundaries.md": "090839df90d6e96f55794c2ad821d7154dc6a6aa4211cdbb08a1e5f6f2e52a92", "src/inferrsi/data/skill_library/repositories/project-maya/references/repo-provenance.md": "7bb6b6c14d1a9b77e906804505c723569f952e5d47559e636d2e6621994216bf", "src/inferrsi/data/skill_library/repositories/project-maya/references/repo-routing-metadata.json": "0acbb111e92316e74d537200cd033f3d7d0f69972bf0953c8cea9dfb2ecb4a34", @@ -225,7 +225,12 @@ "method": "Stable-ID isolated author lanes, integrated runtime graph, assertion/helper/static and selected direct-compiler CPU verification; required accelerator/model blocks retained." }, "applicability": { - "scope": "Model-specific dispatch/residency, API/native state and qualification investigation. Common catalog placement is not CPU inference or cross-device certification." + "scope": "Model-specific dispatch/residency, API/native state and qualification investigation. Common catalog placement is not CPU inference or cross-device certification.", + "prerequisites": "Access to the selected model-family runtime/state/qualification contract; native changes need frozen correctness/comparison requirements and the matching authorized CUDA/HIP/model resources.", + "input_contract": "Full source revision, actual executable/model family, model and asset identities, representation, compiler/runtime/device, rendered workload, sampling policy, single/parallel route, exact tokens/images and relevant completion observations.", + "produced_artifact": "A route/identity/evidence-class report with invariant, proposed check, actual result, counter-signal, missing resource and next authorized action; missing native requirements remain INCONCLUSIVE.", + "failure_modes": "Transferring coverage through a common facade or quantization name, confusing API history with native KV/private state, double-counting unified RAM/VRAM, or repairing a slot header to appear compatible can invalidate diagnosis.", + "refusal_point": "When required CUDA/HIP/model evidence is unavailable, retain BLOCKED_REQUIRED_BACKEND and an unverified/INCONCLUSIVE conclusion; exit-zero skips or CPU simulations cannot clear it." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: no actual CUDA/HIP/model/device, quantized payload, vision, parallel/state/restore or cancellation-cleanup evidence.", @@ -238,14 +243,25 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Select the family-specific route and preserve the explicitly shallow Qwen coverage rather than transferring deeper GLM/DeepSeek/MiniMax evidence.", + "Separate shared weights, private conversation state, API history and native KV; count unified physical memory once.", + "Preserve exact token/image identities and completion boundaries before reuse, then test one falsifiable hypothesis without modifying slot headers to bypass compatibility." + ] }, "applicability": { - "scope": "Model-specific dispatch/residency, API/native state and qualification investigation. Common catalog placement is not CPU inference or cross-device certification." + "scope": "Model-specific dispatch/residency, API/native state and qualification investigation. Common catalog placement is not CPU inference or cross-device certification.", + "prerequisites": "Access to the selected model-family runtime/state/qualification contract; native changes need frozen correctness/comparison requirements and the matching authorized CUDA/HIP/model resources.", + "input_contract": "Full source revision, actual executable/model family, model and asset identities, representation, compiler/runtime/device, rendered workload, sampling policy, single/parallel route, exact tokens/images and relevant completion observations.", + "produced_artifact": "A route/identity/evidence-class report with invariant, proposed check, actual result, counter-signal, missing resource and next authorized action; missing native requirements remain INCONCLUSIVE.", + "failure_modes": "Transferring coverage through a common facade or quantization name, confusing API history with native KV/private state, double-counting unified RAM/VRAM, or repairing a slot header to appear compatible can invalidate diagnosis.", + "refusal_point": "When required CUDA/HIP/model evidence is unavailable, retain BLOCKED_REQUIRED_BACKEND and an unverified/INCONCLUSIVE conclusion; exit-zero skips or CPU simulations cannot clear it." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Select the family-specific route and preserve the explicitly shallow Qwen coverage rather than transferring deeper GLM/DeepSeek/MiniMax evidence.", + "Separate shared weights, private conversation state, API history and native KV; count unified physical memory once.", + "Preserve exact token/image identities and completion boundaries before reuse, then test one falsifiable hypothesis without modifying slot headers to bypass compatibility." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/pytorch.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/pytorch.json index 2333fef75..ca695d1f6 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/pytorch.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/pytorch.json @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/LICENSE", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/repository-evolution-analysis.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/repository-evolution-analysis.json index 446dc35d3..1b8ae2489 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/repository-evolution-analysis.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/repository-evolution-analysis.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/rsi-evidence.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/rsi-evidence.json index abc3542df..5498b2196 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/rsi-evidence.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/rsi-evidence.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/skill-evolution-playbook.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/skill-evolution-playbook.json index 1bb5dc671..996e82073 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/skill-evolution-playbook.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/skill-evolution-playbook.json @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/splash.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/splash.json index 574fae850..8bc62af7f 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/splash.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/splash.json @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/splash/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/splash/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/splash/LICENSE", "src/inferrsi/data/skill_library/repositories/splash/SKILL.md", @@ -61,7 +61,7 @@ "src/inferrsi/data/skill_library/repositories/splash/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", "src/inferrsi/data/skill_library/repositories/splash/SKILL.md": "619b87c282dcec4befa319085764fb53fa506a05c6a7112500bcca662f059ece", "src/inferrsi/data/skill_library/repositories/splash/THIRD_PARTY_NOTICES": "2fedf1277bf732f8435c3e3be2798f52f25f7e2bd4155865cb366da55b88e50b", - "src/inferrsi/data/skill_library/repositories/splash/metadata.json": "d4c679f474c31549156aad417e23c2802b9f4bc904472e5cb16916f2996b50ba", + "src/inferrsi/data/skill_library/repositories/splash/metadata.json": "9d0613387fdaee61de7e79146e2a896f19ac7f5c1d355f74afe767074f64dd2a", "src/inferrsi/data/skill_library/repositories/splash/references/repo-provenance.md": "20e3462f1b6a8752eb0fa6f36e76867f142a49c1953f498f895e29c4fd4f0204", "src/inferrsi/data/skill_library/repositories/splash/references/repo-routing-metadata.json": "287ae591f42949b8d33312659ec8303c47d5c73093c64c125edb1cf6ea8de8b9", "src/inferrsi/data/skill_library/repositories/splash/references/source-identity.json": "2f778882ec440538a46f48332650412b446722246c8dc5690083f19da7dce61d", @@ -189,7 +189,12 @@ "method": "User-approved native Metal/C++ and isolated source-Python adaptation; stable-ID lanes, integrated graph, assertion cases and create/verify stages. Required-backend block disables automatic admission." }, "applicability": { - "scope": "Pinned Splash representation, planning, state/serving and verification investigation; common discovery does not qualify a different Mac/model/backend." + "scope": "Pinned Splash representation, planning, state/serving and verification investigation; common discovery does not qualify a different Mac/model/backend.", + "prerequisites": "Access to the pinned representation/planning, serving-cache or qualification route; native checks need matching Apple/backend/model resources, an authorized workload and frozen semantic/measurement controls.", + "input_contract": "Source/build, macOS/device, target and compatible draft artifacts/formats, tokenizer/template/vision selection, context/cache/memory controls, KV/recurrent precision, ANE and verifier-row policy, concurrency/priority/sampling, quality controls and cache state.", + "produced_artifact": "An execution-identity report with observation, source-backed invariant, alternate explanation, smallest discriminating check, actual result and unresolved Metal/ANE/model/disk-state gap.", + "failure_modes": "Treating an API alias as new weights, equal bit width as loader/kernel compatibility, or a fixed seed as fixed cache/batch/adaptive-verification scheduling can invalidate the comparison; CPU cache/codec checks do not prove GPU state.", + "refusal_point": "Stop at unsupported formats, unavailable backend/model resources, unsafe service exposure or the authorized budget." }, "limitations": [ "Required Metal/ANE/model/actual device and disk-state execution remains BLOCKED_REQUIRED_BACKEND; Python policy/codec checks do not clear it.", @@ -201,14 +206,25 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve representation, memory/cache owner, validity key and reclaim/rollback boundary before tuning a numeric control.", + "Freeze semantic and workload controls beyond the seed, and retain actual-path fallbacks, admission waits, evictions, cancellations and errors.", + "Inspect options without starting the normal serve path, which can download target/draft weights; installation and serving require separate task authority." + ] }, "applicability": { - "scope": "Pinned Splash representation, planning, state/serving and verification investigation; common discovery does not qualify a different Mac/model/backend." + "scope": "Pinned Splash representation, planning, state/serving and verification investigation; common discovery does not qualify a different Mac/model/backend.", + "prerequisites": "Access to the pinned representation/planning, serving-cache or qualification route; native checks need matching Apple/backend/model resources, an authorized workload and frozen semantic/measurement controls.", + "input_contract": "Source/build, macOS/device, target and compatible draft artifacts/formats, tokenizer/template/vision selection, context/cache/memory controls, KV/recurrent precision, ANE and verifier-row policy, concurrency/priority/sampling, quality controls and cache state.", + "produced_artifact": "An execution-identity report with observation, source-backed invariant, alternate explanation, smallest discriminating check, actual result and unresolved Metal/ANE/model/disk-state gap.", + "failure_modes": "Treating an API alias as new weights, equal bit width as loader/kernel compatibility, or a fixed seed as fixed cache/batch/adaptive-verification scheduling can invalidate the comparison; CPU cache/codec checks do not prove GPU state.", + "refusal_point": "Stop at unsupported formats, unavailable backend/model resources, unsafe service exposure or the authorized budget." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Resolve representation, memory/cache owner, validity key and reclaim/rollback boundary before tuning a numeric control.", + "Freeze semantic and workload controls beyond the seed, and retain actual-path fallbacks, admission waits, evictions, cancellations and errors.", + "Inspect options without starting the normal serve path, which can download target/draft weights; installation and serving require separate task authority." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/storage-io-measurement.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/storage-io-measurement.json index bcecd3676..6ed92a99b 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/storage-io-measurement.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/storage-io-measurement.json @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-input-pipeline.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-input-pipeline.json index a6ad85977..72be122d4 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-input-pipeline.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-input-pipeline.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", "src/inferrsi/data/skill_library/methods/training-input-pipeline/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-resource-budget.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-resource-budget.json index a230cb0e2..a2a84a989 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-resource-budget.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-resource-budget.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", "src/inferrsi/data/skill_library/methods/training-resource-budget/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/video-diffusion-optimization.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/video-diffusion-optimization.json index aaab5d179..7772db026 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/video-diffusion-optimization.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/video-diffusion-optimization.json @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/assets/campaign.template.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/vllm-metal.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/vllm-metal.json index 6768c018b..30c835b77 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/vllm-metal.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/vllm-metal.json @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm-metal/LICENSE", "src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", @@ -65,7 +65,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/vllm-metal/LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", "src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md": "5f83b1b989e8dc239a6f34a6b3bd63872533ecc1404483a69dabfb1865648439", - "src/inferrsi/data/skill_library/repositories/vllm-metal/metadata.json": "63d51d1ace6b0ba503c28751a8ffbf9224038395f4146a94c775c628d8075470", + "src/inferrsi/data/skill_library/repositories/vllm-metal/metadata.json": "55652ec6de744d92044951e25ea89aa18c92b14846dd4b597444d773bb8c31e3", "src/inferrsi/data/skill_library/repositories/vllm-metal/references/repo-provenance.md": "970bda4d1081704aa82c94d6544a98bbf479430c4fc2c82a1a82f206043aa72a", "src/inferrsi/data/skill_library/repositories/vllm-metal/references/repo-routing-metadata.json": "230a2b383bcf2855af4de50374c41f11b0b0841268ae45e424c1c97f679b477a", "src/inferrsi/data/skill_library/repositories/vllm-metal/references/scope-and-notices.md": "aaef98eaea4cff56f39852e1d131163ebc01334e79034b1890f67a2660727d3e", @@ -185,7 +185,11 @@ "method": "Stable-ID manual author sequencing plus bounded cache author lane; integrated graph followed by assertion/helper/static and selected pure Python source tests; Apple native blocks retained." }, "applicability": { - "scope": "Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch evidence investigation. Common catalog scope does not certify CPU inference or cross-backend qualification." + "scope": "Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch evidence investigation. Common catalog scope does not certify CPU inference or cross-backend qualification.", + "prerequisites": "Access to the plugin-specific platform/ABI, cache-lifecycle and qualification contracts; actual engine changes require separate authority, resource ownership, frozen gates and cleanup, with a supported artifact pairing.", + "input_contract": "Source/package/runtime/native artifact identities, Python/OS/chip/device, backend/executor, checkpoint/tokenizer/draft identities, format/dtype, effective feature flags and workload.", + "produced_artifact": "An identity/route/invariant report with actual safe-check result, counter-signal and next authorized native check; partial CPU evidence stays separate from unverified transfers, sleep/wake, model and HTTP outcomes.", + "failure_modes": "Using lazy import success as native registration or ABI evidence, treating a feature switch as dispatch, or conflating cache capacity with physical residency and kernel time with HTTP time can overstate plugin behavior." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: actual Apple MLX/Metal and MPS kernels/model loading, cache transfers/sleep/wake and real worker dispatch are not verified.", @@ -198,14 +202,24 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve platform registration, backend/runner and native ABI pairing before capacity tuning; a package visibility check establishes only its reported software facts.", + "Keep MLX and MPS, full-attention and recurrent state, logical cache capacity and physical residency as separate contracts.", + "Preserve failed paths and distinguish parser/API checks from real transfers, sleep/wake, model output and HTTP performance evidence." + ] }, "applicability": { - "scope": "Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch evidence investigation. Common catalog scope does not certify CPU inference or cross-backend qualification." + "scope": "Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch evidence investigation. Common catalog scope does not certify CPU inference or cross-backend qualification.", + "prerequisites": "Access to the plugin-specific platform/ABI, cache-lifecycle and qualification contracts; actual engine changes require separate authority, resource ownership, frozen gates and cleanup, with a supported artifact pairing.", + "input_contract": "Source/package/runtime/native artifact identities, Python/OS/chip/device, backend/executor, checkpoint/tokenizer/draft identities, format/dtype, effective feature flags and workload.", + "produced_artifact": "An identity/route/invariant report with actual safe-check result, counter-signal and next authorized native check; partial CPU evidence stays separate from unverified transfers, sleep/wake, model and HTTP outcomes.", + "failure_modes": "Using lazy import success as native registration or ABI evidence, treating a feature switch as dispatch, or conflating cache capacity with physical residency and kernel time with HTTP time can overstate plugin behavior." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Resolve platform registration, backend/runner and native ABI pairing before capacity tuning; a package visibility check establishes only its reported software facts.", + "Keep MLX and MPS, full-attention and recurrent state, logical cache capacity and physical residency as separate contracts.", + "Preserve failed paths and distinguish parser/API checks from real transfers, sleep/wake, model output and HTTP performance evidence." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/weight-loading-optimization.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/weight-loading-optimization.json index a00f7bdce..69a7ce019 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/weight-loading-optimization.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/weight-loading-optimization.json @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-afd-p2p-exchanges.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-afd-p2p-exchanges.json index e66056723..bcd6e2eed 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-afd-p2p-exchanges.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-afd-p2p-exchanges.json @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/metadata.json", @@ -42,7 +42,7 @@ "checkout_ref": "checkout:audit-afd-p2p-exchanges", "source_files": { "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md": "a46110891eca860915e314d6921a22856d631453b22b17837fe30262d6780535", - "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/metadata.json": "4e6100dfb9fc7bc00b19915f4fd38ad509704f2a609c658adf4d632d4e05b6c1", + "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/metadata.json": "ae8c7582265dd6902cc4172293fc709244cc915df9390672fde25687b9e79b4b", "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/afd-plugin-LICENSE.md": "0e8566ea362276878e1f38f97da49964dbea301c15d4aa9d727f97a4c39fd943", "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md": "5073d87450cb60d1b245308dff8807e73749c07de976d50f2fa26694fad81a72", "src/inferrsi/data/skill_library/skill-index.json": "9ea8b2ef190777e683a3905f0614612a37782be4d655d230c000188b0c7073db" @@ -92,7 +92,12 @@ } ], "applicability": { - "scope": "Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with compute_gate_on_attention=false. Repository identity afd_plugin; runtime/backend compatibility unverified." + "scope": "Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with compute_gate_on_attention=false. Repository identity afd_plugin; runtime/backend compatibility unverified.", + "prerequisites": "Access to the pinned source ledger and caller-level evidence for the selected eager dense FFN path with Attention-side gating disabled; any proposed cross-stream reuse needs an established communicator completion contract.", + "input_contract": "Plugin and dependency revisions, connector and role, A/F worker counts, DP/PCP/TP coordinates, worker/device ranks, subgroup roster, stage, per-peer token counts, payload shape/dtype/device, transfer context and returned slices.", + "produced_artifact": "A bounded rank-namespace and per-peer payload ownership ledger, the earliest evidenced mismatch or missing edge, and a proposed verification plan.", + "failure_modes": "Inferring data peers from control senders, accepting equal total row counts despite a peer permutation, or treating an even-split fallback or Python return as proof of ownership/completion can produce a wrong exchange diagnosis.", + "refusal_point": "Stop on A < F, invalid role ranks, duplicate/missing assignments or an unresolved rank namespace; return the conflicting callers and ledger entries without inventing ranks or attributing the fault to networking." }, "limitations": [ "Source-derived candidate; native exchange, model quality, backend compatibility, performance and agent efficacy not_run.", @@ -107,14 +112,25 @@ "../../../methods/inference-benchmark-design/SKILL.md", "../../../methods/dense-performance-evidence/SKILL.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Record role, world and subgroup-local ranks separately; reconstruct the actual subgroup roster before interpreting send/receive peers.", + "Track distinct row identities and stage-specific peer lengths through concatenation and splitting; use same-total swapped lengths as a countercheck.", + "Establish the last communicator/stream completion obligation before reusing or releasing a receive buffer." + ] }, "applicability": { - "scope": "Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with compute_gate_on_attention=false. Repository identity afd_plugin; runtime/backend compatibility unverified." + "scope": "Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with compute_gate_on_attention=false. Repository identity afd_plugin; runtime/backend compatibility unverified.", + "prerequisites": "Access to the pinned source ledger and caller-level evidence for the selected eager dense FFN path with Attention-side gating disabled; any proposed cross-stream reuse needs an established communicator completion contract.", + "input_contract": "Plugin and dependency revisions, connector and role, A/F worker counts, DP/PCP/TP coordinates, worker/device ranks, subgroup roster, stage, per-peer token counts, payload shape/dtype/device, transfer context and returned slices.", + "produced_artifact": "A bounded rank-namespace and per-peer payload ownership ledger, the earliest evidenced mismatch or missing edge, and a proposed verification plan.", + "failure_modes": "Inferring data peers from control senders, accepting equal total row counts despite a peer permutation, or treating an even-split fallback or Python return as proof of ownership/completion can produce a wrong exchange diagnosis.", + "refusal_point": "Stop on A < F, invalid role ranks, duplicate/missing assignments or an unresolved rank namespace; return the conflicting callers and ledger entries without inventing ranks or attributing the fault to networking." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Record role, world and subgroup-local ranks separately; reconstruct the actual subgroup roster before interpreting send/receive peers.", + "Track distinct row identities and stage-specific peer lengths through concatenation and splitting; use same-total swapped lengths as a countercheck.", + "Establish the last communicator/stream completion obligation before reusing or releasing a receive buffer." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-flare-session-lifecycle.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-flare-session-lifecycle.json index 33099d173..d203a8627 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-flare-session-lifecycle.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-flare-session-lifecycle.json @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/LICENSE", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", @@ -52,7 +52,7 @@ "source_files": { "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md": "02a5f7c18e44201215ecec17c6ac96b27be9148bcc189df287f39d1b372b7721", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/metadata.json": "58716737446f46bd1de77aa323c5652f97277d44dd952c82b42399b2cb769b87", + "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/metadata.json": "9c667c7735ebe4fb07247e098218f6b03a1c1fafa776f1372f8d948ea8ea756b", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/diagnostics.md": "0908a0eae53a2e10775a8b6ee3e3944b2fa410174402b5a1a8c98eb674dd4b4d", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/lifecycle.md": "107ebe3c22e5dba8007c3b8ea61149f10bc55c51b557a4230f3e5de859bb0f7c", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-ledger.json": "61e51a97ffd7c1fa7866bdd440b024d0c5e0065635ac8d0ba53d2c69c7f9e470", @@ -126,7 +126,12 @@ "method": "AREX scope/ground/construct/verify and repository evidence/usability methods adapted to InferRSI native owners and packaging; no DisCo runtime or managed import." }, "applicability": { - "scope": "Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 research prototype. CUDA catalog scope is content classification, not device or backend qualification." + "scope": "Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 research prototype. CUDA catalog scope is content classification, not device or backend qualification.", + "prerequisites": "Access to package/source identity and bounded restore traces, with preparation compatibility established before cache-state diagnosis. Running, freeing resources or changing configuration requires separate authority.", + "input_contract": "Execution ABI and prepared-contract version, ordinary/speculative configuration, model/layout identity, request IDs and consumed-token endpoints, GPU/host prefixes, continuation row, ticket/waiter identities, transfer events, fences and resource counts.", + "produced_artifact": "A checkpoint/ticket ownership table, five-outcome admission ledger and diagnosis identifying the earliest unsupported transition and smallest missing observation.", + "failure_modes": "A KV-only lookup hit can omit continuation state; admission can be mistaken for actual reuse; client cancellation can be mistaken for transfer completion; mixing absolute timestamps from client and native clocks can corrupt the diagnosis.", + "refusal_point": "Stop with an unresolved edge when package identity, layout, transfer completion or clock provenance is unknown." }, "limitations": [ "Source-only candidate; native Flare/model/GPU/service and skill efficacy were not evaluated.", @@ -139,14 +144,25 @@ "references/source-notes.md", "references/source-ledger.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Pair the immutable KV parent chain with the complete continuation row at the same consumed-token endpoint before calling a checkpoint restorable.", + "Distinguish lookup outcomes, destination reservation, ticket creation, transfer completion, publication and actual reused-token evidence.", + "Follow scheduler-owned tickets through waiter cancellation and check write/use fences before allowing storage reuse." + ] }, "applicability": { - "scope": "Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 research prototype. CUDA catalog scope is content classification, not device or backend qualification." + "scope": "Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 research prototype. CUDA catalog scope is content classification, not device or backend qualification.", + "prerequisites": "Access to package/source identity and bounded restore traces, with preparation compatibility established before cache-state diagnosis. Running, freeing resources or changing configuration requires separate authority.", + "input_contract": "Execution ABI and prepared-contract version, ordinary/speculative configuration, model/layout identity, request IDs and consumed-token endpoints, GPU/host prefixes, continuation row, ticket/waiter identities, transfer events, fences and resource counts.", + "produced_artifact": "A checkpoint/ticket ownership table, five-outcome admission ledger and diagnosis identifying the earliest unsupported transition and smallest missing observation.", + "failure_modes": "A KV-only lookup hit can omit continuation state; admission can be mistaken for actual reuse; client cancellation can be mistaken for transfer completion; mixing absolute timestamps from client and native clocks can corrupt the diagnosis.", + "refusal_point": "Stop with an unresolved edge when package identity, layout, transfer completion or clock provenance is unknown." }, "recommendations": [ - "Read the pinned SKILL.md and its prerequisites before choosing this procedure.", - "Read the packaged references and owner-local cases alongside the procedure." + "Pair the immutable KV parent chain with the complete continuation row at the same consumed-token endpoint before calling a checkpoint restorable.", + "Distinguish lookup outcomes, destination reservation, ticket creation, transfer completion, publication and actual reused-token evidence.", + "Follow scheduler-owned tickets through waiter cancellation and check write/use fences before allowing storage reuse." ], "limitations": [ "This generated abstract points to the complete packaged skill; external evidence and upstream repositories remain source links.", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/diagnose-attention-bottlenecks.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/diagnose-attention-bottlenecks.json index 6b1a774fd..9804a2927 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/diagnose-attention-bottlenecks.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/diagnose-attention-bottlenecks.json @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/host-overhead-profiling.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/host-overhead-profiling.json index f66551c70..a36f7f2f2 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/host-overhead-profiling.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/host-overhead-profiling.json @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/reason-hopper-kernels.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/reason-hopper-kernels.json index 7d3d5ae81..6ff557bab 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/reason-hopper-kernels.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/reason-hopper-kernels.json @@ -36,8 +36,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/fb4171e87b4c78d4d62c927f297374ed917949f5/src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", - "commit": "fb4171e87b4c78d4d62c927f297374ed917949f5", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1bada78556d695a01cf2bc3b0c117f65855cc177/src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", + "commit": "1bada78556d695a01cf2bc3b0c117f65855cc177", "paths": [ "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/metadata.json", diff --git a/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/metadata.json b/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/metadata.json index 81602cf6d..4d74a60c1 100644 --- a/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/metadata.json +++ b/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/metadata.json @@ -32,7 +32,12 @@ } ], "applicability": { - "scope": "FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin; inspect the actual caller contract." + "scope": "FluxPipeline and FlowMatchEulerDiscreteScheduler invocation ownership at this source pin; inspect the actual caller contract.", + "prerequisites": "Access to the pinned ownership path and an identified caller admission/serialization contract; other pipeline or scheduler classes need their own contracts.", + "input_contract": "Diffusers/PyTorch revisions, pipeline/scheduler classes and object identities, construction/from_pipe path, actual components, scheduler config and resolved timesteps/sigmas, shape/dtype, callback/interrupt timing, output/cleanup path and overlapping intervals.", + "produced_artifact": "An object-identity/ownership map and call-to-schedule-reset/step/interrupt/output/cleanup trace, the caller admission contract, one next check and actual evidence status.", + "failure_modes": "Assuming from_pipe deep-copies scheduler state, passing an enumeration index instead of a scheduler timestep, or treating cooperative iteration skipping as kernel cancellation/exception cleanup can misidentify invocation ownership.", + "refusal_point": "Stop when the ownership question is resolved or a required fixture/backend is absent; do not infer service-wide race or serialization behavior from this readset." }, "limitations": [ "Source-derived candidate; no installed API, native scheduler, model, concurrency or service validation.", @@ -42,5 +47,10 @@ "provenance_readsets": [ "references/source-map.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Check wrapper and scheduler identities explicitly and follow the effective schedule reset and step-index progression.", + "Trace interruption through its loop-boundary consumer and normal decode/cleanup tail while preserving the caller's existing shared-state serialization.", + "Use a real scheduler CPU check only for its scheduler cycle; keep pipeline reuse/interruption and serving claims tied to matching fixtures and execution evidence." + ] } diff --git a/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/metadata.json b/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/metadata.json index a3930b808..3b4b26ef7 100644 --- a/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/metadata.json +++ b/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/metadata.json @@ -42,7 +42,12 @@ } ], "applicability": { - "scope": "MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual backend separately." + "scope": "MLX evaluation/stream/buffer diagnosis at the pinned implementation; qualify the actual backend separately.", + "prerequisites": "Access to the pinned MLX execution/lifetime contract and a bounded reproduction with an identified evaluation/read boundary; device-dependent conclusions need the actual selected backend.", + "input_contract": "MLX revision/build, backend/device, Python/C++ entry, array shapes/dtypes, primitive streams, evaluation/read boundary and transformation context; timing needs warmup/work boundaries, while memory needs live references, in-flight buffers, allocator cache and synchronized observations.", + "produced_artifact": "A producer/evaluation/dependency-wait/backend/availability-cleanup trace, ownership table, observed symptom and one discriminating check with build-bound actual evidence status.", + "failure_modes": "Timing graph construction or submission as execution, assuming evaluated means completed, synchronizing only the default stream, or treating graph detachment/Python deletion as reusable storage can misdiagnose time or memory.", + "refusal_point": "Stop when the trace answers the question; if the required backend is absent, retain the source-supported diagnosis and exact runtime gap rather than substituting CPU import success." }, "limitations": [ "Source-derived candidate; no local native-backend, model, service or efficacy validation.", @@ -51,5 +56,10 @@ "provenance_readsets": [ "references/source-map.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Separate graph construction, async_eval submission, eval and host reads, and record which stream the measurement actually synchronizes.", + "Preserve the dependency-wait path and selected backend buffer-retention/donation contract before changing streams or assuming storage can be reused.", + "Distinguish live, in-flight and allocator-cached memory; inspect the real error/cleanup path before proposing a leak fix or hiding the failure." + ] } diff --git a/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/metadata.json b/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/metadata.json index 076ae8adc..ca690ae38 100644 --- a/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/metadata.json +++ b/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/metadata.json @@ -22,5 +22,18 @@ "provenance_readsets": [ "references/sources.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "Source-supported diagnosis of training-visible PyTorch DCP save pauses, snapshot/staging/upload lifetimes and bounded CPU staging-buffer reuse; distributed recovery validity and backend durability need separate evidence.", + "prerequisites": "Known correspondence between the installed PyTorch API and source/version notes, identified checkpointed-state mutation boundaries and an initial one-outstanding-save policy before overlap is considered.", + "input_contract": "Installed PyTorch revision, stager, storage writer and thread/process executor, checkpoint contents, ranks per host and state-mutation boundaries; performance assessment needs caller/staging/upload waits and host/resource observations.", + "produced_artifact": "A completion/lifetime diagnosis and smallest justified staging/cache/backpressure lever, with separate caller-pause, staging, upload and step-time measurements proposed for authorized validation.", + "failure_modes": "Mutating source state before staging completes, overwriting cached snapshots before prior upload completes, ignoring caller-side state_dict work or treating async return as durability can corrupt the snapshot or misstate the pause.", + "refusal_point": "Reject staging overlap that races checkpointed-state mutation; do not infer backend durability from asynchronous return or writer completion." + }, + "recommendations": [ + "Place the staging wait before the earliest mutation of any checkpointed state, including forward-mutated buffers rather than only optimizer.step.", + "Wait for the previous upload before reusing a stager's CPU storage; observe the final upload before closing caller-owned staging resources.", + "Measure checkpoint and intervening steps with the same state/cadence, retaining first-use and cached-buffer costs plus per-host memory and I/O pressure." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/metadata.json b/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/metadata.json index bd0e27521..7a0490096 100644 --- a/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/metadata.json @@ -41,7 +41,12 @@ } ], "applicability": { - "scope": "Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with compute_gate_on_attention=false. Repository identity afd_plugin; runtime/backend compatibility unverified." + "scope": "Source-based CUDA P2pNccl rank/payload audit; selected eager dense-FFN path with compute_gate_on_attention=false. Repository identity afd_plugin; runtime/backend compatibility unverified.", + "prerequisites": "Access to the pinned source ledger and caller-level evidence for the selected eager dense FFN path with Attention-side gating disabled; any proposed cross-stream reuse needs an established communicator completion contract.", + "input_contract": "Plugin and dependency revisions, connector and role, A/F worker counts, DP/PCP/TP coordinates, worker/device ranks, subgroup roster, stage, per-peer token counts, payload shape/dtype/device, transfer context and returned slices.", + "produced_artifact": "A bounded rank-namespace and per-peer payload ownership ledger, the earliest evidenced mismatch or missing edge, and a proposed verification plan.", + "failure_modes": "Inferring data peers from control senders, accepting equal total row counts despite a peer permutation, or treating an even-split fallback or Python return as proof of ownership/completion can produce a wrong exchange diagnosis.", + "refusal_point": "Stop on A < F, invalid role ranks, duplicate/missing assignments or an unresolved rank namespace; return the conflicting callers and ledger entries without inventing ranks or attributing the fault to networking." }, "limitations": [ "Source-derived candidate; native exchange, model quality, backend compatibility, performance and agent efficacy not_run.", @@ -56,5 +61,10 @@ "../../../methods/inference-benchmark-design/SKILL.md", "../../../methods/dense-performance-evidence/SKILL.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Record role, world and subgroup-local ranks separately; reconstruct the actual subgroup roster before interpreting send/receive peers.", + "Track distinct row identities and stage-specific peer lengths through concatenation and splitting; use same-total swapped lengths as a countercheck.", + "Establish the last communicator/stream completion obligation before reusing or releasing a receive buffer." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/comfy-ui/metadata.json b/src/inferrsi/data/skill_library/repositories/comfy-ui/metadata.json index 9399cc7d9..b37aeb6dc 100644 --- a/src/inferrsi/data/skill_library/repositories/comfy-ui/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/comfy-ui/metadata.json @@ -2,11 +2,19 @@ "profile": "local-skill-v1", "schema_version": 1, "kind": "skill", - "origin": ["external"], + "origin": [ + "external" + ], "status": "candidate", "empirical_validation": "not_run", "license": "GPL-3.0", - "tags": ["comfyui", "workflow", "cache-invalidation", "model-residency", "state-ownership"], + "tags": [ + "comfyui", + "workflow", + "cache-invalidation", + "model-residency", + "state-ownership" + ], "sources": [ { "type": "git", @@ -40,13 +48,25 @@ } ], "applicability": { - "scope": "Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm the actual revision, node registry, cache caller and static/dynamic patcher before transfer." + "scope": "Source-grounded ComfyUI workflow-output cache and model-weight ownership audit; confirm the actual revision, node registry, cache caller and static/dynamic patcher before transfer.", + "prerequisites": "Access to the pinned provenance and the actual node registry/cache caller; residency questions additionally require the concrete patcher and effective dynamic/static mode. Native memory conclusions need the actual backend.", + "input_contract": "Exact revision, API-format prompt/output targets, relevant node classes/constants/links/hidden inputs and external state, selected cache caller/mode and patcher settings, plus available execution/load/memory/timing observations.", + "produced_artifact": "A state/owner/key/lifetime/consumer ledger with invalidation or release events, evidence and unresolved boundaries, followed by a discriminating check and its actual result.", + "failure_modes": "Treating identical JSON as proof of unchanged external inputs, confusing eviction with key validity, or equating workflow cache hits with device-resident model weights can explain the wrong state contract.", + "refusal_point": "Stop when the cause/action is supported or required environment, backend or model resources are unavailable; do not manufacture a hit, hardware result or performance threshold." }, "limitations": [ "Source-derived candidate; no local executor-cache, device-residency or performance qualification.", "Seven self-authored cases exercised only the unchanged pure upstream graph_utils module; they do not verify PromptExecutor, cache signatures or model behavior.", "The dynamic native allocator and third-party custom-node behavior remain outside the verified scope." ], - "provenance_readsets": ["references/repo-provenance.md"], - "consumption_mode": "packaged" + "provenance_readsets": [ + "references/repo-provenance.md" + ], + "consumption_mode": "packaged", + "recommendations": [ + "Draw the affected dependency cone with declared, lazy and dynamically expanded links, then mark unfingerprinted external state unresolved.", + "Separate output/object cache validity and retention from patch identity, partial unload, full detach and allocator-visible release.", + "Change one test variable while fixing prompt, output target, model, backend, precision, seed and cache mode; check values and executed nodes before timing." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/metadata.json b/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/metadata.json index 9227b28c2..806dac0f3 100644 --- a/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/metadata.json @@ -39,7 +39,11 @@ "applicability": { "scope": "Decoders with an explicit producer/consumer boundary and a demonstrated dependency closure for compact query rows, including separately preserved historical state", "prerequisites": "A derived dependency closure; a full-length KV write at the boundary; known rollback depth; control over metadata construction", - "hardware": "Backend-independent retain arithmetic; window sizes, boundary index and ring lengths come from the model config and do not transfer" + "hardware": "Backend-independent retain arithmetic; window sizes, boundary index and ring lengths come from the model config and do not transfer", + "input_contract": "The actual producer/consumer split and transitive dependency closure, boundary index, window and rollback depth, consumer KV sharing/compression layout and separately preserved historical keys.", + "produced_artifact": "A dependency listing, enforced retain length, compact query/position/store-slot/visibility metadata, a separate historical-key retention statement and a diagnostic equivalence-reference mode.", + "failure_modes": "Applying window-plus-rollback without dependency closure, discarding full-layout state, clipping away the sampling row, or comparing across preemption can invalidate replay; compact queries do not imply historical keys were dropped.", + "refusal_point": "Stop if required consumer state is unavailable without a preserved full-length copy, the boundary representation cannot be captured, or comparison preemption moves the anchor. Do not use for clipped-region outputs or required bit-identical preemption replay." }, "limitations": [ "Source-derived candidate; no equivalence run was performed.", @@ -53,5 +57,10 @@ "references/source-notes.md", "references/validation.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Derive every consumer dependency before computing keep; preserve the required full-layout representation separately from the compact query rows.", + "Use the visibility-only diagnostic mode to isolate equivalence from row gathering, and retain one sampling row for a fully clipped chunk.", + "Check metadata at chunk/store boundaries, actual prompt-logprob handling and zero preemption during equivalence comparison." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/metadata.json b/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/metadata.json index 0d76d84cb..50d9822fa 100644 --- a/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/metadata.json @@ -37,7 +37,11 @@ "applicability": { "scope": "Engines with multi-token speculative decoding whose verification forward cost grows with query rows", "prerequisites": "A calibrated per-position acceptance signal; a measured (rows, step_time) curve; a handle on metadata construction", - "hardware": "Backend-independent procedure; the reference implementation targets NVIDIA SM100 and Ascend 950 only" + "hardware": "Backend-independent procedure; the reference implementation targets NVIDIA SM100 and Ascend 950 only", + "input_contract": "Draft width and row representation, the defined individual/conditional versus cumulative acceptance semantics, verify rows/time curve, sampler cost and acceptance round actually available at schedule time.", + "produced_artifact": "A per-step verification row budget, per-request query lengths from one through draft_width plus one, cumulative acceptance vectors and predicted-versus-realized acceptance error logs.", + "failure_modes": "Confusing verification savings with reduced drafting, misreading confidence semantics or available rounds, allowing later-position confidence to select an earlier token, or generating non-prefix grants can invalidate the budget or sampling claim.", + "refusal_point": "Stop if unthrottled drafting or sampler cost dominates, the signal cannot be made cumulative, or no round supplies acceptance estimates; the procedure also does not apply without a per-step cost model." }, "limitations": [ "Source-derived candidate; no local efficacy validation and no reproduced gain.", @@ -52,5 +56,10 @@ "references/source-notes.md", "references/validation.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Measure draft, verify and sampler costs separately and fit the verify curve for graph sizes that will actually replay.", + "Preserve the one-row floor and prefix grants, and audit CPU/GPU allocation timing against the per-position decision-independence contract.", + "Report verification rows, accepted tokens, total step time and throughput separately; use an independently specified sampling oracle rather than requiring unchanged accepted length." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/dwarfstar/metadata.json b/src/inferrsi/data/skill_library/repositories/dwarfstar/metadata.json index 1bebef173..a8f11e400 100644 --- a/src/inferrsi/data/skill_library/repositories/dwarfstar/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/dwarfstar/metadata.json @@ -73,7 +73,12 @@ "method": "User-approved native C adaptation and partial drafting; manual stable-ID subskill orchestration and integrated create/verify stages. Required-backend blocks disable automatic admission." }, "applicability": { - "scope": "Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support or cross-backend qualification." + "scope": "Pinned DwarfStar source investigation and experiment planning; not arbitrary GGUF support or cross-backend qualification.", + "prerequisites": "Access to the pinned native-source contract and relevant memory/state/qualification route; native verification needs a compatible build, matching hardware/weights and task-specific execution authority.", + "input_contract": "Engine revision/patches, actual model artifact/representation, selected backend/build and topology, memory/storage budget, context/chunk/session count, image inputs, sampling/speculation policy, cache state and quality/service requirements.", + "produced_artifact": "A bounded executing-tuple report with observed signal, source-backed mechanism, alternate explanation, proposed falsifier, actual check outcome and unresolved backend/model/service gap.", + "failure_modes": "Inferring model support from flags, aliases, file mapping or quantization names can select the wrong graph; treating CPU bookkeeping or parser checks as native backend/service qualification can overstate the result.", + "refusal_point": "Stop at unavailable hardware/weights, unsafe exposure or the authorized budget; retain memory-guard refusals rather than disabling the guard to claim fit." }, "limitations": [ "Metal/CUDA/ROCm inference, actual model output, SSD runtime I/O, GPU recurrent rollback, physical distributed behavior, service quality/performance and skill efficacy remain unverified.", @@ -85,5 +90,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Choose the memory, serving-state or qualification route by the observed symptom and identify the owner, validity key and release/rollback boundary.", + "Freeze comparison controls, test the smallest invariant first and retain fallback messages, cancellations, refusals and unavailable fixtures.", + "Base model support on the actual loaded artifact and graph; use native backend evidence for model, tensor-parallel or service conclusions." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/metadata.json b/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/metadata.json index b8aaa2891..f433264e6 100644 --- a/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/metadata.json @@ -63,7 +63,12 @@ "method": "AREX scope/ground/construct/verify and repository evidence/usability methods adapted to InferRSI native owners and packaging; no DisCo runtime or managed import." }, "applicability": { - "scope": "Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 research prototype. CUDA catalog scope is content classification, not device or backend qualification." + "scope": "Pinned Flare complete-session restore and admission audit for its NVIDIA SM120/SM121 research prototype. CUDA catalog scope is content classification, not device or backend qualification.", + "prerequisites": "Access to package/source identity and bounded restore traces, with preparation compatibility established before cache-state diagnosis. Running, freeing resources or changing configuration requires separate authority.", + "input_contract": "Execution ABI and prepared-contract version, ordinary/speculative configuration, model/layout identity, request IDs and consumed-token endpoints, GPU/host prefixes, continuation row, ticket/waiter identities, transfer events, fences and resource counts.", + "produced_artifact": "A checkpoint/ticket ownership table, five-outcome admission ledger and diagnosis identifying the earliest unsupported transition and smallest missing observation.", + "failure_modes": "A KV-only lookup hit can omit continuation state; admission can be mistaken for actual reuse; client cancellation can be mistaken for transfer completion; mixing absolute timestamps from client and native clocks can corrupt the diagnosis.", + "refusal_point": "Stop with an unresolved edge when package identity, layout, transfer completion or clock provenance is unknown." }, "limitations": [ "Source-only candidate; native Flare/model/GPU/service and skill efficacy were not evaluated.", @@ -76,5 +81,10 @@ "references/source-notes.md", "references/source-ledger.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Pair the immutable KV parent chain with the complete continuation row at the same consumed-token endpoint before calling a checkpoint restorable.", + "Distinguish lookup outcomes, destination reservation, ticket creation, transfer completion, publication and actual reused-token evidence.", + "Follow scheduler-owned tickets through waiter cancellation and check write/use fences before allowing storage reuse." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/metadata.json b/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/metadata.json index 3128ce37e..b026cebf4 100644 --- a/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/metadata.json @@ -105,7 +105,12 @@ "method": "Manual pinned-source distillation informed by the existing Repo-To-Skill ledger; no AREX/DisCo execution or behavioral efficacy claim." }, "applicability": { - "scope": "MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input encoders, schedule precompute, phased/cached residency, numerical controls and SSD streaming on Apple Silicon. Common catalog placement is a discovery classification, not cross-backend qualification." + "scope": "MiniMax-H3 joint audio/video C/Metal runtime audit: raw checkpoint compatibility, input encoders, schedule precompute, phased/cached residency, numerical controls and SSD streaming on Apple Silicon. Common catalog placement is a discovery classification, not cross-backend qualification.", + "prerequisites": "Access to the pinned source architecture and selected component/format inventory; native checks need matching model, fixture and backend resources within an authorized experiment budget.", + "input_contract": "Runtime revision/patches, macOS/SDK/GPU and memory budget, FL2VA/Ref2VA selection, component formats, prompt and ordered media, requested/aligned frames, canvases, steps/seed, layer/reuse/token/precision policies and preview/interactive-cache state.", + "produced_artifact": "A phase/component/owner ledger with resident weights, runtime/host buffers, overlap, release/reuse boundaries and observations/unknowns, followed by a discriminating check, actual result and remaining gap.", + "failure_modes": "Estimating fit from model-file bytes, confusing runtime int8 with incompatible MLX bundles, ignoring preview/cache overlap, or reducing DiT residency to address a VAE/host-output peak can produce a wrong capacity diagnosis.", + "refusal_point": "Stop at unavailable model/fixture/backend resources or the accepted experiment budget; missing target evidence remains unverified/INCONCLUSIVE." }, "limitations": [ "Native h3.c/Metal execution, target peak memory, audio/video quality, performance, service behavior and skill efficacy were not run.", @@ -119,5 +124,10 @@ "references/source-identity.json", "references/minimax-h3-weight-inventory.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve the actual conditioning and output components before counting residency; do not add alternative checkpoints or count shared files twice.", + "Trace one-shot, preview and interactive ownership separately, including AdaLN schedule dependencies and prepared-cache reset boundaries.", + "Classify approximation and precision controls before comparison, then measure the relevant phase with tensor, physical/compressed/swap and storage observations." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/metadata.json b/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/metadata.json index 647cdc29d..2a83f4b35 100644 --- a/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/metadata.json @@ -77,7 +77,12 @@ "method": "Bounded fork-specific source audit, bundled selected-declaration helper and assertion-backed cases. Native Apple/Metal/model evidence remains blocked; no numerical/performance/skill-efficacy claim." }, "applicability": { - "scope": "h3-metal FastH3 requested/effective configuration, checkpoint transformation and schedule/RoPE semantics, VSA prefix/partial tiles and dispatch/fallback audit. Common catalog placement is discovery, not CPU inference or Apple qualification." + "scope": "h3-metal FastH3 requested/effective configuration, checkpoint transformation and schedule/RoPE semantics, VSA prefix/partial tiles and dispatch/fallback audit. Common catalog placement is discovery, not CPU inference or Apple qualification.", + "prerequisites": "Access to the fork-specific source and semantic contracts; native checks additionally need their matching Metal/model resources and separate execution authority.", + "input_contract": "Source revision/patches, requested parameters and explicitly captured environment controls, checkpoint path/key-family/config identity, requested/aligned frames, latent dimensions, packed prefix segments and sparse-pipeline availability or unknown.", + "produced_artifact": "A ledger of requested and normalized parameters, ambient overrides, source invariants, counterexamples, observed/unknown facts and the smallest discriminating next check.", + "failure_modes": "Ignoring ambient overrides, mixing checkpoint identity switches, using global rather than per-head Q/K/V concatenation, pooling padded boundary rows, or double-adding coarse attention can invalidate the semantic audit.", + "refusal_point": "Stop on conflicting configuration, mixed checkpoint identity, missing resources or the authorized boundary; name the missing native test/fixture and leave it blocked/not_run." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: native Apple/Metal, actual FastH3 checkpoint/schedule/sparse parity, audio/video quality, target memory fit, performance and service evidence not_run.", @@ -92,5 +97,10 @@ "references/source-identity.json", "references/repo-provenance.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Record requested parameters, normalized values and later environment overrides separately, including requested versus aligned frame counts.", + "Audit checkpoint transformations and schedule consumers beyond tensor names/shapes; tiny permutation fixtures can falsify mappings but do not establish model parity.", + "Resolve sparse eligibility and the dense-fine-plus-gated-coarse fallback explicitly; preserve unknown pipeline availability." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/husky/metadata.json b/src/inferrsi/data/skill_library/repositories/husky/metadata.json index 62f34816d..378a5062b 100644 --- a/src/inferrsi/data/skill_library/repositories/husky/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/husky/metadata.json @@ -1,11 +1,18 @@ { "schema_version": 1, "kind": "skill", - "origin": ["external"], + "origin": [ + "external" + ], "status": "candidate", "empirical_validation": "not_run", "license": "NO_LICENSE", - "tags": ["husky", "document-research", "evidence-qualification", "negative-results"], + "tags": [ + "husky", + "document-research", + "evidence-qualification", + "negative-results" + ], "sources": [ { "type": "document", @@ -37,7 +44,12 @@ "method": "Single coherent research workflow, bounded source summary, original verification questions and offline schema checks. Repository/environment/native stages remain unavailable." }, "applicability": { - "scope": "Review Husky document claims and specify missing evidence; common catalog scope is not inference backend compatibility." + "scope": "Review Husky document claims and specify missing evidence; common catalog scope is not inference backend compatibility.", + "prerequisites": "Access to the bounded official-document inventory and verification protocol; implementation and native reproduction remain unavailable until separately supplied and authenticated.", + "input_contract": "The exact claim, source/view date, workload and comparison intent, supporting evidence classes and available implementation/model/output/measurement artifacts; unknown identity, licensing and availability remain explicit.", + "produced_artifact": "A reviewable claim/evidence request recording source availability, mechanism hypothesis, counter-signal, missing identities/artifacts, proposed falsifying check and actual result or bounded INCONCLUSIVE conclusion.", + "failure_modes": "Treating a public-page reading as code inspection, proposed extensions as shipped behavior, summed independent ratios as one gain, or a structurally valid self-reported card as authentic evidence can overstate qualification.", + "refusal_point": "Stop at missing source/receipts, unsafe or private data, unsupported resources or the authorized budget; unavailable artifacts yield an unverified/INCONCLUSIVE research conclusion." }, "limitations": [ "No canonical public repository, implementation revision, retained receipts or source-code license was identified; unknowns remain unknown.", @@ -47,6 +59,14 @@ "NO_LICENSE is the unavailable repository-license resolver result, not a legal absence finding or grant to copy publisher material.", "Final informed candidate admission is separate; no automatic import, native qualification or skill efficacy is claimed." ], - "provenance_readsets": ["references/repo-provenance.md", "references/source-availability.json"], - "consumption_mode": "packaged" + "provenance_readsets": [ + "references/repo-provenance.md", + "references/source-availability.json" + ], + "consumption_mode": "packaged", + "recommendations": [ + "Separate author reports, inspected implementation, executed experiments and new interpretations, including negative findings and future work.", + "Request immutable identities and artifacts, then state one mechanism, competing explanation and smallest ablation with frozen semantic requirements.", + "Use the offline card auditor only to identify structural gaps; it authenticates neither artifacts nor execution and leaves qualification unadjudicated." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/lily/metadata.json b/src/inferrsi/data/skill_library/repositories/lily/metadata.json index c4088431e..e986edc1e 100644 --- a/src/inferrsi/data/skill_library/repositories/lily/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/lily/metadata.json @@ -90,7 +90,12 @@ "method": "User-approved native Rust/Metal and partial drafting adaptation; stable-ID lanes, integrated source graph and assertion/helper verification. Missing compiler/backend/checkpoint remains explicit." }, "applicability": { - "scope": "Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog classification is not CPU inference or cross-device support." + "scope": "Exact Lily source/checkpoint/layout/API/cache/qualification investigation; common catalog classification is not CPU inference or cross-device support.", + "prerequisites": "Access to the exact Lily source/model-layout/API contracts; native checks require the matching Rust/Metal/checkpoint environment and frozen comparison requirements.", + "input_contract": "Source revision, Cargo lock/toolchain, macOS/chip/GPU family, checkpoint and tensor payload identities, affine configuration/layout, tokenizer/template/stops, sequence/output budgets, greedy policy, input history, prefix-cache state and quality/measurement requirements.", + "produced_artifact": "A source/model/device-bound representation, serving-cache or qualification diagnosis with the observation, invariant, alternate cause, smallest falsifier, actual result and remaining native gap.", + "failure_modes": "Equal bit width, file size, API names or prompt_cache_key do not establish tensor/token/state equivalence; ignoring the extra lookahead slot can understate request capacity, and green CPU references do not replace matched-model Metal goldens.", + "refusal_point": "Stop at unsupported formats/APIs, missing compiler/backend/checkpoint, unfrozen gates or the authorized budget; do not weaken ignored/golden tests to obtain a green result." }, "limitations": [ "Cargo/Rust1.92, supported M5/macOS26/Metal and model resources are unavailable; native evidence remains BLOCKED_REQUIRED_BACKEND.", @@ -103,5 +108,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve exact affine representation and strict API semantics, then trace token frontier, cache key and restore/release ownership.", + "Retain the source's extra request lookahead slot in capacity arithmetic rather than counting only prompt and visible output.", + "Separate reported benchmark version from the checked-out runner and distinguish offline screening, native compilation, Metal operators and matched-model goldens." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/lithos-metal/metadata.json b/src/inferrsi/data/skill_library/repositories/lithos-metal/metadata.json index 6136acb38..5c1dc9cf4 100644 --- a/src/inferrsi/data/skill_library/repositories/lithos-metal/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/lithos-metal/metadata.json @@ -45,7 +45,11 @@ } ], "applicability": { - "scope": "Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and recipe qualification required separately." + "scope": "Pinned Lithos Metal 0.1.2 source/API contracts; Apple silicon Metal runtime; model and recipe qualification required separately.", + "prerequisites": "Access to the pinned package/API and selected compiler, generation or serving contracts; revision/API drift needs a fresh bounded inspection, and efficacy claims need campaign-owned gates and matching native/model evidence.", + "input_contract": "Actual source/package version, backend/configuration, chip/core count and OS, target/draft checkpoint identities, context and prompt-token IDs, sampling/numerical options and the affected recipe/runtime/session/cache boundary.", + "produced_artifact": "A routed region/dependency, committed-state or cache-identity/lifecycle ledger, followed by the smallest supported finding, missing checks and next bounded action.", + "failure_modes": "Treating session adoption/cache hits as generation correctness, fewer dispatches as faster rounds, another chip recipe as the default, CPU cache checks as GPU rollback or health liveness as loaded/warm model state can yield unsupported conclusions." }, "limitations": [ "Source-derived candidate; empirical efficacy validation not_run.", @@ -60,5 +64,10 @@ "disable-model-invocation": true, "metadata": { "disco-role": "operating" - } + }, + "recommendations": [ + "Follow session replacement across recipe geometry, committed generation state and serving adoption/cache identity before interpreting a cache hit.", + "Keep an unfused/native or target-only control with matching decoded weights, numerical mode, row bounds and sampling policy; verify dependencies and persistent state before timing.", + "Distinguish package/CPU checks, synthetic Metal execution, model continuation and HTTP workload evidence; chip recipes and target-compute projections do not establish another device or E2E rate." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/metadata.json b/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/metadata.json index f102d8ecd..bd071221d 100644 --- a/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/metadata.json @@ -1,11 +1,20 @@ { - "tags": ["llama.cpp", "context", "state", "graph-reuse", "cancellation", "correctness"], + "tags": [ + "llama.cpp", + "context", + "state", + "graph-reuse", + "cancellation", + "correctness" + ], "status": "candidate", "empirical_validation": "not_run", "profile": "local-skill-v1", "schema_version": 1, "kind": "skill", - "origin": ["external"], + "origin": [ + "external" + ], "sources": [ { "type": "git", @@ -36,13 +45,25 @@ } ], "applicability": { - "scope": "Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis; concrete model/backend behavior requires native validation." + "scope": "Pinned llama.cpp context-memory, graph-reuse and server task-lifecycle diagnosis; concrete model/backend behavior requires native validation.", + "prerequisites": "Pinned llama.cpp source or a concrete runtime trace, access to the relevant memory/graph/server ownership evidence and an identified caller recovery policy that remains in force.", + "input_contract": "Source/build and model revisions, memory type, actual backend/device and execution mode, context/batch/ubatch parameters, sequence IDs/positions/output flags and return status; graph cases need dispatch evidence, server cases need correlated HTTP/task/slot/cache logs.", + "produced_artifact": "An owner/event ledger of ubatch progress, retained memory, graph-gate decisions, input readiness and slot release/retention, with the first supported broken obligation or smallest missing observation.", + "failure_modes": "Assuming whole-batch rollback after partial decode failure, treating token count as a complete graph-reuse key, or equating posted cancellation with released slots can hide retained state or misdiagnose correct deferred work.", + "refusal_point": "Stop before reset or repair if revision, memory type, actual backend, sequence ownership or partial progress is unknown; escalate unsupported rollback or unresolved in-flight work." }, "limitations": [ "Source-derived candidate; native runtime and efficacy validation not run.", "No cross-backend preemption, model-quality or performance claim.", "KV, recurrent and hybrid state contracts must be checked independently." ], - "provenance_readsets": ["references/source-notes.md"], - "consumption_mode": "packaged" + "provenance_readsets": [ + "references/source-notes.md" + ], + "consumption_mode": "packaged", + "recommendations": [ + "Reconcile per-sequence retained positions with completed ubatches before retrying a failed logical batch.", + "Check both graph allow_reuse and input can_reuse gates, then establish copy readiness independently of graph identity.", + "Trace cancellation posting, normal task processing, slot release and prompt retention as separate events." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json b/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json index 590c0f707..3f383464b 100644 --- a/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json @@ -21,5 +21,17 @@ "Original typed source inventory is not normalized; retain source identities and limits in the procedure/readsets." ], "provenance_readsets": [], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "LMCache multiprocess runtime KV tier policy across engine GPU cache, host L1 and configured L2 adapters, covering store/retention, prefetch admission, eviction and RAM pressure; startup loading and checkpoint recovery have separate owners.", + "prerequisites": "The deployment uses the inspected MP-mode semantics rather than single-process knobs; selected GDS/DAX/raw-block paths need their own platform and adapter prerequisites. Lazy offload additionally requires vLLM prefix caching.", + "input_contract": "MP versus single-process mode, store/retention policy and rationale, L1 manager capacities and eviction settings, L2 adapter capacities/eviction, chunk-size distribution and prefetch in-flight setting, together with token-level hit and pressure counters.", + "produced_artifact": "A mode- and adapter-specific tier-policy choice with retention rationale, an ordered RAM-release plan and a verification record separating L1/L2 token hits, prefetch pressure, store lag and per-manager usage.", + "failure_modes": "Mixing MP and in-process controls, treating key-count eviction as a byte fraction for unequal chunks, omitting fs capacity management, or increasing count-based prefetch admission without tracking L1 pressure can make the policy or memory claim unusable." + }, + "recommendations": [ + "Choose store retention and prefetched-key retention separately; use skip_l1 with noop only for buffer-only operation and account for failed stores remaining in L1.", + "Tune the count-based prefetch in-flight limit against L1 allocation failures and in-flight bytes; eager or warm prefetch can raise pressure before useful reuse.", + "Record per-adapter capacity/eviction and actual chunk-size uniformity; report token-level L1/L2 hits and sum per-l1_tag bytes rather than ratios." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/local-dream/metadata.json b/src/inferrsi/data/skill_library/repositories/local-dream/metadata.json index 7cc15f18b..4f846892c 100644 --- a/src/inferrsi/data/skill_library/repositories/local-dream/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/local-dream/metadata.json @@ -83,7 +83,11 @@ } ], "applicability": { - "scope": "Selected Android app/process and native diffusion boundary contracts; common is a discovery category, not CPU/device compatibility or native qualification." + "scope": "Selected Android app/process and native diffusion boundary contracts; common is a discovery category, not CPU/device compatibility or native qualification.", + "prerequisites": "Access to the pinned Android lifecycle/native/packaging contracts and identified installed artifacts; stronger conclusions require an authorized, frozen workload on the actual selected Android/ARM64 backend.", + "input_contract": "Source revision, installed APK/version/flavor/ABI, native executable and loaded DiT library, QNN/Hexagon/MNN builds, model/export/weights/tokenizer identities, requested and serving configuration, and lifecycle/readiness/generation/cache observations.", + "produced_artifact": "A bounded failed-boundary report with counter-signals, identities observed versus declared, the smallest missing discriminator and retained INCONCLUSIVE native scope.", + "failure_modes": "Reading UI flags or equal declared configurations as actual dispatch/readiness, treating cancellation/SSE progress as native completion, or interpreting model-directory caches as authenticated model-revision namespaces can misidentify stale state." }, "limitations": [ "Source-derived candidate; required Android ARM64/MNN/QNN/Hexagon/model execution BLOCKED_REQUIRED_BACKEND / not_run; qualification INCONCLUSIVE.", @@ -98,5 +102,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Compare requested and serving model/backend/dimensions/bind address through stop/reopen and health observations; never enable host mode as a diagnostic default.", + "Trace the actual MNN/QNN/Anima/DiT path and separate native library/ABI identity from UI runOnCpu flags and declared SDK labels.", + "Keep progress, cancellation, native completion, release and saved final output separate; check prompt-cache mode/version/dimensions and textual-inversion caller guards before proposing cache changes." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/mistral-rs/metadata.json b/src/inferrsi/data/skill_library/repositories/mistral-rs/metadata.json index 8da66c1d2..6eab1ae7f 100644 --- a/src/inferrsi/data/skill_library/repositories/mistral-rs/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/mistral-rs/metadata.json @@ -75,7 +75,11 @@ "method": "Stable-ID bounded decode/prefill/qualification author lanes, whole-graph reconciliation, hard cases and offline helper/static/scaffold/wheel checks; compiler and actual Apple evidence not_run." }, "applicability": { - "scope": "Selected native Metal paged decode/prefill layout/metadata/workspace and preparation/evidence investigation. Common catalog categorization is not CPU inference or hardware certification." + "scope": "Selected native Metal paged decode/prefill layout/metadata/workspace and preparation/evidence investigation. Common catalog categorization is not CPU inference or hardware certification.", + "prerequisites": "Access to the pinned Rust/Candle/MSL decode, prefill and qualification contracts; native comparisons need the matched Rust/Apple/Candle/shader stack and separately authorized frozen references.", + "input_contract": "mistral.rs/Candle/native artifact revisions, Rust toolchain, Apple SDK/OS/device, actual model/cache dtype and representation, shape/strides/offsets, block table, context and execution limits.", + "produced_artifact": "A source/build-bound route and invariant report with actual versus declared facts, safe support result, counter-signal and smallest next native check; unavailable Metal/kernel/model evidence remains blocked.", + "failure_modes": "Equating element counts with physical alias/layout identity, transferring decode geometry to prefill, or treating prewarm/pipeline preparation as actual dispatch can misclassify eligibility and native correctness." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: actual Rust/Candle/Apple Metal compilation, native tensor/cache/dispatch/parity/model/quality/service/performance evidence not_run.", @@ -88,5 +92,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Select decode, prefill or qualification by the failed contract, then follow cache/metadata bytes from producer through view to native consumer.", + "Keep static predicates, pipeline preparation, kernel dispatch, numerical correctness and model/service outcomes as separate evidence steps; retain skipped or gated tests.", + "Use the matched Candle revision and native shader/build inputs; broad workspace tests can require model fixtures, tokens and downloads." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/mlc-llm/metadata.json b/src/inferrsi/data/skill_library/repositories/mlc-llm/metadata.json index 4c1955b50..bc539b634 100644 --- a/src/inferrsi/data/skill_library/repositories/mlc-llm/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/mlc-llm/metadata.json @@ -79,7 +79,11 @@ } ], "applicability": { - "scope": "Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source contracts. Common catalog categorization is not CPU inference or Apple qualification." + "scope": "Selected artifact/Apple target/pinned TVM Metal consumer and KV configuration source contracts. Common catalog categorization is not CPU inference or Apple qualification.", + "prerequisites": "Access to the pinned MLC and exact TVM fork/gitlink contracts; native checks require separately prepared matching MLC/TVM/FFI and the applicable Apple SDK/device stack.", + "input_contract": "MLC revision, TVM gitlink/build, model/tokenizer/quantized-parameter identity, target/host/SDK, compiled artifact/format, runtime device and the actual compiled/runtime configuration sources.", + "produced_artifact": "An identity and actual-versus-declared boundary report for artifact, Metal runtime or KV-limit ownership, with a negative signal and smallest missing native discriminator.", + "failure_modes": "Treating a schema hash as payload authentication, an opt-in WebLLM artifact contract as a native-engine ABI, serializable Metal fallback as runnable, or automatic capacity estimates as free memory can create unsupported qualification claims." }, "limitations": [ "Source-derived candidate; original compiled CPU/native tests, compiler/live API/CLI/model/Metal/fit/quality/service/performance execution not_run; required native BLOCKED_REQUIRED_BACKEND.", @@ -93,5 +97,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Identify the interface's actual consumer before using a valid artifact manifest as evidence of native model/task support.", + "Separate codegen/export from runtime factory/load, pipeline creation, dispatch and stream completion; a serializable kind=metal fallback can still be non-runnable.", + "Trace runtime preference, compile-time bounds, nested workspace inputs and explicit overrides separately before interpreting a KV or working-set estimate." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/metadata.json b/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/metadata.json index 1bbf2db98..e334dedd1 100644 --- a/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/metadata.json @@ -35,7 +35,12 @@ } ], "applicability": { - "scope": "MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime compatibility requires separate qualification." + "scope": "MLX-LM generation, batch-row and prefix-cache diagnosis; model/backend/runtime compatibility requires separate qualification.", + "prerequisites": "Access to the independently pinned MLX-LM generation/cache contracts and the selected entry path; model, backend and runtime compatibility is separately established for any native claim.", + "input_contract": "MLX-LM/MLX revisions and builds, backend/device, model/tokenizer/adapter/draft identities, entry point, tokenized prompts, cache classes, batching/prefill limits, per-request sampling/processors/stops, seed and KV quantization; failure traces include UIDs, stages, lengths, terminal reason and next-request result.", + "produced_artifact": "An entry-path decision, UID/stage/cache-row table, prefix identity and cache-class assumptions, terminal/cleanup trace and actual evidence status with a targeted verification plan.", + "failure_modes": "Ignoring server batching gates, filtering only some per-request row state, reusing a text-only prefix key or treating a stop flag as immediate MLX work cancellation can corrupt lifecycle reasoning.", + "refusal_point": "Stop at the first unsupported contract or missing required fixture/backend; retain a targeted plan without inferring paged allocation, radix sharing or instantaneous prefill interruption." }, "limitations": [ "Source-derived candidate; no local native-backend, model, service or efficacy validation.", @@ -44,5 +49,10 @@ "provenance_readsets": [ "references/source-map.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve the library versus server entry and its batching gates before transferring BatchGenerator behavior.", + "Keep UID, caches, tokens, samplers, processors, lengths, stop matchers and pending outputs aligned under the same removal selection, including prompt-stage requests.", + "Check exact token/model/adapter/draft identity and cache-type copy/trim semantics, then trace cooperative removal through survivor and next-request behavior." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/metadata.json b/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/metadata.json index 20155fa4d..9c63f32f5 100644 --- a/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/metadata.json @@ -86,7 +86,11 @@ "method": "Stable-ID lifecycle and recurrent-kernel author lanes, integrated root/local references, hard cases and offline support/static/scaffold/package checks; native Swift/Xcode/MLX compiler/tests not_run." }, "applicability": { - "scope": "Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts. Common categorization is not CPU inference or Apple qualification." + "scope": "Selected Swift ownership/cancellation/settling and actual GatedDelta Metal/ops contracts. Common categorization is not CPU inference or Apple qualification.", + "prerequisites": "Access to the Swift lifecycle and selected GatedDelta contracts, with resolved MLX/native identities for a comparison; native checks require a prepared matching Swift/Xcode/Apple stack and separate authorization.", + "input_contract": "Exact source revision, resolved Swift/MLX dependencies, Xcode/SDK/OS/device, API family and native artifact identity; the selected question supplies lifecycle ownership/completion observations or recurrent producer shape/dtype/layout and actual consumer/fallback.", + "produced_artifact": "An identity and actual-versus-declared report for generation ownership or recurrent kernel invariants, with safe support result, counter-signal and smallest separately authorized native check.", + "failure_modes": "Conflating lexical isolation with exclusive access across await or completed task join, treating useKernel as observed dispatch, calling an ops fallback CPU execution, or assuming a manifest range is a resolved dependency can invalidate the conclusion." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: native Swift/MLX compiler, host-control tests and required Apple Metal cancellation/backgrounding/kernel/cache/model/fit/quality/service/performance evidence not_run.", @@ -100,5 +104,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve mutable-context/cache ownership and task settlement separately from lexical isolation and queued GPU work before cache reuse or producer shutdown.", + "Follow recurrent shape/dtype/layout to the actual Metal or ops consumer; predicate eligibility and useKernel alone do not prove dispatch.", + "Record the actual dependency resolution and use the documented Xcode macOS test route; the source states swift test does not work for this package." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/project-maya/metadata.json b/src/inferrsi/data/skill_library/repositories/project-maya/metadata.json index 328798e0c..46142880b 100644 --- a/src/inferrsi/data/skill_library/repositories/project-maya/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/project-maya/metadata.json @@ -132,7 +132,12 @@ "method": "Stable-ID isolated author lanes, integrated runtime graph, assertion/helper/static and selected direct-compiler CPU verification; required accelerator/model blocks retained." }, "applicability": { - "scope": "Model-specific dispatch/residency, API/native state and qualification investigation. Common catalog placement is not CPU inference or cross-device certification." + "scope": "Model-specific dispatch/residency, API/native state and qualification investigation. Common catalog placement is not CPU inference or cross-device certification.", + "prerequisites": "Access to the selected model-family runtime/state/qualification contract; native changes need frozen correctness/comparison requirements and the matching authorized CUDA/HIP/model resources.", + "input_contract": "Full source revision, actual executable/model family, model and asset identities, representation, compiler/runtime/device, rendered workload, sampling policy, single/parallel route, exact tokens/images and relevant completion observations.", + "produced_artifact": "A route/identity/evidence-class report with invariant, proposed check, actual result, counter-signal, missing resource and next authorized action; missing native requirements remain INCONCLUSIVE.", + "failure_modes": "Transferring coverage through a common facade or quantization name, confusing API history with native KV/private state, double-counting unified RAM/VRAM, or repairing a slot header to appear compatible can invalidate diagnosis.", + "refusal_point": "When required CUDA/HIP/model evidence is unavailable, retain BLOCKED_REQUIRED_BACKEND and an unverified/INCONCLUSIVE conclusion; exit-zero skips or CPU simulations cannot clear it." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: no actual CUDA/HIP/model/device, quantized payload, vision, parallel/state/restore or cancellation-cleanup evidence.", @@ -145,5 +150,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Select the family-specific route and preserve the explicitly shallow Qwen coverage rather than transferring deeper GLM/DeepSeek/MiniMax evidence.", + "Separate shared weights, private conversation state, API history and native KV; count unified physical memory once.", + "Preserve exact token/image identities and completion boundaries before reuse, then test one falsifiable hypothesis without modifying slot headers to bypass compatibility." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json b/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json index 25375769a..0b7873ee8 100644 --- a/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json @@ -50,7 +50,12 @@ } ], "applicability": { - "scope": "Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual backend/model behavior requires native validation." + "scope": "Bounded monolithic multimodal_gen composed-pipeline state and lifecycle diagnosis; actual backend/model behavior requires native validation.", + "prerequisites": "Pinned source or a concrete trace of the selected composed-pipeline executor and installed residency manager, with the applicable monolithic route identified.", + "input_contract": "Source/build, backend and executor/pipeline class, model revision, modality/shape, steps/scheduler/seed/output count, grouped/serial route, ranks, placement, warmup/save settings and symptom; timeout cases need correlated request/job and client/scheduler/worker events.", + "produced_artifact": "A version-bound owner/event ledger, first unresolved boundary, causal hypothesis, smallest real discriminating check, exact results and missing dependencies.", + "failure_modes": "Assuming all executors share the SyncExecutor contract, treating closed component use as eviction, assuming grouped schedulers are isolated, or reading socket close/job deletion as stopped device compute can misdiagnose ownership.", + "refusal_point": "Stop performance claims when the executing path, cleanup or output quality is unresolved; retain the failure and a known baseline rather than inferring a blanket leak or safety conclusion." }, "limitations": [ "Source-derived candidate; upstream runtime and efficacy validation not run.", @@ -60,5 +65,10 @@ "provenance_readsets": [ "references/source-notes.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Trace the actual executor and separate request, stage, component-use, module, scheduler, finalizer and allocator-cache lifetimes.", + "Check scheduler aliases and declared output-copy policies before introducing overlap; compare real serial/grouped outputs with fixed timesteps and seeds.", + "Correlate worker, finalizer and device completion after client timeout or deletion; preserve an unknown execution outcome until that evidence exists." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/splash/metadata.json b/src/inferrsi/data/skill_library/repositories/splash/metadata.json index c851c0bdd..81cb03e26 100644 --- a/src/inferrsi/data/skill_library/repositories/splash/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/splash/metadata.json @@ -102,7 +102,12 @@ "method": "User-approved native Metal/C++ and isolated source-Python adaptation; stable-ID lanes, integrated graph, assertion cases and create/verify stages. Required-backend block disables automatic admission." }, "applicability": { - "scope": "Pinned Splash representation, planning, state/serving and verification investigation; common discovery does not qualify a different Mac/model/backend." + "scope": "Pinned Splash representation, planning, state/serving and verification investigation; common discovery does not qualify a different Mac/model/backend.", + "prerequisites": "Access to the pinned representation/planning, serving-cache or qualification route; native checks need matching Apple/backend/model resources, an authorized workload and frozen semantic/measurement controls.", + "input_contract": "Source/build, macOS/device, target and compatible draft artifacts/formats, tokenizer/template/vision selection, context/cache/memory controls, KV/recurrent precision, ANE and verifier-row policy, concurrency/priority/sampling, quality controls and cache state.", + "produced_artifact": "An execution-identity report with observation, source-backed invariant, alternate explanation, smallest discriminating check, actual result and unresolved Metal/ANE/model/disk-state gap.", + "failure_modes": "Treating an API alias as new weights, equal bit width as loader/kernel compatibility, or a fixed seed as fixed cache/batch/adaptive-verification scheduling can invalidate the comparison; CPU cache/codec checks do not prove GPU state.", + "refusal_point": "Stop at unsupported formats, unavailable backend/model resources, unsafe service exposure or the authorized budget." }, "limitations": [ "Required Metal/ANE/model/actual device and disk-state execution remains BLOCKED_REQUIRED_BACKEND; Python policy/codec checks do not clear it.", @@ -114,5 +119,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve representation, memory/cache owner, validity key and reclaim/rollback boundary before tuning a numeric control.", + "Freeze semantic and workload controls beyond the seed, and retain actual-path fallbacks, admission waits, evictions, cancellations and errors.", + "Inspect options without starting the normal serve path, which can download target/draft weights; installation and serving require separate task authority." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/metadata.json b/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/metadata.json index 0e177ce5a..4fa47651f 100644 --- a/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/metadata.json @@ -2,22 +2,66 @@ "profile": "local-skill-v1", "schema_version": 1, "kind": "skill", - "origin": ["external"], + "origin": [ + "external" + ], "status": "candidate", "empirical_validation": "not_run", "license": "MIT", - "tags": ["stable-diffusion-cpp", "diffusion", "model-residency", "workspace", "prefetch", "state-ownership", "weight-loading", "storage-io"], + "tags": [ + "stable-diffusion-cpp", + "diffusion", + "model-residency", + "workspace", + "prefetch", + "state-ownership", + "weight-loading", + "storage-io" + ], "sources": [ { "type": "git", "url": "https://github.com/leejet/stable-diffusion.cpp", "commit": "b13a48219d5cdf408edcb93da6cd69b612ed03d3", - "paths": ["src/stable-diffusion.cpp", "src/pipeline/image.cpp", "src/pipeline/diffusion_engine.h", "src/pipeline/diffusion_engine.cpp", "src/core/ggml_runner.cpp", "src/core/segment_weight_pipeline.cpp", "src/core/compute_workspace.cpp", "src/model_manager.cpp", "src/model_manager_prefetch.cpp", "src/device_residency_manager.h", ".github/workflows/build.yml", ".gitmodules", "cmake/ggml.cmake", "CMakeLists.txt", "examples/cli/main.cpp", "include/stable-diffusion.h", "LICENSE", "src/model_manager.h", "src/model_loader.h", "src/model_loader_files.cpp", "src/model_loader.cpp", "src/model_manager_files.cpp", "src/model.h", "src/core/util.h", "src/core/util.cpp", "src/model_io/tensor_storage.h", "src/model_io/safetensors_io.cpp"], + "paths": [ + "src/stable-diffusion.cpp", + "src/pipeline/image.cpp", + "src/pipeline/diffusion_engine.h", + "src/pipeline/diffusion_engine.cpp", + "src/core/ggml_runner.cpp", + "src/core/segment_weight_pipeline.cpp", + "src/core/compute_workspace.cpp", + "src/model_manager.cpp", + "src/model_manager_prefetch.cpp", + "src/device_residency_manager.h", + ".github/workflows/build.yml", + ".gitmodules", + "cmake/ggml.cmake", + "CMakeLists.txt", + "examples/cli/main.cpp", + "include/stable-diffusion.h", + "LICENSE", + "src/model_manager.h", + "src/model_loader.h", + "src/model_loader_files.cpp", + "src/model_loader.cpp", + "src/model_manager_files.cpp", + "src/model.h", + "src/core/util.h", + "src/core/util.cpp", + "src/model_io/tensor_storage.h", + "src/model_io/safetensors_io.cpp" + ], "readset": "references/source-notes.md" } ], "applicability": { - "scope": "Source-grounded audit of native image-generation weight/runtime residency, optional segment prefetch and bounded non-ZIP safetensors catalog/read/staging ownership; confirm the actual source, GGML, backend, model and executing path independently." + "scope": "Source-grounded audit of native image-generation weight/runtime residency, optional segment prefetch and bounded non-ZIP safetensors catalog/read/staging ownership; confirm the actual source, GGML, backend, model and executing path independently.", + "prerequisites": "Access to the pinned source/storage boundaries and evidence of the actual image runner/backend dispatch; native capacity or prefetch checks require matching GGML, model and backend resources.", + "input_contract": "Runtime/GGML revisions and selection, compiled/loaded backends and devices, model/components and numerical image settings, effective memory/prefetch/placement settings and actual dispatch; retain available phase allocations, cache/workspace, transfer events and completed-image counts.", + "produced_artifact": "A phase-by-runner/backend/device ownership table for stored and resident weights, retained runtime, pending allocations, pin/prefetch ownership and release/eviction, with one discriminating check and its actual status.", + "failure_modes": "Treating max_vram as proof of segmentation, unpin as physical freeing, or configured prefetch as completed useful overlap can misidentify the capacity cause; missing observations cannot be read as zero.", + "refusal_point": "Stop when the cause is resolved or matching GGML/model/backend resources are unavailable; invoking this audit does not authorize dependency installation, model downloads, policy changes or device provisioning." }, "limitations": [ "Source-derived candidate; native inference, allocator behavior, image quality and performance were not run.", @@ -28,6 +72,14 @@ "Video/audio pipelines, detailed model kernels, approximate denoising caches and full multi-device execution remain outside this readset.", "Loader rules select ordinary non-ZIP safetensors; full GGUF/Torch/ZIP parsers, special quantization/conversion correctness and native failure injection remain unqualified." ], - "provenance_readsets": ["references/source-notes.md", "references/loader-storage-boundaries.md"], - "consumption_mode": "packaged" + "provenance_readsets": [ + "references/source-notes.md", + "references/loader-storage-boundaries.md" + ], + "consumption_mode": "packaged", + "recommendations": [ + "Separate parameter storage, compute-resident weights, retained workspace/output caches and pending allocations for each runner and phase.", + "Verify the actual monolithic, segmented or multi-device path before interpreting a memory budget or prefetch setting.", + "For a policy comparison, hold model, inputs, numerical settings and device fixed; check completed images and quality before latency, and separate startup, first and warm requests." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/vllm-metal/metadata.json b/src/inferrsi/data/skill_library/repositories/vllm-metal/metadata.json index e9be25b3f..5df0e0f7e 100644 --- a/src/inferrsi/data/skill_library/repositories/vllm-metal/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/vllm-metal/metadata.json @@ -89,7 +89,11 @@ "method": "Stable-ID manual author sequencing plus bounded cache author lane; integrated graph followed by assertion/helper/static and selected pure Python source tests; Apple native blocks retained." }, "applicability": { - "scope": "Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch evidence investigation. Common catalog scope does not certify CPU inference or cross-backend qualification." + "scope": "Selected plugin preparation, KV/offload ownership and speculative/deferred/dispatch evidence investigation. Common catalog scope does not certify CPU inference or cross-backend qualification.", + "prerequisites": "Access to the plugin-specific platform/ABI, cache-lifecycle and qualification contracts; actual engine changes require separate authority, resource ownership, frozen gates and cleanup, with a supported artifact pairing.", + "input_contract": "Source/package/runtime/native artifact identities, Python/OS/chip/device, backend/executor, checkpoint/tokenizer/draft identities, format/dtype, effective feature flags and workload.", + "produced_artifact": "An identity/route/invariant report with actual safe-check result, counter-signal and next authorized native check; partial CPU evidence stays separate from unverified transfers, sleep/wake, model and HTTP outcomes.", + "failure_modes": "Using lazy import success as native registration or ABI evidence, treating a feature switch as dispatch, or conflating cache capacity with physical residency and kernel time with HTTP time can overstate plugin behavior." }, "limitations": [ "BLOCKED_REQUIRED_BACKEND: actual Apple MLX/Metal and MPS kernels/model loading, cache transfers/sleep/wake and real worker dispatch are not verified.", @@ -102,5 +106,10 @@ "references/repo-provenance.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Resolve platform registration, backend/runner and native ABI pairing before capacity tuning; a package visibility check establishes only its reported software facts.", + "Keep MLX and MPS, full-attention and recurrent state, logical cache capacity and physical residency as separate contracts.", + "Preserve failed paths and distinguish parser/API checks from real transfers, sleep/wake, model output and HTTP performance evidence." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json b/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json index ca178bbed..2d8c751ed 100644 --- a/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json @@ -54,7 +54,12 @@ } ], "applicability": { - "scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification." + "scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification.", + "prerequisites": "The selected native Ouro synchronous path uses host KVMetadata, no speculation/connector/preemption, atomic prefill and disabled graph/static-buffer/packed-prefill paths; changed execution conditions need a new bounded check.", + "input_contract": "Repository revision, model/configuration, recurrent-layer set, loop count, cache layout and block size, dtype/device, attention backend and effective flags, plus the traced token/depth/layer and its next consumer.", + "produced_artifact": "A bounded token/finalization/consumer/retirement trace separating source call order, observed data and written validity, completion evidence and remaining native model/backend/performance gaps.", + "failure_modes": "Substituting mark_finalized for K/V propagation, accepting allocated pages as a complete written prefix, applying LAST_EXITED copy expectations to SHARED, or treating event recording as completion can invalidate the ownership diagnosis.", + "refusal_point": "On a failed prerequisite or complete-prefix check, retain the first failing token/depth/layer and trace the missing operation. Stop the conclusion when flags or metadata ownership leave the selected path." }, "limitations": [ "Source-derived candidate; native CPU/CUDA, model correctness/quality, performance and agent efficacy are not validated.", @@ -65,5 +70,10 @@ "references/source-notes.md", "references/source-identity.json" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "recommendations": [ + "Distinguish copied K/V values, logical written positions and allocated capacity; follow the later depth-specific attention consumer.", + "Preserve executed shallower values during LAST_EXITED propagation and use SHARED as a separate one-plane control.", + "Follow the latest request event through runner release before scheduler cache release; page reuse is not evidence of erased old bytes." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/metadata.json b/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/metadata.json index 58235b46a..2240a2356 100644 --- a/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/metadata.json @@ -31,5 +31,18 @@ "provenance_readsets": [ "references/source-notes.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "Pinned vLLM V1 scheduler/connector ownership audit for asynchronous KV load/save completion, retained blocks, preemption and failed receives; concrete connector conformance is not established by the interface.", + "prerequisites": "A concrete connector and worker/model-runner call trace at identified revisions, with request/block events sufficient to compare actual callers against the pinned scheduler/interface contracts.", + "input_contract": "Engine/connector revision and class, producer/consumer roles, KV-group count/block namespace, failure policy, concurrent-batch and graph modes; correlate bounded request IDs with allocation, matched tokens, load/save events, receive failures, preemption, finish and pool return.", + "produced_artifact": "An ownership/event ledger and bounded contract-conformance report naming the earliest evidenced broken obligation, owner, affected requests/blocks and smallest missing observation, with a proposed targeted regression check.", + "failure_modes": "Equating reserved tokens with usable KV, finished responses with reusable blocks, or send completion with scheduler write-fence completion can hide unsafe reuse; missing failed-receive completion can leave waits unreleased.", + "refusal_point": "Escalate absent concrete caller evidence, ambiguous block namespaces, unsupported layouts or revision drift; stop before inferring a backend fix, freeing retained blocks or claiming a reproduced bug." + }, + "recommendations": [ + "Trace lookup, allocation, worker execution and completion propagation before changing request state; repeated or undecided lookup and ordinary admission waits can be valid.", + "Check delayed-free ownership and scheduler in-flight-write fences separately, including empty-step save/metadata ordering in the real worker.", + "Keep receive failure and finished_recving correlated, and use request-level failure evidence for multi-group layouts while preserving the existing recovery policy." + ] } diff --git a/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/metadata.json b/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/metadata.json index c6f7a6a10..e4470c935 100644 --- a/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/metadata.json +++ b/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/metadata.json @@ -33,5 +33,18 @@ "references/papers-20261015/references/orca-readset.md", "references/source-notes.md" ], - "consumption_mode": "packaged" + "consumption_mode": "packaged", + "applicability": { + "scope": "Pinned vLLM V1 branch-based diagnosis of queued requests, low scheduled-token counts and KV-pressure preemption, separating admission/token/input/allocation/connector-wait constraints.", + "prerequisites": "The deployed scheduler must be mapped to the pinned branches, with effective configuration and a bounded request/step trace; another revision requires re-establishing that correspondence.", + "input_contract": "Deployed revision, scheduler class/configuration, connector role, KV layout, policy and speculative/encoder/concurrent-batch features; per-step queues, tokens, both budgets, allocation results, victims, transfer/free state and timing.", + "produced_artifact": "A per-step accounting ledger, observed limiting branch and competing explanation, missing instrumentation and one conditional configuration/progress hypothesis with predicted effects and trade-offs.", + "failure_modes": "Inferring memory exhaustion from a queue or high KV usage, conflating token/input budgets, ignoring pending frees or reading async token accounting as load completion can attribute admission stalls to the wrong branch.", + "refusal_point": "When required state is missing, leave the diagnosis unresolved and request the smallest trace; escalate allocation or connector behavior outside the readset and stop before live mutation or performance claims." + }, + "recommendations": [ + "Trace the first actual blocking or skip branch and record running versus admission caps and token versus input budgets separately.", + "Inspect deferred frees and request-free eligibility before blaming preemption victim selection, then reconcile restored budgets for an already-scheduled victim.", + "Reconstruct waiting admission independently, including queue precedence and async prefix states; change no setting without a branch-specific hypothesis." + ] } diff --git a/tests/check_installed.py b/tests/check_installed.py index c0b2a5b1b..d412f14ce 100644 --- a/tests/check_installed.py +++ b/tests/check_installed.py @@ -319,8 +319,10 @@ assert research["profile"]["model"] == "MiniMax-H3" assert research["target_validation"] == "unverified" assert research["target"]["device"] == "M5 Mac Studio" +framework_first = search_knowledge("mlx", limit=1)[0]["id"] assert any( - item["record"]["id"] == "inferrsi.common.skills.lazy_evaluation_stream_lifetimes" + item["record"]["id"] == framework_first + and {"group": "framework", "query": "mlx"} in item["matched_queries"] for item in research["items"] ) assert {item["group"] for item in research["queries"]} == { @@ -333,6 +335,21 @@ assert set(research["profile"]["knowledge_ids"]) <= { item["record"]["id"] for item in research["items"] } +output = io.StringIO() +with contextlib.redirect_stdout(output): + assert main([ + "knowledge", "research", "MiniMax-H3", "--framework", "mlx", + "--mechanism", "lazy evaluation", "--repo-type", "inferrsi", + "--scenario", "skills.discovery", "--limit", "12", + ]) == 0 +mlx_research = json.loads(output.getvalue()) +mlx_lifecycle = next( + item for item in mlx_research["items"] + if item["record"]["id"] == "inferrsi.common.skills.lazy_evaluation_stream_lifetimes" +) +assert mlx_lifecycle["record"]["skill_documents"]["original"] == mlx_document +assert {"group": "framework", "query": "mlx"} in mlx_lifecycle["matched_queries"] +assert {"group": "mechanism", "query": "lazy evaluation"} in mlx_lifecycle["matched_queries"] assert not inference_modules & sys.modules.keys() print(f"Installed package: {inferrsi.__file__}; {len(records)} source-grounded records available.") diff --git a/tests/test_evidence_inventory.py b/tests/test_evidence_inventory.py index 661b42972..9edd30863 100644 --- a/tests/test_evidence_inventory.py +++ b/tests/test_evidence_inventory.py @@ -145,6 +145,6 @@ def test_checked_in_inventory(): repo = Path(__file__).resolve().parents[1] result = validate_inventory(repo) assert result["errors"] == [] - assert len(result["bundles"]) == 20 - assert result["checked_hashes"] == 425 + assert len(result["bundles"]) == 21 + assert result["checked_hashes"] == 430 assert result["unavailable"] # Historical raw artifacts are not in this checkout. diff --git a/tests/test_qualify_kv_edit_actor.py b/tests/test_qualify_kv_edit_actor.py index 39497e612..5d77e5f31 100644 --- a/tests/test_qualify_kv_edit_actor.py +++ b/tests/test_qualify_kv_edit_actor.py @@ -9,7 +9,48 @@ from inferrsi.model import anthropic_edit_agent as edit from tools import qualify_kv_edit_actor as qualify -PLAN = qualify.ROOT / "evidence/kv-actor-qualification-20261030/plan/qualification-plan.json" +PLAN = qualify.ROOT / "evidence/kv-actor-qualification-20261031/plan/qualification-plan.json" +HISTORICAL = qualify.ROOT / "evidence/kv-actor-qualification-20261030" + + +def test_historical_qualification_bundle_is_retained_byte_for_byte(): + integrity = HISTORICAL / "plan/integrity.json" + assert qualify.task.file_hash(integrity) == ( + "d6c018da4cf1cde265d9dce36cb4368d75953d2291acb1ef48ddb67d09d89336" + ) + for name, digest in json.loads(integrity.read_text()).items(): + assert qualify.task.file_hash(HISTORICAL / name) == digest + + +def test_new_payload_plan_preserves_the_software_contract(): + current = qualify.checked_plan(PLAN) + historical = json.loads((HISTORICAL / "plan/qualification-plan.json").read_text()) + identity_fields = {"base_revision", "knowledge_revision", "knowledge_files_sha256"} + assert {k: v for k, v in current.items() if k not in identity_fields} == { + k: v for k, v in historical.items() if k not in identity_fields + } + assert current["knowledge_revision"] == "a04c599c49465b67ea40a1f0de622706ab3da955" + changed = { + name for name, digest in current["knowledge_files_sha256"].items() + if historical["knowledge_files_sha256"][name] != digest + } + assert changed == {"metadata.json"} + + +def test_current_plan_rejects_metadata_drift(tmp_path, monkeypatch): + plan = qualify.checked_plan(PLAN) + owner = tmp_path / plan["knowledge_root"] + for name in plan["knowledge_files_sha256"]: + source = qualify.ROOT / plan["knowledge_root"] / name + target = owner / name + target.parent.mkdir(parents=True, exist_ok=True) + target.write_bytes(source.read_bytes()) + monkeypatch.setattr(qualify, "ROOT", tmp_path) + qualify.checked_plan(PLAN) + metadata = owner / "metadata.json" + metadata.write_bytes(metadata.read_bytes() + b"\n") + with pytest.raises(ValueError, match="Pinned K bytes changed"): + qualify.checked_plan(PLAN) def identity(): @@ -150,6 +191,7 @@ def test_existing_ready_job_only_adds_secret_free_separate_receipt(): assert job["runs-on"] == "ubuntu-22.04" and job["permissions"] == {"contents": "read"} commands = "\n".join(step.get("run", "") for step in job["steps"]) assert "tools.qualify_kv_edit_actor" in commands and "env -i" in commands + assert f"--plan {PLAN.relative_to(qualify.ROOT).as_posix()}" in commands assert "secrets." not in commands and "send_message" not in commands assert "--privileged" not in commands and "sysctl" not in commands uploads = [s["with"] for s in job["steps"] if "upload-artifact" in s.get("uses", "")] diff --git a/tests/test_research.py b/tests/test_research.py index ef927a995..c62bde6b2 100644 --- a/tests/test_research.py +++ b/tests/test_research.py @@ -27,7 +27,13 @@ def test_h3_retrieves_framework_and_task_knowledge_with_source_boundaries(): items = result["items"] identities = [item["record"]["id"] for item in items] assert len(identities) == len(set(identities)) <= 12 - assert "inferrsi.common.skills.lazy_evaluation_stream_lifetimes" in identities + # Corpus additions can reorder matches; the independent framework query still contributes. + framework_first = search_knowledge("mlx", limit=1)[0]["id"] + assert any( + item["record"]["id"] == framework_first + and {"group": "framework", "query": "mlx"} in item["matched_queries"] + for item in items + ) assert set(result["profile"]["knowledge_ids"]) <= set(identities) task_first = search_knowledge("diffusion", limit=1)[0]["id"] assert any( @@ -53,6 +59,22 @@ def test_h3_retrieves_framework_and_task_knowledge_with_source_boundaries(): assert result["profile"]["output_modalities"] == ["video", "audio"] +def test_scoped_mlx_research_retains_the_lifecycle_resource(): + result = research_knowledge( + "MiniMax-H3", frameworks=["mlx"], mechanisms=["lazy evaluation"], + repo="inferrsi", scenario="skills.discovery", limit=12, + ) + lifecycle = next( + item for item in result["items"] + if item["record"]["id"] == "inferrsi.common.skills.lazy_evaluation_stream_lifetimes" + ) + assert lifecycle["record"]["skill_documents"]["original"] == ( + "data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md" + ) + assert {"group": "framework", "query": "mlx"} in lifecycle["matched_queries"] + assert {"group": "mechanism", "query": "lazy evaluation"} in lifecycle["matched_queries"] + + def test_independent_queries_are_unioned_fairly_and_exact_search_is_unchanged(monkeypatch): records = [ {"id": name, "repo": "vllm_omni", "backend": "common", "scenario": "diffusion.*", @@ -174,8 +196,10 @@ def test_public_cli_exposes_model_profile_and_keeps_filters(capsys): assert result["profile"]["sources"] assert result["target"]["device"] == "M5 Mac Studio" assert result["target_validation"] == "unverified" + framework_first = search_knowledge("mlx", limit=1)[0]["id"] assert any( - item["record"]["id"] == "inferrsi.common.skills.lazy_evaluation_stream_lifetimes" + item["record"]["id"] == framework_first + and {"group": "framework", "query": "mlx"} in item["matched_queries"] for item in result["items"] ) assert main([ diff --git a/tools/evidence_inventory.json b/tools/evidence_inventory.json index 023d17035..6ca2cb388 100644 --- a/tools/evidence_inventory.json +++ b/tools/evidence_inventory.json @@ -52,6 +52,11 @@ {"path": "plan/second-attempt-1200/integrity.json", "schema": "bundle-sha256"}], "external": ["Historical first-pair plan/source data and prospective single-additional-attempt budget data. First-run outputs are retained separately; no efficacy result is claimed."] }, + "kv-actor-qualification-20261031": { + "kind": "campaign", + "manifests": [{"path": "plan/integrity.json", "schema": "bundle-sha256"}], + "external": ["Fresh exact-revision hosted actor receipts for the updated K payload are retained as separate CI artifacts; this plan makes no provider calls and grants no live authorization."] + }, "kv-actor-qualification-20261030": { "kind": "campaign", "manifests": [{"path": "plan/integrity.json", "schema": "bundle-sha256"},