Skip to content

skills: extract backend-agnostic video diffusion optimization skeleton - #207

Merged
Dong1017 merged 9 commits into
InferMatrixLab:mainfrom
BLANKETusers:skill/video-diffusion-common-skeleton
Oct 29, 2026
Merged

Dong1017 merged 9 commits into
InferMatrixLab:mainfrom
BLANKETusers:skill/video-diffusion-common-skeleton

Conversation

@BLANKETusers

@BLANKETusers BLANKETusers commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #199: split out the backend-agnostic video diffusion optimization skeleton into a common method, and refactor the Ascend skill to specialize it. This completes the repository's backend layering for this workflow.

  • Adds methods/video-diffusion-optimization/ (backend common): the measure-change-verify goal contract, baseline discipline, optimization loop, candidate-selection strategy, correctness protection, final acceptance and final report. Operator names, memory layouts and profiler references are explicitly backend-specific.
  • Refactors hardware/ascend/ascend-video-diffusion-optimization/ to reference the common skeleton, retaining the Ascend-specific annotations (TransData, FRACTAL_NZ, CANN) and its first-hand field notes.
  • Moves the stdlib-only scripts/evaluate_target.py and assets/campaign.template.json into the common skeleton (they have no accelerator dependency).
  • Registers the new skill (main 75 -> 76) and refreshes the packaged skill discovery index.

Packaged locations:

src/inferrsi/data/skill_library/methods/video-diffusion-optimization/
├── SKILL.md
├── metadata.json
├── assets/campaign.template.json
└── scripts/evaluate_target.py

src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/
├── SKILL.md
├── metadata.json
└── references/field-notes-video-diffusion.md

No campaign revisions or numeric gates are included. No public performance claim is made.

Backend layering

  • methods/video-diffusion-optimization declares "hardware": "Any accelerator (Ascend NPU, CUDA GPU, and others); operator names, memory layouts, and profiler references are re-derived per backend".
  • hardware/ascend/ascend-video-diffusion-optimization declares references to the common skeleton's SKILL.md, scripts/evaluate_target.py, and assets/campaign.template.json, and keeps TransData/FRACTAL_NZ/CANN as Ascend-specific notes.

Test results

Head: 16599ec72147cbacb32978bed44034dd9207eaca. Base: InferMatrixLab/InferRSI@main (40fb3588).

Local (this checkout)

  • ruff check src tests tools — pass
  • pytest on test_skill_coverage_view, test_skill_index, test_skill_library, test_knowledge_contract, test_ascend_video_diffusion_skill — pass (excluding the three git-2.45 --no-lazy-fetch cases)
  • python tools/build_skill_index.py --source-revision HEAD --check — Skill index is current: 76 metadata records
  • python tools/build_skill_coverage.py --check — docs/skill-coverage.md matches its sources

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "16599ec72147cbacb32978bed44034dd9207eaca",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Cursor",
      "model_id": "claude-opus-5-5",
      "effort": "xhigh",
      "role": "author"
    }
  ]
}

BLANKETusers and others added 2 commits October 28, 2026 12:57
Add methods/video-diffusion-optimization as the backend-agnostic
measure-change-verify skeleton for video diffusion optimization, and
refactor hardware/ascend/ascend-video-diffusion-optimization to specialize
it with Ascend operator, layout and profiler references (TransData,
FRACTAL_NZ, CANN) plus its first-hand field notes. Move the stdlib-only
evaluate_target.py and campaign.template.json into the common skeleton.

Register the new skill (65 -> 66) and refresh discovery-index-dependent
counts in tests, installed checks and docs.

Signed-off-by: zzh <943967662@qq.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: zzh <943967662@qq.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: zzh <943967662@qq.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Skill evaluation

