Skip to content

docs(openspec): plan #3915 Read index before web - #6218

Merged
dan-petty merged 2 commits into
mainfrom
feat/3915-ask-mode-reads-the-index-before
Nov 18, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3915-ask-mode-reads-the-index-before

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Refine, the alternatives check and the stage planner ask the same kinds of questions each round, and nothing reads a stored answer first. This change adds a research index of fetched page text under data.dir, keyed by the question, with the fetch URL, the fetch date, a SHA-256 hash and an expiry. The tools research_lookup and research_grep answer from the index first, make one search and one page fetch on a miss or a stale row, refuse a query that the search guard stops, and stop at the setting roadmap.research.max_calls_per_run. They join the toolsets of refine, the alternatives check and the stage planner, and a measure reports the hit rate and the cost per question of the candidate against the chain's web search.

Plans #3915

Change: openspec/changes/3915-ask-mode-reads-the-index-before/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 17, 2026
@dan-petty dan-petty closed this Nov 17, 2026
@dan-petty dan-petty reopened this Nov 17, 2026
@devops-cli-service devops-cli-service Bot added the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 17, 2026
@devops-cli-service

devops-cli-service Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

The plan check of this pull request passes again on the default branch. The drift row removes the label verdict/fix-plan only when it added the label and the last plan comment lists no open finding.

@dan-petty dan-petty changed the title docs(openspec): plan #3915 Read the research index before the web docs(openspec): plan #3915 Read index before web Nov 17, 2026
@dan-petty
dan-petty force-pushed the feat/3915-ask-mode-reads-the-index-before branch from b845a5d to 21883b1 Compare November 18, 2026 05:14
@dan-petty dan-petty removed the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 18, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 18, 2026 05:18
@dan-petty
dan-petty self-requested a review as a code owner November 18, 2026 05:18
@dan-petty
dan-petty merged commit e66451f into main Nov 18, 2026
23 checks passed
@dan-petty
dan-petty deleted the feat/3915-ask-mode-reads-the-index-before branch November 18, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant