feat: add GSD Memory cross-project knowledge system
Implements MCP server for semantic search across GSD projects: MCP Tools: - gsd_memory_search: Search across all registered projects - gsd_memory_decisions: Find decisions from SUMMARY/PROJECT.md - gsd_memory_patterns: Find patterns from SUMMARY.md - gsd_memory_pitfalls: Find pitfalls from RESEARCH.md - gsd_memory_stack: Find tech stack entries - gsd_memory_register: Register project with memory - gsd_memory_index: Trigger indexing/update - gsd_memory_status: Show system status Architecture: - QMD wrapper with grep fallback when QMD unavailable - YAML frontmatter extractors for GSD document types - Project registry at ~/.gsd/projects.json - Auto-install via bin/install.js for Claude Code Workflow integrations: - new-project: Registers project with memory - plan-phase: Indexes after planning - execute-phase: Indexes after execution - complete-milestone: Indexes milestone completion - Researcher agents query memory before Context7 Tests: 117 passing (66 unit + 51 integration) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
53
gsd-memory/tests/fixtures/sample-project.md
vendored
Normal file
53
gsd-memory/tests/fixtures/sample-project.md
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
# TaskFlow
|
||||
|
||||
## What This Is
|
||||
|
||||
A task management app for developers who want to track their work without leaving the terminal. CLI-first with optional web dashboard for visualization.
|
||||
|
||||
## Core Value
|
||||
|
||||
Fast task capture from anywhere — if adding a task takes more than 3 seconds, developers won't use it.
|
||||
|
||||
## Requirements
|
||||
|
||||
### Validated
|
||||
|
||||
- ✓ CLI task creation with `task add "description"` — v0.1
|
||||
- ✓ List tasks with filtering `task list --tag=bug` — v0.1
|
||||
|
||||
### Active
|
||||
|
||||
- [ ] Web dashboard showing task burndown
|
||||
- [ ] Real-time sync between CLI and dashboard
|
||||
- [ ] GitHub issue integration for bidirectional sync
|
||||
|
||||
### Out of Scope
|
||||
|
||||
- Mobile app — complexity for limited value, CLI works via SSH
|
||||
- Team features — solo developer focus, teams use Jira/Linear
|
||||
- Time tracking — feature creep, use dedicated tool
|
||||
|
||||
## Context
|
||||
|
||||
Built as a personal tool that grew. Users are developers who live in terminals. Primary use case is quick capture during coding sessions. Existing solutions (Todoist, Things) require context switching to GUI.
|
||||
|
||||
Current user base: ~50 developers using CLI, requesting dashboard for weekly reviews.
|
||||
|
||||
## Constraints
|
||||
|
||||
- **Tech stack**: TypeScript, Next.js, SQLite — matches existing CLI codebase
|
||||
- **Deployment**: Self-hosted or Vercel — users want data ownership
|
||||
- **Performance**: Task add must complete in <100ms — core value
|
||||
- **Compatibility**: Works offline, syncs when connected — developers travel
|
||||
|
||||
## Key Decisions
|
||||
|
||||
| Decision | Rationale | Outcome |
|
||||
|----------|-----------|---------|
|
||||
| SQLite over Postgres | Simpler self-hosting, no DB server | ✓ Good |
|
||||
| SSE over WebSockets | Unidirectional updates, simpler | — Pending |
|
||||
| jose for JWT | ESM-native, Edge-compatible | ✓ Good |
|
||||
| Prisma ORM | Type safety, migrations | ✓ Good |
|
||||
|
||||
---
|
||||
*Last updated: 2025-01-15 after Phase 1*
|
||||
Reference in New Issue
Block a user