feat(storage): expose workspace publication gate - #619
Merged
Conversation
This was referenced Aug 13, 2026
Forward-port the remaining provider-neutral workspace slice from #590 after the JSON, source-authentication, plan-budget, and detached-receipt foundations landed separately. Add a side-effect-free capability probe, return authenticated write records, and carry staged and published validators through the retained publication authority. Verified with 419 publication tests, the captured-directory suite, and changed-file pre-commit hooks.
fishmingyu
force-pushed
the
agent/pr590-workspace
branch
from
August 15, 2026 21:57
13d3ecc to
9ac426a
Compare
fishmingyu
marked this pull request as ready for review
August 15, 2026 21:59
14 tasks
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
Forward-port the remaining provider-neutral workspace publication slice from #590 onto the current storage authority foundation.
This replacement keeps the useful capability and validation contract without reintroducing the bounded-JSON and URL changes that already landed separately.
Changes
Type of Change
Testing
Tests pass locally
Added new tests for the changes
post-fix(storage): retain exact resources across interruption #622 restack:
pytest -q test/test_atomic_directory.py test/test_captured_directory.py test/test_owned_file_publication.py --tb=short(439 passed, 10 skipped)changed-range pre-commit hooks
git diff --check origin/main...HEADChecklist
Supersedes #590 after the bounded-JSON and credential-classifier slices landed in #616, the detached workspace identity foundation landed in #586, and the common resource cleanup boundary landed in #622.