Repository navigation
Run a pinned cmemc release instead of the installed one - #59
Merged
Merged
Conversation
Generated packages called whatever cmemc was on the PATH. A package built with a development build of cmemc was published with null values in its manifest, and installing it broke an older Corporate Memory. Every generated task that runs cmemc now goes through CMEMC, which defaults to `uvx --from cmem-cmemc==$CMEMC_VERSION cmemc` (26.2.1). CMEMC_VERSION in src/Taskfile.yaml is the only pin: the generated GitLab pipeline and this repository's GitHub workflow no longer install cmemc, so the two pins that used to drift apart are gone. Setting CMEMC in .env runs another cmemc on purpose, and `task cmemc -- <args>` runs the pinned release for commands no task wraps.
The shipped rule tells agents to run cmemc commands as `task cmemc -- <args>`, so they get the pinned release, but the build-projects, shapes and catalog-queries skills still showed bare cmemc commands. They now use task cmemc too, so the guidance a generated package ships agrees with itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The package-content skill named cmemc 26.2.1 in prose, a second copy of the version that would go stale on the next bump of CMEMC_VERSION; it now says "the pinned cmemc release". The root README's uv prerequisite now says that uv also runs the pinned cmemc of a generated package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Generated packages called whatever
cmemcwas on the PATH. A package built with a development build of cmemc was published withnullvalues in its manifest, and installing it broke an older Corporate Memory. Every generated task now runs one pinned release throughuvx.The version now lives in one place instead of two literals that used to drift:
CMEMCin.env(e.g.CMEMC=cmemc) runs another cmemc on purpose. The default is a shell${CMEMC:-…}expansion, because a Taskfilevars:entry would otherwise win over.env.task check:offlineand the hooks.copier-templaterule,package-contentskill,CHANGELOG.md,CLAUDE.md, and the/releasepreflight (it now asserts a single pin and no pipeline install).Evidence
Both test cases rendered from the working tree, on a machine with no cmemc installed:
task build→"cmemc": executable file not found in $PATH(or, with one installed, whatever version that was)After:
task: The tasks run a pinned cmemc release through uv. Install it: https://docs.astral.sh/uv/CMEMC=echo LOCAL-CMEMCin.env:LOCAL-CMEMC package build eccenca-testing-project ...CMEM_BASE_URIfrom the environment reaches the uvx-run cmemc.Not run locally: the full
task checkagainst a live instance. This PR's CI run covers it.Merge Danger
Door: two-way
Revert restores the old behaviour. Packages that ran
copier updatein between get it back with their next update.Blast Radius: every generated package
uvx. It already ranuv tool install, so it should.CMEMCin.env.🤖 Generated with Claude Code