Skip to content

feat(memory): implement DC-MEM-006 local issue system client#517

Merged
radoxtech merged 5 commits intomainfrom
feat/dc-mem-006-local-issue-system-client-#95
Apr 2, 2026
Merged

feat(memory): implement DC-MEM-006 local issue system client#517
radoxtech merged 5 commits intomainfrom
feat/dc-mem-006-local-issue-system-client-#95

Conversation

@radoxtech
Copy link
Copy Markdown
Owner

Summary

  • Implement IIssueClient backend-agnostic interface with full CRUD, list, search, and hierarchy operations for local issue management
  • Add SQLite migration 010 with issues table, FTS5 virtual table, and write-through sync triggers
  • Create IssueRepository implementing IIssueClient with parameterized queries, recursive CTE for descendant traversal, and FTS5 full-text search via bm25() scoring
  • Add Zod schemas for Issue, IssueStatus, IssuePriority, input types, and filters
  • 30 new tests covering all acceptance criteria

Fixes #95

Acceptance Criteria

  • IIssueClient abstraction is backend-agnostic and testable via mocks
  • SQLite adapter supports full CRUD + list + FTS5 search coverage
  • Epic parent-child relationships supported via foreign keys with parent_id
  • All operations are local-only (no network dependency)
  • No non-abstract direct SQL calls leak into other packages (@diricode/memory boundary enforced)
  • Issue schema matches spec: id, title, description, status, priority, labels (JSON), parent_id, created_at, updated_at
  • FTS5 virtual table covers title and description with write-through sync

Test Results

  • pnpm lint — 0 errors
  • pnpm typecheck — 0 errors
  • pnpm build — success
  • pnpm --filter @diricode/memory test — 143/143 passed

@radoxtech radoxtech merged commit 6f199dc into main Apr 2, 2026
1 check passed
@radoxtech radoxtech deleted the feat/dc-mem-006-local-issue-system-client-#95 branch April 3, 2026 20:04
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.

DC-MEM-006: Local Issue System Client [MVP-1]

1 participant