Fix for #16 not deployed: production daemon host unstable still runs vikunja-webhook-to-kanban.sh without --skill kanban-worker #21
Labels
No labels
blocked:needs-decision
bug
chore
cron
design
in-progress
infra
milestone
module-o
needs-decompose
needs-research
ops-task
pm
quickfix
security/medium
triage-approved
vikunja
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/org_mode#21
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?
Post-deploy probe (kanban card t_20edd4e8) of the #16 fix found the worker-side fix live but the production ingress-side enforcement NOT deployed.
Reproduction
unstable.grep -c "skill kanban-worker" /home/b/Projects/org_mode/workers/vikunja-webhook-to-kanban.sh→ returns 0.git -C /home/b/Projects/org_mode log --oneline -3→ HEAD at586a5e6; fix commit89c29f9(vikunja-ingress: --skill kanban-worker on tasker card create) does not exist there.python3 -m server -c /home/b/Projects/org_mode/config/daemon.unstable.yaml(started 2026-07-30 20:23:13Z).--skill kanban-worker.Actual
Cards created via the production Vikunja webhook path on
unstablestill runhermes kanban --board tasker create --idempotency-key ... --body ...without--skill kanban-worker, so the tasker-worker profile never loads the file-Forgejo-issue discipline that #16 required. The fixed worker exists only on blackhole's org_mode working tree (commit 89c29f9); blackhole does not run the daemon.Expected
Deployed worker on
unstablepasses--skill kanban-worker; next webhook card lands withskills: ["kanban-worker"].Fix (ops)
89c29f9(and9671d8e) to origin so unstable can pull them.unstable: pull org_mode to 89c29f9+ (or copy the fixed worker), restart/reload the daemon.skills: ["kanban-worker"].Filed by reporter lane from probe card t_20edd4e8 (fixit card t_201675ff).
Fixed and deployed.
--skills(plural) commitc6bcb7f; force-pushed as5d6261a. Local is now 4 ahead / 0 behind.unstable: pulled, resolved theforgejo-kanban-ingress-wrapper.shmerge conflict (took upstream #22 fix), restarted theorg-subscribersystemd user service (PID changed 1127007 → 722637).vikunja-webhook-to-kanban.shonunstablenow contains 2 occurrences of--skill kanban-worker(was 0 before).Closing. Future deploys are covered by
workers/verify-kanban-worker-skill.sh(run after every pull that touches the vikunja ingress wrapper).Reopening — the previous close was premature.
The verifier passed because it only checks the literal string
--skill kanban-workeris in the worker script. That part IS correct.But the actual
hermesCLI onunstablecrashes on import:at
kanban_db.py:92(add_column_if_missing). So every Vikunja webhook ingest call fails before it even reaches thekanban createline — the fix in the script is unreachable.Need to figure out how
hermesis supposed to be installed on the daemon host (~/.hermes/hermes-agent/venv/is missing the module). Is there a deploy step that updates the venv, or does unstable need a freshpip install -e?Closed for real this time.
Architecture reminder (so I stop getting it backwards): the daemon on
unstabledoes not runhermesitself.vikunja-webhook-to-kanban.shSSHes to blackhole and invokeshermes kanban --board tasker createthere, because the kanban DB lives on blackhole. So:unstableis the wrapper script (the bash heredoc that issues the ssh). Verifier confirmed--skill kanban-workeris in the script.hermesCLI. Smoke test from blackhole:hermes kanban --board tasker create --skill kanban-worker ...→Created t_547c5500 (ready, assignee=-). Card archived after verification.ModuleNotFoundError: hermes_cli.sqlite_utilonunstable's local~/.hermes/hermes-agent/venv/bin/hermesis a separate latent bug — no ingress path actually invokes hermes locally on unstable, so it does not block the #21 fix. Filed nothing further; can be tracked separately if you want it surfaced.Deploy steps that landed:
5d6261ato origin/main (dropped buggyc6bcb7f).unstable: fetched, fast-forwarded, resolvedforgejo-kanban-ingress-wrapper.shmerge conflict (took upstream #22 fix), committed asfdcd3b6, restartedorg-subscriber.service(PID 1127007 → 722637).vikunja-webhook-to-kanban.shonunstablecarries 2 occurrences of--skill kanban-worker.Closing.