Commit graph

21 commits

Author SHA1 Message Date
Snider
7aa8c7f944 chore: update dependencies
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:43:36 +00:00
Snider
34b0c4b5dd chore: sync go.mod dependencies
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:38:03 +00:00
Snider
e0fceb0e2e 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
ea051b07cb refactor: update import path from go-config to core/config
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:24:50 +00:00
Snider
cbe95aa490 feat: migrate ci/issues/reviews from gh CLI to Forgejo SDK
Replace shell-outs to `gh` with native Gitea SDK calls via shared
forge_client.go helper. Supports both ListRepoActionRuns (1.25+) and
ListRepoActionTasks (older Forgejo) for CI status. Issues and reviews
now use SDK list endpoints with proper filtering.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-12 19:04:41 +00:00
Snider
a3f6b76337 fix: update go-agentic imports to core/agent
go-agentic → core/agent/pkg/lifecycle (aliased as agentic)
go-agentic/cmd/workspace → core/agent/cmd/workspace

All cmd/ packages now build cleanly.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:35:25 +00:00
Snider
abbb7f6956 refactor: update imports to use extracted repos
Point cmd/ consumers at new standalone repos:
- go-devops/ansible → go-ansible
- go-devops/infra → go-infra
- go-devops/container → go-container
- go-devops/devops → go-container/devenv

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 11:46:32 +00:00
Snider
f5064a72be chore: sync go.mod dependencies
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 15:22:48 +00:00
Snider
3fcefd5edc refactor: swap pkg/repos import to go-scm/repos
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 13:48:08 +00:00
Snider
278e89e292 refactor: swap pkg/{io,log} imports to go-io/go-log
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 12:35:24 +00:00
Snider
8e8d356616 refactor: use core/go-i18n module instead of core/go/pkg/i18n
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 09:09:07 +00:00
Snider
28e1b85718 feat: add go-php dependency for PHP/Laravel command awareness
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:40:10 +00:00
Snider
4c7e5c7b42 chore: bump forge.lthn.ai dep versions to latest tags
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-26 05:34:23 +00:00
Snider
4ef438dc40 chore: refresh go.sum after upstream tag updates
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 06:35:19 +00:00
Claude
171becfdd6
chore: refresh go.sum after upstream tag updates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 23:36:25 +00:00
Snider
ac6cff9b18 refactor: migrate CLI imports from core/go to core/cli
Update 58 files from forge.lthn.ai/core/go/pkg/cli to
forge.lthn.ai/core/cli/pkg/cli. Also fix pre-existing broken
imports: cmd/workspace → go-agentic, cmd/dev → self-reference.

Resolves circular dependency that caused qa docblock stub in core/go.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 23:28:58 +00:00
Claude
42613e2625
chore: migrate Snider deps from github.com to forge.lthn.ai
Update Borg dependency path from github.com/Snider/Borg to
forge.lthn.ai/Snider/Borg across go.mod and imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:40:28 +00:00
Snider
4b5739fbd7 chore: resolve forge deps from registry, remove local replaces
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 19:21:00 +00:00
Claude
802a054ffe
fix(go.mod): correct replace path ../core to ../go
The framework lives at ../go in the canonical workspace layout.
The ../core path was a symlink-specific workaround that broke
the CLI go.work build.

Co-Authored-By: Charon <charon@lethean.io>
2026-02-20 15:29:53 +00:00
Snider
6e346cb2fd test(devops): Phase 0 test coverage and hardening
- Fix go vet warnings across 4 files: update stale API calls in
  container/linuxkit_test.go, container/state_test.go, and
  devops/devops_test.go (removed io.Local arg from NewState/LoadState),
  rewrite container/templates_test.go for package-level function API
- Add ansible/parser_test.go: 17 tests covering ParsePlaybook,
  ParseInventory, ParseTasks, GetHosts, GetHostVars, isModule,
  NormalizeModule (plays, vars, handlers, blocks, loops, roles, FQCN)
- Add ansible/types_test.go: RoleRef/Task UnmarshalYAML, Inventory
  structure, Facts, TaskResult, KnownModules validation
- Add ansible/executor_test.go: executor logic (getHosts, matchesTags,
  evaluateWhen, templateString, applyFilter, resolveLoop, templateArgs,
  handleNotify, normalizeConditions, helper functions)
- Add infra/hetzner_test.go: HCloudClient/HRobotClient construction,
  do() round-trip via httptest, API error handling, JSON serialisation
  for HCloudServer, HCloudLoadBalancer, HRobotServer
- Add infra/cloudns_test.go: doRaw() round-trip via httptest, zone/record
  JSON parsing, CRUD response validation, ACME challenge logic,
  auth param verification, error handling
- Fix go.mod replace directive path (../go -> ../core)
- All tests pass, go vet clean, go test -race clean

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 01:36:03 +00:00
Claude
392ad68047
feat: extract devops packages from core/go
Build system, release automation, SDK generation, Ansible executor,
LinuxKit dev environments, container runtime, deployment, infra
metrics, and developer toolkit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 15:21:39 +00:00