From fcf554a6be8b02aeb9c521ea5d7b7d86465aea0f Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 10 Jun 2026 18:13:03 -0500 Subject: feat(kb): roam-sync script + timer units, old roam path repointed Phase 0 of the agent KB spec: the org-roam KB now lives at ~/org/roam as a git repo on cjennings.net. roam-sync.sh (bats-tested: commit, rebase, push, conflict-abort) runs from a 15-minute systemd user timer; canonical unit files live in scripts/systemd/. Live references to the old ~/sync/org/roam path (the task-list pointer, the journal workflow, the notes template) repoint to ~/org/roam, and a transition symlink at the old location covers stragglers. --- scripts/systemd/roam-sync.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/systemd/roam-sync.service (limited to 'scripts/systemd/roam-sync.service') diff --git a/scripts/systemd/roam-sync.service b/scripts/systemd/roam-sync.service new file mode 100644 index 0000000..e4ad502 --- /dev/null +++ b/scripts/systemd/roam-sync.service @@ -0,0 +1,9 @@ +# org-roam KB auto-sync (spec D8). Install: +# cp scripts/systemd/roam-sync.* ~/.config/systemd/user/ +# systemctl --user daemon-reload && systemctl --user enable --now roam-sync.timer +[Unit] +Description=Auto-sync the org-roam knowledge base repo + +[Service] +Type=oneshot +ExecStart=%h/code/rulesets/scripts/roam-sync.sh %h/org/roam -- cgit v1.2.3