Skip to content

feat: Field Trial 4 — SQLite共有MCP・ApiKey認証・CORSのDX検証(スニペット管理API) #89

@hideyukiMORI

Description

@hideyukiMORI

目的

FT4 では未検証の 3 領域を同時に検証する:

  1. MCP + SQLite 状態共有 — FT3-F2 の修正が実際に機能することを実証
  2. ApiKeyAuthMiddleware — X-Api-Key ヘッダー認証の設定体験
  3. CORSCORSMiddleware の設定体験(FT3-F1 修正後の JSON 配列形式を確認)

対象プロジェクト

snippets — コードスニペット管理 CRUD API

  • エンティティ: Snippet(id, title, language, code)
  • リポジトリ: SqlAlchemySnippetRepository(SQLite ファイル)
  • API Key 認証 + CORS
  • HTTP API と MCP サーバーが同一 SQLite ファイルを共有

成果物

  • ../nene2-ft4-snippets/ に実装
  • 摩擦ポイントを docs/field-trials/2026-05-field-trial-4.md に記録

関連

FT1: #67 / FT2: #72 / FT3: #80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions