Document the Deno and Web Components platform direction - #32
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b00141b3d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 6. Verify npm artifacts from clean consumer projects, then remove obsolete npm, | ||
| Node.js, Svelte, SvelteKit, Vite, Prettier, ESLint, and adapter | ||
| configuration. | ||
| 7. Update `README.md`, `AGENTS.md`, `CONTRIBUTING.md`, examples, CI, and setup | ||
| instructions only when the corresponding migration step is true. |
There was a problem hiding this comment.
Update setup guidance alongside tooling removal
In this ordered migration, step 6 removes the npm/Node/Svelte tooling before step 7 updates CI, setup instructions, and the canonical guidance. The current repository still defines npm commands and requires the SvelteKit/Node/npm stack, so the step-6 state would neither provide the promised runnable and testable path nor permit the migrated implementation under the applicable rules. Move the corresponding CI, documentation, and migration-policy updates into the same step as each tooling change.
AGENTS.md reference: AGENTS.md:L174-L185
Useful? React with 👍 / 👎.
| This record proposes a replacement for the Svelte and SvelteKit decisions in | ||
| [0003: Web-platform-first frontend](0003-web-platform-first-frontend.md). It | ||
| does not claim that the replacement has already been implemented. The current |
There was a problem hiding this comment.
Define a record-level supersession path for 0003
Under the lifecycle in docs/design/README.md, a replacement moves the previous record to Legacy, but this proposal replaces only the Svelte and SvelteKit portions of 0003. That record also owns independent Web Platform, headless-UI, accessibility, and Zod decisions that 0009 neither supersedes nor restates, so marking 0003 Legacy would retire active decisions while leaving it Development would preserve contracts that directly contradict 0009. Make this a complete replacement that carries forward the unaffected decisions, or split the superseded decisions and specify the exact status transition before advancement.
Useful? React with 👍 / 👎.
Summary
Why
The package-oriented monorepo direction exposed that Svelte components are easiest to reuse from Svelte applications. The proposal moves public UI contracts toward browser standards so they can be consumed from plain HTML, TypeScript, and other frameworks.
It also records why Deno is preferred over the current SvelteKit, Node.js, and npm development stack: Web Platform alignment, default-deny permissions, workspaces, and integrated TypeScript, formatting, linting, testing, and task tooling.
Impact
This is a Draft design record. It does not change runtime behavior or claim that the Deno and Web Components migration is implemented. README.md, AGENTS.md, and CONTRIBUTING.md remain canonical until the proposal is approved and corresponding implementation work is verified.
The change is classified as:
AI involvement
AI involvement does not replace the experienced human maintainer review required for a Kernel-classified decision.
Verification
npm run lintgit diff --checkApplication tests were not run because this change is documentation-only.
Uncertainty and risks
npm cireported three low-severity findings in the current dependency graph; this documentation change does not alter those dependencies