feat: TrialConfinement — a call confined to a disposable workspace composes mutation as Ephemeral - #37
Merged
Merged
Conversation
…mposes mutation as Ephemeral A third producer beside declared descents and the authority policy: a live confinement fact on CallSubject (workspace id, arguments digest, the bounds the runner IMPOSED, why). composeForCall() consults it after declared descents and lowers mutation to Ephemeral — what the call writes dies with the workspace — and NOTHING else: a copy isolates files, not the world, so externality, authority, reversibility and subject stay exactly as declared (greenhouse decisions/0068: zero descent on third_party). Like every producer it only lowers: an operation already at Ephemeral or None gets no reduction. ProfileComposition::confinedByTrial() is the one fact a policy reads to know a call is confined — from the reductions, never from the effective profile alone (a temp-file op is also Ephemeral and confined to nothing). Greenhouse decisions/0069.
rodrigoteamx
force-pushed
the
feat/trial-confinement
branch
from
August 21, 2026 03:27
63734a0 to
753988e
Compare
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.
A third producer beside declared descents and the authority policy: a live confinement fact on
CallSubject(workspace id, arguments digest, the bounds the runner IMPOSED, why).composeForCall()consults it after declared descents and lowersmutationtoEphemeral— what the call writes dies with the workspace — and nothing else: a copy isolates files, not the world, so externality, authority, reversibility and subject stay exactly as declared (greenhousedecisions/0068: zero descent onthird_party). Like every producer it only lowers.ProfileComposition::confinedByTrial()is the one fact a policy reads to know a call is confined — from the reductions, never from the effective profile alone.First piece of the trial slice (greenhouse
decisions/0069). Ships as command 0.18.0.