Commit graph

102 commits

Author SHA1 Message Date
Virgil
4a3a69e8b7 fix(html): preserve switch wrapper paths
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
Some checks failed
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
Virgil
8a3f28aff3 fix(conventions): isolate banned imports and clarify tests
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 11:15:24 +00:00
b3f622988d Merge pull request '[agent/claude] Update go.mod require lines from forge.lthn.ai to dappco.re ...' (#3) from agent/update-go-mod-require-lines-from-forge-l into main
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 22s
2026-03-22 01:28:48 +00:00
Snider
c525437ed6 refactor(module): migrate module path from forge.lthn.ai to dappco.re
Some checks failed
Security Scan / security (pull_request) Successful in 9s
Test / test (pull_request) Failing after 20s
Update module path from forge.lthn.ai/core/go-html to dappco.re/go/core/html.
Migrate all .go import paths, update dependency versions (core v0.5.0,
log v0.1.0, io v0.2.0), and add replace directives for local development.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:28:30 +00:00
Snider
666e3a68c6 Merge remote-tracking branch 'github/dev'
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 1m40s
2026-03-22 00:57:15 +00:00
Snider
913bbb555a Merge remote-tracking branch 'origin/main' 2026-03-22 00:57:15 +00:00
Snider
63714ec9a1 chore: sync dependencies for v0.1.8
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:55:33 +00:00
Snider
d8525255e0 chore: sync dependencies for v0.1.7
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:50:17 +00:00
Snider
0607c5b517 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:43 +00:00
ba26232b27 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 11s
Test / test (push) Successful in 48s
2026-03-17 08:21:27 +00:00
Snider
e532c219b9 fix(dx): update CLAUDE.md size gate, sync Makefile limit, add coverage tests
All checks were successful
Security Scan / security (pull_request) Successful in 7s
Test / test (pull_request) Successful in 38s
- CLAUDE.md: correct WASM raw size gate from 3 MB to 3.5 MB (matches size_test.go)
- CLAUDE.md: document error handling (log.E) and file I/O (coreio.Local) conventions
- Makefile: sync WASM_RAW_LIMIT to 3670016 (3.5 MB) to match size_test.go
- Tests: add coverage for NewContextWithService, Attr through wrapper nodes,
  Unless(true), and Text.Render with i18n service — core package 95.8% → 99.4%

No fmt.Errorf or os.ReadFile/os.WriteFile violations found.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:21:15 +00:00
Snider
44b3f77806 chore: sync dependencies for v0.1.6
All checks were successful
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 1m43s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 22:20:53 +00:00
Snider
6e59bf8bf8 refactor(conventions): replace os.ReadFile with coreio.Local, fmt.Errorf with log.E
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 1m33s
Replace os.ReadFile in cmd/wasm/size_test.go with coreio.Local.Read().
Replace fmt.Errorf/errors.New with log.E() in codegen, cmd/wasm/register,
and cmd/codegen. Add forge.lthn.ai/core/go-io as a dependency.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 19:17:34 +00:00
Snider
2d16ce9d69 fix(conventions): alias stdlib io, add interface checks, use go-log
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 1m34s
- Alias stdlib `io` as `goio` in cmd/codegen/main.go to follow project conventions
- Add compile-time Node interface checks for all node types in node.go
  and Layout in layout.go
- Replace fmt.Fprintf stderr logging with go-log in cmd/codegen/main.go
- Replace fmt.Println with go-log in cmd/wasm/register.go

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 16:40:39 +00:00
Snider
176ef74dfd chore: sync go.mod dependencies
All checks were successful
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m58s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:36:04 +00:00
Snider
050f8d9967 chore: add .core/ and .idea/ to .gitignore
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 50s
2026-03-15 10:17:49 +00:00
Snider
253cc75cf6 docs: remove completed Phase 4 plan files
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 42s
CoreDeno sidecar fully implemented in core/ts.
Web Component codegen and WASM registration in go-html.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 08:25:06 +00:00
Snider
782edd0583 docs: mark Phase 4 CoreDeno/WebComponents plans as not yet implemented
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
CoreDeno sidecar, manifest loader, gRPC proto definitions, and
.core/view.yml discovery are not yet built. Codegen and WASM exist
but the Phase 4 vision is future work.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 08:22:16 +00:00
Snider
27c0d1fd09 docs: add CLAUDE.md project instructions
All checks were successful
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 38s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 13:38:01 +00:00
Snider
5bbacc54fe docs: add human-friendly documentation
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 42s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:40 +00:00