Snider
e4216a12b0
chore: sync dependencies for v0.1.13
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:53:32 +00:00
Snider
339ad743be
chore: sync dependencies for v0.1.12
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:50:49 +00:00
Snider
0f50f98a95
fix: defer i18n.T() for package-level command vars
...
Package-level var declarations run at import time, before i18n is
initialised. Move Short/Long assignment to AddCommands functions
which run after Core startup.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 02:21:52 +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
764f290b34
feat: add en-GB locale file for dev/deploy/docs/setup commands
...
281 translation keys covering dev (health, work, commit, push, pull,
tag, impact, issues, reviews, ci, apply, workflow, vm), deploy, docs,
git, and setup commands.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 00:34:55 +00:00
Snider
2ef3e48b11
chore: sync dependencies for v0.1.11
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 22:20:21 +00:00
Snider
4c5e12c9f8
refactor: replace os.ReadFile/WriteFile and fmt.Errorf/errors.New with framework equivalents
...
Replace os.ReadFile with coreio.Local.Read for consistent filesystem abstraction.
Replace fmt.Errorf/errors.New with log.E() from go-log for structured error context.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 19:17:34 +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
c364b3083c
chore: sync workspace dependencies
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:44:45 +00:00
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
a2b74a642b
chore: add .core/ and .idea/ to .gitignore
2026-03-15 10:17:49 +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
c969b6d265
docs: remove completed plan files
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 08:20:09 +00:00
Snider
5c3a5295a3
fix(plugin): remove invalid commands schema from plugin.json
...
Commands auto-discovered from commands/ directory.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 10:54:45 +00:00
Snider
144c1e440d
feat(plugin): add npm package for Claude Code plugin distribution
...
Published as @lthn/core-claude-devops on npm.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 10:49:17 +00:00
Snider
26be091e39
fix(plugin): add commands/ auto-discover directory, fix plugin.json schema
...
Commands must be in `.claude-plugin/commands/` for Claude Code auto-discovery.
Fixed plugin.json to use `{name, description, file}` array format.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 10:18:42 +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
481344a066
docs: add human-friendly documentation
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:39 +00:00
Snider
3f578bbaf1
refactor: rename hugo sync target to zensical
...
Repurposes --target hugo as --target zensical. Same section mapping,
outputs to docs-site/docs/ instead of docs-site/content/.
Renames _index.md → index.md (Zensical convention).
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-11 09:48:38 +00:00
Snider
f16aa928d1
feat: add claude plugin for CI/CD, deployment, and issue tracking
2026-03-09 18:15:52 +00:00
Snider
87584f84bd
fix: deterministic snapshot tests, add nil manifest + permissions coverage
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 15:10:49 +00:00
Snider
b14355f18b
feat: add core.json snapshot generation from manifest
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 15:02:29 +00:00
Snider
d171fe5db8
refactor: remove build/, release/, sdk/ — extracted to core/go-build
...
Build system, release publishers, and SDK generation now live at
forge.lthn.ai/core/go-build v0.1.0. 110 files, 21K LOC moved.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:37:53 +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
f293e71a04
refactor: move cmd/ packages to their respective repos
...
- cmd/vm/ → go-container/cmd/vm/
- cmd/prod/ → go-infra/cmd/prod/
- cmd/monitor/ → go-infra/cmd/monitor/
- cmd/qa/ → lint/cmd/qa/
- cmd/deploy/cmd_ansible.go → go-ansible/cmd/ansible/
Each repo now owns its CLI commands alongside its library code.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:28:15 +00:00
Snider
0737b83196
chore: add .gitignore for IDE files
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:14:51 +00:00
Snider
d97db89866
refactor: replace all cobra imports with core/cli
...
19 files migrated from github.com/spf13/cobra to
forge.lthn.ai/core/cli/pkg/cli. All cmd/ and build/ packages
now use cli.Command exclusively. Zero direct cobra dependencies
remain in application code.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:05:13 +00:00
Snider
3a995db1db
refactor: remove extracted packages
...
- container/ → core/go-container v0.1.0
- devops/ → core/go-container/devenv v0.1.0
- infra/ → core/go-infra v0.1.0
- devkit/ → core/lint v0.2.0
All cmd/ consumers already import from standalone repos.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 11:52:34 +00:00
Snider
14cfa408e7
refactor: remove ansible/ — extracted to core/go-ansible
...
Package lives at forge.lthn.ai/core/go-ansible v0.1.0.
All consumers already updated to import from there.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 11:51:40 +00:00
Snider
3d2466088e
chore: remove legacy CI configs
...
Woodpecker and Forgejo Actions replaced by .core build system.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 11:49:12 +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
63e4b35a9a
chore: add .core/ build and release configs
...
Add go-devops build system configuration for standardised
build, test, and release workflows across the Go ecosystem.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 18:52:36 +00:00
Snider
fd95028f2c
feat(docs): add gohelp sync target
...
core docs sync --target gohelp collects repo docs/ folders
into flat content/{package}/ structure for go-help static gen.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 16:39:50 +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
5a0aee4b2b
refactor: swap pkg/framework imports to pkg/core
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 14:11:01 +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
Claude
8c9fdca5a6
docs: archive completed plans
...
All 8 plan files (4 design + 4 impl) verified as completed against
codebase and git history. Each archived with completion summary
documenting date, key files built, and test coverage.
Archived plans:
- core-devops (design + impl): devops/ package fully implemented
- code-signing (design + impl): build/signing/ package fully implemented
- sdk-generation (design + impl): sdk/ package fully implemented
- sdk-release (design + impl): release/sdk.go fully implemented
Remaining in docs/plans/:
- docs-sync-next-steps.md: reference document for future setup steps
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 18:08:28 +00:00
db185dec37
Merge pull request 'chore: Go 1.26 modernization' ( #2 ) from chore/go-1.26-modernization into main
2026-02-24 18:01:41 +00:00
Claude
31985fa801
chore: use slices.Sorted(maps.Keys()) for ordered iteration
2026-02-24 15:45:03 +00:00
Claude
f4848deda6
chore: sort.Strings → slices.Sort
2026-02-24 15:44:09 +00:00
Claude
02a27dde71
chore: use slices.Contains for linear search
2026-02-24 15:43:09 +00:00
Claude
e3c2315c6a
chore: use %w for error wrapping
2026-02-24 15:41:11 +00:00
Claude
801bbe15e5
chore: fmt.Errorf(static) → errors.New
2026-02-24 15:38:34 +00:00