feat: lib/vault.sh — helper for agents to create vault PRs on ops repo #75
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#75
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?
Context
Any agent can request a vault action by creating a PR on the ops repo. This issue adds a shared library function that agents call to do that.
What to do
Create
lib/vault.shwith a function like:The function should:
vault/<action-id>vault/actions/<action-id>.tomlon that branchmainwith titlevault: <action-id>and body extracted from the TOML context fieldUse the Forgejo API (not git push) so it works from inside containers without SSH.
Considerations
lib/AGENTS.mddocumentationVerification
lib/vault.shand callvault_requestwith a test TOML — PR appears on ops repoDependencies
Depends on #74 (TOML schema + validator).