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: 1 addition & 1 deletion .agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Before creating any release PR, verify ALL of the following are updated:

- [ ] `Cargo.toml` β€” version bump
- [ ] All target issues merged to `develop`
- [ ] `cargo test` β€” all 523+ tests pass
- [ ] `cargo test` β€” all 567+ tests pass
- [ ] `cargo clippy --all-targets -- -D warnings` β€” clean
- [ ] `cargo fmt --all -- --check` β€” clean
- [ ] `cargo build --release` β€” no errors
Expand Down
12 changes: 9 additions & 3 deletions AGENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ no managed API, no cloud service. Runs locally against diffs, scans, or branches
```bash
cargo build # Build (debug)
cargo build --release # Build (release)
cargo test # Run all 523 tests
cargo test # Run all 567 tests
cargo clippy --all-targets -- -D warnings # Lint (strict)
cargo fmt --all -- --check # Format check
```
Expand All @@ -35,6 +35,12 @@ src/
β”‚ β”œβ”€β”€ scan.rs # cora scan (full-file scan)
β”‚ β”œβ”€β”€ debt.rs # cora debt (tech debt report)
β”‚ β”œβ”€β”€ commit_cmd.rs # cora commit (review + commit message + commit)
β”œβ”€β”€ index/ # Symbol index (v0.6 β€” Code Intelligence)
β”‚ β”œβ”€β”€ mod.rs # Index engine (open, index_project, search)
β”‚ β”œβ”€β”€ schema.rs # SQLite schema + FTS5
β”‚ β”œβ”€β”€ symbols.rs # SymbolKind, SymbolQuery, SearchResult
β”‚ β”œβ”€β”€ extract.rs # Per-language definition + call extraction
β”‚ └── graph.rs # Call graph (callers, impact, affected)
β”‚ β”œβ”€β”€ config_cmd.rs # cora config (show/set/validate)
β”‚ β”œβ”€β”€ auth.rs # cora auth (API key management)
β”‚ β”œβ”€β”€ hook_cmd.rs # cora hook (pre-commit hook install/uninstall)
Expand Down Expand Up @@ -102,7 +108,7 @@ src/
## Testing

```bash
cargo test # 523 tests total
cargo test # 567 tests total
# 484 unit tests
# 16 CLI integration tests
# 6 config tests
Expand Down Expand Up @@ -234,7 +240,7 @@ Missing any = release blocker.
### 1. Code

- [ ] All target issues merged to `develop`
- [ ] `cargo test` β€” all 523+ tests pass
- [ ] `cargo test` β€” all 567+ tests pass
- [ ] `cargo clippy --all-targets -- -D warnings` β€” clean
- [ ] `cargo fmt --all -- --check` β€” clean
- [ ] `cargo build --release` β€” no errors
Expand Down
55 changes: 52 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
## [0.6.0] - 2026-06-14

### Added β€” Code Intelligence

- **`cora index`** β€” persistent SQLite symbol index with FTS5 (#264)
- Regex-based definition extraction for 13 languages
- Incremental reindex via SHA-256 file fingerprints
- `--stats`, `--prune`, `--rebuild`, `--watch` flags
- Database: `.cora/index.db`

- **`cora explore`** β€” search the symbol index (#265)
- FTS5 full-text search with bm25 ranking
- Filter by `--kind`, `--file`, `--language`
- JSON output mode

- **`cora callers` / `cora impact`** β€” call graph analysis (#266)
- Reverse call graph traversal (who calls this?)
- Forward impact analysis (what breaks if changed?)
- Depth-limited traversal

- **`cora affected`** β€” test file selection (#267)
- Find tests affected by source changes
- Call graph + naming convention strategies
- stdin support for `git diff --name-only | cora affected --stdin`

- **Language expansion** β€” 6 β†’ 13 languages (#268)
- Ruby, PHP, Swift, Scala, Lua, Zig

- **`cora index --watch`** β€” auto-sync file watcher (#269)
- Poll-based incremental reindex (2s interval)
- No extra dependencies

### Added β€” MCP Server (14 tools)

- **Phase 1: Code Intelligence** (#284) β€” 5 new MCP tools:
`cora.search_symbols`, `cora.find_callers`, `cora.find_impact`, `cora.find_affected_tests`, `cora.index_status`

- **Phase 2: Review Pipeline** (#285) β€” 2 new MCP tools:
`cora.review_diff`, `cora.get_debt`

- **Phase 3: Context Enrichment** (#286) β€” 2 new MCP tools:
`cora.get_project_info`, `cora.get_memory`

### Added β€” Cross-Product Bundle

- **Cora + Uteke bundle installer** (#235)
- `install-bundle.sh` β€” single command installs both tools
- Cross-referencing documentation across all docs

### Fixed

- **Cora + Uteke bundle installer** (`install-bundle.sh`) β€” single command installs both tools (#235)
- **Documentation** β€” Uteke memory integration docs across README, usage, getting-started, cli-reference
- **Uteke recall flag** β€” `--format json` β†’ `--json` (uteke v0.0.13+ API) (#259)
- **Uteke v0.1.0 empty results parser** β€” handle both bare `[]` and wrapped `{"results":[]}`

## [0.5.1] - 2026-06-13

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cora-cli"
version = "0.5.1"
version = "0.6.0"
edition = "2024"
description = "CLI-first AI code review β€” BYOK, diff/scan/branch, pre-commit hooks"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.s
curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install-bundle.sh | sh
```