Automatic execution / cumulative PR budget: {"reason":"Audited PR/global daily ledger missing, unavailable, quarantined or unsafe","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}

Advisory: obtain missing evidence

Retained evidence availability: planned / unexecuted. No approval or merge authorization is issued.

  • Retained evidence is planned / unexecuted.
  • No supported comparison cases were selected.
  • Uncovered/unsupported scope needs a case or explicit reviewer disposition.

PLANNED: execution is not authorized by knowing this hash.
Outcomes: {"fix":0,"inconclusive":0,"missing_pair":0,"regression":0,"unchanged_correct":0,"unchanged_incorrect":0}
Earlier revision results are stale for this plan.

Selected comparisons: 0 · Estimated task calls: 0.
Uncovered/unsupported changes: 94. Gaps never count as passes.

Applicable only while these revisions and inputs match the current PR.
Paid execution requires trusted label authorization and cumulative PR reservation. Unknown accounting blocks new paid calls; planning is not execution.
Pipeline evidence only; offline fixed outputs do not establish skill efficacy.
Evidence and logs · Retention: 30 days.
Outcomes are historical; verifiable only before Unix time 1795836016 while the linked artifact is available. Expired evidence is unverified.

Plan bindings, budget, frozen exam and advisory details

Unchanged-correct is valid neutral evidence, not incremental benefit.
Content/source review and authorship admission remain separate.
Trusted regrading checks retained answers, not model/hardware provenance or a hostile executor; this is not an efficacy certification.

Per-case outcomes (discovery excluded; regressions and gaps first):

[]

Showing at most 20 of 0 pairs; the evidence link contains all outcomes, including omitted regressions/gaps.

Plan SHA-256: f5e103377c70fb87a25374958abcc8c7e06fbc08ade3122d7ec8855b12c546ab
Base: 40fb3588e76ece654d4520d08d09e9a25aba7a63 · Head: 16599ec72147cbacb32978bed44034dd9207eaca
Trusted implementation: 40fb3588e76ece654d4520d08d09e9a25aba7a63

Model/settings: {"effort":"not_applicable","name":"claude-opus-5-5"}
Budget: {"comparisons":0,"estimated_calls":0,"limits_per_comparison":{"campaign_seconds":600,"max_task_calls":2,"repeats":1,"timeout_seconds":180,"token_stop_new_trials":200000},"provider_config_sha256":"253cf88a7ff04311fd1dae897cb68a8c986f136e837dd00dbe5f8872bd094b5f","reservation":null}

Skill Comparison Cases Estimated calls

Provider/settings: {"client":{"api_version":"2023-06-01","endpoint":"https://yibuapi.com/v1/messages","kind":"anthropic-messages-agent-v1","max_output_tokens":4096,"max_read_bytes":32768,"max_request_bytes":131072,"max_requests":6,"max_tool_calls":12,"provider":"yibuapi"},"limits":{"token_stop_new_trials":200000},"model":{"effort":"not_applicable","name":"claude-opus-5-5"},"pricing":{"currency":"USD","expires_at":1793271228,"group":"default","max_input_tokens":1000000,"model":"claude-opus-5-5","rate_evidence":"https://github.com/InferMatrixLab/InferRSI/issues/215#issuecomment-6467531341","rates":{"cache_read":"0.4","cache_write":"10","input":"8","output":"40"},"request_fee":"0","unit":"per_million_tokens"},"spend_limit":{"amount":"200","currency":"USD"}}

Uncovered / unsupported paths (94)
  • uncovered: "docs/knowledge-base.md"
  • uncovered: "docs/skill-coverage.md"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-aclgraph-capture-replay.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-device-health.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-distributed-parallel.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-graph-mode.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-model-adaptation.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-profiling.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-tuning.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-optimization-casebook.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-performance-analysis.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-video-diffusion-optimization.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascendc-tiling-design.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/cann-attribution-overlap.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-device-memory-lifecycle.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-pinned-host-memory-lifecycle.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-serving-preemption.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-split-backward-schedule.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-fixed-workload-claim.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-metal-fasth3-semantics.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-runtime-residency.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-llama-runtime-state.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-recurrent-kv-finalization.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sd-cpp-residency.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sglang-diffusion-lifetimes.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-vllm-kv-lifetimes.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/bound-windowed-attention-replay.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/budget-speculative-verification.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/calibrate-serving-simulation.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cgroup-resource-controls.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/checkpoint-recovery-consistency.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/choose-parallel-training-plan.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cite-check-downstream-pr.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/claim-contract.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/comfy-ui.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/competitor-scan.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dcp-async-save-performance.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dense-performance-evidence.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diagnose-vllm-admission-pressure.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diffusers-invocation-state.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/draft-acceptance-issue.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dwarfstar.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/evaluate-elastic-serving-placement.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/generation-cache-lifecycle.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-memory-management.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-overhead-optimization.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/husky.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-benchmark-design.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-optimization-casebook.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kernel-writing-guide.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kv-tier-management.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lazy-evaluation-stream-lifetimes.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lily.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/local-dream.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mistral-rs.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlc-llm.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlx-swift-lm.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/npu-skill-factory.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/optimization-search-policy.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/os-process-placement.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/performance-ceiling-analysis.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/plan-activation-residency.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/project-maya.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/repository-evolution-analysis.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/rsi-evidence.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/skill-evolution-playbook.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/splash.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/storage-io-measurement.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-input-pipeline.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-resource-budget.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/video-diffusion-optimization.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/vllm-metal.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/weight-loading-optimization.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-afd-p2p-exchanges.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-flare-session-lifecycle.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/diagnose-attention-bottlenecks.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/host-overhead-profiling.json"
  • uncovered: "src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/reason-hopper-kernels.json"
  • uncovered: "src/inferrsi/data/skill_library/README.md"
  • uncovered: "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md"
  • uncovered: "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/assets/campaign.template.json"
  • uncovered: "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/metadata.json"
  • uncovered: "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/scripts/evaluate_target.py"
  • uncovered: "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md"
  • uncovered: "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/assets/campaign.template.json"
  • uncovered: "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/metadata.json"
  • uncovered: "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py"
  • uncovered: "src/inferrsi/data/skill_library/skill-index.json"
  • uncovered: "tests/check_installed.py"
  • uncovered: "tests/test_ascend_video_diffusion_skill.py"
  • uncovered: "tests/test_knowledge_contract.py"
  • uncovered: "tests/test_skill_index.py"
  • uncovered: "tests/test_skill_library.py"

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scoped review of 1cd9583, live base cac287f. No actionable correctness regression found in this extraction: evaluator/template are byte-identical moves; the common procedure preserves the prior safeguards; Ascend declares the shared resources, and both checkout and packaged readers honor those references. Links/test paths and registry/index count changes are consistent. Candidate/not_run is preserved. Not merge-ready: GitHub currently reports mergeable=false. Please integrate current main, regenerate affected projections and obtain fresh Ready full-check/installed-package results on the resulting head. The PR body's 2c1da9d baseline is also historical rather than current. Canonical knowledge-model-policy 40635374747 is now successful, but this alone is not Ready CI. Skill Eval 40635483014 selects zero comparisons and skips execute, not efficacy evidence. Verification was source/caller/test inspection, without local package/test execution or hardware/model experiments. Re-review the integration delta rather than repeating this unchanged extraction review.

@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Oct 28, 2026 — with ChatGPT Codex Connector
BLANKETusers and others added 4 commits October 29, 2026 09:46
…ranch

Resolve count/index conflicts by taking upstream generated projections and
re-adding the video-diffusion-optimization registry entry; regenerate the
repo_packs projection from the merged source next.

Co-authored-by: Cursor <cursoragent@cursor.com>
Update hardcoded skill/catalog counts for the merged tree (75 registered
skills incl. the new common video-diffusion-optimization skeleton) and
regenerate the repo_packs discovery projection against the merge head.

Co-authored-by: Cursor <cursoragent@cursor.com>
…on-common-skeleton

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-aclgraph-capture-replay.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-device-health.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-distributed-parallel.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-graph-mode.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-model-adaptation.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-profiling.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-tuning.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-optimization-casebook.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-performance-analysis.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-video-diffusion-optimization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascendc-tiling-design.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/cann-attribution-overlap.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-device-memory-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-pinned-host-memory-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-serving-preemption.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-split-backward-schedule.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-fixed-workload-claim.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-metal-fasth3-semantics.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-runtime-residency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-llama-runtime-state.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-recurrent-kv-finalization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sd-cpp-residency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sglang-diffusion-lifetimes.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-vllm-kv-lifetimes.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/bound-windowed-attention-replay.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/budget-speculative-verification.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/calibrate-serving-simulation.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cgroup-resource-controls.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/checkpoint-recovery-consistency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/choose-parallel-training-plan.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cite-check-downstream-pr.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/claim-contract.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/comfy-ui.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/competitor-scan.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dcp-async-save-performance.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dense-performance-evidence.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diagnose-vllm-admission-pressure.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diffusers-invocation-state.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/draft-acceptance-issue.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dwarfstar.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/evaluate-elastic-serving-placement.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/generation-cache-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-memory-management.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-overhead-optimization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/husky.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-benchmark-design.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-optimization-casebook.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kernel-writing-guide.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kv-tier-management.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lazy-evaluation-stream-lifetimes.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lily.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mistral-rs.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlc-llm.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlx-swift-lm.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/npu-skill-factory.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/optimization-search-policy.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/os-process-placement.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/performance-ceiling-analysis.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/plan-activation-residency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/project-maya.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/repository-evolution-analysis.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/rsi-evidence.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/skill-evolution-playbook.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/splash.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/storage-io-measurement.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-input-pipeline.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-resource-budget.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/vllm-metal.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/weight-loading-optimization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-afd-p2p-exchanges.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-flare-session-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/diagnose-attention-bottlenecks.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/host-overhead-profiling.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/reason-hopper-kernels.json
Co-authored-by: Cursor <cursoragent@cursor.com>
@BLANKETusers

Copy link
Copy Markdown
Contributor Author

Integrated latest main — conflicts resolved

Addressed the review: merged current main (through c38a75b9), so the branch is now up to date with upstream and mergeable reports MERGEABLE.

What changed on top of the reviewed head

  • Merge InferMatrixLab/InferRSI@main into skill/video-diffusion-common-skeleton (two integration merges: 6b56d413, ff46425b), resolving the skill-index.json / docs / test count conflicts by keeping upstream's generated projections and re-adding the video-diffusion-optimization registry entry.
  • Regenerated the repo_packs discovery projection against the new head with python tools/build_skill_index.py --source-revision HEAD — 75 metadata records; --check reports "Skill index is current".
  • Updated the hardcoded counts to the merged tree: registered skills 74→75 (common 55→56), SKILL.md 118→119, candidate 69→70, backend filters ascend 69→70 / cuda 60→61 / cpu 55→56, knowledge_records 122→123, local-skill-v1 normalized 59→60, and restored "13 Ascend"→"14 Ascend".

Verification (local)

  • ruff check src tests tools — pass
  • pytest on the affected modules (test_skill_index, test_skill_library, test_knowledge_contract, test_ascend_video_diffusion_skill) — 39 passed; the only exclusions are test_committed_source_hashes_preserve_binary_and_newline_bytes, test_replacement_refs_cannot_rewrite_indexed_source_bytes, and test_index_checks_drift_and_rejects_changed_or_added_source_inputs, which require git ≥ 2.45 (--no-lazy-fetch; local git is 2.34.1), consistent with the prior PR-body note.
  • python tools/build_skill_index.py --source-revision HEAD --check — "Skill index is current: 75 metadata records"

No correctness change to the extraction itself — the evaluator/template move and Ascend specialization are unchanged; this only integrates main and refreshes generated artifacts. The Skill Eval still reports PLANNED with zero comparisons, so it remains pending an approved execute, and mergeStateStatus is BLOCKED only on required CI/review gates.

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Integration follow-up at head 49245db5221b277f5ac23b54cd0442cc5a90a568, API base c38a75b915ea2bd2a93a5f88782fa547139bd27e, observed main 40fb3588e76ece654d4520d08d09e9a25aba7a63.

The previous conflict blocker is cleared: GitHub now reports mergeable=true. This head still has two concrete prerequisites; not merge-ready / no LGTM.

  • P2 — Refresh the generated coverage view. Current-head Ready 3.11 log fails tests/test_skill_coverage_view.py::test_committed_view_matches_its_sources: docs/skill-coverage.md is stale; rerun tools/build_skill_coverage.py (1 failed, 2354 passed, 11 skipped). Both full-check versions fail; installed-package jobs succeed. Regenerating the skill index alone does not update this separate view. Please regenerate/review the affected coverage output with the existing generator and validate the resulting revision.
  • Current-head policy — refresh the truthful declaration. The per-head admission log evaluates this exact head and returns noncompliant: “Missing, invalid or stale knowledge author declaration”. The PR body still declares 1cd9583570a4ff44d67899e75ffad09b6fc3c1f4. Update the declaration for the actual resulting head while preserving accurate material-author information; do not reuse the old-head success.

Next owner: existing PR author/owner. The prior extraction review remains scoped to its old revision; it does not approve this integration delta. Skill Eval execute is skipped, not an efficacy result or a request to start paid execution. I inspected live refs/discussion and exact-head CI logs only; no PR code/test/model/device execution, workflow rerun or merge.

BLANKETusers and others added 3 commits October 29, 2026 11:15
The reverse coverage inventory still listed 74 registered skills after
video-diffusion-optimization was added, so full-check failed on
docs/skill-coverage.md drift.

Co-authored-by: Cursor <cursoragent@cursor.com>
…on-common-skeleton

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	docs/skill-coverage.md
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-aclgraph-capture-replay.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-device-health.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-distributed-parallel.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-graph-mode.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-model-adaptation.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-profiling.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-operator-tuning.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-optimization-casebook.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-performance-analysis.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascend-video-diffusion-optimization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/ascendc-tiling-design.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/cann-attribution-overlap.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-device-memory-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/torchnpu-pinned-host-memory-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-serving-preemption.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/assess-split-backward-schedule.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-fixed-workload-claim.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-metal-fasth3-semantics.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-h3-runtime-residency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-llama-runtime-state.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-recurrent-kv-finalization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sd-cpp-residency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-sglang-diffusion-lifetimes.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/audit-vllm-kv-lifetimes.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/bound-windowed-attention-replay.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/budget-speculative-verification.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/calibrate-serving-simulation.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cgroup-resource-controls.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/checkpoint-recovery-consistency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/choose-parallel-training-plan.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/cite-check-downstream-pr.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/claim-contract.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/comfy-ui.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/competitor-scan.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dcp-async-save-performance.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dense-performance-evidence.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diagnose-vllm-admission-pressure.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/diffusers-invocation-state.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/draft-acceptance-issue.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/dwarfstar.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/evaluate-elastic-serving-placement.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/generation-cache-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-memory-management.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/host-overhead-optimization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/husky.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-benchmark-design.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/inference-optimization-casebook.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kernel-writing-guide.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/kv-tier-management.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lazy-evaluation-stream-lifetimes.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/lily.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mistral-rs.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlc-llm.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/mlx-swift-lm.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/npu-skill-factory.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/optimization-search-policy.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/os-process-placement.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/performance-ceiling-analysis.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/plan-activation-residency.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/project-maya.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/repository-evolution-analysis.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/rsi-evidence.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/skill-evolution-playbook.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/splash.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/storage-io-measurement.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-input-pipeline.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/training-resource-budget.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/vllm-metal.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/weight-loading-optimization.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-afd-p2p-exchanges.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/audit-flare-session-lifecycle.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/diagnose-attention-bottlenecks.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/host-overhead-profiling.json
#	src/inferrsi/data/repo_packs/inferrsi/knowledge/cuda/skills/reason-hopper-kernels.json
Refresh repo_packs and skill coverage for 76 registered skills after
integrating local-dream from main, and update the matching inventory counts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Dong1017
Dong1017 merged commit 32083df into InferMatrixLab:main Oct 29, 2026
11 checks passed

Copy link
Copy Markdown
Collaborator

Fix confirmation for the two prerequisites in review 5692327080: both are cleared at final head 16599ec72147cbacb32978bed44034dd9207eaca, API base 40fb3588e76ece654d4520d08d09e9a25aba7a63.

The follow-up delta regenerates docs/skill-coverage.md; all four final-head Ready jobs pass. The declaration now names this final head and its per-head policy succeeds. The failures at old head 49245db5221b277f5ac23b54cd0442cc5a90a568 remain historical, not current failures.

GitHub records this PR merged as 32083dfd3cb4d6f869a12819bb829e5fb274836c; observed main is a0a76b33de93bc131af5849b519b58ae077aa6d2. This run did not perform that merge. This is a bounded repair acknowledgement based on the source delta, live metadata/discussion and hosted checks, not a new full-PR LGTM or governing-Issue/model/hardware acceptance. Skill Eval selected zero comparisons and skipped execution. No local test/model/device execution or workflow rerun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:knowledge Knowledge line: packs, skill library, knowledge admission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants