6 Commits

Author SHA1 Message Date
huty 4d40204070 fix(ci): pin registry to port 443 to force HTTPS
Build and Push Docker Image / build-and-push (push) Failing after 2m7s
Avoids docker client protocol probing falling back to HTTP/80,
which was causing the /v2/token request to time out.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-22 14:06:05 +09:00
huty eea001c911 fix(ci): simplify workflow to debug OAuth token timeout
Build and Push Docker Image / build-and-push (push) Failing after 2m35s
- remove QEMU setup (amd64-only build, not needed)
- remove registry build cache (buildkit cache uses separate auth flow,
  suspected cause of HTTP fallback in /v2/token request)
- switch gitea.actor/event_name to github.actor/event_name for
  broader action compatibility

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-21 16:24:40 +09:00
huty 48374c2d09 fix(ci): rename secret to REGISTRY_TOKEN (Gitea reserves GITEA_ prefix)
Build and Push Docker Image / build-and-push (push) Failing after 6m35s
Gitea rejects secret names starting with GITEA_ (reserved for built-in
secrets). Rename to REGISTRY_TOKEN in both the workflow and the README
setup instructions, and add a comment noting the constraint.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-21 15:50:11 +09:00
huty 55b1eda359 ci: add Gitea Actions workflow for Docker image build and push
Add .gitea/workflows/build-and-push.yml that builds and pushes the Docker
image to git.hty1024.com/hty1024/ai-app-ops-tools on three triggers: push
to main, push of a v*.*.* tag, and manual workflow_dispatch with an
optional custom tag. Uses docker/metadata-action to derive sensible tags
(branch name, semver, short sha, latest on default branch) and registry-
backed Buildx cache to speed up repeated builds.

README gains a CI/CD section covering trigger rules, one-time setup
(runner registration + GITEA_TOKEN secret with write:package scope), and
how to pull / consume the published image.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-21 15:44:53 +09:00
huty 36fce94692 docs: add Docker Compose deployment and README
Add a single-service docker-compose setup with bind-mounted config /
templates / apps / playbooks / data so users can iterate on inventory and
intents without rebuilding the image. Dockerfile uses python:3.12-slim
with tini for clean signal handling, and ships openssh-client for in-
container troubleshooting. Health check hits the /health endpoint.

README documents project background, the L1-L5 architecture, both local
and Docker deployment paths, configuration keys, intent template
extension, and the safety model.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-21 11:39:30 +09:00
huty dc2d2acc82 feat: initial framework for AI-powered ops terminal
Scaffold an MVP of the natural-language ops terminal: inventory + intent
template registry, SSH/WinRM/local connectors, risk-gated executor with
SQLite audit log, Claude-driven agent layer using Function Calling, plus a
Typer CLI and FastAPI surface.

Includes 10 cross-OS intents (disk/system/service) and example inventory.
Verified end-to-end on the local Windows host: hosts/intents listing,
check_disk_usage execution, and WRITE-class confirmation gating.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-21 11:01:43 +09:00