Skip to content

Commit 58807d9

Browse files
jonathanpeterwuStackMemory Bot (CLI)gitbutler-client
authored
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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,22 @@ scripts/gepa/results/scores.jsonl
135135
scripts/gepa/state.json
136136
scripts/gepa/results/
137137
scripts/gepa/generations/
138+
139+
# Agent tool working dirs (untracked, per-tool scratch)
140+
.ralph/
141+
.swarm/
142+
.bjarne/
143+
.entire/
144+
.opencode/
145+
146+
# Local backups and lint artifacts
147+
.git.backup/
148+
.lint-errors.log
149+
.lint-fix-log.json
150+
.lint-fix-log.*.json
151+
152+
# Local scratch / generated trees
153+
archive/
154+
site/
155+
voyager/
156+
plugins/

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ elif [ -d "$HOME/.nvm/versions/node" ]; then
1010
fi
1111

1212
npx lint-staged
13+
bash scripts/determinism-pre-commit.sh
1314
npm run build

.lint-fix-log.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Options: `--until`, `--until-not`, `--until-empty`, `--until-non-empty`, `--unti
423423
- [Development Guide](./docs/DEVELOPMENT.md) — Contributing and development
424424
- [Architecture](./docs/architecture.md) — System design
425425
- [API Reference](./docs/API_REFERENCE.md) — API documentation
426-
- [Vision](./vision.md) — Product vision and principles
426+
- [Vision](./docs/vision.md) — Product vision and principles
427427
- [Status](./docs/status.md) — Current project status
428428
- [Roadmap](./docs/roadmap.md) — Future plans
429429

RELEASE_NOTES.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)