Commit Graph
97 Commits
Author SHA1 Message Date
PhilandClaude Opus 5.5 2da100c5ed starpunk: v2.19.0, reply contexts that show the post
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:23:22 -07:00
PhilandClaude Opus 5.5 bdb0e779e3 starpunk: v2.18.3, skip webmentions to Gitea
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:44:41 -07:00
PhilandClaude Opus 5.5 fb60137035 StarPunk v2.18.2: readable tables, wider public pages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:31:53 -07:00
PhilandClaude Opus 5.5 8276a1255c starpunk: v2.18.1 (MCP create_note describes article URLs)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:19:04 -07:00
PhilandClaude Opus 5.5 92f8d80fa8 StarPunk v2.18.0: admin Log and Settings pages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:07:00 -07:00
PhilandClaude Opus 5.5 3bdea78d12 starpunk: v2.17.1 (article URLs and title slugs)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 12:54:07 -07:00
PhilandClaude Opus 5.5 19681ecf40 Hermes: StarPunk MCP server over OAuth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 11:10:09 -07:00
PhilandClaude Opus 5.5 0f7ed50ed9 StarPunk v2.16.0: article titles and summaries
Migration 023 adds notes.title/summary (no prod notes start with a heading,
so no files are rewritten). Backup: /data/backup-pre-v2.16.0.db and
/data/backup-pre-v2.16.0-files.tgz in the starpunk-data volume.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:26:45 -07:00
PhilandClaude Opus 5.5 808c177b02 StarPunk: MCP sidecar and /mcp routing (v2.15.0)
Add the starpunk-mcp container (same image, uvicorn :8001, shared env via
anchor, BACKGROUND_WORKERS_ENABLED=false, socket healthcheck) and route
/mcp and /.well-known/oauth-protected-resource to it in Caddy. Bump
starpunk_version to v2.15.0 (needs the v2.15.0 tag built first).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:38:03 -07:00
PhilandClaude Opus 5.5 2376f4284c Mac: Hermes sandbox keeps its container and finds Chromium
Podman reports the sandbox image as docker.io/nousresearch/...; Hermes
compares image names as text, so the short name made it delete and
recreate the sandbox on every reuse. Use the full name.

