Port forge pr snapshot to Go #156
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/tools!156
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/forge-snapshot-port"
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?
Summary
forge pr snapshotin the Go CLI with the Bash command's versioned JSON projectionhttptestsuite and add command help/argument coverageUser impact
No intentional interface change. The Go binary now supports the snapshot command used by agent archetype launchers; the Bash implementation remains available until both downstream cutovers are deployed.
Validation
go test ./...go vet ./...tests/forge/*.shsuites (including 19 snapshot scenarios)nix build 'path:.#forge'nix flake check 'path:.'--help,pr list,issue list, andpr snapshot 136Residual risk
R3: this adds a machine-readable shared interface ahead of the profiles and host cutovers. Validation is intentionally fail-closed and is pinned by direct ports of the Bash fixtures plus a live Forgejo snapshot comparison. Deployment remains human-gated; this change alone does not alter the installed
forge.Rollback
Revert this PR or keep downstream pins on the existing Bash wrapper. Do not remove the Bash source until both the profiles and nexus cutovers have been rebuilt and verified.
Dependencies and follow-up
This must merge before updating the
allod-toolspins in allod/archetypes#40 and allod/nexus#25. Those cutovers, human rebuild verification, and eventual Bash retirement remain tracked in allod/tools#155.Refs allod/tools#155
Refs allod/tools#98