Snider
0c19ccf7cc
fix(html): honour Metadata alias for text counts
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Text() count/pluralisation now reads from either Context.Data or Context.Metadata, matching the alias contract when callers populate only one field.\n\nCo-Authored-By: Virgil <virgil@lethean.io>
2026-04-15 00:29:05 +01:00
Snider
7679d2ded5
feat(html): support count context in Text
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 00:24:17 +01:00
Snider
61adbd55c5
fix(html): align left slot with navigation semantics
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-15 00:16:01 +01:00
Snider
09b48e00dc
chore(html): swap errors.Is for core.Is in codegen CLI, document WASM size guard-rails
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
- cmd/codegen/main.go: drop "errors" stdlib import, use core.Is per Core convention
(non-WASM path).
- layout.go, path.go, responsive.go: add header notes documenting why these files
use stdlib (errors/strings/strconv) instead of core — RFC §7 caps WASM at
3.5 MB raw / 1 MB gzip, and dappco.re/go/core transitively pulls fmt/os/log.
- README.md, docs/index.md: migrate stale forge.lthn.ai/core/go-html module path
to canonical dappco.re/go/core/html; refresh dependency diagram and Go version.
All spec features are already implemented; this is spec-parity maintenance.
Verified: go build ./..., go vet ./..., go test ./... all green (WASM size test
back to 2.12 MB raw / 630 KB gzip after short-lived core-import regression).
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 20:01:28 +01:00
Snider
286731e398
feat(html): Metadata alias on Context + Responsive.Add with media-query hint
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Brings the portable pieces of mini's feat/main-session-work onto dev:
- context.go: Context.Metadata field — alias for Data, references the same
underlying map. Both fields interchangeable at read/write sites.
- responsive.go: responsiveVariant gains an optional media field for CSS
media-query hints (e.g. "(min-width: 1024px)"); new Responsive.Add(name,
layout, media...) method. Existing Variant(name, layout) becomes a thin
alias over Add.
- go.mod: drop stale dappco.re/go/core/{inference,log} indirect requires
(refreshed by go mod tidy — forge.lthn.ai/core/{go-inference,go-log}).
Mini's local deps/go-i18n/reversal grammar-vector rewrite does not apply to
dev: dev consumes reversal as an external package (dappco.re/go/core/i18n/reversal)
rather than an internal fork. That portion of the branch is left on
feat/main-session-work for future re-integration.
Verified: GOWORK=off go build ./... + go test ./... passes.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 19:22:17 +01:00
Snider
4a924b0be4
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
Virgil
f543f02cc1
feat(html): add layout variant validation helper
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:19:30 +00:00
Virgil
8402485489
fix(html): use locale setter in render path
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:16:47 +00:00
Virgil
5784b76990
fix(wasm): harden renderToString arg handling
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Add type guards for variant and locale inputs at the WASM boundary and a js+wasm integration test suite for renderToString behavior.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:51:45 +00:00
Virgil
70a3096518
chore: improve CSS selector escaping for control chars
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
2026-04-03 07:37:07 +00:00
Virgil
8abd428227
fix(codegen): validate custom element tags
...
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 54s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 09:49:42 +00:00
Virgil
c088e5a5ac
feat(codegen): emit module boundary in TypeScript definitions
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 58s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:54:40 +00:00
Virgil
1d11472136
feat(html): add role accessibility helper
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:51:01 +00:00
Virgil
2e2af31c1d
feat(html): add locale setter for context translators
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m1s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:48:08 +00:00
Virgil
b9e2630da3
feat(html): allow swapping context translators
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 59s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:44:15 +00:00
Virgil
c2ff591ec9
feat(html): apply attrs through iterator wrappers
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 59s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:40:44 +00:00
Virgil
60d8225a83
feat(html): preserve layout paths in iterators
...
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 59s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:27:50 +00:00
Virgil
8e9ca0091c
feat(html): apply locale to context translators
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m1s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:25:09 +00:00
Virgil
cb901dbb71
feat(html): allow locale in context constructors
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 56s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:20:19 +00:00
Virgil
4a3a69e8b7
fix(html): preserve switch wrapper paths
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 59s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:07:35 +00:00
Virgil
14c16b5385
feat(codegen): add watch mode for bundle generation
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 58s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:04:21 +00:00
Virgil
1f98026d04
feat(html): add layout variant validation sentinel
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 55s
Expose VariantError() on Layout and ErrInvalidLayoutVariant for invalid variant strings while preserving current render behaviour.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 20:01:28 +00:00
Virgil
8386c7e57d
fix(html): preserve block paths through conditional wrappers
...
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 56s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:58:38 +00:00
Virgil
5d13a4028b
fix(html): validate block ID parsing
...
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 56s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:55:44 +00:00
Virgil
a928d01b9e
feat(codegen): add TypeScript CLI output
...
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 52s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:52:29 +00:00
Virgil
12a7d2497b
feat(codegen): add TypeScript definitions generator
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 56s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:48:15 +00:00
Virgil
c63f0a2cbe
feat(html): add responsive variant selector helper
...
Security Scan / security (push) Successful in 16s
Test / test (push) Successful in 1m4s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:44:30 +00:00
Virgil
c1852f86aa
feat(html): add focus management helpers
...
Security Scan / security (push) Successful in 15s
Test / test (push) Successful in 44s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:31:34 +00:00
Virgil
4ae93ce36f
feat(html): add accessibility attribute helpers
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 55s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:28:53 +00:00
Virgil
65c0dd3e27
fix(html): default nil render contexts
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 48s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:22:02 +00:00
Virgil
f9f0aa197b
fix(codegen): make bundle generation deterministic
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 50s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 05:34:47 +00:00
Virgil
714d7adc90
test(responsive): align nil variant output with semantic roles
...
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 47s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 01:18:03 +00:00
Virgil
911071d2b0
fix(core): harden layout and responsive nil chains
...
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 31s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 00:28:03 +00:00
Virgil
c6fd135239
fix(core): harden remaining nil-safe rendering paths
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 50s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 00:09:50 +00:00
Virgil
cae46f9c61
chore(codegen): remove panic exits from cli path
...
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 45s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-29 23:45:41 +00:00
Virgil
0318d73a12
fix(core): harden nil-safe rendering paths
...
Security Scan / security (push) Successful in 15s
Test / test (push) Successful in 43s
- guard nil receivers and nodes in core render flows
- make Render() safe for nil input
- add compile-time Node contract for Responsive
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-29 23:10:48 +00:00
8c7a9de546
Merge pull request '[agent/codex] Update specs/codegen/RFC.md from codegen/*.go. Document ever...' ( #13 ) from agent/ax-review--banned-imports--test-naming into dev
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 56s
2026-03-27 21:50:48 +00:00
Virgil
33d9e0c516
docs(specs): add codegen RFC
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 21:50:33 +00:00
adc9403883
Merge pull request '[agent/codex] A specs/ folder has been injected into this workspace with R...' ( #12 ) from agent/ax-review--banned-imports--test-naming into dev
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 44s
2026-03-27 19:56:49 +00:00
Virgil
f21562c555
docs: add generated package specs
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 19:56:29 +00:00
Claude
adcb98ee2f
chore: bump i18n v0.2.0 → v0.2.1
...
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 1m35s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 07:26:33 +00:00
44e3478be0
Merge pull request '[agent/codex] Full AX v0.8.0 compliance review. Read CODEX.md and .core/re...' ( #11 ) from agent/ax-review--banned-imports--test-naming into dev
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 50s
2026-03-27 04:56:29 +00:00
Virgil
11f18a24d2
fix(tests): complete ax naming compliance
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 04:55:58 +00:00
1c61fde5fc
Merge pull request '[agent/codex] VERIFICATION PASS — report findings only. grep ALL .go fil...' ( #10 ) from agent/ax-review--banned-imports--test-naming into dev
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 46s
2026-03-27 03:17:33 +00:00
Virgil
df5035c3c4
chore: verification pass
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 03:16:36 +00:00
df19b84051
Merge pull request '[agent/codex] AX v0.8.0 polish pass. Fix ALL violations — banned imports...' ( #9 ) from agent/ax-review--banned-imports--test-naming into dev
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m31s
2026-03-26 18:12:42 +00:00
Virgil
3616ad3a76
chore: polish ax v0.8.0 conventions
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 18:12:06 +00:00
2a5bd5cbba
Merge pull request '[agent/codex] Upgrade this package to dappco.re/go/core v0.8.0-alpha.1. Re...' ( #8 ) from agent/ax-review--banned-imports--test-naming into dev
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m31s
2026-03-26 15:24:50 +00:00
Virgil
b8d06460d6
refactor(core): upgrade to v0.8.0-alpha.1
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 15:24:16 +00:00
Virgil
0e976b3a87
fix(wasm): keep server i18n out of js builds
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 11:31:31 +00:00