Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- "**/*.rs"
- "Cargo.toml"
- "Cargo.lock"
- "migrations/**/*.sql"
- "tests/**/*.sh"
- "install.sh"
pull_request:
Expand All @@ -15,6 +16,7 @@ on:
- "**/*.rs"
- "Cargo.toml"
- "Cargo.lock"
- "migrations/**/*.sql"
- "tests/**/*.sh"
- "install.sh"
workflow_dispatch:
Expand Down
5 changes: 4 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ user's current shell.
Prefer stable, well-maintained crates:

- CLI parsing: `clap`
- SQLite: `rusqlite`
- SQLite: `sqlx` with SQLite
- Serialization: `serde`, `serde_json`
- Error handling: `color_eyre` for binaries, `thiserror` for reusable library errors
- Filesystem walking: `ignore` or `walkdir`; prefer `ignore` because it respects common
Expand All @@ -53,6 +53,8 @@ For embeddings, prefer an implementation path that keeps the tool locally usable
## Suggested Architecture

Keep the code split between a thin binary and testable library modules.
The CLI and application pipeline are async end to end; use `tokio` for the binary runtime
and keep database access on SQLx async APIs.

Suggested modules:

Expand All @@ -69,6 +71,7 @@ Keep business logic out of `main.rs`.
## SQLite Guidance

SQLite should be the durable source of indexed data.
Schema changes belong in top-level SQLx migration files under `migrations/`.

Track at least:

Expand Down
Loading
Loading