inference-engine 0.1.0a1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. inference_engine-0.1.0a1/.githooks/commit-msg +8 -0
  2. inference_engine-0.1.0a1/.githooks/post-commit +21 -0
  3. inference_engine-0.1.0a1/.githooks/pre-commit +24 -0
  4. inference_engine-0.1.0a1/.github/CODEOWNERS +1 -0
  5. inference_engine-0.1.0a1/.github/dependabot.yml +29 -0
  6. inference_engine-0.1.0a1/.github/release-health.json +16 -0
  7. inference_engine-0.1.0a1/.github/workflows/ci.yml +302 -0
  8. inference_engine-0.1.0a1/.github/workflows/conventional-commits.yml +12 -0
  9. inference_engine-0.1.0a1/.github/workflows/dependabot-merge.yml +24 -0
  10. inference_engine-0.1.0a1/.github/workflows/release-health.yml +21 -0
  11. inference_engine-0.1.0a1/.gitignore +12 -0
  12. inference_engine-0.1.0a1/AGENTS.md +13 -0
  13. inference_engine-0.1.0a1/Cargo.lock +820 -0
  14. inference_engine-0.1.0a1/Cargo.toml +49 -0
  15. inference_engine-0.1.0a1/LICENSE-APACHE +203 -0
  16. inference_engine-0.1.0a1/LICENSE-MIT +23 -0
  17. inference_engine-0.1.0a1/PKG-INFO +74 -0
  18. inference_engine-0.1.0a1/README.md +57 -0
  19. inference_engine-0.1.0a1/bindings/node/Cargo.toml +20 -0
  20. inference_engine-0.1.0a1/bindings/node/build.rs +3 -0
  21. inference_engine-0.1.0a1/bindings/node/src/lib.rs +19 -0
  22. inference_engine-0.1.0a1/bindings/python/Cargo.toml +17 -0
  23. inference_engine-0.1.0a1/bindings/python/src/lib.rs +25 -0
  24. inference_engine-0.1.0a1/build.rs +13 -0
  25. inference_engine-0.1.0a1/docs/publication.md +79 -0
  26. inference_engine-0.1.0a1/index.cjs +19 -0
  27. inference_engine-0.1.0a1/index.d.ts +8 -0
  28. inference_engine-0.1.0a1/package-lock.json +16 -0
  29. inference_engine-0.1.0a1/package.json +31 -0
  30. inference_engine-0.1.0a1/pyproject.toml +33 -0
  31. inference_engine-0.1.0a1/python/inference_engine/__init__.py +13 -0
  32. inference_engine-0.1.0a1/python/inference_engine/__init__.pyi +4 -0
  33. inference_engine-0.1.0a1/python/inference_engine/py.typed +0 -0
  34. inference_engine-0.1.0a1/rust-toolchain.toml +3 -0
  35. inference_engine-0.1.0a1/rustfmt-toolchain +1 -0
  36. inference_engine-0.1.0a1/scripts/build-node.py +14 -0
  37. inference_engine-0.1.0a1/scripts/check-package.py +45 -0
  38. inference_engine-0.1.0a1/scripts/fmt.sh +10 -0
  39. inference_engine-0.1.0a1/scripts/release-packages.py +170 -0
  40. inference_engine-0.1.0a1/scripts/release-version.py +29 -0
  41. inference_engine-0.1.0a1/scripts/sync-version.py +23 -0
  42. inference_engine-0.1.0a1/scripts/test-node.cjs +13 -0
  43. inference_engine-0.1.0a1/scripts/test-npm-package.py +30 -0
  44. inference_engine-0.1.0a1/scripts/test-python.py +17 -0
  45. inference_engine-0.1.0a1/scripts/test-release.py +66 -0
  46. inference_engine-0.1.0a1/scripts/test-wheel.py +22 -0
  47. inference_engine-0.1.0a1/scripts/test-workflow.py +28 -0
  48. inference_engine-0.1.0a1/src/lib.rs +43 -0
  49. inference_engine-0.1.0a1/tests/public_api.rs +15 -0
