Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
74922d2
Merge pull request #55 from zero8dotdev/dev
ashu17706 Mar 14, 2026
281bf9e
release: v0.8.0 — daemon cross-agent capture + ingest correctness
ashu17706 Jun 11, 2026
0229ccc
fix(ci): scope test runs to smriti suite; declare fast-glob at root
ashu17706 Jun 11, 2026
9c07d02
fix(test): tolerate EBUSY on Windows cursor-test cleanup
ashu17706 Jun 11, 2026
c38684b
fix(test): skip watchRecursive suite on win32
ashu17706 Jun 11, 2026
defed6a
fix(test): skip self-SIGTERM stopDaemon test on win32
ashu17706 Jun 11, 2026
0c238f4
fix(test): skip real-socket startDaemon test on win32
ashu17706 Jun 11, 2026
f83c7ca
fix(daemon): reduce memory footprint, fix LLM crash, fix DB lock cont…
ashu17706 Jul 25, 2026
971c4ef
feat(learn): add continuous knowledge consolidation layer
claude Jul 25, 2026
933d53b
feat(learn): add RDF-inspired entities + relationships graph layer
claude Jul 26, 2026
0109d35
fix(learn): prevent bidirectional directional-predicate edges
claude Jul 26, 2026
41ee642
fix(learn): parse RELATION lines without requiring literal brackets
ashu17706 Jul 26, 2026
2bf96e4
feat(learn): classify unit relationships via native Ollama tool calls
ashu17706 Aug 2, 2026
204fea5
test(eval): add A/B accuracy eval for relationship classification
ashu17706 Aug 2, 2026
5b23fbb
feat(memory): add forget, consolidation pruning, and a recall-quality…
ashu17706 Aug 2, 2026
9911a32
fix(test): update learn-entities relationship mocks for tool-call format
ashu17706 Aug 2, 2026
16e550f
Merge origin/dev into claude/refine-local-plan-ff68rg
ashu17706 Aug 2, 2026
a617247
fix(memory): guard density-blending against a bare QMD store
ashu17706 Aug 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Run tests
# Fast PR validation on Linux only.
run: bun test test/
run: bun run test

test-merge:
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev')
Expand All @@ -61,7 +61,7 @@ jobs:

- name: Run tests
# Full cross-platform test matrix for merge branches.
run: bun test test/
run: bun run test

dev-draft-release:
name: Push(dev) / Draft Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: bun install

- name: Run tests
run: bun test test/
run: bun run test

- name: Compute release metadata from conventional commits
id: meta
Expand Down
28 changes: 27 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,34 @@ smriti embed # Build vector embeddings
smriti categorize # Auto-categorize sessions
smriti share --project myapp # Export to .smriti/ for git
smriti sync # Import team knowledge

# Daemon (v0.8+) — cross-agent capture in the background
smriti daemon install # Install LaunchAgent/systemd unit; auto-start at login
smriti daemon status # PID, uptime, watched agents
smriti daemon stop # Graceful shutdown
smriti daemon logs # Tail the daemon log
smriti daemon uninstall # Reverse install
smriti daemon # Run in foreground (debugging)
```

### The Claude Stop hook with the daemon

When the daemon is installed, the Claude Stop hook becomes a 5ms socket
poke instead of a full ingest invocation. Recommended template:

```bash
#!/bin/bash
SOCK="$HOME/.cache/smriti/daemon.sock"
if [ -S "$SOCK" ]; then
: | nc -U "$SOCK" 2>/dev/null
else
/usr/bin/lockf -t 0 /tmp/smriti-ingest.lock smriti ingest claude 2>/dev/null
fi
exit 0
```

The `lockf` fallback keeps the system working when the daemon isn't running.

## Project Structure

```
Expand Down Expand Up @@ -249,7 +275,7 @@ See `docs/internal/ingest-architecture.md` for details.
| `COPILOT_STORAGE_DIR` | auto-detected per OS | VS Code workspaceStorage root override |
| `SMRITI_PROJECTS_ROOT` | `~/zero8.dev` | Projects root for ID derivation |
| `OLLAMA_HOST` | `http://127.0.0.1:11434` | Ollama endpoint |
| `QMD_MEMORY_MODEL` | `qwen3:8b-tuned` | Ollama model for synthesis |
| `QMD_MEMORY_MODEL` | `qwen3.5:9b-mlx-tuned` | Ollama model for synthesis (MLX engine)|
| `SMRITI_CLASSIFY_THRESHOLD` | `0.5` | LLM classification trigger threshold |
| `SMRITI_AUTHOR` | `$USER` | Git author for team sharing |
| `SMRITI_DAEMON_DEBOUNCE_MS` | `30000` | Daemon file-stability wait (v0.4.0) |
Expand Down
37 changes: 37 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading