Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0" name: routed-auth-sqlite description: Maintain, extend, document, test, or troubleshoot the routed_auth_sqlite subsystem in the Routed Dart monorepo. Use when a task touches routed_auth_sqlite APIs, implementation, examples, tests, dependency boundaries, or integration with the Routed ecosystem.
routed_auth_sqlite
This skill is the complete working guide for the routed_auth_sqlite subsystem. The facts below are intentionally embedded here so the skill can be used without loading another document.
Subsystem contract
- Package:
routed_auth_sqlite - Directory:
packages/routed_auth_sqlite - Version in this checkout:
0.1.0 - Role: Durable Dart IO SQLite
AuthStoreadapter and typed migrations - Purpose: Durable SQLite AuthStore persistence for Routed applications running on Dart IO.
Public API
- Use the public package barrel and the exported API surface shown below.
Public imports
package:routed_auth_sqlite/routed_auth_sqlite.dart
Runtime package dependencies
routed_auth_cloudflarerouted_node
Composition rules
- Keep framework integration in this routed package and framework-agnostic behavior in its server_* dependency.
Known hazards
- Preserve public exports, dependency direction, and existing behavior.
Minimal usage
import 'package:routed_auth_sqlite/routed_auth_sqlite.dart';
Change workflow
- Preserve unrelated dirty work and keep changes scoped to
routed_auth_sqlite. - Keep the public import names and exported symbols above stable unless the
task explicitly changes the API. Never document a lib/src import.
- For provider or middleware changes, exercise registration, request-context
access, the success path, and the failure/reload path.
- For host or transport changes, test both the value/portable path and the
streaming/native path where this subsystem supports both.
- For generated output, make the input contract authoritative and verify the
generated artifact rather than hand-editing output.
- Update tests and user-facing package documentation when public behavior
changes; keep examples aligned with the usage contract above.
Focused test intent
Run the focused package tests and add a regression test for changed behavior.
Focused validation
dart format --output=none --set-exit-if-changed packages/routed_auth_sqlitedart analyze --fatal-infos packages/routed_auth_sqlitedart test packages/routed_auth_sqlite/test
Keep this skill's embedded facts synchronized when a public package version, public barrel, or dependency boundary changes.
Ecosystem boundary rules
- Applications use
routedfor the full provider catalogue or
routed_core plus explicit adapters for slim compositions.
- Routed adapters depend on
routed_coreand matchingserver_*runtimes;
they must not depend on the batteries-included routed facade.
- Host I/O belongs in
routed_io,routed_node, orserver_native, not in
feature adapters.
- Framework-agnostic
server_*implementations must not import Routed from
lib/.