Snider
c97e321948
fix: migrate module paths from forge.lthn.ai to dappco.re
...
Security Scan / security (push) Has been cancelled
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 16:21:12 +01:00
Claude
c4ef1e6205
feat: upgrade to core v0.8.0-alpha.1, replace banned stdlib imports
...
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 49s
Replace fmt, errors, strings, encoding/json with Core primitives
across 20 files. Keep strings.Fields/CutPrefix. No translation
files modified.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 05:35:51 +00:00
Claude
bd9891872a
chore: update dependencies to dappco.re tagged versions
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 05:35:49 +00:00
Snider
d17656d794
Merge remote-tracking branch 'origin/main'
Security Scan / security (push) Successful in 11s
Test / test (push) Failing after 21s
2026-03-22 00:29:04 +00:00
Snider
b33bc28761
Merge remote-tracking branch 'github/dev'
2026-03-22 00:28:51 +00:00
Claude
08c78757a5
chore: migrate to dappco.re vanity import path
...
Security Scan / security (push) Successful in 7s
Test / test (push) Failing after 22s
Module path: forge.lthn.ai/core/go-i18n -> dappco.re/go/core/i18n
Dependency: forge.lthn.ai/core/go-log -> dappco.re/go/core/log
go-inference remains on forge.lthn.ai (not yet migrated).
dappco.re/go/core/log uses replace directive until published.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 23:49:15 +00:00
Snider
5bc988ecf9
refactor: migrate core import to dappco.re/go/core
...
Security Scan / security (push) Successful in 16s
Test / test (push) Failing after 30s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-21 19:59:39 +00:00
Snider
0cdba2f7d7
chore: sync dependencies for v0.1.8
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:55:20 +00:00
Snider
a226856867
chore: sync dependencies for v0.1.7
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:48:39 +00:00
Snider
aa5d739f9d
fix(dx): migrate error handling to log.E(), fix build, add tests
...
Security Scan / security (pull_request) Successful in 7s
Test / test (pull_request) Successful in 1m24s
- Replace all fmt.Errorf/errors.New with log.E() from go-log
- Fix core_service.go build error (c.Locales() does not exist on Core)
- Add tests for Service.AddLoader, LoadFS, LanguagesErr, flatten, IsRTL
- Document error handling convention in CLAUDE.md
- Coverage: 85.2% root, 91.0% reversal (up from 83.1%)
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 07:51:29 +00:00
Snider
b036cdcdf6
chore: sync dependencies for v0.1.6
...
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 1m20s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 22:19:29 +00:00
Snider
08f60e3ebb
feat: add CoreService for Core framework integration
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m21s
NewCoreService() creates an i18n Core service factory so any binary
can register i18n without depending on core/cli.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 16:24:00 +00:00
Snider
2302ddbe31
chore: sync go.mod dependencies
...
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 21s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:28:59 +00:00
Snider
518654b424
chore: bump forge.lthn.ai dep versions to latest tags
...
Security Scan / security (push) Successful in 13s
Test / test (push) Successful in 2m54s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-26 05:34:22 +00:00
Snider
dbe14d339c
chore: refresh go.sum after upstream tag updates
...
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
Claude
531685419d
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:55 +00:00
Snider
4f34935916
chore: bump go directive to 1.26.0
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 20:33:48 +00:00
Snider
a41b4dc6af
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:06 +00:00
Snider
4446d1e835
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:36 +00:00
Claude
32a55f5d35
test(i18n): add tests for 8 uncovered files, coverage 69.9% -> 86.6%
...
Add dedicated test files for compose.go, context.go, debug.go, hooks.go,
i18n.go, localise.go, time.go, and transform.go. Uses testify
assert/require with table-driven tests and Good/Bad/Ugly naming.
Key coverage improvements:
- transform.go: toInt/toInt64/toFloat64 18.8% -> 100%
- time.go: TimeAgo/FormatAgo 0% -> 100%/87.5%
- compose.go: newTemplateData/SetFormality/IsInformal 0% -> 100%
- context.go: all functions now 100%
- debug.go: package-level SetDebug 0% -> 100%
- hooks.go: RegisterLocales 0% -> 100%
- i18n.go: T/Raw/N/SetMode/AddHandler/PrependHandler all covered
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 02:09:08 +00:00
Snider
ff376830c0
fix: address Virgil review — 5 fixes for classify pipeline
...
- Remove go-mlx from go.mod (breaks non-darwin builds)
- Fix go-inference pseudo-version for CI compatibility
- Fix mapTokenToDomain prefix collision (castle, credential)
- Add testing.Short() skip to slow classification benchmarks
- Add 80% accuracy threshold to integration test
Integration test moved to integration/ sub-module with its own go.mod
to cleanly isolate go-mlx dependency from the main module.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 00:44:35 +00:00
Snider
8f6130f6d7
test: add integration test for ClassifyCorpus with real model
...
50-prompt throughput test behind //go:build integration tag.
Validates end-to-end pipeline with Gemma3-1B via go-mlx Metal backend.
Result: 80 prompts/sec, 100% correct domain classification.
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:08:53 +00:00
Snider
a5f3eb4777
feat: add classify types and token-to-domain mapper
...
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:03:25 +00:00
Snider
c05e3fc283
build: add go-inference dependency
...
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:01:36 +00:00
Claude
e8a87b0f50
feat: grammar-aware i18n module extracted from core
...
Standalone grammar-aware translation engine with:
- 3-tier verb/noun fallback (JSON locale → irregular maps → regular rules)
- 6 built-in i18n.* namespace handlers (label, progress, count, done, fail, numeric)
- Nested en.json with gram/prompt/time/lang sections (no flat command keys)
- CLDR plural rules for 10 languages
- Subject fluent API, number/time formatting, RTL detection
- 55 tests passing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 19:51:27 +00:00