@@ -0,0 +1,8 @@
1
+ #!/bin/sh
2
+ # Validate conventional commit format with mandatory scope.
3
+ if ! head -n 1 "$1" | grep -qE '^(feat|fix|build|chore|docs|style|ci|refactor|perf|test|revert)\([a-z0-9][a-z0-9./-]*\)!?: [^[:space:]](.*[^[:space:]])?$'; then
4
+ echo "Error: Invalid commit message format."
5
+ echo "Required: type(scope): description"
6
+ echo "Example: feat(cache): add bounded cache"
7
+ exit 1
8
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ COMMIT_HASH=$(git rev-parse HEAD 2>/dev/null)
3
+ if [ -z "$COMMIT_HASH" ]; then
4
+ echo "Error: Failed to get commit hash."
5
+ exit 1
6
+ fi
7
+
8
+ SIG_STATUS=$(git log -1 --format='%G?' "$COMMIT_HASH" 2>/dev/null || echo "N")
9
+
10
+ case "$SIG_STATUS" in
11
+ G) echo "Commit is signed." ;;
12
+ N)
13
+ echo "Error: Commit $COMMIT_HASH is not signed!"
14
+ echo "Configure signing: git config commit.gpgsign true"
15
+ exit 1
16
+ ;;
17
+ *)
18
+ echo "Error: Invalid signature (status: $SIG_STATUS)"
19
+ exit 1
20
+ ;;
21
+ esac
@@ -0,0 +1,24 @@
1
+ #!/bin/sh
2
+ # Check for the repository toolchain.
3
+ if ! rustc --version > /dev/null 2>&1; then
4
+ echo "Error: Pinned Rust toolchain is required but not installed."
5
+ echo "Install with: rustup toolchain install 1.99.1"
6
+ exit 1
7
+ fi
8
+
9
+ RUST_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep '\.rs$' || true)
10
+ if [ -z "$RUST_FILES" ]; then
11
+ exit 0
12
+ fi
13
+
14
+ echo "Running ./scripts/fmt.sh --check..."
15
+ if ! ./scripts/fmt.sh --check; then
16
+ echo "Format check failed. Run: ./scripts/fmt.sh"
17
+ exit 1
18
+ fi
19
+
20
+ echo "Running cargo clippy..."
21
+ if ! cargo clippy --all-targets -- -D warnings; then
22
+ echo "Clippy check failed."
23
+ exit 1
24
+ fi
@@ -0,0 +1 @@
1
+ * @jgeluk
@@ -0,0 +1,29 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: cargo
4
+ directory: /
5
+ schedule:
6
+ interval: daily
7
+ commit-message:
8
+ prefix: build(deps)
9
+ groups:
10
+ rust-updates:
11
+ patterns: ["*"]
12
+ - package-ecosystem: pip
13
+ directory: /
14
+ schedule:
15
+ interval: daily
16
+ commit-message:
17
+ prefix: build(deps)
18
+ - package-ecosystem: npm
19
+ directory: /
20
+ schedule:
21
+ interval: daily
22
+ commit-message:
23
+ prefix: build(deps)
24
+ - package-ecosystem: github-actions
25
+ directory: /
26
+ schedule:
27
+ interval: daily
28
+ commit-message:
29
+ prefix: ci(deps)
@@ -0,0 +1,16 @@
1
+ {
2
+ "repositories": [
3
+ {
4
+ "repository": "legra-ai/inference-engine",
5
+ "workflow": "ci.yml",
6
+ "assignee": "jgeluk",
7
+ "registries": {
8
+ "crates": "inference-engine",
9
+ "pypi": "inference-engine",
10
+ "npm": "inference-engine"
11
+ },
12
+ "cli_assets": [],
13
+ "recovery_asset": "release-packages.zip"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,302 @@
1
+ name: CI
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
+ workflow_dispatch:
7
+ schedule:
8
+ - cron: '41 4 * * *'
9
+ permissions:
10
+ contents: read
11
+ concurrency:
12
+ group: ci-${{ github.ref }}
13
+ cancel-in-progress: false
14
+ defaults:
15
+ run:
16
+ shell: bash {0}
17
+ jobs:
18
+ prepare:
19
+ runs-on: ubuntu-24.04
20
+ outputs:
21
+ version: ${{ steps.manifest.outputs.version }}
22
+ revision: ${{ steps.release.outputs.revision }}
23
+ release: ${{ steps.release.outputs.release }}
24
+ steps:
25
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
26
+ with:
27
+ fetch-depth: 0
28
+ - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510
29
+ if: github.ref == 'refs/heads/main'
30
+ id: writer
31
+ with:
32
+ app-id: ${{ secrets.RELEASE_WRITER_APP_ID }}
33
+ private-key: ${{ secrets.RELEASE_WRITER_APP_KEY }}
34
+ owner: ${{ github.repository_owner }}
35
+ repositories: ${{ github.event.repository.name }}
36
+ - uses: legra-ai/github-actions/.github/actions/prepare-cargo-release@436340e7d6c2b6d71921145415690b2518f1901d
37
+ id: release
38
+ with:
39
+ token: ${{ steps.writer.outputs.token || github.token }}
40
+ - name: Read version from the exact prepared source, including PR builds
41
+ id: manifest
42
+ env:
43
+ RELEASE_REVISION: ${{ steps.release.outputs.revision }}
44
+ run: |
45
+ git fetch origin "$RELEASE_REVISION" || exit 1
46
+ python3 - <<'PYTHON'
47
+ import os, runpy, subprocess, tomllib
48
+ raw = subprocess.check_output(['git', 'show', os.environ['RELEASE_REVISION'] + ':Cargo.toml'], text=True)
49
+ version = tomllib.loads(raw)['workspace']['package']['version']
50
+ runpy.run_path('scripts/release-version.py')['python_version'](version)
51
+ with open(os.environ['GITHUB_OUTPUT'], 'a') as output:
52
+ output.write('version=' + version + '\n')
53
+ PYTHON
54
+
55
+ verify:
56
+ needs: prepare
57
+ runs-on: ubuntu-24.04
58
+ steps:
59
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
60
+ with:
61
+ ref: ${{ needs.prepare.outputs.revision }}
62
+ - uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec
63
+ with:
64
+ toolchain: nightly-2026-11-08
65
+ components: rustfmt
66
+ - uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30
67
+ with:
68
+ components: clippy
69
+ - run: python3 scripts/test-release.py
70
+ - run: python3 scripts/test-workflow.py
71
+ - run: python3 scripts/release-version.py
72
+ - run: ./scripts/fmt.sh --check
73
+ - run: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
74
+ - run: cargo test --locked --doc
75
+ - run: cargo doc --locked --no-deps
76
+ - uses: legra-ai/github-actions/.github/actions/test-cargo-package@436340e7d6c2b6d71921145415690b2518f1901d
77
+
78
+ sdist:
79
+ needs: prepare
80
+ runs-on: ubuntu-24.04
81
+ steps:
82
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
83
+ with:
84
+ ref: ${{ needs.prepare.outputs.revision }}
85
+ - uses: actions/setup-python@v7
86
+ with:
87
+ python-version: '3.13'
88
+ - uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30
89
+ - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2
90
+ with:
91
+ version: '0.13.7'
92
+ - run: uv build --sdist --out-dir dist
93
+ - run: python3 scripts/check-package.py dist/*.tar.gz
94
+ - run: uvx --from twine==7.0.0 twine check --strict dist/*
95
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
96
+ with:
97
+ name: release-sdist
98
+ path: dist/*.tar.gz
99
+ if-no-files-found: error
100
+
101
+ native:
102
+ needs: [prepare, sdist]
103
+ runs-on: ${{ matrix.os }}
104
+ strategy:
105
+ fail-fast: false
106
+ matrix:
107
+ include:
108
+ - os: ubuntu-24.04
109
+ target: x86_64-unknown-linux-gnu
110
+ - os: ubuntu-24.04-arm
111
+ target: aarch64-unknown-linux-gnu
112
+ - os: macos-15-intel
113
+ target: x86_64-apple-darwin
114
+ - os: macos-15
115
+ target: aarch64-apple-darwin
116
+ - os: windows-latest
117
+ target: x86_64-pc-windows-msvc
118
+ steps:
119
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
120
+ with:
121
+ ref: ${{ needs.prepare.outputs.revision }}
122
+ - uses: actions/setup-python@v7
123
+ with:
124
+ python-version: '3.13'
125
+ - uses: actions/setup-node@v7
126
+ with:
127
+ node-version: '24'
128
+ - uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30
129
+ - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2
130
+ with:
131
+ version: '0.13.7'
132
+ - run: cargo test --locked --workspace
133
+ - run: python3 scripts/build-node.py
134
+ - run: npm test
135
+ - run: python3 scripts/test-npm-package.py
136
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
137
+ with:
138
+ name: release-sdist
139
+ path: source-dist
140
+ - name: Extract verified source distribution
141
+ run: |
142
+ mkdir source-build || exit 1
143
+ tar -xzf source-dist/*.tar.gz --strip-components=1 -C source-build || exit 1
144
+ - name: Read the pinned Python build backend
145
+ id: backend
146
+ run: |
147
+ python3 - <<'PYTHON'
148
+ import os, re, tomllib
149
+ from pathlib import Path
150
+ requires = tomllib.loads(Path('pyproject.toml').read_text())['build-system']['requires']
151
+ if len(requires) != 1 or not re.fullmatch(r'maturin==[0-9]+\.[0-9]+\.[0-9]+', requires[0]):
152
+ raise ValueError('Expected one exact maturin build-backend pin')
153
+ with open(os.environ['GITHUB_OUTPUT'], 'a') as output:
154
+ output.write('version=' + requires[0].split('==', 1)[1] + '\n')
155
+ PYTHON
156
+ - name: Build manylinux wheel from source distribution
157
+ if: runner.os == 'Linux'
158
+ uses: PyO3/maturin-action@v1
159
+ with:
160
+ maturin-version: ${{ steps.backend.outputs.version }}
161
+ target: ${{ matrix.target }}
162
+ manylinux: '2_28'
163
+ working-directory: source-build
164
+ args: --release --locked --out ../dist --interpreter python3.13
165
+ - name: Build macOS or Windows wheel from source distribution
166
+ if: runner.os != 'Linux'
167
+ run: uv build --wheel --out-dir dist -C 'maturin.build-args=--locked' source-dist/*.tar.gz
168
+ - run: python3 scripts/check-package.py dist/*.whl
169
+ - run: uvx --from twine==7.0.0 twine check --strict dist/*.whl
170
+ - name: Test installed wheel outside the checkout
171
+ run: python3 scripts/test-wheel.py
172
+ - name: Stage flat native artifact inventory
173
+ run: |
174
+ mkdir release-native || exit 1
175
+ cp dist/*.whl ./*.node release-native/ || exit 1
176
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
177
+ with:
178
+ name: release-native-${{ matrix.target }}
179
+ path: release-native/*
180
+ if-no-files-found: error
181
+
182
+ test:
183
+ if: always()
184
+ needs: [prepare, verify, sdist, native]
185
+ runs-on: ubuntu-24.04
186
+ steps:
187
+ - name: Require every validation and platform artifact
188
+ env:
189
+ RESULTS: ${{ toJSON(needs) }}
190
+ run: |
191
+ python3 - <<'PY'
192
+ import json, os
193
+ failed = {name: value['result'] for name, value in json.loads(os.environ['RESULTS']).items() if value['result'] != 'success'}
194
+ if failed:
195
+ raise RuntimeError(f'Required release gates failed: {failed}')
196
+ PY
197
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
198
+ with:
199
+ ref: ${{ needs.prepare.outputs.revision }}
200
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
201
+ with:
202
+ pattern: release-*
203
+ merge-multiple: true
204
+ path: dist
205
+ - name: Check complete publication inventory before tagging
206
+ env:
207
+ RELEASE_VERSION: ${{ needs.prepare.outputs.version }}
208
+ run: python3 scripts/release-packages.py check-build
209
+
210
+ publish:
211
+ needs: [prepare, test]
212
+ if: github.ref == 'refs/heads/main' && needs.prepare.outputs.release == 'true'
213
+ runs-on: ubuntu-24.04
214
+ environment: pypi
215
+ permissions:
216
+ contents: write
217
+ id-token: write
218
+ env:
219
+ RELEASE_VERSION: ${{ needs.prepare.outputs.version }}
220
+ RELEASE_REVISION: ${{ needs.prepare.outputs.revision }}
221
+ steps:
222
+ - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510
223
+ id: writer
224
+ with:
225
+ app-id: ${{ secrets.RELEASE_WRITER_APP_ID }}
226
+ private-key: ${{ secrets.RELEASE_WRITER_APP_KEY }}
227
+ owner: ${{ github.repository_owner }}
228
+ repositories: ${{ github.event.repository.name }}
229
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
230
+ with:
231
+ ref: ${{ needs.prepare.outputs.revision }}
232
+ fetch-depth: 0
233
+ token: ${{ steps.writer.outputs.token }}
234
+ - uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30
235
+ - uses: actions/setup-python@v7
236
+ with:
237
+ python-version: '3.13'
238
+ - uses: actions/setup-node@v7
239
+ with:
240
+ node-version: '24'
241
+ registry-url: https://registry.npmjs.org
242
+ - run: python3 scripts/release-version.py
243
+ - uses: legra-ai/github-actions/.github/actions/tag-tested-release@436340e7d6c2b6d71921145415690b2518f1901d
244
+ with:
245
+ version: ${{ needs.prepare.outputs.version }}
246
+ revision: ${{ needs.prepare.outputs.revision }}
247
+ - uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3
248
+ with:
249
+ token: ${{ steps.writer.outputs.token }}
250
+ tag_name: v${{ needs.prepare.outputs.version }}
251
+ target_commitish: ${{ needs.prepare.outputs.revision }}
252
+ draft: true
253
+ prerelease: true
254
+ generate_release_notes: true
255
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
256
+ with:
257
+ pattern: release-*
258
+ merge-multiple: true
259
+ path: dist
260
+ - name: Retain or restore immutable original packages
261
+ env:
262
+ GH_TOKEN: ${{ steps.writer.outputs.token }}
263
+ run: python3 scripts/release-packages.py stage
264
+ - uses: legra-ai/github-actions/.github/actions/publish-tested-crate@436340e7d6c2b6d71921145415690b2518f1901d
265
+ with:
266
+ crate: inference-engine
267
+ version: ${{ needs.prepare.outputs.version }}
268
+ revision: ${{ needs.prepare.outputs.revision }}
269
+ env:
270
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
271
+ - id: npm
272
+ run: python3 scripts/release-packages.py check-npm
273
+ - name: Publish original npm archive through trusted publishing
274
+ if: steps.npm.outputs.npm_missing == 'true'
275
+ env:
276
+ NPM_ARCHIVE: ${{ steps.npm.outputs.npm_archive }}
277
+ run: npm publish "$GITHUB_WORKSPACE/$NPM_ARCHIVE" --tag alpha --access public --provenance --ignore-scripts
278
+ - uses: legra-ai/github-actions/.github/actions/verify-registry-publication@436340e7d6c2b6d71921145415690b2518f1901d
279
+ with:
280
+ registry: npm
281
+ package: inference-engine
282
+ version: ${{ needs.prepare.outputs.version }}
283
+ revision: ${{ needs.prepare.outputs.revision }}
284
+ archive: release-packages.zip
285
+ - id: python
286
+ run: python3 scripts/release-packages.py filter-python
287
+ - if: steps.python.outputs.python_missing == 'true'
288
+ uses: pypa/gh-action-pypi-publish@release/v1
289
+ with:
290
+ packages-dir: pending-packages/
291
+ - uses: legra-ai/github-actions/.github/actions/verify-registry-publication@436340e7d6c2b6d71921145415690b2518f1901d
292
+ with:
293
+ registry: pypi
294
+ package: inference-engine
295
+ version: ${{ needs.prepare.outputs.version }}
296
+ revision: ${{ needs.prepare.outputs.revision }}
297
+ archive: release-packages.zip
298
+ - run: python3 scripts/release-packages.py verify-python
299
+ - name: Complete only after every registry is publicly verified
300
+ env:
301
+ GH_TOKEN: ${{ steps.writer.outputs.token }}
302
+ run: gh release edit "v$RELEASE_VERSION" --draft=false --prerelease
@@ -0,0 +1,12 @@
1
+ name: Conventional Commits
2
+ on:
3
+ pull_request_target:
4
+ types: [opened, edited, synchronize, reopened, ready_for_review]
5
+ permissions:
6
+ pull-requests: read
7
+ jobs:
8
+ title:
9
+ name: Conventional Commit
10
+ runs-on: ubuntu-24.04
11
+ steps:
12
+ - uses: legra-ai/github-actions/.github/actions/conventional-commit@436340e7d6c2b6d71921145415690b2518f1901d
@@ -0,0 +1,24 @@
1
+ name: Merge tested dependencies
2
+ on:
3
+ workflow_run:
4
+ workflows: [CI]
5
+ types: [completed]
6
+ permissions:
7
+ contents: read
8
+ jobs:
9
+ merge:
10
+ if: github.event.workflow_run.conclusion == 'success'
11
+ runs-on: ubuntu-24.04
12
+ timeout-minutes: 5
13
+ steps:
14
+ - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3
15
+ id: merger
16
+ with:
17
+ app-id: ${{ secrets.RELEASE_MERGER_APP_ID }}
18
+ private-key: ${{ secrets.RELEASE_MERGER_APP_KEY }}
19
+ owner: ${{ github.repository_owner }}
20
+ repositories: ${{ github.event.repository.name }}
21
+ - uses: legra-ai/github-actions/.github/actions/merge-tested-dependabot@436340e7d6c2b6d71921145415690b2518f1901d
22
+ with:
23
+ token: ${{ steps.merger.outputs.token }}
24
+ app-id: ${{ secrets.RELEASE_MERGER_APP_ID }}
@@ -0,0 +1,21 @@
1
+ name: Release health
2
+ on:
3
+ schedule:
4
+ - cron: '23 * * * *'
5
+ workflow_dispatch:
6
+ permissions:
7
+ contents: read
8
+ issues: write
9
+ concurrency:
10
+ group: release-health
11
+ cancel-in-progress: false
12
+ jobs:
13
+ monitor:
14
+ runs-on: ubuntu-24.04
15
+ timeout-minutes: 15
16
+ steps:
17
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
18
+ - uses: legra-ai/github-actions/.github/actions/monitor-release@436340e7d6c2b6d71921145415690b2518f1901d
19
+ with:
20
+ config: .github/release-health.json
21
+ token: ${{ github.token }}
@@ -0,0 +1,12 @@
1
+ /target/
2
+ /dist/
3
+ /node_modules/
4
+ /.venv/
5
+ /pending-packages/
6
+ /release-packages/
7
+ /release-packages.zip
8
+ *.node
9
+ *.tgz
10
+ __pycache__/
11
+ CHANGELOG.md
12
+ /release-native/
@@ -0,0 +1,13 @@
1
+ # Agent instructions
2
+
3
+ - No compliments. Read README.md and docs/publication.md before changes.
4
+ - Write failing regressions first. Never use cargo check, bypass hooks or push main.
5
+ - Commit focused validated changes promptly. Preserve unrelated work.
6
+ - Use the pinned compiler and separate nightly formatter. Hooks own formatting/Clippy checks.
7
+ - Keep semantic rules/models in their existing shared crates; no duplicate evaluator.
8
+ - Stream graph-sized inputs and spill working state; finite rule descriptions may be bounded.
9
+ - Native binding failures fail immediately; no Python/JavaScript fallback engine.
10
+ - Alpha releases only until explicitly promoted. Cargo is the version authority.
11
+ - Use shared tested-main release actions; never add another publisher or expose credentials.
12
+ - Every major-number increase requires explicit approval of the exact version and scope.
13
+ - Check actual packaged tests/licenses and preserve tested archives across interrupted releases.