Skip to content

Milestone 2: SQLite registry and durable job state - #3

Merged
Sebastiangmz merged 5 commits into
mainfrom
feat/m2-sqlite-registry-state
Jun 28, 2026
Merged

Sebastiangmz merged 5 commits into
mainfrom
feat/m2-sqlite-registry-state

Conversation

@Sebastiangmz

Copy link
Copy Markdown
Owner

Summary

  • replace repository metadata persistence with a SQLite-backed RepositoryRegistry plus one-shot repositories.json migration
  • add durable index/update/delete job rows and repository file/chunk metadata
  • route API/MCP service state and UI repository state through the shared registry path
  • extend deterministic EvalFly smoke checks and CI to include M2 coverage

Verification

  • bun run /Users/sebastian/.omp/omp-pantheon/skills/specsafe/bin/specsafe.ts status -> OPEN before close; then SpecSafe end PASS
  • PYTHONPATH=src .venv/bin/python -m pytest tests/test_m0_baseline.py tests/test_m1_services.py tests/test_m2_registry.py tests/test_api_routes.py tests/test_mcp_handlers.py tests/test_mcp_tools.py tests/test_ui_handlers.py -> 67 passed, 2 warnings
  • .venv/bin/python -m ruff check src/coderag/services src/coderag/config.py src/coderag/api/routes.py src/coderag/mcp/handlers.py src/coderag/mcp/tools.py src/coderag/ui/repository_metadata.py src/coderag/ui/handlers.py tests/test_m1_services.py tests/test_m2_registry.py tests/test_api_routes.py tests/test_mcp_handlers.py tests/test_mcp_tools.py tests/test_ui_handlers.py scripts/evalfly_smoke.py -> OK
  • PYTHONPATH=src .venv/bin/python -m mypy src/coderag/services src/coderag/config.py src/coderag/ui/repository_metadata.py src/coderag/ui/handlers.py tests/test_m1_services.py tests/test_m2_registry.py tests/test_api_routes.py tests/test_ui_handlers.py scripts/evalfly_smoke.py -> OK
  • .venv/bin/python scripts/evalfly_smoke.py --suite smoke -> evalfly committed smoke passed: 13 cases
  • .venv/bin/python -m py_compile src/coderag/services/*.py src/coderag/api/routes.py src/coderag/mcp/handlers.py src/coderag/ui/repository_metadata.py src/coderag/ui/handlers.py tests/test_m1_services.py tests/test_m2_registry.py tests/test_api_routes.py tests/test_ui_handlers.py -> success
  • .venv/bin/python -m build -> Successfully built code_rag_me-0.1.2.tar.gz and code_rag_me-0.1.2-py3-none-any.whl

Scope guard

No hybrid retrieval, verified citation semantics, graph extraction, context pack APIs, or autonomous editing behavior added.

Spec-Slice: CRAG-20260627-M2-SQLITE-REGISTRY
Spec-Slice: CRAG-20260627-M2-SQLITE-REGISTRY
Spec-Slice: CRAG-20260627-M2-SQLITE-REGISTRY
Spec-Slice: CRAG-20260627-M2-SQLITE-REGISTRY
Spec-Slice: CRAG-20260627-M2-SQLITE-REGISTRY
Copilot AI review requested due to automatic review settings June 28, 2026 03:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Sebastiangmz
Sebastiangmz merged commit c8a4ff9 into main Jun 28, 2026
1 check passed
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.

2 participants