Conversation
- Updated AGENTS.md with new internal-docs handling instructions and added a Lessons Learned section capturing behavioral insights from evaluations. - Enhanced CHANGELOG.md to reflect changes in search output structure and added a Release Checklist. - Introduced CLI functionality for memory management, allowing users to list, add, and remove memories without AI agent involvement. - Refined README.md for clarity on search capabilities and preflight checks. - Improved search quality assessment and output formatting in capabilities documentation. This release focuses on improving documentation clarity, enhancing user experience with CLI tools, and refining search output efficiency.
This update modifies the pnpm-lock.yaml file to reflect the new version of ajv from 8.17.1 to 8.18.0, ensuring compatibility with dependencies that rely on this package.
Greptile SummaryThis release strips down search output to reduce token usage by ~50% and extracts CLI code from the protocol layer, adhering to the "Janitor > Visionary" principle from Major changes:
All changes align with project constraints (zero-infra, framework-agnostic, privacy-first) and the release checklist was followed (CHANGELOG, README, capabilities.md all updated). Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| src/cli.ts | New CLI for memory management (list/add/remove) - clean implementation with proper error handling |
| src/index.ts | Major refactor: CLI extraction, search output streamlined, preflight flattened, removed lastModified enrichment |
| src/preflight/evidence-lock.ts | Added search quality gate - blocks edits when retrieval confidence is low (prevents "confidently wrong" problem) |
| src/patterns/semantics.ts | Framework-agnostic refactor - complementary patterns now registered by analyzers at startup |
| src/analyzers/angular/index.ts | Self-registers patterns, fixes providedIn extraction bug, adds getSnippetPattern method |
| src/core/indexer.ts | Removed hardcoded Angular patterns, golden file scoring now framework-agnostic (counts unique categories) |
Flowchart
flowchart TD
A[search_codebase called] --> B{Check intent parameter}
B -->|explore or undefined| C[Perform search]
B -->|edit/refactor/migrate| C
C --> D[Load intelligence data]
D --> E[Assess search quality]
E --> F{Intelligence available?}
F -->|No| G[Return basic results]
F -->|Yes| H[Build evidence lock]
H --> I{Search quality status}
I -->|low_confidence| J[Force ready=false]
I -->|ok| K[Calculate evidence score]
K --> L{Evidence score >= 40?}
L -->|No| J
L -->|Yes| M{Epistemic stress?}
M -->|Yes conflicts/stale| J
M -->|No| N[Set ready=true]
J --> O[Add reason to preflight]
N --> P[Preflight ready without reason]
O --> Q[Flatten preflight to ready, reason]
P --> Q
Q --> R[Streamline result output]
R --> S[Return: searchQuality + preflight + results]
Last reviewed commit: 126b6b5
This commit introduces an override for the ajv package in both package.json and pnpm-lock.yaml, ensuring that any version below 8.18.0 is replaced with 8.18.0 or higher. This change aims to maintain compatibility with dependencies relying on ajv while streamlining version management.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bf73756a31
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… quality guidance - Modified preflight output structure to support both full preflight cards and flattened responses based on context. - Updated the logic in `buildEvidenceLock` to ensure low-confidence search quality status provides clear guidance for editing restrictions. - Added tests to validate behavior when search quality is low, ensuring readiness checks and next action messages are accurate.
…k.yaml This commit modifies the ajv version override in both package.json and pnpm-lock.yaml to specify a direct dependency on ajv version 8.18.0 for the @modelcontextprotocol/sdk package. This change ensures compatibility with the specified SDK while maintaining the integrity of the dependency tree.
Updated the type definition of preflightPayload in index.ts to improve readability and maintainability. The new structure explicitly outlines the possible types, ensuring better understanding of the variable's usage in the context of preflight handling.
…it command - Updated the internal-docs subproject to commit 0fe6c9e1cf11aad5b481a311cb7ecff3ce79943e-dirty. - Changed the security audit command in the GitHub Actions workflow to run `pnpm audit --prod` for improved dependency security checks.
This release focuses on improving documentation clarity, enhancing user experience with CLI tools, and refining search output efficiency.
What / Why
Added CLI tools. Stripped down search default output to reduce token usage by 50%. Cleared technical debt
Release notes