Skip to content

feat(frontdoor): git-push deploy flow + grant-bound remote terminal + login/session - #35

Merged
mdheller merged 1 commit into
mainfrom
feat/deploy-flow-terminal
Aug 4, 2026
Merged

feat(frontdoor): git-push deploy flow + grant-bound remote terminal + login/session#35
mdheller merged 1 commit into
mainfrom
feat/deploy-flow-terminal

Conversation

@mdheller

@mdheller mdheller commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

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 by x-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-bound kubectl exec -it PTY; 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).

… 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.
@mdheller
mdheller merged commit a73a57f into main Aug 4, 2026
1 check passed
@mdheller
mdheller deleted the feat/deploy-flow-terminal branch August 4, 2026 06:29
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