forge-sync pushes as the agent, which its own branch protection refuses from the second run on #91
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/nexus#91
Loading…
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?
forge-syncpushes the hypervisor's clones as the agent account, and the branch protection it installs on the first run refuses that account onmaster, so every later run fails on the first repository with new commits.Primary goals:
~/.ssh/host, already the recipient of every secret) is registered on the human admin account, and the repository pushes use it; branch protection does not bind an administrator unless told to, so the operator's pushes land while the agent stays refused, which is the property the dev VM witnesses.masterand the push still lands, and one where a push with the agent key is refused.Current state and specifics
scripts/forge-sync:resolve_push_keypicks the forge key registered to the agent account andpush_repopushes every forge-sourced registry checkout with it, afterreconcile_branch_protectionfrom the first run has appliedgit/protected-branches. Seen on the public install walk, 2026-10-09, on the second run after the operator committed the secrets changes the first run produced:The first run succeeds only because protection does not exist yet. The two-node witness in
allod/archetypesruns the command once and never exercises a second push, which is why it passed.Scope
In: registering the hypervisor key on the human account, pushing with it, the stub cases, and the README's custody paragraph. Out: the dev VM's key and account, unchanged; the witness's second-run case, which rides the next archetypes nexus-pin bump.
Part of allod/strategy#65