Skip to content

OpenConceptLab/ocl_issues#3103 | A new collection version isn't released by default - #17

Open
paynejd wants to merge 1 commit into
mainfrom
ocl-issues-3103-collection-not-released
Open

paynejd wants to merge 1 commit into
mainfrom
ocl-issues-3103-collection-not-released

Conversation

@paynejd

@paynejd paynejd commented Dec 6, 2026

Copy link
Copy Markdown
Member

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 explicit released is sent as given.
  • ocl repo version-create leaves released unset unless --released or --no-released is given. Release a collection version afterwards with ocl repo version-update ... --type collection --released once its expansion is built.
  • README and docs/demos/04-collection-curation.md show the release step.

Source versions are unchanged. A collection version created with --released that 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 released unset unless a flag is given. Both fail on main. pytest: 287 pass; ruff check src tests is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AaZ4qVTGMWCzGXDUyX7mLb

…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
@paynejd

paynejd commented Dec 6, 2026

Copy link
Copy Markdown
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": []
}

@paynejd

paynejd commented Dec 6, 2026

Copy link
Copy Markdown
Member Author

Simplification review (claude subagent, commit fc330c4)

  • S1 (dup-test, low) tests/test_repo_commands.py:131: drop the two explicit-value assertions from the client test. Not cut: the command test runs against a fake client, so these two are the only check that an explicit released isn't replaced by the per-type default in the core client.

Nothing cut, so nothing came after the commit Codex reviewed. The review loop is done: Codex pass 1 clean, no P0 or P1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant