docs(skill): combine CCG search with source lookup - #115
Merged
Conversation
tae2089
commented
Aug 11, 2026
tae2089
left a comment
Owner
Author
There was a problem hiding this comment.
Self-review completed against the published patch; no actionable P0–P3 findings.
Reviewed contracts:
- the simple exact-file/string lookup exception remains intact
- hybrid lookup is required only when intent, relationships, or completeness can change the answer
- absence claims now require graph freshness plus both indexed and direct-source evidence
- provenance is preserved instead of treating a grep hit as relationship proof or a CCG hit as exact-current-source proof
- the formerly absolute empty-result guidance now delegates to annotation only when coverage or
nextprovides that evidence - the procedure remains host-neutral and checkable; no production code, test expectation, or generated artifact changed
Local validation passed: skill contract tests, git diff --check, and isolated SQLite migrate/build/docs/lint. CI was still pending at the time of this review.
Owner
Author
|
CI follow-up: both |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
rgfor exact repository text, then verify CCG candidates against current sourcenextactually says reasons are missingWhy
The skill previously treated grep/read and CCG as separate routing choices. That left agents without an operational rule for cases where indexed intent finds a candidate that direct text misses, direct text finds a candidate ranked off a CCG page, or either source alone appears empty.
Impact
Agents can combine high-recall direct lookup with annotation-aware search without treating either result source as proof it cannot provide. The completion contract now requires source corroboration for absence and completeness claims.
Verification
CGO_ENABLED=1 go test -tags fts5 ./internal/adapters/inbound/cli ./internal/app/search/wire -count=1git diff --checkccg migrate,ccg build .,ccg docs --out docs, andccg lint