Repository navigation
Conversation
…sed by default OCL now releases a collection version that builds an expansion only once that's built, and refuses to release one as it's made (OpenConceptLab/oclapi2#1141). create_repo_version's released is optional: unset, a source version is released as before and a collection version isn't. `ocl repo version-create` leaves it unset unless --released or --no-released is given; a collection version is released afterwards with `version-update --released`. README and the collection demo show the release step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qVTGMWCzGXDUyX7mLb
Member
Author
Codex review, pass 1 (codex-cli 0.169.0, commit fc330c4)Verdict: clean: no findings, so the Codex passes stop here. findings.json{
"reviewer": "codex-cli 0.169.0",
"perspective": "defects",
"mode": "full",
"commit": "fc330c423eb9393b013eecfd66a4bc0481cb65b0",
"verdict": "clean",
"prior": [],
"findings": []
} |
Member
Author
Simplification review (claude subagent, commit fc330c4)
Nothing cut, so nothing came after the commit Codex reviewed. The review loop is done: Codex pass 1 clean, no P0 or P1. |
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.
Part of OpenConceptLab/ocl_issues#3103: a collection version is released only once its default expansion is built. With OpenConceptLab/oclapi2#1141, OCL refuses (409) to release a collection version that builds an expansion as it's made, so the CLI's default of creating every version released would fail for collections.
What changes
create_repo_version(..., released=None)in the core client: unset, a source version is released as before and a collection version isn't. An explicitreleasedis sent as given.ocl repo version-createleavesreleasedunset unless--releasedor--no-releasedis given. Release a collection version afterwards withocl repo version-update ... --type collection --releasedonce its expansion is built.docs/demos/04-collection-curation.mdshow the release step.Source versions are unchanged. A collection version created with
--releasedthat builds an expansion now gets OCL's refusal, shown as a client error (exit 1).Tests
Two new tests: the client's default per repository type, and the command leaving
releasedunset unless a flag is given. Both fail onmain.pytest: 287 pass;ruff check src testsis clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01AaZ4qVTGMWCzGXDUyX7mLb