Repository navigation
0.3.1: roadmap, Python 3.15, PyPI + npm trusted publishing, plain-language README - #34
Conversation
Fifteen items in priority order, each with the evidence behind it and a done-when: Python 3.15 (islpy now ships cp315), dropping the test-only polyhedral_multi.py, PyPI + npm trusted publishing, a Polly baseline (the image's clang 19 already has it), JSON benchmark output, quiet-machine and live-LLM numbers, then parallel reductions and tiling for imperfect nests. Linked from the README and the docs index. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
islpy 2026.2.2 ships cp315 wheels (check_py315.py reports READY) and Python 3.15.0 was released on 2026-10-09, so the suite now runs on both. Free-threaded 3.15t still waits on a cp315t islpy wheel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only test_multistatement and test_fusion still imported it: since 0.3.0 the multi-statement and stencil kernels check statements with polyhedral.py and fusion with union.py, and imperfect nests use union.py. test_multistatement checks the same three cases as a UnionProgram; test_fusion runs fuse(j) on gesummv through MultiEnvironment (union legality, ISL codegen, checksum). README layout, multikernel docstring, how-it-works and user guide updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
publish.yml (release published, or manual): check that pyproject, npm and the tag agree, build sdist + wheel, publish to PyPI (OIDC, environment pypi, skip-existing) and to npm (OIDC, npm >= 11.5.1, skipped when the version is already there). No stored tokens and no local 2FA round trip. The wheel shipped without compilot/backends (packages listed only the top package); packages.find now includes compilot.*. Classifiers for 3.14/3.15. npm README: prerequisite is pip install compilot. The Claude Code command now stores COMPILOT_PYTHON with -e: as a shell prefix it only reached the claude CLI, never the server's config. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
db3f4a1 (loop depth from the transformed schedule): no findings. 0e89429: the numbers match the raw logs, but "the matvec kernels are memory-bound at ~1x" did not hold: gesummv's parallel(i) measured 0.95x in bench.py and 8.60x in baselines.py in the same session, because 4-9 ms runs are too short to time on a loaded host. Docs say so; roadmap item 6 now asks for short kernels to repeat inside one timed run. Roadmap table gets a status column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
Security findingsAdvisory findings (2)
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
🛡️ Codex Security Review · Automatically triggered
Here are some automated security review suggestions for this pull request.
Reviewed commit: 66b1e9d268
ℹ️ About Codex security reviews in GitHub
This is an experimental Codex feature. Security reviews are triggered when:
- You comment "@codex security review"
- A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
Once complete, Codex will leave suggestions, or a comment if no findings are found.
…ment Codex security review: a writer could dispatch the workflow from any branch (skipping the tag check) and the npm job got an OIDC token with no environment. Now there is no manual trigger (re-run a failed release from the Actions tab), the tag must equal both manifest versions, and both publish jobs run in environments (pypi, npm) whose deployment policy only admits v* tags; the registries tie trust to publish.yml + environment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 79f27feea8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Job-level permissions replace the workflow's, so with only id-token: write actions/checkout had no contents permission. (Codex review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex security review |
There was a problem hiding this comment.
🛡️ Codex Security Review
Here are some automated security review suggestions for this pull request.
Reviewed commit: ee8a0b00f9
ℹ️ About Codex security reviews in GitHub
This is an experimental Codex feature. Security reviews are triggered when:
- You comment "@codex security review"
- A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
Once complete, Codex will leave suggestions, or a comment if no findings are found.
… name The npm README tells users to pip install compilot, and a PyPI pending publisher does not reserve the name (only the first upload does), so npm must never publish before PyPI holds the release. (Codex security review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex security review |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
The README now opens with what the project does and why it matters, without jargon: a plain overview diagram, the four steps (AI proposes, math proves, run measures, feedback), results in plain terms, what the project includes, the skills it shows, and a short glossary. The technical content follows under "For engineers", unchanged except that the Parallelism and Mixture-of-Agents subsections are condensed; their README-only details (thread count, busy warning, OMP binding, model spec format, OPENAI_API_KEY) moved to docs/parallelism.md. The diagram's mermaid source is in docs/architecture.md. Also fixes the README's claude mcp add command (-e, so COMPILOT_PYTHON reaches the stored config). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This PR adds the roadmap (
docs/roadmap.md) and does its first four items, as 0.3.1.1. Python 3.15
cp315wheels (check_py315.pynow reportsREADY), and Python 3.15.0 was released on 2026-10-09.tests.ymlnow runs the whole suite on a 3.14 + 3.15 matrix (fail-fast: false).check_py315.pynow say 3.15 is supported. Only free-threaded3.15tis still waiting, on acp315tislpy wheel.2.
polyhedral_multi.pyremovedpolyhedral.pyand fusion withunion.py, and imperfect nests useunion.py.test_multistatementchecks the same three cases (fused legal, distributed legal, reordered illegal), now as aunion.UnionProgram.test_fusionnow runsfuse(j)on gesummv through the realMultiEnvironment. That path checks every dependence of the statement union, generates the fused code with ISL and checksums it. The comparison against the hand-fused kernel stays.multikernel.py, how-it-works and the user guide no longer describe the old module.union.pyhas a row in the layout table.3. PyPI + npm without a local login
.github/workflows/publish.yml, triggered only by a published release. A failed run is re-run from the Actions tab.pyproject.toml,npm/package.jsonand the release tag carry the same version, then builds the sdist and wheel.pypi), withskip-existing.npm). It makes sure npm is at least 11.5.1 and skips a version that is already on npm.id-token: write. Both run in environments (pypiandnpm, already created on the repo) whose deployment policy admits onlyv*tags. The tag must equal the version in both manifests. Together with the tag ruleset below, this addresses Codex's security finding. The npm job also keepscontents: read, because job-level permissions replace the workflow's.compilot/backends, becausepyproject.tomllisted only the top-level package. It now usespackages.findwithcompilot.*.pip install compilot(a clone withpip install -e .still works). The launcher's error message says the same.COMPILOT_PYTHON=… claude mcp add …only set the variable for theclaudecommand itself, so the variable never reached the stored server config. The npm README and the user guide now useclaude mcp add compilot -e COMPILOT_PYTHON=… -- npx ….Before the first run, the owner has to register the workflow on both registries:
compilotcluster2600cluster_compilotpublish.ymlpypi@cluster2600/compilot-mcp→ Settings → Trusted publishing → GitHub Actions:cluster2600cluster_compilotpublish.ymlnpmA tag ruleset (release tags (v*): admins only) now allows only admins to create, move or delete
v*tags, and admins bypass it. A writer therefore cannot mint a release tag that the environments would accept. Optionally, add yourself as a required reviewer on both environments.Then publishing the
v0.3.1release publishes the GHCR image (existing workflow), PyPIcompilot0.3.1 and, only once PyPI has succeeded, npm 0.3.1.Order matters (Codex security finding): a PyPI pending publisher does not reserve the name; only the first upload does. Register the pending publisher, merge, and publish the
v0.3.1release right away, so the first upload claimscompilotbefore the README'spip install compilotline has been public for long. The npm job waits for the PyPI job, so the npm README (which says the same) never goes out if PyPI fails.4. Review of the commits #33 merged without a review
The last Codex pass on #33 never finished, so I reviewed
db3f4a1and0e89429here.db3f4a1(loop depth from the transformed schedule): no findings.n_loopsis read from the unpadded time vectors that every caller passes, so it agrees withschedule()'s padding.to_c's depth, which comes from ISL's iterator index.0e89429(LARGE numbers): every number matches the rawbench.pyandbaselines.pylogs. One claim did not hold: "the matvec kernels are memory-bound at ~1×". The sameparallel(i)schedule for gesummv measured 0.95× inbench.pyand 8.60× inbaselines.py. Those 4–9 ms runs are simply too short to time on a loaded host.5. README for non-specialist readers
docs/images/overview.png, with its mermaid source indocs/architecture.md);docs/parallelism.md: thread count, busy-host warning,COMPILOT_OMP_BIND, the model spec format andOPENAI_API_KEY.claude mcp addcommand now uses-e, like the other docs.Testing
PYTHONWARNINGS=error::DeprecationWarning:compilot:local): all 19 modules pass.python:3.15-slim-trixie+ clang/libomp): 18 of 19 passed on the first run.test_unionhit the run timeout on jacobi2dparallel(j)+shift(i, 1)/fuse(i)while another process held the host's load at about 13. With the load back down it passed twice on 3.15 (36 s, 76 s) and once on 3.14 (46 s).twine checkpasses.compilot/backends./tmp(not the repo):initializereports 0.3.1, thentools/list,list_kernels, andcheck_legalityon gemm (reorder(i,k,j)+parallel(i)is legal,parallel(k)isparallel_illegal).optimizewith themockbackend.npm/bin/compilot-mcp.jswithCOMPILOT_PYTHON, started from a directory that holds a planted./compilotpackage. The installed package was used, not the planted one.npm view …@0.3.0returns the version and@0.3.1returns nothing, so the skip logic works.🤖 Generated with Claude Code