/goal /ultracode-workflows [SPINE-3] land credential-boundary germinate provisioning (rebase PR #18) + reconcile branch-protect divergence #23
Labels
No labels
bug
discussion
duplicate
enhancement
goal
help wanted
horizon:backlog
horizon:governance
horizon:mvp
invalid
operator-decision
question
roadmap
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
open-platform/mitosis#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Track/Wave:
SPINE-3· Wave M2 · Size MRepos:
mitosis,gitopsDepends on: SPINE-2
Why
Every germination TODAY provisions daughters WITHOUT the non-admin agent boundary (#16) — a client deploying now gets an admin-scoped agent by default. PR #18 wires it into germinate but is unmerged with a conflict.
Scope
Rebase PR #18 onto
main; wire deploy-key + scoped MCP token +.forgejo/workflows/**branch-protection into germinate's post-Forgejo secrets phase (fork_postforgejo_secretsarea of bin/lib.sh) so every germination provisions a non-admin builder agent by default. Reconcile the known divergence: germinate emits inertrule_name:"no-agent-workflows"while the dispatcher enforcesrule_name:"**"— germinate must emit the ENFORCING rule.Acceptance
A germinated (not hand-built) platform passes the #16 red-team checks: no PAT in the agent env, cross-tenant calls 403, and an agent push to
.forgejo/workflows/**is rejected.Notes
Seam A — after SPINE-2.
Part of the First Client Deploy → Governance roadmap. The owning agent may recurse into its own subagent team (ultracode workflow) if the task warrants. Honor the seam-serialization: land on a shared seam by rebase, and don't start a seam position until the prior one has merged.
DONE — merged + validated live. PR #18 rebased onto main (python3 #50 + refreshed seed #20 reconciled; seed blob took main) and merged. Verified on a fresh germination (valid8c, current stack): (1)
protect_workflowsis called from germinate:402 and emits the ENFORCING rulerule_name:"**"+protected_file_patterns:.forgejo/workflows/**;.gitea/...;.github/...— the inertno-agent-workflowsdivergence is reconciled with a documented rationale (Forgejo Actions can run a pull_request workflow from a feature branch, so main-only is insufficient). (2) germinate wiresconfig.forgejoSsh→FORGEJO_SSH=forgejo-ssh.forgejo.svc.cluster.local:22into the agents deploy (confirmed live) — the per-run deploy-key clone path; admin PLAT_TOKEN stays with the DISPATCHER only (the spawned build subprocess boundary is agents 0.7.3, already red-team GO). Germination healthy (mcp+agents Available, sovereign-sealed). Every germination now provisions a non-admin builder agent by default.