Commit graph

21 commits

Author SHA1 Message Date
Snider
6833cc3f4b chore: bump forge.lthn.ai dep versions to latest tags
Some checks failed
Security Scan / security (push) Failing after 13s
Test / test (push) Successful in 4m25s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-26 05:34:22 +00:00
172c1cc724 Merge pull request 'chore: Go 1.26 modernization' (#1) from chore/go-1.26-modernization into main
Some checks failed
Security Scan / security (push) Failing after 12s
Test / test (push) Successful in 2m2s
2026-02-24 18:01:48 +00:00
Claude
f45537b56c
chore: use min()/max() builtins (Go 1.21+)
Some checks failed
Security Scan / security (pull_request) Failing after 13s
Test / test (pull_request) Successful in 1m59s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 16:26:12 +00:00
Claude
d457b74d80
chore: fmt.Errorf(static) → errors.New
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 16:25:54 +00:00
Snider
f1e55b370f fix: skip permission tests when running as root (CI/Docker)
Some checks failed
Security Scan / security (push) Failing after 10s
Test / test (push) Successful in 4m55s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 07:43:48 +00:00
Snider
f684a7f845 chore: bump forge.lthn.ai dep versions to latest tags
Some checks failed
Security Scan / security (push) Failing after 13s
Test / test (push) Failing after 4m16s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 06:49:35 +00:00
Snider
8efe6d41de chore: add Go repo norms (badges, contributing, lint, taskfile, editorconfig)
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 06:45:29 +00:00
Snider
177b0e359c chore: refresh go.sum after upstream tag updates
Some checks failed
Security Scan / security (push) Failing after 11s
Test / test (push) Failing after 38s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 06:35:18 +00:00
Snider
5ed62dc025 feat: modernise to Go 1.26 iterators and stdlib helpers
Some checks failed
Security Scan / security (push) Failing after 8s
Test / test (push) Failing after 37s
Add iter.Seq iterators for Poller, Spinner, and Journal. Use
slices.Sort, slices.SortFunc, maps.DeleteFunc for cleaner
collection operations.

Co-Authored-By: Gemini <noreply@google.com>
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 05:53:27 +00:00
Claude
99f92f28f3
ci: add Forgejo Actions test and security scan workflows
Some checks failed
Security Scan / security (push) Failing after 10s
Test / test (push) Failing after 25s
Uses reusable workflows from core/go-devops for Go testing
(with race detector and coverage) and security scanning
(govulncheck, gitleaks, trivy).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 03:28:02 +00:00
Claude
320c657981
fix: rename files with colons in name (breaks Go tooling)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:58:01 +00:00
Snider
099c9a3afd refactor: migrate CLI imports from core/go to core/cli
Update imports from forge.lthn.ai/core/go/pkg/cli to
forge.lthn.ai/core/cli/pkg/cli following CLI package split.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 23:29:13 +00:00
Snider
eb273d447b refactor: apply go fix modernizers for Go 1.26
Automated fixes: interface{} → any, range-over-int, t.Context(),
wg.Go(), strings.SplitSeq, strings.Builder, slices.Contains,
maps helpers, min/max builtins.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 21:00:17 +00:00
Snider
9bf439898a chore: go mod tidy for 1.26.0
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 20:35:59 +00:00
Snider
1ba80efe78 chore: bump go directive to 1.26.0
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 20:33:49 +00:00
Snider
c87d27677d chore: pin forge deps to v0.0.1 tags for Go 1.26 compat
Go 1.26 rejects non-semver version strings (like 'main') in go.mod.
Tags v0.0.1 now exist on all forge repos — workspace still overrides
for local development.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 20:15:05 +00:00
Snider
6efbd9055a chore: use workspace-resolved versions, drop replace directives
Forge module versions now use main branch resolution via ~/Code/go.work
workspace. Removes local replace directives — the central go.work handles
all cross-repo resolution during development.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 19:49:35 +00:00
Snider
e030976440 feat: add agent runner, setup, and ethics-ab scripts from CLI
- agent-runner.sh: multi-backend agent dispatch (claude/codex/gemini)
- agent-setup.sh: agent environment setup
- gemini-batch-runner.sh: Gemini batch processing
- ethics-ab/: ethics A/B testing framework with results

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 21:20:15 +00:00
Snider
16c16c6da0 feat: add agent settings from CLI
Claude and Gemini configuration moved from core/cli.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 21:18:34 +00:00
Snider
272864cbb8 feat: migrate dispatch, agent, and taskgit commands from CLI
Move business logic from core/cli cmd/ai into proper homes:
- cmd/dispatch: ticket processing, multi-runner exec, forge reporting
- cmd/agent: fleet management, SSH keys, add/remove/setup
- cmd/taskgit: task-linked git (task:commit, task:pr)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 20:42:14 +00:00
Snider
61e01bfdf1 feat: initial go-agent — agentci + jobrunner + plugins marketplace
Consolidates three codebases into a single agent orchestration repo:

- agentci (from go-scm): Clotho dual-run verification, agent config,
  SSH security (sanitisation, secure commands, token masking)
- jobrunner (from go-scm): Poll-dispatch-report pipeline with 7 handlers
  (dispatch, completion, auto-merge, publish draft, dismiss reviews,
  send fix command, tick parent epic)
- plugins marketplace (from agentic/plugins): 27 Claude/Codex/Gemini
  plugins with shared MCP server

All 150+ tests passing across 6 packages.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 15:47:19 +00:00