Commit graph

20 commits

Author SHA1 Message Date
650a4581ec Merge pull request '[agent/codex] A specs/RFC.md stub has been injected. Read the actual sourc...' (#9) from agent/upgrade-this-package-to-dappco-re-go-cor into dev 2026-03-27 20:07:51 +00:00
Virgil
90a74d8f09 docs: add API RFCs 2026-03-27 20:07:11 +00:00
Virgil
08651929a1 chore: verification pass 2026-03-27 03:20:38 +00:00
Virgil
47910d0667 AX v0.8.0 polish pass
Co-authored-by: Virgil <virgil@lethean.io>
2026-03-26 18:14:55 +00:00
Virgil
67dae9cc94 Upgrade to dappco.re/go/core v0.8.0-alpha.1
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 15:32:27 +00:00
504003c47e Merge pull request 'Fix CodeRabbit findings' (#8) from agent/fix-coderabbit-findings--verify-each-aga into dev
Reviewed-on: #8
2026-03-24 11:43:34 +00:00
Snider
1cecf00148 Merge origin/dev into agent/fix-coderabbit-findings--verify-each-aga
Resolve conflict in hetzner_test.go: keep PR's CodeRabbit fixes
alongside dev's new test functions (load balancer, snapshot, GetServer).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-24 11:41:09 +00:00
Snider
ec1a591b71 fix(coderabbit): address review findings
- Truncate response body in error messages to 256 bytes to prevent
  sensitive data leakage from upstream APIs (client.go)
- Replace unchecked strings.Split index with safe repoShortName helper
  to prevent potential panic (cmd/monitor)
- Fix test assertions to match coreerr.E error format after prior refactor

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 16:24:37 +00:00
1f0372e15b Merge pull request '[agent/claude:opus] DX audit and fix. 1) Review CLAUDE.md — update any outdate...' (#1) from agent/dx-audit-and-fix--1--review-claude-md into main 2026-03-17 08:34:29 +00:00
Snider
7edad1625c fix(tests): update error assertions for coreerr.E format and add missing tests
Test assertions were out of sync with the coreerr.E() error format
introduced in 9a24df3 — updated 8 assertions from "prefix 404" to
"prefix: HTTP 404". Added round-trip tests for UpdateRecord,
EnsureRecord, ClearACMEChallenge, CreateLoadBalancer, DeleteLoadBalancer,
CreateSnapshot, GetLoadBalancer, ListLoadBalancers, GetServer, and unit
tests for HostsByRole/AppServers. Coverage: 62.5% → 80.9%. Updated
CLAUDE.md to reflect go-log/go-io dependencies and coding standards.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:34:06 +00:00
Snider
2217aad6f3 chore: sync dependencies for v0.1.5
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 22:18:37 +00:00
Snider
9a24df3d5f refactor: replace fmt.Errorf and errors.New with coreerr.E from go-log
Replace all remaining fmt.Errorf and errors.New calls in production code
with structured coreerr.E(op, msg, err) from forge.lthn.ai/core/go-log.
Covers 10 files across the infra package and cmd/prod and cmd/monitor.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 20:38:10 +00:00
Snider
6beb06686a refactor(config): replace os.ReadFile with coreio.Local.Read
Use the go-io Medium abstraction instead of os.ReadFile in Load().

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 18:31:36 +00:00
Snider
353817e224 chore: sync go.mod dependencies
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:37:55 +00:00
Snider
5d6d30979c chore: add .core/ and .idea/ to .gitignore 2026-03-15 10:17:49 +00:00
Snider
63b3194aed fix: update stale import paths and dependency versions from extraction
Resolve stale forge.lthn.ai/core/cli v0.1.0 references (tag never existed,
earliest is v0.0.1) and regenerate go.sum via workspace-aware go mod tidy.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 13:38:59 +00:00
Snider
9912ac7848 docs: add CLAUDE.md project instructions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 13:38:01 +00:00
Snider
42024ef476 docs: add human-friendly documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:40 +00:00
Snider
5626d99a17 feat: add cmd/prod and cmd/monitor from go-devops
Production infrastructure and security monitoring commands now
live alongside the infra library they depend on.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:28:22 +00:00
Snider
11e32fe965 feat: extract infra package from go-devops
Standalone infrastructure provider APIs: Hetzner Cloud, Hetzner Robot,
CloudNS DNS, and YAML infrastructure configuration parser. Shared HTTP
client with retry, exponential backoff, and rate-limit handling.

69 tests passing with race detector. Zero framework dependencies.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 11:34:52 +00:00