Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion ops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,14 @@ edits skills, and there is no LLM judgment anywhere in the verdict path.
From a checkout of this repo on the mini:

```sh
ops/install.sh # copies the three scripts to ~/.amico/ops/ (idempotent)
ops/install.sh # copies the ops scripts to ~/.amico/ops/ (idempotent)
```

`install.sh` also plants the Slack CLI (`packages/amico-run/launcher/amico-slack`)
to `~/.local/bin/amico-slack` — the token stays in `~/.amico/slack/` (planted,
never in the repo); the script itself rides the checkout so a hub rebuild or
migration gets Slack working by re-running the deploy (#753).

The install script copies scripts ONLY — no plists (one-time, by hand), no state
files, no bundle. After editing anything here: merge, then deploy, then
`launchctl kickstart` the affected agent if the change should take effect before its
Expand Down
6 changes: 6 additions & 0 deletions ops/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ install -m 0755 "$SRC/papers-digest/daily.sh" "$DEST/papers-digest/daily.sh"
install -m 0755 "$SRC/hunt.sh" "$DEST/hunt.sh"
install -m 0755 "$SRC/skill-freshness/run-skill-freshness.sh" "$DEST/skill-freshness/run-skill-freshness.sh"

# Plant the Slack CLI (packages/amico-run/launcher/amico-slack) into ~/.local/bin —
# it is NOT a repo-external dependency: hub migrations lose the planted copy
# (#753), so the deploy step re-plants it from the checkout every run.
mkdir -p "$HOME/.local/bin"
install -m 0755 "$SRC/../packages/amico-run/launcher/amico-slack" "$HOME/.local/bin/amico-slack"

echo "deployed to $DEST:"
echo " fleet-status.sh (launchd co.harmoniqs.fleet-status, every 5 min)"
echo " fleet-alert.sh (launchd co.harmoniqs.fleet-alert, every 15 min)"
Expand Down
Loading
Loading