Virgil
0e914911fa
fix(loader): accept grammar aliases
Security Scan / security (push) Has been cancelled
Test / test (push) Has been cancelled
2026-04-03 07:51:09 +00:00
Virgil
d3a12bfe74
fix(loader): validate signal priors
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:47:28 +00:00
Virgil
72b2e822d2
fix(i18n): broaden locale filename resolution
...
Security Scan / security (push) Successful in 13s
Test / test (push) Failing after 16m36s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 14:52:39 +00:00
Virgil
5020fbef42
refactor(i18n): clarify locale filename resolution
...
Security Scan / security (push) Waiting to run
Test / test (push) Successful in 2m7s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 14:43:16 +00:00
Virgil
fabb907ea1
fix(i18n): copy loader language slices
...
Security Scan / security (push) Successful in 19s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 11:09:46 +00:00
Virgil
8f2fdddff5
fix(i18n): tighten grammar object detection
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:48:13 +00:00
Virgil
1970bb04c4
refactor(loader): extract grammar section parsers
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:52:55 +00:00
Virgil
440f96fc16
refactor(i18n): align core primitives with ax conventions
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:37:58 +00:00
Virgil
69bf91b1b9
fix(loader): preserve zero-valued signal priors
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:20:32 +00:00
Virgil
dd42265f90
fix(loader): add base-language file fallback
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:00:58 +00:00
Virgil
94e6c2d5d7
fix(i18n): canonicalise locale scans
...
Security Scan / security (push) Successful in 12s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:35:46 +00:00
Virgil
eeffe92da0
fix(i18n): ignore deprecated grammar entries
...
Security Scan / security (push) Successful in 12s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 03:03:44 +00:00
Virgil
b2f7157cb9
fix(loader): preserve partial verb forms
...
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m37s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 01:58:06 +00:00
Virgil
1e3b86ffdf
feat(reversal): add negation disambiguation signal
...
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 1m30s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 00:53:16 +00:00
Virgil
7c502f3da0
fix(loader): skip incomplete verb tables
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m30s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 00:47:26 +00:00
Virgil
c0ebc16d97
feat(i18n): load corpus priors for disambiguation
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 58s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 07:24:57 +00:00
Virgil
efbea846b6
feat(i18n): respect verb base overrides
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 55s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 07:13:52 +00:00
Virgil
b6a1ed0cc0
feat(i18n): load locale number formats
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 50s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 04:47:31 +00: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
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
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
9ea76af2b1
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:16 +00:00
Snider
24e60104d1
feat: add grammar table spec and French locale
...
Document full JSON schema for gram.* keys in docs/grammar-table-spec.md.
Add French grammar tables (50 verbs, 24 gendered nouns, signals).
Extend loader to parse article by_gender map. Completes Phase 3.
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 17:57:22 +00:00
Snider
05d0483fd7
fix(grammar): review fixes for SignalData loading
...
Normalise signal words to lowercase on load (defensive against
mixed-case entries in locale JSON). Strengthen test assertions
with expected counts and spot-checks. Clarify Priors field comment.
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:54:59 +00:00
Snider
cb7404456f
feat(grammar): add SignalData for disambiguation signals
...
Load noun_determiner, verb_auxiliary, and verb_infinitive word lists
from gram.signal in locale JSON. Reserve Priors field for future
corpus-derived per-word disambiguation priors.
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:50:45 +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