Skip to content

feat: Add experimental sqlite-fts skeleton and subset HTTP Server (not C3) - #13

Open
guozhihao-224 wants to merge 2 commits into
mainfrom
feat/experimental-subset-http-server
Open

feat: Add experimental sqlite-fts skeleton and subset HTTP Server (not C3)#13
guozhihao-224 wants to merge 2 commits into
mainfrom
feat/experimental-subset-http-server

Conversation

@guozhihao-224

Copy link
Copy Markdown
Collaborator

Summary

  • Add a TypeScript-owned node:sqlite persistence skeleton (Analyzer v1 FTS, experimental schema stamp, remember/list/get/search) so language-switch pits can be probed on self-created databases.
  • Add a narrowed Fastify subset Server that composes that runtime and serves health, capabilities, and Memory over the pinned OpenAPI validators, using @powercontext/client in-process.
  • Keep claims honest: PACKAGE_PROFILE stays sqlite-fts as the intended M2 line, EXPERIMENTAL_SUBSET is true, capture stays 503, search score is a placeholder, and docs/user/README.md still says HTTP Server is not shipped.

This is not shared-database C3, not a Python replacement, and does not follow Python main.

Profile and parity

Checklist

  • Does not add a second wire contract
  • Does not hand-edit contract/ or conformance/ snapshots
  • Does not hand-edit packages/protocol/src/generated
  • Baseline bump, if any, is this pull request’s only purpose (no bump)
  • New or changed behavior names the compatibility decision or ADR

Test plan

  • pnpm format:write
  • pnpm lint
  • pnpm typecheck
  • pnpm build
  • pnpm test
  • pnpm generate:check
  • Server tests: CJK remember → close → listen same DB still searches; vector/hybrid 503; capture 503; unregistered work route 404; source_refs wire uses { name, source_id }

…ch pits.

Port Analyzer v1 and a node:sqlite runtime that can remember and FTS-search
self-created databases, while refusing unstamped Python-like files and
without claiming C3 or shared-database writes.
Expose loopback Fastify health, capabilities, and Memory routes through
protocol validators, without claiming C3 or faking capture/vector success.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQLite kernel and schema-version gate

1 participant