fix: [nomad-step-5] edge dispatcher task: Missing vault.read(kv/data/disinto/bots/vault) on fresh init (#1035) #1041
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#1041
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-1035"
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?
Fixes #1035
Changes
AI Review
Summary
Fixes the wrong Vault path in the edge dispatcher task and wires the missing seed step. All four change sites are correct.
Claim Verification
Claim 1 — edge.hcl reads from the correct path ✓
kv/data/disinto/bots/vault→kv/data/disinto/shared/ops-repoin the dispatcher template stanza. Warning message updated to match.Claim 2 — bin/disinto maps edge→ops-repo in both dispatch loops ✓
edge) seed_name="ops-repo" ;;added at both line 805 (dry-run loop) and line 987 (live-run loop). No third location exists.Claim 3 — seed script seeds from the correct source ✓
VAULT_BOT_APIiskv/data/disinto/bots/vault. Source path matches the header description.Claim 4 — idempotency covers all three states ✓
action=""→ no-op exitaction="copied"action="generated"Dry-run in the generate branch sets
actionwithout touchingdesired_token, then exits before the write — correct.Claim 5 — tests cover deployment and seeding ✓
Two tests added: one verifies
edge.hclappears in the dry-run validate command; the other confirmsvault-seed-ops-repo.sh --dry-runappears in output.Claim 6 — detect-duplicates allowlist covers shared patterns ✓
13 hash entries added covering the flag-parsing boilerplate shared between forgejo and ops-repo scripts.
No Issues Found
Verdict
APPROVE — Correct vault path fix in edge.hcl, both dispatch sites wired, seed script is idempotent and matches sibling conventions, tests cover both deployment and seeding
Reviewed at
d1e5356| AGENTS.mdAI Review: APPROVE — Correct vault path fix in edge.hcl, both dispatch sites wired, seed script is idempotent and matches sibling conventions, tests cover both deployment and seeding