Commit graph

59 commits

Author SHA1 Message Date
cb6bb17378 Merge pull request '[agent/codex:gpt-5.4-mini] Read ~/spec/code/core/go/ratelimit/RFC.md fully. Find ONE fe...' (#19) from agent/read---spec-code-core-go-ratelimit-rfc-m into dev
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-01 04:47:40 +00:00
Virgil
2ad4870bd0 fix(ratelimit): initialise state on invalid decides
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 14m39s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 04:47:30 +00:00
Virgil
ed5949ec3a feat(ratelimit): add agent decision guidance
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 2m19s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 08:16:44 +00:00
61ccc226b2 Merge pull request '[agent/codex] A specs/RFC.md stub has been injected. Read the actual sourc...' (#17) from agent/upgrade-this-package-to-dappco-re-go-cor into dev
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m8s
2026-03-27 20:33:57 +00:00
Virgil
b3a6279f35 docs(ratelimit): add exported API RFC
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 20:33:40 +00:00
0e8d02a528 Merge pull request '[agent/codex] Full AX v0.8.0 compliance review. Read CODEX.md and .core/re...' (#16) from agent/upgrade-this-package-to-dappco-re-go-cor into dev
All checks were successful
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 1m9s
2026-03-27 04:24:04 +00:00
Virgil
1ec0ea4d28 fix(ratelimit): align module metadata and repo guidance
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 04:23:34 +00:00
eea295f017 Merge pull request '[agent/codex] VERIFICATION PASS — report findings only. grep ALL .go fil...' (#15) from agent/upgrade-this-package-to-dappco-re-go-cor into dev
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m19s
2026-03-27 03:31:58 +00:00
Virgil
75f27a4906 chore(ratelimit): record verification pass
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 03:31:38 +00:00
27723ce8e9 Merge pull request '[agent/codex] AX v0.8.0 polish pass. Fix ALL violations — banned imports...' (#14) from agent/upgrade-this-package-to-dappco-re-go-cor into dev
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m10s
2026-03-26 18:52:22 +00:00
Virgil
ed1cdc11b2 refactor(ratelimit): finish ax v0.8.0 polish
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 18:51:54 +00:00
52316d5377 Merge pull request '[agent/codex] Upgrade this package to dappco.re/go/core v0.8.0-alpha.1. Re...' (#13) from agent/upgrade-this-package-to-dappco-re-go-cor into dev
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 2m14s
2026-03-26 15:41:31 +00:00
Virgil
36cc0a4750 refactor(ratelimit): upgrade to core v0.8.0-alpha.1
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 15:41:11 +00:00
bd6c6e5136 Merge pull request '[agent/codex] Convention drift check. Read CLAUDE.md. stdlib→core.*, UK ...' (#11) from agent/convention-drift-check--read-claude-md into dev
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 1m3s
Security Scan / security (pull_request) Successful in 8s
Test / test (pull_request) Successful in 1m1s
2026-03-23 15:06:46 +00:00
Virgil
c5e2ed8b7e docs(ratelimit): add convention drift report
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-23 15:06:08 +00:00
62d8fd0f5b Merge pull request '[agent/codex] API contract extraction. Read CLAUDE.md. For every exported ...' (#10) from agent/api-contract-extraction--read-claude-md into dev
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m2s
2026-03-23 15:03:50 +00:00
Virgil
86dc04258a docs(ratelimit): extract api contract
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-23 15:03:29 +00:00
a24fa5bad3 Merge pull request '[agent/codex] Security attack vector mapping. Read CLAUDE.md. Map every ex...' (#7) from agent/security-attack-vector-mapping--read-cla into dev
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m5s
2026-03-23 13:29:34 +00:00
Virgil
22ab4edc86 docs(ratelimit): map external attack vectors
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-23 13:29:15 +00:00
d82736204e Merge pull request '[agent/codex] Fix ALL findings from issue #3. Read CLAUDE.md first. Token ...' (#4) from agent/deep-audit-per-issue--3--read-claude-md into dev
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m23s
2026-03-23 07:26:48 +00:00
Virgil
d1c90b937d fix(ratelimit): harden audit edge cases
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-23 07:26:15 +00:00
0db35c4ce9 Merge pull request '[agent/claude] Update go.mod require lines from forge.lthn.ai to dappco.re ...' (#2) from agent/update-go-mod-require-lines-from-forge-l into main
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 2m20s
2026-03-22 01:34:41 +00:00
Snider
d4d9d7a798 chore(ratelimit): migrate dependencies from forge.lthn.ai to dappco.re
All checks were successful
Security Scan / security (pull_request) Successful in 7s
Test / test (pull_request) Successful in 2m17s
Update go.mod require lines and .go import paths:
- forge.lthn.ai/core/go-io v0.1.7 → dappco.re/go/core/io v0.2.0
- forge.lthn.ai/core/go-log v0.0.4 → dappco.re/go/core/log v0.1.0

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:34:23 +00:00
Snider
d7655561b8 Merge remote-tracking branch 'github/dev'
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 2m19s
2026-03-22 00:57:19 +00:00
Snider
f5a83d774d Merge remote-tracking branch 'origin/main' 2026-03-22 00:57:18 +00:00
Snider
b45262132b chore: sync dependencies for v0.1.11
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:55:05 +00:00
Snider
92fe978b1a chore: sync dependencies for v0.1.10
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:47:34 +00:00
Snider
d3a47eaecc ci: add Core ecosystem CI workflow with CodeRabbit auto-fix
Uses dAppCore/build actions for test, auto-fix on CodeRabbit changes,
and auto-merge on CodeRabbit approval.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 14:05:50 +00:00
5ad481d30d 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
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m1s
2026-03-17 08:57:20 +00:00
Snider
a003e532f7 fix(ratelimit): update CLAUDE.md and raise test coverage to 95%
All checks were successful
Security Scan / security (pull_request) Successful in 7s
Test / test (pull_request) Successful in 1m10s
- Update error format docs: fmt.Errorf → coreerr.E from go-log
- Update dependencies list: add go-io and go-log
- Add tests for SQLite error paths (trigger-based exec errors,
  schema corruption, closed DB, load/persist via limiter)
- Add tests for Iter early break, NewWithConfig HOME error,
  MigrateYAMLToSQLite save-error paths
- Coverage: 87.8% → 95.0%

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:56:53 +00:00
Snider
e6a3ba9810 chore: sync dependencies for v0.1.9
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 2m33s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 22:20:29 +00:00
Snider
4bb1cb96d4 refactor(ratelimit): replace all fmt.Errorf with coreerr.E from go-log
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m7s
Replace all 41 remaining fmt.Errorf calls in production code (ratelimit.go
and sqlite.go) with coreerr.E() from forge.lthn.ai/core/go-log. Promotes
go-log from indirect to direct dependency in go.mod.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 20:38:06 +00:00
Snider
ee6c5aa69d refactor(ratelimit): replace os.ReadFile/WriteFile/MkdirAll with go-io
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 2m24s
Swap all direct os I/O calls for coreio.Local equivalents:
- os.ReadFile  → coreio.Local.Read  (returns string; []byte cast at call sites)
- os.WriteFile + os.MkdirAll → coreio.Local.Write (creates parent dirs internally)

Affected: Load(), Persist(), MigrateYAMLToSQLite(). go.mod gains
forge.lthn.ai/core/go-io v0.1.2 as a direct dependency.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 18:31:35 +00:00
Snider
b0b686bd3f chore: sync go.mod dependencies
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 2m22s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:36:21 +00:00
Snider
25da438ca0 chore: add .core/ and .idea/ to .gitignore
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 2m8s
2026-03-15 10:17:50 +00:00
Snider
9cddfe46b7 docs: add CLAUDE.md project instructions
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 56s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 13:38:02 +00:00
Snider
9572425e89 docs: add human-friendly documentation
All checks were successful
Security Scan / security (push) Successful in 6s
Test / test (push) Successful in 45s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:40 +00:00
Snider
ae2cb96d38 test: add error handling and iterator coverage tests
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 2m1s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:33:00 +00:00
Snider
79448bf3f3 fix: improve error handling and test coverage
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:30:03 +00:00
Snider
2eb0559ecb chore: add .core/ build and release configs
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 2m10s
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:37 +00:00
Snider
d17d7b7076 chore: remove boilerplate Taskfile
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 2m9s
All tasks (test, build, lint, fmt, vet, cov) are handled natively
by `core go` commands. Taskfile was redundant wrapper.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 14:45:49 +00:00
Snider
ade9766d65 fix: skip permission tests when running as root (CI/Docker)
All checks were successful
Security Scan / security (push) Successful in 15s
Test / test (push) Successful in 3m16s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 07:04:58 +00:00
Snider
3bcb8ff741 chore: add Go repo norms (badges, contributing, lint, taskfile, editorconfig)
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Failing after 2m50s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 06:45:45 +00:00
Snider
70b611e2a7 chore: refresh go.sum after upstream tag updates
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:35:19 +00:00
Snider
d74811f2d0 feat: modernise to Go 1.26 — slices.DeleteFunc, iterators, range
Some checks failed
Security Scan / security (push) Successful in 7s
Test / test (push) Failing after 40s
- Use slices.DeleteFunc in prune() for cleaner time-window filtering
- Add Models() iter.Seq[string] and Iter() iter.Seq2[string, ModelStats]
- Use range over int in benchmarks and tests
- Update docs example to modern range syntax

Co-Authored-By: Gemini <noreply@google.com>
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 05:14:19 +00:00
Claude
852e634dc0
ci: add Forgejo Actions test and security scan workflows
Some checks failed
Test / test (push) Failing after 50s
Security Scan / security (push) Failing after 10m32s
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:08 +00:00
Claude
6d9075a3f2
chore: sync workspace dependency versions
Run go work sync to align dependency versions across workspace.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:41:59 +00:00
Snider
2246fea10f 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
0afcf0fb64 chore: bump go directive to 1.26.0
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 20:33:48 +00:00
Snider
2acc17b4ec docs: add README with quick start and docs links
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 15:11:19 +00:00