feat(release): publish private dataset revisions #7

Merged
akadmin merged 12 commits from opencode-agent/publish-private-revision into main 2026-10-15 23:31:42 +00:00 AGit
Contributor

Summary

  • Add publish-private to release an explicitly selected pinned local private revision to a new public Hub dataset.
  • Create the target privately, send all verified files in one commit, compare remote identities with the selected manifest, then expose it publicly.
  • Preserve local private revisions and authorization; detect default-revision drift and restore private visibility on failure.

Design and scope

  • Follows ADR-007: explicit local CLI, new destination only, and invocation-scoped HF_TOKEN.
  • Shares file identity and Hub metadata verification with the mirror workflow.
  • Includes updated operator docs, roadmap, ADR/spec coverage, and archived epic closeout.
  • Spec: specs/005-publish-private-revision/

Verification

  • uv run pytest: 74 passed, 2 skipped (opt-in live-Hub tests).
  • Ruff checks/format, ty, spec/plan validation, and beacon doctor --strict passed.
  • The disposable live-Hub publish/client test is present but was not run.

Commits

  • 425b38d test(release): specify private revision publishing
  • 2815983 test(release): specify destination conflict error
  • 2f47d89 test(release): align fake Hub lifecycle coverage
  • 14966e7 test(release): report failed destination identity
  • 7b61254 test(release): preserve literal dataset file paths
  • adc8c15 test(release): catch source mutation during upload
  • c70eb39 test(release): assert post-upload source integrity
  • 02d9ceb test(release): reject Hub-reserved paths
  • a98c51d test(release): assert atomic complete Hub commit
  • 014c9c2 test(release): assert source identity mismatch
  • 175f6b0 feat(release): publish private dataset revisions
  • da641ae docs(release): close public release handoff epic
## Summary - Add `publish-private` to release an explicitly selected pinned local private revision to a new public Hub dataset. - Create the target privately, send all verified files in one commit, compare remote identities with the selected manifest, then expose it publicly. - Preserve local private revisions and authorization; detect default-revision drift and restore private visibility on failure. ## Design and scope - Follows ADR-007: explicit local CLI, new destination only, and invocation-scoped `HF_TOKEN`. - Shares file identity and Hub metadata verification with the mirror workflow. - Includes updated operator docs, roadmap, ADR/spec coverage, and archived epic closeout. - Spec: `specs/005-publish-private-revision/` ## Verification - `uv run pytest`: 74 passed, 2 skipped (opt-in live-Hub tests). - Ruff checks/format, `ty`, spec/plan validation, and `beacon doctor --strict` passed. - The disposable live-Hub publish/client test is present but was not run. ## Commits - 425b38d test(release): specify private revision publishing - 2815983 test(release): specify destination conflict error - 2f47d89 test(release): align fake Hub lifecycle coverage - 14966e7 test(release): report failed destination identity - 7b61254 test(release): preserve literal dataset file paths - adc8c15 test(release): catch source mutation during upload - c70eb39 test(release): assert post-upload source integrity - 02d9ceb test(release): reject Hub-reserved paths - a98c51d test(release): assert atomic complete Hub commit - 014c9c2 test(release): assert source identity mismatch - 175f6b0 feat(release): publish private dataset revisions - da641ae docs(release): close public release handoff epic
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
akadmin/local-datasets!7
No description provided.