Skip to content

Require workspace preparation only for Git-proxy sessions - #19

Merged
oldsj merged 1 commit into
mainloop-substrate-0-4from
prep-bridge
Oct 8, 2026
Merged

oldsj merged 1 commit into
mainloop-substrate-0-4from
prep-bridge

Conversation

@oldsj

@oldsj oldsj commented Oct 8, 2026

Copy link
Copy Markdown
Owner

#15 gates task admission for Mainloop code sessions on a confirmed PrepareSessionWorkspace action. Preparation only works when the session's Git goes through the enforcing read and push proxies, and no harness uses them yet, so every delegated message to a workspace was rejected.

Preparation can only succeed when the session's revision routes Git
through both enforcing proxies, but admission also required it for
direct-Git Mainloop sessions, which made them unusable. Gate store
admission and the runtime GetWorkspace assignment on the pinned prepared
revision's egress: proxy-mode sessions keep full enforcement, direct-Git
sessions are admitted as before. Switching harnesses to the proxies turns
enforcement on with no further change.

Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
@oldsj
oldsj merged commit 39ebd55 into mainloop-substrate-0-4 Oct 8, 2026
3 checks passed
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