Adopt TypeBox for web configuration #107

Merged
eleith merged 6 commits from feat/typebox-web-config into main 2026-10-05 21:18:24 +00:00
Owner

Summary

  • Replace web config's AJV/json2ts pipeline with TypeBox schemas, inferred types and runtime validation. Core retains AJV.
  • Use presence-based auth with an explicit secret and one provider; require both AI provider and API key.
  • Reject unresolved environment references with safe field diagnostics.
  • Preserve YAML schema headers and verify completion, hover and diagnostics with the real language server.
  • Update public-only auth guards, health module names, concise documentation and fnox password lookup.

Fixes #78.

Verification

  • Root pnpm lint, pnpm check and pnpm test passed for the implementation.
  • Config: 134 tests, 100% coverage.
  • LSP: 60 tests, including 16 editor-schema checks. Web: 402 tests.
  • Review slices verified independently; documentation examples and fnox TOML validated.

Six reviewed commits. Prefer a fast-forward merge to retain their hashes. Local plans, research artifacts, demo archive content and the local Compose override are excluded.

## Summary - Replace web config's AJV/json2ts pipeline with TypeBox schemas, inferred types and runtime validation. Core retains AJV. - Use presence-based auth with an explicit secret and one provider; require both AI provider and API key. - Reject unresolved environment references with safe field diagnostics. - Preserve YAML schema headers and verify completion, hover and diagnostics with the real language server. - Update public-only auth guards, health module names, concise documentation and fnox password lookup. Fixes #78. ## Verification - Root `pnpm lint`, `pnpm check` and `pnpm test` passed for the implementation. - Config: 134 tests, 100% coverage. - LSP: 60 tests, including 16 editor-schema checks. Web: 402 tests. - Review slices verified independently; documentation examples and fnox TOML validated. Six reviewed commits. Prefer a fast-forward merge to retain their hashes. Local plans, research artifacts, demo archive content and the local Compose override are excluded.
eleith added the enhancement label 2026-10-05 21:14:24 +00:00
eleith added 6 commits 2026-10-05 21:14:24 +00:00
Replace config's AJV/json2ts pipeline with authored TypeBox schemas, inferred types, and one generated editor schema. Migrate presence-based auth and explicit AI provider/key contracts with their callers. Core retains AJV.

Refs #78
Fixes #78
[web] resolve the demo password through fnox
ci/woodpecker/pr/lsp Pipeline was successful
ci/woodpecker/pr/web-config Pipeline was successful
ci/woodpecker/pr/web-db Pipeline was successful
ci/woodpecker/pr/web-pieces Pipeline was successful
ci/woodpecker/pr/web-theme Pipeline was successful
ci/woodpecker/pr/web-worker Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/push/lsp Pipeline was successful
ci/woodpecker/push/web-config Pipeline was successful
ci/woodpecker/push/web-db Pipeline was successful
ci/woodpecker/push/web-pieces Pipeline was successful
ci/woodpecker/push/web-theme Pipeline was successful
ci/woodpecker/push/web-worker Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
6f6f511ac0
eleith merged commit 6f6f511ac0 into main 2026-10-05 21:18:24 +00:00
eleith deleted branch feat/typebox-web-config 2026-10-05 21:18:24 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/luzzle#107