From d1d64da1cbfd594f6fc35d5386c4715028b03526 Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Thu, 5 Nov 2026 21:15:44 +0900 Subject: [PATCH 1/6] Prototype shared skill provenance and contribution tooling Keep owner projections content-local, resolve the legacy catalog shape at read time, and derive complete declaration paths from trusted-base policy. Include strict provenance validation, compatibility tests and an explicit protected-main squash recovery workflow. Canonical knowledge is unchanged. This is a design-review prototype, not accepted architecture or knowledge-policy admission. Actual author model and effort are unknown and are not inferred. Signed-off-by: Codex Agent-assisted-by: dot / unknown [effort=unknown] (author) --- docs/contributing.md | 2 + docs/knowledge-contribution-workflow.md | 154 +++++++++ src/inferrsi/_skill_provenance.py | 86 ++++++ src/inferrsi/catalog.py | 17 +- .../repo_packs/inferrsi/knowledge/README.md | 8 +- .../inferrsi/knowledge/_provenance.json | 9 + .../ascend-aclgraph-capture-replay.json | 12 +- .../ascend/skills/ascend-device-health.json | 12 +- .../skills/ascend-distributed-parallel.json | 12 +- .../ascend/skills/ascend-graph-mode.json | 12 +- .../skills/ascend-model-adaptation.json | 12 +- .../skills/ascend-operator-profiling.json | 12 +- .../ascend/skills/ascend-operator-tuning.json | 12 +- .../skills/ascend-optimization-casebook.json | 12 +- .../skills/ascend-performance-analysis.json | 12 +- .../ascend-video-diffusion-optimization.json | 12 +- .../ascend/skills/ascendc-tiling-design.json | 12 +- .../skills/cann-attribution-overlap.json | 12 +- .../knowledge/ascend/skills/torch-npu.json | 12 +- .../torchnpu-device-memory-lifecycle.json | 12 +- ...torchnpu-pinned-host-memory-lifecycle.json | 12 +- .../knowledge/ascend/skills/vllm-ascend.json | 12 +- .../skills/assess-serving-preemption.json | 12 +- .../assess-split-backward-schedule.json | 12 +- .../skills/audit-fixed-workload-claim.json | 12 +- .../audit-h3-metal-fasth3-semantics.json | 12 +- .../skills/audit-h3-runtime-residency.json | 12 +- .../skills/audit-llama-runtime-state.json | 12 +- .../audit-recurrent-kv-finalization.json | 12 +- .../common/skills/audit-sd-cpp-residency.json | 12 +- .../audit-sglang-diffusion-lifetimes.json | 12 +- .../skills/audit-vllm-kv-lifetimes.json | 12 +- .../bound-windowed-attention-replay.json | 12 +- .../budget-speculative-verification.json | 12 +- .../skills/calibrate-serving-simulation.json | 12 +- .../skills/cgroup-resource-controls.json | 12 +- .../checkpoint-recovery-consistency.json | 12 +- .../skills/choose-parallel-training-plan.json | 12 +- .../skills/cite-check-downstream-pr.json | 8 +- .../common/skills/claim-contract.json | 8 +- .../knowledge/common/skills/comfy-ui.json | 12 +- .../common/skills/competitor-scan.json | 8 +- .../skills/dcp-async-save-performance.json | 12 +- .../skills/dense-performance-evidence.json | 12 +- .../diagnose-vllm-admission-pressure.json | 12 +- .../skills/diffusers-invocation-state.json | 12 +- .../common/skills/draft-acceptance-issue.json | 8 +- .../knowledge/common/skills/dwarfstar.json | 12 +- .../evaluate-elastic-serving-placement.json | 12 +- .../skills/generation-cache-lifecycle.json | 12 +- .../common/skills/host-memory-management.json | 12 +- .../skills/host-overhead-optimization.json | 12 +- .../knowledge/common/skills/husky.json | 12 +- .../skills/inference-benchmark-design.json | 12 +- .../inference-optimization-casebook.json | 12 +- .../common/skills/kernel-writing-guide.json | 12 +- .../common/skills/kv-tier-management.json | 12 +- .../lazy-evaluation-stream-lifetimes.json | 12 +- .../knowledge/common/skills/lily.json | 12 +- .../knowledge/common/skills/lithos-metal.json | 12 +- .../knowledge/common/skills/local-dream.json | 12 +- .../knowledge/common/skills/mistral-rs.json | 12 +- .../knowledge/common/skills/mlc-llm.json | 12 +- .../knowledge/common/skills/mlx-swift-lm.json | 12 +- .../common/skills/npu-skill-factory.json | 8 +- .../skills/optimization-search-policy.json | 12 +- .../common/skills/os-process-placement.json | 12 +- .../skills/performance-ceiling-analysis.json | 12 +- .../skills/plan-activation-residency.json | 12 +- .../knowledge/common/skills/project-maya.json | 12 +- .../knowledge/common/skills/pytorch.json | 12 +- .../skills/repository-evolution-analysis.json | 12 +- .../knowledge/common/skills/rsi-evidence.json | 8 +- .../skills/skill-evolution-playbook.json | 12 +- .../knowledge/common/skills/splash.json | 12 +- .../common/skills/storage-io-measurement.json | 12 +- .../skills/training-input-pipeline.json | 12 +- .../skills/training-resource-budget.json | 12 +- .../skills/video-diffusion-optimization.json | 12 +- .../knowledge/common/skills/vllm-metal.json | 12 +- .../skills/weight-loading-optimization.json | 12 +- .../cuda/skills/audit-afd-p2p-exchanges.json | 12 +- .../skills/audit-flare-session-lifecycle.json | 12 +- .../diagnose-attention-bottlenecks.json | 12 +- .../cuda/skills/host-overhead-profiling.json | 12 +- .../cuda/skills/reason-hopper-kernels.json | 12 +- tests/check_installed.py | 13 + tests/test_cli_catalog.py | 3 + tests/test_knowledge_contribution.py | 274 +++++++++++++++++ tests/test_skill_eval_planned_guidance.py | 118 +++++++ tests/test_skill_index.py | 9 + tests/test_skill_provenance.py | 291 ++++++++++++++++++ tools/build_skill_index.py | 28 +- tools/knowledge_contribution.py | 161 ++++++++++ tools/skill_eval_pr.py | 77 +++-- 95 files changed, 1607 insertions(+), 579 deletions(-) create mode 100644 docs/knowledge-contribution-workflow.md create mode 100644 src/inferrsi/_skill_provenance.py create mode 100644 src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json create mode 100644 tests/test_knowledge_contribution.py create mode 100644 tests/test_skill_provenance.py create mode 100644 tools/knowledge_contribution.py diff --git a/docs/contributing.md b/docs/contributing.md index 27319aaf8..f7b352262 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -52,6 +52,8 @@ external sources, and add its navigation link to the owning README. See the sidecar or registry, commit, then run `python tools/build_skill_index.py --source-revision `; a hand edit there is reverted by the next run and only `--check` reports it. +The [short knowledge workflow](knowledge-contribution-workflow.md) explains the +shared snapshot, parallel integration and generated declaration path lists. Do not maintain a second per-entry Markdown summary. Keep IDs stable, omit PR links, retain source attribution and negative results, and qualify new backends independently. See the diff --git a/docs/knowledge-contribution-workflow.md b/docs/knowledge-contribution-workflow.md new file mode 100644 index 000000000..2a558e0db --- /dev/null +++ b/docs/knowledge-contribution-workflow.md @@ -0,0 +1,154 @@ +# Knowledge contribution workflow + +This tooling proposal implements the bounded contribution-cost scope in +[#355](https://github.com/InferMatrixLab/InferRSI/issues/355). It changes how +projections store provenance, not knowledge quality, acceptance or author policy. + +## Author once, derive the rest + +| Contributor supplies | Tools derive | +| --- | --- | +| Owner procedure, applicability, limitations, evidence judgments and source readsets | Owner resource hashes and discovery JSON | +| External source revision, inspected scope and attribution | Shared snapshot revision and registry hash, from committed Git bytes | +| Registry mapping for a new/moved owner; relevant matrix rows | Coverage view and navigation | +| Actual human contribution, every material AI author's tool/model/effort/role | Final head SHA and complete changed/protected path lists | +| Whether to request an exception and its reason | Exact exception scope, including generated files, deletions and both rename paths | + +Do not copy metadata into discovery JSON or hand-edit generated files. Optional +sidecar fields stay absent when not supplied; the generator does not invent +evidence, license, efficacy, authorship or an exception decision. + +1. Edit the canonical owner, supporting resources and only the relevant registry + or matrix entries. Commit the source changes with accurate DCO/agent trailers. +2. Generate and check the derived files from that source commit: + + ```bash + source_revision=$(git rev-parse HEAD) + python tools/build_skill_index.py --source-revision "$source_revision" + python tools/build_skill_coverage.py + python tools/build_skill_index.py --source-revision "$source_revision" --check + python tools/build_skill_coverage.py --check + ruff check src tests tools + pytest + ``` + + Inspect and commit the actual generated delta. Follow the ready lane's + isolated noneditable-wheel check for resource/packaging changes. Tests and + policy success establish their stated contracts, never skill efficacy. +3. Fetch the current target branch, then obtain the reviewable path report: + + ```bash + python tools/knowledge_contribution.py --base + ``` + + Supply an external JSON file containing only explicit `human_only` and + `material_ai_authors` facts to emit the current policy's single declaration: + + ```bash + python tools/knowledge_contribution.py --base \ + --authors-file + ``` + + Only add `--exception-reason ''` when requesting an + exception. The helper does not approve it. Unknown settings remain unknown; + they do not become admitted settings. A dirty worktree or changed HEAD blocks + declaration output. Rerun after any commit. Review the output before placing + it in the PR body with substantive changes, generated changes and test limits. + +The helper reads policy from the supplied target commit, not the proposed policy +in the worktree. Its PR-style comparison uses that target's merge base with HEAD. +Generated-path classification is a review aid, not proof that bytes are mechanical +or exempt from [knowledge-model policy](knowledge-model-policy.md). + +## Representation and trade-offs + +| Option | Benefit | Cost / reason for choice | +| --- | --- | --- | +| One commit and registry hash embedded in every owner JSON (previous) | Direct standalone attribution | A new snapshot rewrites every record; registry changes do too | +| Per-owner last Git commit | Ordinary owner edits can remain local | Squash replaces the source commit, so a later rebuild rewrites a previously merged owner; shallow history and shared registry changes add complexity | +| Reuse prior generated pins for unchanged owners | Smaller deltas | Generation depends on prior artifacts and possibly unavailable historical objects, rather than a declared complete snapshot | +| Shared snapshot with owner-local projections (this proposal) | Deterministic from one explicit source commit; no unrelated owner rewrites | One shared manifest may conflict; raw projection format migrates once and requires a resolver | + +`knowledge/_provenance.json` stores the full repository/source commit and the +canonical registry path/SHA-256. Each stored schema-v2 skill record contains only +its owner resource paths/hashes and the fixed `_provenance.json` reference. +The catalog validates this local manifest and expands the record into the same +schema-v1 public shape: complete immutable Git URL/commit, paths and source hashes +including the registry. No arbitrary file path or network resolution occurs. +Legacy schema-v1 records continue to read without a manifest. Unsupported or +malformed manifests/records and missing manifests fail rather than falling back. + +This is an explicit storage migration: older code reading raw schema-v2 JSON +cannot consume it as v1. Upgrade the generator and package reader together; +external consumers should use the catalog's resolved API or implement the v2 +resolver. One migration regenerates all owner projections. Future owner-only +edits do not. The public schema, IDs, source URLs, resource reads, Collect and +selection logic stay unchanged. Resolved runtime bundle revisions may still +change with the shared source snapshot or whole-library dependency; this proposal +reduces committed-file churn, not runtime snapshot identity changes. + +The shared manifest is touched because the complete source snapshot changes. +The generated README changes only when navigation/state rows change. Coverage +changes only when its declared source digest or view changes. Adding a registered +owner changes the registry, new owner JSON, manifest and navigation/coverage, +without rewriting existing owners' JSON. + +## Parallel integration and squash provenance + +Resolve canonical source conflicts first and preserve both accepted contributions. +Different-owner branches may conflict in the shared manifest or generated views. +Do not hand-merge owner JSON. For a manifest-only conflict, keeping either side's +manifest temporarily is safe only as an intermediate step before regeneration; +it is not a valid final combined snapshot. Resolve source/matrix/registry conflicts +explicitly, commit the combined canonical sources, then run both generators from +that commit and commit their outputs. Same-owner text conflicts remain conflicts. + +After an ordinary GitHub squash, a pre-squash snapshot may no longer be an +ancestor or available in a clean clone. Package reads still resolve the recorded +snapshot and verify available source bytes, but the Git-backed planner correctly +reports its historical pin unavailable. This proposal does not make that first +squash ancestor-resolvable or add an automatic post-merge writer. + +To restore an ancestor-resolvable snapshot on protected `main`, create a separate +projection-only repair branch from the landed source commit. Generate against +that already-landed commit and submit the small manifest repair through normal +PR review/checks and squash merge. No direct write to `main` is required or +authorized. The repair squash retains its source commit as an ancestor because +the repair does not change canonical sources. If `main` advances with another +knowledge contribution, integrate those accepted sources and regenerate from the +new landed snapshot instead. Unchanged owner JSON stays byte-identical. + +This optional recovery PR is an explicit workflow cost when Git-history-based +planning is required after squash; the storage change does not remove it. A +future automated recovery mechanism would need its own reviewed design and +authority. The raw Git planner preserves its ancestor, source-byte and registry +digest checks instead of trusting missing or unrelated cached objects. + +`build_skill_index.py --source-revision --check` requires that commit +locally and compares canonical Git path inventory and bytes before rendering. +It does not trust hashes from existing generated records. The shallow-checkout +test reconstructs projections from current packaged bytes plus the declared +manifest and checks content consistency. It does **not** independently prove that +an unavailable historical commit owned those bytes. Clean-wheel checks verify +every resolved source resource/hash without requiring historical Git objects. + +## Reproducible acceptance controls + +`tests/test_skill_provenance.py` exercises separate alpha/bravo owner branches, +both squash-integration orders, separate projection-only repair branches/PR +squashes, and a fresh clone. Charlie's JSON remains unchanged, both contributions +survive, and a second generation is identical. A depth-one clone also reproduces +the projection content without claiming unavailable historical proof. A separate +divergent same-owner edit must leave an explicit canonical conflict. These are +synthetic workflow controls, not new knowledge or efficacy evidence. + +The suite also checks owner registration, v1/v2 reader compatibility, missing and +malformed manifests, bad source references and hashes, tampered provenance, +body/resource/registry drift and unavailable source commits. Existing binary, +CRLF, replacement-ref, retrieval, Collect and installed-wheel controls remain. +The helper tests renamed/deleted/generated paths, escaping, dirty state, changed +HEAD, explicit author facts and trusted-base policy selection. + +Measured before/after counts and exact validation results belong in the PR's +revision-scoped evidence. Do not treat a small fixture's counts as a measurement +of the complete library or declare this Issue accepted from CI alone. diff --git a/src/inferrsi/_skill_provenance.py b/src/inferrsi/_skill_provenance.py new file mode 100644 index 000000000..c2d2374cd --- /dev/null +++ b/src/inferrsi/_skill_provenance.py @@ -0,0 +1,86 @@ +"""Resolve the fixed, local skill snapshot without changing catalog v1 callers.""" + +from __future__ import annotations + +import json +import re + +MANIFEST = "_provenance.json" +REPOSITORY = "https://github.com/InferMatrixLab/InferRSI" +REGISTRY = "src/inferrsi/data/skill_library/skill-index.json" + + +def parse_json(text: str) -> object: + def unique_object(pairs): + value = {} + for key, item in pairs: + if key in value: + raise ValueError(f"Duplicate packaged skill provenance field: {key}") + value[key] = item + return value + + return json.loads(text, object_pairs_hook=unique_object) + + +def validate_snapshot(snapshot: object) -> dict: + if ( + not isinstance(snapshot, dict) + or set(snapshot) != {"schema_version", "repository", "source_revision", "registry"} + or type(snapshot["schema_version"]) is not int or snapshot["schema_version"] != 1 + or snapshot["repository"] != REPOSITORY + or not isinstance(snapshot["source_revision"], str) + or not re.fullmatch(r"[0-9a-f]{40}", snapshot["source_revision"]) + or not isinstance(snapshot["registry"], dict) + or set(snapshot["registry"]) != {"path", "sha256"} + or snapshot["registry"]["path"] != REGISTRY + or not isinstance(snapshot["registry"]["sha256"], str) + or not re.fullmatch(r"[0-9a-f]{64}", snapshot["registry"]["sha256"]) + ): + raise ValueError("Invalid packaged skill provenance manifest") + return snapshot + + +def resolve_record(record: dict, snapshot: dict) -> dict: + """Expand only the supported v2 projection; never follow user-supplied locators.""" + snapshot = validate_snapshot(snapshot) + if (type(record.get("schema_version")) is not int or record["schema_version"] != 2 + or record.get("index_type") != "packaged-skill"): + raise ValueError("Unsupported packaged skill projection") + documents = record.get("skill_documents") + if ( + not isinstance(documents, dict) or set(documents) != {"original"} + or not isinstance(documents["original"], str) + or not documents["original"].startswith("data/skill_library/") + or not documents["original"].endswith("/SKILL.md") + ): + raise ValueError("Invalid packaged skill source document") + entry = "src/inferrsi/" + documents["original"] + prefix = entry.removesuffix("SKILL.md") + hashes = record.get("source_files") + if ( + not isinstance(hashes, dict) or entry not in hashes + or any( + not isinstance(path, str) or not path.startswith(prefix) + or "\\" in path or any(part in ("", ".", "..") for part in path.split("/")) + or not isinstance(digest, str) or not re.fullmatch(r"[0-9a-f]{64}", digest) + for path, digest in hashes.items() + ) + ): + raise ValueError("Invalid packaged skill owner source hashes") + expected = [{ + "type": "git", "snapshot": MANIFEST, "path": entry, + "paths": sorted(hashes), "content_sha256": hashes[entry], + }] + if record.get("sources") != expected: + raise ValueError("Packaged skill source disagrees with its owner hashes") + hashes = dict(sorted({**hashes, REGISTRY: snapshot["registry"]["sha256"]}.items())) + revision = snapshot["source_revision"] + return { + **record, + "schema_version": 1, + "sources": [{ + "type": "git", "url": f"{REPOSITORY}/blob/{revision}/{entry}", + "commit": revision, "paths": list(hashes), "content_sha256": hashes[entry], + }], + "source_files": hashes, + } diff --git a/src/inferrsi/catalog.py b/src/inferrsi/catalog.py index 69dc86663..0c3808afa 100644 --- a/src/inferrsi/catalog.py +++ b/src/inferrsi/catalog.py @@ -7,6 +7,8 @@ from importlib.resources import files from typing import Any +from ._skill_provenance import MANIFEST, parse_json, resolve_record, validate_snapshot + REPO_TYPES = ("vllm", "vllm_omni", "afd_plugin", "vllm_rlt", "strata", "sglang", "sglang_omni") # Learning scope does not imply that a repository has a runnable target adapter. # Legacy repository-pack records retain their contribution tier; an independent @@ -98,10 +100,23 @@ def knowledge_records() -> list[dict[str, Any]]: ) if not knowledge.is_dir(): continue + snapshot = None + if repo == "inferrsi" and tier == "contribution": + manifest = knowledge.joinpath(MANIFEST) + if manifest.is_file(): + snapshot = validate_snapshot(parse_json(manifest.read_text(encoding="utf-8"))) for parts, item in _walk(knowledge): if not item.name.endswith(".json"): continue - record = json.loads(item.read_text(encoding="utf-8")) + if repo == "inferrsi" and tier == "contribution" and parts == (MANIFEST,): + continue + parse = parse_json if repo == "inferrsi" and tier == "contribution" else json.loads + record = parse(item.read_text(encoding="utf-8")) + if (repo == "inferrsi" and tier == "contribution" + and isinstance(record, dict) and record.get("schema_version") == 2): + if snapshot is None: + raise ValueError("Missing packaged skill provenance manifest") + record = resolve_record(record, snapshot) _validate_record(record, repo, parts, tier) if record["id"] in seen: raise ValueError(f"Duplicate knowledge ID: {record['id']}") diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md index 41ea29e6d..754bc3150 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md @@ -15,7 +15,11 @@ 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: [1e87be46b8d080d439bb516ed9fa9092f8306f62](https://github.com/InferMatrixLab/InferRSI/tree/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library). +Source snapshot and registry hash: [_provenance.json](_provenance.json). + +Stored schema-v2 projections contain owner-local hashes and a fixed snapshot reference. +The catalog resolves that shared manifest into the existing schema-v1 records with +complete Git URLs, commits, source paths and registry hashes. No network lookup occurs. ```bash inferrsi knowledge search 'profiling' --repo-type inferrsi --limit 50 @@ -29,7 +33,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 1e87be46b8d080d439bb516ed9fa9092f8306f62 --check +python tools/build_skill_index.py --source-revision --check ``` `--check` detects missing, stale and unexpected generated records without writing. diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json new file mode 100644 index 000000000..33b190b3c --- /dev/null +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json @@ -0,0 +1,9 @@ +{ + "schema_version": 1, + "repository": "https://github.com/InferMatrixLab/InferRSI", + "source_revision": "01c73521ced6ca760cdfa42c9b937fe985a20d64", + "registry": { + "path": "src/inferrsi/data/skill_library/skill-index.json", + "sha256": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + } +} 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 49a1b33ec..0894054fc 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_aclgraph_capture_replay", "title": "ascend-aclgraph-capture-replay", "repo": "inferrsi", @@ -21,13 +21,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md" ], "content_sha256": "d494fc7e539cbb7388189bd7b3f04bb5c4983fdd7a82484348aad1cee7f741f2" } @@ -40,8 +39,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md": "d494fc7e539cbb7388189bd7b3f04bb5c4983fdd7a82484348aad1cee7f741f2", "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/metadata.json": "3ac69dd82ae798450092c830b62f4958dc2f5b1c7000f9c3f822f2b0693f8af4", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md": "6ffbfb68cc7e04923b4fbca2a73a7555b7c3b45a6f40819bb5f3213ef05cf88d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md": "6ffbfb68cc7e04923b4fbca2a73a7555b7c3b45a6f40819bb5f3213ef05cf88d" }, "skill_metadata": { "name": "ascend-aclgraph-capture-replay", 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 5475a6192..ee35e744e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_device_health", "title": "ascend-device-health", "repo": "inferrsi", @@ -23,12 +23,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json" ], "content_sha256": "03829039860ece35519f2e4c339a48b5014ec25e07a2c150a3efb6a3a4e35b4a" } @@ -40,8 +39,7 @@ "checkout_ref": "checkout:ascend-device-health", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md": "03829039860ece35519f2e4c339a48b5014ec25e07a2c150a3efb6a3a4e35b4a", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json": "f643185563dbf528a5a1f2b0561685ae34302a9efc9900c6753a7168b4e8b329", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json": "f643185563dbf528a5a1f2b0561685ae34302a9efc9900c6753a7168b4e8b329" }, "skill_metadata": { "name": "ascend-device-health", 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 f44a0c6fc..f5a982dd6 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_distributed_parallel", "title": "ascend-distributed-parallel", "repo": "inferrsi", @@ -27,16 +27,15 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", "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", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/awesome-ascend-communication-tests.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-LICENSE.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce-readset.json", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md" ], "content_sha256": "0b79d95e8d5abf0a822f8ae6bfa3779cbb40595c5b6f0fb934233275f5899ef8" } @@ -52,8 +51,7 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/awesome-ascend-communication-tests.md": "0cb27a3d24409171bb414d7ebf0c49ad62be5f46482f29624695496ba9eb3e63", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-LICENSE.md": "05205a02acebd671c78d3b876c1f6097b84cce89780f5d9bdc204bfbea92d0c1", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce-readset.json": "4a3d403986dfceaa28605f2f30b79545e1efdc27f35c88755402b75b4d13d7e2", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md": "4770bba0090ed5ead3d2fd3b2cce2d21ba708acae3e0b4d859cc503499da5b93", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md": "4770bba0090ed5ead3d2fd3b2cce2d21ba708acae3e0b4d859cc503499da5b93" }, "skill_metadata": { "name": "ascend-distributed-parallel", 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 759b002fc..92fc8bd03 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_graph_mode", "title": "ascend-graph-mode", "repo": "inferrsi", @@ -26,16 +26,15 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", "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", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/legacy-source-notes.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-LICENSE.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-path.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json" ], "content_sha256": "a7341b5bf3b43f32d6114e2109e5043e46f3ddeef9b7bb3b20c1c50236bab638" } @@ -51,8 +50,7 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/legacy-source-notes.md": "a51c655aff59741cd7421277bd71dffeb9907560950459ae0a776207e496de4a", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-LICENSE.md": "bc07d81fa332b6543463588a120518c57b5ce8582d3747de75d2f6b09b068c01", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-path.md": "272424571ff439278c8f2675406eae7da9a6482c581973e24319739fa0e58348", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json": "eb84cbd5c355a88ee013dc7e428b274162e0e13e85845b58526113b0d6a2b46b", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json": "eb84cbd5c355a88ee013dc7e428b274162e0e13e85845b58526113b0d6a2b46b" }, "skill_metadata": { "name": "ascend-graph-mode", 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 6590af696..5f30dfd70 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_model_adaptation", "title": "ascend-model-adaptation", "repo": "inferrsi", @@ -22,12 +22,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json" ], "content_sha256": "8fdf46fb2743b67a66bc069d22a45305a222debfb606777bc451b4b8f31d9cc6" } @@ -39,8 +38,7 @@ "checkout_ref": "checkout:ascend-model-adaptation", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md": "8fdf46fb2743b67a66bc069d22a45305a222debfb606777bc451b4b8f31d9cc6", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json": "989b91821b36c0b80caf1323ec527e7ac847219b8f4fe8ca4ea22d292365cc3c", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json": "989b91821b36c0b80caf1323ec527e7ac847219b8f4fe8ca4ea22d292365cc3c" }, "skill_metadata": { "name": "ascend-model-adaptation", 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 f7a87ffc6..a60051a44 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_operator_profiling", "title": "ascend-operator-profiling", "repo": "inferrsi", @@ -23,12 +23,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json" ], "content_sha256": "401981cf7828edcab0c9ea882f7ecd83badfa3c2a95006e912cf99d67b3d6a12" } @@ -40,8 +39,7 @@ "checkout_ref": "checkout:ascend-operator-profiling", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md": "401981cf7828edcab0c9ea882f7ecd83badfa3c2a95006e912cf99d67b3d6a12", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json": "b2b93637f01546ecb1b7076be6798d234988c594cccdcb764ad222af9ad21af9", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json": "b2b93637f01546ecb1b7076be6798d234988c594cccdcb764ad222af9ad21af9" }, "skill_metadata": { "name": "ascend-operator-profiling", 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 a71afd0d2..aad203413 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_operator_tuning", "title": "ascend-operator-tuning", "repo": "inferrsi", @@ -24,12 +24,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json" ], "content_sha256": "38b151bc6b4e9734c6fa41efb7a30343559400c0c75bbdd26bd8a968b8ea4592" } @@ -41,8 +40,7 @@ "checkout_ref": "checkout:ascend-operator-tuning", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md": "38b151bc6b4e9734c6fa41efb7a30343559400c0c75bbdd26bd8a968b8ea4592", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json": "776fe88247ddacd3cf245920c580a9ff8f2a80fbc0ad1fa7d8be6d63b15a66f7", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json": "776fe88247ddacd3cf245920c580a9ff8f2a80fbc0ad1fa7d8be6d63b15a66f7" }, "skill_metadata": { "name": "ascend-operator-tuning", 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 17aa4ec22..e5afaeee7 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_optimization_casebook", "title": "ascend-optimization-casebook", "repo": "inferrsi", @@ -22,12 +22,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json" ], "content_sha256": "647f5e9a288f2c4e1617ba53df59d9d827df749eb4fe86182d21a9c41175caf8" } @@ -39,8 +38,7 @@ "checkout_ref": "checkout:ascend-optimization-casebook", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md": "647f5e9a288f2c4e1617ba53df59d9d827df749eb4fe86182d21a9c41175caf8", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json": "e5e49bf7b24fbc32ddaf1aa8ec14051ef6393533b12bb2c55fff2fb0da927541", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json": "e5e49bf7b24fbc32ddaf1aa8ec14051ef6393533b12bb2c55fff2fb0da927541" }, "skill_metadata": { "name": "ascend-optimization-casebook", 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 2a7cbd1c5..f9f6bfd9e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_performance_analysis", "title": "ascend-performance-analysis", "repo": "inferrsi", @@ -22,14 +22,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", "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", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-CANN-2.0-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md" ], "content_sha256": "a057b7f86a24f34a8f84abbbb4910d58d4e50ff47060e1c404600017e3febe89" } @@ -43,8 +42,7 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md": "a057b7f86a24f34a8f84abbbb4910d58d4e50ff47060e1c404600017e3febe89", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/metadata.json": "f3fb35b14b5b1054a9192459862451149395368f4a75f430caef2f41ad050296", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-CANN-2.0-LICENSE.md": "89b1c114df62cfd183004f38d18d07f186436c3b37203dd69c3e84becf9d2282", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md": "f56e4125325c9c1b9235a1d64fd732861c7686444492422daff44ba8dd648be4", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md": "f56e4125325c9c1b9235a1d64fd732861c7686444492422daff44ba8dd648be4" }, "skill_metadata": { "name": "ascend-performance-analysis", 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 6f02a2d11..3fd3b4c7a 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_video_diffusion_optimization", "title": "ascend-video-diffusion-optimization", "repo": "inferrsi", @@ -26,13 +26,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md" ], "content_sha256": "53c21e64f0dd47f9510faef1f2c01e1283899787ba7ebfe70cdabd8e57a76f00" } @@ -45,8 +44,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md": "53c21e64f0dd47f9510faef1f2c01e1283899787ba7ebfe70cdabd8e57a76f00", "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/metadata.json": "35f725c9d9e0a8638b234da798232d2ae49a37b70f0b0360710bce333f9265ca", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md": "dadac7b23462fdc325218c72ddf8a2ac553151761a5d3e45b854b53d2c8c6908", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md": "dadac7b23462fdc325218c72ddf8a2ac553151761a5d3e45b854b53d2c8c6908" }, "skill_metadata": { "name": "ascend-video-diffusion-optimization", 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 9d5729069..2f7b24496 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascendc_tiling_design", "title": "ascendc-tiling-design", "repo": "inferrsi", @@ -24,12 +24,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json" ], "content_sha256": "93aa1b775ced304cebfe6c4dec0503ddb2260ecb3cb01edc17ce329446c5ce2b" } @@ -41,8 +40,7 @@ "checkout_ref": "checkout:ascendc-tiling-design", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md": "93aa1b775ced304cebfe6c4dec0503ddb2260ecb3cb01edc17ce329446c5ce2b", - "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json": "03cfd09faa3edf42f9d08d0d8878fe5cb7c7a376abacf211dd8f500c698f3a8f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json": "03cfd09faa3edf42f9d08d0d8878fe5cb7c7a376abacf211dd8f500c698f3a8f" }, "skill_metadata": { "name": "ascendc-tiling-design", 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 3603ab46d..a65473bc9 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.cann_attribution_overlap", "title": "cann-attribution-overlap", "repo": "inferrsi", @@ -24,12 +24,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json" ], "content_sha256": "0e6f094dc554abea12e07def50f20b233b47127779a8aefad595b4ab1efd24c2" } @@ -41,8 +40,7 @@ "checkout_ref": "checkout:cann-attribution-overlap", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md": "0e6f094dc554abea12e07def50f20b233b47127779a8aefad595b4ab1efd24c2", - "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json": "7ad137076afb55fbea74c6c5c0c0ca8eb3a8e615a765ec23199e8df75a8abd4f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json": "7ad137076afb55fbea74c6c5c0c0ca8eb3a8e615a765ec23199e8df75a8abd4f" }, "skill_metadata": { "name": "cann-attribution-overlap", 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 b3aaf6019..111f88114 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.torch_npu", "title": "torch-npu", "repo": "inferrsi", @@ -20,8 +20,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", "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", @@ -81,8 +81,7 @@ "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/metadata.json", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/source-map.md", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/training.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md" ], "content_sha256": "7e92d5c8d3d49ebe72613a2eac0855b8d7faa670277f6d1a1f6b84ed0fe7441b" } @@ -151,8 +150,7 @@ "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/metadata.json": "73e71cdcb98e187f1470eb71ec9030fa870e46d8cf6eaf396860b712c491aefa", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/source-map.md": "3bfc78d9348f9a1072120f82d7a1a7f042b4fe2ce908a005e22716a797dc0c7b", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/training.md": "0695532020c71d061ddf40ad16536621e004c23dd05d27aaa9f5b46101f6ef62", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md": "0f7fb3879d51c793ca0fd6d14fd34352f94297f075295d01488ffab4c5fc0fa4", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md": "0f7fb3879d51c793ca0fd6d14fd34352f94297f075295d01488ffab4c5fc0fa4" }, "skill_metadata": { "name": "torch-npu", 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 732ac06dc..f9be176b1 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.torchnpu_device_memory_lifecycle", "title": "torchnpu-device-memory-lifecycle", "repo": "inferrsi", @@ -22,13 +22,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", "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", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md" ], "content_sha256": "8428df7157af024fa17cfe0b3818ed54bd9f468306dda46eb8d4f0edf4f3f230" } @@ -41,8 +40,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md": "8428df7157af024fa17cfe0b3818ed54bd9f468306dda46eb8d4f0edf4f3f230", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/metadata.json": "02de593e638e71c6debb763b6b0d5a5596e0b810bbe48450ead28dc43de83f99", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md": "80cba4d3a884e7ee2618326cf74b9f9c3a34e4d9cf443707f6bbe673f2d5ba65", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md": "80cba4d3a884e7ee2618326cf74b9f9c3a34e4d9cf443707f6bbe673f2d5ba65" }, "skill_metadata": { "name": "torchnpu-device-memory-lifecycle", 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 09f8a23eb..16d477943 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.torchnpu_pinned_host_memory_lifecycle", "title": "torchnpu-pinned-host-memory-lifecycle", "repo": "inferrsi", @@ -22,13 +22,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", "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", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md" ], "content_sha256": "23e93ea7c98f99743509fdc04139d78ed2e7123c63e80b366c6beaba7eb70d0d" } @@ -41,8 +40,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md": "23e93ea7c98f99743509fdc04139d78ed2e7123c63e80b366c6beaba7eb70d0d", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/metadata.json": "0fa51de079663043fd5785beffb153d989b1cac5833dbd2c99535f6b782a5e95", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md": "435193590b4a2ba32e2e4c6fa9d7e8f889528d412cbbb48e35ec5433f7dab384", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md": "435193590b4a2ba32e2e4c6fa9d7e8f889528d412cbbb48e35ec5433f7dab384" }, "skill_metadata": { "name": "torchnpu-pinned-host-memory-lifecycle", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json index 94c56179f..f13f30f4e 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.vllm_ascend", "title": "vllm-ascend", "repo": "inferrsi", @@ -39,8 +39,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", "src/inferrsi/data/skill_library/repositories/vllm-ascend/metadata.json", @@ -54,8 +54,7 @@ "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/model-performance.md", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/plugin-registration.md", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/sources.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py" ], "content_sha256": "0e8611f404a947613669ae024ac853eeadc02619e3a218c65b2583a3476a2452" } @@ -78,8 +77,7 @@ "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/model-performance.md": "6c9bda4499239fe7a206b578b8190ab36c5454d15b57eb4f591eb2ebe1e037e7", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/plugin-registration.md": "ab1b090f22bd0315d2a2e14324064a1c04653fd4eabeffa60de80b9e606de75c", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/sources.md": "9b588e6c4887ff7b5081a72f6fb63b5f53c2f716571b5855acbffc85dbbdc2ab", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py": "922aa44cc796503628edaff3779d69e5560cf73fa8175859e2fbd701e9ad69e6", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py": "922aa44cc796503628edaff3779d69e5560cf73fa8175859e2fbd701e9ad69e6" }, "skill_metadata": { "name": "vllm-ascend", 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 f87b9e7e9..acf76af2f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.assess_serving_preemption", "title": "assess-serving-preemption", "repo": "inferrsi", @@ -16,13 +16,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", "src/inferrsi/data/skill_library/methods/assess-serving-preemption/metadata.json", - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md" ], "content_sha256": "0a5f48d9352c5bf460775ef47f9136829978811f4a16e84983e299782cae305d" } @@ -35,8 +34,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md": "0a5f48d9352c5bf460775ef47f9136829978811f4a16e84983e299782cae305d", "src/inferrsi/data/skill_library/methods/assess-serving-preemption/metadata.json": "3e2cea37f5669e7c60f7c01c390a48ea960b15cbd6de8f5340cf8fe2afb9e1a1", - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md": "f29fcecfba0490008a354c11b42403983fe165e56ff907ad61cc6040d2b6407f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md": "f29fcecfba0490008a354c11b42403983fe165e56ff907ad61cc6040d2b6407f" }, "skill_metadata": { "name": "assess-serving-preemption", 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 72f7896f3..d35d03cde 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.assess_split_backward_schedule", "title": "assess-split-backward-schedule", "repo": "inferrsi", @@ -16,13 +16,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", "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", - "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md" ], "content_sha256": "1e64f28ea71672fb53c56f6108b87864738c6d03d6dcd32eedaef9e0625e96e3" } @@ -35,8 +34,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md": "1e64f28ea71672fb53c56f6108b87864738c6d03d6dcd32eedaef9e0625e96e3", "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/metadata.json": "a089dd2c2e5a4b41e970e426c63b5b8f65acc77d2e5a40a44b38543b5d730a00", - "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md": "61b1609f71c37b61d136b8c4d39f793de87cffb1cf31c8ec737a1c3fa6fb1b4e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md": "61b1609f71c37b61d136b8c4d39f793de87cffb1cf31c8ec737a1c3fa6fb1b4e" }, "skill_metadata": { "name": "assess-split-backward-schedule", 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 9a09007f3..27fe09f99 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_fixed_workload_claim", "title": "audit-fixed-workload-claim", "repo": "inferrsi", @@ -20,12 +20,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json" ], "content_sha256": "2be89b1340a3deb978c8e1792d18aeecbe8f5de81d4daf542389f53826b8ebee" } @@ -37,8 +36,7 @@ "checkout_ref": "checkout:audit-fixed-workload-claim", "source_files": { "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md": "2be89b1340a3deb978c8e1792d18aeecbe8f5de81d4daf542389f53826b8ebee", - "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json": "c3c6ee33ce318c6ec052b848f9be9797b2b1febd8ea563face20db018613a110", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json": "c3c6ee33ce318c6ec052b848f9be9797b2b1febd8ea563face20db018613a110" }, "skill_metadata": { "name": "audit-fixed-workload-claim", 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 fee30b7bd..a7a7ea09c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_h3_metal_fasth3_semantics", "title": "audit-h3-metal-fasth3-semantics", "repo": "inferrsi", @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", "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", @@ -42,8 +42,7 @@ "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-notes.md", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py" ], "content_sha256": "e5205de6eba52b3d1693666af755640697717e52ee7834e1ae30e4071b208d54" } @@ -64,8 +63,7 @@ "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-identity.json": "b0e63197725c6a1baa4888ca3c48ccd4926b6e6f0f8bf781ae76ac97ffd1ceb1", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-notes.md": "f9430103644eacd9c55ace6f84d8587fc0bc063bfcd9cb60e6045b139a9fee05", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/troubleshooting.md": "ed552d87f9fb9fb2c56de64df61f3fc6e2333cb049116cd0736f784c8a327612", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py": "05bfb9348cf88a76f4fba8bc8a600fe54246d83a98c1685bc4847ace28e2fbac", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py": "05bfb9348cf88a76f4fba8bc8a600fe54246d83a98c1685bc4847ace28e2fbac" }, "skill_metadata": { "name": "audit-h3-metal-fasth3-semantics", 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 ff4856eb9..e80323dd6 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_h3_runtime_residency", "title": "audit-h3-runtime-residency", "repo": "inferrsi", @@ -30,8 +30,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", "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", @@ -43,8 +43,7 @@ "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/precision-and-streaming.md", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md" ], "content_sha256": "fdb4d9483c6efa836f9e59617da605fa9c2186e11c2041b05d5c81850ba0475d" } @@ -65,8 +64,7 @@ "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/precision-and-streaming.md": "7e166c89193f4c7aed852ec95346a2de2b5008dac002e2e1862be1b3e57f6093", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-identity.json": "730f8dd23648a3f8f47b9726cc613d893a79d1817d515eec609a9b06d8a9ff90", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-notes.md": "7304bf9369efc157dc7aa40686dd828cc14db45c49442e908b3d3cc4b329eb86", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md": "0754873a758e048480938314894e25b504ae0c269549312e7f8e6020d83fe294", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md": "0754873a758e048480938314894e25b504ae0c269549312e7f8e6020d83fe294" }, "skill_metadata": { "name": "audit-h3-runtime-residency", 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 d9049e0b2..04e86be9d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_llama_runtime_state", "title": "audit-llama-runtime-state", "repo": "inferrsi", @@ -23,13 +23,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", "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", - "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md" ], "content_sha256": "95e81b6bc096a954fa73139ea5bc001d1efa6c99747161da62f012b494e5c013" } @@ -42,8 +41,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md": "3d12a401e9decb55a2f4f3b2bfa0d360ef5110f63a0469dfe285654e78054190" }, "skill_metadata": { "name": "audit-llama-runtime-state", 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 d210e22c7..8e16f176d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_recurrent_kv_finalization", "title": "audit-recurrent-kv-finalization", "repo": "inferrsi", @@ -26,16 +26,15 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", "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", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/NOTICE.md", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md" ], "content_sha256": "a468d75f25e77b96e6fb5376692f7a89c0464cc00d4df035f1dc6cc923f713cc" } @@ -51,8 +50,7 @@ "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", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md": "0956f59cd9a1fac27da53228dd60c51a07b87639a43c09bfab296c4aeeceaab9" }, "skill_metadata": { "name": "audit-recurrent-kv-finalization", 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 0be1ec772..8966767eb 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_sd_cpp_residency", "title": "audit-sd-cpp-residency", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", "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", @@ -35,8 +35,7 @@ "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/phase-residency.md", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md" ], "content_sha256": "4c04d39812fb566e3ecb5807c170d5c32848eb2b93a1f0fedcf66ba9a9c92860" } @@ -54,8 +53,7 @@ "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", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-notes.md": "c493af8f6fd11ab7c9a37c9eec78cac31d57c04403a790035efbb4fff99f4669", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md": "3aaf79b36192bf8ff3e8f95ac90f2e769aa065dfac1fe70368824f3591849b8d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md": "3aaf79b36192bf8ff3e8f95ac90f2e769aa065dfac1fe70368824f3591849b8d" }, "skill_metadata": { "name": "audit-sd-cpp-residency", 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 dfab8adc4..8da57d6ef 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_sglang_diffusion_lifetimes", "title": "audit-sglang-diffusion-lifetimes", "repo": "inferrsi", @@ -23,14 +23,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", "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", "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json", - "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md" ], "content_sha256": "b0a4ba4751087126143ef86983798deb0ed00e24b6ff06bf6ef76a9df6e274f2" } @@ -44,8 +43,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md": "d0fcfd1177ae2f351041c5b2abba7f5121cec133006d9e4dca8f74ddb567332d" }, "skill_metadata": { "name": "audit-sglang-diffusion-lifetimes", 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 cab1bdde7..44e0b707c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_vllm_kv_lifetimes", "title": "audit-vllm-kv-lifetimes", "repo": "inferrsi", @@ -21,13 +21,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", "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", - "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md" ], "content_sha256": "4c3f27459df239f9f4fc971c559d4c9ddfbfebd70507a8a93be8eae59a30b69d" } @@ -40,8 +39,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md": "3665b034594fc8cc767c408002f4e16f8803369242405027c7f37ce6c9ecebe9" }, "skill_metadata": { "name": "audit-vllm-kv-lifetimes", 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 940fc1229..d0877ee7d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.bound_windowed_attention_replay", "title": "bound-windowed-attention-replay", "repo": "inferrsi", @@ -23,14 +23,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", "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", "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md" ], "content_sha256": "4703beb6e5194ef2ff2c0b5ec69f64e35417a4bc0dfb50a10c80a920b77ef3b5" } @@ -44,8 +43,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md": "60e71e70c5519bcdf6c171eec2be2f342e8801bedd746d6005f11adc646dfaff" }, "skill_metadata": { "name": "bound-windowed-attention-replay", 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 999eba3b1..0ef083a03 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.budget_speculative_verification", "title": "budget-speculative-verification", "repo": "inferrsi", @@ -23,14 +23,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", "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", "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md" ], "content_sha256": "f157562d1edc905cb4fc07246567e3c5b844efb9fbf5fe39f0d40553a1b1a307" } @@ -44,8 +43,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md": "673d93f6700052974b340fab25b3438e0e6344960569ac9abec7d7720f662288" }, "skill_metadata": { "name": "budget-speculative-verification", 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 95db942cc..823d229e5 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.calibrate_serving_simulation", "title": "calibrate-serving-simulation", "repo": "inferrsi", @@ -16,13 +16,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/metadata.json", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md" ], "content_sha256": "ac773c6f1c110a664dfca28a3ae9129b10c07614e60ca3640dea776220e7b352" } @@ -35,8 +34,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md": "ac773c6f1c110a664dfca28a3ae9129b10c07614e60ca3640dea776220e7b352", "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/metadata.json": "96771fb6fecf5fc7773bb7cf84038d8eaf436add1a0362dc26110c82037f8320", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md": "9696d3c0ef96b6611787446bd6f96d4d6255ca8d107105de8c1d9af83edb9fa5", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md": "9696d3c0ef96b6611787446bd6f96d4d6255ca8d107105de8c1d9af83edb9fa5" }, "skill_metadata": { "name": "calibrate-serving-simulation", 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 f3e54d518..b5bb61c4f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.cgroup_resource_controls", "title": "cgroup-resource-controls", "repo": "inferrsi", @@ -25,12 +25,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json" ], "content_sha256": "fd1f5a7e6a55714730044155f5b38c1d700383d4e16c3e91963bbfbe1c773af5" } @@ -42,8 +41,7 @@ "checkout_ref": "checkout:cgroup-resource-controls", "source_files": { "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md": "fd1f5a7e6a55714730044155f5b38c1d700383d4e16c3e91963bbfbe1c773af5", - "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json": "155aa391e573fa5bd90a089f4e3d06f357795f5d89c8cf9260e3e8ec3636b243", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json": "155aa391e573fa5bd90a089f4e3d06f357795f5d89c8cf9260e3e8ec3636b243" }, "skill_metadata": { "name": "cgroup-resource-controls", 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 9c2e8444b..014071775 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.checkpoint_recovery_consistency", "title": "checkpoint-recovery-consistency", "repo": "inferrsi", @@ -22,14 +22,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/metadata.json", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/dlrover-persistence-replicas.md", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md" ], "content_sha256": "6b7db1eb2780dec27858cb7aa0a3c093c5b5dfa4c30261aebfeaa255213ff688" } @@ -43,8 +42,7 @@ "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md": "6b7db1eb2780dec27858cb7aa0a3c093c5b5dfa4c30261aebfeaa255213ff688", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/metadata.json": "4185ff9f8b4c06d2a984753127780f29ceebf50d87b225a7697bfecccc2a4a60", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/dlrover-persistence-replicas.md": "055f4357f79026fcbcc766bbe77db610376ec353623f8898f5d14a30ee69e7bc", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md": "9425b1aab963a2c8d35f3db897bd15ee69699bf5b0d0c8425c3c8bba3e9a0233", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md": "9425b1aab963a2c8d35f3db897bd15ee69699bf5b0d0c8425c3c8bba3e9a0233" }, "skill_metadata": { "name": "checkpoint-recovery-consistency", 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 f59de37dc..a3b129ecc 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.choose_parallel_training_plan", "title": "choose-parallel-training-plan", "repo": "inferrsi", @@ -16,13 +16,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", "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", - "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md" ], "content_sha256": "25d04aed9782b2a8ff1186828becdc7fce93c4418039ceaef9b8dcc5ec9bcd24" } @@ -35,8 +34,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md": "25d04aed9782b2a8ff1186828becdc7fce93c4418039ceaef9b8dcc5ec9bcd24", "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/metadata.json": "4990d0a2f1a269111a680f45a5d91221af37e3f8b3ce514fea84e97878e767cd", - "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md": "9f9184d46b19312138a6e805e439e43dc0594a0cc6b46675255a582dc946ca5b", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md": "9f9184d46b19312138a6e805e439e43dc0594a0cc6b46675255a582dc946ca5b" }, "skill_metadata": { "name": "choose-parallel-training-plan", 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 972257d8f..94811d521 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.cite_check_downstream_pr", "title": "cite-check-downstream-pr", "repo": "inferrsi", @@ -22,10 +22,9 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/metadata.json" ], @@ -38,7 +37,6 @@ }, "checkout_ref": "checkout:cite-check-downstream-pr", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md": "485932cdf3b1fba5dc69be73e75d38f86a7b79442d26e82a296c963a7598d226", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/metadata.json": "ade23e3def5c7b875fba4084d32fa63b1af90bebeade72506265c974405eb55d" }, 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 2e1bad2bf..9b56fa049 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.claim_contract", "title": "claim-contract", "repo": "inferrsi", @@ -22,10 +22,9 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", "src/inferrsi/data/skill_library/workflows/claim-contract/metadata.json" ], @@ -38,7 +37,6 @@ }, "checkout_ref": "checkout:claim-contract", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md": "3af1dbbe81d91cb05fc2ef15a2ae25d7592a08558e1a5535f49c52f33a488c55", "src/inferrsi/data/skill_library/workflows/claim-contract/metadata.json": "25c0137cf347f75d7ff8f8305d9ff5f055c6881ddf4b708f923c3176de16c153" }, 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 535de5aa2..e5b740646 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.comfy_ui", "title": "comfy-ui", "repo": "inferrsi", @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/comfy-ui/LICENSE", "src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", @@ -31,8 +31,7 @@ "src/inferrsi/data/skill_library/repositories/comfy-ui/references/graph-cache-invalidation.md", "src/inferrsi/data/skill_library/repositories/comfy-ui/references/model-residency.md", "src/inferrsi/data/skill_library/repositories/comfy-ui/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md" ], "content_sha256": "c993bd6ff8e9b5f82f39f175ec8242341136e4ee0808af414e1d94ad3e196c5e" } @@ -49,8 +48,7 @@ "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", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md": "1913dedbeb558d872d6a0e015cc11d822910c3cb259a236db29fb60ad8a64263", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md": "1913dedbeb558d872d6a0e015cc11d822910c3cb259a236db29fb60ad8a64263" }, "skill_metadata": { "name": "comfy-ui", 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 0aede0ac3..8f83d9a40 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.competitor_scan", "title": "competitor-scan", "repo": "inferrsi", @@ -21,10 +21,9 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", "src/inferrsi/data/skill_library/workflows/competitor-scan/metadata.json" ], @@ -37,7 +36,6 @@ }, "checkout_ref": "checkout:competitor-scan", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md": "0ede58ace65a9324a538b4816add1684f230ba536d4364fe5a5dd2c0bbed3776", "src/inferrsi/data/skill_library/workflows/competitor-scan/metadata.json": "e1a279c0b730c80fa34ca985c004d4084dae5ee77685f7f2b642cf469bfffffc" }, 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 59fde0772..a2d8e50d8 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.dcp_async_save_performance", "title": "dcp-async-save-performance", "repo": "inferrsi", @@ -23,13 +23,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", "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", - "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md" ], "content_sha256": "645139ee0c88ec865cad952e24cda35f4648d4b777b732c9b7d274b6c7830845" } @@ -42,8 +41,7 @@ "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": "49764fa454403fb38891d82ee63de1e07a90d3ff6a3cd28550aee7ea34cbdcb0", - "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md": "22afe4f4d77f441096cc657d55d763473bfcbea8fb531c8e493fe49ab84955f7", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md": "22afe4f4d77f441096cc657d55d763473bfcbea8fb531c8e493fe49ab84955f7" }, "skill_metadata": { "name": "dcp-async-save-performance", 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 fd974be51..effb07262 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.dense_performance_evidence", "title": "dense-performance-evidence", "repo": "inferrsi", @@ -21,12 +21,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", - "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json" ], "content_sha256": "53cc1867a13f54d1006d50517dea8848869ca50df3f0cd610b2424cc8d18c933" } @@ -38,8 +37,7 @@ "checkout_ref": "checkout:dense-performance-evidence", "source_files": { "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md": "53cc1867a13f54d1006d50517dea8848869ca50df3f0cd610b2424cc8d18c933", - "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json": "041780985dcaf76809d29dc0d4e242359b17b6bcfaadab2d05674fa4699a5427", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json": "041780985dcaf76809d29dc0d4e242359b17b6bcfaadab2d05674fa4699a5427" }, "skill_metadata": { "name": "dense-performance-evidence", 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 a58908e46..ce342ab54 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.diagnose_vllm_admission_pressure", "title": "diagnose-vllm-admission-pressure", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", "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", @@ -39,8 +39,7 @@ "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/llumnix-readset.md", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/loongserve-readset.md", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/orca-readset.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md" ], "content_sha256": "d99fc28d48127d3bc627f2a0cab6f3f16158a77da49428838a08865adaea9905" } @@ -66,8 +65,7 @@ "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/llumnix-readset.md": "3a2819d65ad24087c08530492ef39d8ea046ed1f780d53512f1d23e2b3578487", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/loongserve-readset.md": "f1a383e7bdbbd5a5a472d7f6e1292c8a17d4910ff736ca5a6aa422e1bee74f8c", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/orca-readset.md": "a497ef23b7e60c0fbc15d95b7e07cd20547cfe56f37c24dfe6ed70d79ef7a3cf", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md": "84033fd514773f10c0bddd9914fabb980497ba2b308f226a922c3e1888413827", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md": "84033fd514773f10c0bddd9914fabb980497ba2b308f226a922c3e1888413827" }, "skill_metadata": { "name": "diagnose-vllm-admission-pressure", 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 b6a6d3306..546af59fa 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.diffusers_invocation_state", "title": "diffusers-invocation-state", "repo": "inferrsi", @@ -22,15 +22,14 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", "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", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/ownership.md", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md" ], "content_sha256": "7581b56336d07213a87d01477793ae1a8acf0b7cf876fce36c9a761ee32c1ff4" } @@ -45,8 +44,7 @@ "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", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md": "5a0b854b87d091d7d505b0bdd5c03330052507a851ab6edf35b93a6675f2d4f7" }, "skill_metadata": { "name": "diffusers-invocation-state", 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 843d09712..05cc72df2 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.draft_acceptance_issue", "title": "draft-acceptance-issue", "repo": "inferrsi", @@ -22,10 +22,9 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/metadata.json" ], @@ -38,7 +37,6 @@ }, "checkout_ref": "checkout:draft-acceptance-issue", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md": "ce983acfb7d7d3272775e7cf00c92e4ddadd97511b602575a76e5ab7ade01b56", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/metadata.json": "ff1c463a13d0c869baaf90505a7fe981d684ee7b79f2fa8d2358340b6b4139a7" }, 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 27ab7e056..932248bdd 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.dwarfstar", "title": "dwarfstar", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/dwarfstar/LICENSE", "src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", @@ -43,8 +43,7 @@ "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/references/troubleshooting.md", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/SKILL.md", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/state-contracts.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md" ], "content_sha256": "a04a252ecdcd4710a3273595f4bd1f3eb8e24d5bb1bfe005f058a78388254dc9" } @@ -70,8 +69,7 @@ "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/references/troubleshooting.md": "42e4785b7d3c1375efa324583897327f28ef76c0b7788092da92095bddeb1440", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/SKILL.md": "71c27212847146376d72e6cc6d22abe2f7eed56402c5917cd7dfcda0b2aa5982", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/state-contracts.md": "8f74a07c947021e3069468268f6b5aa2548a17db518c5c0505b84dde73a1f31c", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md": "c9eebe4109d418c4dfb9bb2425c145ebc1a52da9b665e0556149bc31a442e2fc", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md": "c9eebe4109d418c4dfb9bb2425c145ebc1a52da9b665e0556149bc31a442e2fc" }, "skill_metadata": { "name": "dwarfstar", 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 5a9adf9f8..cc8beb075 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.evaluate_elastic_serving_placement", "title": "evaluate-elastic-serving-placement", "repo": "inferrsi", @@ -16,13 +16,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", "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", - "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md" ], "content_sha256": "82d0099d3c33706f46c657d4fa7f76d3d486e019b36760d1de001921328a60cc" } @@ -35,8 +34,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md": "82d0099d3c33706f46c657d4fa7f76d3d486e019b36760d1de001921328a60cc", "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/metadata.json": "091a3b95d1a8996b5ad917e7948efb4ed598e31c7163709377f8e9199cebfe26", - "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md": "ea416831fd7d0874e06d0a76fb0c7196df53072b717673a0cdf635db6bfd917b", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md": "ea416831fd7d0874e06d0a76fb0c7196df53072b717673a0cdf635db6bfd917b" }, "skill_metadata": { "name": "evaluate-elastic-serving-placement", 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 15aefe895..9f7094372 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.generation_cache_lifecycle", "title": "generation-cache-lifecycle", "repo": "inferrsi", @@ -22,16 +22,15 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", "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", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/cache-stop.md", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/generation-batch.md", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/source-map.md", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md" ], "content_sha256": "bf1177cb9985c12a9bf11edb64771018e1e314c4713920de8fd4a989ff70115f" } @@ -47,8 +46,7 @@ "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", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md": "73b5dd347017baba519ecc85415aead9993c1751d116b9ba4f07689f58c5f783", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md": "73b5dd347017baba519ecc85415aead9993c1751d116b9ba4f07689f58c5f783" }, "skill_metadata": { "name": "generation-cache-lifecycle", 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 8c4c04ff3..d816c4027 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.host_memory_management", "title": "host-memory-management", "repo": "inferrsi", @@ -30,8 +30,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", "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", @@ -43,8 +43,7 @@ "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-host-copy.md", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-LICENSE.md", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload-readset.json", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md" ], "content_sha256": "4c8db9f603cd581d002e8f41da65af9cbd03699be05c4965a55de47e044e4dd8" } @@ -65,8 +64,7 @@ "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-host-copy.md": "fa9da5c39d37ebe44e5a336a7b88d7aece6a0f118ec47cb38271e29925e11117", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-LICENSE.md": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload-readset.json": "cc6c2011be746002ba3ff96ccefab1809863748ddd17eb102b75e7b0e134fe55", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md": "6c2a72b5ba3708a01d229e0576570837a617e6a42dbb0b5312a26a65a6c31542", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md": "6c2a72b5ba3708a01d229e0576570837a617e6a42dbb0b5312a26a65a6c31542" }, "skill_metadata": { "name": "host-memory-management", 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 e39d04a62..c5e80b947 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.host_overhead_optimization", "title": "host-overhead-optimization", "repo": "inferrsi", @@ -22,13 +22,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", "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", - "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md" ], "content_sha256": "36ef88826a32ac3147b869001004ded17a8d5a491e25bfe105005ba39ea9d1eb" } @@ -41,8 +40,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md": "36ef88826a32ac3147b869001004ded17a8d5a491e25bfe105005ba39ea9d1eb", "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/metadata.json": "db3c63ca77a46e647a806e094ae662504768a958d537630a4d7bcabde35d6da3", - "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md": "f452bf40132c9195d739f1c86b3aa18857138c7ed0f1861af5853d93b9955924", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md": "f452bf40132c9195d739f1c86b3aa18857138c7ed0f1861af5853d93b9955924" }, "skill_metadata": { "name": "host-overhead-optimization", 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 a8098d4fc..10528fba9 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.husky", "title": "husky", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/husky/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/husky/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/husky/SKILL.md", "src/inferrsi/data/skill_library/repositories/husky/metadata.json", @@ -31,8 +31,7 @@ "src/inferrsi/data/skill_library/repositories/husky/references/source-availability.json", "src/inferrsi/data/skill_library/repositories/husky/references/troubleshooting.md", "src/inferrsi/data/skill_library/repositories/husky/references/verification-protocol.md", - "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py" ], "content_sha256": "ac86afdabf9adffb684cb635971934438724bdfde8628ec549727ea23c40cf3b" } @@ -50,8 +49,7 @@ "src/inferrsi/data/skill_library/repositories/husky/references/source-availability.json": "d3523e53c89d4aee5bfaa17db84501aa4c4eddd59bcee486df5d48d3aa48173d", "src/inferrsi/data/skill_library/repositories/husky/references/troubleshooting.md": "3948711437d25822d389dd857c72dc7fcc15727c9048d2e3eae3317d97aca6dd", "src/inferrsi/data/skill_library/repositories/husky/references/verification-protocol.md": "83c5a966ed3f721b412b8d8417af8336c5a8c1e46044a888720936bf2f1deeab", - "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py": "291e62701ef7a37a5bfab963ea4e20abb94245bc015584223a101f18b1490895", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py": "291e62701ef7a37a5bfab963ea4e20abb94245bc015584223a101f18b1490895" }, "skill_metadata": { "name": "husky", 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 03dbe9942..643a1468a 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.inference_benchmark_design", "title": "inference-benchmark-design", "repo": "inferrsi", @@ -35,8 +35,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/metadata.json", @@ -46,8 +46,7 @@ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/cache-aware-asr-stream-boundaries.md", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-evaluation-contracts.md", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-source.json", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md" ], "content_sha256": "7fd7f557f5c99ca4ec4c46f2d97e67ecf280f5f0fdf071871a14cc08a7cb1c84" } @@ -66,8 +65,7 @@ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/cache-aware-asr-stream-boundaries.md": "4e0ea9c1bf6b096a49a91ad5266e90b8a456f4f5aca15eba8ac270a53c2309b5", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-evaluation-contracts.md": "d25df795fd301e8a1bb436e5f8122d0bac2441c43104e59a3b310fd5a64f2f3e", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-source.json": "60f2784384ea1a3b08a2ecafb60207d8e3707247dc7bc177b95b463d81f1cc16", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md": "0d4bb080a754e26846e81680023db0dff5e6a4c96be4327c411c3b72ac4ef8e2", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md": "0d4bb080a754e26846e81680023db0dff5e6a4c96be4327c411c3b72ac4ef8e2" }, "skill_metadata": { "name": "inference-benchmark-design", 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 a9c3d12fb..6dd55ca50 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.inference_optimization_casebook", "title": "inference-optimization-casebook", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", "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", @@ -33,8 +33,7 @@ "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-ascend-rejected-directions.md", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.json", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.md", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json" ], "content_sha256": "89a6a82c692f7f5192f4d7f4c3a5ff08a4df3b1c4bdaa0aafb7e04292d8aa5b4" } @@ -54,8 +53,7 @@ "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-ascend-rejected-directions.md": "be396983812262515899a3e2ba4f01b23ff92e1b836881882c7580372b8ae552", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.json": "146ea1564a46ed03092c7dc5796b318fc05b04b1821105ee00eb7fa7fa1333e2", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.md": "cce2930f544a0f78f21797fba4d8ded298e4a81f76c34d7977b0e31d361bc738", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json": "963488658f327d2379183d70357eabf832d70a6a70db2aa67f548493f4088d97", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json": "963488658f327d2379183d70357eabf832d70a6a70db2aa67f548493f4088d97" }, "skill_metadata": { "name": "inference-optimization-casebook", 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 49c81997d..9d43d51c7 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.kernel_writing_guide", "title": "kernel-writing-guide", "repo": "inferrsi", @@ -39,8 +39,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", "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", @@ -59,8 +59,7 @@ "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/pplx-gdn-caller-context.json", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-causal-conv-contract.md", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-source-files.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md" ], "content_sha256": "360361f592ec3a24834198372cbf92aaedc1720404d182df94315eb0e01d58dd" } @@ -88,8 +87,7 @@ "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/pplx-gdn-caller-context.json": "0219fc9ad785da4e638c1680bc9eaf28672aa32313824f52bdcaed61d29bca87", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-causal-conv-contract.md": "c9f27b0231ddec3d14d6fa0831d1494ffd8e11bd8ad704e04be3bc4a4ffc0e58", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-source-files.json": "4c7ec2cfd2c29297e185ce09b4d9b2040fbe3635943c112f9ebb71dca8ab381b", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md": "eec09a6e95983c46b67d5f066d34419c17819899f5d8e3c65f2f163f2ada0fde", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md": "eec09a6e95983c46b67d5f066d34419c17819899f5d8e3c65f2f163f2ada0fde" }, "skill_metadata": { "name": "kernel-writing-guide", 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 12b6973dd..88ca79e2e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.kv_tier_management", "title": "kv-tier-management", "repo": "inferrsi", @@ -24,12 +24,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json" ], "content_sha256": "e4b78f368d70c8abb74a935acb910414015f1aeec1b50f7a295e836822ec4b27" } @@ -41,8 +40,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": "85f7242b83334af11f57799875738b498bfe4680a51f36727792dfbe91806704", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json": "85f7242b83334af11f57799875738b498bfe4680a51f36727792dfbe91806704" }, "skill_metadata": { "name": "kv-tier-management", 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 a174e6989..1dc3d757f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.lazy_evaluation_stream_lifetimes", "title": "lazy-evaluation-stream-lifetimes", "repo": "inferrsi", @@ -22,15 +22,14 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", "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", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/execution-lifetime.md", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md" ], "content_sha256": "a95569bcc0da6e715fd74783a6a1e0489e92b680c582f15dafbf98df589d505a" } @@ -45,8 +44,7 @@ "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", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md": "ebfc00bf7d6ab0a1dc415953ae84d56ccdc713d5614aff85e433c4a843793bff" }, "skill_metadata": { "name": "lazy-evaluation-stream-lifetimes", 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 3d7797f97..7e798f9db 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.lily", "title": "lily", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/lily/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/lily/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/lily/LICENSE", "src/inferrsi/data/skill_library/repositories/lily/NOTICE.md", @@ -46,8 +46,7 @@ "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/SKILL.md", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/api-and-session.md", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py" ], "content_sha256": "db815674d5d36964902041d310d3df844d00ab2e6bef0ce4b72ed2696ab2b9aa" } @@ -76,8 +75,7 @@ "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/SKILL.md": "7e062ff9af76125ef08c98b4465e0439c66e9e237f0c39ea0285005cc5496cfb", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/api-and-session.md": "7262bb077c24f2f7549d450473ec7944829940d09cca89db9c12f37ac90d5db0", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/troubleshooting.md": "6e2f36d2f7ab9eae665d87a676e34c0ebd2f46f3df6fa5f2e589a306749a87b5", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py": "d6b00c9f0b38c7fb0a0e52e396993a832542ea0aa6e2456026fabc0c39a4d33a", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py": "d6b00c9f0b38c7fb0a0e52e396993a832542ea0aa6e2456026fabc0c39a4d33a" }, "skill_metadata": { "name": "lily", 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 a950e5f4f..a4152337c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.lithos_metal", "title": "lithos-metal", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/lithos-metal/LICENSE", "src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", @@ -46,8 +46,7 @@ "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/SKILL.md", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/metadata.json", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md" ], "content_sha256": "4c71ba2f26c275829466bba2412738aa27799842e642c75cdfd36d9ed8713f7f" } @@ -80,8 +79,7 @@ "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/SKILL.md": "01c38c2678d6e8292a3908bf5619b332432c5f1289fd5d5a67eb44a2141adb90", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/metadata.json": "2fca222efac7752e29f236f40a0bc38275045826b55955687e39c64ffb69f58f", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/troubleshooting.md": "52c6e27a76547475b5c66121f873f4d2c1662c811a69da64ce85614f1bd44749", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md": "298d27d3c748fe22774b872ed0465b707e53812379a7a538c95f25d1727fc796", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md": "298d27d3c748fe22774b872ed0465b707e53812379a7a538c95f25d1727fc796" }, "skill_metadata": { "name": "lithos-metal", 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 6a0909e46..000853c1e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.local_dream", "title": "local-dream", "repo": "inferrsi", @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", "src/inferrsi/data/skill_library/repositories/local-dream/metadata.json", @@ -40,8 +40,7 @@ "src/inferrsi/data/skill_library/repositories/local-dream/references/repo-provenance.md", "src/inferrsi/data/skill_library/repositories/local-dream/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/local-dream/references/upstream-license.md", - "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py" ], "content_sha256": "e51fd3c71d693070abeba57ca67dcca82c7347cb94eb98f43e7c455bcacbaa46" } @@ -60,8 +59,7 @@ "src/inferrsi/data/skill_library/repositories/local-dream/references/repo-provenance.md": "0b848082c0ce893d8ae26d779c5b663d914d1a208cb2293c4a84668cdde86293", "src/inferrsi/data/skill_library/repositories/local-dream/references/source-identity.json": "b85f028bb96a37852e9d9780b5d5052fdd9c8f3a704ad391b6381adb58291347", "src/inferrsi/data/skill_library/repositories/local-dream/references/upstream-license.md": "41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0", - "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py": "ccd7d0d55be9a47484ec3a74498d8edef8aba55287f92287775c8d82050c8932", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py": "ccd7d0d55be9a47484ec3a74498d8edef8aba55287f92287775c8d82050c8932" }, "skill_metadata": { "name": "local-dream", 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 64e0cd9c5..8b6ca3d33 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.mistral_rs", "title": "mistral-rs", "repo": "inferrsi", @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/mistral-rs/LICENSE", "src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", @@ -53,8 +53,7 @@ "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/prewarm-and-evidence.md", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/troubleshooting.md", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/warmup-inventory.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py" ], "content_sha256": "8917b30fb86437dea7508275ccce1992194d6e0c4858d537a410bf1f900953d0" } @@ -89,8 +88,7 @@ "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/prewarm-and-evidence.md": "6b72ae4b4599018ce2da5c54d0c28fadcafb7ce75b81ce4c18c06a440aab6056", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/troubleshooting.md": "d933bea6e9e493faa8cd0f4103ea33197ace7f7f901359f8cf0d6bab2edcdb4d", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/warmup-inventory.md": "1e7af7d63c6853ede4232b5a12cf68aba6597c4a305015366f1c2c917e3caf01", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py": "6aa920ca1cb534dec41f5dd2d833c3e760b234ab2c6439b6c4250b8a30b74055", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py": "6aa920ca1cb534dec41f5dd2d833c3e760b234ab2c6439b6c4250b8a30b74055" }, "skill_metadata": { "name": "mistral-rs", 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 bf8da38e0..69713d26c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.mlc_llm", "title": "mlc-llm", "repo": "inferrsi", @@ -27,8 +27,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/mlc-llm/LICENSE", "src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", @@ -57,8 +57,7 @@ "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/helper-contract.md", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/limits-and-workspace.md", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py" ], "content_sha256": "e0fd1accb4216191c56e7e4a8074633f36d9063727c2546e0d2eed14220d8cf4" } @@ -96,8 +95,7 @@ "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/helper-contract.md": "da33306472cbda5a33605b80fe52d6cb1fa886b3b7eea13adbdf0ce8a6024c66", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/limits-and-workspace.md": "77105db95de2b8ea27ed6953b5441c8af061fb745ddb13d3904f8773fc21e879", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/troubleshooting.md": "b89255fc04507185bc8bcf74de779730b009b12d13bb38ad0193205dfed8e921", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py": "d82a6dda5f5931eb369003a5e1f419bfbdd82304766a18be8ea1e1849e26b77d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py": "d82a6dda5f5931eb369003a5e1f419bfbdd82304766a18be8ea1e1849e26b77d" }, "skill_metadata": { "name": "mlc-llm", 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 fe52ef0bf..3f7c95328 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.mlx_swift_lm", "title": "mlx-swift-lm", "repo": "inferrsi", @@ -27,8 +27,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/LICENSE", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", @@ -48,8 +48,7 @@ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/native-evidence.md", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/ownership-and-termination.md", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py" ], "content_sha256": "501f73e7b327b04b6b80501b42b20dab1ac15c875817e6f4c4b66fe3e69b4fc4" } @@ -78,8 +77,7 @@ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/native-evidence.md": "3e9a630a30932989faea5f52b347318cb94c73c7d4d6c81c0465ccaee2818671", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/ownership-and-termination.md": "56fdec7ebc89b5c217c7e5c203886bef1d3c2eb5794852897bdb5941ab1db2a0", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/troubleshooting.md": "de28b8ca9cf95be2a4e5762f938acfadb6d4b53459dbf86df4b2b2ec64ec347f", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py": "2aba6caf42ca1b3fc55299fd96419af8681c37750c21a7ba75205a43baa9c7b1", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py": "2aba6caf42ca1b3fc55299fd96419af8681c37750c21a7ba75205a43baa9c7b1" }, "skill_metadata": { "name": "mlx-swift-lm", 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 657681f03..794be4f28 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.npu_skill_factory", "title": "npu-skill-factory", "repo": "inferrsi", @@ -22,10 +22,9 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/metadata.json", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/COMPARISON.md", @@ -54,7 +53,6 @@ }, "checkout_ref": "checkout:npu-skill-factory", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md": "74cd863df2e80dc2bda1713d24207809173a3116f30325e3487e1e3517cfec1e", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/metadata.json": "c862565b814e98e0ebc4923e32eef2aa67a8df2357c255903d744f40aaea32c8", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/COMPARISON.md": "38587678a96581f5c2dc697d982127343565504bffa191352811dffcc165aa23", 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 775cfac19..23deeab7e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.optimization_search_policy", "title": "optimization-search-policy", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", "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", @@ -35,8 +35,7 @@ "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/NEXT_GATE_LEADS.md", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/references/source-notes.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md" ], "content_sha256": "0ba4ade1648764a7422f564abe2d4fc9f9a25b5943a6c70c81ce17b8e7fb48d9" } @@ -58,8 +57,7 @@ "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/NEXT_GATE_LEADS.md": "16a264c7159f9c2c700ce8ba46e63f3e636b277c987da4970f6d2fa085fcb053", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md": "5e761957cb5ecd93926e6ffc13deee7c830c6e8f0ee3c3846e9dd3b50dc74446", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/references/source-notes.md": "54d83c3713045d59a48821bcf93598374ba4a630e3891ad39498f919317c4fb8", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md": "d3db44fa9a6831b86a02c638b323ed943e69fe256866213f10d68c72d762879e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md": "d3db44fa9a6831b86a02c638b323ed943e69fe256866213f10d68c72d762879e" }, "skill_metadata": { "name": "optimization-search-policy", 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 c14191627..2d8c52d2c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.os_process_placement", "title": "os-process-placement", "repo": "inferrsi", @@ -24,13 +24,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", "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", - "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md" ], "content_sha256": "2003492e4d89fde0443b180d74933e764bd1979435e109c8d26e20eb8f6e5053" } @@ -43,8 +42,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md": "2003492e4d89fde0443b180d74933e764bd1979435e109c8d26e20eb8f6e5053", "src/inferrsi/data/skill_library/hardware/host/os-process-placement/metadata.json": "d53e53f724c7b6f261cf6c9b579afd20b2279cb1ffd0af89f8ce9f475046fa76", - "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md": "748b254b3b043a5ddb0f480eb4a566854d27eedd7b111499863e9bf0a5a6951e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md": "748b254b3b043a5ddb0f480eb4a566854d27eedd7b111499863e9bf0a5a6951e" }, "skill_metadata": { "name": "os-process-placement", 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 2d265a596..0a2de8091 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.performance_ceiling_analysis", "title": "performance-ceiling-analysis", "repo": "inferrsi", @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/metadata.json", @@ -47,8 +47,7 @@ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/vidur.md", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-contract.md", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-example.json", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py" ], "content_sha256": "0203dfabd2a02d2ab8f8696b922dcc3df86b3a811352a5bc6cea57aee68e869c" } @@ -81,8 +80,7 @@ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/vidur.md": "d38602af5219f5feeb49e6cd6bf53d66098c77fad141dae676f1d8a6743cf25d", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-contract.md": "419ec4bcaec45ac579a133bce083d4f48779f26e664d7a86f720fa65f343b1d1", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-example.json": "597cd3205df043cff3ae9d15924c77934e8d8eb300c00c4840f6bb2921f90faf", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py": "524de48a6764401695fe1444f1fa3d38f363069b0cd2fba4715a86ca4b28a5d4", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py": "524de48a6764401695fe1444f1fa3d38f363069b0cd2fba4715a86ca4b28a5d4" }, "skill_metadata": { "name": "performance-ceiling-analysis", 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 1f1ea1ac1..fd80ffa76 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.plan_activation_residency", "title": "plan-activation-residency", "repo": "inferrsi", @@ -16,13 +16,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", "src/inferrsi/data/skill_library/methods/plan-activation-residency/metadata.json", - "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md" ], "content_sha256": "542d8a1e6963f5019986e1fbd79d3a247a045a51487c09313026087ac457c15e" } @@ -35,8 +34,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md": "542d8a1e6963f5019986e1fbd79d3a247a045a51487c09313026087ac457c15e", "src/inferrsi/data/skill_library/methods/plan-activation-residency/metadata.json": "0289c62f93d087cd6a4ba4140487925c4b3258a9db1f7004ff1dfb22fd6d4582", - "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md": "5ff52655cfd06fcf970ed2a7d4d4fe1c31115b102af2d41497de0c74848ed2b3", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md": "5ff52655cfd06fcf970ed2a7d4d4fe1c31115b102af2d41497de0c74848ed2b3" }, "skill_metadata": { "name": "plan-activation-residency", 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 738b64c3e..5f5202664 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.project_maya", "title": "project-maya", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/project-maya/LICENSE", "src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", @@ -49,8 +49,7 @@ "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/api-and-history.md", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/native-state.md", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py" ], "content_sha256": "c619a3472be02147a847a24ca97c56afd8b56b6ffd22ce66fcae453155e34bab" } @@ -82,8 +81,7 @@ "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/api-and-history.md": "a51fa298017f266decd801441eb411fd68f7906a90a4b0d18083d1af31fc7d52", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/native-state.md": "e5a7ee5e777998db0fb5422cf5b1ab18dbd67b4cbbfcfd6628ed6e40d8709c61", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/troubleshooting.md": "97dea7b2d26fe165d2f64a1a63c91d099dddb2d3b95c16b667f5173b3ffa9d2d", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py": "d91b03fbbd7003012a92bd7259d39604b9a91ee5707da2d3366e7c0fb47edd6a", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py": "d91b03fbbd7003012a92bd7259d39604b9a91ee5707da2d3366e7c0fb47edd6a" }, "skill_metadata": { "name": "project-maya", 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 62d48da31..f0f77a268 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.pytorch", "title": "pytorch", "repo": "inferrsi", @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/LICENSE", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", @@ -78,8 +78,7 @@ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/metadata.json", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/troubleshooting.md", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py" ], "content_sha256": "c4bd561c73955f0c6e386b6cf3414ec772902711b2a5de6bd0613f49cbf71cb0" } @@ -141,8 +140,7 @@ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/metadata.json": "8e929683dbd9cb8541588653fc3d34d2ef175f08cf8d78b0f50906bc1e7dd0bf", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/troubleshooting.md": "4e5c687a20e8066a9673625fc780667f490f9558a343d4d7d47d7ad278180824", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/workflows.md": "791c86dc3c13c3c87da3c4144cafb082e84f9ba2978bb71dea99f0cf649fe727", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py": "46af58f6ba0c7d69373efc416fcc2ae8dcada717ed29336ac84f84857b1240bb", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py": "46af58f6ba0c7d69373efc416fcc2ae8dcada717ed29336ac84f84857b1240bb" }, "skill_metadata": { "name": "pytorch", 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 83b31c60b..e806fe030 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.repository_evolution_analysis", "title": "repository-evolution-analysis", "repo": "inferrsi", @@ -21,14 +21,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/metadata.json", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/capability-presence-audit.md", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md" ], "content_sha256": "61bc684d67d6c0876c4956057f11c88802cfc4b771553d00411634d8ea226b3d" } @@ -42,8 +41,7 @@ "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md": "61bc684d67d6c0876c4956057f11c88802cfc4b771553d00411634d8ea226b3d", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/metadata.json": "98ef753a0e74c46f59a69ae267bdc0a5d293761e6f27edc1822fa8bd4548c4d6", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/capability-presence-audit.md": "c21eb4a6aabe811a49a6540a34c54dbcfdcf7efae3052a79b54034c7838026a5", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md": "a70b1d128fb5e0ac12292a290d624f218a0831d7581fe8980b62661473e0f2b7", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md": "a70b1d128fb5e0ac12292a290d624f218a0831d7581fe8980b62661473e0f2b7" }, "skill_metadata": { "name": "repository-evolution-analysis", 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 9a89e64c6..78fe69f9d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.rsi_evidence", "title": "rsi-evidence", "repo": "inferrsi", @@ -22,10 +22,9 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", "src/inferrsi/data/skill_library/workflows/rsi-evidence/metadata.json", "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/LICENSE", @@ -46,7 +45,6 @@ }, "checkout_ref": "checkout:rsi-evidence", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md": "5ce5b4903a3d7a4c3d20957be004c49c204d331ce76cc57274378f1ab97b4361", "src/inferrsi/data/skill_library/workflows/rsi-evidence/metadata.json": "7adfbf39def6ac64987d537c11ad3a3d2e6c06649178b77d82285add8971a115", "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", 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 eb90cc805..10530cd95 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.skill_evolution_playbook", "title": "skill-evolution-playbook", "repo": "inferrsi", @@ -21,12 +21,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", - "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json" ], "content_sha256": "9cd37f21fe0d862069e4798edca8a04d59f8b840e55d521901594a63dddd9ba3" } @@ -38,8 +37,7 @@ "checkout_ref": "checkout:skill-evolution-playbook", "source_files": { "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md": "9cd37f21fe0d862069e4798edca8a04d59f8b840e55d521901594a63dddd9ba3", - "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json": "a5fe391d145eb5e7039f142fea7211135abbd8f3d8835bfbf83cc2b05d645da5", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json": "a5fe391d145eb5e7039f142fea7211135abbd8f3d8835bfbf83cc2b05d645da5" }, "skill_metadata": { "name": "skill-evolution-playbook", 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 33d7de7c0..6b4cb4819 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.splash", "title": "splash", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/splash/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/splash/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/splash/LICENSE", "src/inferrsi/data/skill_library/repositories/splash/SKILL.md", @@ -46,8 +46,7 @@ "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/scripts/parse_budget.py", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/SKILL.md", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/state-and-api.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md" ], "content_sha256": "619b87c282dcec4befa319085764fb53fa506a05c6a7112500bcca662f059ece" } @@ -76,8 +75,7 @@ "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/scripts/parse_budget.py": "b3a3b0847280333c2bfbe5d03350dc866307d5290160ec64c7e3d462a34f6301", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/SKILL.md": "c16f911498e116ff9b31b5a6f0ddd3ae6517b51c0e9d079c337f36a5bcac1df8", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/state-and-api.md": "592603177473ac8e024b7dc19a3d3faedd7c1e0312137eab8bf9a62d2f567be6", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md": "4fda461042a3de43c109d7a3cec67542c7d61fe68412bf91606220f2e13e576e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md": "4fda461042a3de43c109d7a3cec67542c7d61fe68412bf91606220f2e13e576e" }, "skill_metadata": { "name": "splash", 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 7d446f43b..c77b55aab 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.storage_io_measurement", "title": "storage-io-measurement", "repo": "inferrsi", @@ -24,12 +24,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json" ], "content_sha256": "63b883c10a8d3e7d918abfc7175b72e2b401ff1e02697f94b8382ec1c8f369b7" } @@ -41,8 +40,7 @@ "checkout_ref": "checkout:storage-io-measurement", "source_files": { "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md": "63b883c10a8d3e7d918abfc7175b72e2b401ff1e02697f94b8382ec1c8f369b7", - "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json": "5017aa6c04b8cc45d8549b71bc283bfced8e7e1bdb29cf0b305a0447a3c12a9d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json": "5017aa6c04b8cc45d8549b71bc283bfced8e7e1bdb29cf0b305a0447a3c12a9d" }, "skill_metadata": { "name": "storage-io-measurement", 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 9f8fba824..2c71d481f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.training_input_pipeline", "title": "training-input-pipeline", "repo": "inferrsi", @@ -23,13 +23,12 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", "src/inferrsi/data/skill_library/methods/training-input-pipeline/metadata.json", - "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md" ], "content_sha256": "64bd2c6b795d966045d1d3cca55976d3d49b08b06df7c7e06a70c2824cf55b7e" } @@ -42,8 +41,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md": "64bd2c6b795d966045d1d3cca55976d3d49b08b06df7c7e06a70c2824cf55b7e", "src/inferrsi/data/skill_library/methods/training-input-pipeline/metadata.json": "debad47896f600c7a1e19e477e34026c975dfde320a786dca1ddd02030a5feb1", - "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md": "60e0f3e88655d8e1d5eb4797f39ca4370deda01614f265b8d2ea4559d8ac020f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md": "60e0f3e88655d8e1d5eb4797f39ca4370deda01614f265b8d2ea4559d8ac020f" }, "skill_metadata": { "name": "training-input-pipeline", 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 2ca8d69aa..a74b19fc1 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.training_resource_budget", "title": "training-resource-budget", "repo": "inferrsi", @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", "src/inferrsi/data/skill_library/methods/training-resource-budget/metadata.json", @@ -36,8 +36,7 @@ "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/notes/training-memory-scheduling.md", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/references/source-readset.md", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/sources.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md" ], "content_sha256": "d3805c5f605faae663ad5a674a56c1e1e5fdd211cd58833c008e557cfd7e4c37" } @@ -58,8 +57,7 @@ "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/notes/training-memory-scheduling.md": "9aa6d3e01452dff95c8a8940ff62ead8c146ce215c9175b78c9f2ef508a7b2de", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/references/source-readset.md": "2a5c166767f56fa47e7eba7386f1f36da8cb73702e5b5bbe14d6a456ca9ebfae", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/sources.md": "53d70671a183de4aaa3369f9caf2383a23b6f8a0a7b04464a8d8a639150afc6a", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md": "f1a993e6c4ca9a035a2effcaf5500081f227b0cc56cc885a6b22fda0041fc744", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md": "f1a993e6c4ca9a035a2effcaf5500081f227b0cc56cc885a6b22fda0041fc744" }, "skill_metadata": { "name": "training-resource-budget", 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 ea9750d13..1107758ee 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.video_diffusion_optimization", "title": "video-diffusion-optimization", "repo": "inferrsi", @@ -26,14 +26,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", "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", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/metadata.json", - "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py" ], "content_sha256": "fc0e7baf9913ce7448247772a1e224a9cbd827492cf9459b1f17f492b9f67b70" } @@ -47,8 +46,7 @@ "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md": "fc0e7baf9913ce7448247772a1e224a9cbd827492cf9459b1f17f492b9f67b70", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/assets/campaign.template.json": "1a37f1d136612143ddab8f0cbbf424c80433b4da5312edb18d07c0b9d87ef657", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/metadata.json": "b27d69142dfea5dd2820170475c2bf6cced2d5eefd1c43b3413c41849af0fd02", - "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py": "9e84df051e03d567746fd73ae7243efb2f3c5ec806fef824d3c4d42a8eb9704c", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py": "9e84df051e03d567746fd73ae7243efb2f3c5ec806fef824d3c4d42a8eb9704c" }, "skill_metadata": { "name": "video-diffusion-optimization", 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 631c20305..364703c1c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.vllm_metal", "title": "vllm-metal", "repo": "inferrsi", @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm-metal/LICENSE", "src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", @@ -51,8 +51,7 @@ "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/record-schema.md", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/speculation-and-pipeline.md", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py" ], "content_sha256": "5f83b1b989e8dc239a6f34a6b3bd63872533ecc1404483a69dabfb1865648439" } @@ -85,8 +84,7 @@ "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/record-schema.md": "f3cefb8b131613535dcacf30d130ffc2dea991acfb495adb4e1c7050046903d7", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/speculation-and-pipeline.md": "64faced7f31d489e9b0c4b9523a803ff1a76dca0f9315bdc6d0b83935bd338a4", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/troubleshooting.md": "a2e85696120ffc2af4249ac9c1e1b96320e02287e5099577c0474c025ab4f5f6", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py": "78e660a13a6a6941d006cb11fc2f401a34f489e54273860ae6a208dca6a6a3c2", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py": "78e660a13a6a6941d006cb11fc2f401a34f489e54273860ae6a208dca6a6a3c2" }, "skill_metadata": { "name": "vllm-metal", 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 0c90cdbaf..bf31dd0d4 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.weight_loading_optimization", "title": "weight-loading-optimization", "repo": "inferrsi", @@ -29,15 +29,14 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", "paths": [ "src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/metadata.json", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/fastsafetensors-transfer-readset.md", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/flare-preparation-boundary.md", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md" ], "content_sha256": "a1bf0e2ec066d5f30225c6cc5fb603f830f48eb5e2aee3fc3d084ed9d8aebe2f" } @@ -52,8 +51,7 @@ "src/inferrsi/data/skill_library/methods/weight-loading-optimization/metadata.json": "ebcc5425d7b6409e5c509122e9dc76bed1caab09d73daf013d96086d7faaba2b", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/fastsafetensors-transfer-readset.md": "5a39f14b102b0cee304541e011aa31e44e6b13527d1bee9987c3f3b66c064d3d", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/flare-preparation-boundary.md": "1d7922785a196bdbafdc9791fe79428465a5acc0292ca8f99446f8c764b35454", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md": "6c640f28ee3f0253a17b81461c865cb9f947367002cb75bf72550c4572d02e97", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md": "6c640f28ee3f0253a17b81461c865cb9f947367002cb75bf72550c4572d02e97" }, "skill_metadata": { "name": "weight-loading-optimization", 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 e69bc8b5d..1366b9b62 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.audit_afd_p2p_exchanges", "title": "audit-afd-p2p-exchanges", "repo": "inferrsi", @@ -23,14 +23,13 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", "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", "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/afd-plugin-LICENSE.md", - "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md" ], "content_sha256": "a46110891eca860915e314d6921a22856d631453b22b17837fe30262d6780535" } @@ -44,8 +43,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md": "5073d87450cb60d1b245308dff8807e73749c07de976d50f2fa26694fad81a72" }, "skill_metadata": { "name": "audit-afd-p2p-exchanges", 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 1a7572890..8b72ded1e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.audit_flare_session_lifecycle", "title": "audit-flare-session-lifecycle", "repo": "inferrsi", @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", "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", @@ -38,8 +38,7 @@ "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/diagnostics.md", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/lifecycle.md", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-ledger.json", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md" ], "content_sha256": "02a5f7c18e44201215ecec17c6ac96b27be9148bcc189df287f39d1b372b7721" } @@ -56,8 +55,7 @@ "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", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md": "fc7ceb819b91ef1731d8b7783f543c92ef6bb5c97ef5f897c055824f8a560168", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md": "fc7ceb819b91ef1731d8b7783f543c92ef6bb5c97ef5f897c055824f8a560168" }, "skill_metadata": { "name": "audit-flare-session-lifecycle", 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 cf080ec30..a5eef775f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.diagnose_attention_bottlenecks", "title": "diagnose-attention-bottlenecks", "repo": "inferrsi", @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", "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", @@ -29,8 +29,7 @@ "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/overlap-and-fp8-counter-signals.md", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/partitioning-after-fusion.md", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/knowledge/attention-cost-model-boundaries.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md" ], "content_sha256": "a25738dbb3b9daa15c5827cb536a20fe13f7c8b9dd14aa3fb7cfa7e132879431" } @@ -51,8 +50,7 @@ "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/overlap-and-fp8-counter-signals.md": "80c8a60a6df55f3d84fab23e03567d8b38e23bcdbd63cc09881e46db1e2888ab", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/partitioning-after-fusion.md": "4d4cabe0991eab554dcfbd4fa9c8199e61fa4767709b0c4cd646e2588bb398a2", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/knowledge/attention-cost-model-boundaries.md": "5ed8f888443e38ccb72545b6025447aab7b92936f78c151fed680e582126239b", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md": "53436e0de4e6dda2d29426591bf61f8526378cdc6f9ec7967b88b1bcd4c61e6f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md": "53436e0de4e6dda2d29426591bf61f8526378cdc6f9ec7967b88b1bcd4c61e6f" }, "skill_metadata": { "name": "diagnose-attention-bottlenecks", 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 5cb082bec..43ea49515 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.host_overhead_profiling", "title": "host-overhead-profiling", "repo": "inferrsi", @@ -22,12 +22,11 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", "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", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json" ], "content_sha256": "326e566fbe30d3ba04e4b50c3e87aad9df037f0ac4ad6fe129165ae97dc5f91d" } @@ -39,8 +38,7 @@ "checkout_ref": "checkout:host-overhead-profiling", "source_files": { "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md": "326e566fbe30d3ba04e4b50c3e87aad9df037f0ac4ad6fe129165ae97dc5f91d", - "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json": "bc4236c65e37378f4a74e0b88c47776055c186aca44c000b1f68e8c63cc4b277", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json": "bc4236c65e37378f4a74e0b88c47776055c186aca44c000b1f68e8c63cc4b277" }, "skill_metadata": { "name": "host-overhead-profiling", 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 d782425be..7c919cd1a 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.reason_hopper_kernels", "title": "reason-hopper-kernels", "repo": "inferrsi", @@ -36,8 +36,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", - "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", + "snapshot": "_provenance.json", + "path": "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", "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", @@ -49,8 +49,7 @@ "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/resources-and-scheduling.md", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/source-inventory.json", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/sources.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md", - "src/inferrsi/data/skill_library/skill-index.json" + "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md" ], "content_sha256": "cec4e3aa1eb64c31c54b5f5ca40af2b61b7919d94be4174968581d5f752c0538" } @@ -71,8 +70,7 @@ "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/resources-and-scheduling.md": "1ce25b426736072435a1ead9a2a8e1f56df5d0abb8198e8c4fdcb34321db4964", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/source-inventory.json": "1dc09c895c970a0c9708158bcc6dd65cdb736274fd2c35d44542c70407d3849d", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/sources.md": "6b74b9e774f2a80db0860510d9e6940d36284430f29c1e124f115a9eaf25833d", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md": "4322f6b3c0e4368bf8c192b4ec752529767f50d19c0c38dad8fdf9cd781e41d9", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md": "4322f6b3c0e4368bf8c192b4ec752529767f50d19c0c38dad8fdf9cd781e41d9" }, "skill_metadata": { "name": "reason-hopper-kernels", diff --git a/tests/check_installed.py b/tests/check_installed.py index 21e4f2b48..ef6d3456e 100644 --- a/tests/check_installed.py +++ b/tests/check_installed.py @@ -205,6 +205,19 @@ assert all(not record["verification"]["locally_verified"] for record in qwen_tts) package = files("inferrsi") library = package.joinpath("data", "skill_library") +projection = package.joinpath("data", "repo_packs", "inferrsi", "knowledge") +snapshot = json.loads(projection.joinpath("_provenance.json").read_text(encoding="utf-8")) +assert snapshot["schema_version"] == 1 +assert {record["sources"][0]["commit"] for record in skill_index} == { + snapshot["source_revision"] +} +assert all(record["schema_version"] == 1 for record in skill_index) +raw_record = json.loads( + projection.joinpath("common", "skills", "claim-contract.json").read_text(encoding="utf-8") +) +assert raw_record["schema_version"] == 2 +assert raw_record["sources"][0]["snapshot"] == "_provenance.json" +assert "commit" not in raw_record["sources"][0] for record in skill_index: for relative, expected_hash in record["source_files"].items(): resource = package.joinpath(*relative.removeprefix("src/inferrsi/").split("/")) diff --git a/tests/test_cli_catalog.py b/tests/test_cli_catalog.py index 522f1be90..67dc8e8ef 100644 --- a/tests/test_cli_catalog.py +++ b/tests/test_cli_catalog.py @@ -152,6 +152,9 @@ def test_knowledge_has_one_canonical_record_and_complete_navigation(): assert list(root.rglob("*.md")) == [root / "README.md"] index = (root / "README.md").read_text(encoding="utf-8") targets = set(re.findall(r"\]\(([^)]+\.json)\)", index)) + if repo == "inferrsi": + assert "_provenance.json" in targets + targets.remove("_provenance.json") # Shared snapshot, not a knowledge owner. assert targets == {path.relative_to(root).as_posix() for path in paths} for record in records: assert "/pull/" not in json.dumps(record) diff --git a/tests/test_knowledge_contribution.py b/tests/test_knowledge_contribution.py new file mode 100644 index 000000000..b5a1598e6 --- /dev/null +++ b/tests/test_knowledge_contribution.py @@ -0,0 +1,274 @@ +"""Real Git fixtures exercise path coverage and current-head declaration safety.""" + +import json +import subprocess +from pathlib import Path + +import pytest + +from tools import check_knowledge_model_policy as checker +from tools import knowledge_contribution as helper + +ROOT = Path(__file__).resolve().parents[1] +SKILL = "src/inferrsi/data/skill_library/methods/example/SKILL.md" +GENERATED = helper.GENERATED + "common/skills/example.json" +HUMAN = {"human_only": True, "material_ai_authors": []} +AI = {"human_only": False, "material_ai_authors": [ + {"tool": "example-agent", "model_id": "unknown", "effort": "unknown", "role": "author"}, +]} + + +def git(root, *args): + return subprocess.run(["git", "-C", str(root), *args], capture_output=True, + check=True).stdout.decode().strip() + + +def write(root, path, text): + target = root / path + target.parent.mkdir(parents=True, exist_ok=True) + target.write_text(text, encoding="utf-8") + + +def commit(root): + git(root, "add", "--all") + git(root, "commit", "-qm", "Fixture change") + return git(root, "rev-parse", "HEAD") + + +@pytest.fixture +def repo(tmp_path): + git(tmp_path, "init", "-q") + git(tmp_path, "config", "user.name", "Example Contributor") + git(tmp_path, "config", "user.email", "contributor@example.com") + git(tmp_path, "config", "core.autocrlf", "false") + write(tmp_path, helper.POLICY, (ROOT / helper.POLICY).read_text(encoding="utf-8")) + write(tmp_path, SKILL, "original skill\n") + write(tmp_path, GENERATED, '{"original": true}\n') + write(tmp_path, "delete.txt", "remove me\n") + return tmp_path, commit(tmp_path) + + +def test_complete_paths_renames_deletions_generated_and_escaping(repo): + root, base = repo + renamed = SKILL.replace("example", 'tab\tquote"line\nexample') + (root / renamed).parent.mkdir(parents=True) + (root / SKILL).rename(root / renamed) + (root / "delete.txt").unlink() + write(root, GENERATED, '{"changed": true}\n') + write(root, "plain.txt", "substantive\n") + head = commit(root) + report = helper.contribution_report(root, base) + expected = sorted([SKILL, renamed, GENERATED, "delete.txt", "plain.txt"]) + assert report["changed_paths"] == expected + assert report["protected_paths"] == sorted([SKILL, renamed, GENERATED]) + assert report["exception_paths"] == report["protected_paths"] + assert report["generated_paths"] == [GENERATED] + assert report["substantive_paths"] == sorted([SKILL, renamed, "delete.txt", "plain.txt"]) + assert report["head_sha"] == head + assert report["base_sha"] == report["policy_sha"] == report["merge_base_sha"] == base + assert report["dirty_paths"] == [] + assert "declaration" not in report + serialized = json.dumps(report, ensure_ascii=True) + assert json.loads(serialized)["changed_paths"] == expected + block = helper.declaration_block(root, report, AI, 'explicit reason\n```\n"quoted"') + declaration = checker.declaration(block, head) + assert declaration["exception"]["paths"] == report["protected_paths"] + assert declaration["material_ai_authors"] == AI["material_ai_authors"] + policy = json.loads((root / helper.POLICY).read_text()) + assessment = checker.assess({"number": 1, "head": {"sha": head}, "body": block}, + expected, policy) + assert assessment["state"] == "failure" # A generated request never grants approval. + + +def test_reads_policy_from_explicit_base_not_head_or_worktree(repo): + root, base = repo + write(root, SKILL, "changed\n") + policy = json.loads((root / helper.POLICY).read_text()) + policy["protected_paths"] = [] + write(root, helper.POLICY, json.dumps(policy)) + commit(root) + write(root, helper.POLICY, "not JSON") + report = helper.contribution_report(root, base) + assert report["protected_paths"] == [SKILL] + assert report["policy_paths"] == [helper.POLICY] + assert report["dirty_paths"] == [helper.POLICY] + + +def test_pr_diff_uses_merge_base_but_policy_uses_target_tip(repo): + root, base = repo + git(root, "checkout", "-qb", "target") + policy = json.loads((root / helper.POLICY).read_text()) + policy["protected_paths"].append("new-protected.txt") + write(root, helper.POLICY, json.dumps(policy)) + write(root, "target-only.txt", "target change\n") + tip = commit(root) + git(root, "checkout", "-qb", "candidate", base) + write(root, "new-protected.txt", "candidate change\n") + head = commit(root) + report = helper.contribution_report(root, "target") + assert report["changed_paths"] == report["protected_paths"] == ["new-protected.txt"] + assert report["policy_sha"] == tip + assert report["merge_base_sha"] == base + assert report["head_sha"] == head + + +@pytest.mark.parametrize("state", ["unstaged", "staged", "untracked", "staged-restored"]) +def test_dirty_paths_reported_but_never_certified(repo, state): + root, base = repo + path = "untracked.txt" if state == "untracked" else SKILL + write(root, path, "changed\n") + if state in {"staged", "staged-restored"}: + git(root, "add", path) + if state == "staged-restored": + write(root, path, "original skill\n") + report = helper.contribution_report(root, base) + assert report["changed_paths"] == [] + assert report["dirty_paths"] == [path] + with pytest.raises(ValueError, match="local changes"): + helper.declaration_block(root, report, HUMAN) + + +def test_rechecks_head_and_dirty_state_before_declaration(repo): + root, base = repo + report = helper.contribution_report(root, base) + write(root, SKILL, "new changes\n") + with pytest.raises(ValueError, match="local changes"): + helper.declaration_block(root, report, HUMAN) + commit(root) + with pytest.raises(ValueError): + helper.declaration_block(root, report, HUMAN) + + +def test_head_move_during_report_fails(repo, monkeypatch): + root, base = repo + original = helper._dirty_paths + + def changed(project, head): + result = original(project, head) + git(root, "commit", "--allow-empty", "-qm", "Advance fixture") + return result + + monkeypatch.setattr(helper, "_dirty_paths", changed) + with pytest.raises(ValueError, match="HEAD changed"): + helper.contribution_report(root, base) + + +def test_truthful_unknowns_preserved_and_human_only_must_be_explicit(repo): + root, base = repo + report = helper.contribution_report(root, base) + for facts in (HUMAN, AI): + block = helper.declaration_block(root, report, facts) + parsed = checker.declaration(block, base) + assert parsed == {"schema_version": 1, "head_sha": base, **facts} + assert "exception" not in parsed + for facts in ({}, {"material_ai_authors": []}, + {"human_only": True, "material_ai_authors": AI["material_ai_authors"]}, + {**AI, "exception": {"reason": "injected"}}, + {**AI, "head_sha": "0" * 40}): + with pytest.raises(ValueError): + helper.declaration_block(root, report, facts) + + +def test_exception_requires_explicit_reason_and_protected_paths(repo): + root, base = repo + report = helper.contribution_report(root, base) + for reason in ("", " ", "no protected paths"): + with pytest.raises(ValueError): + helper.declaration_block(root, report, AI, reason) + + +def test_cli_report_and_explicit_declaration(repo, tmp_path, monkeypatch, capsys): + root, base = repo + monkeypatch.setattr(helper, "PROJECT", root) + assert helper.main(["--base", base]) == 0 + assert json.loads(capsys.readouterr().out)["head_sha"] == base + facts = tmp_path.parent / f"{tmp_path.name}-authors.json" + facts.write_text(json.dumps(AI)) + assert helper.main(["--base", base, "--authors-file", str(facts)]) == 0 + assert checker.declaration(capsys.readouterr().out, base)["material_ai_authors"] == ( + AI["material_ai_authors"] + ) + facts.write_text('{"human_only":true,"human_only":false,"material_ai_authors":[]}') + assert helper.main(["--base", base, "--authors-file", str(facts)]) == 1 + captured = capsys.readouterr() + assert not captured.out + assert "Duplicate JSON field" in captured.err + assert helper.main(["--base=--bad-ref"]) != 0 + + +def test_deleted_generated_paths_remain_in_exception_scope(repo): + root, base = repo + (root / GENERATED).unlink() + commit(root) + report = helper.contribution_report(root, base) + assert report["changed_paths"] == report["generated_paths"] == [GENERATED] + assert report["protected_paths"] == report["exception_paths"] == [GENERATED] + assert report["substantive_paths"] == [] + + +def test_generated_only_unknown_authorship_is_not_exempt(repo): + root, base = repo + write(root, GENERATED, "changed generated index") + head = commit(root) + report = helper.contribution_report(root, base) + block = helper.declaration_block(root, report, AI) + policy = json.loads((root / helper.POLICY).read_text()) + result = checker.assess({"number": 1, "head": {"sha": head}, "body": block}, + report["changed_paths"], policy) + assert result["state"] == "failure" + assert result["errors"] == ["Material AI author 1: model is unapproved or suspended"] + + +def test_backslash_path_reported_without_hiding_checker_scope_restriction(repo): + root, base = repo + path = SKILL.replace("example", "back\\slash") + write(root, path, "changed skill") + commit(root) + report = helper.contribution_report(root, base) + assert report["protected_paths"] == [path] + with pytest.raises(ValueError, match="POSIX"): + helper.declaration_block(root, report, AI, "explicit exception request") + + +@pytest.mark.parametrize("raw", ["null", "[]", '{"schema_version":true}', + '{"schema_version":1,"protected_paths":"**"}', + '{"schema_version":1,"schema_version":1}']) +def test_malformed_trusted_policy_fails(repo, raw): + root, _ = repo + write(root, helper.POLICY, raw) + base = commit(root) + with pytest.raises(ValueError): + helper.contribution_report(root, base) + + +def test_cli_requires_explicit_base_and_authors_for_exception(capsys): + for args in ([], ["--base", "HEAD", "--exception-reason", "reason"]): + with pytest.raises(SystemExit) as raised: + helper.main(args) + assert raised.value.code == 2 + assert not capsys.readouterr().out + + +@pytest.mark.parametrize("deleted", [False, True]) +def test_skill_coverage_classified_as_generated_without_classifying_other_docs(repo, deleted): + root, _ = repo + coverage = "docs/skill-coverage.md" + other = "docs/example.md" + write(root, coverage, "original coverage\n") + write(root, other, "original documentation\n") + base = commit(root) + if deleted: + (root / coverage).unlink() + else: + write(root, coverage, "updated generated coverage\n") + write(root, other, "updated documentation\n") + commit(root) + report = helper.contribution_report(root, base) + assert report["changed_paths"] == sorted([coverage, other]) + assert report["generated_paths"] == [coverage] + assert report["substantive_paths"] == [other] + policy = json.loads((root / helper.POLICY).read_text()) + assert report["protected_paths"] == sorted(checker.matching( + [coverage, other], policy["protected_paths"], + )) + assert report["exception_paths"] == report["protected_paths"] diff --git a/tests/test_skill_eval_planned_guidance.py b/tests/test_skill_eval_planned_guidance.py index 72529290c..1239b4480 100644 --- a/tests/test_skill_eval_planned_guidance.py +++ b/tests/test_skill_eval_planned_guidance.py @@ -1,6 +1,7 @@ """Nonpaid planner guidance: raw Git/data inspection, never candidate/model execution.""" import copy +import hashlib import json import subprocess from unittest.mock import Mock @@ -290,3 +291,120 @@ def test_unrelated_source_ref_presence_cannot_change_full_history_plan(tmp_path) assert plans[0]["projection_check"]["status"] == "unavailable" assert "source_revision" not in plans[0]["projection_check"] assert "automatic command selection" in plans[0]["projection_check"]["reason"] + + + +def manifest_fixture(tmp_path): + repo, readme, canonical, pin, identity, changes = index_fixture(tmp_path) + manifest = readme.with_name("_provenance.json") + data = {"schema_version": 1, "repository": "https://github.com/example/fixture", + "source_revision": pin, + "registry": {"path": pr.LIBRARY_PATH + "/skill-index.json", + "sha256": hashlib.sha256(canonical.read_bytes()).hexdigest()}} + manifest.write_text(json.dumps(data)) + return repo, readme, canonical, pin, identity, changes, manifest, data + + +def commit_projection_fixture(repo, identity): + git(repo, "add", "-A") + git(repo, "commit", "--quiet", "-m", "Synthetic manifest projection") + identity["head"] = git(repo, "rev-parse", "HEAD") + + +def test_manifest_projection_pin_is_authoritative_and_reads_raw_git(tmp_path): + repo, readme, _, pin, identity, changes, manifest, _ = manifest_fixture(tmp_path) + readme.write_text("README no longer carries a source pin.\n") + commit_projection_fixture(repo, identity) + manifest.write_text("Uncommitted hostile metadata must not affect planning") + assert pr.projection_check(repo, identity, changes) == { + "status": "ready", "source_revision": pin, + "declared_in": pr.PROJECTION_PATH + "/_provenance.json"} + + +@pytest.mark.parametrize("mutation", [ + "malformed", "missing_revision", "short_revision", "unknown_commit", "nonancestor", + "wrong_repository", "extra_field", "wrong_version", "boolean_version", "null", "list", + "missing_registry", "registry_null", "registry_extra", "wrong_path", "wrong_digest", + "invalid_digest", "duplicate_field", "duplicate_registry_field", "symlink", "mode", + "oversized", "directory", "non_utf8", "changed_registry", "changed_library", +]) +def test_invalid_manifest_never_falls_back_to_valid_legacy_readme(tmp_path, mutation): + repo, _, canonical, pin, identity, changes, manifest, data = manifest_fixture(tmp_path) + if mutation == "missing_revision": + del data["source_revision"] + elif mutation == "short_revision": + data["source_revision"] = pin[:8] + elif mutation == "unknown_commit": + data["source_revision"] = "f" * 40 + elif mutation == "nonancestor": + tree = git(repo, "rev-parse", "HEAD^{tree}") + data["source_revision"] = git(repo, "commit-tree", tree, "-m", "Synthetic orphan") + elif mutation == "wrong_repository": + data["repository"] = "https://github.com/example/other" + elif mutation == "extra_field": + data["extra"] = "unsupported" + elif mutation in {"wrong_version", "boolean_version"}: + data["schema_version"] = True if mutation == "boolean_version" else 2 + elif mutation == "null": + data = None + elif mutation == "list": + data = [] + elif mutation == "missing_registry": + del data["registry"] + elif mutation == "registry_null": + data["registry"] = None + elif mutation == "registry_extra": + data["registry"]["extra"] = "unsupported" + elif mutation == "wrong_path": + data["registry"]["path"] = pr.LIBRARY_PATH + "/../skill-index.json" + elif mutation == "wrong_digest": + data["registry"]["sha256"] = "0" * 64 + elif mutation == "invalid_digest": + data["registry"]["sha256"] = 123 + elif mutation == "changed_registry": + canonical.write_text("Changed source bytes\n") + elif mutation == "changed_library": + canonical.with_name("resource.md").write_text("New source asset\n") + manifest.write_text(json.dumps(data)) + if mutation == "malformed": + manifest.write_text("{bad json") + elif mutation == "duplicate_field": + manifest.write_text('{"schema_version": 1, ' + manifest.read_text()[1:]) + elif mutation == "duplicate_registry_field": + manifest.write_text(manifest.read_text().replace('"registry": {', + '"registry": {"path": "bad", ')) + elif mutation == "symlink": + manifest.unlink() + manifest.symlink_to(canonical) + elif mutation == "mode": + manifest.chmod(0o755) + elif mutation == "oversized": + manifest.write_text(manifest.read_text() + " " * 65536) + elif mutation == "directory": + manifest.unlink() + manifest.mkdir() + (manifest / "child").write_text("Not a manifest") + elif mutation == "non_utf8": + manifest.write_bytes(json.dumps(data).encode("utf-16")) + commit_projection_fixture(repo, identity) + check = pr.projection_check(repo, identity, changes) + assert check["status"] == "unavailable" and "source_revision" not in check + + +@pytest.mark.parametrize("mode", ["symlink", "executable"]) +def test_manifest_rejects_unsafe_registry_at_both_unchanged_revisions(tmp_path, mode): + repo, _, canonical, _, identity, changes, manifest, data = manifest_fixture(tmp_path) + if mode == "symlink": + canonical.unlink() + canonical.symlink_to("README.md") + canonical.with_name("README.md").write_text("Synthetic registry target\n") + raw = b"README.md" + else: + canonical.chmod(0o755) + raw = canonical.read_bytes() + commit_projection_fixture(repo, identity) + data["source_revision"] = identity["head"] + data["registry"]["sha256"] = hashlib.sha256(raw).hexdigest() + manifest.write_text(json.dumps(data)) + commit_projection_fixture(repo, identity) + assert pr.projection_check(repo, identity, changes)["status"] == "unavailable" diff --git a/tests/test_skill_index.py b/tests/test_skill_index.py index 965b1c7f8..58ab46830 100644 --- a/tests/test_skill_index.py +++ b/tests/test_skill_index.py @@ -5,6 +5,7 @@ import pytest +from inferrsi._skill_provenance import MANIFEST from inferrsi.arguments import parser from inferrsi.catalog import REPO_TYPES, repository_pack, search_knowledge from inferrsi.cli import main @@ -75,6 +76,14 @@ def test_generated_index_matches_current_sources_without_historical_git_objects( for path in destination.rglob("*") if path.is_file() } assert actual == generated + snapshot = json.loads(actual[MANIFEST]) + assert snapshot["source_revision"] in { + record["sources"][0]["commit"] for record in records + } + assert all( + json.loads(text)["schema_version"] == 2 + for name, text in actual.items() if name.endswith(".json") and name != MANIFEST + ) def test_committed_source_hashes_preserve_binary_and_newline_bytes(tmp_path): diff --git a/tests/test_skill_provenance.py b/tests/test_skill_provenance.py new file mode 100644 index 000000000..6b223e8aa --- /dev/null +++ b/tests/test_skill_provenance.py @@ -0,0 +1,291 @@ +"""Contribution-cost and integrity controls; no knowledge efficacy is measured.""" + +import copy +import hashlib +import json +import shutil +import subprocess + +import pytest + +from inferrsi import catalog +from inferrsi._skill_provenance import MANIFEST, REGISTRY, resolve_record, validate_snapshot +from tools.build_skill_index import DESTINATION, LIBRARY, build_index, render_index, source_inputs + + +def git(root, *args, check=True): + return subprocess.run( + ["git", "-C", str(root), "-c", "user.name=Provenance test fixture", + "-c", "user.email=fixture@example.invalid", *args], + check=check, capture_output=True, text=True, + ) + + +def commit(root, message): + git(root, "add", ".") + git(root, "commit", "--quiet", "-m", message) + return git(root, "rev-parse", "HEAD").stdout.strip() + + +def write_index(root, revision): + outputs = build_index(root, revision) + for relative, text in outputs.items(): + path = root / DESTINATION / relative + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(text, encoding="utf-8") + return outputs + + +def source(root, name): + return root / LIBRARY / "methods" / name / "SKILL.md" + + +@pytest.fixture +def repository(tmp_path): + git(tmp_path, "init", "--quiet") + git(tmp_path, "config", "core.autocrlf", "false") + registry = {"schema_version": 1, "skills": {}} + for name in ("alpha", "bravo", "charlie"): + path = source(tmp_path, name) + path.parent.mkdir(parents=True) + path.write_text(f"---\nname: {name}\ndescription: Fixture {name}\n---\nOriginal body\n") + registry["skills"][name] = {"path": f"methods/{name}", "backend": "common"} + (tmp_path / REGISTRY).write_text(json.dumps(registry)) + pin = commit(tmp_path, "Synthetic canonical owners") + outputs = write_index(tmp_path, pin) + commit(tmp_path, "Synthetic baseline projections") + return tmp_path, outputs + + +def test_one_owner_edit_changes_only_owner_projection_and_manifest(repository): + root, before = repository + source(root, "alpha").write_text(source(root, "alpha").read_text() + "New alpha evidence\n") + pin = commit(root, "Synthetic alpha change") + after = write_index(root, pin) + assert {path for path in before if before[path] != after[path]} == { + "common/skills/alpha.json", MANIFEST, + } + assert build_index(root, pin) == after + commit(root, "Synthetic alpha projection") + assert build_index(root, pin) == after + assert git(root, "status", "--porcelain").stdout == "" + + +def test_registering_an_owner_does_not_rewrite_other_owners(repository): + root, before = repository + path = source(root, "delta") + path.parent.mkdir(parents=True) + path.write_text("---\nname: delta\ndescription: New fixture\n---\nNew body\n") + registry = json.loads((root / REGISTRY).read_text()) + registry["skills"]["delta"] = {"path": "methods/delta", "backend": "common"} + (root / REGISTRY).write_text(json.dumps(registry)) + after = write_index(root, commit(root, "Synthetic owner registration")) + assert {path for path in before if before[path] != after[path]} == {MANIFEST, "README.md"} + assert set(after) - set(before) == {"common/skills/delta.json"} + + +@pytest.mark.parametrize("order", [("alpha", "bravo"), ("bravo", "alpha")]) +def test_parallel_squash_integration_preserves_both_owners(repository, order): + root, before = repository + baseline = git(root, "rev-parse", "HEAD").stdout.strip() + for name in ("alpha", "bravo"): + git(root, "checkout", "--quiet", "-b", name, baseline) + source(root, name).write_text(source(root, name).read_text() + f"New {name} evidence\n") + pin = commit(root, f"Synthetic {name} source") + write_index(root, pin) + commit(root, f"Synthetic {name} projection") + git(root, "checkout", "--quiet", "-b", "integration", baseline) + for index, name in enumerate(order): + merged = git(root, "merge", "--squash", name, check=False) + conflicts = git(root, "diff", "--name-only", "--diff-filter=U").stdout.splitlines() + if index: + assert merged.returncode == 1 + assert conflicts == [(DESTINATION / MANIFEST).as_posix()] + # Only the mechanically generated shared snapshot conflicts. Retain + # its prior value until combined canonical sources are committed. + git(root, "checkout", "--ours", "--", (DESTINATION / MANIFEST).as_posix()) + else: + assert merged.returncode == 0 + combined = commit(root, f"Synthetic squash of {name}") + # Model the protected-main workflow: repair on a separate branch, then + # squash that projection-only PR. Its pin already belongs to main, so + # the second squash cannot make the source snapshot unreachable. + git(root, "checkout", "--quiet", "-b", f"repair-{name}") + outputs = write_index(root, combined) + commit(root, "Regenerate combined snapshot on repair branch") + git(root, "checkout", "--quiet", "integration") + git(root, "merge", "--squash", f"repair-{name}") + commit(root, "Synthetic squash of projection-only repair PR") + assert build_index(root, combined) == outputs + assert outputs["common/skills/charlie.json"] == before["common/skills/charlie.json"] + for name in order: + assert f"New {name} evidence" in source(root, name).read_text() + raw = json.loads(outputs[f"common/skills/{name}.json"]) + assert raw["source_files"][source(root, name).relative_to(root).as_posix()] == ( + hashlib.sha256(source(root, name).read_bytes()).hexdigest() + ) + snapshot = json.loads(outputs[MANIFEST]) + assert snapshot["source_revision"] == combined + assert git(root, "merge-base", "--is-ancestor", combined, "HEAD").returncode == 0 + # A fresh checkout, without either contributor branch, reproduces artifacts. + clone = root.parent / (root.name + "-clean") + git(root, "clone", "--quiet", "--no-local", "--single-branch", "--branch", "integration", + str(root), str(clone)) + assert build_index(clone, combined) == outputs + shallow = root.parent / (root.name + "-shallow") + git(root, "clone", "--quiet", "--depth=1", "--single-branch", "--branch", "integration", + root.as_uri(), str(shallow)) + assert git(shallow, "cat-file", "-e", combined, check=False).returncode != 0 + hashes = {path: hashlib.sha256((shallow / path).read_bytes()).hexdigest() + for path in source_inputs(shallow / LIBRARY)} + assert render_index(shallow / LIBRARY, combined, hashes) == outputs + + +def test_same_owner_source_conflicts_remain_explicit(repository): + root, _ = repository + baseline = git(root, "rev-parse", "HEAD").stdout.strip() + for name in ("first", "second"): + git(root, "checkout", "--quiet", "-b", name, baseline) + source(root, "alpha").write_text( + source(root, "alpha").read_text().replace("Original body", name) + ) + write_index(root, commit(root, f"Synthetic {name} source")) + commit(root, f"Synthetic {name} projection") + git(root, "checkout", "--quiet", "first") + merged = git(root, "merge", "--squash", "second", check=False) + assert merged.returncode == 1 + assert source(root, "alpha").relative_to(root).as_posix() in git( + root, "diff", "--name-only", "--diff-filter=U" + ).stdout.splitlines() + with pytest.raises(ValueError, match="inputs differ"): + build_index(root, "HEAD") + + +def package_fixture(root, outputs): + package = root / "package" + shutil.copytree(root / "src/inferrsi/data", package / "data") + return package, package / "data/repo_packs/inferrsi/knowledge" + + +def test_raw_v2_resolves_exact_legacy_public_shape_and_v1_still_reads(repository, monkeypatch): + root, outputs = repository + package, projection = package_fixture(root, outputs) + monkeypatch.setattr(catalog, "files", lambda _: package) + records = catalog.knowledge_records() + assert len(records) == 3 + snapshot = json.loads(outputs[MANIFEST]) + for record in records: + raw_path = projection / "common/skills" / (record["title"] + ".json") + raw = json.loads(raw_path.read_text()) + assert record == resolve_record(raw, snapshot) + assert record["schema_version"] == 1 + assert record["sources"][0]["commit"] == snapshot["source_revision"] + assert record["source_files"][REGISTRY] == snapshot["registry"]["sha256"] + assert "snapshot" not in record["sources"][0] + # Rollback/legacy package support does not require the new manifest. + raw_path.write_text(json.dumps(record)) + (projection / MANIFEST).unlink() + assert catalog.knowledge_records() == records + + +@pytest.mark.parametrize("mutation", [ + "missing", "bad-json", "schema", "bool-schema", "float-schema", "repository", "revision", + "registry-path", "registry-hash", "source-ref", "source-path", "source-hash", "source-schema", + "source-float-schema", "unexpected-json", +]) +def test_malformed_or_missing_manifest_and_records_fail_closed(repository, monkeypatch, mutation): + root, outputs = repository + package, projection = package_fixture(root, outputs) + monkeypatch.setattr(catalog, "files", lambda _: package) + manifest = projection / MANIFEST + snapshot = json.loads(manifest.read_text()) + raw_path = projection / "common/skills/alpha.json" + raw = json.loads(raw_path.read_text()) + if mutation == "missing": + manifest.unlink() + elif mutation == "bad-json": + manifest.write_text("{") + elif mutation == "schema": + snapshot["schema_version"] = 99 + elif mutation == "bool-schema": + snapshot["schema_version"] = True + elif mutation == "float-schema": + snapshot["schema_version"] = 1.0 + elif mutation == "repository": + snapshot["repository"] = "https://example.invalid/untrusted" + elif mutation == "revision": + snapshot["source_revision"] = "HEAD" + elif mutation == "registry-path": + snapshot["registry"]["path"] = "../other.json" + elif mutation == "registry-hash": + snapshot["registry"]["sha256"] = "unknown" + elif mutation == "source-ref": + raw["sources"][0]["snapshot"] = "https://example.invalid/snapshot.json" + elif mutation == "source-path": + raw["sources"][0]["path"] = "src/inferrsi/data/skill_library/../other.md" + elif mutation == "source-hash": + raw["sources"][0]["content_sha256"] = "0" * 64 + elif mutation == "source-schema": + raw["schema_version"] = 99 + elif mutation == "source-float-schema": + raw["schema_version"] = 2.0 + else: + (projection / "extra.json").write_text("{}") + if mutation not in ("missing", "bad-json"): + manifest.write_text(json.dumps(snapshot)) + raw_path.write_text(json.dumps(raw)) + with pytest.raises((ValueError, KeyError)): + catalog.knowledge_records() + + +@pytest.mark.parametrize("target,key,value", [ + (MANIFEST, "source_revision", "0" * 40), + (MANIFEST, "registry", {}), + ("common/skills/alpha.json", "schema_version", 99), + ("common/skills/alpha.json", "sources", []), +]) +def test_duplicate_provenance_fields_fail_even_when_last_value_is_valid( + repository, monkeypatch, target, key, value, +): + root, outputs = repository + package, projection = package_fixture(root, outputs) + monkeypatch.setattr(catalog, "files", lambda _: package) + path = projection / target + text = path.read_text() + path.write_text("{" + json.dumps(key) + ": " + json.dumps(value) + "," + text[1:]) + with pytest.raises(ValueError, match="Duplicate"): + catalog.knowledge_records() + + +def test_valid_looking_tampered_provenance_is_detected_by_git_check(repository): + root, outputs = repository + manifest = root / DESTINATION / MANIFEST + snapshot = json.loads(outputs[MANIFEST]) + pin = snapshot["source_revision"] + for change in ({"source_revision": "0" * 40}, {"registry": { + "path": REGISTRY, "sha256": "0" * 64, + }}): + tampered = {**copy.deepcopy(snapshot), **change} + validate_snapshot(tampered) # Shape validation is not historical proof. + manifest.write_text(json.dumps(tampered)) + assert build_index(root, pin)[MANIFEST] != manifest.read_text() + with pytest.raises(subprocess.CalledProcessError): + build_index(root, "0" * 40) + + +@pytest.mark.parametrize("change", ["body", "delete", "resource", "registry"]) +def test_source_drift_is_never_attributed_to_the_old_snapshot(repository, change): + root, outputs = repository + pin = json.loads(outputs[MANIFEST])["source_revision"] + if change == "body": + source(root, "alpha").write_text(source(root, "alpha").read_text() + "Tampered\n") + elif change == "delete": + source(root, "alpha").unlink() + elif change == "resource": + (source(root, "alpha").parent / "new.txt").write_text("new resource") + else: + registry = json.loads((root / REGISTRY).read_text()) + registry["skills"]["alpha"]["backend"] = "cuda" + (root / REGISTRY).write_text(json.dumps(registry)) + with pytest.raises((ValueError, FileNotFoundError)): + build_index(root, pin) diff --git a/tools/build_skill_index.py b/tools/build_skill_index.py index 1ab6cadd1..d734a9105 100644 --- a/tools/build_skill_index.py +++ b/tools/build_skill_index.py @@ -13,12 +13,12 @@ import subprocess from pathlib import Path +from inferrsi._skill_provenance import MANIFEST, REGISTRY, REPOSITORY from inferrsi.skill_catalog import skill_metadata, skill_records PROJECT = Path(__file__).resolve().parents[1] LIBRARY = Path("src/inferrsi/data/skill_library") DESTINATION = Path("src/inferrsi/data/repo_packs/inferrsi/knowledge") -REPOSITORY = "https://github.com/InferMatrixLab/InferRSI" # Match the comparison tool: replacement refs and lazy promisor fetches must not # change the bytes hashed for a pinned revision. GIT_READ = ("git", "--no-replace-objects", "--no-lazy-fetch") @@ -109,7 +109,12 @@ def recommendations(metadata: dict) -> list[str]: def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dict[str, str]: """Render the projection without requiring historical Git objects.""" - outputs = {} + outputs = {MANIFEST: json.dumps({ + "schema_version": 1, + "repository": REPOSITORY, + "source_revision": revision, + "registry": {"path": REGISTRY, "sha256": source_files[REGISTRY]}, + }, ensure_ascii=False, indent=2) + "\n"} links = [] entries = _registry(root) for selected in skill_records(root): @@ -120,13 +125,12 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic hashes = { path: digest for path, digest in sorted(source_files.items()) if path.startswith(f"{directory}/") - or path == f"{LIBRARY.as_posix()}/skill-index.json" } paths = list(hashes) entry = f"{directory}/SKILL.md" state = metadata.get("status", "unspecified") record = { - "schema_version": 1, + "schema_version": 2, "id": f"inferrsi.{backend}.skills.{name.replace('-', '_')}", "title": name, "repo": "inferrsi", @@ -140,8 +144,8 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "origin": metadata.get("origin", ["unknown"]), "sources": [{ "type": "git", - "url": f"{REPOSITORY}/blob/{revision}/{entry}", - "commit": revision, + "snapshot": MANIFEST, + "path": entry, "paths": paths, "content_sha256": hashes[entry], }], @@ -184,7 +188,11 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "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`.", "", - f"Source snapshot: [{revision}]({REPOSITORY}/tree/{revision}/{LIBRARY.as_posix()}).", "", + f"Source snapshot and registry hash: [{MANIFEST}]({MANIFEST}).", "", + "Stored schema-v2 projections contain owner-local hashes and a fixed snapshot reference.", + "The catalog resolves that shared manifest into the existing schema-v1 records with", + "complete Git URLs, commits, source paths and registry hashes. No network lookup occurs.", + "", "```bash", "inferrsi knowledge search 'profiling' --repo-type inferrsi --limit 50", "inferrsi collect --repo-type inferrsi --kind knowledge --limit 50 --material", @@ -195,7 +203,7 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "`source_files` hashes identify the canonical Git bytes, not a validation result.", "", "```bash", "python tools/build_skill_index.py --source-revision ", - f"python tools/build_skill_index.py --source-revision {revision} --check", + "python tools/build_skill_index.py --source-revision --check", "```", "", "`--check` detects missing, stale and unexpected generated records without writing.", "References and cases ship with their owning skill, not as duplicate knowledge abstracts.", @@ -226,7 +234,7 @@ def main(argv: list[str] | None = None) -> int: if stale or changed: print("Skill index drift: " + ", ".join(sorted(stale | set(changed)))) return 1 - print(f"Skill index is current: {len(outputs) - 1} metadata records") + print(f"Skill index is current: {len(outputs) - 2} metadata records") return 0 if stale: raise ValueError("Remove obsolete generated files explicitly: " + ", ".join(sorted(stale))) @@ -234,7 +242,7 @@ def main(argv: list[str] | None = None) -> int: path = destination / relative path.parent.mkdir(parents=True, exist_ok=True) path.write_text(outputs[relative], encoding="utf-8", newline="\n") - print(f"Generated {len(outputs) - 1} skill metadata records") + print(f"Generated {len(outputs) - 2} skill metadata records") return 0 diff --git a/tools/knowledge_contribution.py b/tools/knowledge_contribution.py new file mode 100644 index 000000000..97b12875c --- /dev/null +++ b/tools/knowledge_contribution.py @@ -0,0 +1,161 @@ +"""Prepare a local, reviewable knowledge contribution report or declaration. + +Supply --base with a freshly fetched target-branch tip. Its committed policy is +used, not a proposed working-tree policy. The PR-style diff is merge-base..HEAD; +renames are reported as deletion/addition so both endpoints remain in scope. +This helper neither publishes nor approves anything and never infers authorship. +""" + +from __future__ import annotations + +import argparse +import json +import subprocess +import sys +from pathlib import Path + +if __package__: + from . import check_knowledge_model_policy as checker +else: + import check_knowledge_model_policy as checker + +PROJECT = Path(__file__).resolve().parents[1] +POLICY = ".github/knowledge-model-policy.json" +GENERATED = "src/inferrsi/data/repo_packs/inferrsi/knowledge/" +GENERATED_FILES = {"docs/skill-coverage.md"} +GIT_READ = ("git", "--no-replace-objects", "--no-lazy-fetch") + + +def _git(project: Path, *args: str) -> bytes: + return subprocess.run( + [*GIT_READ, "-C", str(project), *args], check=True, capture_output=True, + ).stdout + + +def _revision(project: Path, name: str) -> str: + return _git(project, "rev-parse", "--verify", "--end-of-options", + f"{name}^{{commit}}").decode("ascii").strip() + + +def _paths(raw: bytes) -> list[str]: + # Git's -z format retains tabs/newlines/quotes literally. JSON escapes them + # on output; undecodable filenames fail rather than silently losing scope. + return [path.decode("utf-8") for path in raw.split(b"\0") if path] + + +def _dirty_paths(project: Path, head: str) -> list[str]: + tracked = _paths(_git(project, "diff", "--no-ext-diff", "--no-textconv", + "--no-renames", "--name-only", "-z", head, "--")) + staged = _paths(_git(project, "diff", "--cached", "--no-ext-diff", "--no-textconv", + "--no-renames", "--name-only", "-z", head, "--")) + untracked = _paths(_git(project, "ls-files", "--others", "--exclude-standard", "-z")) + return sorted(set(tracked + staged + untracked)) + + +def contribution_report(project: Path, base: str) -> dict: + """Report committed HEAD only; local changes are separately and fully listed.""" + head = _revision(project, "HEAD") + base_sha = _revision(project, base) + ancestors = _git(project, "merge-base", "--all", base_sha, head).decode("ascii").split() + if len(ancestors) != 1: + raise ValueError("A unique merge base is required") + merge_base = ancestors[0] + policy = json.loads(_git(project, "show", f"{base_sha}:{POLICY}"), + object_pairs_hook=checker.unique_object) + if (not isinstance(policy, dict) or type(policy.get("schema_version")) is not int + or policy["schema_version"] != 1): + raise ValueError("Unsupported trusted-base policy schema") + for key in ("protected_paths", "policy_paths"): + if not isinstance(policy.get(key), list) or any( + not checker.text(pattern) for pattern in policy[key] + ): + raise ValueError("Invalid trusted-base policy paths") + paths = sorted(set(_paths(_git( + project, "diff", "--no-ext-diff", "--no-textconv", "--no-renames", + "--name-only", "-z", merge_base, head, "--", + )))) + protected = sorted(checker.matching(paths, policy["protected_paths"])) + generated = [path for path in paths + if path.startswith(GENERATED) or path in GENERATED_FILES] + dirty = _dirty_paths(project, head) + if _revision(project, "HEAD") != head: + raise ValueError("HEAD changed while preparing report; rerun") + return { + "schema_version": 1, + "head_sha": head, + "base_sha": base_sha, + "policy_sha": base_sha, + "merge_base_sha": merge_base, + "comparison": "merge-base..HEAD (renames retain both paths)", + "changed_paths": paths, + "protected_paths": protected, + "policy_paths": sorted(checker.matching(paths, policy["policy_paths"])), + "exception_paths": protected, + "generated_paths": generated, + "substantive_paths": sorted(set(paths) - set(generated)), + "classification_note": ( + "Generated means the index directory or skill coverage document, not verified " + "mechanical content. " + "Other paths are substantive review inputs. All protected paths remain in scope." + ), + "dirty_paths": dirty, + "note": ( + "Committed HEAD only; commit remaining changes and rerun. Refresh the target branch " + "before choosing --base. This local report is not admission, review or approval. " + "Exception paths are a scope preview, not an exception request or grant." + ), + } + + +def declaration_block(project: Path, report: dict, authors: dict, + exception_reason: str | None = None) -> str: + """Fill mechanical fields only, retaining explicit supplied author facts verbatim.""" + if report["dirty_paths"] or _dirty_paths(project, report["head_sha"]): + raise ValueError("Commit or remove local changes before generating a declaration") + if _revision(project, "HEAD") != report["head_sha"]: + raise ValueError("HEAD changed; rerun the contribution report") + checker.fields(authors, ("human_only", "material_ai_authors")) + value = {"schema_version": 1, "head_sha": report["head_sha"], **authors} + if exception_reason is not None: + if not checker.text(exception_reason): + raise ValueError("Supply an explicit nonempty exception reason") + value["exception"] = {"paths": report["exception_paths"], "reason": exception_reason} + block = "```knowledge-model-policy\n" + json.dumps(value, indent=2, ensure_ascii=True) + "\n```" + # Validate shape, not admission: unknown model/effort stay truthful. Only the + # trusted remote checker can evaluate current approval and lifecycle facts. + checker.declaration(block, report["head_sha"]) + return block + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--base", required=True, help="Fresh target-branch tip (ref or commit)") + parser.add_argument("--authors-file", type=Path, help=( + "Explicit JSON object with human_only and material_ai_authors; prints one declaration " + "instead of the report. Keep this file outside the worktree." + )) + parser.add_argument("--exception-reason", help=( + "Explicitly request an exception for every protected changed path; does not approve it" + )) + args = parser.parse_args(argv) + if args.exception_reason is not None and args.authors_file is None: + parser.error("--exception-reason requires --authors-file") + try: + report = contribution_report(PROJECT, args.base) + if args.authors_file is None: + print(json.dumps(report, indent=2, ensure_ascii=True)) + else: + authors = json.loads(args.authors_file.read_text(encoding="utf-8"), + object_pairs_hook=checker.unique_object) + print(declaration_block(PROJECT, report, authors, args.exception_reason)) + except (ValueError, KeyError, TypeError, OSError, subprocess.CalledProcessError) as error: + # Git stderr can contain private paths/configuration; never echo it. + message = (str(error) if isinstance(error, ValueError) + else "Required local input unavailable") + print(f"Contribution helper: {message}", file=sys.stderr) + return 1 + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tools/skill_eval_pr.py b/tools/skill_eval_pr.py index 5ebe4ef62..7ae84c544 100644 --- a/tools/skill_eval_pr.py +++ b/tools/skill_eval_pr.py @@ -74,46 +74,87 @@ def task_context(tasks): if isinstance(task.get(key), str)} for task in tasks if isinstance(task, dict)] +def projection_blob(repo, revision, path, *, max_bytes=65536): + """Read one exact regular blob, never a candidate checkout or symlink.""" + entry = git(repo, "ls-tree", revision, "--", path).decode().split() + if len(entry) != 4 or entry[:2] != ["100644", "blob"] or entry[3] != path: + raise ValueError("Invalid projection input mode or path") + if int(git(repo, "cat-file", "-s", entry[2])) > max_bytes: + raise ValueError("Oversized projection input") + return git(repo, "cat-file", "blob", entry[2]) + + +def projection_object(pairs): + value = {} + for key, item in pairs: + if key in value: + raise ValueError("Duplicate projection field") + value[key] = item + return value + + def projection_check(repo, identity, changes): """Identify an applicable existing check from raw Git data, without running it.""" if not any(matches_path(c["path"], (LIBRARY_PATH, PROJECTION_PATH)) for c in changes): return None unavailable = {"status": "unavailable", "reason": "No verified ancestor source pin for automatic command selection"} + manifest = PROJECTION_PATH + "/_provenance.json" readme = PROJECTION_PATH + "/README.md" try: - # Do not follow a symlink or read executable/oversized PR metadata. - entry = git(repo, "ls-tree", identity["head"], "--", readme).decode().split() - if len(entry) != 4 or entry[:2] != ["100644", "blob"]: - return unavailable - if int(git(repo, "cat-file", "-s", entry[2])) > 65536: - return unavailable - text = git(repo, "cat-file", "blob", entry[2]).decode("utf-8") - pattern = (r"^Source snapshot: \[(" + SHA + r")\]\(https://github\.com/" - + re.escape(identity["repository"]) + r"/tree/\1/" - + re.escape(LIBRARY_PATH) + r"\)\.$") - pins = re.findall(pattern, text, flags=re.M) - if len(pins) != 1: - return unavailable + # Presence is authoritative: invalid manifests must not fall back to README. + if blob_exists(repo, identity["head"], manifest): + metadata = json.loads(projection_blob(repo, identity["head"], manifest).decode("utf-8"), + object_pairs_hook=projection_object) + if (not isinstance(metadata, dict) + or set(metadata) != {"schema_version", "repository", "source_revision", + "registry"} + or type(metadata["schema_version"]) is not int + or metadata["schema_version"] != 1 + or metadata["repository"] != "https://github.com/" + identity["repository"] + or not isinstance(metadata["source_revision"], str) + or not re.fullmatch(SHA, metadata["source_revision"])): + return unavailable + registry = metadata["registry"] + if (not isinstance(registry, dict) or set(registry) != {"path", "sha256"} + or registry["path"] != LIBRARY_PATH + "/skill-index.json" + or not isinstance(registry["sha256"], str) + or not re.fullmatch(r"[0-9a-f]{64}", registry["sha256"])): + return unavailable + pin, declared_in = metadata["source_revision"], manifest + else: + text = projection_blob(repo, identity["head"], readme).decode("utf-8") + pattern = (r"^Source snapshot: \[(" + SHA + r")\]\(https://github\.com/" + + re.escape(identity["repository"]) + r"/tree/\1/" + + re.escape(LIBRARY_PATH) + r"\)\.$") + pins = re.findall(pattern, text, flags=re.M) + if len(pins) != 1: + return unavailable + pin, declared_in = pins[0], readme # Only the frozen head's full ancestor closure is stable across jobs. # An unrelated locally cached object must not change the plan fingerprint. ancestor = subprocess.run( - [*compare.GIT_READ, "merge-base", "--is-ancestor", pins[0], identity["head"]], + [*compare.GIT_READ, "merge-base", "--is-ancestor", pin, identity["head"]], cwd=repo, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=False) if ancestor.returncode != 0: return unavailable - if git(repo, "cat-file", "-t", pins[0]).strip() != b"commit": + if git(repo, "cat-file", "-t", pin).strip() != b"commit": return unavailable library = git(repo, "ls-tree", identity["head"], "--", LIBRARY_PATH).decode().split() if len(library) != 4 or library[:2] != ["040000", "tree"]: return unavailable changed = git(repo, "diff", "--no-ext-diff", "--no-textconv", "--no-renames", - "--name-only", pins[0], identity["head"], "--", LIBRARY_PATH) + "--name-only", pin, identity["head"], "--", LIBRARY_PATH) if changed.strip(): return {"status": "unavailable", "reason": "Declared projection source differs from current canonical library bytes"} - return {"status": "ready", "source_revision": pins[0], "declared_in": readme} - except (subprocess.CalledProcessError, UnicodeError, ValueError): + if declared_in == manifest: + for revision in (pin, identity["head"]): + raw = projection_blob(repo, revision, registry["path"], max_bytes=16 * 1024 * 1024) + if hashlib.sha256(raw).hexdigest() != registry["sha256"]: + return unavailable + return {"status": "ready", "source_revision": pin, "declared_in": declared_in} + except (subprocess.CalledProcessError, UnicodeError, ValueError, RecursionError): return unavailable From 4260fc75a31e0e1d9086261c2cfeea2b360101f0 Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Tue, 10 Nov 2026 10:09:11 +0800 Subject: [PATCH 2/6] Revert the shared-provenance prototype before reimplementation The #355 design decision accepted the shared source-snapshot manifest. Remove the prototype so the replacement implementation is authored and declared on its own; the prototype stays in branch history. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- docs/contributing.md | 2 - docs/knowledge-contribution-workflow.md | 154 --------- src/inferrsi/_skill_provenance.py | 86 ------ src/inferrsi/catalog.py | 17 +- .../repo_packs/inferrsi/knowledge/README.md | 8 +- .../inferrsi/knowledge/_provenance.json | 9 - .../ascend-aclgraph-capture-replay.json | 12 +- .../ascend/skills/ascend-device-health.json | 12 +- .../skills/ascend-distributed-parallel.json | 12 +- .../ascend/skills/ascend-graph-mode.json | 12 +- .../skills/ascend-model-adaptation.json | 12 +- .../skills/ascend-operator-profiling.json | 12 +- .../ascend/skills/ascend-operator-tuning.json | 12 +- .../skills/ascend-optimization-casebook.json | 12 +- .../skills/ascend-performance-analysis.json | 12 +- .../ascend-video-diffusion-optimization.json | 12 +- .../ascend/skills/ascendc-tiling-design.json | 12 +- .../skills/cann-attribution-overlap.json | 12 +- .../knowledge/ascend/skills/torch-npu.json | 12 +- .../torchnpu-device-memory-lifecycle.json | 12 +- ...torchnpu-pinned-host-memory-lifecycle.json | 12 +- .../knowledge/ascend/skills/vllm-ascend.json | 12 +- .../skills/assess-serving-preemption.json | 12 +- .../assess-split-backward-schedule.json | 12 +- .../skills/audit-fixed-workload-claim.json | 12 +- .../audit-h3-metal-fasth3-semantics.json | 12 +- .../skills/audit-h3-runtime-residency.json | 12 +- .../skills/audit-llama-runtime-state.json | 12 +- .../audit-recurrent-kv-finalization.json | 12 +- .../common/skills/audit-sd-cpp-residency.json | 12 +- .../audit-sglang-diffusion-lifetimes.json | 12 +- .../skills/audit-vllm-kv-lifetimes.json | 12 +- .../bound-windowed-attention-replay.json | 12 +- .../budget-speculative-verification.json | 12 +- .../skills/calibrate-serving-simulation.json | 12 +- .../skills/cgroup-resource-controls.json | 12 +- .../checkpoint-recovery-consistency.json | 12 +- .../skills/choose-parallel-training-plan.json | 12 +- .../skills/cite-check-downstream-pr.json | 8 +- .../common/skills/claim-contract.json | 8 +- .../knowledge/common/skills/comfy-ui.json | 12 +- .../common/skills/competitor-scan.json | 8 +- .../skills/dcp-async-save-performance.json | 12 +- .../skills/dense-performance-evidence.json | 12 +- .../diagnose-vllm-admission-pressure.json | 12 +- .../skills/diffusers-invocation-state.json | 12 +- .../common/skills/draft-acceptance-issue.json | 8 +- .../knowledge/common/skills/dwarfstar.json | 12 +- .../evaluate-elastic-serving-placement.json | 12 +- .../skills/generation-cache-lifecycle.json | 12 +- .../common/skills/host-memory-management.json | 12 +- .../skills/host-overhead-optimization.json | 12 +- .../knowledge/common/skills/husky.json | 12 +- .../skills/inference-benchmark-design.json | 12 +- .../inference-optimization-casebook.json | 12 +- .../common/skills/kernel-writing-guide.json | 12 +- .../common/skills/kv-tier-management.json | 12 +- .../lazy-evaluation-stream-lifetimes.json | 12 +- .../knowledge/common/skills/lily.json | 12 +- .../knowledge/common/skills/lithos-metal.json | 12 +- .../knowledge/common/skills/local-dream.json | 12 +- .../knowledge/common/skills/mistral-rs.json | 12 +- .../knowledge/common/skills/mlc-llm.json | 12 +- .../knowledge/common/skills/mlx-swift-lm.json | 12 +- .../common/skills/npu-skill-factory.json | 8 +- .../skills/optimization-search-policy.json | 12 +- .../common/skills/os-process-placement.json | 12 +- .../skills/performance-ceiling-analysis.json | 12 +- .../skills/plan-activation-residency.json | 12 +- .../knowledge/common/skills/project-maya.json | 12 +- .../knowledge/common/skills/pytorch.json | 12 +- .../skills/repository-evolution-analysis.json | 12 +- .../knowledge/common/skills/rsi-evidence.json | 8 +- .../skills/skill-evolution-playbook.json | 12 +- .../knowledge/common/skills/splash.json | 12 +- .../common/skills/storage-io-measurement.json | 12 +- .../skills/training-input-pipeline.json | 12 +- .../skills/training-resource-budget.json | 12 +- .../skills/video-diffusion-optimization.json | 12 +- .../knowledge/common/skills/vllm-metal.json | 12 +- .../skills/weight-loading-optimization.json | 12 +- .../cuda/skills/audit-afd-p2p-exchanges.json | 12 +- .../skills/audit-flare-session-lifecycle.json | 12 +- .../diagnose-attention-bottlenecks.json | 12 +- .../cuda/skills/host-overhead-profiling.json | 12 +- .../cuda/skills/reason-hopper-kernels.json | 12 +- tests/check_installed.py | 13 - tests/test_cli_catalog.py | 3 - tests/test_knowledge_contribution.py | 274 ----------------- tests/test_skill_eval_planned_guidance.py | 118 ------- tests/test_skill_index.py | 9 - tests/test_skill_provenance.py | 291 ------------------ tools/build_skill_index.py | 28 +- tools/knowledge_contribution.py | 161 ---------- tools/skill_eval_pr.py | 77 ++--- 95 files changed, 579 insertions(+), 1607 deletions(-) delete mode 100644 docs/knowledge-contribution-workflow.md delete mode 100644 src/inferrsi/_skill_provenance.py delete mode 100644 src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json delete mode 100644 tests/test_knowledge_contribution.py delete mode 100644 tests/test_skill_provenance.py delete mode 100644 tools/knowledge_contribution.py diff --git a/docs/contributing.md b/docs/contributing.md index f7b352262..27319aaf8 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -52,8 +52,6 @@ external sources, and add its navigation link to the owning README. See the sidecar or registry, commit, then run `python tools/build_skill_index.py --source-revision `; a hand edit there is reverted by the next run and only `--check` reports it. -The [short knowledge workflow](knowledge-contribution-workflow.md) explains the -shared snapshot, parallel integration and generated declaration path lists. Do not maintain a second per-entry Markdown summary. Keep IDs stable, omit PR links, retain source attribution and negative results, and qualify new backends independently. See the diff --git a/docs/knowledge-contribution-workflow.md b/docs/knowledge-contribution-workflow.md deleted file mode 100644 index 2a558e0db..000000000 --- a/docs/knowledge-contribution-workflow.md +++ /dev/null @@ -1,154 +0,0 @@ -# Knowledge contribution workflow - -This tooling proposal implements the bounded contribution-cost scope in -[#355](https://github.com/InferMatrixLab/InferRSI/issues/355). It changes how -projections store provenance, not knowledge quality, acceptance or author policy. - -## Author once, derive the rest - -| Contributor supplies | Tools derive | -| --- | --- | -| Owner procedure, applicability, limitations, evidence judgments and source readsets | Owner resource hashes and discovery JSON | -| External source revision, inspected scope and attribution | Shared snapshot revision and registry hash, from committed Git bytes | -| Registry mapping for a new/moved owner; relevant matrix rows | Coverage view and navigation | -| Actual human contribution, every material AI author's tool/model/effort/role | Final head SHA and complete changed/protected path lists | -| Whether to request an exception and its reason | Exact exception scope, including generated files, deletions and both rename paths | - -Do not copy metadata into discovery JSON or hand-edit generated files. Optional -sidecar fields stay absent when not supplied; the generator does not invent -evidence, license, efficacy, authorship or an exception decision. - -1. Edit the canonical owner, supporting resources and only the relevant registry - or matrix entries. Commit the source changes with accurate DCO/agent trailers. -2. Generate and check the derived files from that source commit: - - ```bash - source_revision=$(git rev-parse HEAD) - python tools/build_skill_index.py --source-revision "$source_revision" - python tools/build_skill_coverage.py - python tools/build_skill_index.py --source-revision "$source_revision" --check - python tools/build_skill_coverage.py --check - ruff check src tests tools - pytest - ``` - - Inspect and commit the actual generated delta. Follow the ready lane's - isolated noneditable-wheel check for resource/packaging changes. Tests and - policy success establish their stated contracts, never skill efficacy. -3. Fetch the current target branch, then obtain the reviewable path report: - - ```bash - python tools/knowledge_contribution.py --base - ``` - - Supply an external JSON file containing only explicit `human_only` and - `material_ai_authors` facts to emit the current policy's single declaration: - - ```bash - python tools/knowledge_contribution.py --base \ - --authors-file - ``` - - Only add `--exception-reason ''` when requesting an - exception. The helper does not approve it. Unknown settings remain unknown; - they do not become admitted settings. A dirty worktree or changed HEAD blocks - declaration output. Rerun after any commit. Review the output before placing - it in the PR body with substantive changes, generated changes and test limits. - -The helper reads policy from the supplied target commit, not the proposed policy -in the worktree. Its PR-style comparison uses that target's merge base with HEAD. -Generated-path classification is a review aid, not proof that bytes are mechanical -or exempt from [knowledge-model policy](knowledge-model-policy.md). - -## Representation and trade-offs - -| Option | Benefit | Cost / reason for choice | -| --- | --- | --- | -| One commit and registry hash embedded in every owner JSON (previous) | Direct standalone attribution | A new snapshot rewrites every record; registry changes do too | -| Per-owner last Git commit | Ordinary owner edits can remain local | Squash replaces the source commit, so a later rebuild rewrites a previously merged owner; shallow history and shared registry changes add complexity | -| Reuse prior generated pins for unchanged owners | Smaller deltas | Generation depends on prior artifacts and possibly unavailable historical objects, rather than a declared complete snapshot | -| Shared snapshot with owner-local projections (this proposal) | Deterministic from one explicit source commit; no unrelated owner rewrites | One shared manifest may conflict; raw projection format migrates once and requires a resolver | - -`knowledge/_provenance.json` stores the full repository/source commit and the -canonical registry path/SHA-256. Each stored schema-v2 skill record contains only -its owner resource paths/hashes and the fixed `_provenance.json` reference. -The catalog validates this local manifest and expands the record into the same -schema-v1 public shape: complete immutable Git URL/commit, paths and source hashes -including the registry. No arbitrary file path or network resolution occurs. -Legacy schema-v1 records continue to read without a manifest. Unsupported or -malformed manifests/records and missing manifests fail rather than falling back. - -This is an explicit storage migration: older code reading raw schema-v2 JSON -cannot consume it as v1. Upgrade the generator and package reader together; -external consumers should use the catalog's resolved API or implement the v2 -resolver. One migration regenerates all owner projections. Future owner-only -edits do not. The public schema, IDs, source URLs, resource reads, Collect and -selection logic stay unchanged. Resolved runtime bundle revisions may still -change with the shared source snapshot or whole-library dependency; this proposal -reduces committed-file churn, not runtime snapshot identity changes. - -The shared manifest is touched because the complete source snapshot changes. -The generated README changes only when navigation/state rows change. Coverage -changes only when its declared source digest or view changes. Adding a registered -owner changes the registry, new owner JSON, manifest and navigation/coverage, -without rewriting existing owners' JSON. - -## Parallel integration and squash provenance - -Resolve canonical source conflicts first and preserve both accepted contributions. -Different-owner branches may conflict in the shared manifest or generated views. -Do not hand-merge owner JSON. For a manifest-only conflict, keeping either side's -manifest temporarily is safe only as an intermediate step before regeneration; -it is not a valid final combined snapshot. Resolve source/matrix/registry conflicts -explicitly, commit the combined canonical sources, then run both generators from -that commit and commit their outputs. Same-owner text conflicts remain conflicts. - -After an ordinary GitHub squash, a pre-squash snapshot may no longer be an -ancestor or available in a clean clone. Package reads still resolve the recorded -snapshot and verify available source bytes, but the Git-backed planner correctly -reports its historical pin unavailable. This proposal does not make that first -squash ancestor-resolvable or add an automatic post-merge writer. - -To restore an ancestor-resolvable snapshot on protected `main`, create a separate -projection-only repair branch from the landed source commit. Generate against -that already-landed commit and submit the small manifest repair through normal -PR review/checks and squash merge. No direct write to `main` is required or -authorized. The repair squash retains its source commit as an ancestor because -the repair does not change canonical sources. If `main` advances with another -knowledge contribution, integrate those accepted sources and regenerate from the -new landed snapshot instead. Unchanged owner JSON stays byte-identical. - -This optional recovery PR is an explicit workflow cost when Git-history-based -planning is required after squash; the storage change does not remove it. A -future automated recovery mechanism would need its own reviewed design and -authority. The raw Git planner preserves its ancestor, source-byte and registry -digest checks instead of trusting missing or unrelated cached objects. - -`build_skill_index.py --source-revision --check` requires that commit -locally and compares canonical Git path inventory and bytes before rendering. -It does not trust hashes from existing generated records. The shallow-checkout -test reconstructs projections from current packaged bytes plus the declared -manifest and checks content consistency. It does **not** independently prove that -an unavailable historical commit owned those bytes. Clean-wheel checks verify -every resolved source resource/hash without requiring historical Git objects. - -## Reproducible acceptance controls - -`tests/test_skill_provenance.py` exercises separate alpha/bravo owner branches, -both squash-integration orders, separate projection-only repair branches/PR -squashes, and a fresh clone. Charlie's JSON remains unchanged, both contributions -survive, and a second generation is identical. A depth-one clone also reproduces -the projection content without claiming unavailable historical proof. A separate -divergent same-owner edit must leave an explicit canonical conflict. These are -synthetic workflow controls, not new knowledge or efficacy evidence. - -The suite also checks owner registration, v1/v2 reader compatibility, missing and -malformed manifests, bad source references and hashes, tampered provenance, -body/resource/registry drift and unavailable source commits. Existing binary, -CRLF, replacement-ref, retrieval, Collect and installed-wheel controls remain. -The helper tests renamed/deleted/generated paths, escaping, dirty state, changed -HEAD, explicit author facts and trusted-base policy selection. - -Measured before/after counts and exact validation results belong in the PR's -revision-scoped evidence. Do not treat a small fixture's counts as a measurement -of the complete library or declare this Issue accepted from CI alone. diff --git a/src/inferrsi/_skill_provenance.py b/src/inferrsi/_skill_provenance.py deleted file mode 100644 index c2d2374cd..000000000 --- a/src/inferrsi/_skill_provenance.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Resolve the fixed, local skill snapshot without changing catalog v1 callers.""" - -from __future__ import annotations - -import json -import re - -MANIFEST = "_provenance.json" -REPOSITORY = "https://github.com/InferMatrixLab/InferRSI" -REGISTRY = "src/inferrsi/data/skill_library/skill-index.json" - - -def parse_json(text: str) -> object: - def unique_object(pairs): - value = {} - for key, item in pairs: - if key in value: - raise ValueError(f"Duplicate packaged skill provenance field: {key}") - value[key] = item - return value - - return json.loads(text, object_pairs_hook=unique_object) - - -def validate_snapshot(snapshot: object) -> dict: - if ( - not isinstance(snapshot, dict) - or set(snapshot) != {"schema_version", "repository", "source_revision", "registry"} - or type(snapshot["schema_version"]) is not int or snapshot["schema_version"] != 1 - or snapshot["repository"] != REPOSITORY - or not isinstance(snapshot["source_revision"], str) - or not re.fullmatch(r"[0-9a-f]{40}", snapshot["source_revision"]) - or not isinstance(snapshot["registry"], dict) - or set(snapshot["registry"]) != {"path", "sha256"} - or snapshot["registry"]["path"] != REGISTRY - or not isinstance(snapshot["registry"]["sha256"], str) - or not re.fullmatch(r"[0-9a-f]{64}", snapshot["registry"]["sha256"]) - ): - raise ValueError("Invalid packaged skill provenance manifest") - return snapshot - - -def resolve_record(record: dict, snapshot: dict) -> dict: - """Expand only the supported v2 projection; never follow user-supplied locators.""" - snapshot = validate_snapshot(snapshot) - if (type(record.get("schema_version")) is not int or record["schema_version"] != 2 - or record.get("index_type") != "packaged-skill"): - raise ValueError("Unsupported packaged skill projection") - documents = record.get("skill_documents") - if ( - not isinstance(documents, dict) or set(documents) != {"original"} - or not isinstance(documents["original"], str) - or not documents["original"].startswith("data/skill_library/") - or not documents["original"].endswith("/SKILL.md") - ): - raise ValueError("Invalid packaged skill source document") - entry = "src/inferrsi/" + documents["original"] - prefix = entry.removesuffix("SKILL.md") - hashes = record.get("source_files") - if ( - not isinstance(hashes, dict) or entry not in hashes - or any( - not isinstance(path, str) or not path.startswith(prefix) - or "\\" in path or any(part in ("", ".", "..") for part in path.split("/")) - or not isinstance(digest, str) or not re.fullmatch(r"[0-9a-f]{64}", digest) - for path, digest in hashes.items() - ) - ): - raise ValueError("Invalid packaged skill owner source hashes") - expected = [{ - "type": "git", "snapshot": MANIFEST, "path": entry, - "paths": sorted(hashes), "content_sha256": hashes[entry], - }] - if record.get("sources") != expected: - raise ValueError("Packaged skill source disagrees with its owner hashes") - hashes = dict(sorted({**hashes, REGISTRY: snapshot["registry"]["sha256"]}.items())) - revision = snapshot["source_revision"] - return { - **record, - "schema_version": 1, - "sources": [{ - "type": "git", "url": f"{REPOSITORY}/blob/{revision}/{entry}", - "commit": revision, "paths": list(hashes), "content_sha256": hashes[entry], - }], - "source_files": hashes, - } diff --git a/src/inferrsi/catalog.py b/src/inferrsi/catalog.py index 0c3808afa..69dc86663 100644 --- a/src/inferrsi/catalog.py +++ b/src/inferrsi/catalog.py @@ -7,8 +7,6 @@ from importlib.resources import files from typing import Any -from ._skill_provenance import MANIFEST, parse_json, resolve_record, validate_snapshot - REPO_TYPES = ("vllm", "vllm_omni", "afd_plugin", "vllm_rlt", "strata", "sglang", "sglang_omni") # Learning scope does not imply that a repository has a runnable target adapter. # Legacy repository-pack records retain their contribution tier; an independent @@ -100,23 +98,10 @@ def knowledge_records() -> list[dict[str, Any]]: ) if not knowledge.is_dir(): continue - snapshot = None - if repo == "inferrsi" and tier == "contribution": - manifest = knowledge.joinpath(MANIFEST) - if manifest.is_file(): - snapshot = validate_snapshot(parse_json(manifest.read_text(encoding="utf-8"))) for parts, item in _walk(knowledge): if not item.name.endswith(".json"): continue - if repo == "inferrsi" and tier == "contribution" and parts == (MANIFEST,): - continue - parse = parse_json if repo == "inferrsi" and tier == "contribution" else json.loads - record = parse(item.read_text(encoding="utf-8")) - if (repo == "inferrsi" and tier == "contribution" - and isinstance(record, dict) and record.get("schema_version") == 2): - if snapshot is None: - raise ValueError("Missing packaged skill provenance manifest") - record = resolve_record(record, snapshot) + record = json.loads(item.read_text(encoding="utf-8")) _validate_record(record, repo, parts, tier) if record["id"] in seen: raise ValueError(f"Duplicate knowledge ID: {record['id']}") diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md index 754bc3150..41ea29e6d 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md @@ -15,11 +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 and registry hash: [_provenance.json](_provenance.json). - -Stored schema-v2 projections contain owner-local hashes and a fixed snapshot reference. -The catalog resolves that shared manifest into the existing schema-v1 records with -complete Git URLs, commits, source paths and registry hashes. No network lookup occurs. +Source snapshot: [1e87be46b8d080d439bb516ed9fa9092f8306f62](https://github.com/InferMatrixLab/InferRSI/tree/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library). ```bash inferrsi knowledge search 'profiling' --repo-type inferrsi --limit 50 @@ -33,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 --check +python tools/build_skill_index.py --source-revision 1e87be46b8d080d439bb516ed9fa9092f8306f62 --check ``` `--check` detects missing, stale and unexpected generated records without writing. diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json deleted file mode 100644 index 33b190b3c..000000000 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "schema_version": 1, - "repository": "https://github.com/InferMatrixLab/InferRSI", - "source_revision": "01c73521ced6ca760cdfa42c9b937fe985a20d64", - "registry": { - "path": "src/inferrsi/data/skill_library/skill-index.json", - "sha256": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" - } -} 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 0894054fc..49a1b33ec 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_aclgraph_capture_replay", "title": "ascend-aclgraph-capture-replay", "repo": "inferrsi", @@ -21,12 +21,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "d494fc7e539cbb7388189bd7b3f04bb5c4983fdd7a82484348aad1cee7f741f2" } @@ -39,7 +40,8 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md": "d494fc7e539cbb7388189bd7b3f04bb5c4983fdd7a82484348aad1cee7f741f2", "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/metadata.json": "3ac69dd82ae798450092c830b62f4958dc2f5b1c7000f9c3f822f2b0693f8af4", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md": "6ffbfb68cc7e04923b4fbca2a73a7555b7c3b45a6f40819bb5f3213ef05cf88d" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md": "6ffbfb68cc7e04923b4fbca2a73a7555b7c3b45a6f40819bb5f3213ef05cf88d", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-aclgraph-capture-replay", 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 ee35e744e..5475a6192 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_device_health", "title": "ascend-device-health", "repo": "inferrsi", @@ -23,11 +23,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "03829039860ece35519f2e4c339a48b5014ec25e07a2c150a3efb6a3a4e35b4a" } @@ -39,7 +40,8 @@ "checkout_ref": "checkout:ascend-device-health", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md": "03829039860ece35519f2e4c339a48b5014ec25e07a2c150a3efb6a3a4e35b4a", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json": "f643185563dbf528a5a1f2b0561685ae34302a9efc9900c6753a7168b4e8b329" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json": "f643185563dbf528a5a1f2b0561685ae34302a9efc9900c6753a7168b4e8b329", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-device-health", 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 f5a982dd6..f44a0c6fc 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_distributed_parallel", "title": "ascend-distributed-parallel", "repo": "inferrsi", @@ -27,15 +27,16 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/awesome-ascend-communication-tests.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-LICENSE.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce-readset.json", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "0b79d95e8d5abf0a822f8ae6bfa3779cbb40595c5b6f0fb934233275f5899ef8" } @@ -51,7 +52,8 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/awesome-ascend-communication-tests.md": "0cb27a3d24409171bb414d7ebf0c49ad62be5f46482f29624695496ba9eb3e63", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-LICENSE.md": "05205a02acebd671c78d3b876c1f6097b84cce89780f5d9bdc204bfbea92d0c1", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce-readset.json": "4a3d403986dfceaa28605f2f30b79545e1efdc27f35c88755402b75b4d13d7e2", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md": "4770bba0090ed5ead3d2fd3b2cce2d21ba708acae3e0b4d859cc503499da5b93" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md": "4770bba0090ed5ead3d2fd3b2cce2d21ba708acae3e0b4d859cc503499da5b93", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-distributed-parallel", 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 92fc8bd03..759b002fc 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_graph_mode", "title": "ascend-graph-mode", "repo": "inferrsi", @@ -26,15 +26,16 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/legacy-source-notes.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-LICENSE.md", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-path.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a7341b5bf3b43f32d6114e2109e5043e46f3ddeef9b7bb3b20c1c50236bab638" } @@ -50,7 +51,8 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/legacy-source-notes.md": "a51c655aff59741cd7421277bd71dffeb9907560950459ae0a776207e496de4a", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-LICENSE.md": "bc07d81fa332b6543463588a120518c57b5ce8582d3747de75d2f6b09b068c01", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-path.md": "272424571ff439278c8f2675406eae7da9a6482c581973e24319739fa0e58348", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json": "eb84cbd5c355a88ee013dc7e428b274162e0e13e85845b58526113b0d6a2b46b" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json": "eb84cbd5c355a88ee013dc7e428b274162e0e13e85845b58526113b0d6a2b46b", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-graph-mode", 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 5f30dfd70..6590af696 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_model_adaptation", "title": "ascend-model-adaptation", "repo": "inferrsi", @@ -22,11 +22,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "8fdf46fb2743b67a66bc069d22a45305a222debfb606777bc451b4b8f31d9cc6" } @@ -38,7 +39,8 @@ "checkout_ref": "checkout:ascend-model-adaptation", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md": "8fdf46fb2743b67a66bc069d22a45305a222debfb606777bc451b4b8f31d9cc6", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json": "989b91821b36c0b80caf1323ec527e7ac847219b8f4fe8ca4ea22d292365cc3c" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json": "989b91821b36c0b80caf1323ec527e7ac847219b8f4fe8ca4ea22d292365cc3c", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-model-adaptation", 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 a60051a44..f7a87ffc6 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_operator_profiling", "title": "ascend-operator-profiling", "repo": "inferrsi", @@ -23,11 +23,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "401981cf7828edcab0c9ea882f7ecd83badfa3c2a95006e912cf99d67b3d6a12" } @@ -39,7 +40,8 @@ "checkout_ref": "checkout:ascend-operator-profiling", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md": "401981cf7828edcab0c9ea882f7ecd83badfa3c2a95006e912cf99d67b3d6a12", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json": "b2b93637f01546ecb1b7076be6798d234988c594cccdcb764ad222af9ad21af9" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json": "b2b93637f01546ecb1b7076be6798d234988c594cccdcb764ad222af9ad21af9", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-operator-profiling", 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 aad203413..a71afd0d2 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_operator_tuning", "title": "ascend-operator-tuning", "repo": "inferrsi", @@ -24,11 +24,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "38b151bc6b4e9734c6fa41efb7a30343559400c0c75bbdd26bd8a968b8ea4592" } @@ -40,7 +41,8 @@ "checkout_ref": "checkout:ascend-operator-tuning", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md": "38b151bc6b4e9734c6fa41efb7a30343559400c0c75bbdd26bd8a968b8ea4592", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json": "776fe88247ddacd3cf245920c580a9ff8f2a80fbc0ad1fa7d8be6d63b15a66f7" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json": "776fe88247ddacd3cf245920c580a9ff8f2a80fbc0ad1fa7d8be6d63b15a66f7", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-operator-tuning", 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 e5afaeee7..17aa4ec22 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_optimization_casebook", "title": "ascend-optimization-casebook", "repo": "inferrsi", @@ -22,11 +22,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "647f5e9a288f2c4e1617ba53df59d9d827df749eb4fe86182d21a9c41175caf8" } @@ -38,7 +39,8 @@ "checkout_ref": "checkout:ascend-optimization-casebook", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md": "647f5e9a288f2c4e1617ba53df59d9d827df749eb4fe86182d21a9c41175caf8", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json": "e5e49bf7b24fbc32ddaf1aa8ec14051ef6393533b12bb2c55fff2fb0da927541" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json": "e5e49bf7b24fbc32ddaf1aa8ec14051ef6393533b12bb2c55fff2fb0da927541", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-optimization-casebook", 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 f9f6bfd9e..2a7cbd1c5 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_performance_analysis", "title": "ascend-performance-analysis", "repo": "inferrsi", @@ -22,13 +22,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-CANN-2.0-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a057b7f86a24f34a8f84abbbb4910d58d4e50ff47060e1c404600017e3febe89" } @@ -42,7 +43,8 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md": "a057b7f86a24f34a8f84abbbb4910d58d4e50ff47060e1c404600017e3febe89", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/metadata.json": "f3fb35b14b5b1054a9192459862451149395368f4a75f430caef2f41ad050296", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-CANN-2.0-LICENSE.md": "89b1c114df62cfd183004f38d18d07f186436c3b37203dd69c3e84becf9d2282", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md": "f56e4125325c9c1b9235a1d64fd732861c7686444492422daff44ba8dd648be4" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md": "f56e4125325c9c1b9235a1d64fd732861c7686444492422daff44ba8dd648be4", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-performance-analysis", 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 3fd3b4c7a..6f02a2d11 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascend_video_diffusion_optimization", "title": "ascend-video-diffusion-optimization", "repo": "inferrsi", @@ -26,12 +26,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "53c21e64f0dd47f9510faef1f2c01e1283899787ba7ebfe70cdabd8e57a76f00" } @@ -44,7 +45,8 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md": "53c21e64f0dd47f9510faef1f2c01e1283899787ba7ebfe70cdabd8e57a76f00", "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/metadata.json": "35f725c9d9e0a8638b234da798232d2ae49a37b70f0b0360710bce333f9265ca", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md": "dadac7b23462fdc325218c72ddf8a2ac553151761a5d3e45b854b53d2c8c6908" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md": "dadac7b23462fdc325218c72ddf8a2ac553151761a5d3e45b854b53d2c8c6908", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascend-video-diffusion-optimization", 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 2f7b24496..9d5729069 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.ascendc_tiling_design", "title": "ascendc-tiling-design", "repo": "inferrsi", @@ -24,11 +24,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "93aa1b775ced304cebfe6c4dec0503ddb2260ecb3cb01edc17ce329446c5ce2b" } @@ -40,7 +41,8 @@ "checkout_ref": "checkout:ascendc-tiling-design", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md": "93aa1b775ced304cebfe6c4dec0503ddb2260ecb3cb01edc17ce329446c5ce2b", - "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json": "03cfd09faa3edf42f9d08d0d8878fe5cb7c7a376abacf211dd8f500c698f3a8f" + "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json": "03cfd09faa3edf42f9d08d0d8878fe5cb7c7a376abacf211dd8f500c698f3a8f", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "ascendc-tiling-design", 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 a65473bc9..3603ab46d 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.cann_attribution_overlap", "title": "cann-attribution-overlap", "repo": "inferrsi", @@ -24,11 +24,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "0e6f094dc554abea12e07def50f20b233b47127779a8aefad595b4ab1efd24c2" } @@ -40,7 +41,8 @@ "checkout_ref": "checkout:cann-attribution-overlap", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md": "0e6f094dc554abea12e07def50f20b233b47127779a8aefad595b4ab1efd24c2", - "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json": "7ad137076afb55fbea74c6c5c0c0ca8eb3a8e615a765ec23199e8df75a8abd4f" + "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json": "7ad137076afb55fbea74c6c5c0c0ca8eb3a8e615a765ec23199e8df75a8abd4f", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "cann-attribution-overlap", 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 111f88114..b3aaf6019 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.torch_npu", "title": "torch-npu", "repo": "inferrsi", @@ -20,8 +20,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -81,7 +81,8 @@ "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/metadata.json", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/source-map.md", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/training.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md" + "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "7e92d5c8d3d49ebe72613a2eac0855b8d7faa670277f6d1a1f6b84ed0fe7441b" } @@ -150,7 +151,8 @@ "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/metadata.json": "73e71cdcb98e187f1470eb71ec9030fa870e46d8cf6eaf396860b712c491aefa", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/source-map.md": "3bfc78d9348f9a1072120f82d7a1a7f042b4fe2ce908a005e22716a797dc0c7b", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/training.md": "0695532020c71d061ddf40ad16536621e004c23dd05d27aaa9f5b46101f6ef62", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md": "0f7fb3879d51c793ca0fd6d14fd34352f94297f075295d01488ffab4c5fc0fa4" + "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md": "0f7fb3879d51c793ca0fd6d14fd34352f94297f075295d01488ffab4c5fc0fa4", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "torch-npu", 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 f9be176b1..732ac06dc 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.torchnpu_device_memory_lifecycle", "title": "torchnpu-device-memory-lifecycle", "repo": "inferrsi", @@ -22,12 +22,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "8428df7157af024fa17cfe0b3818ed54bd9f468306dda46eb8d4f0edf4f3f230" } @@ -40,7 +41,8 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md": "8428df7157af024fa17cfe0b3818ed54bd9f468306dda46eb8d4f0edf4f3f230", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/metadata.json": "02de593e638e71c6debb763b6b0d5a5596e0b810bbe48450ead28dc43de83f99", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md": "80cba4d3a884e7ee2618326cf74b9f9c3a34e4d9cf443707f6bbe673f2d5ba65" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md": "80cba4d3a884e7ee2618326cf74b9f9c3a34e4d9cf443707f6bbe673f2d5ba65", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "torchnpu-device-memory-lifecycle", 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 16d477943..09f8a23eb 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.torchnpu_pinned_host_memory_lifecycle", "title": "torchnpu-pinned-host-memory-lifecycle", "repo": "inferrsi", @@ -22,12 +22,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "23e93ea7c98f99743509fdc04139d78ed2e7123c63e80b366c6beaba7eb70d0d" } @@ -40,7 +41,8 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md": "23e93ea7c98f99743509fdc04139d78ed2e7123c63e80b366c6beaba7eb70d0d", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/metadata.json": "0fa51de079663043fd5785beffb153d989b1cac5833dbd2c99535f6b782a5e95", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md": "435193590b4a2ba32e2e4c6fa9d7e8f889528d412cbbb48e35ec5433f7dab384" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md": "435193590b4a2ba32e2e4c6fa9d7e8f889528d412cbbb48e35ec5433f7dab384", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "torchnpu-pinned-host-memory-lifecycle", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json index f13f30f4e..94c56179f 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.ascend.skills.vllm_ascend", "title": "vllm-ascend", "repo": "inferrsi", @@ -39,8 +39,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", "src/inferrsi/data/skill_library/repositories/vllm-ascend/metadata.json", @@ -54,7 +54,8 @@ "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/model-performance.md", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/plugin-registration.md", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/sources.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py" + "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "0e8611f404a947613669ae024ac853eeadc02619e3a218c65b2583a3476a2452" } @@ -77,7 +78,8 @@ "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/model-performance.md": "6c9bda4499239fe7a206b578b8190ab36c5454d15b57eb4f591eb2ebe1e037e7", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/plugin-registration.md": "ab1b090f22bd0315d2a2e14324064a1c04653fd4eabeffa60de80b9e606de75c", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/sources.md": "9b588e6c4887ff7b5081a72f6fb63b5f53c2f716571b5855acbffc85dbbdc2ab", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py": "922aa44cc796503628edaff3779d69e5560cf73fa8175859e2fbd701e9ad69e6" + "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py": "922aa44cc796503628edaff3779d69e5560cf73fa8175859e2fbd701e9ad69e6", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "vllm-ascend", 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 acf76af2f..f87b9e7e9 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.assess_serving_preemption", "title": "assess-serving-preemption", "repo": "inferrsi", @@ -16,12 +16,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", "src/inferrsi/data/skill_library/methods/assess-serving-preemption/metadata.json", - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md" + "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "0a5f48d9352c5bf460775ef47f9136829978811f4a16e84983e299782cae305d" } @@ -34,7 +35,8 @@ "source_files": { "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md": "0a5f48d9352c5bf460775ef47f9136829978811f4a16e84983e299782cae305d", "src/inferrsi/data/skill_library/methods/assess-serving-preemption/metadata.json": "3e2cea37f5669e7c60f7c01c390a48ea960b15cbd6de8f5340cf8fe2afb9e1a1", - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md": "f29fcecfba0490008a354c11b42403983fe165e56ff907ad61cc6040d2b6407f" + "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md": "f29fcecfba0490008a354c11b42403983fe165e56ff907ad61cc6040d2b6407f", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "assess-serving-preemption", 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 d35d03cde..72f7896f3 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.assess_split_backward_schedule", "title": "assess-split-backward-schedule", "repo": "inferrsi", @@ -16,12 +16,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md" + "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "1e64f28ea71672fb53c56f6108b87864738c6d03d6dcd32eedaef9e0625e96e3" } @@ -34,7 +35,8 @@ "source_files": { "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md": "1e64f28ea71672fb53c56f6108b87864738c6d03d6dcd32eedaef9e0625e96e3", "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/metadata.json": "a089dd2c2e5a4b41e970e426c63b5b8f65acc77d2e5a40a44b38543b5d730a00", - "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md": "61b1609f71c37b61d136b8c4d39f793de87cffb1cf31c8ec737a1c3fa6fb1b4e" + "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md": "61b1609f71c37b61d136b8c4d39f793de87cffb1cf31c8ec737a1c3fa6fb1b4e", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "assess-split-backward-schedule", 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 27fe09f99..9a09007f3 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_fixed_workload_claim", "title": "audit-fixed-workload-claim", "repo": "inferrsi", @@ -20,11 +20,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "2be89b1340a3deb978c8e1792d18aeecbe8f5de81d4daf542389f53826b8ebee" } @@ -36,7 +37,8 @@ "checkout_ref": "checkout:audit-fixed-workload-claim", "source_files": { "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md": "2be89b1340a3deb978c8e1792d18aeecbe8f5de81d4daf542389f53826b8ebee", - "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json": "c3c6ee33ce318c6ec052b848f9be9797b2b1febd8ea563face20db018613a110" + "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json": "c3c6ee33ce318c6ec052b848f9be9797b2b1febd8ea563face20db018613a110", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-fixed-workload-claim", 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 a7a7ea09c..fee30b7bd 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_h3_metal_fasth3_semantics", "title": "audit-h3-metal-fasth3-semantics", "repo": "inferrsi", @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -42,7 +42,8 @@ "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-notes.md", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py" + "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "e5205de6eba52b3d1693666af755640697717e52ee7834e1ae30e4071b208d54" } @@ -63,7 +64,8 @@ "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-identity.json": "b0e63197725c6a1baa4888ca3c48ccd4926b6e6f0f8bf781ae76ac97ffd1ceb1", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-notes.md": "f9430103644eacd9c55ace6f84d8587fc0bc063bfcd9cb60e6045b139a9fee05", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/troubleshooting.md": "ed552d87f9fb9fb2c56de64df61f3fc6e2333cb049116cd0736f784c8a327612", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py": "05bfb9348cf88a76f4fba8bc8a600fe54246d83a98c1685bc4847ace28e2fbac" + "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py": "05bfb9348cf88a76f4fba8bc8a600fe54246d83a98c1685bc4847ace28e2fbac", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-h3-metal-fasth3-semantics", 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 e80323dd6..ff4856eb9 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_h3_runtime_residency", "title": "audit-h3-runtime-residency", "repo": "inferrsi", @@ -30,8 +30,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -43,7 +43,8 @@ "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/precision-and-streaming.md", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md" + "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "fdb4d9483c6efa836f9e59617da605fa9c2186e11c2041b05d5c81850ba0475d" } @@ -64,7 +65,8 @@ "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/precision-and-streaming.md": "7e166c89193f4c7aed852ec95346a2de2b5008dac002e2e1862be1b3e57f6093", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-identity.json": "730f8dd23648a3f8f47b9726cc613d893a79d1817d515eec609a9b06d8a9ff90", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-notes.md": "7304bf9369efc157dc7aa40686dd828cc14db45c49442e908b3d3cc4b329eb86", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md": "0754873a758e048480938314894e25b504ae0c269549312e7f8e6020d83fe294" + "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md": "0754873a758e048480938314894e25b504ae0c269549312e7f8e6020d83fe294", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-h3-runtime-residency", 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 04e86be9d..d9049e0b2 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_llama_runtime_state", "title": "audit-llama-runtime-state", "repo": "inferrsi", @@ -23,12 +23,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md" + "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "95e81b6bc096a954fa73139ea5bc001d1efa6c99747161da62f012b494e5c013" } @@ -41,7 +42,8 @@ "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": "22f1d01b48ea6e2b2ef2deeb20c1404ce8b586eb18442b5adb1390310b4b7503", - "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md": "3d12a401e9decb55a2f4f3b2bfa0d360ef5110f63a0469dfe285654e78054190" + "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-llama-runtime-state", 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 8e16f176d..d210e22c7 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_recurrent_kv_finalization", "title": "audit-recurrent-kv-finalization", "repo": "inferrsi", @@ -26,15 +26,16 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/NOTICE.md", "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md" + "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a468d75f25e77b96e6fb5376692f7a89c0464cc00d4df035f1dc6cc923f713cc" } @@ -50,7 +51,8 @@ "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" + "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md": "0956f59cd9a1fac27da53228dd60c51a07b87639a43c09bfab296c4aeeceaab9", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-recurrent-kv-finalization", 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 8966767eb..0be1ec772 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_sd_cpp_residency", "title": "audit-sd-cpp-residency", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -35,7 +35,8 @@ "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/phase-residency.md", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md" + "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "4c04d39812fb566e3ecb5807c170d5c32848eb2b93a1f0fedcf66ba9a9c92860" } @@ -53,7 +54,8 @@ "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", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-notes.md": "c493af8f6fd11ab7c9a37c9eec78cac31d57c04403a790035efbb4fff99f4669", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md": "3aaf79b36192bf8ff3e8f95ac90f2e769aa065dfac1fe70368824f3591849b8d" + "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md": "3aaf79b36192bf8ff3e8f95ac90f2e769aa065dfac1fe70368824f3591849b8d", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-sd-cpp-residency", 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 8da57d6ef..dfab8adc4 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_sglang_diffusion_lifetimes", "title": "audit-sglang-diffusion-lifetimes", "repo": "inferrsi", @@ -23,13 +23,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json", - "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md" + "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "b0a4ba4751087126143ef86983798deb0ed00e24b6ff06bf6ef76a9df6e274f2" } @@ -43,7 +44,8 @@ "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": "e2cb137978960d29b3644967a29dab930c768d3453bce8aff2aad96fd90a56d9", - "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md": "d0fcfd1177ae2f351041c5b2abba7f5121cec133006d9e4dca8f74ddb567332d" + "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md": "d0fcfd1177ae2f351041c5b2abba7f5121cec133006d9e4dca8f74ddb567332d", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-sglang-diffusion-lifetimes", 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 44e0b707c..cab1bdde7 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.audit_vllm_kv_lifetimes", "title": "audit-vllm-kv-lifetimes", "repo": "inferrsi", @@ -21,12 +21,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md" + "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "4c3f27459df239f9f4fc971c559d4c9ddfbfebd70507a8a93be8eae59a30b69d" } @@ -39,7 +40,8 @@ "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": "8ded6e60c562131616dc8cdcf0d7efc04aef1884885da0b30fb16f42d7433b7c", - "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md": "3665b034594fc8cc767c408002f4e16f8803369242405027c7f37ce6c9ecebe9" + "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md": "3665b034594fc8cc767c408002f4e16f8803369242405027c7f37ce6c9ecebe9", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-vllm-kv-lifetimes", 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 d0877ee7d..940fc1229 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.bound_windowed_attention_replay", "title": "bound-windowed-attention-replay", "repo": "inferrsi", @@ -23,13 +23,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md" + "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "4703beb6e5194ef2ff2c0b5ec69f64e35417a4bc0dfb50a10c80a920b77ef3b5" } @@ -43,7 +44,8 @@ "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": "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/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md": "60e71e70c5519bcdf6c171eec2be2f342e8801bedd746d6005f11adc646dfaff", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "bound-windowed-attention-replay", 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 0ef083a03..999eba3b1 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.budget_speculative_verification", "title": "budget-speculative-verification", "repo": "inferrsi", @@ -23,13 +23,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md" + "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "f157562d1edc905cb4fc07246567e3c5b844efb9fbf5fe39f0d40553a1b1a307" } @@ -43,7 +44,8 @@ "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": "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/repositories/deepinfer/budget-speculative-verification/references/validation.md": "673d93f6700052974b340fab25b3438e0e6344960569ac9abec7d7720f662288", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "budget-speculative-verification", 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 823d229e5..95db942cc 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.calibrate_serving_simulation", "title": "calibrate-serving-simulation", "repo": "inferrsi", @@ -16,12 +16,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/metadata.json", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md" + "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "ac773c6f1c110a664dfca28a3ae9129b10c07614e60ca3640dea776220e7b352" } @@ -34,7 +35,8 @@ "source_files": { "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md": "ac773c6f1c110a664dfca28a3ae9129b10c07614e60ca3640dea776220e7b352", "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/metadata.json": "96771fb6fecf5fc7773bb7cf84038d8eaf436add1a0362dc26110c82037f8320", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md": "9696d3c0ef96b6611787446bd6f96d4d6255ca8d107105de8c1d9af83edb9fa5" + "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md": "9696d3c0ef96b6611787446bd6f96d4d6255ca8d107105de8c1d9af83edb9fa5", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "calibrate-serving-simulation", 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 b5bb61c4f..f3e54d518 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.cgroup_resource_controls", "title": "cgroup-resource-controls", "repo": "inferrsi", @@ -25,11 +25,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "fd1f5a7e6a55714730044155f5b38c1d700383d4e16c3e91963bbfbe1c773af5" } @@ -41,7 +42,8 @@ "checkout_ref": "checkout:cgroup-resource-controls", "source_files": { "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md": "fd1f5a7e6a55714730044155f5b38c1d700383d4e16c3e91963bbfbe1c773af5", - "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json": "155aa391e573fa5bd90a089f4e3d06f357795f5d89c8cf9260e3e8ec3636b243" + "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json": "155aa391e573fa5bd90a089f4e3d06f357795f5d89c8cf9260e3e8ec3636b243", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "cgroup-resource-controls", 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 014071775..9c2e8444b 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.checkpoint_recovery_consistency", "title": "checkpoint-recovery-consistency", "repo": "inferrsi", @@ -22,13 +22,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/metadata.json", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/dlrover-persistence-replicas.md", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md" + "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "6b7db1eb2780dec27858cb7aa0a3c093c5b5dfa4c30261aebfeaa255213ff688" } @@ -42,7 +43,8 @@ "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md": "6b7db1eb2780dec27858cb7aa0a3c093c5b5dfa4c30261aebfeaa255213ff688", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/metadata.json": "4185ff9f8b4c06d2a984753127780f29ceebf50d87b225a7697bfecccc2a4a60", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/dlrover-persistence-replicas.md": "055f4357f79026fcbcc766bbe77db610376ec353623f8898f5d14a30ee69e7bc", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md": "9425b1aab963a2c8d35f3db897bd15ee69699bf5b0d0c8425c3c8bba3e9a0233" + "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md": "9425b1aab963a2c8d35f3db897bd15ee69699bf5b0d0c8425c3c8bba3e9a0233", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "checkpoint-recovery-consistency", 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 a3b129ecc..f59de37dc 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.choose_parallel_training_plan", "title": "choose-parallel-training-plan", "repo": "inferrsi", @@ -16,12 +16,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md" + "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "25d04aed9782b2a8ff1186828becdc7fce93c4418039ceaef9b8dcc5ec9bcd24" } @@ -34,7 +35,8 @@ "source_files": { "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md": "25d04aed9782b2a8ff1186828becdc7fce93c4418039ceaef9b8dcc5ec9bcd24", "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/metadata.json": "4990d0a2f1a269111a680f45a5d91221af37e3f8b3ce514fea84e97878e767cd", - "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md": "9f9184d46b19312138a6e805e439e43dc0594a0cc6b46675255a582dc946ca5b" + "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md": "9f9184d46b19312138a6e805e439e43dc0594a0cc6b46675255a582dc946ca5b", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "choose-parallel-training-plan", 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 94811d521..972257d8f 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.cite_check_downstream_pr", "title": "cite-check-downstream-pr", "repo": "inferrsi", @@ -22,9 +22,10 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ + "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/metadata.json" ], @@ -37,6 +38,7 @@ }, "checkout_ref": "checkout:cite-check-downstream-pr", "source_files": { + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md": "485932cdf3b1fba5dc69be73e75d38f86a7b79442d26e82a296c963a7598d226", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/metadata.json": "ade23e3def5c7b875fba4084d32fa63b1af90bebeade72506265c974405eb55d" }, 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 9b56fa049..2e1bad2bf 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.claim_contract", "title": "claim-contract", "repo": "inferrsi", @@ -22,9 +22,10 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ + "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", "src/inferrsi/data/skill_library/workflows/claim-contract/metadata.json" ], @@ -37,6 +38,7 @@ }, "checkout_ref": "checkout:claim-contract", "source_files": { + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md": "3af1dbbe81d91cb05fc2ef15a2ae25d7592a08558e1a5535f49c52f33a488c55", "src/inferrsi/data/skill_library/workflows/claim-contract/metadata.json": "25c0137cf347f75d7ff8f8305d9ff5f055c6881ddf4b708f923c3176de16c153" }, 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 e5b740646..535de5aa2 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.comfy_ui", "title": "comfy-ui", "repo": "inferrsi", @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/comfy-ui/LICENSE", "src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", @@ -31,7 +31,8 @@ "src/inferrsi/data/skill_library/repositories/comfy-ui/references/graph-cache-invalidation.md", "src/inferrsi/data/skill_library/repositories/comfy-ui/references/model-residency.md", "src/inferrsi/data/skill_library/repositories/comfy-ui/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md" + "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "c993bd6ff8e9b5f82f39f175ec8242341136e4ee0808af414e1d94ad3e196c5e" } @@ -48,7 +49,8 @@ "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", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md": "1913dedbeb558d872d6a0e015cc11d822910c3cb259a236db29fb60ad8a64263" + "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md": "1913dedbeb558d872d6a0e015cc11d822910c3cb259a236db29fb60ad8a64263", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "comfy-ui", 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 8f83d9a40..0aede0ac3 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.competitor_scan", "title": "competitor-scan", "repo": "inferrsi", @@ -21,9 +21,10 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ + "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", "src/inferrsi/data/skill_library/workflows/competitor-scan/metadata.json" ], @@ -36,6 +37,7 @@ }, "checkout_ref": "checkout:competitor-scan", "source_files": { + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md": "0ede58ace65a9324a538b4816add1684f230ba536d4364fe5a5dd2c0bbed3776", "src/inferrsi/data/skill_library/workflows/competitor-scan/metadata.json": "e1a279c0b730c80fa34ca985c004d4084dae5ee77685f7f2b642cf469bfffffc" }, 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 a2d8e50d8..59fde0772 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.dcp_async_save_performance", "title": "dcp-async-save-performance", "repo": "inferrsi", @@ -23,12 +23,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md" + "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "645139ee0c88ec865cad952e24cda35f4648d4b777b732c9b7d274b6c7830845" } @@ -41,7 +42,8 @@ "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": "49764fa454403fb38891d82ee63de1e07a90d3ff6a3cd28550aee7ea34cbdcb0", - "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md": "22afe4f4d77f441096cc657d55d763473bfcbea8fb531c8e493fe49ab84955f7" + "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md": "22afe4f4d77f441096cc657d55d763473bfcbea8fb531c8e493fe49ab84955f7", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "dcp-async-save-performance", 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 effb07262..fd974be51 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.dense_performance_evidence", "title": "dense-performance-evidence", "repo": "inferrsi", @@ -21,11 +21,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", - "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json" + "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "53cc1867a13f54d1006d50517dea8848869ca50df3f0cd610b2424cc8d18c933" } @@ -37,7 +38,8 @@ "checkout_ref": "checkout:dense-performance-evidence", "source_files": { "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md": "53cc1867a13f54d1006d50517dea8848869ca50df3f0cd610b2424cc8d18c933", - "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json": "041780985dcaf76809d29dc0d4e242359b17b6bcfaadab2d05674fa4699a5427" + "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json": "041780985dcaf76809d29dc0d4e242359b17b6bcfaadab2d05674fa4699a5427", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "dense-performance-evidence", 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 ce342ab54..a58908e46 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.diagnose_vllm_admission_pressure", "title": "diagnose-vllm-admission-pressure", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -39,7 +39,8 @@ "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/llumnix-readset.md", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/loongserve-readset.md", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/orca-readset.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md" + "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "d99fc28d48127d3bc627f2a0cab6f3f16158a77da49428838a08865adaea9905" } @@ -65,7 +66,8 @@ "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/llumnix-readset.md": "3a2819d65ad24087c08530492ef39d8ea046ed1f780d53512f1d23e2b3578487", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/loongserve-readset.md": "f1a383e7bdbbd5a5a472d7f6e1292c8a17d4910ff736ca5a6aa422e1bee74f8c", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/orca-readset.md": "a497ef23b7e60c0fbc15d95b7e07cd20547cfe56f37c24dfe6ed70d79ef7a3cf", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md": "84033fd514773f10c0bddd9914fabb980497ba2b308f226a922c3e1888413827" + "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md": "84033fd514773f10c0bddd9914fabb980497ba2b308f226a922c3e1888413827", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "diagnose-vllm-admission-pressure", 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 546af59fa..b6a6d3306 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.diffusers_invocation_state", "title": "diffusers-invocation-state", "repo": "inferrsi", @@ -22,14 +22,15 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/ownership.md", "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md" + "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "7581b56336d07213a87d01477793ae1a8acf0b7cf876fce36c9a761ee32c1ff4" } @@ -44,7 +45,8 @@ "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" + "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md": "5a0b854b87d091d7d505b0bdd5c03330052507a851ab6edf35b93a6675f2d4f7", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "diffusers-invocation-state", 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 05cc72df2..843d09712 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.draft_acceptance_issue", "title": "draft-acceptance-issue", "repo": "inferrsi", @@ -22,9 +22,10 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ + "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/metadata.json" ], @@ -37,6 +38,7 @@ }, "checkout_ref": "checkout:draft-acceptance-issue", "source_files": { + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md": "ce983acfb7d7d3272775e7cf00c92e4ddadd97511b602575a76e5ab7ade01b56", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/metadata.json": "ff1c463a13d0c869baaf90505a7fe981d684ee7b79f2fa8d2358340b6b4139a7" }, 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 932248bdd..27ab7e056 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.dwarfstar", "title": "dwarfstar", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/dwarfstar/LICENSE", "src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", @@ -43,7 +43,8 @@ "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/references/troubleshooting.md", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/SKILL.md", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/state-contracts.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md" + "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a04a252ecdcd4710a3273595f4bd1f3eb8e24d5bb1bfe005f058a78388254dc9" } @@ -69,7 +70,8 @@ "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/references/troubleshooting.md": "42e4785b7d3c1375efa324583897327f28ef76c0b7788092da92095bddeb1440", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/SKILL.md": "71c27212847146376d72e6cc6d22abe2f7eed56402c5917cd7dfcda0b2aa5982", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/state-contracts.md": "8f74a07c947021e3069468268f6b5aa2548a17db518c5c0505b84dde73a1f31c", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md": "c9eebe4109d418c4dfb9bb2425c145ebc1a52da9b665e0556149bc31a442e2fc" + "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md": "c9eebe4109d418c4dfb9bb2425c145ebc1a52da9b665e0556149bc31a442e2fc", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "dwarfstar", 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 cc8beb075..5a9adf9f8 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.evaluate_elastic_serving_placement", "title": "evaluate-elastic-serving-placement", "repo": "inferrsi", @@ -16,12 +16,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md" + "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "82d0099d3c33706f46c657d4fa7f76d3d486e019b36760d1de001921328a60cc" } @@ -34,7 +35,8 @@ "source_files": { "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md": "82d0099d3c33706f46c657d4fa7f76d3d486e019b36760d1de001921328a60cc", "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/metadata.json": "091a3b95d1a8996b5ad917e7948efb4ed598e31c7163709377f8e9199cebfe26", - "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md": "ea416831fd7d0874e06d0a76fb0c7196df53072b717673a0cdf635db6bfd917b" + "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md": "ea416831fd7d0874e06d0a76fb0c7196df53072b717673a0cdf635db6bfd917b", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "evaluate-elastic-serving-placement", 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 9f7094372..15aefe895 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.generation_cache_lifecycle", "title": "generation-cache-lifecycle", "repo": "inferrsi", @@ -22,15 +22,16 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/cache-stop.md", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/generation-batch.md", "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/source-map.md", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md" + "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "bf1177cb9985c12a9bf11edb64771018e1e314c4713920de8fd4a989ff70115f" } @@ -46,7 +47,8 @@ "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", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md": "73b5dd347017baba519ecc85415aead9993c1751d116b9ba4f07689f58c5f783" + "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md": "73b5dd347017baba519ecc85415aead9993c1751d116b9ba4f07689f58c5f783", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "generation-cache-lifecycle", 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 d816c4027..8c4c04ff3 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.host_memory_management", "title": "host-memory-management", "repo": "inferrsi", @@ -30,8 +30,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -43,7 +43,8 @@ "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-host-copy.md", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-LICENSE.md", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload-readset.json", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md" + "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "4c8db9f603cd581d002e8f41da65af9cbd03699be05c4965a55de47e044e4dd8" } @@ -64,7 +65,8 @@ "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-host-copy.md": "fa9da5c39d37ebe44e5a336a7b88d7aece6a0f118ec47cb38271e29925e11117", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-LICENSE.md": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload-readset.json": "cc6c2011be746002ba3ff96ccefab1809863748ddd17eb102b75e7b0e134fe55", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md": "6c2a72b5ba3708a01d229e0576570837a617e6a42dbb0b5312a26a65a6c31542" + "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md": "6c2a72b5ba3708a01d229e0576570837a617e6a42dbb0b5312a26a65a6c31542", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "host-memory-management", 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 c5e80b947..e39d04a62 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.host_overhead_optimization", "title": "host-overhead-optimization", "repo": "inferrsi", @@ -22,12 +22,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md" + "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "36ef88826a32ac3147b869001004ded17a8d5a491e25bfe105005ba39ea9d1eb" } @@ -40,7 +41,8 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md": "36ef88826a32ac3147b869001004ded17a8d5a491e25bfe105005ba39ea9d1eb", "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/metadata.json": "db3c63ca77a46e647a806e094ae662504768a958d537630a4d7bcabde35d6da3", - "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md": "f452bf40132c9195d739f1c86b3aa18857138c7ed0f1861af5853d93b9955924" + "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md": "f452bf40132c9195d739f1c86b3aa18857138c7ed0f1861af5853d93b9955924", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "host-overhead-optimization", 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 10528fba9..a8098d4fc 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.husky", "title": "husky", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/husky/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/husky/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/husky/SKILL.md", "src/inferrsi/data/skill_library/repositories/husky/metadata.json", @@ -31,7 +31,8 @@ "src/inferrsi/data/skill_library/repositories/husky/references/source-availability.json", "src/inferrsi/data/skill_library/repositories/husky/references/troubleshooting.md", "src/inferrsi/data/skill_library/repositories/husky/references/verification-protocol.md", - "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py" + "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "ac86afdabf9adffb684cb635971934438724bdfde8628ec549727ea23c40cf3b" } @@ -49,7 +50,8 @@ "src/inferrsi/data/skill_library/repositories/husky/references/source-availability.json": "d3523e53c89d4aee5bfaa17db84501aa4c4eddd59bcee486df5d48d3aa48173d", "src/inferrsi/data/skill_library/repositories/husky/references/troubleshooting.md": "3948711437d25822d389dd857c72dc7fcc15727c9048d2e3eae3317d97aca6dd", "src/inferrsi/data/skill_library/repositories/husky/references/verification-protocol.md": "83c5a966ed3f721b412b8d8417af8336c5a8c1e46044a888720936bf2f1deeab", - "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py": "291e62701ef7a37a5bfab963ea4e20abb94245bc015584223a101f18b1490895" + "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py": "291e62701ef7a37a5bfab963ea4e20abb94245bc015584223a101f18b1490895", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "husky", 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 643a1468a..03dbe9942 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.inference_benchmark_design", "title": "inference-benchmark-design", "repo": "inferrsi", @@ -35,8 +35,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/metadata.json", @@ -46,7 +46,8 @@ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/cache-aware-asr-stream-boundaries.md", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-evaluation-contracts.md", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-source.json", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md" + "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "7fd7f557f5c99ca4ec4c46f2d97e67ecf280f5f0fdf071871a14cc08a7cb1c84" } @@ -65,7 +66,8 @@ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/cache-aware-asr-stream-boundaries.md": "4e0ea9c1bf6b096a49a91ad5266e90b8a456f4f5aca15eba8ac270a53c2309b5", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-evaluation-contracts.md": "d25df795fd301e8a1bb436e5f8122d0bac2441c43104e59a3b310fd5a64f2f3e", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-source.json": "60f2784384ea1a3b08a2ecafb60207d8e3707247dc7bc177b95b463d81f1cc16", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md": "0d4bb080a754e26846e81680023db0dff5e6a4c96be4327c411c3b72ac4ef8e2" + "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md": "0d4bb080a754e26846e81680023db0dff5e6a4c96be4327c411c3b72ac4ef8e2", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "inference-benchmark-design", 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 6dd55ca50..a9c3d12fb 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.inference_optimization_casebook", "title": "inference-optimization-casebook", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -33,7 +33,8 @@ "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-ascend-rejected-directions.md", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.json", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.md", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json" + "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "89a6a82c692f7f5192f4d7f4c3a5ff08a4df3b1c4bdaa0aafb7e04292d8aa5b4" } @@ -53,7 +54,8 @@ "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-ascend-rejected-directions.md": "be396983812262515899a3e2ba4f01b23ff92e1b836881882c7580372b8ae552", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.json": "146ea1564a46ed03092c7dc5796b318fc05b04b1821105ee00eb7fa7fa1333e2", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.md": "cce2930f544a0f78f21797fba4d8ded298e4a81f76c34d7977b0e31d361bc738", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json": "963488658f327d2379183d70357eabf832d70a6a70db2aa67f548493f4088d97" + "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json": "963488658f327d2379183d70357eabf832d70a6a70db2aa67f548493f4088d97", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "inference-optimization-casebook", 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 9d43d51c7..49c81997d 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.kernel_writing_guide", "title": "kernel-writing-guide", "repo": "inferrsi", @@ -39,8 +39,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -59,7 +59,8 @@ "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/pplx-gdn-caller-context.json", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-causal-conv-contract.md", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-source-files.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md" + "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "360361f592ec3a24834198372cbf92aaedc1720404d182df94315eb0e01d58dd" } @@ -87,7 +88,8 @@ "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/pplx-gdn-caller-context.json": "0219fc9ad785da4e638c1680bc9eaf28672aa32313824f52bdcaed61d29bca87", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-causal-conv-contract.md": "c9f27b0231ddec3d14d6fa0831d1494ffd8e11bd8ad704e04be3bc4a4ffc0e58", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-source-files.json": "4c7ec2cfd2c29297e185ce09b4d9b2040fbe3635943c112f9ebb71dca8ab381b", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md": "eec09a6e95983c46b67d5f066d34419c17819899f5d8e3c65f2f163f2ada0fde" + "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md": "eec09a6e95983c46b67d5f066d34419c17819899f5d8e3c65f2f163f2ada0fde", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "kernel-writing-guide", 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 88ca79e2e..12b6973dd 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.kv_tier_management", "title": "kv-tier-management", "repo": "inferrsi", @@ -24,11 +24,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "e4b78f368d70c8abb74a935acb910414015f1aeec1b50f7a295e836822ec4b27" } @@ -40,7 +41,8 @@ "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": "85f7242b83334af11f57799875738b498bfe4680a51f36727792dfbe91806704" + "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json": "85f7242b83334af11f57799875738b498bfe4680a51f36727792dfbe91806704", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "kv-tier-management", 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 1dc3d757f..a174e6989 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.lazy_evaluation_stream_lifetimes", "title": "lazy-evaluation-stream-lifetimes", "repo": "inferrsi", @@ -22,14 +22,15 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/execution-lifetime.md", "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md" + "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a95569bcc0da6e715fd74783a6a1e0489e92b680c582f15dafbf98df589d505a" } @@ -44,7 +45,8 @@ "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" + "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md": "ebfc00bf7d6ab0a1dc415953ae84d56ccdc713d5614aff85e433c4a843793bff", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "lazy-evaluation-stream-lifetimes", 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 7e798f9db..3d7797f97 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.lily", "title": "lily", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/lily/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/lily/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/lily/LICENSE", "src/inferrsi/data/skill_library/repositories/lily/NOTICE.md", @@ -46,7 +46,8 @@ "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/SKILL.md", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/api-and-session.md", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py" + "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "db815674d5d36964902041d310d3df844d00ab2e6bef0ce4b72ed2696ab2b9aa" } @@ -75,7 +76,8 @@ "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/SKILL.md": "7e062ff9af76125ef08c98b4465e0439c66e9e237f0c39ea0285005cc5496cfb", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/api-and-session.md": "7262bb077c24f2f7549d450473ec7944829940d09cca89db9c12f37ac90d5db0", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/troubleshooting.md": "6e2f36d2f7ab9eae665d87a676e34c0ebd2f46f3df6fa5f2e589a306749a87b5", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py": "d6b00c9f0b38c7fb0a0e52e396993a832542ea0aa6e2456026fabc0c39a4d33a" + "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py": "d6b00c9f0b38c7fb0a0e52e396993a832542ea0aa6e2456026fabc0c39a4d33a", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "lily", 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 a4152337c..a950e5f4f 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.lithos_metal", "title": "lithos-metal", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/lithos-metal/LICENSE", "src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", @@ -46,7 +46,8 @@ "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/SKILL.md", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/metadata.json", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md" + "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "4c71ba2f26c275829466bba2412738aa27799842e642c75cdfd36d9ed8713f7f" } @@ -79,7 +80,8 @@ "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/SKILL.md": "01c38c2678d6e8292a3908bf5619b332432c5f1289fd5d5a67eb44a2141adb90", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/metadata.json": "2fca222efac7752e29f236f40a0bc38275045826b55955687e39c64ffb69f58f", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/troubleshooting.md": "52c6e27a76547475b5c66121f873f4d2c1662c811a69da64ce85614f1bd44749", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md": "298d27d3c748fe22774b872ed0465b707e53812379a7a538c95f25d1727fc796" + "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md": "298d27d3c748fe22774b872ed0465b707e53812379a7a538c95f25d1727fc796", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "lithos-metal", 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 000853c1e..6a0909e46 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.local_dream", "title": "local-dream", "repo": "inferrsi", @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", "src/inferrsi/data/skill_library/repositories/local-dream/metadata.json", @@ -40,7 +40,8 @@ "src/inferrsi/data/skill_library/repositories/local-dream/references/repo-provenance.md", "src/inferrsi/data/skill_library/repositories/local-dream/references/source-identity.json", "src/inferrsi/data/skill_library/repositories/local-dream/references/upstream-license.md", - "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py" + "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "e51fd3c71d693070abeba57ca67dcca82c7347cb94eb98f43e7c455bcacbaa46" } @@ -59,7 +60,8 @@ "src/inferrsi/data/skill_library/repositories/local-dream/references/repo-provenance.md": "0b848082c0ce893d8ae26d779c5b663d914d1a208cb2293c4a84668cdde86293", "src/inferrsi/data/skill_library/repositories/local-dream/references/source-identity.json": "b85f028bb96a37852e9d9780b5d5052fdd9c8f3a704ad391b6381adb58291347", "src/inferrsi/data/skill_library/repositories/local-dream/references/upstream-license.md": "41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0", - "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py": "ccd7d0d55be9a47484ec3a74498d8edef8aba55287f92287775c8d82050c8932" + "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py": "ccd7d0d55be9a47484ec3a74498d8edef8aba55287f92287775c8d82050c8932", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "local-dream", 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 8b6ca3d33..64e0cd9c5 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.mistral_rs", "title": "mistral-rs", "repo": "inferrsi", @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/mistral-rs/LICENSE", "src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", @@ -53,7 +53,8 @@ "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/prewarm-and-evidence.md", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/troubleshooting.md", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/warmup-inventory.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py" + "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "8917b30fb86437dea7508275ccce1992194d6e0c4858d537a410bf1f900953d0" } @@ -88,7 +89,8 @@ "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/prewarm-and-evidence.md": "6b72ae4b4599018ce2da5c54d0c28fadcafb7ce75b81ce4c18c06a440aab6056", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/troubleshooting.md": "d933bea6e9e493faa8cd0f4103ea33197ace7f7f901359f8cf0d6bab2edcdb4d", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/warmup-inventory.md": "1e7af7d63c6853ede4232b5a12cf68aba6597c4a305015366f1c2c917e3caf01", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py": "6aa920ca1cb534dec41f5dd2d833c3e760b234ab2c6439b6c4250b8a30b74055" + "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py": "6aa920ca1cb534dec41f5dd2d833c3e760b234ab2c6439b6c4250b8a30b74055", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "mistral-rs", 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 69713d26c..bf8da38e0 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.mlc_llm", "title": "mlc-llm", "repo": "inferrsi", @@ -27,8 +27,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/mlc-llm/LICENSE", "src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", @@ -57,7 +57,8 @@ "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/helper-contract.md", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/limits-and-workspace.md", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py" + "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "e0fd1accb4216191c56e7e4a8074633f36d9063727c2546e0d2eed14220d8cf4" } @@ -95,7 +96,8 @@ "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/helper-contract.md": "da33306472cbda5a33605b80fe52d6cb1fa886b3b7eea13adbdf0ce8a6024c66", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/limits-and-workspace.md": "77105db95de2b8ea27ed6953b5441c8af061fb745ddb13d3904f8773fc21e879", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/troubleshooting.md": "b89255fc04507185bc8bcf74de779730b009b12d13bb38ad0193205dfed8e921", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py": "d82a6dda5f5931eb369003a5e1f419bfbdd82304766a18be8ea1e1849e26b77d" + "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py": "d82a6dda5f5931eb369003a5e1f419bfbdd82304766a18be8ea1e1849e26b77d", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "mlc-llm", 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 3f7c95328..fe52ef0bf 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.mlx_swift_lm", "title": "mlx-swift-lm", "repo": "inferrsi", @@ -27,8 +27,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/LICENSE", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", @@ -48,7 +48,8 @@ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/native-evidence.md", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/ownership-and-termination.md", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py" + "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "501f73e7b327b04b6b80501b42b20dab1ac15c875817e6f4c4b66fe3e69b4fc4" } @@ -77,7 +78,8 @@ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/native-evidence.md": "3e9a630a30932989faea5f52b347318cb94c73c7d4d6c81c0465ccaee2818671", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/ownership-and-termination.md": "56fdec7ebc89b5c217c7e5c203886bef1d3c2eb5794852897bdb5941ab1db2a0", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/troubleshooting.md": "de28b8ca9cf95be2a4e5762f938acfadb6d4b53459dbf86df4b2b2ec64ec347f", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py": "2aba6caf42ca1b3fc55299fd96419af8681c37750c21a7ba75205a43baa9c7b1" + "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py": "2aba6caf42ca1b3fc55299fd96419af8681c37750c21a7ba75205a43baa9c7b1", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "mlx-swift-lm", 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 794be4f28..657681f03 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.npu_skill_factory", "title": "npu-skill-factory", "repo": "inferrsi", @@ -22,9 +22,10 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ + "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/metadata.json", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/COMPARISON.md", @@ -53,6 +54,7 @@ }, "checkout_ref": "checkout:npu-skill-factory", "source_files": { + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md": "74cd863df2e80dc2bda1713d24207809173a3116f30325e3487e1e3517cfec1e", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/metadata.json": "c862565b814e98e0ebc4923e32eef2aa67a8df2357c255903d744f40aaea32c8", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/COMPARISON.md": "38587678a96581f5c2dc697d982127343565504bffa191352811dffcc165aa23", 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 23deeab7e..775cfac19 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.optimization_search_policy", "title": "optimization-search-policy", "repo": "inferrsi", @@ -21,8 +21,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -35,7 +35,8 @@ "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/NEXT_GATE_LEADS.md", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/references/source-notes.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md" + "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "0ba4ade1648764a7422f564abe2d4fc9f9a25b5943a6c70c81ce17b8e7fb48d9" } @@ -57,7 +58,8 @@ "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/NEXT_GATE_LEADS.md": "16a264c7159f9c2c700ce8ba46e63f3e636b277c987da4970f6d2fa085fcb053", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md": "5e761957cb5ecd93926e6ffc13deee7c830c6e8f0ee3c3846e9dd3b50dc74446", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/references/source-notes.md": "54d83c3713045d59a48821bcf93598374ba4a630e3891ad39498f919317c4fb8", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md": "d3db44fa9a6831b86a02c638b323ed943e69fe256866213f10d68c72d762879e" + "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md": "d3db44fa9a6831b86a02c638b323ed943e69fe256866213f10d68c72d762879e", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "optimization-search-policy", 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 2d8c52d2c..c14191627 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.os_process_placement", "title": "os-process-placement", "repo": "inferrsi", @@ -24,12 +24,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", - "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md" + "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "2003492e4d89fde0443b180d74933e764bd1979435e109c8d26e20eb8f6e5053" } @@ -42,7 +43,8 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md": "2003492e4d89fde0443b180d74933e764bd1979435e109c8d26e20eb8f6e5053", "src/inferrsi/data/skill_library/hardware/host/os-process-placement/metadata.json": "d53e53f724c7b6f261cf6c9b579afd20b2279cb1ffd0af89f8ce9f475046fa76", - "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md": "748b254b3b043a5ddb0f480eb4a566854d27eedd7b111499863e9bf0a5a6951e" + "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md": "748b254b3b043a5ddb0f480eb4a566854d27eedd7b111499863e9bf0a5a6951e", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "os-process-placement", 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 0a2de8091..2d265a596 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.performance_ceiling_analysis", "title": "performance-ceiling-analysis", "repo": "inferrsi", @@ -22,8 +22,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/metadata.json", @@ -47,7 +47,8 @@ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/vidur.md", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-contract.md", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-example.json", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py" + "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "0203dfabd2a02d2ab8f8696b922dcc3df86b3a811352a5bc6cea57aee68e869c" } @@ -80,7 +81,8 @@ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/vidur.md": "d38602af5219f5feeb49e6cd6bf53d66098c77fad141dae676f1d8a6743cf25d", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-contract.md": "419ec4bcaec45ac579a133bce083d4f48779f26e664d7a86f720fa65f343b1d1", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-example.json": "597cd3205df043cff3ae9d15924c77934e8d8eb300c00c4840f6bb2921f90faf", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py": "524de48a6764401695fe1444f1fa3d38f363069b0cd2fba4715a86ca4b28a5d4" + "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py": "524de48a6764401695fe1444f1fa3d38f363069b0cd2fba4715a86ca4b28a5d4", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "performance-ceiling-analysis", 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 fd80ffa76..1f1ea1ac1 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.plan_activation_residency", "title": "plan-activation-residency", "repo": "inferrsi", @@ -16,12 +16,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", "src/inferrsi/data/skill_library/methods/plan-activation-residency/metadata.json", - "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md" + "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "542d8a1e6963f5019986e1fbd79d3a247a045a51487c09313026087ac457c15e" } @@ -34,7 +35,8 @@ "source_files": { "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md": "542d8a1e6963f5019986e1fbd79d3a247a045a51487c09313026087ac457c15e", "src/inferrsi/data/skill_library/methods/plan-activation-residency/metadata.json": "0289c62f93d087cd6a4ba4140487925c4b3258a9db1f7004ff1dfb22fd6d4582", - "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md": "5ff52655cfd06fcf970ed2a7d4d4fe1c31115b102af2d41497de0c74848ed2b3" + "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md": "5ff52655cfd06fcf970ed2a7d4d4fe1c31115b102af2d41497de0c74848ed2b3", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "plan-activation-residency", 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 5f5202664..738b64c3e 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.project_maya", "title": "project-maya", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/project-maya/LICENSE", "src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", @@ -49,7 +49,8 @@ "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/api-and-history.md", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/native-state.md", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py" + "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "c619a3472be02147a847a24ca97c56afd8b56b6ffd22ce66fcae453155e34bab" } @@ -81,7 +82,8 @@ "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/api-and-history.md": "a51fa298017f266decd801441eb411fd68f7906a90a4b0d18083d1af31fc7d52", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/native-state.md": "e5a7ee5e777998db0fb5422cf5b1ab18dbd67b4cbbfcfd6628ed6e40d8709c61", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/troubleshooting.md": "97dea7b2d26fe165d2f64a1a63c91d099dddb2d3b95c16b667f5173b3ffa9d2d", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py": "d91b03fbbd7003012a92bd7259d39604b9a91ee5707da2d3366e7c0fb47edd6a" + "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py": "d91b03fbbd7003012a92bd7259d39604b9a91ee5707da2d3366e7c0fb47edd6a", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "project-maya", 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 f0f77a268..62d48da31 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.pytorch", "title": "pytorch", "repo": "inferrsi", @@ -24,8 +24,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/LICENSE", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", @@ -78,7 +78,8 @@ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/metadata.json", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/troubleshooting.md", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py" + "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "c4bd561c73955f0c6e386b6cf3414ec772902711b2a5de6bd0613f49cbf71cb0" } @@ -140,7 +141,8 @@ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/metadata.json": "8e929683dbd9cb8541588653fc3d34d2ef175f08cf8d78b0f50906bc1e7dd0bf", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/troubleshooting.md": "4e5c687a20e8066a9673625fc780667f490f9558a343d4d7d47d7ad278180824", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/workflows.md": "791c86dc3c13c3c87da3c4144cafb082e84f9ba2978bb71dea99f0cf649fe727", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py": "46af58f6ba0c7d69373efc416fcc2ae8dcada717ed29336ac84f84857b1240bb" + "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py": "46af58f6ba0c7d69373efc416fcc2ae8dcada717ed29336ac84f84857b1240bb", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "pytorch", 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 e806fe030..83b31c60b 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.repository_evolution_analysis", "title": "repository-evolution-analysis", "repo": "inferrsi", @@ -21,13 +21,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/metadata.json", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/capability-presence-audit.md", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md" + "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "61bc684d67d6c0876c4956057f11c88802cfc4b771553d00411634d8ea226b3d" } @@ -41,7 +42,8 @@ "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md": "61bc684d67d6c0876c4956057f11c88802cfc4b771553d00411634d8ea226b3d", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/metadata.json": "98ef753a0e74c46f59a69ae267bdc0a5d293761e6f27edc1822fa8bd4548c4d6", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/capability-presence-audit.md": "c21eb4a6aabe811a49a6540a34c54dbcfdcf7efae3052a79b54034c7838026a5", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md": "a70b1d128fb5e0ac12292a290d624f218a0831d7581fe8980b62661473e0f2b7" + "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md": "a70b1d128fb5e0ac12292a290d624f218a0831d7581fe8980b62661473e0f2b7", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "repository-evolution-analysis", 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 78fe69f9d..9a89e64c6 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.rsi_evidence", "title": "rsi-evidence", "repo": "inferrsi", @@ -22,9 +22,10 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ + "src/inferrsi/data/skill_library/skill-index.json", "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", "src/inferrsi/data/skill_library/workflows/rsi-evidence/metadata.json", "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/LICENSE", @@ -45,6 +46,7 @@ }, "checkout_ref": "checkout:rsi-evidence", "source_files": { + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md": "5ce5b4903a3d7a4c3d20957be004c49c204d331ce76cc57274378f1ab97b4361", "src/inferrsi/data/skill_library/workflows/rsi-evidence/metadata.json": "7adfbf39def6ac64987d537c11ad3a3d2e6c06649178b77d82285add8971a115", "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", 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 10530cd95..eb90cc805 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.skill_evolution_playbook", "title": "skill-evolution-playbook", "repo": "inferrsi", @@ -21,11 +21,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", - "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json" + "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "9cd37f21fe0d862069e4798edca8a04d59f8b840e55d521901594a63dddd9ba3" } @@ -37,7 +38,8 @@ "checkout_ref": "checkout:skill-evolution-playbook", "source_files": { "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md": "9cd37f21fe0d862069e4798edca8a04d59f8b840e55d521901594a63dddd9ba3", - "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json": "a5fe391d145eb5e7039f142fea7211135abbd8f3d8835bfbf83cc2b05d645da5" + "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json": "a5fe391d145eb5e7039f142fea7211135abbd8f3d8835bfbf83cc2b05d645da5", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "skill-evolution-playbook", 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 6b4cb4819..33d7de7c0 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.splash", "title": "splash", "repo": "inferrsi", @@ -25,8 +25,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/splash/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/splash/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/splash/LICENSE", "src/inferrsi/data/skill_library/repositories/splash/SKILL.md", @@ -46,7 +46,8 @@ "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/scripts/parse_budget.py", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/SKILL.md", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/state-and-api.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md" + "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "619b87c282dcec4befa319085764fb53fa506a05c6a7112500bcca662f059ece" } @@ -75,7 +76,8 @@ "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/scripts/parse_budget.py": "b3a3b0847280333c2bfbe5d03350dc866307d5290160ec64c7e3d462a34f6301", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/SKILL.md": "c16f911498e116ff9b31b5a6f0ddd3ae6517b51c0e9d079c337f36a5bcac1df8", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/state-and-api.md": "592603177473ac8e024b7dc19a3d3faedd7c1e0312137eab8bf9a62d2f567be6", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md": "4fda461042a3de43c109d7a3cec67542c7d61fe68412bf91606220f2e13e576e" + "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md": "4fda461042a3de43c109d7a3cec67542c7d61fe68412bf91606220f2e13e576e", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "splash", 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 c77b55aab..7d446f43b 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.storage_io_measurement", "title": "storage-io-measurement", "repo": "inferrsi", @@ -24,11 +24,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "63b883c10a8d3e7d918abfc7175b72e2b401ff1e02697f94b8382ec1c8f369b7" } @@ -40,7 +41,8 @@ "checkout_ref": "checkout:storage-io-measurement", "source_files": { "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md": "63b883c10a8d3e7d918abfc7175b72e2b401ff1e02697f94b8382ec1c8f369b7", - "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json": "5017aa6c04b8cc45d8549b71bc283bfced8e7e1bdb29cf0b305a0447a3c12a9d" + "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json": "5017aa6c04b8cc45d8549b71bc283bfced8e7e1bdb29cf0b305a0447a3c12a9d", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "storage-io-measurement", 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 2c71d481f..9f8fba824 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.training_input_pipeline", "title": "training-input-pipeline", "repo": "inferrsi", @@ -23,12 +23,13 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", "src/inferrsi/data/skill_library/methods/training-input-pipeline/metadata.json", - "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md" + "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "64bd2c6b795d966045d1d3cca55976d3d49b08b06df7c7e06a70c2824cf55b7e" } @@ -41,7 +42,8 @@ "source_files": { "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md": "64bd2c6b795d966045d1d3cca55976d3d49b08b06df7c7e06a70c2824cf55b7e", "src/inferrsi/data/skill_library/methods/training-input-pipeline/metadata.json": "debad47896f600c7a1e19e477e34026c975dfde320a786dca1ddd02030a5feb1", - "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md": "60e0f3e88655d8e1d5eb4797f39ca4370deda01614f265b8d2ea4559d8ac020f" + "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md": "60e0f3e88655d8e1d5eb4797f39ca4370deda01614f265b8d2ea4559d8ac020f", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "training-input-pipeline", 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 a74b19fc1..2ca8d69aa 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.training_resource_budget", "title": "training-resource-budget", "repo": "inferrsi", @@ -23,8 +23,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", "src/inferrsi/data/skill_library/methods/training-resource-budget/metadata.json", @@ -36,7 +36,8 @@ "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/notes/training-memory-scheduling.md", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/references/source-readset.md", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/sources.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md" + "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "d3805c5f605faae663ad5a674a56c1e1e5fdd211cd58833c008e557cfd7e4c37" } @@ -57,7 +58,8 @@ "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/notes/training-memory-scheduling.md": "9aa6d3e01452dff95c8a8940ff62ead8c146ce215c9175b78c9f2ef508a7b2de", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/references/source-readset.md": "2a5c166767f56fa47e7eba7386f1f36da8cb73702e5b5bbe14d6a456ca9ebfae", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/sources.md": "53d70671a183de4aaa3369f9caf2383a23b6f8a0a7b04464a8d8a639150afc6a", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md": "f1a993e6c4ca9a035a2effcaf5500081f227b0cc56cc885a6b22fda0041fc744" + "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md": "f1a993e6c4ca9a035a2effcaf5500081f227b0cc56cc885a6b22fda0041fc744", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "training-resource-budget", 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 1107758ee..ea9750d13 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.video_diffusion_optimization", "title": "video-diffusion-optimization", "repo": "inferrsi", @@ -26,13 +26,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/metadata.json", - "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py" + "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "fc0e7baf9913ce7448247772a1e224a9cbd827492cf9459b1f17f492b9f67b70" } @@ -46,7 +47,8 @@ "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md": "fc0e7baf9913ce7448247772a1e224a9cbd827492cf9459b1f17f492b9f67b70", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/assets/campaign.template.json": "1a37f1d136612143ddab8f0cbbf424c80433b4da5312edb18d07c0b9d87ef657", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/metadata.json": "b27d69142dfea5dd2820170475c2bf6cced2d5eefd1c43b3413c41849af0fd02", - "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py": "9e84df051e03d567746fd73ae7243efb2f3c5ec806fef824d3c4d42a8eb9704c" + "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py": "9e84df051e03d567746fd73ae7243efb2f3c5ec806fef824d3c4d42a8eb9704c", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "video-diffusion-optimization", 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 364703c1c..631c20305 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.vllm_metal", "title": "vllm-metal", "repo": "inferrsi", @@ -26,8 +26,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/repositories/vllm-metal/LICENSE", "src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", @@ -51,7 +51,8 @@ "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/record-schema.md", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/speculation-and-pipeline.md", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py" + "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "5f83b1b989e8dc239a6f34a6b3bd63872533ecc1404483a69dabfb1865648439" } @@ -84,7 +85,8 @@ "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/record-schema.md": "f3cefb8b131613535dcacf30d130ffc2dea991acfb495adb4e1c7050046903d7", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/speculation-and-pipeline.md": "64faced7f31d489e9b0c4b9523a803ff1a76dca0f9315bdc6d0b83935bd338a4", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/troubleshooting.md": "a2e85696120ffc2af4249ac9c1e1b96320e02287e5099577c0474c025ab4f5f6", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py": "78e660a13a6a6941d006cb11fc2f401a34f489e54273860ae6a208dca6a6a3c2" + "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py": "78e660a13a6a6941d006cb11fc2f401a34f489e54273860ae6a208dca6a6a3c2", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "vllm-metal", 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 bf31dd0d4..0c90cdbaf 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.common.skills.weight_loading_optimization", "title": "weight-loading-optimization", "repo": "inferrsi", @@ -29,14 +29,15 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "paths": [ "src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/metadata.json", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/fastsafetensors-transfer-readset.md", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/flare-preparation-boundary.md", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md" + "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a1bf0e2ec066d5f30225c6cc5fb603f830f48eb5e2aee3fc3d084ed9d8aebe2f" } @@ -51,7 +52,8 @@ "src/inferrsi/data/skill_library/methods/weight-loading-optimization/metadata.json": "ebcc5425d7b6409e5c509122e9dc76bed1caab09d73daf013d96086d7faaba2b", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/fastsafetensors-transfer-readset.md": "5a39f14b102b0cee304541e011aa31e44e6b13527d1bee9987c3f3b66c064d3d", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/flare-preparation-boundary.md": "1d7922785a196bdbafdc9791fe79428465a5acc0292ca8f99446f8c764b35454", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md": "6c640f28ee3f0253a17b81461c865cb9f947367002cb75bf72550c4572d02e97" + "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md": "6c640f28ee3f0253a17b81461c865cb9f947367002cb75bf72550c4572d02e97", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "weight-loading-optimization", 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 1366b9b62..e69bc8b5d 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.cuda.skills.audit_afd_p2p_exchanges", "title": "audit-afd-p2p-exchanges", "repo": "inferrsi", @@ -23,13 +23,14 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/afd-plugin-LICENSE.md", - "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md" + "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a46110891eca860915e314d6921a22856d631453b22b17837fe30262d6780535" } @@ -43,7 +44,8 @@ "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": "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/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md": "5073d87450cb60d1b245308dff8807e73749c07de976d50f2fa26694fad81a72", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-afd-p2p-exchanges", 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 8b72ded1e..1a7572890 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.cuda.skills.audit_flare_session_lifecycle", "title": "audit-flare-session-lifecycle", "repo": "inferrsi", @@ -29,8 +29,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -38,7 +38,8 @@ "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/diagnostics.md", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/lifecycle.md", "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-ledger.json", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md" + "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "02a5f7c18e44201215ecec17c6ac96b27be9148bcc189df287f39d1b372b7721" } @@ -55,7 +56,8 @@ "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", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md": "fc7ceb819b91ef1731d8b7783f543c92ef6bb5c97ef5f897c055824f8a560168" + "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md": "fc7ceb819b91ef1731d8b7783f543c92ef6bb5c97ef5f897c055824f8a560168", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "audit-flare-session-lifecycle", 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 a5eef775f..cf080ec30 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.cuda.skills.diagnose_attention_bottlenecks", "title": "diagnose-attention-bottlenecks", "repo": "inferrsi", @@ -16,8 +16,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -29,7 +29,8 @@ "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/overlap-and-fp8-counter-signals.md", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/partitioning-after-fusion.md", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/knowledge/attention-cost-model-boundaries.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md" + "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "a25738dbb3b9daa15c5827cb536a20fe13f7c8b9dd14aa3fb7cfa7e132879431" } @@ -50,7 +51,8 @@ "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/overlap-and-fp8-counter-signals.md": "80c8a60a6df55f3d84fab23e03567d8b38e23bcdbd63cc09881e46db1e2888ab", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/partitioning-after-fusion.md": "4d4cabe0991eab554dcfbd4fa9c8199e61fa4767709b0c4cd646e2588bb398a2", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/knowledge/attention-cost-model-boundaries.md": "5ed8f888443e38ccb72545b6025447aab7b92936f78c151fed680e582126239b", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md": "53436e0de4e6dda2d29426591bf61f8526378cdc6f9ec7967b88b1bcd4c61e6f" + "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md": "53436e0de4e6dda2d29426591bf61f8526378cdc6f9ec7967b88b1bcd4c61e6f", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "diagnose-attention-bottlenecks", 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 43ea49515..5cb082bec 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.cuda.skills.host_overhead_profiling", "title": "host-overhead-profiling", "repo": "inferrsi", @@ -22,11 +22,12 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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" + "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "326e566fbe30d3ba04e4b50c3e87aad9df037f0ac4ad6fe129165ae97dc5f91d" } @@ -38,7 +39,8 @@ "checkout_ref": "checkout:host-overhead-profiling", "source_files": { "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md": "326e566fbe30d3ba04e4b50c3e87aad9df037f0ac4ad6fe129165ae97dc5f91d", - "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json": "bc4236c65e37378f4a74e0b88c47776055c186aca44c000b1f68e8c63cc4b277" + "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json": "bc4236c65e37378f4a74e0b88c47776055c186aca44c000b1f68e8c63cc4b277", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "host-overhead-profiling", 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 7c919cd1a..d782425be 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 @@ -1,5 +1,5 @@ { - "schema_version": 2, + "schema_version": 1, "id": "inferrsi.cuda.skills.reason_hopper_kernels", "title": "reason-hopper-kernels", "repo": "inferrsi", @@ -36,8 +36,8 @@ "sources": [ { "type": "git", - "snapshot": "_provenance.json", - "path": "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", + "url": "https://github.com/InferMatrixLab/InferRSI/blob/1e87be46b8d080d439bb516ed9fa9092f8306f62/src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", + "commit": "1e87be46b8d080d439bb516ed9fa9092f8306f62", "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", @@ -49,7 +49,8 @@ "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/resources-and-scheduling.md", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/source-inventory.json", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/sources.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md" + "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md", + "src/inferrsi/data/skill_library/skill-index.json" ], "content_sha256": "cec4e3aa1eb64c31c54b5f5ca40af2b61b7919d94be4174968581d5f752c0538" } @@ -70,7 +71,8 @@ "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/resources-and-scheduling.md": "1ce25b426736072435a1ead9a2a8e1f56df5d0abb8198e8c4fdcb34321db4964", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/source-inventory.json": "1dc09c895c970a0c9708158bcc6dd65cdb736274fd2c35d44542c70407d3849d", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/sources.md": "6b74b9e774f2a80db0860510d9e6940d36284430f29c1e124f115a9eaf25833d", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md": "4322f6b3c0e4368bf8c192b4ec752529767f50d19c0c38dad8fdf9cd781e41d9" + "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md": "4322f6b3c0e4368bf8c192b4ec752529767f50d19c0c38dad8fdf9cd781e41d9", + "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" }, "skill_metadata": { "name": "reason-hopper-kernels", diff --git a/tests/check_installed.py b/tests/check_installed.py index ef6d3456e..21e4f2b48 100644 --- a/tests/check_installed.py +++ b/tests/check_installed.py @@ -205,19 +205,6 @@ assert all(not record["verification"]["locally_verified"] for record in qwen_tts) package = files("inferrsi") library = package.joinpath("data", "skill_library") -projection = package.joinpath("data", "repo_packs", "inferrsi", "knowledge") -snapshot = json.loads(projection.joinpath("_provenance.json").read_text(encoding="utf-8")) -assert snapshot["schema_version"] == 1 -assert {record["sources"][0]["commit"] for record in skill_index} == { - snapshot["source_revision"] -} -assert all(record["schema_version"] == 1 for record in skill_index) -raw_record = json.loads( - projection.joinpath("common", "skills", "claim-contract.json").read_text(encoding="utf-8") -) -assert raw_record["schema_version"] == 2 -assert raw_record["sources"][0]["snapshot"] == "_provenance.json" -assert "commit" not in raw_record["sources"][0] for record in skill_index: for relative, expected_hash in record["source_files"].items(): resource = package.joinpath(*relative.removeprefix("src/inferrsi/").split("/")) diff --git a/tests/test_cli_catalog.py b/tests/test_cli_catalog.py index 67dc8e8ef..522f1be90 100644 --- a/tests/test_cli_catalog.py +++ b/tests/test_cli_catalog.py @@ -152,9 +152,6 @@ def test_knowledge_has_one_canonical_record_and_complete_navigation(): assert list(root.rglob("*.md")) == [root / "README.md"] index = (root / "README.md").read_text(encoding="utf-8") targets = set(re.findall(r"\]\(([^)]+\.json)\)", index)) - if repo == "inferrsi": - assert "_provenance.json" in targets - targets.remove("_provenance.json") # Shared snapshot, not a knowledge owner. assert targets == {path.relative_to(root).as_posix() for path in paths} for record in records: assert "/pull/" not in json.dumps(record) diff --git a/tests/test_knowledge_contribution.py b/tests/test_knowledge_contribution.py deleted file mode 100644 index b5a1598e6..000000000 --- a/tests/test_knowledge_contribution.py +++ /dev/null @@ -1,274 +0,0 @@ -"""Real Git fixtures exercise path coverage and current-head declaration safety.""" - -import json -import subprocess -from pathlib import Path - -import pytest - -from tools import check_knowledge_model_policy as checker -from tools import knowledge_contribution as helper - -ROOT = Path(__file__).resolve().parents[1] -SKILL = "src/inferrsi/data/skill_library/methods/example/SKILL.md" -GENERATED = helper.GENERATED + "common/skills/example.json" -HUMAN = {"human_only": True, "material_ai_authors": []} -AI = {"human_only": False, "material_ai_authors": [ - {"tool": "example-agent", "model_id": "unknown", "effort": "unknown", "role": "author"}, -]} - - -def git(root, *args): - return subprocess.run(["git", "-C", str(root), *args], capture_output=True, - check=True).stdout.decode().strip() - - -def write(root, path, text): - target = root / path - target.parent.mkdir(parents=True, exist_ok=True) - target.write_text(text, encoding="utf-8") - - -def commit(root): - git(root, "add", "--all") - git(root, "commit", "-qm", "Fixture change") - return git(root, "rev-parse", "HEAD") - - -@pytest.fixture -def repo(tmp_path): - git(tmp_path, "init", "-q") - git(tmp_path, "config", "user.name", "Example Contributor") - git(tmp_path, "config", "user.email", "contributor@example.com") - git(tmp_path, "config", "core.autocrlf", "false") - write(tmp_path, helper.POLICY, (ROOT / helper.POLICY).read_text(encoding="utf-8")) - write(tmp_path, SKILL, "original skill\n") - write(tmp_path, GENERATED, '{"original": true}\n') - write(tmp_path, "delete.txt", "remove me\n") - return tmp_path, commit(tmp_path) - - -def test_complete_paths_renames_deletions_generated_and_escaping(repo): - root, base = repo - renamed = SKILL.replace("example", 'tab\tquote"line\nexample') - (root / renamed).parent.mkdir(parents=True) - (root / SKILL).rename(root / renamed) - (root / "delete.txt").unlink() - write(root, GENERATED, '{"changed": true}\n') - write(root, "plain.txt", "substantive\n") - head = commit(root) - report = helper.contribution_report(root, base) - expected = sorted([SKILL, renamed, GENERATED, "delete.txt", "plain.txt"]) - assert report["changed_paths"] == expected - assert report["protected_paths"] == sorted([SKILL, renamed, GENERATED]) - assert report["exception_paths"] == report["protected_paths"] - assert report["generated_paths"] == [GENERATED] - assert report["substantive_paths"] == sorted([SKILL, renamed, "delete.txt", "plain.txt"]) - assert report["head_sha"] == head - assert report["base_sha"] == report["policy_sha"] == report["merge_base_sha"] == base - assert report["dirty_paths"] == [] - assert "declaration" not in report - serialized = json.dumps(report, ensure_ascii=True) - assert json.loads(serialized)["changed_paths"] == expected - block = helper.declaration_block(root, report, AI, 'explicit reason\n```\n"quoted"') - declaration = checker.declaration(block, head) - assert declaration["exception"]["paths"] == report["protected_paths"] - assert declaration["material_ai_authors"] == AI["material_ai_authors"] - policy = json.loads((root / helper.POLICY).read_text()) - assessment = checker.assess({"number": 1, "head": {"sha": head}, "body": block}, - expected, policy) - assert assessment["state"] == "failure" # A generated request never grants approval. - - -def test_reads_policy_from_explicit_base_not_head_or_worktree(repo): - root, base = repo - write(root, SKILL, "changed\n") - policy = json.loads((root / helper.POLICY).read_text()) - policy["protected_paths"] = [] - write(root, helper.POLICY, json.dumps(policy)) - commit(root) - write(root, helper.POLICY, "not JSON") - report = helper.contribution_report(root, base) - assert report["protected_paths"] == [SKILL] - assert report["policy_paths"] == [helper.POLICY] - assert report["dirty_paths"] == [helper.POLICY] - - -def test_pr_diff_uses_merge_base_but_policy_uses_target_tip(repo): - root, base = repo - git(root, "checkout", "-qb", "target") - policy = json.loads((root / helper.POLICY).read_text()) - policy["protected_paths"].append("new-protected.txt") - write(root, helper.POLICY, json.dumps(policy)) - write(root, "target-only.txt", "target change\n") - tip = commit(root) - git(root, "checkout", "-qb", "candidate", base) - write(root, "new-protected.txt", "candidate change\n") - head = commit(root) - report = helper.contribution_report(root, "target") - assert report["changed_paths"] == report["protected_paths"] == ["new-protected.txt"] - assert report["policy_sha"] == tip - assert report["merge_base_sha"] == base - assert report["head_sha"] == head - - -@pytest.mark.parametrize("state", ["unstaged", "staged", "untracked", "staged-restored"]) -def test_dirty_paths_reported_but_never_certified(repo, state): - root, base = repo - path = "untracked.txt" if state == "untracked" else SKILL - write(root, path, "changed\n") - if state in {"staged", "staged-restored"}: - git(root, "add", path) - if state == "staged-restored": - write(root, path, "original skill\n") - report = helper.contribution_report(root, base) - assert report["changed_paths"] == [] - assert report["dirty_paths"] == [path] - with pytest.raises(ValueError, match="local changes"): - helper.declaration_block(root, report, HUMAN) - - -def test_rechecks_head_and_dirty_state_before_declaration(repo): - root, base = repo - report = helper.contribution_report(root, base) - write(root, SKILL, "new changes\n") - with pytest.raises(ValueError, match="local changes"): - helper.declaration_block(root, report, HUMAN) - commit(root) - with pytest.raises(ValueError): - helper.declaration_block(root, report, HUMAN) - - -def test_head_move_during_report_fails(repo, monkeypatch): - root, base = repo - original = helper._dirty_paths - - def changed(project, head): - result = original(project, head) - git(root, "commit", "--allow-empty", "-qm", "Advance fixture") - return result - - monkeypatch.setattr(helper, "_dirty_paths", changed) - with pytest.raises(ValueError, match="HEAD changed"): - helper.contribution_report(root, base) - - -def test_truthful_unknowns_preserved_and_human_only_must_be_explicit(repo): - root, base = repo - report = helper.contribution_report(root, base) - for facts in (HUMAN, AI): - block = helper.declaration_block(root, report, facts) - parsed = checker.declaration(block, base) - assert parsed == {"schema_version": 1, "head_sha": base, **facts} - assert "exception" not in parsed - for facts in ({}, {"material_ai_authors": []}, - {"human_only": True, "material_ai_authors": AI["material_ai_authors"]}, - {**AI, "exception": {"reason": "injected"}}, - {**AI, "head_sha": "0" * 40}): - with pytest.raises(ValueError): - helper.declaration_block(root, report, facts) - - -def test_exception_requires_explicit_reason_and_protected_paths(repo): - root, base = repo - report = helper.contribution_report(root, base) - for reason in ("", " ", "no protected paths"): - with pytest.raises(ValueError): - helper.declaration_block(root, report, AI, reason) - - -def test_cli_report_and_explicit_declaration(repo, tmp_path, monkeypatch, capsys): - root, base = repo - monkeypatch.setattr(helper, "PROJECT", root) - assert helper.main(["--base", base]) == 0 - assert json.loads(capsys.readouterr().out)["head_sha"] == base - facts = tmp_path.parent / f"{tmp_path.name}-authors.json" - facts.write_text(json.dumps(AI)) - assert helper.main(["--base", base, "--authors-file", str(facts)]) == 0 - assert checker.declaration(capsys.readouterr().out, base)["material_ai_authors"] == ( - AI["material_ai_authors"] - ) - facts.write_text('{"human_only":true,"human_only":false,"material_ai_authors":[]}') - assert helper.main(["--base", base, "--authors-file", str(facts)]) == 1 - captured = capsys.readouterr() - assert not captured.out - assert "Duplicate JSON field" in captured.err - assert helper.main(["--base=--bad-ref"]) != 0 - - -def test_deleted_generated_paths_remain_in_exception_scope(repo): - root, base = repo - (root / GENERATED).unlink() - commit(root) - report = helper.contribution_report(root, base) - assert report["changed_paths"] == report["generated_paths"] == [GENERATED] - assert report["protected_paths"] == report["exception_paths"] == [GENERATED] - assert report["substantive_paths"] == [] - - -def test_generated_only_unknown_authorship_is_not_exempt(repo): - root, base = repo - write(root, GENERATED, "changed generated index") - head = commit(root) - report = helper.contribution_report(root, base) - block = helper.declaration_block(root, report, AI) - policy = json.loads((root / helper.POLICY).read_text()) - result = checker.assess({"number": 1, "head": {"sha": head}, "body": block}, - report["changed_paths"], policy) - assert result["state"] == "failure" - assert result["errors"] == ["Material AI author 1: model is unapproved or suspended"] - - -def test_backslash_path_reported_without_hiding_checker_scope_restriction(repo): - root, base = repo - path = SKILL.replace("example", "back\\slash") - write(root, path, "changed skill") - commit(root) - report = helper.contribution_report(root, base) - assert report["protected_paths"] == [path] - with pytest.raises(ValueError, match="POSIX"): - helper.declaration_block(root, report, AI, "explicit exception request") - - -@pytest.mark.parametrize("raw", ["null", "[]", '{"schema_version":true}', - '{"schema_version":1,"protected_paths":"**"}', - '{"schema_version":1,"schema_version":1}']) -def test_malformed_trusted_policy_fails(repo, raw): - root, _ = repo - write(root, helper.POLICY, raw) - base = commit(root) - with pytest.raises(ValueError): - helper.contribution_report(root, base) - - -def test_cli_requires_explicit_base_and_authors_for_exception(capsys): - for args in ([], ["--base", "HEAD", "--exception-reason", "reason"]): - with pytest.raises(SystemExit) as raised: - helper.main(args) - assert raised.value.code == 2 - assert not capsys.readouterr().out - - -@pytest.mark.parametrize("deleted", [False, True]) -def test_skill_coverage_classified_as_generated_without_classifying_other_docs(repo, deleted): - root, _ = repo - coverage = "docs/skill-coverage.md" - other = "docs/example.md" - write(root, coverage, "original coverage\n") - write(root, other, "original documentation\n") - base = commit(root) - if deleted: - (root / coverage).unlink() - else: - write(root, coverage, "updated generated coverage\n") - write(root, other, "updated documentation\n") - commit(root) - report = helper.contribution_report(root, base) - assert report["changed_paths"] == sorted([coverage, other]) - assert report["generated_paths"] == [coverage] - assert report["substantive_paths"] == [other] - policy = json.loads((root / helper.POLICY).read_text()) - assert report["protected_paths"] == sorted(checker.matching( - [coverage, other], policy["protected_paths"], - )) - assert report["exception_paths"] == report["protected_paths"] diff --git a/tests/test_skill_eval_planned_guidance.py b/tests/test_skill_eval_planned_guidance.py index 1239b4480..72529290c 100644 --- a/tests/test_skill_eval_planned_guidance.py +++ b/tests/test_skill_eval_planned_guidance.py @@ -1,7 +1,6 @@ """Nonpaid planner guidance: raw Git/data inspection, never candidate/model execution.""" import copy -import hashlib import json import subprocess from unittest.mock import Mock @@ -291,120 +290,3 @@ def test_unrelated_source_ref_presence_cannot_change_full_history_plan(tmp_path) assert plans[0]["projection_check"]["status"] == "unavailable" assert "source_revision" not in plans[0]["projection_check"] assert "automatic command selection" in plans[0]["projection_check"]["reason"] - - - -def manifest_fixture(tmp_path): - repo, readme, canonical, pin, identity, changes = index_fixture(tmp_path) - manifest = readme.with_name("_provenance.json") - data = {"schema_version": 1, "repository": "https://github.com/example/fixture", - "source_revision": pin, - "registry": {"path": pr.LIBRARY_PATH + "/skill-index.json", - "sha256": hashlib.sha256(canonical.read_bytes()).hexdigest()}} - manifest.write_text(json.dumps(data)) - return repo, readme, canonical, pin, identity, changes, manifest, data - - -def commit_projection_fixture(repo, identity): - git(repo, "add", "-A") - git(repo, "commit", "--quiet", "-m", "Synthetic manifest projection") - identity["head"] = git(repo, "rev-parse", "HEAD") - - -def test_manifest_projection_pin_is_authoritative_and_reads_raw_git(tmp_path): - repo, readme, _, pin, identity, changes, manifest, _ = manifest_fixture(tmp_path) - readme.write_text("README no longer carries a source pin.\n") - commit_projection_fixture(repo, identity) - manifest.write_text("Uncommitted hostile metadata must not affect planning") - assert pr.projection_check(repo, identity, changes) == { - "status": "ready", "source_revision": pin, - "declared_in": pr.PROJECTION_PATH + "/_provenance.json"} - - -@pytest.mark.parametrize("mutation", [ - "malformed", "missing_revision", "short_revision", "unknown_commit", "nonancestor", - "wrong_repository", "extra_field", "wrong_version", "boolean_version", "null", "list", - "missing_registry", "registry_null", "registry_extra", "wrong_path", "wrong_digest", - "invalid_digest", "duplicate_field", "duplicate_registry_field", "symlink", "mode", - "oversized", "directory", "non_utf8", "changed_registry", "changed_library", -]) -def test_invalid_manifest_never_falls_back_to_valid_legacy_readme(tmp_path, mutation): - repo, _, canonical, pin, identity, changes, manifest, data = manifest_fixture(tmp_path) - if mutation == "missing_revision": - del data["source_revision"] - elif mutation == "short_revision": - data["source_revision"] = pin[:8] - elif mutation == "unknown_commit": - data["source_revision"] = "f" * 40 - elif mutation == "nonancestor": - tree = git(repo, "rev-parse", "HEAD^{tree}") - data["source_revision"] = git(repo, "commit-tree", tree, "-m", "Synthetic orphan") - elif mutation == "wrong_repository": - data["repository"] = "https://github.com/example/other" - elif mutation == "extra_field": - data["extra"] = "unsupported" - elif mutation in {"wrong_version", "boolean_version"}: - data["schema_version"] = True if mutation == "boolean_version" else 2 - elif mutation == "null": - data = None - elif mutation == "list": - data = [] - elif mutation == "missing_registry": - del data["registry"] - elif mutation == "registry_null": - data["registry"] = None - elif mutation == "registry_extra": - data["registry"]["extra"] = "unsupported" - elif mutation == "wrong_path": - data["registry"]["path"] = pr.LIBRARY_PATH + "/../skill-index.json" - elif mutation == "wrong_digest": - data["registry"]["sha256"] = "0" * 64 - elif mutation == "invalid_digest": - data["registry"]["sha256"] = 123 - elif mutation == "changed_registry": - canonical.write_text("Changed source bytes\n") - elif mutation == "changed_library": - canonical.with_name("resource.md").write_text("New source asset\n") - manifest.write_text(json.dumps(data)) - if mutation == "malformed": - manifest.write_text("{bad json") - elif mutation == "duplicate_field": - manifest.write_text('{"schema_version": 1, ' + manifest.read_text()[1:]) - elif mutation == "duplicate_registry_field": - manifest.write_text(manifest.read_text().replace('"registry": {', - '"registry": {"path": "bad", ')) - elif mutation == "symlink": - manifest.unlink() - manifest.symlink_to(canonical) - elif mutation == "mode": - manifest.chmod(0o755) - elif mutation == "oversized": - manifest.write_text(manifest.read_text() + " " * 65536) - elif mutation == "directory": - manifest.unlink() - manifest.mkdir() - (manifest / "child").write_text("Not a manifest") - elif mutation == "non_utf8": - manifest.write_bytes(json.dumps(data).encode("utf-16")) - commit_projection_fixture(repo, identity) - check = pr.projection_check(repo, identity, changes) - assert check["status"] == "unavailable" and "source_revision" not in check - - -@pytest.mark.parametrize("mode", ["symlink", "executable"]) -def test_manifest_rejects_unsafe_registry_at_both_unchanged_revisions(tmp_path, mode): - repo, _, canonical, _, identity, changes, manifest, data = manifest_fixture(tmp_path) - if mode == "symlink": - canonical.unlink() - canonical.symlink_to("README.md") - canonical.with_name("README.md").write_text("Synthetic registry target\n") - raw = b"README.md" - else: - canonical.chmod(0o755) - raw = canonical.read_bytes() - commit_projection_fixture(repo, identity) - data["source_revision"] = identity["head"] - data["registry"]["sha256"] = hashlib.sha256(raw).hexdigest() - manifest.write_text(json.dumps(data)) - commit_projection_fixture(repo, identity) - assert pr.projection_check(repo, identity, changes)["status"] == "unavailable" diff --git a/tests/test_skill_index.py b/tests/test_skill_index.py index 58ab46830..965b1c7f8 100644 --- a/tests/test_skill_index.py +++ b/tests/test_skill_index.py @@ -5,7 +5,6 @@ import pytest -from inferrsi._skill_provenance import MANIFEST from inferrsi.arguments import parser from inferrsi.catalog import REPO_TYPES, repository_pack, search_knowledge from inferrsi.cli import main @@ -76,14 +75,6 @@ def test_generated_index_matches_current_sources_without_historical_git_objects( for path in destination.rglob("*") if path.is_file() } assert actual == generated - snapshot = json.loads(actual[MANIFEST]) - assert snapshot["source_revision"] in { - record["sources"][0]["commit"] for record in records - } - assert all( - json.loads(text)["schema_version"] == 2 - for name, text in actual.items() if name.endswith(".json") and name != MANIFEST - ) def test_committed_source_hashes_preserve_binary_and_newline_bytes(tmp_path): diff --git a/tests/test_skill_provenance.py b/tests/test_skill_provenance.py deleted file mode 100644 index 6b223e8aa..000000000 --- a/tests/test_skill_provenance.py +++ /dev/null @@ -1,291 +0,0 @@ -"""Contribution-cost and integrity controls; no knowledge efficacy is measured.""" - -import copy -import hashlib -import json -import shutil -import subprocess - -import pytest - -from inferrsi import catalog -from inferrsi._skill_provenance import MANIFEST, REGISTRY, resolve_record, validate_snapshot -from tools.build_skill_index import DESTINATION, LIBRARY, build_index, render_index, source_inputs - - -def git(root, *args, check=True): - return subprocess.run( - ["git", "-C", str(root), "-c", "user.name=Provenance test fixture", - "-c", "user.email=fixture@example.invalid", *args], - check=check, capture_output=True, text=True, - ) - - -def commit(root, message): - git(root, "add", ".") - git(root, "commit", "--quiet", "-m", message) - return git(root, "rev-parse", "HEAD").stdout.strip() - - -def write_index(root, revision): - outputs = build_index(root, revision) - for relative, text in outputs.items(): - path = root / DESTINATION / relative - path.parent.mkdir(parents=True, exist_ok=True) - path.write_text(text, encoding="utf-8") - return outputs - - -def source(root, name): - return root / LIBRARY / "methods" / name / "SKILL.md" - - -@pytest.fixture -def repository(tmp_path): - git(tmp_path, "init", "--quiet") - git(tmp_path, "config", "core.autocrlf", "false") - registry = {"schema_version": 1, "skills": {}} - for name in ("alpha", "bravo", "charlie"): - path = source(tmp_path, name) - path.parent.mkdir(parents=True) - path.write_text(f"---\nname: {name}\ndescription: Fixture {name}\n---\nOriginal body\n") - registry["skills"][name] = {"path": f"methods/{name}", "backend": "common"} - (tmp_path / REGISTRY).write_text(json.dumps(registry)) - pin = commit(tmp_path, "Synthetic canonical owners") - outputs = write_index(tmp_path, pin) - commit(tmp_path, "Synthetic baseline projections") - return tmp_path, outputs - - -def test_one_owner_edit_changes_only_owner_projection_and_manifest(repository): - root, before = repository - source(root, "alpha").write_text(source(root, "alpha").read_text() + "New alpha evidence\n") - pin = commit(root, "Synthetic alpha change") - after = write_index(root, pin) - assert {path for path in before if before[path] != after[path]} == { - "common/skills/alpha.json", MANIFEST, - } - assert build_index(root, pin) == after - commit(root, "Synthetic alpha projection") - assert build_index(root, pin) == after - assert git(root, "status", "--porcelain").stdout == "" - - -def test_registering_an_owner_does_not_rewrite_other_owners(repository): - root, before = repository - path = source(root, "delta") - path.parent.mkdir(parents=True) - path.write_text("---\nname: delta\ndescription: New fixture\n---\nNew body\n") - registry = json.loads((root / REGISTRY).read_text()) - registry["skills"]["delta"] = {"path": "methods/delta", "backend": "common"} - (root / REGISTRY).write_text(json.dumps(registry)) - after = write_index(root, commit(root, "Synthetic owner registration")) - assert {path for path in before if before[path] != after[path]} == {MANIFEST, "README.md"} - assert set(after) - set(before) == {"common/skills/delta.json"} - - -@pytest.mark.parametrize("order", [("alpha", "bravo"), ("bravo", "alpha")]) -def test_parallel_squash_integration_preserves_both_owners(repository, order): - root, before = repository - baseline = git(root, "rev-parse", "HEAD").stdout.strip() - for name in ("alpha", "bravo"): - git(root, "checkout", "--quiet", "-b", name, baseline) - source(root, name).write_text(source(root, name).read_text() + f"New {name} evidence\n") - pin = commit(root, f"Synthetic {name} source") - write_index(root, pin) - commit(root, f"Synthetic {name} projection") - git(root, "checkout", "--quiet", "-b", "integration", baseline) - for index, name in enumerate(order): - merged = git(root, "merge", "--squash", name, check=False) - conflicts = git(root, "diff", "--name-only", "--diff-filter=U").stdout.splitlines() - if index: - assert merged.returncode == 1 - assert conflicts == [(DESTINATION / MANIFEST).as_posix()] - # Only the mechanically generated shared snapshot conflicts. Retain - # its prior value until combined canonical sources are committed. - git(root, "checkout", "--ours", "--", (DESTINATION / MANIFEST).as_posix()) - else: - assert merged.returncode == 0 - combined = commit(root, f"Synthetic squash of {name}") - # Model the protected-main workflow: repair on a separate branch, then - # squash that projection-only PR. Its pin already belongs to main, so - # the second squash cannot make the source snapshot unreachable. - git(root, "checkout", "--quiet", "-b", f"repair-{name}") - outputs = write_index(root, combined) - commit(root, "Regenerate combined snapshot on repair branch") - git(root, "checkout", "--quiet", "integration") - git(root, "merge", "--squash", f"repair-{name}") - commit(root, "Synthetic squash of projection-only repair PR") - assert build_index(root, combined) == outputs - assert outputs["common/skills/charlie.json"] == before["common/skills/charlie.json"] - for name in order: - assert f"New {name} evidence" in source(root, name).read_text() - raw = json.loads(outputs[f"common/skills/{name}.json"]) - assert raw["source_files"][source(root, name).relative_to(root).as_posix()] == ( - hashlib.sha256(source(root, name).read_bytes()).hexdigest() - ) - snapshot = json.loads(outputs[MANIFEST]) - assert snapshot["source_revision"] == combined - assert git(root, "merge-base", "--is-ancestor", combined, "HEAD").returncode == 0 - # A fresh checkout, without either contributor branch, reproduces artifacts. - clone = root.parent / (root.name + "-clean") - git(root, "clone", "--quiet", "--no-local", "--single-branch", "--branch", "integration", - str(root), str(clone)) - assert build_index(clone, combined) == outputs - shallow = root.parent / (root.name + "-shallow") - git(root, "clone", "--quiet", "--depth=1", "--single-branch", "--branch", "integration", - root.as_uri(), str(shallow)) - assert git(shallow, "cat-file", "-e", combined, check=False).returncode != 0 - hashes = {path: hashlib.sha256((shallow / path).read_bytes()).hexdigest() - for path in source_inputs(shallow / LIBRARY)} - assert render_index(shallow / LIBRARY, combined, hashes) == outputs - - -def test_same_owner_source_conflicts_remain_explicit(repository): - root, _ = repository - baseline = git(root, "rev-parse", "HEAD").stdout.strip() - for name in ("first", "second"): - git(root, "checkout", "--quiet", "-b", name, baseline) - source(root, "alpha").write_text( - source(root, "alpha").read_text().replace("Original body", name) - ) - write_index(root, commit(root, f"Synthetic {name} source")) - commit(root, f"Synthetic {name} projection") - git(root, "checkout", "--quiet", "first") - merged = git(root, "merge", "--squash", "second", check=False) - assert merged.returncode == 1 - assert source(root, "alpha").relative_to(root).as_posix() in git( - root, "diff", "--name-only", "--diff-filter=U" - ).stdout.splitlines() - with pytest.raises(ValueError, match="inputs differ"): - build_index(root, "HEAD") - - -def package_fixture(root, outputs): - package = root / "package" - shutil.copytree(root / "src/inferrsi/data", package / "data") - return package, package / "data/repo_packs/inferrsi/knowledge" - - -def test_raw_v2_resolves_exact_legacy_public_shape_and_v1_still_reads(repository, monkeypatch): - root, outputs = repository - package, projection = package_fixture(root, outputs) - monkeypatch.setattr(catalog, "files", lambda _: package) - records = catalog.knowledge_records() - assert len(records) == 3 - snapshot = json.loads(outputs[MANIFEST]) - for record in records: - raw_path = projection / "common/skills" / (record["title"] + ".json") - raw = json.loads(raw_path.read_text()) - assert record == resolve_record(raw, snapshot) - assert record["schema_version"] == 1 - assert record["sources"][0]["commit"] == snapshot["source_revision"] - assert record["source_files"][REGISTRY] == snapshot["registry"]["sha256"] - assert "snapshot" not in record["sources"][0] - # Rollback/legacy package support does not require the new manifest. - raw_path.write_text(json.dumps(record)) - (projection / MANIFEST).unlink() - assert catalog.knowledge_records() == records - - -@pytest.mark.parametrize("mutation", [ - "missing", "bad-json", "schema", "bool-schema", "float-schema", "repository", "revision", - "registry-path", "registry-hash", "source-ref", "source-path", "source-hash", "source-schema", - "source-float-schema", "unexpected-json", -]) -def test_malformed_or_missing_manifest_and_records_fail_closed(repository, monkeypatch, mutation): - root, outputs = repository - package, projection = package_fixture(root, outputs) - monkeypatch.setattr(catalog, "files", lambda _: package) - manifest = projection / MANIFEST - snapshot = json.loads(manifest.read_text()) - raw_path = projection / "common/skills/alpha.json" - raw = json.loads(raw_path.read_text()) - if mutation == "missing": - manifest.unlink() - elif mutation == "bad-json": - manifest.write_text("{") - elif mutation == "schema": - snapshot["schema_version"] = 99 - elif mutation == "bool-schema": - snapshot["schema_version"] = True - elif mutation == "float-schema": - snapshot["schema_version"] = 1.0 - elif mutation == "repository": - snapshot["repository"] = "https://example.invalid/untrusted" - elif mutation == "revision": - snapshot["source_revision"] = "HEAD" - elif mutation == "registry-path": - snapshot["registry"]["path"] = "../other.json" - elif mutation == "registry-hash": - snapshot["registry"]["sha256"] = "unknown" - elif mutation == "source-ref": - raw["sources"][0]["snapshot"] = "https://example.invalid/snapshot.json" - elif mutation == "source-path": - raw["sources"][0]["path"] = "src/inferrsi/data/skill_library/../other.md" - elif mutation == "source-hash": - raw["sources"][0]["content_sha256"] = "0" * 64 - elif mutation == "source-schema": - raw["schema_version"] = 99 - elif mutation == "source-float-schema": - raw["schema_version"] = 2.0 - else: - (projection / "extra.json").write_text("{}") - if mutation not in ("missing", "bad-json"): - manifest.write_text(json.dumps(snapshot)) - raw_path.write_text(json.dumps(raw)) - with pytest.raises((ValueError, KeyError)): - catalog.knowledge_records() - - -@pytest.mark.parametrize("target,key,value", [ - (MANIFEST, "source_revision", "0" * 40), - (MANIFEST, "registry", {}), - ("common/skills/alpha.json", "schema_version", 99), - ("common/skills/alpha.json", "sources", []), -]) -def test_duplicate_provenance_fields_fail_even_when_last_value_is_valid( - repository, monkeypatch, target, key, value, -): - root, outputs = repository - package, projection = package_fixture(root, outputs) - monkeypatch.setattr(catalog, "files", lambda _: package) - path = projection / target - text = path.read_text() - path.write_text("{" + json.dumps(key) + ": " + json.dumps(value) + "," + text[1:]) - with pytest.raises(ValueError, match="Duplicate"): - catalog.knowledge_records() - - -def test_valid_looking_tampered_provenance_is_detected_by_git_check(repository): - root, outputs = repository - manifest = root / DESTINATION / MANIFEST - snapshot = json.loads(outputs[MANIFEST]) - pin = snapshot["source_revision"] - for change in ({"source_revision": "0" * 40}, {"registry": { - "path": REGISTRY, "sha256": "0" * 64, - }}): - tampered = {**copy.deepcopy(snapshot), **change} - validate_snapshot(tampered) # Shape validation is not historical proof. - manifest.write_text(json.dumps(tampered)) - assert build_index(root, pin)[MANIFEST] != manifest.read_text() - with pytest.raises(subprocess.CalledProcessError): - build_index(root, "0" * 40) - - -@pytest.mark.parametrize("change", ["body", "delete", "resource", "registry"]) -def test_source_drift_is_never_attributed_to_the_old_snapshot(repository, change): - root, outputs = repository - pin = json.loads(outputs[MANIFEST])["source_revision"] - if change == "body": - source(root, "alpha").write_text(source(root, "alpha").read_text() + "Tampered\n") - elif change == "delete": - source(root, "alpha").unlink() - elif change == "resource": - (source(root, "alpha").parent / "new.txt").write_text("new resource") - else: - registry = json.loads((root / REGISTRY).read_text()) - registry["skills"]["alpha"]["backend"] = "cuda" - (root / REGISTRY).write_text(json.dumps(registry)) - with pytest.raises((ValueError, FileNotFoundError)): - build_index(root, pin) diff --git a/tools/build_skill_index.py b/tools/build_skill_index.py index d734a9105..1ab6cadd1 100644 --- a/tools/build_skill_index.py +++ b/tools/build_skill_index.py @@ -13,12 +13,12 @@ import subprocess from pathlib import Path -from inferrsi._skill_provenance import MANIFEST, REGISTRY, REPOSITORY from inferrsi.skill_catalog import skill_metadata, skill_records PROJECT = Path(__file__).resolve().parents[1] LIBRARY = Path("src/inferrsi/data/skill_library") DESTINATION = Path("src/inferrsi/data/repo_packs/inferrsi/knowledge") +REPOSITORY = "https://github.com/InferMatrixLab/InferRSI" # Match the comparison tool: replacement refs and lazy promisor fetches must not # change the bytes hashed for a pinned revision. GIT_READ = ("git", "--no-replace-objects", "--no-lazy-fetch") @@ -109,12 +109,7 @@ def recommendations(metadata: dict) -> list[str]: def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dict[str, str]: """Render the projection without requiring historical Git objects.""" - outputs = {MANIFEST: json.dumps({ - "schema_version": 1, - "repository": REPOSITORY, - "source_revision": revision, - "registry": {"path": REGISTRY, "sha256": source_files[REGISTRY]}, - }, ensure_ascii=False, indent=2) + "\n"} + outputs = {} links = [] entries = _registry(root) for selected in skill_records(root): @@ -125,12 +120,13 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic hashes = { path: digest for path, digest in sorted(source_files.items()) if path.startswith(f"{directory}/") + or path == f"{LIBRARY.as_posix()}/skill-index.json" } paths = list(hashes) entry = f"{directory}/SKILL.md" state = metadata.get("status", "unspecified") record = { - "schema_version": 2, + "schema_version": 1, "id": f"inferrsi.{backend}.skills.{name.replace('-', '_')}", "title": name, "repo": "inferrsi", @@ -144,8 +140,8 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "origin": metadata.get("origin", ["unknown"]), "sources": [{ "type": "git", - "snapshot": MANIFEST, - "path": entry, + "url": f"{REPOSITORY}/blob/{revision}/{entry}", + "commit": revision, "paths": paths, "content_sha256": hashes[entry], }], @@ -188,11 +184,7 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "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`.", "", - f"Source snapshot and registry hash: [{MANIFEST}]({MANIFEST}).", "", - "Stored schema-v2 projections contain owner-local hashes and a fixed snapshot reference.", - "The catalog resolves that shared manifest into the existing schema-v1 records with", - "complete Git URLs, commits, source paths and registry hashes. No network lookup occurs.", - "", + f"Source snapshot: [{revision}]({REPOSITORY}/tree/{revision}/{LIBRARY.as_posix()}).", "", "```bash", "inferrsi knowledge search 'profiling' --repo-type inferrsi --limit 50", "inferrsi collect --repo-type inferrsi --kind knowledge --limit 50 --material", @@ -203,7 +195,7 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "`source_files` hashes identify the canonical Git bytes, not a validation result.", "", "```bash", "python tools/build_skill_index.py --source-revision ", - "python tools/build_skill_index.py --source-revision --check", + f"python tools/build_skill_index.py --source-revision {revision} --check", "```", "", "`--check` detects missing, stale and unexpected generated records without writing.", "References and cases ship with their owning skill, not as duplicate knowledge abstracts.", @@ -234,7 +226,7 @@ def main(argv: list[str] | None = None) -> int: if stale or changed: print("Skill index drift: " + ", ".join(sorted(stale | set(changed)))) return 1 - print(f"Skill index is current: {len(outputs) - 2} metadata records") + print(f"Skill index is current: {len(outputs) - 1} metadata records") return 0 if stale: raise ValueError("Remove obsolete generated files explicitly: " + ", ".join(sorted(stale))) @@ -242,7 +234,7 @@ def main(argv: list[str] | None = None) -> int: path = destination / relative path.parent.mkdir(parents=True, exist_ok=True) path.write_text(outputs[relative], encoding="utf-8", newline="\n") - print(f"Generated {len(outputs) - 2} skill metadata records") + print(f"Generated {len(outputs) - 1} skill metadata records") return 0 diff --git a/tools/knowledge_contribution.py b/tools/knowledge_contribution.py deleted file mode 100644 index 97b12875c..000000000 --- a/tools/knowledge_contribution.py +++ /dev/null @@ -1,161 +0,0 @@ -"""Prepare a local, reviewable knowledge contribution report or declaration. - -Supply --base with a freshly fetched target-branch tip. Its committed policy is -used, not a proposed working-tree policy. The PR-style diff is merge-base..HEAD; -renames are reported as deletion/addition so both endpoints remain in scope. -This helper neither publishes nor approves anything and never infers authorship. -""" - -from __future__ import annotations - -import argparse -import json -import subprocess -import sys -from pathlib import Path - -if __package__: - from . import check_knowledge_model_policy as checker -else: - import check_knowledge_model_policy as checker - -PROJECT = Path(__file__).resolve().parents[1] -POLICY = ".github/knowledge-model-policy.json" -GENERATED = "src/inferrsi/data/repo_packs/inferrsi/knowledge/" -GENERATED_FILES = {"docs/skill-coverage.md"} -GIT_READ = ("git", "--no-replace-objects", "--no-lazy-fetch") - - -def _git(project: Path, *args: str) -> bytes: - return subprocess.run( - [*GIT_READ, "-C", str(project), *args], check=True, capture_output=True, - ).stdout - - -def _revision(project: Path, name: str) -> str: - return _git(project, "rev-parse", "--verify", "--end-of-options", - f"{name}^{{commit}}").decode("ascii").strip() - - -def _paths(raw: bytes) -> list[str]: - # Git's -z format retains tabs/newlines/quotes literally. JSON escapes them - # on output; undecodable filenames fail rather than silently losing scope. - return [path.decode("utf-8") for path in raw.split(b"\0") if path] - - -def _dirty_paths(project: Path, head: str) -> list[str]: - tracked = _paths(_git(project, "diff", "--no-ext-diff", "--no-textconv", - "--no-renames", "--name-only", "-z", head, "--")) - staged = _paths(_git(project, "diff", "--cached", "--no-ext-diff", "--no-textconv", - "--no-renames", "--name-only", "-z", head, "--")) - untracked = _paths(_git(project, "ls-files", "--others", "--exclude-standard", "-z")) - return sorted(set(tracked + staged + untracked)) - - -def contribution_report(project: Path, base: str) -> dict: - """Report committed HEAD only; local changes are separately and fully listed.""" - head = _revision(project, "HEAD") - base_sha = _revision(project, base) - ancestors = _git(project, "merge-base", "--all", base_sha, head).decode("ascii").split() - if len(ancestors) != 1: - raise ValueError("A unique merge base is required") - merge_base = ancestors[0] - policy = json.loads(_git(project, "show", f"{base_sha}:{POLICY}"), - object_pairs_hook=checker.unique_object) - if (not isinstance(policy, dict) or type(policy.get("schema_version")) is not int - or policy["schema_version"] != 1): - raise ValueError("Unsupported trusted-base policy schema") - for key in ("protected_paths", "policy_paths"): - if not isinstance(policy.get(key), list) or any( - not checker.text(pattern) for pattern in policy[key] - ): - raise ValueError("Invalid trusted-base policy paths") - paths = sorted(set(_paths(_git( - project, "diff", "--no-ext-diff", "--no-textconv", "--no-renames", - "--name-only", "-z", merge_base, head, "--", - )))) - protected = sorted(checker.matching(paths, policy["protected_paths"])) - generated = [path for path in paths - if path.startswith(GENERATED) or path in GENERATED_FILES] - dirty = _dirty_paths(project, head) - if _revision(project, "HEAD") != head: - raise ValueError("HEAD changed while preparing report; rerun") - return { - "schema_version": 1, - "head_sha": head, - "base_sha": base_sha, - "policy_sha": base_sha, - "merge_base_sha": merge_base, - "comparison": "merge-base..HEAD (renames retain both paths)", - "changed_paths": paths, - "protected_paths": protected, - "policy_paths": sorted(checker.matching(paths, policy["policy_paths"])), - "exception_paths": protected, - "generated_paths": generated, - "substantive_paths": sorted(set(paths) - set(generated)), - "classification_note": ( - "Generated means the index directory or skill coverage document, not verified " - "mechanical content. " - "Other paths are substantive review inputs. All protected paths remain in scope." - ), - "dirty_paths": dirty, - "note": ( - "Committed HEAD only; commit remaining changes and rerun. Refresh the target branch " - "before choosing --base. This local report is not admission, review or approval. " - "Exception paths are a scope preview, not an exception request or grant." - ), - } - - -def declaration_block(project: Path, report: dict, authors: dict, - exception_reason: str | None = None) -> str: - """Fill mechanical fields only, retaining explicit supplied author facts verbatim.""" - if report["dirty_paths"] or _dirty_paths(project, report["head_sha"]): - raise ValueError("Commit or remove local changes before generating a declaration") - if _revision(project, "HEAD") != report["head_sha"]: - raise ValueError("HEAD changed; rerun the contribution report") - checker.fields(authors, ("human_only", "material_ai_authors")) - value = {"schema_version": 1, "head_sha": report["head_sha"], **authors} - if exception_reason is not None: - if not checker.text(exception_reason): - raise ValueError("Supply an explicit nonempty exception reason") - value["exception"] = {"paths": report["exception_paths"], "reason": exception_reason} - block = "```knowledge-model-policy\n" + json.dumps(value, indent=2, ensure_ascii=True) + "\n```" - # Validate shape, not admission: unknown model/effort stay truthful. Only the - # trusted remote checker can evaluate current approval and lifecycle facts. - checker.declaration(block, report["head_sha"]) - return block - - -def main(argv: list[str] | None = None) -> int: - parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument("--base", required=True, help="Fresh target-branch tip (ref or commit)") - parser.add_argument("--authors-file", type=Path, help=( - "Explicit JSON object with human_only and material_ai_authors; prints one declaration " - "instead of the report. Keep this file outside the worktree." - )) - parser.add_argument("--exception-reason", help=( - "Explicitly request an exception for every protected changed path; does not approve it" - )) - args = parser.parse_args(argv) - if args.exception_reason is not None and args.authors_file is None: - parser.error("--exception-reason requires --authors-file") - try: - report = contribution_report(PROJECT, args.base) - if args.authors_file is None: - print(json.dumps(report, indent=2, ensure_ascii=True)) - else: - authors = json.loads(args.authors_file.read_text(encoding="utf-8"), - object_pairs_hook=checker.unique_object) - print(declaration_block(PROJECT, report, authors, args.exception_reason)) - except (ValueError, KeyError, TypeError, OSError, subprocess.CalledProcessError) as error: - # Git stderr can contain private paths/configuration; never echo it. - message = (str(error) if isinstance(error, ValueError) - else "Required local input unavailable") - print(f"Contribution helper: {message}", file=sys.stderr) - return 1 - return 0 - - -if __name__ == "__main__": - sys.exit(main()) diff --git a/tools/skill_eval_pr.py b/tools/skill_eval_pr.py index 7ae84c544..5ebe4ef62 100644 --- a/tools/skill_eval_pr.py +++ b/tools/skill_eval_pr.py @@ -74,87 +74,46 @@ def task_context(tasks): if isinstance(task.get(key), str)} for task in tasks if isinstance(task, dict)] -def projection_blob(repo, revision, path, *, max_bytes=65536): - """Read one exact regular blob, never a candidate checkout or symlink.""" - entry = git(repo, "ls-tree", revision, "--", path).decode().split() - if len(entry) != 4 or entry[:2] != ["100644", "blob"] or entry[3] != path: - raise ValueError("Invalid projection input mode or path") - if int(git(repo, "cat-file", "-s", entry[2])) > max_bytes: - raise ValueError("Oversized projection input") - return git(repo, "cat-file", "blob", entry[2]) - - -def projection_object(pairs): - value = {} - for key, item in pairs: - if key in value: - raise ValueError("Duplicate projection field") - value[key] = item - return value - - def projection_check(repo, identity, changes): """Identify an applicable existing check from raw Git data, without running it.""" if not any(matches_path(c["path"], (LIBRARY_PATH, PROJECTION_PATH)) for c in changes): return None unavailable = {"status": "unavailable", "reason": "No verified ancestor source pin for automatic command selection"} - manifest = PROJECTION_PATH + "/_provenance.json" readme = PROJECTION_PATH + "/README.md" try: - # Presence is authoritative: invalid manifests must not fall back to README. - if blob_exists(repo, identity["head"], manifest): - metadata = json.loads(projection_blob(repo, identity["head"], manifest).decode("utf-8"), - object_pairs_hook=projection_object) - if (not isinstance(metadata, dict) - or set(metadata) != {"schema_version", "repository", "source_revision", - "registry"} - or type(metadata["schema_version"]) is not int - or metadata["schema_version"] != 1 - or metadata["repository"] != "https://github.com/" + identity["repository"] - or not isinstance(metadata["source_revision"], str) - or not re.fullmatch(SHA, metadata["source_revision"])): - return unavailable - registry = metadata["registry"] - if (not isinstance(registry, dict) or set(registry) != {"path", "sha256"} - or registry["path"] != LIBRARY_PATH + "/skill-index.json" - or not isinstance(registry["sha256"], str) - or not re.fullmatch(r"[0-9a-f]{64}", registry["sha256"])): - return unavailable - pin, declared_in = metadata["source_revision"], manifest - else: - text = projection_blob(repo, identity["head"], readme).decode("utf-8") - pattern = (r"^Source snapshot: \[(" + SHA + r")\]\(https://github\.com/" - + re.escape(identity["repository"]) + r"/tree/\1/" - + re.escape(LIBRARY_PATH) + r"\)\.$") - pins = re.findall(pattern, text, flags=re.M) - if len(pins) != 1: - return unavailable - pin, declared_in = pins[0], readme + # Do not follow a symlink or read executable/oversized PR metadata. + entry = git(repo, "ls-tree", identity["head"], "--", readme).decode().split() + if len(entry) != 4 or entry[:2] != ["100644", "blob"]: + return unavailable + if int(git(repo, "cat-file", "-s", entry[2])) > 65536: + return unavailable + text = git(repo, "cat-file", "blob", entry[2]).decode("utf-8") + pattern = (r"^Source snapshot: \[(" + SHA + r")\]\(https://github\.com/" + + re.escape(identity["repository"]) + r"/tree/\1/" + + re.escape(LIBRARY_PATH) + r"\)\.$") + pins = re.findall(pattern, text, flags=re.M) + if len(pins) != 1: + return unavailable # Only the frozen head's full ancestor closure is stable across jobs. # An unrelated locally cached object must not change the plan fingerprint. ancestor = subprocess.run( - [*compare.GIT_READ, "merge-base", "--is-ancestor", pin, identity["head"]], + [*compare.GIT_READ, "merge-base", "--is-ancestor", pins[0], identity["head"]], cwd=repo, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=False) if ancestor.returncode != 0: return unavailable - if git(repo, "cat-file", "-t", pin).strip() != b"commit": + if git(repo, "cat-file", "-t", pins[0]).strip() != b"commit": return unavailable library = git(repo, "ls-tree", identity["head"], "--", LIBRARY_PATH).decode().split() if len(library) != 4 or library[:2] != ["040000", "tree"]: return unavailable changed = git(repo, "diff", "--no-ext-diff", "--no-textconv", "--no-renames", - "--name-only", pin, identity["head"], "--", LIBRARY_PATH) + "--name-only", pins[0], identity["head"], "--", LIBRARY_PATH) if changed.strip(): return {"status": "unavailable", "reason": "Declared projection source differs from current canonical library bytes"} - if declared_in == manifest: - for revision in (pin, identity["head"]): - raw = projection_blob(repo, revision, registry["path"], max_bytes=16 * 1024 * 1024) - if hashlib.sha256(raw).hexdigest() != registry["sha256"]: - return unavailable - return {"status": "ready", "source_revision": pin, "declared_in": declared_in} - except (subprocess.CalledProcessError, UnicodeError, ValueError, RecursionError): + return {"status": "ready", "source_revision": pins[0], "declared_in": readme} + except (subprocess.CalledProcessError, UnicodeError, ValueError): return unavailable From f6762d7f81c737e4842776a6c4ba612c36ab054c Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Tue, 10 Nov 2026 13:35:12 +0800 Subject: [PATCH 3/6] knowledge: store generated skill records against a shared source snapshot Each generated record repeated the repository-wide source commit and registry hash, so editing one skill rewrote every record. Keep those two values in one _provenance.json snapshot and store the records as schema 2 with only their own fields and resource hashes. The catalog resolves them into the unchanged public schema-1 records, and the generator refuses to write a record that does not resolve back to what it rendered. Migrate the 80 records from the already-pinned source revision; every resolved record is byte-identical to the previous stored record. Add a read-only helper that lists a PR's protected, policy and generated paths for the authorship declaration without supplying any author fact, and document the workflow. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- docs/contributing.md | 3 + docs/knowledge-base.md | 5 +- docs/knowledge-contribution-workflow.md | 89 +++++++ docs/skill-eval-pr.md | 5 +- src/inferrsi/_source_snapshot.py | 88 +++++++ src/inferrsi/catalog.py | 15 +- .../repo_packs/inferrsi/knowledge/README.md | 11 +- .../inferrsi/knowledge/_provenance.json | 9 + .../ascend-aclgraph-capture-replay.json | 19 +- .../ascend/skills/ascend-device-health.json | 18 +- .../skills/ascend-distributed-parallel.json | 22 +- .../ascend/skills/ascend-graph-mode.json | 22 +- .../skills/ascend-model-adaptation.json | 18 +- .../skills/ascend-operator-profiling.json | 18 +- .../ascend/skills/ascend-operator-tuning.json | 18 +- .../skills/ascend-optimization-casebook.json | 18 +- .../skills/ascend-performance-analysis.json | 20 +- .../ascend-video-diffusion-optimization.json | 19 +- .../ascend/skills/ascendc-tiling-design.json | 18 +- .../skills/cann-attribution-overlap.json | 18 +- .../knowledge/ascend/skills/torch-npu.json | 75 +----- .../torchnpu-device-memory-lifecycle.json | 19 +- ...torchnpu-pinned-host-memory-lifecycle.json | 19 +- .../knowledge/ascend/skills/vllm-ascend.json | 29 +-- .../skills/assess-serving-preemption.json | 19 +- .../assess-split-backward-schedule.json | 19 +- .../skills/audit-fixed-workload-claim.json | 18 +- .../audit-h3-metal-fasth3-semantics.json | 27 +-- .../skills/audit-h3-runtime-residency.json | 27 +-- .../skills/audit-llama-runtime-state.json | 19 +- .../audit-recurrent-kv-finalization.json | 22 +- .../common/skills/audit-sd-cpp-residency.json | 24 +- .../audit-sglang-diffusion-lifetimes.json | 20 +- .../skills/audit-vllm-kv-lifetimes.json | 19 +- .../bound-windowed-attention-replay.json | 20 +- .../budget-speculative-verification.json | 20 +- .../skills/calibrate-serving-simulation.json | 21 +- .../skills/cgroup-resource-controls.json | 18 +- .../checkpoint-recovery-consistency.json | 20 +- .../skills/choose-parallel-training-plan.json | 19 +- .../skills/cite-check-downstream-pr.json | 16 +- .../common/skills/claim-contract.json | 16 +- .../knowledge/common/skills/comfy-ui.json | 23 +- .../common/skills/competitor-scan.json | 16 +- .../skills/dcp-async-save-performance.json | 19 +- .../skills/dense-performance-evidence.json | 18 +- .../diagnose-vllm-admission-pressure.json | 32 +-- .../skills/diffusers-invocation-state.json | 21 +- .../common/skills/draft-acceptance-issue.json | 16 +- .../knowledge/common/skills/dwarfstar.json | 32 +-- .../evaluate-elastic-serving-placement.json | 19 +- .../skills/generation-cache-lifecycle.json | 22 +- .../common/skills/host-memory-management.json | 27 +-- .../skills/host-overhead-optimization.json | 19 +- .../knowledge/common/skills/husky.json | 24 +- .../skills/inference-benchmark-design.json | 29 +-- .../inference-optimization-casebook.json | 26 +- .../common/skills/kernel-writing-guide.json | 34 +-- .../common/skills/kv-tier-management.json | 18 +- .../lazy-evaluation-stream-lifetimes.json | 21 +- .../knowledge/common/skills/lily.json | 35 +-- .../knowledge/common/skills/lithos-metal.json | 39 +-- .../knowledge/common/skills/local-dream.json | 25 +- .../knowledge/common/skills/mistral-rs.json | 41 +--- .../knowledge/common/skills/mlc-llm.json | 44 +--- .../knowledge/common/skills/mlx-swift-lm.json | 35 +-- .../common/skills/npu-skill-factory.json | 32 +-- .../skills/optimization-search-policy.json | 28 +-- .../common/skills/os-process-placement.json | 19 +- .../skills/performance-ceiling-analysis.json | 39 +-- .../skills/plan-activation-residency.json | 19 +- .../knowledge/common/skills/project-maya.json | 38 +-- .../knowledge/common/skills/pytorch.json | 68 +----- .../skills/repository-evolution-analysis.json | 20 +- .../knowledge/common/skills/rsi-evidence.json | 24 +- .../skills/skill-evolution-playbook.json | 18 +- .../knowledge/common/skills/splash.json | 35 +-- .../common/skills/storage-io-measurement.json | 18 +- .../skills/training-input-pipeline.json | 19 +- .../skills/training-resource-budget.json | 27 +-- .../skills/video-diffusion-optimization.json | 20 +- .../knowledge/common/skills/vllm-metal.json | 39 +-- .../skills/weight-loading-optimization.json | 23 +- .../cuda/skills/audit-afd-p2p-exchanges.json | 20 +- .../skills/audit-flare-session-lifecycle.json | 23 +- .../diagnose-attention-bottlenecks.json | 27 +-- .../cuda/skills/host-overhead-profiling.json | 18 +- .../cuda/skills/reason-hopper-kernels.json | 27 +-- tests/test_knowledge_declaration_paths.py | 76 ++++++ tests/test_skill_index.py | 2 + tests/test_source_snapshot.py | 227 ++++++++++++++++++ tools/build_skill_index.py | 27 ++- tools/knowledge_declaration_paths.py | 80 ++++++ 93 files changed, 777 insertions(+), 1830 deletions(-) create mode 100644 docs/knowledge-contribution-workflow.md create mode 100644 src/inferrsi/_source_snapshot.py create mode 100644 src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json create mode 100644 tests/test_knowledge_declaration_paths.py create mode 100644 tests/test_source_snapshot.py create mode 100644 tools/knowledge_declaration_paths.py diff --git a/docs/contributing.md b/docs/contributing.md index 27319aaf8..1fbbf5d5e 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -52,6 +52,9 @@ external sources, and add its navigation link to the owning README. See the sidecar or registry, commit, then run `python tools/build_skill_index.py --source-revision `; a hand edit there is reverted by the next run and only `--check` reports it. +A one-skill edit regenerates only that skill's record, the shared +`_provenance.json` snapshot and the coverage view; see the +[knowledge contribution workflow](knowledge-contribution-workflow.md). Do not maintain a second per-entry Markdown summary. Keep IDs stable, omit PR links, retain source attribution and negative results, and qualify new backends independently. See the diff --git a/docs/knowledge-base.md b/docs/knowledge-base.md index 2e3984f86..a568192d4 100644 --- a/docs/knowledge-base.md +++ b/docs/knowledge-base.md @@ -292,7 +292,10 @@ recipes; native execution and efficacy remain not_run. The complete library is the single content owner. Maintain stable paths and backend classifications in `skill-index.json`, then refresh generated records and navigation with `tools/build_skill_index.py`; do not hand-edit generated -cards. Its source-revision and consistency checks prevent attributing edited +cards. Stored cards keep only their own fields and resource hashes, and the shared +`_provenance.json` snapshot holds the source revision and registry hash; the +catalog resolves them into the public records +([contribution workflow](knowledge-contribution-workflow.md)). Its source-revision and consistency checks prevent attributing edited metadata to an older snapshot. Preserve existing states, provenance, notices, `UNKNOWN` licenses and the two matrices' authority. Migration and installed-package checks do not establish licensing, empirical verification or automatic execution. diff --git a/docs/knowledge-contribution-workflow.md b/docs/knowledge-contribution-workflow.md new file mode 100644 index 000000000..49bf1ab11 --- /dev/null +++ b/docs/knowledge-contribution-workflow.md @@ -0,0 +1,89 @@ +# Knowledge contribution workflow + +This is the short path for a change to one skill in `src/inferrsi/data/skill_library/`. +It implements the representation accepted in +[issue #355](https://github.com/InferMatrixLab/InferRSI/issues/355#issuecomment-6730172305). + +## What you write and what tools derive + +| You write | Tools derive | +| --- | --- | +| Skill body, references, cases, `metadata.json`, registry entry | Per-skill catalog records, resource hashes, `_provenance.json`, navigation | +| Matrix rows in `docs/reference-matrix.md` and `docs/searchspace-matrix.md` | `docs/skill-coverage.md` | +| The PR's knowledge authorship declaration: every material AI author's actual tool, model and effort, or `human_only` | The head SHA and the exact protected, policy and generated path lists | + +Tooling never infers authorship, model, effort, human contribution or an exception +decision. + +## Steps + +1. Edit the canonical skill files and the matrices, then commit them. This commit is + the source revision. +2. Regenerate from that commit and check: + + ```bash + python tools/build_skill_index.py --source-revision + python tools/build_skill_coverage.py + python tools/build_skill_index.py --source-revision --check + python tools/build_skill_coverage.py --check + ``` + +3. Commit the generated changes. List the declaration paths for the final head: + + ```bash + python tools/knowledge_declaration_paths.py --base origin/main --head HEAD + ``` + +4. Write the declaration in the PR body with the reported `head_sha`. Update it after + every new commit. + +## Stored format + +Stored skill records are schema 2. They keep each skill's own fields and resource +hashes. The shared `knowledge/_provenance.json` holds the full source revision and +the registry hash: + +```json +{ + "schema_version": 1, + "repository": "https://github.com/InferMatrixLab/InferRSI", + "source_revision": "<40-hex commit>", + "registry": {"path": "src/inferrsi/data/skill_library/skill-index.json", "sha256": "<64-hex>"} +} +``` + +`inferrsi.catalog` resolves each stored record into the same public schema-1 record +as before: the `sources` entry with the full commit URL, and `source_files` including +the registry hash. Search, `knowledge show`, Collect and installed wheels see no +change. The generator refuses to write a record that does not resolve back to the +record it rendered. The one-time migration regenerated all 80 records from the +already-pinned source revision; every resolved record is byte-identical to the +previous stored record. + +## What changes per contribution + +Before the shared snapshot, every skill record repeated the repository-wide source +commit and registry hash, so a one-skill edit rewrote all 80 records. Measured on +`main` at `56c50036` with one appended line in `performance-ceiling-analysis`, the +old generator changed 82 generated files (80 records, the README and the coverage +view). The new generator changes 3: that skill's record, `_provenance.json` and the +coverage view. Editing the registry or a declared status also changes the README. + +Two PRs that change different skills share only `_provenance.json` and the coverage +view's input digest among generated files, so those are the expected conflicts. +Integrate the second on top of the first, keep both canonical changes, commit them +as the new source revision and regenerate; regeneration rewrites both shared files +and no unrelated record is hand-edited. Divergent edits to the same skill, or to the +same matrix row, remain ordinary content conflicts that must be resolved by hand. + +## Limits + +- After a squash merge, the recorded source revision is a branch commit that is not + an ancestor of `main`. The packaged content still resolves, and `--check` still + works when that commit is available. Git-backed SkillEval planning reports the pin + as unavailable. This already happened with the previous format: the projections + on `main` before this change pinned a squashed branch commit. +- Raw stored records changed from schema 1 to schema 2. Code that reads the JSON + files directly must use `inferrsi.catalog` or `inferrsi._source_snapshot.resolve`. +- Generated files are protected knowledge paths. Regenerating them is material + authorship work and needs a valid declaration. diff --git a/docs/skill-eval-pr.md b/docs/skill-eval-pr.md index c331a189e..70a1da4df 100644 --- a/docs/skill-eval-pr.md +++ b/docs/skill-eval-pr.md @@ -68,8 +68,9 @@ The author and independent reviewer must disposition that relevance explicitly. For canonical library or generated-index changes, the planner may show the existing `python tools/build_skill_index.py --source-revision --check` -with an **actual** immutable pin. It reads the known generated README as bounded -Git data, requires one declared source commit in the frozen head's ancestor closure, +with an **actual** immutable pin. It reads the declared pin as bounded Git data from +the generated `_provenance.json` snapshot, or from the generated README when no +snapshot exists, requires that source commit in the frozen head's ancestor closure, and checks that the entire canonical library has identical Git bytes/modes at that pin and the PR head. It does not execute the generator or establish that generated records are correct. Plan and diff --git a/src/inferrsi/_source_snapshot.py b/src/inferrsi/_source_snapshot.py new file mode 100644 index 000000000..3ced2e330 --- /dev/null +++ b/src/inferrsi/_source_snapshot.py @@ -0,0 +1,88 @@ +from __future__ import annotations + +import re +from typing import Any + +# One shared snapshot keeps the repository-wide source revision and registry digest out of +# per-owner records, so a one-owner edit regenerates only that owner's record. +MANIFEST = "_provenance.json" +REPOSITORY = "https://github.com/InferMatrixLab/InferRSI" +LIBRARY = "src/inferrsi/data/skill_library" +REGISTRY = f"{LIBRARY}/skill-index.json" +STORED_SCHEMA = 2 + + +def manifest(revision: str, registry_sha256: str) -> dict[str, Any]: + return { + "schema_version": 1, + "repository": REPOSITORY, + "source_revision": revision, + "registry": {"path": REGISTRY, "sha256": registry_sha256}, + } + + +def _snapshot(value: Any) -> tuple[str, str]: + if ( + not isinstance(value, dict) + or set(value) != {"schema_version", "repository", "source_revision", "registry"} + or type(value["schema_version"]) is not int + or value["schema_version"] != 1 + or value["repository"] != REPOSITORY + or not isinstance(value["source_revision"], str) + or not re.fullmatch(r"[0-9a-f]{40}", value["source_revision"]) + ): + raise ValueError("Invalid knowledge source snapshot") + registry = value["registry"] + if ( + not isinstance(registry, dict) + or set(registry) != {"path", "sha256"} + or registry["path"] != REGISTRY + or not isinstance(registry["sha256"], str) + or not re.fullmatch(r"[0-9a-f]{64}", registry["sha256"]) + ): + raise ValueError("Invalid knowledge source snapshot registry") + return value["source_revision"], registry["sha256"] + + +def compact(record: dict[str, Any]) -> dict[str, Any]: + """Store a generated schema-v1 record without its snapshot-wide fields.""" + stored = {key: value for key, value in record.items() if key != "sources"} + stored["schema_version"] = STORED_SCHEMA + stored["source_files"] = { + path: digest for path, digest in record["source_files"].items() if path != REGISTRY + } + return stored + + +def resolve(stored: dict[str, Any], snapshot: Any) -> dict[str, Any]: + """Rebuild the public schema-v1 record from a stored record and the shared snapshot.""" + revision, registry_sha256 = _snapshot(snapshot) + if stored.get("schema_version") != STORED_SCHEMA or "sources" in stored: + raise ValueError("Stored skill record is not a schema-v2 projection") + files = stored.get("source_files") + documents = stored.get("skill_documents") + if ( + not isinstance(files, dict) or REGISTRY in files + or not isinstance(documents, dict) or not isinstance(documents.get("original"), str) + ): + raise ValueError(f"Invalid stored skill record: {stored.get('id')}") + entry = "src/inferrsi/" + documents["original"] + if entry not in files: + raise ValueError(f"Stored skill record lacks its entry hash: {stored.get('id')}") + hashes = dict(sorted({**files, REGISTRY: registry_sha256}.items())) + source = { + "type": "git", + "url": f"{REPOSITORY}/blob/{revision}/{entry}", + "commit": revision, + "paths": list(hashes), + "content_sha256": hashes[entry], + } + record = {} + for key, value in stored.items(): + record[key] = 1 if key == "schema_version" else value + if key == "origin": + record["sources"] = [source] + if "sources" not in record: + raise ValueError(f"Stored skill record lacks origin: {stored.get('id')}") + record["source_files"] = hashes + return record diff --git a/src/inferrsi/catalog.py b/src/inferrsi/catalog.py index 69dc86663..3408a53d2 100644 --- a/src/inferrsi/catalog.py +++ b/src/inferrsi/catalog.py @@ -7,6 +7,8 @@ from importlib.resources import files from typing import Any +from inferrsi import _source_snapshot + REPO_TYPES = ("vllm", "vllm_omni", "afd_plugin", "vllm_rlt", "strata", "sglang", "sglang_omni") # Learning scope does not imply that a repository has a runnable target adapter. # Legacy repository-pack records retain their contribution tier; an independent @@ -98,10 +100,21 @@ def knowledge_records() -> list[dict[str, Any]]: ) if not knowledge.is_dir(): continue + snapshot = knowledge.joinpath(_source_snapshot.MANIFEST) + snapshot = ( + json.loads(snapshot.read_text(encoding="utf-8")) if snapshot.is_file() else None + ) for parts, item in _walk(knowledge): - if not item.name.endswith(".json"): + if not item.name.endswith(".json") or parts == (_source_snapshot.MANIFEST,): continue record = json.loads(item.read_text(encoding="utf-8")) + # Generated skill records store schema v2; readers always receive schema v1. + if isinstance(record, dict) and record.get("schema_version") == ( + _source_snapshot.STORED_SCHEMA + ): + if snapshot is None: + raise ValueError(f"Knowledge record lacks its source snapshot: {repo}") + record = _source_snapshot.resolve(record, snapshot) _validate_record(record, repo, parts, tier) if record["id"] in seen: raise ValueError(f"Duplicate knowledge ID: {record['id']}") diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md index 3dc1806dc..dccfd3e3f 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/README.md @@ -15,7 +15,11 @@ 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: [d648f25732dee1c974da62a94c46a642ad52cef8](https://github.com/InferMatrixLab/InferRSI/tree/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library). +`_provenance.json` holds the shared source snapshot: the full source +revision and the registry hash. Stored records (schema 2) keep only their own +fields and resource hashes; the catalog restores the schema-1 `sources` entry and +registry hash from the snapshot, so editing one skill regenerates only its record +and the snapshot. ```bash inferrsi knowledge search 'profiling' --repo-type inferrsi --limit 50 @@ -29,10 +33,11 @@ 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 d648f25732dee1c974da62a94c46a642ad52cef8 --check +python tools/build_skill_index.py --source-revision --check ``` -`--check` detects missing, stale and unexpected generated records without writing. +`--check` detects missing, stale and unexpected generated records without writing; +use the `source_revision` recorded in `_provenance.json`. References and cases ship with their owning skill, not as duplicate knowledge abstracts. | Skill | Backend | Original declared status | diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json new file mode 100644 index 000000000..2f5505632 --- /dev/null +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json @@ -0,0 +1,9 @@ +{ + "schema_version": 1, + "repository": "https://github.com/InferMatrixLab/InferRSI", + "source_revision": "d648f25732dee1c974da62a94c46a642ad52cef8", + "registry": { + "path": "src/inferrsi/data/skill_library/skill-index.json", + "sha256": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + } +} 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 c4432381c..a6bdcc9a1 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_aclgraph_capture_replay", "title": "ascend-aclgraph-capture-replay", "repo": "inferrsi", @@ -18,20 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "d494fc7e539cbb7388189bd7b3f04bb5c4983fdd7a82484348aad1cee7f741f2" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md" @@ -40,8 +26,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/SKILL.md": "d494fc7e539cbb7388189bd7b3f04bb5c4983fdd7a82484348aad1cee7f741f2", "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/metadata.json": "3ac69dd82ae798450092c830b62f4958dc2f5b1c7000f9c3f822f2b0693f8af4", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md": "6ffbfb68cc7e04923b4fbca2a73a7555b7c3b45a6f40819bb5f3213ef05cf88d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-aclgraph-capture-replay/references/source-notes.md": "6ffbfb68cc7e04923b4fbca2a73a7555b7c3b45a6f40819bb5f3213ef05cf88d" }, "skill_metadata": { "name": "ascend-aclgraph-capture-replay", 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 e9945268c..6cf99f64d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_device_health", "title": "ascend-device-health", "repo": "inferrsi", @@ -20,19 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "03829039860ece35519f2e4c339a48b5014ec25e07a2c150a3efb6a3a4e35b4a" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-device-health/SKILL.md" @@ -40,8 +27,7 @@ "checkout_ref": "checkout:ascend-device-health", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/SKILL.md": "03829039860ece35519f2e4c339a48b5014ec25e07a2c150a3efb6a3a4e35b4a", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json": "f643185563dbf528a5a1f2b0561685ae34302a9efc9900c6753a7168b4e8b329", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-device-health/metadata.json": "f643185563dbf528a5a1f2b0561685ae34302a9efc9900c6753a7168b4e8b329" }, "skill_metadata": { "name": "ascend-device-health", 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 49feeb3b3..7c692cb19 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_distributed_parallel", "title": "ascend-distributed-parallel", "repo": "inferrsi", @@ -24,23 +24,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/awesome-ascend-communication-tests.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce-readset.json", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "0b79d95e8d5abf0a822f8ae6bfa3779cbb40595c5b6f0fb934233275f5899ef8" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-distributed-parallel/SKILL.md" @@ -52,8 +35,7 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/awesome-ascend-communication-tests.md": "0cb27a3d24409171bb414d7ebf0c49ad62be5f46482f29624695496ba9eb3e63", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-LICENSE.md": "05205a02acebd671c78d3b876c1f6097b84cce89780f5d9bdc204bfbea92d0c1", "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce-readset.json": "4a3d403986dfceaa28605f2f30b79545e1efdc27f35c88755402b75b4d13d7e2", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md": "4770bba0090ed5ead3d2fd3b2cce2d21ba708acae3e0b4d859cc503499da5b93", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-distributed-parallel/references/hccl-allreduce.md": "4770bba0090ed5ead3d2fd3b2cce2d21ba708acae3e0b4d859cc503499da5b93" }, "skill_metadata": { "name": "ascend-distributed-parallel", 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 95f6a36a4..081ce4c56 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_graph_mode", "title": "ascend-graph-mode", "repo": "inferrsi", @@ -23,23 +23,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/legacy-source-notes.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-path.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "a7341b5bf3b43f32d6114e2109e5043e46f3ddeef9b7bb3b20c1c50236bab638" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-graph-mode/SKILL.md" @@ -51,8 +34,7 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/legacy-source-notes.md": "a51c655aff59741cd7421277bd71dffeb9907560950459ae0a776207e496de4a", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-LICENSE.md": "bc07d81fa332b6543463588a120518c57b5ce8582d3747de75d2f6b09b068c01", "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-path.md": "272424571ff439278c8f2675406eae7da9a6482c581973e24319739fa0e58348", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json": "eb84cbd5c355a88ee013dc7e428b274162e0e13e85845b58526113b0d6a2b46b", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-graph-mode/references/torchair-graph-readset.json": "eb84cbd5c355a88ee013dc7e428b274162e0e13e85845b58526113b0d6a2b46b" }, "skill_metadata": { "name": "ascend-graph-mode", 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 dd76a542d..ce015401d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_model_adaptation", "title": "ascend-model-adaptation", "repo": "inferrsi", @@ -19,19 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "8fdf46fb2743b67a66bc069d22a45305a222debfb606777bc451b4b8f31d9cc6" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md" @@ -39,8 +26,7 @@ "checkout_ref": "checkout:ascend-model-adaptation", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/SKILL.md": "8fdf46fb2743b67a66bc069d22a45305a222debfb606777bc451b4b8f31d9cc6", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json": "989b91821b36c0b80caf1323ec527e7ac847219b8f4fe8ca4ea22d292365cc3c", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-model-adaptation/metadata.json": "989b91821b36c0b80caf1323ec527e7ac847219b8f4fe8ca4ea22d292365cc3c" }, "skill_metadata": { "name": "ascend-model-adaptation", 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 c8c8be130..eea353c76 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_operator_profiling", "title": "ascend-operator-profiling", "repo": "inferrsi", @@ -20,19 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "401981cf7828edcab0c9ea882f7ecd83badfa3c2a95006e912cf99d67b3d6a12" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md" @@ -40,8 +27,7 @@ "checkout_ref": "checkout:ascend-operator-profiling", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/SKILL.md": "401981cf7828edcab0c9ea882f7ecd83badfa3c2a95006e912cf99d67b3d6a12", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json": "b2b93637f01546ecb1b7076be6798d234988c594cccdcb764ad222af9ad21af9", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-profiling/metadata.json": "b2b93637f01546ecb1b7076be6798d234988c594cccdcb764ad222af9ad21af9" }, "skill_metadata": { "name": "ascend-operator-profiling", 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 b62ad73dc..18769693a 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_operator_tuning", "title": "ascend-operator-tuning", "repo": "inferrsi", @@ -21,19 +21,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "38b151bc6b4e9734c6fa41efb7a30343559400c0c75bbdd26bd8a968b8ea4592" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md" @@ -41,8 +28,7 @@ "checkout_ref": "checkout:ascend-operator-tuning", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/SKILL.md": "38b151bc6b4e9734c6fa41efb7a30343559400c0c75bbdd26bd8a968b8ea4592", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json": "776fe88247ddacd3cf245920c580a9ff8f2a80fbc0ad1fa7d8be6d63b15a66f7", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-operator-tuning/metadata.json": "776fe88247ddacd3cf245920c580a9ff8f2a80fbc0ad1fa7d8be6d63b15a66f7" }, "skill_metadata": { "name": "ascend-operator-tuning", 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 690e6eb12..9aa7caa66 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_optimization_casebook", "title": "ascend-optimization-casebook", "repo": "inferrsi", @@ -19,19 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "647f5e9a288f2c4e1617ba53df59d9d827df749eb4fe86182d21a9c41175caf8" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md" @@ -39,8 +26,7 @@ "checkout_ref": "checkout:ascend-optimization-casebook", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/SKILL.md": "647f5e9a288f2c4e1617ba53df59d9d827df749eb4fe86182d21a9c41175caf8", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json": "e5e49bf7b24fbc32ddaf1aa8ec14051ef6393533b12bb2c55fff2fb0da927541", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-optimization-casebook/metadata.json": "e5e49bf7b24fbc32ddaf1aa8ec14051ef6393533b12bb2c55fff2fb0da927541" }, "skill_metadata": { "name": "ascend-optimization-casebook", 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 9550d00ec..004bdbda6 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_performance_analysis", "title": "ascend-performance-analysis", "repo": "inferrsi", @@ -19,21 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-CANN-2.0-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "a057b7f86a24f34a8f84abbbb4910d58d4e50ff47060e1c404600017e3febe89" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md" @@ -43,8 +28,7 @@ "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/SKILL.md": "a057b7f86a24f34a8f84abbbb4910d58d4e50ff47060e1c404600017e3febe89", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/metadata.json": "f3fb35b14b5b1054a9192459862451149395368f4a75f430caef2f41ad050296", "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-CANN-2.0-LICENSE.md": "89b1c114df62cfd183004f38d18d07f186436c3b37203dd69c3e84becf9d2282", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md": "f56e4125325c9c1b9235a1d64fd732861c7686444492422daff44ba8dd648be4", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-performance-analysis/references/cannbot-stage-evidence.md": "f56e4125325c9c1b9235a1d64fd732861c7686444492422daff44ba8dd648be4" }, "skill_metadata": { "name": "ascend-performance-analysis", 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 37d30f04b..2225b9462 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascend_video_diffusion_optimization", "title": "ascend-video-diffusion-optimization", "repo": "inferrsi", @@ -23,20 +23,6 @@ "origin": [ "first-party" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "53c21e64f0dd47f9510faef1f2c01e1283899787ba7ebfe70cdabd8e57a76f00" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md" @@ -45,8 +31,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/SKILL.md": "53c21e64f0dd47f9510faef1f2c01e1283899787ba7ebfe70cdabd8e57a76f00", "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/metadata.json": "35f725c9d9e0a8638b234da798232d2ae49a37b70f0b0360710bce333f9265ca", - "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md": "dadac7b23462fdc325218c72ddf8a2ac553151761a5d3e45b854b53d2c8c6908", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascend-video-diffusion-optimization/references/field-notes-video-diffusion.md": "dadac7b23462fdc325218c72ddf8a2ac553151761a5d3e45b854b53d2c8c6908" }, "skill_metadata": { "name": "ascend-video-diffusion-optimization", 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 1a322ad23..a796d5366 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.ascendc_tiling_design", "title": "ascendc-tiling-design", "repo": "inferrsi", @@ -21,19 +21,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "93aa1b775ced304cebfe6c4dec0503ddb2260ecb3cb01edc17ce329446c5ce2b" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md" @@ -41,8 +28,7 @@ "checkout_ref": "checkout:ascendc-tiling-design", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/SKILL.md": "93aa1b775ced304cebfe6c4dec0503ddb2260ecb3cb01edc17ce329446c5ce2b", - "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json": "03cfd09faa3edf42f9d08d0d8878fe5cb7c7a376abacf211dd8f500c698f3a8f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/ascendc-tiling-design/metadata.json": "03cfd09faa3edf42f9d08d0d8878fe5cb7c7a376abacf211dd8f500c698f3a8f" }, "skill_metadata": { "name": "ascendc-tiling-design", 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 fe684c959..f07058718 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.cann_attribution_overlap", "title": "cann-attribution-overlap", "repo": "inferrsi", @@ -21,19 +21,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "0e6f094dc554abea12e07def50f20b233b47127779a8aefad595b4ab1efd24c2" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md" @@ -41,8 +28,7 @@ "checkout_ref": "checkout:cann-attribution-overlap", "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/SKILL.md": "0e6f094dc554abea12e07def50f20b233b47127779a8aefad595b4ab1efd24c2", - "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json": "7ad137076afb55fbea74c6c5c0c0ca8eb3a8e615a765ec23199e8df75a8abd4f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/cann-attribution-overlap/metadata.json": "7ad137076afb55fbea74c6c5c0c0ca8eb3a8e615a765ec23199e8df75a8abd4f" }, "skill_metadata": { "name": "cann-attribution-overlap", 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 51ad1102d..8126b7271 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.torch_npu", "title": "torch-npu", "repo": "inferrsi", @@ -17,76 +17,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/NOTICE.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/capability-inventory.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/licenses/op-plugin-LICENSE.txt", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/licenses/op-plugin-THIRD-PARTY.txt", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/licenses/source-identities.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/licenses/torch-npu-LICENSE.txt", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/licenses/torch-npu-THIRD-PARTY.txt", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/licenses/torch-npu-docs-LICENSE.txt", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/repo-provenance.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/source-manifest.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/source-script-inventory.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/references/support-workflows.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/scripts/inspect_environment.py", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/scripts/operator_contract.py", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/scripts/runtime_smoke.py", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/distributed-and-hccl/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/distributed-and-hccl/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/distributed-and-hccl/references/hccl.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/distributed-and-hccl/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/distributed-and-hccl/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/graph-and-compile/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/graph-and-compile/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/graph-and-compile/references/graphs.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/graph-and-compile/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/graph-and-compile/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/installation-and-compatibility/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/installation-and-compatibility/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/installation-and-compatibility/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/installation-and-compatibility/references/stack.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/installation-and-compatibility/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/memory-streams-and-events/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/memory-streams-and-events/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/memory-streams-and-events/references/lifetimes.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/memory-streams-and-events/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/memory-streams-and-events/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/operator-development/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/operator-development/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/operator-development/references/development.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/operator-development/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/operator-development/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/privateuse1-and-dispatch/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/privateuse1-and-dispatch/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/privateuse1-and-dispatch/references/dispatch.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/privateuse1-and-dispatch/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/privateuse1-and-dispatch/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/profiling-and-debugging/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/profiling-and-debugging/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/profiling-and-debugging/references/profiling.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/profiling-and-debugging/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/profiling-and-debugging/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/metadata.json", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/training.md", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "7e92d5c8d3d49ebe72613a2eac0855b8d7faa670277f6d1a1f6b84ed0fe7441b" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/frameworks/torch-npu/torch-npu/SKILL.md" @@ -151,8 +81,7 @@ "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/metadata.json": "73e71cdcb98e187f1470eb71ec9030fa870e46d8cf6eaf396860b712c491aefa", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/source-map.md": "3bfc78d9348f9a1072120f82d7a1a7f042b4fe2ce908a005e22716a797dc0c7b", "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/training.md": "0695532020c71d061ddf40ad16536621e004c23dd05d27aaa9f5b46101f6ef62", - "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md": "0f7fb3879d51c793ca0fd6d14fd34352f94297f075295d01488ffab4c5fc0fa4", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/torch-npu/torch-npu/sub-skills/training-and-precision/references/troubleshooting.md": "0f7fb3879d51c793ca0fd6d14fd34352f94297f075295d01488ffab4c5fc0fa4" }, "skill_metadata": { "name": "torch-npu", 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 131abc06c..b6d092061 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.torchnpu_device_memory_lifecycle", "title": "torchnpu-device-memory-lifecycle", "repo": "inferrsi", @@ -19,20 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "8428df7157af024fa17cfe0b3818ed54bd9f468306dda46eb8d4f0edf4f3f230" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md" @@ -41,8 +27,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/SKILL.md": "8428df7157af024fa17cfe0b3818ed54bd9f468306dda46eb8d4f0edf4f3f230", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/metadata.json": "02de593e638e71c6debb763b6b0d5a5596e0b810bbe48450ead28dc43de83f99", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md": "80cba4d3a884e7ee2618326cf74b9f9c3a34e4d9cf443707f6bbe673f2d5ba65", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-device-memory-lifecycle/references/source-notes.md": "80cba4d3a884e7ee2618326cf74b9f9c3a34e4d9cf443707f6bbe673f2d5ba65" }, "skill_metadata": { "name": "torchnpu-device-memory-lifecycle", 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 e36a35bc4..260cc2b3c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.torchnpu_pinned_host_memory_lifecycle", "title": "torchnpu-pinned-host-memory-lifecycle", "repo": "inferrsi", @@ -19,20 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "23e93ea7c98f99743509fdc04139d78ed2e7123c63e80b366c6beaba7eb70d0d" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md" @@ -41,8 +27,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/SKILL.md": "23e93ea7c98f99743509fdc04139d78ed2e7123c63e80b366c6beaba7eb70d0d", "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/metadata.json": "0fa51de079663043fd5785beffb153d989b1cac5833dbd2c99535f6b782a5e95", - "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md": "435193590b4a2ba32e2e4c6fa9d7e8f889528d412cbbb48e35ec5433f7dab384", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/ascend/torchnpu-pinned-host-memory-lifecycle/references/source-notes.md": "435193590b4a2ba32e2e4c6fa9d7e8f889528d412cbbb48e35ec5433f7dab384" }, "skill_metadata": { "name": "torchnpu-pinned-host-memory-lifecycle", diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json index 609947ce4..e3d33a0ec 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/ascend/skills/vllm-ascend.json @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.ascend.skills.vllm_ascend", "title": "vllm-ascend", "repo": "inferrsi", @@ -36,30 +36,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/vllm-ascend/SKILL.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/metadata.json", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/communication-config.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/deepseek-v4-evolution.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/dspark-pd.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/fused-operators.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/history-reviewed.json", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/history-scope.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/minimax-cache.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/model-performance.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/plugin-registration.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/sources.md", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "0e8611f404a947613669ae024ac853eeadc02619e3a218c65b2583a3476a2452" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/vllm-ascend/SKILL.md" @@ -78,8 +54,7 @@ "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/model-performance.md": "6c9bda4499239fe7a206b578b8190ab36c5454d15b57eb4f591eb2ebe1e037e7", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/plugin-registration.md": "ab1b090f22bd0315d2a2e14324064a1c04653fd4eabeffa60de80b9e606de75c", "src/inferrsi/data/skill_library/repositories/vllm-ascend/references/sources.md": "9b588e6c4887ff7b5081a72f6fb63b5f53c2f716571b5855acbffc85dbbdc2ab", - "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py": "922aa44cc796503628edaff3779d69e5560cf73fa8175859e2fbd701e9ad69e6", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm-ascend/scripts/screen_history.py": "922aa44cc796503628edaff3779d69e5560cf73fa8175859e2fbd701e9ad69e6" }, "skill_metadata": { "name": "vllm-ascend", 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 9e86bd629..5c60d5f0a 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.assess_serving_preemption", "title": "assess-serving-preemption", "repo": "inferrsi", @@ -13,20 +13,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md", - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/metadata.json", - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "0a5f48d9352c5bf460775ef47f9136829978811f4a16e84983e299782cae305d" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/assess-serving-preemption/SKILL.md" @@ -35,8 +21,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/assess-serving-preemption/SKILL.md": "0a5f48d9352c5bf460775ef47f9136829978811f4a16e84983e299782cae305d", "src/inferrsi/data/skill_library/methods/assess-serving-preemption/metadata.json": "3e2cea37f5669e7c60f7c01c390a48ea960b15cbd6de8f5340cf8fe2afb9e1a1", - "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md": "f29fcecfba0490008a354c11b42403983fe165e56ff907ad61cc6040d2b6407f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/assess-serving-preemption/references/source-notes.md": "f29fcecfba0490008a354c11b42403983fe165e56ff907ad61cc6040d2b6407f" }, "skill_metadata": { "name": "assess-serving-preemption", 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 a2cd534e7..c54b40e84 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.assess_split_backward_schedule", "title": "assess-split-backward-schedule", "repo": "inferrsi", @@ -13,20 +13,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "1e64f28ea71672fb53c56f6108b87864738c6d03d6dcd32eedaef9e0625e96e3" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/assess-split-backward-schedule/SKILL.md" @@ -35,8 +21,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/SKILL.md": "1e64f28ea71672fb53c56f6108b87864738c6d03d6dcd32eedaef9e0625e96e3", "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/metadata.json": "a089dd2c2e5a4b41e970e426c63b5b8f65acc77d2e5a40a44b38543b5d730a00", - "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md": "61b1609f71c37b61d136b8c4d39f793de87cffb1cf31c8ec737a1c3fa6fb1b4e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/assess-split-backward-schedule/references/source-notes.md": "61b1609f71c37b61d136b8c4d39f793de87cffb1cf31c8ec737a1c3fa6fb1b4e" }, "skill_metadata": { "name": "assess-split-backward-schedule", 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 3a9acbe2f..d4e3f229f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_fixed_workload_claim", "title": "audit-fixed-workload-claim", "repo": "inferrsi", @@ -17,19 +17,6 @@ "origin": [ "internal" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "2be89b1340a3deb978c8e1792d18aeecbe8f5de81d4daf542389f53826b8ebee" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/audit-fixed-workload-claim/SKILL.md" @@ -37,8 +24,7 @@ "checkout_ref": "checkout:audit-fixed-workload-claim", "source_files": { "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/SKILL.md": "2be89b1340a3deb978c8e1792d18aeecbe8f5de81d4daf542389f53826b8ebee", - "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json": "c3c6ee33ce318c6ec052b848f9be9797b2b1febd8ea563face20db018613a110", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/audit-fixed-workload-claim/metadata.json": "c3c6ee33ce318c6ec052b848f9be9797b2b1febd8ea563face20db018613a110" }, "skill_metadata": { "name": "audit-fixed-workload-claim", 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 effc76a2d..7ce8bf12e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_h3_metal_fasth3_semantics", "title": "audit-h3-metal-fasth3-semantics", "repo": "inferrsi", @@ -26,28 +26,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/metadata.json", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/THIRD_PARTY_NOTICES.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/preflight.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/semantic-contracts.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "e5205de6eba52b3d1693666af755640697717e52ee7834e1ae30e4071b208d54" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/SKILL.md" @@ -64,8 +42,7 @@ "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-identity.json": "b0e63197725c6a1baa4888ca3c48ccd4926b6e6f0f8bf781ae76ac97ffd1ceb1", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/source-notes.md": "f9430103644eacd9c55ace6f84d8587fc0bc063bfcd9cb60e6045b139a9fee05", "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/references/troubleshooting.md": "ed552d87f9fb9fb2c56de64df61f3fc6e2333cb049116cd0736f784c8a327612", - "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py": "05bfb9348cf88a76f4fba8bc8a600fe54246d83a98c1685bc4847ace28e2fbac", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/h3-metal/audit-h3-metal-fasth3-semantics/scripts/audit_fasth3.py": "05bfb9348cf88a76f4fba8bc8a600fe54246d83a98c1685bc4847ace28e2fbac" }, "skill_metadata": { "name": "audit-h3-metal-fasth3-semantics", 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 af689d9a8..f45dd3c8b 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_h3_runtime_residency", "title": "audit-h3-runtime-residency", "repo": "inferrsi", @@ -27,28 +27,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/metadata.json", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/THIRD_PARTY_NOTICES.md", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/minimax-h3-apple.md", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/minimax-h3-weight-inventory.json", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/phase-residency.md", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/precision-and-streaming.md", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "fdb4d9483c6efa836f9e59617da605fa9c2186e11c2041b05d5c81850ba0475d" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/h3-c/audit-h3-runtime-residency/SKILL.md" @@ -65,8 +43,7 @@ "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/precision-and-streaming.md": "7e166c89193f4c7aed852ec95346a2de2b5008dac002e2e1862be1b3e57f6093", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-identity.json": "730f8dd23648a3f8f47b9726cc613d893a79d1817d515eec609a9b06d8a9ff90", "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/source-notes.md": "7304bf9369efc157dc7aa40686dd828cc14db45c49442e908b3d3cc4b329eb86", - "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md": "0754873a758e048480938314894e25b504ae0c269549312e7f8e6020d83fe294", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/h3-c/audit-h3-runtime-residency/references/validation.md": "0754873a758e048480938314894e25b504ae0c269549312e7f8e6020d83fe294" }, "skill_metadata": { "name": "audit-h3-runtime-residency", 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 09273061f..fb415942f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_llama_runtime_state", "title": "audit-llama-runtime-state", "repo": "inferrsi", @@ -20,20 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "95e81b6bc096a954fa73139ea5bc001d1efa6c99747161da62f012b494e5c013" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/SKILL.md" @@ -42,8 +28,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/llama-cpp/audit-llama-runtime-state/references/source-notes.md": "3d12a401e9decb55a2f4f3b2bfa0d360ef5110f63a0469dfe285654e78054190" }, "skill_metadata": { "name": "audit-llama-runtime-state", 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 999493df3..3843a55de 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_recurrent_kv_finalization", "title": "audit-recurrent-kv-finalization", "repo": "inferrsi", @@ -23,23 +23,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/metadata.json", - "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/NOTICE.md", - "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "a468d75f25e77b96e6fb5376692f7a89c0464cc00d4df035f1dc6cc923f713cc" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md" @@ -51,8 +34,7 @@ "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", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm-rlt/audit-recurrent-kv-finalization/references/source-notes.md": "0956f59cd9a1fac27da53228dd60c51a07b87639a43c09bfab296c4aeeceaab9" }, "skill_metadata": { "name": "audit-recurrent-kv-finalization", 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 9154886bf..fcb8a6a02 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_sd_cpp_residency", "title": "audit-sd-cpp-residency", "repo": "inferrsi", @@ -22,25 +22,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/metadata.json", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/loader-storage-boundaries.md", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/phase-residency.md", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "4c04d39812fb566e3ecb5807c170d5c32848eb2b93a1f0fedcf66ba9a9c92860" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/SKILL.md" @@ -54,8 +35,7 @@ "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", "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/source-notes.md": "c493af8f6fd11ab7c9a37c9eec78cac31d57c04403a790035efbb4fff99f4669", - "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md": "3aaf79b36192bf8ff3e8f95ac90f2e769aa065dfac1fe70368824f3591849b8d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/stable-diffusion-cpp/audit-sd-cpp-residency/references/validation-boundaries.md": "3aaf79b36192bf8ff3e8f95ac90f2e769aa065dfac1fe70368824f3591849b8d" }, "skill_metadata": { "name": "audit-sd-cpp-residency", 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 878163f13..e472f34dc 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_sglang_diffusion_lifetimes", "title": "audit-sglang-diffusion-lifetimes", "repo": "inferrsi", @@ -20,21 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/metadata.json", - "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "b0a4ba4751087126143ef86983798deb0ed00e24b6ff06bf6ef76a9df6e274f2" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/SKILL.md" @@ -44,8 +29,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/sglang/audit-sglang-diffusion-lifetimes/references/source-notes.md": "d0fcfd1177ae2f351041c5b2abba7f5121cec133006d9e4dca8f74ddb567332d" }, "skill_metadata": { "name": "audit-sglang-diffusion-lifetimes", 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 776e38795..9eac5b715 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.audit_vllm_kv_lifetimes", "title": "audit-vllm-kv-lifetimes", "repo": "inferrsi", @@ -18,20 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "4c3f27459df239f9f4fc971c559d4c9ddfbfebd70507a8a93be8eae59a30b69d" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/SKILL.md" @@ -40,8 +26,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm/audit-vllm-kv-lifetimes/references/source-notes.md": "3665b034594fc8cc767c408002f4e16f8803369242405027c7f37ce6c9ecebe9" }, "skill_metadata": { "name": "audit-vllm-kv-lifetimes", 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 513a2168d..3c5c834f8 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.bound_windowed_attention_replay", "title": "bound-windowed-attention-replay", "repo": "inferrsi", @@ -20,21 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "4703beb6e5194ef2ff2c0b5ec69f64e35417a4bc0dfb50a10c80a920b77ef3b5" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/SKILL.md" @@ -44,8 +29,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/deepinfer/bound-windowed-attention-replay/references/validation.md": "60e71e70c5519bcdf6c171eec2be2f342e8801bedd746d6005f11adc646dfaff" }, "skill_metadata": { "name": "bound-windowed-attention-replay", 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 1f3809028..9b4333a27 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.budget_speculative_verification", "title": "budget-speculative-verification", "repo": "inferrsi", @@ -20,21 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "f157562d1edc905cb4fc07246567e3c5b844efb9fbf5fe39f0d40553a1b1a307" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/deepinfer/budget-speculative-verification/SKILL.md" @@ -44,8 +29,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/deepinfer/budget-speculative-verification/references/validation.md": "673d93f6700052974b340fab25b3438e0e6344960569ac9abec7d7720f662288" }, "skill_metadata": { "name": "budget-speculative-verification", 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 86af6b231..92f8e1d07 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.calibrate_serving_simulation", "title": "calibrate-serving-simulation", "repo": "inferrsi", @@ -13,22 +13,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/SKILL.md", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/metadata.json", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/infera-serving-search/README.md", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/infera-serving-search/source-record.json", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "500231dd32f470dc90831ff1cdf5a8f0c791660958db92fcfbaa333162c28e5a" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/calibrate-serving-simulation/SKILL.md" @@ -39,8 +23,7 @@ "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/metadata.json": "69fbc43e3b354670600dc8e8423957f28c90e30b5270f2659020cc4473f25509", "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/infera-serving-search/README.md": "fe614b1c62f1d4a9db797a85d9b11931ae32169c40109c7b69ecd648fb6e9d1e", "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/infera-serving-search/source-record.json": "61fafa5e92ae6312f8792e4630a35c78da4c1810fac4bf9cde385824c3894f36", - "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md": "9696d3c0ef96b6611787446bd6f96d4d6255ca8d107105de8c1d9af83edb9fa5", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/calibrate-serving-simulation/references/source-notes.md": "9696d3c0ef96b6611787446bd6f96d4d6255ca8d107105de8c1d9af83edb9fa5" }, "skill_metadata": { "name": "calibrate-serving-simulation", 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 767e61397..3ff1749e7 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.cgroup_resource_controls", "title": "cgroup-resource-controls", "repo": "inferrsi", @@ -22,19 +22,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "fd1f5a7e6a55714730044155f5b38c1d700383d4e16c3e91963bbfbe1c773af5" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md" @@ -42,8 +29,7 @@ "checkout_ref": "checkout:cgroup-resource-controls", "source_files": { "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/SKILL.md": "fd1f5a7e6a55714730044155f5b38c1d700383d4e16c3e91963bbfbe1c773af5", - "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json": "155aa391e573fa5bd90a089f4e3d06f357795f5d89c8cf9260e3e8ec3636b243", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/cgroup-resource-controls/metadata.json": "155aa391e573fa5bd90a089f4e3d06f357795f5d89c8cf9260e3e8ec3636b243" }, "skill_metadata": { "name": "cgroup-resource-controls", 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 470084705..9f4b11141 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.checkpoint_recovery_consistency", "title": "checkpoint-recovery-consistency", "repo": "inferrsi", @@ -19,21 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/metadata.json", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/dlrover-persistence-replicas.md", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "6b7db1eb2780dec27858cb7aa0a3c093c5b5dfa4c30261aebfeaa255213ff688" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md" @@ -43,8 +28,7 @@ "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/SKILL.md": "6b7db1eb2780dec27858cb7aa0a3c093c5b5dfa4c30261aebfeaa255213ff688", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/metadata.json": "4185ff9f8b4c06d2a984753127780f29ceebf50d87b225a7697bfecccc2a4a60", "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/dlrover-persistence-replicas.md": "055f4357f79026fcbcc766bbe77db610376ec353623f8898f5d14a30ee69e7bc", - "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md": "9425b1aab963a2c8d35f3db897bd15ee69699bf5b0d0c8425c3c8bba3e9a0233", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/checkpoint-recovery-consistency/references/sources.md": "9425b1aab963a2c8d35f3db897bd15ee69699bf5b0d0c8425c3c8bba3e9a0233" }, "skill_metadata": { "name": "checkpoint-recovery-consistency", 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 6f3c13c00..8635cf142 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.choose_parallel_training_plan", "title": "choose-parallel-training-plan", "repo": "inferrsi", @@ -13,20 +13,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "25d04aed9782b2a8ff1186828becdc7fce93c4418039ceaef9b8dcc5ec9bcd24" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/choose-parallel-training-plan/SKILL.md" @@ -35,8 +21,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/SKILL.md": "25d04aed9782b2a8ff1186828becdc7fce93c4418039ceaef9b8dcc5ec9bcd24", "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/metadata.json": "4990d0a2f1a269111a680f45a5d91221af37e3f8b3ce514fea84e97878e767cd", - "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md": "9f9184d46b19312138a6e805e439e43dc0594a0cc6b46675255a582dc946ca5b", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/choose-parallel-training-plan/references/source-notes.md": "9f9184d46b19312138a6e805e439e43dc0594a0cc6b46675255a582dc946ca5b" }, "skill_metadata": { "name": "choose-parallel-training-plan", 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 aa1c3c953..2aad8ab10 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.cite_check_downstream_pr", "title": "cite-check-downstream-pr", "repo": "inferrsi", @@ -19,26 +19,12 @@ "origin": [ "first-party" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", - "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md", - "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/metadata.json" - ], - "content_sha256": "485932cdf3b1fba5dc69be73e75d38f86a7b79442d26e82a296c963a7598d226" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/workflows/cite-check-downstream-pr/SKILL.md" }, "checkout_ref": "checkout:cite-check-downstream-pr", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/SKILL.md": "485932cdf3b1fba5dc69be73e75d38f86a7b79442d26e82a296c963a7598d226", "src/inferrsi/data/skill_library/workflows/cite-check-downstream-pr/metadata.json": "ade23e3def5c7b875fba4084d32fa63b1af90bebeade72506265c974405eb55d" }, 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 32c1f90c7..b2b4ad109 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.claim_contract", "title": "claim-contract", "repo": "inferrsi", @@ -19,26 +19,12 @@ "origin": [ "first-party" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", - "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md", - "src/inferrsi/data/skill_library/workflows/claim-contract/metadata.json" - ], - "content_sha256": "3af1dbbe81d91cb05fc2ef15a2ae25d7592a08558e1a5535f49c52f33a488c55" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/workflows/claim-contract/SKILL.md" }, "checkout_ref": "checkout:claim-contract", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/claim-contract/SKILL.md": "3af1dbbe81d91cb05fc2ef15a2ae25d7592a08558e1a5535f49c52f33a488c55", "src/inferrsi/data/skill_library/workflows/claim-contract/metadata.json": "25c0137cf347f75d7ff8f8305d9ff5f055c6881ddf4b708f923c3176de16c153" }, 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 8800e6b8c..859b0ca16 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.comfy_ui", "title": "comfy-ui", "repo": "inferrsi", @@ -19,24 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/comfy-ui/LICENSE", - "src/inferrsi/data/skill_library/repositories/comfy-ui/SKILL.md", - "src/inferrsi/data/skill_library/repositories/comfy-ui/metadata.json", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/graph-cache-invalidation.md", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/model-residency.md", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "c993bd6ff8e9b5f82f39f175ec8242341136e4ee0808af414e1d94ad3e196c5e" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/comfy-ui/SKILL.md" @@ -49,8 +31,7 @@ "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", - "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md": "1913dedbeb558d872d6a0e015cc11d822910c3cb259a236db29fb60ad8a64263", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/comfy-ui/references/validation-boundaries.md": "1913dedbeb558d872d6a0e015cc11d822910c3cb259a236db29fb60ad8a64263" }, "skill_metadata": { "name": "comfy-ui", 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 416fb332d..840d849f8 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.competitor_scan", "title": "competitor-scan", "repo": "inferrsi", @@ -18,26 +18,12 @@ "origin": [ "first-party" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", - "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md", - "src/inferrsi/data/skill_library/workflows/competitor-scan/metadata.json" - ], - "content_sha256": "0ede58ace65a9324a538b4816add1684f230ba536d4364fe5a5dd2c0bbed3776" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/workflows/competitor-scan/SKILL.md" }, "checkout_ref": "checkout:competitor-scan", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/competitor-scan/SKILL.md": "0ede58ace65a9324a538b4816add1684f230ba536d4364fe5a5dd2c0bbed3776", "src/inferrsi/data/skill_library/workflows/competitor-scan/metadata.json": "e1a279c0b730c80fa34ca985c004d4084dae5ee77685f7f2b642cf469bfffffc" }, 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 fdc95f165..a0beff697 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.dcp_async_save_performance", "title": "dcp-async-save-performance", "repo": "inferrsi", @@ -20,20 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "645139ee0c88ec865cad952e24cda35f4648d4b777b732c9b7d274b6c7830845" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/frameworks/pytorch/dcp-async-save-performance/SKILL.md" @@ -42,8 +28,7 @@ "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": "49764fa454403fb38891d82ee63de1e07a90d3ff6a3cd28550aee7ea34cbdcb0", - "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md": "22afe4f4d77f441096cc657d55d763473bfcbea8fb531c8e493fe49ab84955f7", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/pytorch/dcp-async-save-performance/references/sources.md": "22afe4f4d77f441096cc657d55d763473bfcbea8fb531c8e493fe49ab84955f7" }, "skill_metadata": { "name": "dcp-async-save-performance", 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 518d69e9c..b2fa9082b 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.dense_performance_evidence", "title": "dense-performance-evidence", "repo": "inferrsi", @@ -18,19 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md", - "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "53cc1867a13f54d1006d50517dea8848869ca50df3f0cd610b2424cc8d18c933" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/dense-performance-evidence/SKILL.md" @@ -38,8 +25,7 @@ "checkout_ref": "checkout:dense-performance-evidence", "source_files": { "src/inferrsi/data/skill_library/methods/dense-performance-evidence/SKILL.md": "53cc1867a13f54d1006d50517dea8848869ca50df3f0cd610b2424cc8d18c933", - "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json": "041780985dcaf76809d29dc0d4e242359b17b6bcfaadab2d05674fa4699a5427", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/dense-performance-evidence/metadata.json": "041780985dcaf76809d29dc0d4e242359b17b6bcfaadab2d05674fa4699a5427" }, "skill_metadata": { "name": "dense-performance-evidence", 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 dd0085dd2..2bc6fddeb 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.diagnose_vllm_admission_pressure", "title": "diagnose-vllm-admission-pressure", "repo": "inferrsi", @@ -18,33 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/INTEGRATION_NOTES.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/cases/migration-is-not-free-memory.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/cases/parallelism-change-with-state-cost.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/cases/preemption-under-kv-pressure.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/knowledge/scheduling-state-boundaries.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/notes/fastserve.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/notes/llumnix.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/notes/loongserve.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/notes/orca.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/fastserve-readset.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/llumnix-readset.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/loongserve-readset.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/orca-readset.md", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "d99fc28d48127d3bc627f2a0cab6f3f16158a77da49428838a08865adaea9905" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/SKILL.md" @@ -66,8 +39,7 @@ "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/llumnix-readset.md": "3a2819d65ad24087c08530492ef39d8ea046ed1f780d53512f1d23e2b3578487", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/loongserve-readset.md": "f1a383e7bdbbd5a5a472d7f6e1292c8a17d4910ff736ca5a6aa422e1bee74f8c", "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/papers-20261015/references/orca-readset.md": "a497ef23b7e60c0fbc15d95b7e07cd20547cfe56f37c24dfe6ed70d79ef7a3cf", - "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md": "84033fd514773f10c0bddd9914fabb980497ba2b308f226a922c3e1888413827", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm/diagnose-vllm-admission-pressure/references/source-notes.md": "84033fd514773f10c0bddd9914fabb980497ba2b308f226a922c3e1888413827" }, "skill_metadata": { "name": "diagnose-vllm-admission-pressure", 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 0059db7ed..72d278d7f 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.diffusers_invocation_state", "title": "diffusers-invocation-state", "repo": "inferrsi", @@ -19,22 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/ownership.md", - "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "7581b56336d07213a87d01477793ae1a8acf0b7cf876fce36c9a761ee32c1ff4" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/frameworks/diffusers/diffusers-invocation-state/SKILL.md" @@ -45,8 +29,7 @@ "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", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/diffusers/diffusers-invocation-state/references/validation.md": "5a0b854b87d091d7d505b0bdd5c03330052507a851ab6edf35b93a6675f2d4f7" }, "skill_metadata": { "name": "diffusers-invocation-state", 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 9d0705624..fe93e657a 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.draft_acceptance_issue", "title": "draft-acceptance-issue", "repo": "inferrsi", @@ -19,26 +19,12 @@ "origin": [ "first-party" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", - "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md", - "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/metadata.json" - ], - "content_sha256": "ce983acfb7d7d3272775e7cf00c92e4ddadd97511b602575a76e5ab7ade01b56" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/workflows/draft-acceptance-issue/SKILL.md" }, "checkout_ref": "checkout:draft-acceptance-issue", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/SKILL.md": "ce983acfb7d7d3272775e7cf00c92e4ddadd97511b602575a76e5ab7ade01b56", "src/inferrsi/data/skill_library/workflows/draft-acceptance-issue/metadata.json": "ff1c463a13d0c869baaf90505a7fe981d684ee7b79f2fa8d2358340b6b4139a7" }, 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 2efa8d04f..14ebd83d3 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.dwarfstar", "title": "dwarfstar", "repo": "inferrsi", @@ -22,33 +22,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/dwarfstar/LICENSE", - "src/inferrsi/data/skill_library/repositories/dwarfstar/SKILL.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/metadata.json", - "src/inferrsi/data/skill_library/repositories/dwarfstar/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/dwarfstar/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/dwarfstar/scripts/request_template.py", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/qualification/SKILL.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/qualification/references/verification-contract.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/SKILL.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/references/memory-ledger.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/SKILL.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/state-contracts.md", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "a04a252ecdcd4710a3273595f4bd1f3eb8e24d5bb1bfe005f058a78388254dc9" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/dwarfstar/SKILL.md" @@ -70,8 +43,7 @@ "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/runtime-memory/references/troubleshooting.md": "42e4785b7d3c1375efa324583897327f28ef76c0b7788092da92095bddeb1440", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/SKILL.md": "71c27212847146376d72e6cc6d22abe2f7eed56402c5917cd7dfcda0b2aa5982", "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/state-contracts.md": "8f74a07c947021e3069468268f6b5aa2548a17db518c5c0505b84dde73a1f31c", - "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md": "c9eebe4109d418c4dfb9bb2425c145ebc1a52da9b665e0556149bc31a442e2fc", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/dwarfstar/sub-skills/serving-state/references/troubleshooting.md": "c9eebe4109d418c4dfb9bb2425c145ebc1a52da9b665e0556149bc31a442e2fc" }, "skill_metadata": { "name": "dwarfstar", 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 daf338b54..1a40e93a9 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.evaluate_elastic_serving_placement", "title": "evaluate-elastic-serving-placement", "repo": "inferrsi", @@ -13,20 +13,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "82d0099d3c33706f46c657d4fa7f76d3d486e019b36760d1de001921328a60cc" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md" @@ -35,8 +21,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/SKILL.md": "82d0099d3c33706f46c657d4fa7f76d3d486e019b36760d1de001921328a60cc", "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/metadata.json": "091a3b95d1a8996b5ad917e7948efb4ed598e31c7163709377f8e9199cebfe26", - "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md": "ea416831fd7d0874e06d0a76fb0c7196df53072b717673a0cdf635db6bfd917b", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/evaluate-elastic-serving-placement/references/source-notes.md": "ea416831fd7d0874e06d0a76fb0c7196df53072b717673a0cdf635db6bfd917b" }, "skill_metadata": { "name": "evaluate-elastic-serving-placement", 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 ccee4065e..6174a1f32 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.generation_cache_lifecycle", "title": "generation-cache-lifecycle", "repo": "inferrsi", @@ -19,23 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/cache-stop.md", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/generation-batch.md", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/source-map.md", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "bf1177cb9985c12a9bf11edb64771018e1e314c4713920de8fd4a989ff70115f" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/SKILL.md" @@ -47,8 +30,7 @@ "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", - "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md": "73b5dd347017baba519ecc85415aead9993c1751d116b9ba4f07689f58c5f783", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mlx-lm/generation-cache-lifecycle/references/validation.md": "73b5dd347017baba519ecc85415aead9993c1751d116b9ba4f07689f58c5f783" }, "skill_metadata": { "name": "generation-cache-lifecycle", 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 c13252792..77bd53671 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.host_memory_management", "title": "host-memory-management", "repo": "inferrsi", @@ -27,28 +27,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/host/host-memory-management/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/cpython-PSF-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/cpython-free-threading-readset.json", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/legacy-source-notes.md", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-host-copy-readset.json", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-host-copy.md", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-LICENSE.md", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload-readset.json", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "4c8db9f603cd581d002e8f41da65af9cbd03699be05c4965a55de47e044e4dd8" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/host/host-memory-management/SKILL.md" @@ -65,8 +43,7 @@ "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/pytorch-host-copy.md": "fa9da5c39d37ebe44e5a336a7b88d7aece6a0f118ec47cb38271e29925e11117", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-LICENSE.md": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload-readset.json": "cc6c2011be746002ba3ff96ccefab1809863748ddd17eb102b75e7b0e134fe55", - "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md": "6c2a72b5ba3708a01d229e0576570837a617e6a42dbb0b5312a26a65a6c31542", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/host-memory-management/references/vllm-ascend-native-offload.md": "6c2a72b5ba3708a01d229e0576570837a617e6a42dbb0b5312a26a65a6c31542" }, "skill_metadata": { "name": "host-memory-management", 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 b875b6507..9642bf277 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.host_overhead_optimization", "title": "host-overhead-optimization", "repo": "inferrsi", @@ -19,20 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "36ef88826a32ac3147b869001004ded17a8d5a491e25bfe105005ba39ea9d1eb" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/host/host-overhead-optimization/SKILL.md" @@ -41,8 +27,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/SKILL.md": "36ef88826a32ac3147b869001004ded17a8d5a491e25bfe105005ba39ea9d1eb", "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/metadata.json": "db3c63ca77a46e647a806e094ae662504768a958d537630a4d7bcabde35d6da3", - "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md": "f452bf40132c9195d739f1c86b3aa18857138c7ed0f1861af5853d93b9955924", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/host-overhead-optimization/references/deepinfer-zero-overhead-scheduling.md": "f452bf40132c9195d739f1c86b3aa18857138c7ed0f1861af5853d93b9955924" }, "skill_metadata": { "name": "host-overhead-optimization", 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 dc8593e3a..02ac8788b 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.husky", "title": "husky", "repo": "inferrsi", @@ -18,25 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/husky/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/husky/SKILL.md", - "src/inferrsi/data/skill_library/repositories/husky/metadata.json", - "src/inferrsi/data/skill_library/repositories/husky/references/author-report.md", - "src/inferrsi/data/skill_library/repositories/husky/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/husky/references/source-availability.json", - "src/inferrsi/data/skill_library/repositories/husky/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/husky/references/verification-protocol.md", - "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "ac86afdabf9adffb684cb635971934438724bdfde8628ec549727ea23c40cf3b" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/husky/SKILL.md" @@ -50,8 +31,7 @@ "src/inferrsi/data/skill_library/repositories/husky/references/source-availability.json": "d3523e53c89d4aee5bfaa17db84501aa4c4eddd59bcee486df5d48d3aa48173d", "src/inferrsi/data/skill_library/repositories/husky/references/troubleshooting.md": "3948711437d25822d389dd857c72dc7fcc15727c9048d2e3eae3317d97aca6dd", "src/inferrsi/data/skill_library/repositories/husky/references/verification-protocol.md": "83c5a966ed3f721b412b8d8417af8336c5a8c1e46044a888720936bf2f1deeab", - "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py": "291e62701ef7a37a5bfab963ea4e20abb94245bc015584223a101f18b1490895", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/husky/scripts/audit_evidence_card.py": "291e62701ef7a37a5bfab963ea4e20abb94245bc015584223a101f18b1490895" }, "skill_metadata": { "name": "husky", 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 b8c737761..24a44193c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.inference_benchmark_design", "title": "inference-benchmark-design", "repo": "inferrsi", @@ -39,30 +39,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/SKILL.md", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/metadata.json", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/autotunebench-source.json", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/autotunebench-trial-validity.md", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/benchmark-commands.md", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/cache-aware-asr-stream-boundaries.md", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-evaluation-contracts.md", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/justgoal-source.json", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/ninfer-source.json", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/ninfer-state-and-completion-contracts.md", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/xeforge-source.json", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/xeforge-trial-evidence.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "9deb10a23233949f8edc7673c77932f7a4871c9c8b3e978147eef100418792a5" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/inference-benchmark-design/SKILL.md" @@ -81,8 +57,7 @@ "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/ninfer-state-and-completion-contracts.md": "2b3de210d1790eec92319addadf0e38fcd1529fa2f23b5cddf96a789b783f4ac", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/task-benchmark-selection.md": "0d4bb080a754e26846e81680023db0dff5e6a4c96be4327c411c3b72ac4ef8e2", "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/xeforge-source.json": "6c21791b9c8ecbc9645c6deb659bd897e17f70525536ea25e884a62fc5fb6b25", - "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/xeforge-trial-evidence.md": "802c4dfe83983cbd6740231d5d0e2b459792b685de8dfbefb6dc51a912e23604", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/inference-benchmark-design/references/xeforge-trial-evidence.md": "802c4dfe83983cbd6740231d5d0e2b459792b685de8dfbefb6dc51a912e23604" }, "skill_metadata": { "name": "inference-benchmark-design", 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 a14666dde..9e42a9d12 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.inference_optimization_casebook", "title": "inference-optimization-casebook", "repo": "inferrsi", @@ -18,27 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/inference-optimization-casebook/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/admission-drain-occupancy.md", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/drama3-rejected-directions.json", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/drama3-rejected-directions.md", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-ascend-rejected-directions.json", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-ascend-rejected-directions.md", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.json", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.md", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "89a6a82c692f7f5192f4d7f4c3a5ff08a4df3b1c4bdaa0aafb7e04292d8aa5b4" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/inference-optimization-casebook/SKILL.md" @@ -54,8 +33,7 @@ "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-ascend-rejected-directions.md": "be396983812262515899a3e2ba4f01b23ff92e1b836881882c7580372b8ae552", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.json": "146ea1564a46ed03092c7dc5796b318fc05b04b1821105ee00eb7fa7fa1333e2", "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/cases/qwen-b300-rejected-directions.md": "cce2930f544a0f78f21797fba4d8ded298e4a81f76c34d7977b0e31d361bc738", - "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json": "963488658f327d2379183d70357eabf832d70a6a70db2aa67f548493f4088d97", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/inference-optimization-casebook/metadata.json": "963488658f327d2379183d70357eabf832d70a6a70db2aa67f548493f4088d97" }, "skill_metadata": { "name": "inference-optimization-casebook", 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 6383fab15..ba276fb8c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.kernel_writing_guide", "title": "kernel-writing-guide", "repo": "inferrsi", @@ -36,35 +36,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/kernel-writing-guide/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/cases/hf-qwen35-gdn-binding.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/cases/sglang-gdn-source-contract.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/cases/sglang-gdn-source-contract.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/cases/vllm-gdn-causal-conv-contract.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/cases/vllm-gdn-source-contract.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/cases/vllm-gdn-source-contract.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/metadata.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/akg-affine-tail-guards.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/causal-conv1d-contract.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/hf-qwen35-gdn-binding.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/hf-qwen35-gdn-source.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/licenses/sglang-LICENSE.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/pplx-gdn-caller-context.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-causal-conv-contract.md", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-source-files.json", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "360361f592ec3a24834198372cbf92aaedc1720404d182df94315eb0e01d58dd" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/kernel-writing-guide/SKILL.md" @@ -88,8 +59,7 @@ "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/pplx-gdn-caller-context.json": "0219fc9ad785da4e638c1680bc9eaf28672aa32313824f52bdcaed61d29bca87", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-causal-conv-contract.md": "c9f27b0231ddec3d14d6fa0831d1494ffd8e11bd8ad704e04be3bc4a4ffc0e58", "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/sglang-gdn-source-files.json": "4c7ec2cfd2c29297e185ce09b4d9b2040fbe3635943c112f9ebb71dca8ab381b", - "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md": "eec09a6e95983c46b67d5f066d34419c17819899f5d8e3c65f2f163f2ada0fde", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/kernel-writing-guide/references/vllm-gdn-causal-conv-contract.md": "eec09a6e95983c46b67d5f066d34419c17819899f5d8e3c65f2f163f2ada0fde" }, "skill_metadata": { "name": "kernel-writing-guide", 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 59f49f94b..e904a6009 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.kv_tier_management", "title": "kv-tier-management", "repo": "inferrsi", @@ -21,19 +21,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "e4b78f368d70c8abb74a935acb910414015f1aeec1b50f7a295e836822ec4b27" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/lmcache/kv-tier-management/SKILL.md" @@ -41,8 +28,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": "85f7242b83334af11f57799875738b498bfe4680a51f36727792dfbe91806704", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/lmcache/kv-tier-management/metadata.json": "85f7242b83334af11f57799875738b498bfe4680a51f36727792dfbe91806704" }, "skill_metadata": { "name": "kv-tier-management", 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 12ba4d43e..9028e904b 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.lazy_evaluation_stream_lifetimes", "title": "lazy-evaluation-stream-lifetimes", "repo": "inferrsi", @@ -19,22 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/execution-lifetime.md", - "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/source-map.md", - "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "a95569bcc0da6e715fd74783a6a1e0489e92b680c582f15dafbf98df589d505a" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/SKILL.md" @@ -45,8 +29,7 @@ "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", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/mlx/lazy-evaluation-stream-lifetimes/references/validation.md": "ebfc00bf7d6ab0a1dc415953ae84d56ccdc713d5614aff85e433c4a843793bff" }, "skill_metadata": { "name": "lazy-evaluation-stream-lifetimes", 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 030058c42..2b611403d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.lily", "title": "lily", "repo": "inferrsi", @@ -22,36 +22,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/lily/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/lily/LICENSE", - "src/inferrsi/data/skill_library/repositories/lily/NOTICE.md", - "src/inferrsi/data/skill_library/repositories/lily/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lily/metadata.json", - "src/inferrsi/data/skill_library/repositories/lily/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/lily/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/lily/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/model-runtime/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/model-runtime/references/model-and-memory.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/model-runtime/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/model-runtime/scripts/screen_config.py", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/qualification/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/qualification/references/verification-contract.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/qualification/scripts/audit_benchmark_record.py", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/api-and-session.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "db815674d5d36964902041d310d3df844d00ab2e6bef0ce4b72ed2696ab2b9aa" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/lily/SKILL.md" @@ -76,8 +46,7 @@ "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/SKILL.md": "7e062ff9af76125ef08c98b4465e0439c66e9e237f0c39ea0285005cc5496cfb", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/api-and-session.md": "7262bb077c24f2f7549d450473ec7944829940d09cca89db9c12f37ac90d5db0", "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/references/troubleshooting.md": "6e2f36d2f7ab9eae665d87a676e34c0ebd2f46f3df6fa5f2e589a306749a87b5", - "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py": "d6b00c9f0b38c7fb0a0e52e396993a832542ea0aa6e2456026fabc0c39a4d33a", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/lily/sub-skills/serving-cache/scripts/request_template.py": "d6b00c9f0b38c7fb0a0e52e396993a832542ea0aa6e2456026fabc0c39a4d33a" }, "skill_metadata": { "name": "lily", 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 35db2d340..ad0902b72 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.lithos_metal", "title": "lithos-metal", "repo": "inferrsi", @@ -18,40 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/lithos-metal/LICENSE", - "src/inferrsi/data/skill_library/repositories/lithos-metal/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/metadata.json", - "src/inferrsi/data/skill_library/repositories/lithos-metal/references/mlx-license.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/references/notices.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/references/package-api.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/references/source-notes.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/references/upstream-notice.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/scripts/inspect_contract.py", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/compile-fusion/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/compile-fusion/metadata.json", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/compile-fusion/references/mechanisms.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/compile-fusion/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/generation-state/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/generation-state/metadata.json", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/generation-state/references/state-machine.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/generation-state/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/SKILL.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/metadata.json", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "4c71ba2f26c275829466bba2412738aa27799842e642c75cdfd36d9ed8713f7f" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/lithos-metal/SKILL.md" @@ -80,8 +46,7 @@ "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/SKILL.md": "01c38c2678d6e8292a3908bf5619b332432c5f1289fd5d5a67eb44a2141adb90", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/metadata.json": "2fca222efac7752e29f236f40a0bc38275045826b55955687e39c64ffb69f58f", "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/troubleshooting.md": "52c6e27a76547475b5c66121f873f4d2c1662c811a69da64ce85614f1bd44749", - "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md": "298d27d3c748fe22774b872ed0465b707e53812379a7a538c95f25d1727fc796", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/lithos-metal/sub-skills/serving-cache/references/workflows.md": "298d27d3c748fe22774b872ed0465b707e53812379a7a538c95f25d1727fc796" }, "skill_metadata": { "name": "lithos-metal", 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 600113d01..ea2e04ca0 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.local_dream", "title": "local-dream", "repo": "inferrsi", @@ -26,26 +26,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/local-dream/SKILL.md", - "src/inferrsi/data/skill_library/repositories/local-dream/metadata.json", - "src/inferrsi/data/skill_library/repositories/local-dream/references/android-lifecycle.md", - "src/inferrsi/data/skill_library/repositories/local-dream/references/native-contracts.md", - "src/inferrsi/data/skill_library/repositories/local-dream/references/packaging-and-abi.md", - "src/inferrsi/data/skill_library/repositories/local-dream/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/local-dream/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/local-dream/references/upstream-license.md", - "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "e51fd3c71d693070abeba57ca67dcca82c7347cb94eb98f43e7c455bcacbaa46" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/local-dream/SKILL.md" @@ -60,8 +40,7 @@ "src/inferrsi/data/skill_library/repositories/local-dream/references/repo-provenance.md": "0b848082c0ce893d8ae26d779c5b663d914d1a208cb2293c4a84668cdde86293", "src/inferrsi/data/skill_library/repositories/local-dream/references/source-identity.json": "b85f028bb96a37852e9d9780b5d5052fdd9c8f3a704ad391b6381adb58291347", "src/inferrsi/data/skill_library/repositories/local-dream/references/upstream-license.md": "41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0", - "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py": "ccd7d0d55be9a47484ec3a74498d8edef8aba55287f92287775c8d82050c8932", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/local-dream/scripts/screen_declarations.py": "ccd7d0d55be9a47484ec3a74498d8edef8aba55287f92287775c8d82050c8932" }, "skill_metadata": { "name": "local-dream", 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 6c3fd7c59..b54d93735 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.mistral_rs", "title": "mistral-rs", "repo": "inferrsi", @@ -23,42 +23,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/mistral-rs/LICENSE", - "src/inferrsi/data/skill_library/repositories/mistral-rs/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/metadata.json", - "src/inferrsi/data/skill_library/repositories/mistral-rs/references/apache-component-license.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/references/paged-component-notice.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/mistral-rs/references/scope-and-notices.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/decode-contract/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/decode-contract/references/helper-contract.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/decode-contract/references/layout-and-features.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/decode-contract/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/decode-contract/references/workspace-and-evidence.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/decode-contract/scripts/audit_decode_metadata.py", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/prefill-contract/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/prefill-contract/references/helper-contract.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/prefill-contract/references/prefill-and-metadata.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/prefill-contract/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/prefill-contract/scripts/screen_prefill_metadata.py", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/prewarm-and-evidence.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/warmup-inventory.md", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "8917b30fb86437dea7508275ccce1992194d6e0c4858d537a410bf1f900953d0" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/mistral-rs/SKILL.md" @@ -89,8 +53,7 @@ "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/prewarm-and-evidence.md": "6b72ae4b4599018ce2da5c54d0c28fadcafb7ce75b81ce4c18c06a440aab6056", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/troubleshooting.md": "d933bea6e9e493faa8cd0f4103ea33197ace7f7f901359f8cf0d6bab2edcdb4d", "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/references/warmup-inventory.md": "1e7af7d63c6853ede4232b5a12cf68aba6597c4a305015366f1c2c917e3caf01", - "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py": "6aa920ca1cb534dec41f5dd2d833c3e760b234ab2c6439b6c4250b8a30b74055", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mistral-rs/sub-skills/qualification/scripts/warmup_shape_inventory.py": "6aa920ca1cb534dec41f5dd2d833c3e760b234ab2c6439b6c4250b8a30b74055" }, "skill_metadata": { "name": "mistral-rs", 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 1ddfaab80..4b5c56c23 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.mlc_llm", "title": "mlc-llm", "repo": "inferrsi", @@ -24,45 +24,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/mlc-llm/LICENSE", - "src/inferrsi/data/skill_library/repositories/mlc-llm/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/metadata.json", - "src/inferrsi/data/skill_library/repositories/mlc-llm/references/mlc-notice.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/mlc-llm/references/scope-and-notices.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/mlc-llm/references/tvm-license.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/references/tvm-notice.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/artifact-contract/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/artifact-contract/references/contract-mechanisms.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/artifact-contract/references/helper-contract.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/artifact-contract/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/artifact-contract/scripts/audit_artifact_declarations.py", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/metal-build-runtime/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/metal-build-runtime/references/helper-contract.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/metal-build-runtime/references/modules-and-streams.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/metal-build-runtime/references/native-evidence.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/metal-build-runtime/references/targets-and-export.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/metal-build-runtime/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/metal-build-runtime/scripts/audit_apple_target_declarations.py", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/cache-lowering-and-evidence.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/helper-contract.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/limits-and-workspace.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "e0fd1accb4216191c56e7e4a8074633f36d9063727c2546e0d2eed14220d8cf4" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/mlc-llm/SKILL.md" @@ -96,8 +57,7 @@ "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/helper-contract.md": "da33306472cbda5a33605b80fe52d6cb1fa886b3b7eea13adbdf0ce8a6024c66", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/limits-and-workspace.md": "77105db95de2b8ea27ed6953b5441c8af061fb745ddb13d3904f8773fc21e879", "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/references/troubleshooting.md": "b89255fc04507185bc8bcf74de779730b009b12d13bb38ad0193205dfed8e921", - "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py": "d82a6dda5f5931eb369003a5e1f419bfbdd82304766a18be8ea1e1849e26b77d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mlc-llm/sub-skills/runtime-kv-limits/scripts/audit_kv_limit_declarations.py": "d82a6dda5f5931eb369003a5e1f419bfbdd82304766a18be8ea1e1849e26b77d" }, "skill_metadata": { "name": "mlc-llm", 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 a26527a64..d7288d27b 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.mlx_swift_lm", "title": "mlx-swift-lm", "repo": "inferrsi", @@ -24,36 +24,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/LICENSE", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/metadata.json", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/references/scope-and-notices.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/gated-delta-contract/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/gated-delta-contract/references/helper-contract.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/gated-delta-contract/references/recurrence-and-state.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/gated-delta-contract/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/gated-delta-contract/references/verification-boundaries.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/gated-delta-contract/scripts/audit_gated_delta_declarations.py", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/SKILL.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/evidence-schema.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/native-evidence.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/ownership-and-termination.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "501f73e7b327b04b6b80501b42b20dab1ac15c875817e6f4c4b66fe3e69b4fc4" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/mlx-swift-lm/SKILL.md" @@ -78,8 +48,7 @@ "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/native-evidence.md": "3e9a630a30932989faea5f52b347318cb94c73c7d4d6c81c0465ccaee2818671", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/ownership-and-termination.md": "56fdec7ebc89b5c217c7e5c203886bef1d3c2eb5794852897bdb5941ab1db2a0", "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/references/troubleshooting.md": "de28b8ca9cf95be2a4e5762f938acfadb6d4b53459dbf86df4b2b2ec64ec347f", - "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py": "2aba6caf42ca1b3fc55299fd96419af8681c37750c21a7ba75205a43baa9c7b1", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/mlx-swift-lm/sub-skills/generation-lifecycle/scripts/audit_generation_evidence.py": "2aba6caf42ca1b3fc55299fd96419af8681c37750c21a7ba75205a43baa9c7b1" }, "skill_metadata": { "name": "mlx-swift-lm", 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 9edc8bdc4..7323737ef 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.npu_skill_factory", "title": "npu-skill-factory", "repo": "inferrsi", @@ -19,42 +19,12 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/metadata.json", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/COMPARISON.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/INTEGRATION_NOTES.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/QA.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/README.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/UNREAD_LEADS.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/cases/methodology-counterexamples.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/knowledge/evidence-routing.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/references/learning-to-commit.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/references/protocol-details.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/references/readset.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/references/repo-to-skill.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/references/skillopt.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/references/source-manifest.json", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/references/trace2skill.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/updates/bounded-updates.md", - "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/skill-factory-design-20261014.md" - ], - "content_sha256": "74cd863df2e80dc2bda1713d24207809173a3116f30325e3487e1e3517cfec1e" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/workflows/npu-skill-factory/SKILL.md" }, "checkout_ref": "checkout:npu-skill-factory", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/SKILL.md": "74cd863df2e80dc2bda1713d24207809173a3116f30325e3487e1e3517cfec1e", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/metadata.json": "c862565b814e98e0ebc4923e32eef2aa67a8df2357c255903d744f40aaea32c8", "src/inferrsi/data/skill_library/workflows/npu-skill-factory/references/papers-20261015/COMPARISON.md": "38587678a96581f5c2dc697d982127343565504bffa191352811dffcc165aa23", 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 9f2a7a696..6d227e432 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.optimization_search_policy", "title": "optimization-search-policy", "repo": "inferrsi", @@ -18,29 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/optimization-search-policy/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/cases/sarathi-chunk-budget.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/metadata.json", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/distserve-phase-placement/README.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/distserve-phase-placement/source-record.json", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/INTEGRATION_NOTES.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/MECHANISMS.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/NEXT_GATE_LEADS.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/references/source-notes.md", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "d03957ba8f5ff3892947a5c3a45f46de21145bdad3bfb1cbed26faeb172de7a9" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/optimization-search-policy/SKILL.md" @@ -58,8 +35,7 @@ "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/NEXT_GATE_LEADS.md": "16a264c7159f9c2c700ce8ba46e63f3e636b277c987da4970f6d2fa085fcb053", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md": "5e761957cb5ecd93926e6ffc13deee7c830c6e8f0ee3c3846e9dd3b50dc74446", "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/references/source-notes.md": "54d83c3713045d59a48821bcf93598374ba4a630e3891ad39498f919317c4fb8", - "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md": "d3db44fa9a6831b86a02c638b323ed943e69fe256866213f10d68c72d762879e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/optimization-search-policy/references/papers-20261015/updates/optimization-search-policy.md": "d3db44fa9a6831b86a02c638b323ed943e69fe256866213f10d68c72d762879e" }, "skill_metadata": { "name": "optimization-search-policy", 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 258ec321f..59ad88ade 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.os_process_placement", "title": "os-process-placement", "repo": "inferrsi", @@ -21,20 +21,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "2003492e4d89fde0443b180d74933e764bd1979435e109c8d26e20eb8f6e5053" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/host/os-process-placement/SKILL.md" @@ -43,8 +29,7 @@ "source_files": { "src/inferrsi/data/skill_library/hardware/host/os-process-placement/SKILL.md": "2003492e4d89fde0443b180d74933e764bd1979435e109c8d26e20eb8f6e5053", "src/inferrsi/data/skill_library/hardware/host/os-process-placement/metadata.json": "d53e53f724c7b6f261cf6c9b579afd20b2279cb1ffd0af89f8ce9f475046fa76", - "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md": "748b254b3b043a5ddb0f480eb4a566854d27eedd7b111499863e9bf0a5a6951e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/os-process-placement/references/llama-numa-thread-readset.md": "748b254b3b043a5ddb0f480eb4a566854d27eedd7b111499863e9bf0a5a6951e" }, "skill_metadata": { "name": "os-process-placement", 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 1ba1f1c2e..f03709f70 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.performance_ceiling_analysis", "title": "performance-ceiling-analysis", "repo": "inferrsi", @@ -19,40 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/SKILL.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/metadata.json", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/flexgen-offload-feasibility.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/mooncake-prefix-reuse-feasibility.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/INTEGRATION_NOTES.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/MECHANISMS.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/README.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/READSET.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/STATIC_CHECKS.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/cases/decision-cases.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/govern-optimization-experiments/procedure.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/govern-optimization-experiments/references/source-notes.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/knowledge/bounds-predictions-and-decisions.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/redirect-cross-layer-optimization/procedure.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/redirect-cross-layer-optimization/references/source-notes.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/agentic-kernel.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/flashvector.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/inferencebench.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/prior-coverage.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/vidur.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-contract.md", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-example.json", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "0203dfabd2a02d2ab8f8696b922dcc3df86b3a811352a5bc6cea57aee68e869c" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/performance-ceiling-analysis/SKILL.md" @@ -81,8 +47,7 @@ "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/papers-20261015/references/vidur.md": "d38602af5219f5feeb49e6cd6bf53d66098c77fad141dae676f1d8a6743cf25d", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-contract.md": "419ec4bcaec45ac579a133bce083d4f48779f26e664d7a86f720fa65f343b1d1", "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/references/roofline-example.json": "597cd3205df043cff3ae9d15924c77934e8d8eb300c00c4840f6bb2921f90faf", - "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py": "524de48a6764401695fe1444f1fa3d38f363069b0cd2fba4715a86ca4b28a5d4", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/performance-ceiling-analysis/scripts/roofline.py": "524de48a6764401695fe1444f1fa3d38f363069b0cd2fba4715a86ca4b28a5d4" }, "skill_metadata": { "name": "performance-ceiling-analysis", 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 3f2db1425..c401ea162 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.plan_activation_residency", "title": "plan-activation-residency", "repo": "inferrsi", @@ -13,20 +13,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md", - "src/inferrsi/data/skill_library/methods/plan-activation-residency/metadata.json", - "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "542d8a1e6963f5019986e1fbd79d3a247a045a51487c09313026087ac457c15e" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/plan-activation-residency/SKILL.md" @@ -35,8 +21,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/plan-activation-residency/SKILL.md": "542d8a1e6963f5019986e1fbd79d3a247a045a51487c09313026087ac457c15e", "src/inferrsi/data/skill_library/methods/plan-activation-residency/metadata.json": "0289c62f93d087cd6a4ba4140487925c4b3258a9db1f7004ff1dfb22fd6d4582", - "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md": "5ff52655cfd06fcf970ed2a7d4d4fe1c31115b102af2d41497de0c74848ed2b3", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/plan-activation-residency/references/source-notes.md": "5ff52655cfd06fcf970ed2a7d4d4fe1c31115b102af2d41497de0c74848ed2b3" }, "skill_metadata": { "name": "plan-activation-residency", 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 e4568abe7..1b639560d 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.project_maya", "title": "project-maya", "repo": "inferrsi", @@ -22,39 +22,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/project-maya/LICENSE", - "src/inferrsi/data/skill_library/repositories/project-maya/SKILL.md", - "src/inferrsi/data/skill_library/repositories/project-maya/metadata.json", - "src/inferrsi/data/skill_library/repositories/project-maya/references/license-boundaries.md", - "src/inferrsi/data/skill_library/repositories/project-maya/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/project-maya/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/project-maya/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/project-maya/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/model-runtime/SKILL.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/model-runtime/references/model-and-memory.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/model-runtime/references/notices.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/model-runtime/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/model-runtime/scripts/audit_runtime_plan.py", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/qualification/SKILL.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/qualification/references/verification-contract.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/qualification/scripts/summarize_decode_records.py", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/SKILL.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/api-and-history.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/native-state.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "c619a3472be02147a847a24ca97c56afd8b56b6ffd22ce66fcae453155e34bab" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/project-maya/SKILL.md" @@ -82,8 +49,7 @@ "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/api-and-history.md": "a51fa298017f266decd801441eb411fd68f7906a90a4b0d18083d1af31fc7d52", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/native-state.md": "e5a7ee5e777998db0fb5422cf5b1ab18dbd67b4cbbfcfd6628ed6e40d8709c61", "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/references/troubleshooting.md": "97dea7b2d26fe165d2f64a1a63c91d099dddb2d3b95c16b667f5173b3ffa9d2d", - "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py": "d91b03fbbd7003012a92bd7259d39604b9a91ee5707da2d3366e7c0fb47edd6a", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/project-maya/sub-skills/serving-state/scripts/request_template.py": "d91b03fbbd7003012a92bd7259d39604b9a91ee5707da2d3366e7c0fb47edd6a" }, "skill_metadata": { "name": "project-maya", 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 b66705539..f5ef78513 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.pytorch", "title": "pytorch", "repo": "inferrsi", @@ -21,69 +21,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/LICENSE", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/notices.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/repo-provenance.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/source-directory-coverage.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/source-readset.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/source-script-map.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/references/upstream-NOTICE", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/scripts/inspect_environment.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/compiler-and-export/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/compiler-and-export/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/compiler-and-export/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/compiler-and-export/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/compiler-and-export/scripts/export_contract.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/custom-operators-and-extension/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/custom-operators-and-extension/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/custom-operators-and-extension/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/custom-operators-and-extension/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/custom-operators-and-extension/scripts/custom_operator.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/distributed-and-checkpoint/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/distributed-and-checkpoint/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/distributed-and-checkpoint/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/distributed-and-checkpoint/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/distributed-and-checkpoint/scripts/rank_contract.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/distributed-and-checkpoint/scripts/state_roundtrip.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/installation-and-build/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/installation-and-build/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/installation-and-build/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/installation-and-build/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/memory-streams-and-graphs/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/memory-streams-and-graphs/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/memory-streams-and-graphs/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/memory-streams-and-graphs/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/memory-streams-and-graphs/scripts/cuda_lifetimes.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/profiling-and-debugging/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/profiling-and-debugging/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/profiling-and-debugging/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/profiling-and-debugging/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/profiling-and-debugging/scripts/profile_step.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/tensor-dispatch-autograd/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/tensor-dispatch-autograd/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/tensor-dispatch-autograd/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/tensor-dispatch-autograd/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/tensor-dispatch-autograd/scripts/tensor_contracts.py", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/SKILL.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/metadata.json", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/troubleshooting.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/workflows.md", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "c4bd561c73955f0c6e386b6cf3414ec772902711b2a5de6bd0613f49cbf71cb0" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/frameworks/pytorch/pytorch/SKILL.md" @@ -141,8 +78,7 @@ "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/metadata.json": "8e929683dbd9cb8541588653fc3d34d2ef175f08cf8d78b0f50906bc1e7dd0bf", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/troubleshooting.md": "4e5c687a20e8066a9673625fc780667f490f9558a343d4d7d47d7ad278180824", "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/references/workflows.md": "791c86dc3c13c3c87da3c4144cafb082e84f9ba2978bb71dea99f0cf649fe727", - "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py": "46af58f6ba0c7d69373efc416fcc2ae8dcada717ed29336ac84f84857b1240bb", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/frameworks/pytorch/pytorch/sub-skills/training-and-data/scripts/tiny_training.py": "46af58f6ba0c7d69373efc416fcc2ae8dcada717ed29336ac84f84857b1240bb" }, "skill_metadata": { "name": "pytorch", 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 62f9556e5..eb2357b75 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.repository_evolution_analysis", "title": "repository-evolution-analysis", "repo": "inferrsi", @@ -18,21 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/metadata.json", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/capability-presence-audit.md", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "61bc684d67d6c0876c4956057f11c88802cfc4b771553d00411634d8ea226b3d" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/repository-evolution-analysis/SKILL.md" @@ -42,8 +27,7 @@ "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/SKILL.md": "61bc684d67d6c0876c4956057f11c88802cfc4b771553d00411634d8ea226b3d", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/metadata.json": "98ef753a0e74c46f59a69ae267bdc0a5d293761e6f27edc1822fa8bd4548c4d6", "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/capability-presence-audit.md": "c21eb4a6aabe811a49a6540a34c54dbcfdcf7efae3052a79b54034c7838026a5", - "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md": "a70b1d128fb5e0ac12292a290d624f218a0831d7581fe8980b62661473e0f2b7", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/repository-evolution-analysis/references/rtk-consumer-path-transition.md": "a70b1d128fb5e0ac12292a290d624f218a0831d7581fe8980b62661473e0f2b7" }, "skill_metadata": { "name": "repository-evolution-analysis", 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 29ac4f904..0441f0afa 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.rsi_evidence", "title": "rsi-evidence", "repo": "inferrsi", @@ -19,34 +19,12 @@ "origin": [ "first-party" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/skill-index.json", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/metadata.json", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/LICENSE", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/LICENSE-MIT.md", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/NOTICE.md", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/README.md", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/decision-cases.md", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/mechanisms.md", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/source-ledger.json", - "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/omni-experiments.md" - ], - "content_sha256": "5ce5b4903a3d7a4c3d20957be004c49c204d331ce76cc57274378f1ab97b4361" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/workflows/rsi-evidence/SKILL.md" }, "checkout_ref": "checkout:rsi-evidence", "source_files": { - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb", "src/inferrsi/data/skill_library/workflows/rsi-evidence/SKILL.md": "5ce5b4903a3d7a4c3d20957be004c49c204d331ce76cc57274378f1ab97b4361", "src/inferrsi/data/skill_library/workflows/rsi-evidence/metadata.json": "7adfbf39def6ac64987d537c11ad3a3d2e6c06649178b77d82285add8971a115", "src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", 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 8a4c9569b..219d67f25 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.skill_evolution_playbook", "title": "skill-evolution-playbook", "repo": "inferrsi", @@ -18,19 +18,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md", - "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "9cd37f21fe0d862069e4798edca8a04d59f8b840e55d521901594a63dddd9ba3" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/skill-evolution-playbook/SKILL.md" @@ -38,8 +25,7 @@ "checkout_ref": "checkout:skill-evolution-playbook", "source_files": { "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/SKILL.md": "9cd37f21fe0d862069e4798edca8a04d59f8b840e55d521901594a63dddd9ba3", - "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json": "a5fe391d145eb5e7039f142fea7211135abbd8f3d8835bfbf83cc2b05d645da5", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/skill-evolution-playbook/metadata.json": "a5fe391d145eb5e7039f142fea7211135abbd8f3d8835bfbf83cc2b05d645da5" }, "skill_metadata": { "name": "skill-evolution-playbook", 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 7b1d5fd7d..6ddd3c895 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.splash", "title": "splash", "repo": "inferrsi", @@ -22,36 +22,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/splash/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/splash/LICENSE", - "src/inferrsi/data/skill_library/repositories/splash/SKILL.md", - "src/inferrsi/data/skill_library/repositories/splash/THIRD_PARTY_NOTICES", - "src/inferrsi/data/skill_library/repositories/splash/metadata.json", - "src/inferrsi/data/skill_library/repositories/splash/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/splash/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/splash/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/splash/scripts/request_template.py", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/qualification/SKILL.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/qualification/references/verification-contract.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/qualification/scripts/summarize_rounds.py", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/SKILL.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/references/memory-and-formats.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/scripts/parse_budget.py", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/SKILL.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/state-and-api.md", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "619b87c282dcec4befa319085764fb53fa506a05c6a7112500bcca662f059ece" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/splash/SKILL.md" @@ -76,8 +46,7 @@ "src/inferrsi/data/skill_library/repositories/splash/sub-skills/runtime-planning/scripts/parse_budget.py": "b3a3b0847280333c2bfbe5d03350dc866307d5290160ec64c7e3d462a34f6301", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/SKILL.md": "c16f911498e116ff9b31b5a6f0ddd3ae6517b51c0e9d079c337f36a5bcac1df8", "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/state-and-api.md": "592603177473ac8e024b7dc19a3d3faedd7c1e0312137eab8bf9a62d2f567be6", - "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md": "4fda461042a3de43c109d7a3cec67542c7d61fe68412bf91606220f2e13e576e", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/splash/sub-skills/serving-cache/references/troubleshooting.md": "4fda461042a3de43c109d7a3cec67542c7d61fe68412bf91606220f2e13e576e" }, "skill_metadata": { "name": "splash", 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 b084a60c6..35b31717e 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.storage_io_measurement", "title": "storage-io-measurement", "repo": "inferrsi", @@ -21,19 +21,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "63b883c10a8d3e7d918abfc7175b72e2b401ff1e02697f94b8382ec1c8f369b7" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/host/storage-io-measurement/SKILL.md" @@ -41,8 +28,7 @@ "checkout_ref": "checkout:storage-io-measurement", "source_files": { "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/SKILL.md": "63b883c10a8d3e7d918abfc7175b72e2b401ff1e02697f94b8382ec1c8f369b7", - "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json": "5017aa6c04b8cc45d8549b71bc283bfced8e7e1bdb29cf0b305a0447a3c12a9d", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/host/storage-io-measurement/metadata.json": "5017aa6c04b8cc45d8549b71bc283bfced8e7e1bdb29cf0b305a0447a3c12a9d" }, "skill_metadata": { "name": "storage-io-measurement", 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 c24d64b26..ed9214600 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.training_input_pipeline", "title": "training-input-pipeline", "repo": "inferrsi", @@ -20,20 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md", - "src/inferrsi/data/skill_library/methods/training-input-pipeline/metadata.json", - "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "64bd2c6b795d966045d1d3cca55976d3d49b08b06df7c7e06a70c2824cf55b7e" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/training-input-pipeline/SKILL.md" @@ -42,8 +28,7 @@ "source_files": { "src/inferrsi/data/skill_library/methods/training-input-pipeline/SKILL.md": "64bd2c6b795d966045d1d3cca55976d3d49b08b06df7c7e06a70c2824cf55b7e", "src/inferrsi/data/skill_library/methods/training-input-pipeline/metadata.json": "debad47896f600c7a1e19e477e34026c975dfde320a786dca1ddd02030a5feb1", - "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md": "60e0f3e88655d8e1d5eb4797f39ca4370deda01614f265b8d2ea4559d8ac020f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/training-input-pipeline/references/sources.md": "60e0f3e88655d8e1d5eb4797f39ca4370deda01614f265b8d2ea4559d8ac020f" }, "skill_metadata": { "name": "training-input-pipeline", 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 9870cb528..a1e68f194 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.training_resource_budget", "title": "training-resource-budget", "repo": "inferrsi", @@ -20,28 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/training-resource-budget/SKILL.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/metadata.json", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/mindspeed-historical.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/mindspeed-source-readset.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/INTEGRATION_NOTES.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/cases/paper-grounded-cases.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/knowledge/offload-delta.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/notes/training-memory-scheduling.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/references/source-readset.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/sources.md", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "d3805c5f605faae663ad5a674a56c1e1e5fdd211cd58833c008e557cfd7e4c37" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/training-resource-budget/SKILL.md" @@ -58,8 +36,7 @@ "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/notes/training-memory-scheduling.md": "9aa6d3e01452dff95c8a8940ff62ead8c146ce215c9175b78c9f2ef508a7b2de", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/papers-20261015/references/source-readset.md": "2a5c166767f56fa47e7eba7386f1f36da8cb73702e5b5bbe14d6a456ca9ebfae", "src/inferrsi/data/skill_library/methods/training-resource-budget/references/sources.md": "53d70671a183de4aaa3369f9caf2383a23b6f8a0a7b04464a8d8a639150afc6a", - "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md": "f1a993e6c4ca9a035a2effcaf5500081f227b0cc56cc885a6b22fda0041fc744", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/training-resource-budget/references/stas-decision-notes.md": "f1a993e6c4ca9a035a2effcaf5500081f227b0cc56cc885a6b22fda0041fc744" }, "skill_metadata": { "name": "training-resource-budget", 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 d8ff2d196..c7d5e2020 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.video_diffusion_optimization", "title": "video-diffusion-optimization", "repo": "inferrsi", @@ -23,21 +23,6 @@ "origin": [ "first-party" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/metadata.json", - "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "fc0e7baf9913ce7448247772a1e224a9cbd827492cf9459b1f17f492b9f67b70" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/video-diffusion-optimization/SKILL.md" @@ -47,8 +32,7 @@ "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/SKILL.md": "fc0e7baf9913ce7448247772a1e224a9cbd827492cf9459b1f17f492b9f67b70", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/assets/campaign.template.json": "1a37f1d136612143ddab8f0cbbf424c80433b4da5312edb18d07c0b9d87ef657", "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/metadata.json": "b27d69142dfea5dd2820170475c2bf6cced2d5eefd1c43b3413c41849af0fd02", - "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py": "9e84df051e03d567746fd73ae7243efb2f3c5ec806fef824d3c4d42a8eb9704c", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/video-diffusion-optimization/scripts/evaluate_target.py": "9e84df051e03d567746fd73ae7243efb2f3c5ec806fef824d3c4d42a8eb9704c" }, "skill_metadata": { "name": "video-diffusion-optimization", 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 349ef1b01..04539fad4 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.vllm_metal", "title": "vllm-metal", "repo": "inferrsi", @@ -23,40 +23,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/repositories/vllm-metal/LICENSE", - "src/inferrsi/data/skill_library/repositories/vllm-metal/SKILL.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/metadata.json", - "src/inferrsi/data/skill_library/repositories/vllm-metal/references/repo-provenance.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/references/repo-routing-metadata.json", - "src/inferrsi/data/skill_library/repositories/vllm-metal/references/scope-and-notices.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/references/source-identity.json", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/cache-lifecycle/SKILL.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/cache-lifecycle/references/cache-and-offload.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/cache-lifecycle/references/helper-contract.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/cache-lifecycle/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/cache-lifecycle/scripts/screen_pool_budget.py", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/platform-config/SKILL.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/platform-config/references/configuration.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/platform-config/references/platform-and-loading.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/platform-config/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/platform-config/scripts/check_environment_plan.py", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/SKILL.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/dispatch-and-measurement.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/record-schema.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/speculation-and-pipeline.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/troubleshooting.md", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "5f83b1b989e8dc239a6f34a6b3bd63872533ecc1404483a69dabfb1865648439" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/vllm-metal/SKILL.md" @@ -85,8 +51,7 @@ "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/record-schema.md": "f3cefb8b131613535dcacf30d130ffc2dea991acfb495adb4e1c7050046903d7", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/speculation-and-pipeline.md": "64faced7f31d489e9b0c4b9523a803ff1a76dca0f9315bdc6d0b83935bd338a4", "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/references/troubleshooting.md": "a2e85696120ffc2af4249ac9c1e1b96320e02287e5099577c0474c025ab4f5f6", - "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py": "78e660a13a6a6941d006cb11fc2f401a34f489e54273860ae6a208dca6a6a3c2", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/vllm-metal/sub-skills/qualification/scripts/summarize_serving_records.py": "78e660a13a6a6941d006cb11fc2f401a34f489e54273860ae6a208dca6a6a3c2" }, "skill_metadata": { "name": "vllm-metal", 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 95f9ad00b..c05d22857 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.common.skills.weight_loading_optimization", "title": "weight-loading-optimization", "repo": "inferrsi", @@ -28,24 +28,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "paths": [ - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/SKILL.md", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/metadata.json", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/deepseek-expert-cache-oracles.md", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/deepseek-expert-cache-source.json", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/fastsafetensors-transfer-readset.md", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/flare-preparation-boundary.md", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "b970ef27da2de14c20d3fe734cc5ee0cf8445c396f53dab588bd180943921833" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/methods/weight-loading-optimization/SKILL.md" @@ -58,8 +40,7 @@ "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/deepseek-expert-cache-source.json": "65bf0623616b4f633d8f51b30134798cbf71176716c8a8613209e2fc48ff84bd", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/fastsafetensors-transfer-readset.md": "5a39f14b102b0cee304541e011aa31e44e6b13527d1bee9987c3f3b66c064d3d", "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/flare-preparation-boundary.md": "1d7922785a196bdbafdc9791fe79428465a5acc0292ca8f99446f8c764b35454", - "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md": "6c640f28ee3f0253a17b81461c865cb9f947367002cb75bf72550c4572d02e97", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/methods/weight-loading-optimization/references/llama-loading-readset.md": "6c640f28ee3f0253a17b81461c865cb9f947367002cb75bf72550c4572d02e97" }, "skill_metadata": { "name": "weight-loading-optimization", 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 b770ca801..6839df314 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.audit_afd_p2p_exchanges", "title": "audit-afd-p2p-exchanges", "repo": "inferrsi", @@ -20,21 +20,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/afd-plugin-LICENSE.md", - "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "a46110891eca860915e314d6921a22856d631453b22b17837fe30262d6780535" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/SKILL.md" @@ -44,8 +29,7 @@ "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": "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": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/afd-plugin/audit-afd-p2p-exchanges/references/source-notes.md": "5073d87450cb60d1b245308dff8807e73749c07de976d50f2fa26694fad81a72" }, "skill_metadata": { "name": "audit-afd-p2p-exchanges", 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 8d7f1e569..585885f3c 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.audit_flare_session_lifecycle", "title": "audit-flare-session-lifecycle", "repo": "inferrsi", @@ -26,24 +26,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/metadata.json", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/diagnostics.md", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/lifecycle.md", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-ledger.json", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "02a5f7c18e44201215ecec17c6ac96b27be9148bcc189df287f39d1b372b7721" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/SKILL.md" @@ -56,8 +38,7 @@ "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", - "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md": "fc7ceb819b91ef1731d8b7783f543c92ef6bb5c97ef5f897c055824f8a560168", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/repositories/flare-local-inference/audit-flare-session-lifecycle/references/source-notes.md": "fc7ceb819b91ef1731d8b7783f543c92ef6bb5c97ef5f897c055824f8a560168" }, "skill_metadata": { "name": "audit-flare-session-lifecycle", 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 5362c22b5..cdb6b6c6a 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.diagnose_attention_bottlenecks", "title": "diagnose-attention-bottlenecks", "repo": "inferrsi", @@ -13,28 +13,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/mechanisms.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/INTEGRATION_NOTES.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/NEXT_GATE_LEADS.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/README.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/io-reduction-can-plateau.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/overlap-and-fp8-counter-signals.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/partitioning-after-fusion.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/knowledge/attention-cost-model-boundaries.md", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "a25738dbb3b9daa15c5827cb536a20fe13f7c8b9dd14aa3fb7cfa7e132879431" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/SKILL.md" @@ -51,8 +29,7 @@ "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/overlap-and-fp8-counter-signals.md": "80c8a60a6df55f3d84fab23e03567d8b38e23bcdbd63cc09881e46db1e2888ab", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/cases/partitioning-after-fusion.md": "4d4cabe0991eab554dcfbd4fa9c8199e61fa4767709b0c4cd646e2588bb398a2", "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/papers-20261015/knowledge/attention-cost-model-boundaries.md": "5ed8f888443e38ccb72545b6025447aab7b92936f78c151fed680e582126239b", - "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md": "53436e0de4e6dda2d29426591bf61f8526378cdc6f9ec7967b88b1bcd4c61e6f", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/cuda/diagnose-attention-bottlenecks/references/sources.md": "53436e0de4e6dda2d29426591bf61f8526378cdc6f9ec7967b88b1bcd4c61e6f" }, "skill_metadata": { "name": "diagnose-attention-bottlenecks", 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 8dfcb98ab..7e52b2724 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.host_overhead_profiling", "title": "host-overhead-profiling", "repo": "inferrsi", @@ -19,19 +19,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "326e566fbe30d3ba04e4b50c3e87aad9df037f0ac4ad6fe129165ae97dc5f91d" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md" @@ -39,8 +26,7 @@ "checkout_ref": "checkout:host-overhead-profiling", "source_files": { "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/SKILL.md": "326e566fbe30d3ba04e4b50c3e87aad9df037f0ac4ad6fe129165ae97dc5f91d", - "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json": "bc4236c65e37378f4a74e0b88c47776055c186aca44c000b1f68e8c63cc4b277", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/cuda/host-overhead-profiling/metadata.json": "bc4236c65e37378f4a74e0b88c47776055c186aca44c000b1f68e8c63cc4b277" }, "skill_metadata": { "name": "host-overhead-profiling", 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 c905f4ec1..ae1c0fa05 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 @@ -1,5 +1,5 @@ { - "schema_version": 1, + "schema_version": 2, "id": "inferrsi.cuda.skills.reason_hopper_kernels", "title": "reason-hopper-kernels", "repo": "inferrsi", @@ -33,28 +33,6 @@ "origin": [ "external" ], - "sources": [ - { - "type": "git", - "url": "https://github.com/InferMatrixLab/InferRSI/blob/d648f25732dee1c974da62a94c46a642ad52cef8/src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md", - "commit": "d648f25732dee1c974da62a94c46a642ad52cef8", - "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", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/fp8.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/licenses/cutlass-bsd.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/licenses/deepgemm-mit.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/licenses/kernelwiki-kda-mit.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/notices.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/resources-and-scheduling.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/source-inventory.json", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/sources.md", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md", - "src/inferrsi/data/skill_library/skill-index.json" - ], - "content_sha256": "cec4e3aa1eb64c31c54b5f5ca40af2b61b7919d94be4174968581d5f752c0538" - } - ], "index_type": "packaged-skill", "skill_documents": { "original": "data/skill_library/hardware/cuda/reason-hopper-kernels/SKILL.md" @@ -71,8 +49,7 @@ "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/resources-and-scheduling.md": "1ce25b426736072435a1ead9a2a8e1f56df5d0abb8198e8c4fdcb34321db4964", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/source-inventory.json": "1dc09c895c970a0c9708158bcc6dd65cdb736274fd2c35d44542c70407d3849d", "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/sources.md": "6b74b9e774f2a80db0860510d9e6940d36284430f29c1e124f115a9eaf25833d", - "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md": "4322f6b3c0e4368bf8c192b4ec752529767f50d19c0c38dad8fdf9cd781e41d9", - "src/inferrsi/data/skill_library/skill-index.json": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" + "src/inferrsi/data/skill_library/hardware/cuda/reason-hopper-kernels/references/synchronization.md": "4322f6b3c0e4368bf8c192b4ec752529767f50d19c0c38dad8fdf9cd781e41d9" }, "skill_metadata": { "name": "reason-hopper-kernels", diff --git a/tests/test_knowledge_declaration_paths.py b/tests/test_knowledge_declaration_paths.py new file mode 100644 index 000000000..97810e004 --- /dev/null +++ b/tests/test_knowledge_declaration_paths.py @@ -0,0 +1,76 @@ +import json +import subprocess + +from tools import knowledge_declaration_paths as helper + +POLICY = { + "protected_paths": [ + "src/inferrsi/data/skill_library/**", "src/inferrsi/data/repo_packs/**/knowledge/**", + "docs/reference-matrix.md", + ], + "policy_paths": [".github/knowledge-model-policy.json"], +} + + +def _git(root, *args): + return subprocess.run( + ["git", "-c", "user.name=Helper fixture", "-c", "user.email=fixture@example.invalid", + "-c", "commit.gpgsign=false", *args], cwd=root, check=True, capture_output=True, text=True, + ).stdout.strip() + + +def _write(root, path, text): + target = root / path + target.parent.mkdir(parents=True, exist_ok=True) + target.write_text(text, encoding="utf-8") + + +def test_reports_every_protected_path_including_deletions_and_renames(tmp_path): + _git(tmp_path, "init", "-q", "-b", "main") + _write(tmp_path, helper.POLICY, json.dumps(POLICY)) + _write(tmp_path, "src/inferrsi/data/skill_library/methods/a/SKILL.md", "a\n" * 20) + _write(tmp_path, "src/inferrsi/data/skill_library/methods/b/old.md", "b\n" * 20) + _write(tmp_path, "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/c.json", "{}\n") + _write(tmp_path, "README.md", "readme\n") + _git(tmp_path, "add", "-A") + _git(tmp_path, "commit", "-q", "-m", "base") + base = _git(tmp_path, "rev-parse", "HEAD") + _git(tmp_path, "switch", "-q", "-c", "contribution") + _write(tmp_path, "src/inferrsi/data/skill_library/methods/a/SKILL.md", "a\n" * 20 + "more\n") + (tmp_path / "docs").mkdir() + _git(tmp_path, "mv", "src/inferrsi/data/skill_library/methods/b/old.md", "docs/moved.md") + _git(tmp_path, "rm", "-q", + "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/c.json") + _write(tmp_path, "README.md", "changed\n") + # A PR cannot widen or narrow its own admission scope by editing its policy copy. + _write(tmp_path, helper.POLICY, json.dumps({**POLICY, "protected_paths": []})) + _git(tmp_path, "add", "-A") + _git(tmp_path, "commit", "-q", "-m", "contribution") + + result = helper.report(tmp_path, base, "HEAD") + protected = [ + "src/inferrsi/data/repo_packs/inferrsi/knowledge/common/skills/c.json", + "src/inferrsi/data/skill_library/methods/a/SKILL.md", + "src/inferrsi/data/skill_library/methods/b/old.md", + ] + assert result["head_sha"] == _git(tmp_path, "rev-parse", "HEAD") + assert result["protected_paths"] == result["exception_scope"] == protected + assert result["policy_paths"] == [helper.POLICY] + assert result["generated_paths"] == [protected[0]] + assert result["other_paths"] == ["README.md", "docs/moved.md"] + assert result["declaration_required"] is True + assert "material_ai_authors" not in result and "model_id" not in json.dumps(result) + + +def test_unprotected_change_needs_no_declaration(tmp_path): + _git(tmp_path, "init", "-q", "-b", "main") + _write(tmp_path, helper.POLICY, json.dumps(POLICY)) + _write(tmp_path, "README.md", "readme\n") + _git(tmp_path, "add", "-A") + _git(tmp_path, "commit", "-q", "-m", "base") + base = _git(tmp_path, "rev-parse", "HEAD") + _write(tmp_path, "README.md", "changed\n") + _git(tmp_path, "commit", "-q", "-am", "docs") + result = helper.report(tmp_path, base, "HEAD") + assert result["protected_paths"] == [] and result["declaration_required"] is False + assert result["other_paths"] == ["README.md"] diff --git a/tests/test_skill_index.py b/tests/test_skill_index.py index 965b1c7f8..0084d1f99 100644 --- a/tests/test_skill_index.py +++ b/tests/test_skill_index.py @@ -51,6 +51,8 @@ def test_generated_index_matches_current_sources_without_historical_git_objects( records = search_knowledge(repo="inferrsi", limit=100) revisions = {record["sources"][0]["commit"] for record in records} assert len(revisions) == 1 + snapshot = json.loads((PROJECT / DESTINATION / "_provenance.json").read_text(encoding="utf-8")) + assert snapshot["source_revision"] in revisions # CI uses shallow checkouts. Compare the whole generated projection and its # text hashes without requiring the old source commit in the local object DB. recorded_hashes = { diff --git a/tests/test_source_snapshot.py b/tests/test_source_snapshot.py new file mode 100644 index 000000000..877d40cd4 --- /dev/null +++ b/tests/test_source_snapshot.py @@ -0,0 +1,227 @@ +import copy +import hashlib +import json +import subprocess +from pathlib import Path + +import pytest + +from inferrsi import _source_snapshot as snapshot +from inferrsi.catalog import search_knowledge +from tools import build_skill_index as index_builder +from tools.build_skill_index import DESTINATION, LIBRARY + +PROJECT = Path(__file__).resolve().parents[1] +GENERATED = PROJECT / DESTINATION +REVISION = "a" * 40 + + +def record_files(): + return sorted(p for p in GENERATED.glob("*/skills/*.json")) + + +def test_packaged_records_store_schema_two_and_resolve_to_schema_one(): + manifest = json.loads((GENERATED / snapshot.MANIFEST).read_text(encoding="utf-8")) + records = {r["id"]: r for r in search_knowledge(repo="inferrsi", limit=100)} + assert len(record_files()) == len(records) == 80 + for path in record_files(): + stored = json.loads(path.read_text(encoding="utf-8")) + assert stored["schema_version"] == 2 and "sources" not in stored + assert snapshot.REGISTRY not in stored["source_files"] + public = records[stored["id"]] + assert public == snapshot.resolve(stored, manifest) + assert public["schema_version"] == 1 + assert public["sources"][0]["commit"] == manifest["source_revision"] + assert public["source_files"][snapshot.REGISTRY] == manifest["registry"]["sha256"] + assert set(public["source_files"]) == set(public["sources"][0]["paths"]) + assert list(public)[list(public).index("origin") + 1] == "sources" + + +def test_compact_round_trip_preserves_every_public_field_and_order(): + public = search_knowledge(repo="inferrsi", limit=1)[0] + manifest = json.loads((GENERATED / snapshot.MANIFEST).read_text(encoding="utf-8")) + stored = snapshot.compact(public) + assert json.dumps(snapshot.resolve(stored, manifest)) == json.dumps(public) + + +@pytest.mark.parametrize("mutation", [ + "extra", "missing_registry", "short_revision", "wrong_repository", "wrong_path", + "bad_digest", "boolean_version", "list", +]) +def test_invalid_snapshot_never_resolves(mutation): + manifest = json.loads((GENERATED / snapshot.MANIFEST).read_text(encoding="utf-8")) + stored = json.loads(record_files()[0].read_text(encoding="utf-8")) + bad = copy.deepcopy(manifest) + if mutation == "extra": + bad["unexpected"] = True + elif mutation == "missing_registry": + del bad["registry"] + elif mutation == "short_revision": + bad["source_revision"] = bad["source_revision"][:8] + elif mutation == "wrong_repository": + bad["repository"] = "https://github.com/example/other" + elif mutation == "wrong_path": + bad["registry"]["path"] = "skill-index.json" + elif mutation == "bad_digest": + bad["registry"]["sha256"] = "XYZ" + elif mutation == "boolean_version": + bad["schema_version"] = True + else: + bad = [] + with pytest.raises(ValueError): + snapshot.resolve(stored, bad) + + +@pytest.mark.parametrize( + "mutation", ["v1", "sources", "registry_hash", "missing_entry", "no_origin"]) +def test_invalid_stored_record_never_resolves(mutation): + manifest = json.loads((GENERATED / snapshot.MANIFEST).read_text(encoding="utf-8")) + stored = json.loads(record_files()[0].read_text(encoding="utf-8")) + if mutation == "v1": + stored["schema_version"] = 1 + elif mutation == "sources": + stored["sources"] = [] + elif mutation == "registry_hash": + stored["source_files"][snapshot.REGISTRY] = "0" * 64 + elif mutation == "missing_entry": + stored["source_files"].pop("src/inferrsi/" + stored["skill_documents"]["original"]) + else: + del stored["origin"] + with pytest.raises(ValueError): + snapshot.resolve(stored, manifest) + + +def _git(root, *args): + return subprocess.run( + ["git", "-c", "user.name=Snapshot fixture", "-c", "user.email=fixture@example.invalid", + "-c", "commit.gpgsign=false", "-c", "core.autocrlf=false", *args], + cwd=root, check=True, capture_output=True, text=True, + ).stdout.strip() + + +def _library(root, owners): + library = root / LIBRARY + registry = {"schema_version": 1, "skills": { + name: {"path": f"methods/{name}", "backend": "common"} for name in owners}} + library.mkdir(parents=True, exist_ok=True) + (library / "skill-index.json").write_text(json.dumps(registry), encoding="utf-8") + for name in owners: + (library / "methods" / name).mkdir(parents=True, exist_ok=True) + _write_skill(root, name, "Original body") + + +def _write_skill(root, name, body): + path = root / LIBRARY / "methods" / name / "SKILL.md" + path.write_text(f"---\nname: {name}\ndescription: Fixture {name}\n---\n{body}\n", + encoding="utf-8", newline="\n") + + +def _generate(root, monkeypatch): + revision = _git(root, "rev-parse", "HEAD") + monkeypatch.setattr(index_builder, "PROJECT", root) + assert index_builder.main(["--source-revision", revision]) == 0 + assert index_builder.main(["--source-revision", revision, "--check"]) == 0 + _git(root, "add", "-A") + _git(root, "commit", "-q", "-m", "Regenerate projections") + + +def _changed(root, base): + return set(_git(root, "diff", "--name-only", base, "HEAD").splitlines()) + + +def _seed(tmp_path, monkeypatch): + root = tmp_path / "repo" + root.mkdir() + _git(root, "init", "-q", "-b", "main") + _library(root, ["alpha", "bravo", "charlie"]) + _git(root, "add", "-A") + _git(root, "commit", "-q", "-m", "Seed library") + _generate(root, monkeypatch) + return root + + +def _contribute(root, monkeypatch, branch, owner, body): + _git(root, "switch", "-q", "-c", branch, "main") + _write_skill(root, owner, body) + _git(root, "commit", "-q", "-am", f"Edit {owner}") + _generate(root, monkeypatch) + _git(root, "switch", "-q", "main") + + +def test_single_owner_edit_rewrites_only_its_record_and_the_snapshot(tmp_path, monkeypatch): + root = _seed(tmp_path, monkeypatch) + base = _git(root, "rev-parse", "HEAD") + _write_skill(root, "alpha", "Changed body") + _git(root, "commit", "-q", "-am", "Edit alpha") + edit = _git(root, "rev-parse", "HEAD") + _generate(root, monkeypatch) + generated = DESTINATION.as_posix() + assert _git(root, "diff", "--name-only", edit, "HEAD").splitlines() == sorted([ + f"{generated}/{snapshot.MANIFEST}", f"{generated}/common/skills/alpha.json", + ]) + assert f"{generated}/common/skills/bravo.json" not in _changed(root, base) + # Regeneration from the same source is byte-identical. + assert index_builder.main(["--source-revision", edit, "--check"]) == 0 + + +@pytest.mark.parametrize("order", [("alpha", "bravo"), ("bravo", "alpha")]) +def test_parallel_owner_edits_integrate_in_either_order(tmp_path, monkeypatch, order): + root = _seed(tmp_path, monkeypatch) + seeded = _git(root, "rev-parse", "HEAD") + for owner in ("alpha", "bravo"): + _contribute(root, monkeypatch, f"edit-{owner}", owner, f"{owner} contribution") + generated = DESTINATION.as_posix() + for owner in order: + merge = subprocess.run( + ["git", "-c", "user.name=f", "-c", "user.email=f@example.invalid", + "-c", "commit.gpgsign=false", "merge", "--no-ff", "-q", "--no-edit", f"edit-{owner}"], + cwd=root, capture_output=True, text=True) + if merge.returncode: + # Only the shared snapshot may collide (the fixture has no coverage view); + # take either side, then regenerate it from the merged source. + conflicted = set(_git(root, "diff", "--name-only", "--diff-filter=U").splitlines()) + assert conflicted == {f"{generated}/{snapshot.MANIFEST}"} + _git(root, "checkout", "--ours", "--", f"{generated}/{snapshot.MANIFEST}") + _git(root, "add", "-A") + _git(root, "commit", "-q", "--no-edit") + _generate(root, monkeypatch) + for owner in ("alpha", "bravo"): + body = (root / LIBRARY / "methods" / owner / "SKILL.md").read_text(encoding="utf-8") + assert f"{owner} contribution" in body + stored = json.loads((root / generated / f"common/skills/{owner}.json").read_text( + encoding="utf-8")) + entry = f"{LIBRARY.as_posix()}/methods/{owner}/SKILL.md" + assert stored["source_files"][entry] == hashlib.sha256(body.encode("utf-8")).hexdigest() + # The untouched owner's stored record never changes. + charlie = f"{generated}/common/skills/charlie.json" + assert _git(root, "rev-parse", f"{seeded}:{charlie}") == _git( + root, "rev-parse", f"HEAD:{charlie}") + + +def test_same_owner_divergent_edits_remain_an_explicit_conflict(tmp_path, monkeypatch): + root = _seed(tmp_path, monkeypatch) + _contribute(root, monkeypatch, "first", "alpha", "First version") + _contribute(root, monkeypatch, "second", "alpha", "Second version") + _git(root, "merge", "-q", "--no-edit", "first") + merge = subprocess.run(["git", "merge", "--no-edit", "second"], cwd=root, + capture_output=True, text=True) + assert merge.returncode != 0 + conflicted = set(_git(root, "diff", "--name-only", "--diff-filter=U").splitlines()) + assert f"{LIBRARY.as_posix()}/methods/alpha/SKILL.md" in conflicted + + +def test_check_detects_tampered_or_missing_snapshot(tmp_path, monkeypatch): + root = _seed(tmp_path, monkeypatch) + revision = _git(root, "rev-parse", "HEAD~1") + manifest = root / DESTINATION / snapshot.MANIFEST + original = manifest.read_text(encoding="utf-8") + manifest.write_text(original.replace(revision, "b" * 40), encoding="utf-8") + assert index_builder.main(["--source-revision", revision, "--check"]) == 1 + manifest.unlink() + assert index_builder.main(["--source-revision", revision, "--check"]) == 1 + manifest.write_text(original, encoding="utf-8") + record = root / DESTINATION / "common/skills/alpha.json" + stored = json.loads(record.read_text(encoding="utf-8")) + stored["sources"] = [] + record.write_text(json.dumps(stored), encoding="utf-8") + assert index_builder.main(["--source-revision", revision, "--check"]) == 1 diff --git a/tools/build_skill_index.py b/tools/build_skill_index.py index 1ab6cadd1..18b4bd4de 100644 --- a/tools/build_skill_index.py +++ b/tools/build_skill_index.py @@ -13,12 +13,13 @@ import subprocess from pathlib import Path +from inferrsi import _source_snapshot from inferrsi.skill_catalog import skill_metadata, skill_records PROJECT = Path(__file__).resolve().parents[1] LIBRARY = Path("src/inferrsi/data/skill_library") DESTINATION = Path("src/inferrsi/data/repo_packs/inferrsi/knowledge") -REPOSITORY = "https://github.com/InferMatrixLab/InferRSI" +REPOSITORY = _source_snapshot.REPOSITORY # Match the comparison tool: replacement refs and lazy promisor fetches must not # change the bytes hashed for a pinned revision. GIT_READ = ("git", "--no-replace-objects", "--no-lazy-fetch") @@ -112,6 +113,7 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic outputs = {} links = [] entries = _registry(root) + snapshot = _source_snapshot.manifest(revision, source_files[_source_snapshot.REGISTRY]) for selected in skill_records(root): name = selected["name"] metadata = skill_metadata(root, name) @@ -168,8 +170,13 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "verification": {"locally_verified": False, "evidence_level": "guidance"}, } relative = f"{backend}/skills/{name}.json" - outputs[relative] = json.dumps(record, ensure_ascii=False, indent=2) + "\n" + stored = _source_snapshot.compact(record) + # The catalog must read back exactly the public record rendered here. + if _source_snapshot.resolve(stored, snapshot) != record: + raise ValueError(f"Stored skill record does not round-trip: {name}") + outputs[relative] = json.dumps(stored, ensure_ascii=False, indent=2) + "\n" links.append(f"| [{name}]({relative}) | {backend} | {state} |") + outputs[_source_snapshot.MANIFEST] = json.dumps(snapshot, indent=2) + "\n" outputs["README.md"] = "\n".join([ "# InferRSI skill discovery index", "", f"Generated abstracts for all {len(entries)} registered skills in `data/skill_library/`.", @@ -184,7 +191,11 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "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`.", "", - f"Source snapshot: [{revision}]({REPOSITORY}/tree/{revision}/{LIBRARY.as_posix()}).", "", + f"`{_source_snapshot.MANIFEST}` holds the shared source snapshot: the full source", + "revision and the registry hash. Stored records (schema 2) keep only their own", + "fields and resource hashes; the catalog restores the schema-1 `sources` entry and", + "registry hash from the snapshot, so editing one skill regenerates only its record", + "and the snapshot.", "", "```bash", "inferrsi knowledge search 'profiling' --repo-type inferrsi --limit 50", "inferrsi collect --repo-type inferrsi --kind knowledge --limit 50 --material", @@ -195,9 +206,10 @@ def render_index(root: Path, revision: str, source_files: dict[str, str]) -> dic "`source_files` hashes identify the canonical Git bytes, not a validation result.", "", "```bash", "python tools/build_skill_index.py --source-revision ", - f"python tools/build_skill_index.py --source-revision {revision} --check", + "python tools/build_skill_index.py --source-revision --check", "```", "", - "`--check` detects missing, stale and unexpected generated records without writing.", + "`--check` detects missing, stale and unexpected generated records without writing;", + f"use the `source_revision` recorded in `{_source_snapshot.MANIFEST}`.", "References and cases ship with their owning skill, not as duplicate knowledge abstracts.", "", "| Skill | Backend | Original declared status |", "| --- | --- | --- |", *links, "", @@ -226,7 +238,7 @@ def main(argv: list[str] | None = None) -> int: if stale or changed: print("Skill index drift: " + ", ".join(sorted(stale | set(changed)))) return 1 - print(f"Skill index is current: {len(outputs) - 1} metadata records") + print(f"Skill index is current: {len(outputs) - 2} metadata records") return 0 if stale: raise ValueError("Remove obsolete generated files explicitly: " + ", ".join(sorted(stale))) @@ -234,7 +246,8 @@ def main(argv: list[str] | None = None) -> int: path = destination / relative path.parent.mkdir(parents=True, exist_ok=True) path.write_text(outputs[relative], encoding="utf-8", newline="\n") - print(f"Generated {len(outputs) - 1} skill metadata records") + # Outputs are the records plus README.md and the shared snapshot. + print(f"Generated {len(outputs) - 2} skill metadata records") return 0 diff --git a/tools/knowledge_declaration_paths.py b/tools/knowledge_declaration_paths.py new file mode 100644 index 000000000..e7b3a054c --- /dev/null +++ b/tools/knowledge_declaration_paths.py @@ -0,0 +1,80 @@ +"""List the paths a knowledge PR changes and the declaration fields Git can derive. + +Read-only. It reports the full head SHA and the protected, policy, generated and other +changed paths under the target branch's policy, including deletions and both rename +endpoints. It never fills in authors, models, efforts or exceptions; those stay explicit. +""" + +from __future__ import annotations + +import argparse +import json +import subprocess +from fnmatch import fnmatchcase +from pathlib import Path + +PROJECT = Path(__file__).resolve().parents[1] +POLICY = ".github/knowledge-model-policy.json" +GENERATED = ("src/inferrsi/data/repo_packs/inferrsi/knowledge/", "docs/skill-coverage.md") +GIT = ("git", "--no-replace-objects", "--no-lazy-fetch") + + +def _git(project: Path, *args: str) -> str: + return subprocess.run( + [*GIT, "-C", str(project), *args], check=True, capture_output=True + ).stdout.decode("utf-8") + + +def changed_paths(project: Path, base: str, head: str) -> set[str]: + # Same scope as the policy check: every path a change touches, both rename endpoints. + fields = _git(project, "diff", "--name-status", "-z", "--find-renames", + f"{base}...{head}").split("\0")[:-1] + paths, index = set(), 0 + while index < len(fields): + status = fields[index] + count = 2 if status[0] in "RC" else 1 + paths.update(fields[index + 1:index + 1 + count]) + index += 1 + count + return paths + + +def report(project: Path, base: str, head: str) -> dict: + head_sha = _git(project, "rev-parse", "--verify", f"{head}^{{commit}}").strip() + # The base branch's policy decides admission, not the PR's own copy. + policy = json.loads(_git(project, "show", f"{base}:{POLICY}")) + paths = changed_paths(project, base, head_sha) + + def matching(patterns): + return sorted(p for p in paths if any(fnmatchcase(p, pattern) for pattern in patterns)) + + protected = matching(policy["protected_paths"]) + controls = matching(policy["policy_paths"]) + return { + "head_sha": head_sha, + "protected_paths": protected, + "policy_paths": controls, + "generated_paths": sorted(p for p in paths if p.startswith(GENERATED)), + "other_paths": sorted(paths - set(protected) - set(controls)), + "declaration_required": bool(protected), + # An exception, if separately approved, must cover exactly these paths. + "exception_scope": protected, + } + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--base", default="origin/main", help="Target branch revision") + parser.add_argument("--head", default="HEAD") + args = parser.parse_args(argv) + result = report(PROJECT, args.base, args.head) + print(json.dumps(result, indent=2)) + if result["declaration_required"]: + print( + "\nDeclare every material AI author with the actual tool, model_id and effort " + f"and set head_sha to {result['head_sha']}. This helper does not supply them." + ) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) From 0241800e6200ae8844ef77e5ba9f6532cf40a727 Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Tue, 10 Nov 2026 13:37:56 +0800 Subject: [PATCH 4/6] knowledge: pin the source snapshot to its commit on main The migrated snapshot named the pre-squash branch commit of #325. Point it at the squash commit on main, which has identical skill-library bytes, so the pin stays an ancestor after this change lands. Only _provenance.json changes. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- .../data/repo_packs/inferrsi/knowledge/_provenance.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json b/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json index 2f5505632..e649e78f0 100644 --- a/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json +++ b/src/inferrsi/data/repo_packs/inferrsi/knowledge/_provenance.json @@ -1,7 +1,7 @@ { "schema_version": 1, "repository": "https://github.com/InferMatrixLab/InferRSI", - "source_revision": "d648f25732dee1c974da62a94c46a642ad52cef8", + "source_revision": "56c500367d5495fdd9f0e35030c9cd957f70eac5", "registry": { "path": "src/inferrsi/data/skill_library/skill-index.json", "sha256": "7904275c3383380db179287171e1430617aaa9ac4f439291eff8a71426987fbb" From b9851bf93d762a991c31320e4c27449f176338eb Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Tue, 10 Nov 2026 16:45:08 +0800 Subject: [PATCH 5/6] tests: run the snapshot fixtures under hosted-runner conditions Hosted CI failed two tests. The divergent-edit merge ran without the fixture's Git identity, so on a runner without a global identity it stopped before any conflict; every fixture Git call now uses the same identity. The coverage-view test rendered the index with the placeholder revision "test-source", which the strict snapshot no longer accepts; it now passes a full-length revision. Also state in the workflow docs that the helper's path lists overlap. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- docs/knowledge-contribution-workflow.md | 3 +++ tests/test_skill_coverage_view.py | 2 +- tests/test_source_snapshot.py | 19 ++++++++++--------- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/knowledge-contribution-workflow.md b/docs/knowledge-contribution-workflow.md index 49bf1ab11..01d12eca7 100644 --- a/docs/knowledge-contribution-workflow.md +++ b/docs/knowledge-contribution-workflow.md @@ -34,6 +34,9 @@ decision. python tools/knowledge_declaration_paths.py --base origin/main --head HEAD ``` + The path lists overlap: under the current policy every generated path is also a + protected path. Do not add their counts. + 4. Write the declaration in the PR body with the reported `head_sha`. Update it after every new commit. diff --git a/tests/test_skill_coverage_view.py b/tests/test_skill_coverage_view.py index dd788f119..77b5c20e3 100644 --- a/tests/test_skill_coverage_view.py +++ b/tests/test_skill_coverage_view.py @@ -328,7 +328,7 @@ def test_resource_layer_decisions_preserve_unknown_na_and_conflicts(tmp_path): hashlib.sha256(path.read_bytes()).hexdigest() for path in library.rglob("*") if path.is_file() } - outputs = index_builder.render_index(library, "test-source", hashes) + outputs = index_builder.render_index(library, "0" * 40, hashes) record = json.loads(outputs["common/skills/process.json"]) assert record["skill_metadata"]["searchspace_not_applicable"] == reason assert record["skill_metadata"]["status"] == "candidate" diff --git a/tests/test_source_snapshot.py b/tests/test_source_snapshot.py index 877d40cd4..7b230a179 100644 --- a/tests/test_source_snapshot.py +++ b/tests/test_source_snapshot.py @@ -91,11 +91,14 @@ def test_invalid_stored_record_never_resolves(mutation): snapshot.resolve(stored, manifest) +# Fixture identity and settings; hosted runners have no global Git identity. +GIT = ["git", "-c", "user.name=Snapshot fixture", "-c", "user.email=fixture@example.invalid", + "-c", "commit.gpgsign=false", "-c", "core.autocrlf=false"] + + def _git(root, *args): return subprocess.run( - ["git", "-c", "user.name=Snapshot fixture", "-c", "user.email=fixture@example.invalid", - "-c", "commit.gpgsign=false", "-c", "core.autocrlf=false", *args], - cwd=root, check=True, capture_output=True, text=True, + [*GIT, *args], cwd=root, check=True, capture_output=True, text=True, ).stdout.strip() @@ -172,10 +175,8 @@ def test_parallel_owner_edits_integrate_in_either_order(tmp_path, monkeypatch, o _contribute(root, monkeypatch, f"edit-{owner}", owner, f"{owner} contribution") generated = DESTINATION.as_posix() for owner in order: - merge = subprocess.run( - ["git", "-c", "user.name=f", "-c", "user.email=f@example.invalid", - "-c", "commit.gpgsign=false", "merge", "--no-ff", "-q", "--no-edit", f"edit-{owner}"], - cwd=root, capture_output=True, text=True) + merge = subprocess.run([*GIT, "merge", "--no-ff", "-q", "--no-edit", f"edit-{owner}"], + cwd=root, capture_output=True, text=True) if merge.returncode: # Only the shared snapshot may collide (the fixture has no coverage view); # take either side, then regenerate it from the merged source. @@ -203,9 +204,9 @@ def test_same_owner_divergent_edits_remain_an_explicit_conflict(tmp_path, monkey _contribute(root, monkeypatch, "first", "alpha", "First version") _contribute(root, monkeypatch, "second", "alpha", "Second version") _git(root, "merge", "-q", "--no-edit", "first") - merge = subprocess.run(["git", "merge", "--no-edit", "second"], cwd=root, + merge = subprocess.run([*GIT, "merge", "--no-edit", "second"], cwd=root, capture_output=True, text=True) - assert merge.returncode != 0 + assert merge.returncode != 0 and "CONFLICT" in merge.stdout conflicted = set(_git(root, "diff", "--name-only", "--diff-filter=U").splitlines()) assert f"{LIBRARY.as_posix()}/methods/alpha/SKILL.md" in conflicted From dfae5ed5cc45294b8e31229c2f991b843f61a412 Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Tue, 10 Nov 2026 17:12:58 +0800 Subject: [PATCH 6/6] docs: record the source pin move in the knowledge stored format The migration regenerated the records at the previous pin d648f257, where every resolved record was byte-identical, and then moved the pin to the squash commit 56c50036 on main. State that resolved records therefore differ only in sources[0].commit and sources[0].url, and how to check the stored hashes against the recorded revision. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- docs/knowledge-contribution-workflow.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/docs/knowledge-contribution-workflow.md b/docs/knowledge-contribution-workflow.md index 01d12eca7..35caf07a7 100644 --- a/docs/knowledge-contribution-workflow.md +++ b/docs/knowledge-contribution-workflow.md @@ -55,13 +55,22 @@ the registry hash: } ``` -`inferrsi.catalog` resolves each stored record into the same public schema-1 record -as before: the `sources` entry with the full commit URL, and `source_files` including -the registry hash. Search, `knowledge show`, Collect and installed wheels see no -change. The generator refuses to write a record that does not resolve back to the -record it rendered. The one-time migration regenerated all 80 records from the -already-pinned source revision; every resolved record is byte-identical to the -previous stored record. +`inferrsi.catalog` resolves each stored record into a public schema-1 record with +the same fields and field order as before: the `sources` entry with the full commit +URL, and `source_files` including the registry hash. Search, `knowledge show`, +Collect and installed wheels keep reading schema 1. The generator refuses to write a +record that does not resolve back to the record it rendered. + +The one-time migration regenerated all 80 records at the previous pin +`d648f25732dee1c974da62a94c46a642ad52cef8`; each resolved record was byte-identical +to the previous stored record. It then moved the pin to +`56c500367d5495fdd9f0e35030c9cd957f70eac5`, the squash commit on `main` with the +same skill-library bytes, because the previous pin is a pre-squash branch commit +and not an ancestor of `main`. Resolved records therefore differ from the previous +records only in `sources[0].commit` and `sources[0].url`; every content hash and +the registry hash are unchanged. To check the stored hashes, run +`python tools/build_skill_index.py --source-revision --check` with +the `source_revision` from `_provenance.json`. ## What changes per contribution