Hermes 0.23.1 looks for Chromium in chrome-linux/, but the ARM64 image
ships chrome-linux-arm64/ (hermes-agent #153626), so browser tools said
there was no Chromium. Mount a folder with a chrome-linux/chrome script
that runs the image's Chromium. Tested in a fresh sandbox: the probe
finds it and browser_exec loads pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:18:12 -07:00
PhilandClaude Opus 5.5 20258e04f8 Mac: Hermes sandbox sees only ~/hermes; Cua skills via external_dirs
terminal.cwd "." resolved against each process's working directory, so
the dashboard's sandbox mounted / (the whole disk, writable) and the
gateway's mounted ~/.hermes (including .env). Point it at ~/hermes.

The cua-driver symlink in ~/.hermes/skills made Hermes give each sandbox
a temp copy of the skills and delete the previous copy, emptying running
sandboxes' skills (hermes-agent #53630). Read Cua's pack through
skills.external_dirs and remove the symlink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:12:16 -07:00
PhilandClaude Opus 5.5 b2e045c9f1 Mac: fix Hermes approval guardian on Haiku 5.5; Bot Chat folder
Hermes's OpenRouter code treats Claude models it doesn't list as
reasoning-mandatory and drops the guardian's "reasoning off" for Haiku
5.5, which then sometimes spends the 16-token budget thinking and
returns nothing, escalating the command to the user. Send
extra_body.reasoning {effort: none} for the approval task; replays of
the failing commands went 21/21 correct.

Also create ~/hermes, the folder the Hermex Bot Chat session works in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:56:25 -07:00
PhilandClaude Opus 5.5 cde36c8710 Mac: Hermes web search through Kagi's hosted MCP server
Hermes's built-in web search was the free Brave API, which returns 429s
under agent bursts; real-user reports (Hermes #80201, PR #36838, HN) also
rule out self-hosted SearXNG for always-on use. The user has Kagi, so:
- Kagi's own hosted MCP server (https://mcp.kagi.com/mcp, Bearer API key,
  paid API with a monthly cap set in Kagi). Its two tools,
  kagi_search_fetch and kagi_extract, are marked read-only, so
  trust: untrusted never asks.
- agent.disabled_toolsets gains `web`, removing the built-in
  web_search/web_extract everywhere, so Kagi is the only search path.
- KAGI_API_KEY from the vault into ~/.hermes/.env.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 09:16:13 -07:00
PhilandClaude Opus 5.5 1173162977 StarPunk v2.14.2: quote counts, dead files removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:59:06 -07:00
PhilandClaude Opus 5.5 9a9f0f0bd5 Mac: short Hermes side tasks on Claude Haiku 5.5
The smart-approval guardian asks for a one-word verdict with reasoning off
and max_tokens=16 (title generation: 64). GLM-5.3 Flash's reasoning is
mandatory on OpenRouter, so Hermes floors it to effort=low, the model
spends the budget thinking and returns nothing (finish_reason=length), and
every flagged command escalated to the user. Move approval, titles, memory
query rewrite and MCP sampling to Claude Haiku 5.5 (reasoning off by
default); compression, curator and the mail monitor stay on GLM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:47:28 -07:00
PhilandClaude Opus 5.5 cccdca1469 Mac: Karakeep MCP server for Hermes
Hermes can search and read bookmarks, create them, tag them and add them
to lists from Telegram. Per Karakeep's MCP README and Hermes's MCP docs:
- the official server image (pinned 0.34.1) runs in a throwaway Podman
  container (`podman run -i --rm`), started on first use and stopped
  after 10 idle minutes;
- only search/read/create/tag/add-to-list tools are registered (no update
  or delete); trust: full because Karakeep doesn't mark its search tools
  read-only;
- the API key is in the vault, written to ~/.hermes/.env via the new
  hermes_env_secrets, and passed into the container by name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:29:54 -07:00
PhilandClaude Opus 5.5 a0e49f4670 Mac: Hermes models (Sol chat, cheap side tasks) and monthly model review
Models, from the Nov 2026 review (Nous Hermes Index, OpenRouter data):
- chat: openai/gpt-6.1-sol (user's pick), reasoning high (was ultra)
- side tasks (compression, approval, titles, mcp, memory query rewrite,
  curator, mail monitor) and unpinned cron: z-ai/glm-5.3-flash
- subagents: deepseek/deepseek-v4.1-flash
- /model aliases: deepseek, haiku
agent.reasoning_effort needs --force (hermes-agent #140221), so settings
can list keys in hermes_settings_force. `config get` exits 1 for unset
keys without a default; that now reads as unset, not a failure.

hermes-model-review: monthly cron job on Sol (pinned, high effort,
continuity) that redoes this research and sends keep/change
recommendations as Ansible keys to Telegram. A script injects the live
model setup and 30-day usage into its prompt. hermes_cron_jobs gains
model/provider, reasoning_effort and continuity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:13:00 -07:00
PhilandClaude Opus 5.5 4bdb89885c Mac: hermes settings, set terminal.cwd to "." instead of unsetting
Non-interactively, `hermes config get` prints only the default for a key
that isn't in config.yaml, so an unset key can't be detected and the play
kept trying (and failing) to unset terminal.cwd. Set it to Hermes's own
default "." instead and drop the unset branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:26:50 -07:00
PhilandClaude Opus 5.5 a92d4c199c Mac: Hermes quick fixes from the setup review
Via hermes_settings (now compared structurally, with null = unset, and a
gateway restart on change):
- timezone America/Denver (was unset)
- auth.adopt_external_logins false: never borrow Claude Code's login
- terminal.cwd unset: stops the /workspace warnings (#140527)
- agent.disabled_toolsets [kanban]: unused, 25 KB of tool schema per call
- skills.write_approval true
- approvals.deny: force-push, curl|sh, dd to devices (docs' examples)
- streaming.enabled true, stt.local.model small
- terminal.container_memory 3072, inside a 4 GB Podman VM (was 2 GB VM
  with a 5 GB container limit), set by a new podman task

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:17:54 -07:00
PhilandClaude Opus 5.5 2d23b9c470 Mac: weekly Hermes update notice on Telegram
Hermes has no auto-update for itself, and /update from Telegram can leave
a launchd gateway offline. Instead, a no-agent Hermes cron job runs
`hermes update --check` on Mondays at 09:07 and messages Telegram only when
a new stable release is out (a failing check sends an error alert).

Adds hermes_cron_jobs (scripts in files/hermes-scripts/, copied to
~/.hermes/scripts/; jobs created when missing) so the deal checker can
follow the same pattern.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 06:59:37 -07:00
PhilandClaude Opus 5.5 eff53f2503 Mac: Hermes settings via hermes config, full pre-update backups
Adds a small hermes_settings map that Ansible checks with
`hermes config get` and fixes with `hermes config set`, leaving the rest
of config.yaml to Hermes (its updates migrate that file).

First setting: updates.pre_update_backup: full (was false), so every
`hermes update` zips ~/.hermes first. Rollback isn't supported once a new
version has written state.db, so the backup is the way back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 06:57:46 -07:00
PhilandClaude Opus 5.5 d617a2aa64 Mac: Hermes dashboard as a launchd service behind Tailscale Serve
The dashboard used to be started by hand as `serve --host 0.0.0.0`, so it
was reachable from the LAN and didn't survive a reboot or a Hermes update.
Now, following Hermes's docs:

- launchd agent local.hermes-dashboard runs `hermes dashboard` on
  127.0.0.1:9119 (KeepAlive, --skip-build since `hermes update` builds it).
- Tailscale Serve publishes it on https://cogitator-02.porgy-porgy.ts.net,
  tailnet only. No module exists for Serve; the task reads
  `serve status --json` and only sets it when it differs.
- Login: scrypt password hash and a real signing secret from the vault
  (the old secret was the literal text "$(openssl rand -base64 32)"); the
  plaintext password line is removed from .env since it overrides the hash.
- After Serve is set, the play checks /api/status demands the basic login;
  if not, it turns Serve off and fails.
- Hermes's Python no longer needs a firewall exception, so that's gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 06:46:47 -07:00
PhilandClaude Opus 5.5 fe268bd171 Mac: power settings, firewall, SSH key
- pmset: never sleep, no disk sleep, restart after a power cut, wake on
  network. The Mac had sleep 1 and only stayed up because BlueBubbles runs
  caffeinate.
- Application firewall on, keeping signed software allowed automatically,
  stealth and block-all off. Hermes's ad hoc signed Python (dashboard on
  9119) is allowed explicitly, since an unattended Mac blocks unsigned
  programs silently.
- Local id_ed25519.pub in phil's authorized_keys (already there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 06:20:43 -07:00
PhilandClaude Opus 5.5 f53992d652 Add cogitator-02 (Mac) with its own playbook
cogitator-02 is an Apple Silicon Mac on the tailnet running Hermes Agent.
It gets a `mac` group and mac.yml, kept apart from site.yml so it never
runs with the server's deploys (PLAYBOOK=mac.yml bin/deploy).

The mac role starts by recording the Homebrew taps, formulae and casks
already installed (present only, never upgrades or removes), so the first
run changes nothing.

No passwordless sudo on the Mac: Hermes runs as phil and takes commands
over Telegram. Ansible's sudo password is vault_cogitator02.become_password
and only tasks with become: true use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 06:12:07 -07:00
PhilandClaude Opus 5.5 f6aeca3774 StarPunk v2.14.1: clear tags from the editor, captions escaped in feeds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:37:56 -07:00
PhilandClaude Opus 5.5 87cc9a625f StarPunk v2.14.0: reply notifications to Gotify
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:30:29 -07:00
Phil 751a1ac49f StarPunk v2.13.4: counts on lists, reply cards link out 2026-11-10 14:15:41 -07:00
PhilandClaude Opus 5.5 12fa7043ca StarPunk v2.13.3: reaction counts line, web actions, opted-out counts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:29:07 -07:00
PhilandClaude Opus 5.5 6e098b637d StarPunk v2.13.1: avatar fetching fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:05:52 -07:00
PhilandClaude Opus 5.5 324bc08eae StarPunk v2.13.0: backfeed on (ADR-073)
New GoToSocial and Threads tokens with read scopes are in the vault.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:50:51 -07:00
PhilandClaude Opus 5.5 be7c0db4db StarPunk v2.12.1: q=category lists only tags in use
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:29:00 -07:00
PhilandClaude Opus 5.5 58cbdf39f7 Dawarich: back to latest, updated by dockcheck
The 1.7 -> 1.22 upgrade is done; the app gets the dockcheck label.
Redis and Postgres stay excluded in dockcheck.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:08:34 -07:00
PhilandClaude Opus 5.5 abb6dce244 Dawarich: last upgrade stop, 1.22.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:54:40 -07:00
PhilandClaude Opus 5.5 a79c9246df Dawarich: next upgrade stop, 1.18.1, and Redis 8
1.17.0 background jobs drained cleanly. 1.18.1 (skipping 1.18.0, which
needed the hotfix) converts Areas to Places and re-detects visits across
the whole history; the changes can't be rolled back, so a fresh dump was
taken first (~/backups/dawarich-1.17.0-20261109). Redis goes to 8 as in
upstream's compose since 1.18.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:43:58 -07:00
PhilandClaude Opus 5.5 70abb65d31 Dawarich 1.17.0: background jobs move into the app container
Follows the 1.17.0 upgrade notes and upstream compose: the separate
dawarich_sidekiq service is gone (removed on the host before deploying),
the app runs Sidekiq embedded (SIDEKIQ_EMBEDDED=true, WEB_CONCURRENCY=0,
BACKGROUND_PROCESSING_CONCURRENCY=2), gets stop_grace_period 60s, and the
limits match upstream (1 CPU, 4G).

Fresh dump before this step: ~/backups/dawarich-1.16.0-20261109.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:34:10 -07:00
PhilandClaude Opus 5.5 688ab62b06 Dawarich: next upgrade stop, 1.16.0
1.14.5 background jobs fully drained (checked queues, scheduled and retry
sets, and job logs). 1.16.0 is the last release with the separate sidekiq
container and merges duplicate legacy points.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:23:44 -07:00
PhilandClaude Opus 5.5 339c110280 Paperless back to latest; drop the HeyForm port workaround
Both earlier failures had one cause: the host still had old images cached
under the :latest tag (paperless-ngx from 2025-09, i.e. 2.x; heyform from
2025-02, i.e. v2), and the compose task only pulls missing images. So the
switch to :latest started year-old code. Pulled the real :latest images on
the host. Paperless 3.4.2 has no pending migrations on this database
(checked on a copy), and HeyForm v3.0.6 listens on 9157 as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:21:58 -07:00
PhilandClaude Opus 5.5 f6978f454a Dawarich: next upgrade stop, 1.14.5
1.10.3 migrated cleanly and its background jobs have drained. 1.14.5
fixes the registration bypass (GHSA-x483-3xv3-vp52) and runs the
1.11-1.14 track/visit recalculation and point backfill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:08:07 -07:00
PhilandClaude Opus 5.5 5262a9895c Fix HeyForm port after v3.0.6; hold Paperless at 3.4.1
- HeyForm v3.0.6 changed the default listen port from 9157 to 8000, so
  Caddy got 502s. Set APP_LISTEN_PORT=9157 explicitly.
- Paperless 3.4.2 fails its migration check on this database
  (InconsistentMigrationHistory, squashed 1022..1036). Rolled back to 3.4.1
  until that is investigated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:03:10 -07:00
PhilandClaude Opus 5.5 4550100dd1 Dawarich: pin the image tag for the step-by-step 1.7.11 -> 1.22.0 upgrade
First stop is 1.10.3 (drops the legacy lat/lon columns with the 1.10.2
lock fix). Next stops: 1.14.5 (security fix), 1.16.0, 1.17.0 (sidekiq
merged into the app), 1.18.1, 1.22.0, then back to latest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:56:51 -07:00
PhilandClaude Opus 5.5 e3d78065ab Track stable tags for Paperless and HeyForm, and let dockcheck update them
Pinned versions never got updates, because dockcheck only notices a new
image under the same tag.

- paperless-ngx: 3.4.1 -> latest (stable only; beta/dev have own tags)
- paperless redis: 7 -> 8-alpine (reads Redis 7 data as-is)
- gotenberg: 8.39.0 -> 8 (9 changed the API Paperless calls)
- tika: 3.3.1.0 -> 3.3.3.0 (no floating 3.x tag; Tika 4 breaks Paperless)
- heyform: v3.0.5 -> latest (only moved by v* release tags)
- add mag37.dockcheck.update to all of the above

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:56:47 -07:00
PhilandClaude Opus 5.5 6db2a2ad64 starpunk: v2.12.0 (remove metrics dashboard)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:08:11 -07:00
PhilandClaude Opus 5.5 671d33f3ea starpunk: v2.11.0 (maintenance: dependencies, Python 3.14, security fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:28:04 -07:00
PhilandClaude Opus 5.5 42ef4746e6 starpunk: v2.10.2 (reply context fetch fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:50:48 -07:00
PhilandClaude Opus 5.5 09602f82f3 starpunk: v2.10.1 (WebSub hardening), TRUSTED_PROXY=true
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:32:13 -07:00
PhilandClaude Opus 5.5 9cfbdf2ca7 starpunk: v2.10.0 (WebSub with a built-in hub)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:41:59 -07:00
PhilandClaude Opus 5.5 83eec48d65 starpunk: v2.9.0 (Micropub review fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:21:05 -07:00
PhilandClaude Opus 5.5 5b65a3afe9 starpunk: v2.8.1 (migration lock fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:06:59 -07:00
PhilandClaude Opus 5.5 b1d3525a02 starpunk: v2.8.0 (microformats2 review fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:46:55 -07:00
PhilandClaude Opus 5.5 55d009731b starpunk: v2.7.2 (webmention DNS pinning, re-send on response changes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:12:31 -07:00