Commit Graph
19 Commits
Author SHA1 Message Date
claude-agent bb9545cdc5 claude: update CONTRIBUTING.md to also mention that only PRs are allowed, never direct pushes or merges by the bot 2026-08-23 15:10:43 +00:00
william 34c2f7d634 Merge pull request 'Fix Matrix bot autojoin 404 on startup' (#5) from fix/matrix-autojoin-404 into main
build-agent / build-and-push (push) Successful in 10s
Reviewed-on: #5
2026-08-23 15:08:37 +00:00
william fc53251285 Replace AutojoinRoomsMixin with a lightweight invite handler
Same root cause as the earlier whoami fix: the mixin's initial
/joined_rooms scan 404s against Continuwuity even though the endpoint
works fine when called directly. Only auto-join-on-invite was actually
needed, so a plain room.invite listener replaces the whole mixin.
2026-08-23 15:06:57 +00:00
william 6d0cb3bba3 Document branch protection + dedicated bot account so the bot can only open PRs, never merge 2026-08-23 14:51:13 +00:00
william d7a881c768 Cap OpenRouter max_tokens — some models default to their full context window
build-agent / build-and-push (push) Successful in 11s
2026-08-23 14:45:19 +00:00
william 77ce4a7334 Add !ai Matrix command for querying other models via OpenRouter
build-agent / build-and-push (push) Successful in 7s
2026-08-23 14:40:46 +00:00
william 58bce828bf Drop getUserId() call in Matrix bot startup — its whoami request 404s against Continuwuity
build-agent / build-and-push (push) Successful in 10s
Not actually needed: self-message filtering was only used to avoid the bot
reacting to its own replies, but those never match the !claude command
pattern anyway, so parseCommand() already filters them out for free.
2026-08-23 11:42:48 +00:00
william ec5ca6ff85 Use Claude subscription auth (CLAUDE_CODE_OAUTH_TOKEN) instead of API billing 2026-08-23 11:35:16 +00:00
william 8dfdcb80e8 Run claude-agent as non-root user — Claude Code refuses bypassPermissions as root
build-agent / build-and-push (push) Successful in 16s
2026-08-23 11:25:28 +00:00
william 6da5c8cc44 Smoke test: verify full push -> CI build -> Portainer redeploy loop 2026-08-23 11:23:34 +00:00
william 31d0923fdf Remove act_runner config file/mount — unreliable under Portainer git-stack deploy, and unnecessary
The bind-mounted relative path resolved to nothing once Portainer's cloned
checkout no longer persisted for the container's runtime, so Docker silently
created an empty directory there and act_runner crash-looped. act_runner
already auto-detects its own docker.sock without any custom config.
2026-08-23 11:21:27 +00:00
william 11d2ae8cbb Move Traefik out of this stack into its own standalone stack
Fixes a circular dependency: a full stack redeploy tears every service down
before bringing any back up, but claude-agent's image pull goes through
Traefik->Gitea's registry. Self-hosting Traefik in the same stack it fronts
means redeploying this stack could tear down the very route needed to bring
it back. Traefik now lives in ~/traefik/docker-compose.yml as shared infra,
independent of this stack's lifecycle.
2026-08-23 11:19:55 +00:00
william aca1be8fd2 Fix claude-agent env vars for Portainer git-stack deploy (env_file doesn't work there) 2026-08-23 11:15:37 +00:00
william 32be57fe30 Use a real PAT (REGISTRY_TOKEN) for registry login, not the auto GITEA_TOKEN
build-agent / build-and-push (push) Successful in 36s
2026-08-23 11:05:19 +00:00
william 5f804baea9 Grant packages:write to the build job's auto-token
build-agent / build-and-push (push) Failing after 2s
2026-08-23 11:03:42 +00:00
william 0dcf5488d2 Fix Actions runner: use docker-capable job image, mount docker socket, add manual trigger
build-agent / build-and-push (push) Failing after 0s
2026-08-23 10:53:18 +00:00
william 8c57c48e9e Use non-reserved variable name for registry host in build workflow
build-agent / build-and-push (push) Failing after 2s
2026-08-23 10:50:39 +00:00
william 622e35f979 Fix Traefik/Docker API version mismatch, tidy Matrix registration-token env handling 2026-08-23 10:49:11 +00:00
william 357791d6e3 Scaffold Matrix + GitOps + Claude automation stack
build-agent / build-and-push (push) Failing after 18s
2026-08-23 10:25:57 +00:00