Snider
c2adc7d9dc
fix(dx): audit and fix build, error handling, and CLAUDE.md
...
- Fix cli.RegisterCommands signature mismatch (cli v0.3.5 takes
single CommandRegistration, not variadic localeFS); register
locales via i18n.RegisterLocales in locales/embed.go init()
- Replace fmt.Errorf inside log.E with plain string concat in
deploy/python and deploy/coolify
- Remove unused fmt import from deploy/coolify/client.go
- Update CLAUDE.md: correct LOC count, clarify cmd/community and
cmd/gitcmd descriptions, add locales package, fix error convention
from core.E/fmt.Errorf to log.E
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:18:32 +00:00
Snider
b429736097
refactor: pass locales via RegisterCommands instead of direct i18n call
...
Clean init(): cli.RegisterCommands(AddDevCommands, locales.FS)
No more i18n.AddLoader — CLI handles locale loading automatically.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 01:35:18 +00:00
Snider
b9d9994a36
feat: embed and load locale translations on init
...
Locales auto-load when cmd/dev is imported via init().
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 00:45:15 +00:00
Snider
cea8624497
feat(dev): add core dev tag command
...
Reads repos.yaml dependency graph via TopologicalOrder(), bumps patch
version bottom-up, runs GOWORK=off go get -u ./... and go mod tidy per
repo, commits go.mod/go.sum, creates annotated tags, and pushes.
Supports --dry-run to preview the plan and --force to skip confirmation.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 17:28:11 +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
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
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
Snider
1c27bc4ca9
feat: absorb dev tooling commands from CLI
...
cmd/dev — multi-repo workflow (work, push, pull, commit, health)
cmd/setup — project bootstrap, CI, GitHub config
cmd/qa — code quality, review, docblock checking
cmd/docs — docs scan/sync/list
cmd/gitcmd — git helpers
cmd/monitor — monitoring
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 21:45:58 +00:00