feat(frontdoor): git-push deploy flow + grant-bound remote terminal + login/session - #35
Merged
Merged
Conversation
… login/session Makes provision -> login -> push -> deploy -> attach one governed flow — the developer front door. tools/deploy_flow.py — on_push(): build the source (buildpack, no Dockerfile) -> a workload the compute plane places + executor dispatches -> a per-branch PREVIEW (Signadot-style sandbox routed by x-sandbox-routing-key:<branch>). Promotion to prod = the fail-closed gate. Build-fail is fail-closed. This is Vercel/Heroku "push a branch, get a preview URL," sovereign. tools/devmode.py attach_command() — the Nocalhost AppA-terminal / cloud-shell attach: a grant-bound `kubectl exec -it` PTY. The Policy Gate re-verifies the Grant (effect exec + op pty.attach, session-bound) BEFORE any PTY opens — fail-closed. tools/login.py — authenticate the twin/box front door: fail-closed credential check -> a signed, expiring session bound to user + tier; verify_session denies tampered/expired. Real SSO (OIDC/FIDO2, the IdP the fog spec names) is the production swap. Closes gap-register items: login/SSO (session core) + running remote terminal. Tests: +3 deploy_flow +3 terminal +4 login = 177 tools tests green. git-push-deploy CapD links flow/login/terminal.
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.
Makes provision → login → push → deploy → attach one governed flow — the developer front door.
deploy_flow.on_push— build (buildpack, no Dockerfile) → workload (placed + dispatched) → per-branch preview (Signadot sandbox routed byx-sandbox-routing-key:<branch>); promote via the fail-closed gate. That's Vercel/Heroku 'push a branch, get a preview URL', sovereign.devmode.attach_command— the Nocalhost AppA-terminal: a grant-boundkubectl exec -itPTY; the Policy Gate re-verifies (effect exec + op pty.attach, session-bound) before any PTY opens.login.py— authenticate the twin/box front door: fail-closed creds → signed, expiring session bound to user+tier; tampered/expired denied. OIDC/FIDO2 is the production swap.Closes gap-register items login/SSO + running remote terminal. 177 tools tests green (+10).