Commit 58807d9
chore: reorganize root and fix session tests (#11)
* feat(conductor): GitButler virtual branch mode for workspace management
* fix(conductor): state filter + labels flatten for issue dispatch
* fix(linear): flatten labels in getIssues response
* feat(cross-search): multi-database frame search across projects (STA-480)
- Add CrossProjectSearch engine with FTS5/BM25 ranking across N databases
- Project registry (~/.stackmemory/projects.json) with CRUD + auto-discovery
- Read-only SQLite connections for safety, LIKE fallback for non-FTS databases
- 4 MCP tools: sm_cross_search, sm_cross_discover, sm_cross_register, sm_cross_list
- CLI: `stackmemory search --all-projects "query"` for cross-project search
- 17 tests: registry CRUD, multi-db FTS5 search, ranking, LIKE fallback, graceful skip
* feat(shared-state): add canonical instance coordination
* feat: add deterministic harness smoke tooling
* docs: add design principles architecture note
* chore: update gepa baselines and clean GitButler hooks
* fix(conductor): harden lane mode cleanup
* chore: reorganize root for clarity
Consolidate duplicate docs, relocate wandering files, and tighten
.gitignore for agent scratch dirs.
- Move SPEC.md, RELEASE_NOTES.md, tomorrow.md, vision.md to docs/
(replacing stale docs/ copies with the up-to-date root versions)
- Move mcp_review_config.json to config/
- Untrack .lint-fix-log.json (ephemeral lint artifact)
- Delete stale .tsbuildinfo-* and .lint-errors.log
- Ignore agent scratch dirs (.ralph/, .swarm/, .bjarne/, .entire/,
.opencode/, .git.backup/) and local trees (archive/, site/,
voyager/, plugins/)
- Update README.md Vision link to docs/vision.md
* fix(test): mock canonicalStateStore in session tests
Session tests mocked fs/promises but not the canonical-store module.
The canonicalStateStore singleton inherited the mocked fs, causing
pathExists to return true while readFile returned undefined — crashing
JSON.parse. Mock the entire canonical-store module with stubs for
upsertSession, appendEvent, and endSession.
---------
Co-authored-by: StackMemory Bot (CLI) <bot@stackmemory.ai>
Co-authored-by: GitButler <gitbutler@gitbutler.com>1 parent 94603e5 commit 58807d9
61 files changed
Lines changed: 7337 additions & 2274 deletions
File tree
- .husky
- config
- docs
- architecture
- scripts
- dspy
- gepa
- generations
- gen-000
- gen-001
- src
- cli
- commands
- __tests__
- utils
- core
- cross-search
- __tests__
- monitoring
- session
- __tests__
- daemon
- services
- features/sweep
- integrations
- github
- linear
- mcp
- __tests__
- handlers
- orchestrators/multimodal
- __tests__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
This file was deleted.
0 commit comments