diff --git a/Cargo.lock b/Cargo.lock index db6e0a5..3aec4e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -172,7 +172,7 @@ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" [[package]] name = "code-intel-cli" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "base64", @@ -191,7 +191,7 @@ dependencies = [ [[package]] name = "code-intel-core" -version = "0.1.2" +version = "0.1.3" dependencies = [ "blake3", "serde", @@ -200,7 +200,7 @@ dependencies = [ [[package]] name = "code-intel-index" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "blake3", @@ -219,7 +219,7 @@ dependencies = [ [[package]] name = "code-intel-retrieval" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "blake3", @@ -232,7 +232,7 @@ dependencies = [ [[package]] name = "code-intel-store" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "code-intel-core", diff --git a/Cargo.toml b/Cargo.toml index dd15443..1a97a23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/core", "crates/store", "crates/index", "crates/retrieval", "c resolver = "3" [workspace.package] -version = "0.1.2" +version = "0.1.3" edition = "2024" rust-version = "1.98" license = "MIT" diff --git a/ROADMAP.md b/ROADMAP.md index 42a76db..e81bb71 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -15,9 +15,9 @@ No dates. Order within each table is the intended order of work. Status: **In pr | Item | Status | Done when | | --- | --- | --- | -| `repogi doctor` | In progress | Read-only check of index, memory, freshness and agent setup, with fixes (in source; ships in 0.1.2) | -| `repogi init` | In progress | First index and Git ignore rules, never overwrites files (in source; ships in 0.1.2) | -| Agent setup | In progress | Project-scoped MCP config for Claude Code and Codex in source (`repogi agent add`); other clients later | +| `repogi doctor` | In progress | Read-only check of index, memory, freshness and agent setup, with fixes (released in 0.1.2) | +| `repogi init` | In progress | First index and Git ignore rules, never overwrites files (released in 0.1.2) | +| Agent setup | In progress | Project-scoped MCP config for Claude Code and Codex (`repogi agent add`, released in 0.1.2); other clients later | | Optional `repogi.yaml` | Exploring | Include/exclude and defaults; cannot widen access beyond the repo | | Opt-in `repogi watch` | Exploring | Foreground incremental re-indexing; explicit indexing stays default | diff --git a/dist/release.json b/dist/release.json index f64c80e..b699b6c 100644 --- a/dist/release.json +++ b/dist/release.json @@ -1,6 +1,6 @@ { "name": "Repogi", - "version": "0.1.2", + "version": "0.1.3", "repository": "https://github.com/thinkgrid-labs/repogi", "license": "MIT", "license_file": "LICENSE", diff --git a/docs/DEVELOPER_EXPERIENCE.md b/docs/DEVELOPER_EXPERIENCE.md index 066d4c7..f819dc1 100644 --- a/docs/DEVELOPER_EXPERIENCE.md +++ b/docs/DEVELOPER_EXPERIENCE.md @@ -40,7 +40,7 @@ next: ```text $ repogi doctor repogi doctor: /home/me/ledgerlite - [ok ] binary repogi 0.1.2 on linux-x86_64 + [ok ] binary repogi 0.1.3 on linux-x86_64 [ok ] repository /home/me/ledgerlite (nearest index) [ok ] index schema 5, revision 1 [ok ] coverage indexed javascript 15, jsx 1, tsx 1, typescript 1 diff --git a/docs/RELEASE_NOTES_0.1.3.md b/docs/RELEASE_NOTES_0.1.3.md index 2d0f169..1dd7913 100644 --- a/docs/RELEASE_NOTES_0.1.3.md +++ b/docs/RELEASE_NOTES_0.1.3.md @@ -44,7 +44,7 @@ Everything here is static: no indexed code runs, and a confirmed edge names a de ## Measured -Against TypeScript 6.0.3 on four pinned repositories (estimates for these repositories, not guarantees), compared with 0.1.2: no resolved edge of 0.1.2 was lost; call recall, measured independently of which declarations a version indexes, rose from 0.24 to 0.88 on Express, 0.02 to 0.90 on Koa, 0.09 to 0.37 on RealWorld and 0.41 to 0.64 on Chart.js; oracle disagreements fell from 1,000 to 240 on Express and from 497 to 2 on Koa, all classified as naming a real declaration one hop from TypeScript's answer. Five hand-labeled fixtures (491 resolved labels, 170 unconfirmed sites) have no wrong confirmed edge. Cold indexing uses 11–35% more CPU than 0.1.2 on these repositories (median of 5 interleaved runs; the Chart.js figure is within its run-to-run spread), with 3–14% more peak memory and an index 2–10% larger; query latency is unchanged: [performance](STATIC_ANALYSIS_ACCURACY.md#performance). +Against TypeScript 6.0.3 on four pinned repositories (estimates for these repositories, not guarantees), compared with 0.1.2: no resolved edge of 0.1.2 was lost; call recall, measured independently of which declarations a version indexes, rose from 0.24 to 0.88 on Express, 0.02 to 0.90 on Koa, 0.09 to 0.37 on RealWorld and 0.41 to 0.64 on Chart.js; oracle disagreements fell from 1,000 to 240 on Express and from 497 to 2 on Koa, all classified as naming a real declaration one hop from TypeScript's answer. Five hand-labeled fixtures (491 resolved labels, 170 unconfirmed sites) have no wrong confirmed edge. Cold indexing uses 11–35% more CPU than 0.1.2 on these repositories (median of 5 interleaved runs; the Chart.js figure is within its run-to-run spread), with 3–14% more peak memory and an index 2–10% larger; query latency is unchanged: [performance](STATIC_ANALYSIS_ACCURACY.md#performance). Code dense in CommonJS exports can cost more: a synthetic 200-package monorepo in which every file has 20 `exports.f = function` assignments took 116% more cold-index CPU (0.219 s → 0.473 s), from the new callable-value facts and export tables; workspace discovery added about 4% of that. No-op re-indexing is within 10% of 0.1.2. ## Evaluation @@ -56,6 +56,19 @@ Against TypeScript 6.0.3 on four pinned repositories (estimates for these reposi No live agent runs have been authorized, so these notes make no claim about task success, tokens, time or cost. The harness ships with two offline-validated task suites (`ledgerlite-v1`, and `nodekit-v1` for CommonJS code): [agent outcomes](AGENT_OUTCOMES.md). +## Security and repository isolation + +Unchanged from 0.1.2. Indexing reads files inside the repository root only and never runs indexed code. The only process it starts is `git`, with hooks and fsmonitor disabled. There are no network calls, and Repogi has no HTTP or TLS dependencies. The MCP server's tools are read-only. The new manifest handling follows the same rules: `package.json` and `pnpm-workspace.yaml` are read as size-capped regular files, never through symlinks or outside the root. Workspace patterns and member counts are bounded, and evidence never names a path outside the repository. + +## Platforms + +Prebuilt binaries, as for 0.1.2: + +- Linux x86_64 and ARM64 with glibc 2.34 or newer. +- macOS 11 or newer on Intel and Apple silicon. + +Windows is not supported yet. Asset names and verification: [release assets](RELEASES.md). + ## Known limits Receivers of unknown type (`ctx.throw()` on a middleware parameter), instances passed to other functions, `this` inside object-literal and prototype methods, objects extended through helpers (`mixin`, `delegate`), values built inside functions, packages in `node_modules`, nested workspaces and dynamic `import()` stay unconfirmed. Subclasses outside the repository, or of a workspace package Repogi does not follow, are not seen. Python, Rust and other languages are not indexed. Windows is not supported yet.