Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
43b75b6
Build pinned atomic Knowledge generations for Apps and managed reads
Dong1017 Nov 26, 2026
0166706
Migrate self-contained Records into source-backed atomic compositions
Dong1017 Nov 26, 2026
94e77e8
Migrate released Cases as verified atomic finding selections
Dong1017 Nov 26, 2026
5582754
Migrate both released Casebook directories to the atomic candidate
Dong1017 Nov 26, 2026
f12f1a7
Pin released Playbook references and freeze their discovery receipts
Dong1017 Nov 26, 2026
e70da50
Migrate three released workflow guides and host entries
Dong1017 Nov 27, 2026
a8589f5
Migrate task routes and the inference task router
Dong1017 Nov 27, 2026
dd30e37
Preserve released workflow research as shared atomic sources
Dong1017 Nov 27, 2026
99f5847
Migrate the released NPU workflow directory and host entry
Dong1017 Nov 27, 2026
bb7f65a
Preserve four released Workflow readers and their resource contracts
Dong1017 Nov 27, 2026
ae40f0a
Preserve the released training resource budget and support long insta…
Dong1017 Nov 27, 2026
12337af
Migrate six planning Playbooks and their original host resources
Dong1017 Nov 27, 2026
1b19a9a
Migrate two vLLM engine checkouts to the atomic Reader
Dong1017 Nov 27, 2026
505777c
Migrate three released Playbook Case checkouts
Dong1017 Nov 27, 2026
61bd8a3
Retain the six Engine originals referenced by Workflows
Dong1017 Nov 27, 2026
f2c8569
Migrate the released dense performance evidence Playbook
Dong1017 Nov 27, 2026
436ef98
Migrate three local Playbook checkouts
Dong1017 Nov 27, 2026
0dcf675
Migrate the released performance ceiling Playbook
Dong1017 Nov 27, 2026
6c51d47
Migrate the released Model SOL Playbook
Dong1017 Nov 27, 2026
50f368a
Migrate the CUDA attention and llama.cpp runtime checkouts
Dong1017 Nov 27, 2026
3be5e09
Integrate the typed Manager and Indexer into the atomic candidate
Dong1017 Nov 27, 2026
6ab9480
Migrate two optimization Playbook checkouts
Dong1017 Nov 27, 2026
2eb42c3
Migrate the released PyTorch checkpoint and host-memory checkouts
Dong1017 Nov 27, 2026
30d8d28
Preserve the released package library guide and index
Dong1017 Nov 27, 2026
438ce65
Preserve two Engine guides required by inference benchmark design
Dong1017 Nov 27, 2026
cd0f5ea
Migrate kernel writing guide to atoms
Dong1017 Nov 27, 2026
4b04fd6
Migrate optimization search policy to atomic knowledge
Dong1017 Nov 27, 2026
68f0d38
Migrate the released H3 runtime checkout
Dong1017 Nov 27, 2026
c80275f
Migrate the released PyTorch checkout
Dong1017 Nov 27, 2026
e9f6bb7
Migrate inference benchmark design and its required evidence
Dong1017 Nov 27, 2026
cb3b3c0
Migrate four remaining host-platform checkout routes
Dong1017 Nov 27, 2026
8b43122
Migrate two released CUDA platform checkouts
Dong1017 Nov 27, 2026
b1dc4fa
Migrate Ascend ACLGraph and quantization knowledge
Dong1017 Nov 27, 2026
701e752
Migrate ten Ascend platform Knowledge entries
Dong1017 Nov 27, 2026
9530a06
Migrate Diffusers and MLX Knowledge entries
Dong1017 Nov 27, 2026
c0b8f6e
Migrate Ascend graph-mode Knowledge
Dong1017 Nov 27, 2026
0312df9
Migrate the released Platform inventory originals
Dong1017 Nov 27, 2026
ad00168
Migrate the released TorchNPU framework originals
Dong1017 Nov 28, 2026
2db3d83
Migrate the released H3-Metal FastH3 checkout
Dong1017 Nov 28, 2026
b593f99
Preserve the released Husky package sources
Dong1017 Nov 28, 2026
94238e7
Preserve DwarfStar runtime knowledge
Dong1017 Nov 28, 2026
0a76453
Migrate the released MLC-LLM Engine originals
Dong1017 Nov 28, 2026
92cc961
Migrate the SGLang Engine checkout
Dong1017 Nov 28, 2026
70908f9
Preserve Splash runtime knowledge
Dong1017 Nov 28, 2026
724707e
knowledge: migrate vLLM Metal knowledge atoms (#805)
Dong1017 Nov 28, 2026
2475ddb
knowledge: migrate vLLM Ascend knowledge atoms (#816)
Dong1017 Nov 28, 2026
6842ae3
knowledge: migrate Strata knowledge atoms (#821)
Dong1017 Nov 28, 2026
a250378
knowledge: migrate MLX knowledge atoms (#813)
Dong1017 Nov 28, 2026
022968d
knowledge: migrate stable-diffusion.cpp knowledge atoms (#814)
Dong1017 Nov 28, 2026
b3fe9e8
Migrate the Lily NPU engine guide into the atomic candidate (#811)
Dong1017 Nov 28, 2026
e11dbff
Migrate vLLM base knowledge originals (#826)
Dong1017 Nov 28, 2026
4c498ae
Migrate Local Dream to atomic knowledge
Dong1017 Nov 29, 2026
15b4186
Bind legacy package resources to sealed knowledge atoms
Dong1017 Nov 29, 2026
15fcd0b
Migrate ComfyUI Engine originals
Dong1017 Nov 29, 2026
e8b57f3
Retain v0.3.4 task originals for package reads
Dong1017 Nov 29, 2026
b66a07c
Migrate Mistral.rs original knowledge and checkout (#804)
Dong1017 Nov 29, 2026
3ffc377
Migrate the vLLM-RLT finalization skill to atomic knowledge
Dong1017 Nov 29, 2026
34be783
Preserve the vLLM provenance guide for legacy package reads
Dong1017 Nov 29, 2026
f512c59
Route installed atomic knowledge through the public CLI and Reader (#…
Dong1017 Nov 29, 2026
182dfc1
knowledge: migrate Project Maya originals (#807)
Dong1017 Nov 29, 2026
e042c22
fix(knowledge): preserve installed Engine guide navigation
Dong1017 Nov 30, 2026
02d641d
Package the sealed atomic generation in release artifacts (#789)
Dong1017 Nov 30, 2026
58a12ff
fix(knowledge): deliver installed Records with their original attachm…
Dong1017 Nov 30, 2026
f314fe2
fix(knowledge): use the installed generation for default host discove…
Dong1017 Nov 30, 2026
ae3e0a0
test(release): count installed query aliases (#892)
Dong1017 Nov 30, 2026
726770c
Migrate MLX-LM generation cache lifecycle to atomic knowledge
Dong1017 Dec 1, 2026
5510bd2
Migrate shared vLLM and SGLang Omni Engine originals
Dong1017 Dec 1, 2026
611f86a
Migrate the released Lithos Metal knowledge directory
Dong1017 Dec 1, 2026
3649932
knowledge: migrate Flare lifecycle knowledge atoms
Dong1017 Dec 1, 2026
65eec02
Migrate the bundled DeepInfer checkout entries to atomic knowledge
Dong1017 Dec 1, 2026
921d21a
Migrate the archived AFD P2P audit into the atomic candidate
Dong1017 Dec 1, 2026
a4c2eb7
knowledge: migrate LMCache KV tier management checkout
Dong1017 Dec 1, 2026
7346218
fix(knowledge): collect from a pinned installed wheel
Dong1017 Dec 1, 2026
eb24416
Preserve projected Record status in public Find
Dong1017 Dec 1, 2026
d7afb29
Reconcile legacy package receipts against atomic originals (#843)
Dong1017 Dec 1, 2026
b45f23b
fix(knowledge): preserve Task Intake on an installed atomic generatio…
Dong1017 Dec 1, 2026
70bce0e
Bind attached Omni Records to the verified Engine originals
Dong1017 Dec 1, 2026
32cd7a6
Stage authorized knowledge generations for release packaging
Dong1017 Dec 2, 2026
6dab5c2
Expose frozen Husky originals through the public package reader
Dong1017 Dec 2, 2026
9d8607a
Integrate the current-only atomic Knowledge release
Dong1017 Dec 2, 2026
04b4b37
Preserve legacy packaging validation diagnostics
Dong1017 Dec 2, 2026
911a8be
Shorten installed paths for sealed Knowledge compositions on Windows
Dong1017 Dec 2, 2026
08408d8
Reserve Knowledge Store identities in source and installed releases
Dong1017 Dec 2, 2026
5691cf6
Keep retained service reads within the package scope
Dong1017 Dec 2, 2026
858434b
Verify py_compile caches from sealed sources on Python 3.10
Dong1017 Dec 2, 2026
88c12de
Integrate current main with current-only cutover repairs
Dong1017 Dec 2, 2026
bec7454
Verify the release wheel's Task routes on Windows
Dong1017 Dec 2, 2026
ea5a5c5
Integrate reviewed Knowledge source routing into the release candidate
Dong1017 Dec 2, 2026
87a6503
Hold atomic releases until the first main rehearsal
Dong1017 Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
# Preserve recorded evidence and historical validator bytes across checkouts.
/evidence/** -text
/tests/fixtures/legacy/** -text
/tests/fixtures/atomic-reader/** -text whitespace=-blank-at-eof
# Migrated task paragraphs and YAML headers retain their original LF separators.
/src/inferrsi/knowledge/atoms/task-*.md text eol=lf whitespace=-blank-at-eof
/src/inferrsi/knowledge/compositions/*-header.yaml text eol=lf whitespace=-blank-at-eof
# A session started by an older runtime keeps its exact bytes; its plan pins file hashes.
/tests/fixtures/optimization-session/pre-infra-removal-session/** -text
/tests/fixtures/optimization-session/pre-trials-rename-session/** -text
Expand All @@ -12,9 +16,27 @@
/evidence/README.md text eol=lf
/evidence/_template/** text eol=lf

/src/inferrsi/knowledge/atoms/casebooks/* -text
/src/inferrsi/knowledge/atoms/workflows/** -text
# Two released Markdown guides use trailing spaces for hard line breaks.
/src/inferrsi/knowledge/atoms/workflows/cite-check-downstream-pr.md whitespace=-blank-at-eol
/src/inferrsi/knowledge/atoms/workflows/competitor-scan.md whitespace=-blank-at-eol

# Retain this upstream license's original CRLF Git blob bytes.
/src/inferrsi/knowledge/data/skill_library/systems/frameworks/torch-npu/torch-npu/references/licenses/op-plugin-LICENSE.txt -text
/src/inferrsi/knowledge/atoms/frameworks/torch-npu/references-licenses-op-plugin-license.txt -text whitespace=cr-at-eol

# Source-backed Record atoms pin byte ranges in the original release files.
/src/inferrsi/knowledge/atoms/records/*.json -text

# Generated third-party bundles, with source references and notices beside them.
/plugins/inferrsi-dsh/vendor/ssh2.cjs linguist-generated=true linguist-vendored=true
/plugins/inferrsi-dsh/vendor/yaml.cjs linguist-generated=true linguist-vendored=true

# Keep held historical originals out of newly exported source archives.
/src/inferrsi/knowledge/atoms/platforms/ascend-operator-profiling.md export-ignore
/src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-operator-profiling/SKILL.md export-ignore
/src/inferrsi/knowledge/atoms/platforms/ascend-operator-tuning.md export-ignore
/src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-operator-tuning/SKILL.md export-ignore
/src/inferrsi/knowledge/atoms/platforms/ascendc-tiling-design.md export-ignore
/src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascendc-tiling-design/SKILL.md export-ignore
1,950 changes: 1,950 additions & 0 deletions .github/release-knowledge/grant.json

Large diffs are not rendered by default.

138 changes: 130 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ jobs:
echo "::notice::No release due for this channel."
fi

build:
validate:
needs: plan
if: needs.plan.outputs.release == 'true'
runs-on: ubuntu-latest
timeout-minutes: 25
timeout-minutes: 60
env:
RELEASE_TAG: ${{ needs.plan.outputs.tag }}
RELEASE_COMMIT: ${{ needs.plan.outputs.commit }}
Expand All @@ -109,51 +109,155 @@ jobs:
git tag "$RELEASE_TAG" "$RELEASE_COMMIT"
- name: Run CPU checks before release
run: |
python -m pip install -e ".[dev]" build twine
python -m pip install -e ".[dev]"
ruff check src tests tools plugins/workswarm
pytest
test -z "$(git status --porcelain)"

build:
needs: [plan, validate]
if: needs.plan.outputs.release == 'true' && needs.validate.result == 'success'
runs-on: ubuntu-latest
timeout-minutes: 25
outputs:
generation: ${{ steps.stage.outputs.generation }}
distribution_artifact: ${{ steps.distributions.outputs.artifact-id }}
env:
RELEASE_TAG: ${{ needs.plan.outputs.tag }}
RELEASE_COMMIT: ${{ needs.plan.outputs.commit }}
# Multiple reserved tags can share a commit after failed publication.
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_INFERRSI: ${{ needs.plan.outputs.version }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.plan.outputs.commit }}
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Validate source and create the local version tag
shell: bash
run: |
[[ "$(git rev-parse HEAD)" == "$RELEASE_COMMIT" ]]
git tag "$RELEASE_TAG" "$RELEASE_COMMIT"
- name: Install release build dependencies
run: python -m pip install -e ".[skills]" build twine
- name: Prepare the exact release source and Knowledge generation
id: stage
shell: bash
run: |
python tools/stage_release_knowledge.py --commit "$RELEASE_COMMIT" \
--destination "$RUNNER_TEMP/release-source" >> "$GITHUB_OUTPUT"
test -z "$(git status --porcelain)"
- name: Build and check distributables
env:
RELEASE_SOURCE: ${{ steps.stage.outputs.source }}
shell: bash
run: |
python -m build --outdir "$RUNNER_TEMP/release-dist"
python -m build "$RELEASE_SOURCE" --outdir "$RUNNER_TEMP/release-dist"
python -m twine check "$RUNNER_TEMP"/release-dist/*.whl "$RUNNER_TEMP"/release-dist/*.tar.gz
python tools/check_release.py sdist "$RUNNER_TEMP"/release-dist/*.tar.gz
test -z "$(git status --porcelain)"
- name: Check a clean wheel installation outside the checkout
env:
EXPECTED_GENERATION: ${{ steps.stage.outputs.generation }}
RELEASE_SOURCE: ${{ steps.stage.outputs.source }}
shell: bash
run: |
python -m venv "$RUNNER_TEMP/wheel-env"
wheels=("$RUNNER_TEMP"/release-dist/*.whl)
"$RUNNER_TEMP/wheel-env/bin/python" -m pip install "${wheels[0]}[skills]"
cp tests/repository/check_installed.py tools/check_release.py "$RUNNER_TEMP/"
cd "$RUNNER_TEMP"
env -u PYTHONPATH INFERRSI_CHECKOUT_RESOURCES="$GITHUB_WORKSPACE/src/inferrsi" INFERRSI_SESSION_LOCK_PROBE="$GITHUB_WORKSPACE/tests/harness/session_lock_probe.py" INFERRSI_PRE_CHANGE_SESSIONS="$GITHUB_WORKSPACE/tests/fixtures/optimization-session" "$RUNNER_TEMP/wheel-env/bin/python" -I check_installed.py
options=()
if [[ -n "$EXPECTED_GENERATION" ]]; then options+=(--atomic-generation "$EXPECTED_GENERATION"); fi
env -u PYTHONPATH \
INFERRSI_CHECKOUT_RESOURCES="$RELEASE_SOURCE/src/inferrsi" \
INFERRSI_SESSION_LOCK_PROBE="$GITHUB_WORKSPACE/tests/harness/session_lock_probe.py" \
INFERRSI_PRE_CHANGE_SESSIONS="$GITHUB_WORKSPACE/tests/fixtures/optimization-session" \
"$RUNNER_TEMP/wheel-env/bin/python" -I check_installed.py "${options[@]}"
env -u PYTHONPATH "$RUNNER_TEMP/wheel-env/bin/python" -I check_release.py \
installed --tag "$RELEASE_TAG"
- name: Build and validate the installable host plugin ZIPs
env:
RELEASE_SOURCE: ${{ steps.stage.outputs.source }}
EXPECTED_GENERATION: ${{ steps.stage.outputs.generation }}
shell: bash
run: |
for host in codex workswarm; do
python "tools/build_${host}_plugin.py" \
python "$RELEASE_SOURCE/tools/build_${host}_plugin.py" \
--output "$RUNNER_TEMP/plugin-build/inferrsi-$host-plugin-$RELEASE_TAG" \
--release-version "${RELEASE_TAG#v}"
cp "$RUNNER_TEMP/plugin-build/inferrsi-$host-plugin-$RELEASE_TAG.zip" "$RUNNER_TEMP/release-dist/"
python tools/check_release.py plugin \
"$RUNNER_TEMP/release-dist/inferrsi-$host-plugin-$RELEASE_TAG.zip" \
--tag "$RELEASE_TAG" --host "$host"
done
options=()
if [[ -n "$EXPECTED_GENERATION" ]]; then options+=(--expected-generation "$EXPECTED_GENERATION"); fi
"$RUNNER_TEMP/wheel-env/bin/python" -I tools/check_release.py generation \
--source "$RELEASE_SOURCE/src/inferrsi/_atomic" \
--sdist "$RUNNER_TEMP"/release-dist/*.tar.gz \
--wheel "$RUNNER_TEMP"/release-dist/*.whl \
--codex "$RUNNER_TEMP/release-dist/inferrsi-codex-plugin-$RELEASE_TAG.zip" \
--workswarm "$RUNNER_TEMP/release-dist/inferrsi-workswarm-plugin-$RELEASE_TAG.zip" \
"${options[@]}"
test -z "$(git status --porcelain)"
- name: Generate checksums
working-directory: ${{ runner.temp }}/release-dist
run: sha256sum *.whl *.tar.gz *.zip > SHA256SUMS
- uses: actions/upload-artifact@v4
id: distributions
with:
name: release-distributions
path: ${{ runner.temp }}/release-dist/
if-no-files-found: error
retention-days: 7

windows-tasks:
needs: [plan, build]
if: >-
needs.plan.outputs.release == 'true' && needs.build.result == 'success' &&
needs.build.outputs.generation != ''
runs-on: windows-latest
timeout-minutes: 15
outputs:
wheel_sha256: ${{ steps.replay.outputs.wheel_sha256 }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.plan.outputs.commit }}
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.12"
architecture: x64
- uses: actions/download-artifact@v4
with:
name: release-distributions
path: ${{ runner.temp }}/release-dist
- name: Replay the seven installed Task entries and router cards
id: replay
env:
RELEASE_COMMIT: ${{ needs.plan.outputs.commit }}
RELEASE_GENERATION: ${{ needs.build.outputs.generation }}
RELEASE_ARTIFACT_ID: ${{ needs.build.outputs.distribution_artifact }}
shell: pwsh
run: |
python -I tools/check_release_windows_tasks.py `
--commit "$env:RELEASE_COMMIT" `
--generation "$env:RELEASE_GENERATION" `
--artifact-id "$env:RELEASE_ARTIFACT_ID" `
--distributions "$env:RUNNER_TEMP/release-dist" `
--output "$env:RUNNER_TEMP/windows-task-replay.json"
- uses: actions/upload-artifact@v4
with:
name: windows-task-replay
path: ${{ runner.temp }}/windows-task-replay.json
if-no-files-found: error
retention-days: 30

notes:
needs: [plan, build]
if: needs.plan.outputs.release == 'true' && needs.build.result == 'success'
Expand Down Expand Up @@ -210,10 +314,15 @@ jobs:
retention-days: 7

publish:
needs: [plan, build, notes]
needs: [plan, build, windows-tasks, notes]
if: >-
always() && !cancelled() &&
needs.plan.outputs.release == 'true' && needs.build.result == 'success' &&
((needs.build.outputs.generation != '' && needs.windows-tasks.result == 'success') ||
(needs.build.outputs.generation == '' && needs.windows-tasks.result == 'skipped')) &&
(needs.build.outputs.generation == '' ||
vars.INFERRSI_ATOMIC_RELEASE_APPROVAL == 'automatic' ||
vars.INFERRSI_ATOMIC_RELEASE_APPROVAL == format('{0}@{1}', needs.plan.outputs.commit, needs.build.outputs.generation)) &&
(github.event_name == 'schedule' || !inputs.dry_run)
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down Expand Up @@ -260,7 +369,20 @@ jobs:
path: notes
- name: Verify downloaded checksums
working-directory: dist
run: sha256sum --check SHA256SUMS
env:
RELEASE_GENERATION: ${{ needs.build.outputs.generation }}
WINDOWS_WHEEL_SHA256: ${{ needs.windows-tasks.outputs.wheel_sha256 }}
shell: bash
run: |
sha256sum --check SHA256SUMS
if [[ -n "$RELEASE_GENERATION" ]]; then
[[ "$RELEASE_GENERATION" =~ ^sha256:[0-9a-f]{64}$ ]]
wheels=(*.whl)
[[ "${#wheels[@]}" == 1 && "$WINDOWS_WHEEL_SHA256" =~ ^[0-9a-f]{64}$ ]]
printf '%s %s\n' "$WINDOWS_WHEEL_SHA256" "${wheels[0]}" | sha256sum --check -
else
[[ -z "$WINDOWS_WHEEL_SHA256" ]]
fi
- name: Recheck source ancestry and release state before writing
shell: bash
run: |
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Keep SCM discovery from adding repository evidence, workflows or local tooling.
global-exclude *
graft src/inferrsi
# Atomic authoring inputs belong to the checkout. Installed reads use the sealed generation.
prune src/inferrsi/knowledge/atoms
prune src/inferrsi/knowledge/compositions
exclude src/inferrsi/knowledge/skill-registry.json
include pyproject.toml README.md LICENSE MANIFEST.in
global-exclude __pycache__ *.py[cod]
4 changes: 4 additions & 0 deletions docs/apps-module-migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,11 @@
"tests/apps/test_apps_context_provider.py",
"tests/apps/test_apps_knowledge.py",
"tests/apps/test_codex_knowledge_search.py",
"tests/apps/test_optimization_session.py",
"tests/harness/test_harness_generation_seal.py",
"tests/knowledge/test_atomic_casebooks.py",
"tests/knowledge/test_atomic_mlc_llm_directory.py",
"tests/knowledge/test_atomic_records.py",
"tools/evaluate_indexer.py"
],
"status": "retired",
Expand Down
Loading
Loading