> Pin a version: `CORA_VERSION=v0.5.1 curl -fsSL ... | sh`
> Pin a version: `CORA_VERSION=v0.6.0 curl -fsSL ... | sh`
> Or: `cargo install --git https://github.com/codecoradev/cora-cli`
> Pre-built binaries: [GitHub Releases](https://github.com/codecoradev/cora-cli/releases)

Expand Down
55 changes: 52 additions & 3 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
## [0.6.0] - 2026-06-14

### Added β€” Code Intelligence

- **`cora index`** β€” persistent SQLite symbol index with FTS5 (#264)
- Regex-based definition extraction for 13 languages
- Incremental reindex via SHA-256 file fingerprints
- `--stats`, `--prune`, `--rebuild`, `--watch` flags
- Database: `.cora/index.db`

- **`cora explore`** β€” search the symbol index (#265)
- FTS5 full-text search with bm25 ranking
- Filter by `--kind`, `--file`, `--language`
- JSON output mode

- **`cora callers` / `cora impact`** β€” call graph analysis (#266)
- Reverse call graph traversal (who calls this?)
- Forward impact analysis (what breaks if changed?)
- Depth-limited traversal

- **`cora affected`** β€” test file selection (#267)
- Find tests affected by source changes
- Call graph + naming convention strategies
- stdin support for `git diff --name-only | cora affected --stdin`

- **Language expansion** β€” 6 β†’ 13 languages (#268)
- Ruby, PHP, Swift, Scala, Lua, Zig

- **`cora index --watch`** β€” auto-sync file watcher (#269)
- Poll-based incremental reindex (2s interval)
- No extra dependencies

### Added β€” MCP Server (14 tools)

- **Phase 1: Code Intelligence** (#284) β€” 5 new MCP tools:
`cora.search_symbols`, `cora.find_callers`, `cora.find_impact`, `cora.find_affected_tests`, `cora.index_status`

- **Phase 2: Review Pipeline** (#285) β€” 2 new MCP tools:
`cora.review_diff`, `cora.get_debt`

- **Phase 3: Context Enrichment** (#286) β€” 2 new MCP tools:
`cora.get_project_info`, `cora.get_memory`

### Added β€” Cross-Product Bundle

- **Cora + Uteke bundle installer** (#235)
- `install-bundle.sh` β€” single command installs both tools
- Cross-referencing documentation across all docs

### Fixed

- **Cora + Uteke bundle installer** (`install-bundle.sh`) β€” single command installs both tools (#235)
- **Documentation** β€” Uteke memory integration docs across README, usage, getting-started, cli-reference
- **Uteke recall flag** β€” `--format json` β†’ `--json` (uteke v0.0.13+ API) (#259)
- **Uteke v0.1.0 empty results parser** β€” handle both bare `[]` and wrapped `{"results":[]}`

## [0.5.1] - 2026-06-13

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
Pin a specific version:

```bash
$ CORA_VERSION=v0.5.1 curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.sh | sh
$ CORA_VERSION=v0.6.0 curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.sh | sh
```

## Install via Cargo
Expand Down
21 changes: 12 additions & 9 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,28 @@ Demand-gated β€” we build what people actually need. Track progress on [GitHub I

The foundation layer for structural code understanding β€” persistent symbol index, semantic search, and deep Uteke integration.

- [#264](https://github.com/codecoradev/cora-cli/issues/264) `cora index` β€” Symbol index & SQLite persistence β€” β—Ž Planned
- [#265](https://github.com/codecoradev/cora-cli/issues/265) `cora explore` β€” Structural + semantic code search β€” β—Ž Planned
- [#235](https://github.com/codecoradev/cora-cli/issues/235) Cora + Uteke cross-product integration bundle β€” β—Ž Planned
- [#264](https://github.com/codecoradev/cora-cli/issues/264) `cora index` β€” Symbol index & SQLite persistence β€” βœ“ Done
- [#265](https://github.com/codecoradev/cora-cli/issues/265) `cora explore` β€” Structural + semantic code search β€” βœ“ Done
- [#235](https://github.com/codecoradev/cora-cli/issues/235) Cora + Uteke cross-product integration bundle β€” βœ“ Done
- [#284](https://github.com/codecoradev/cora-cli/issues/284) MCP Phase 1 β€” Code Intelligence tools (5 tools) β€” βœ“ Done
- [#285](https://github.com/codecoradev/cora-cli/issues/285) MCP Phase 2 β€” Review + Debt tools (2 tools) β€” βœ“ Done
- [#286](https://github.com/codecoradev/cora-cli/issues/286) MCP Phase 3 β€” Context enrichment tools (2 tools) β€” βœ“ Done

### Also in v0.6

- [#47](https://github.com/codecoradev/cora-cli/issues/47) GitHub Marketplace action β€” βœ“ Done
- [#196](https://github.com/codecoradev/cora-cli/issues/196) VitePress docs site β€” βœ“ Done
- [#161](https://github.com/codecoradev/cora-cli/issues/161) `cora gain` β€” local stats + viral sharing β€” β—Ž Planned
- [#160](https://github.com/codecoradev/cora-cli/issues/160) Landing page redesign β€” β—Ž Planned
- [#161](https://github.com/codecoradev/cora-cli/issues/161) `cora gain` β€” local stats + viral sharing β€” βœ“ Done
- [#160](https://github.com/codecoradev/cora-cli/issues/160) Landing page redesign β€” βœ“ Done

## v0.7 β€” Multi-Language & Code Graph

Query layer built on top of the v0.6 index β€” call graph traversal, test impact analysis, broader language support, and real-time sync.

- [#266](https://github.com/codecoradev/cora-cli/issues/266) `cora callers` / `cora impact` β€” Call graph query commands β€” β—Ž Planned
- [#267](https://github.com/codecoradev/cora-cli/issues/267) `cora affected` β€” Find tests affected by changes β€” β—Ž Planned
- [#268](https://github.com/codecoradev/cora-cli/issues/268) Language expansion β€” 6 β†’ 15+ language support β€” β—Ž Planned
- [#269](https://github.com/codecoradev/cora-cli/issues/269) Auto-sync file watcher daemon β€” β—Ž Planned
- [#266](https://github.com/codecoradev/cora-cli/issues/266) `cora callers` / `cora impact` β€” Call graph query commands β€” βœ“ Done
- [#267](https://github.com/codecoradev/cora-cli/issues/267) `cora affected` β€” Find tests affected by changes β€” βœ“ Done
- [#268](https://github.com/codecoradev/cora-cli/issues/268) Language expansion β€” 6 β†’ 15+ language support β€” βœ“ Done
- [#269](https://github.com/codecoradev/cora-cli/issues/269) Auto-sync file watcher daemon β€” βœ“ Done

## Future β€” What's Next

Expand Down
Loading