Skip to content

feat(roadmap): refine investigates open questions with code and web tools and decides design questions by the best practice - #2410

Merged
dan-petty merged 2 commits into
mainfrom
feat/2398-refine-investigates-questions
Oct 28, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/2398-refine-investigates-questions

Conversation

@dan-petty

@dan-petty dan-petty commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Refine put 55 items under "Waiting on a person". About 30 waited on a fact that refine could look up, about 20 on a key question that the body answers already, and some on a design choice that the model gave as a block.

  • When a fact or a decision has no verified source, or a body key question has no answer, refine runs one pydantic-ai agent for the item. Its read-only tools search, list and read the code at the pinned commit, and search the web through Firecrawl's hosted API when the repository is public and a key is set. Each tool answers a failure as text. A request and tool-call budget caps the run, and the function tools go when the budget nearly runs out, so the model's next reply is the proposal. Each model request streams, so the gateway tunnel's 125 s cut does not apply. The revised proposal goes through the same validation. A run that stops with no proposal keeps the first one, and a proposal with nothing open makes no extra request. The run's usage goes to the spend ledger.
  • A question has the kind fact, decision or person. A decision lists the options it compared, each with its reason, and shows "(best practice)" when it has a verified source. Only a person question, which is a decision that AGENTS.md leaves to a person, and a fact with no verified source wait on a person. The prompts say that a design choice is never a suspected block.
  • The body's key questions are parsed as CommonMark with markdown-it-py and go to the model by number. A question that the body answers in place or inside its list item, and a list item with no question mark, open no question.
  • Firecrawl replaces Tavily: firecrawl_search calls /v2/search through the egress factory, and firecrawl.api_key, DEVOPS_CLI_FIRECRAWL_API_KEY, the keyring entry firecrawl_api_key and its row in Secret devops/devops-cli replace Tavily's, with no alias.
  • The plan says when web search is off, and why. The entry point sets PYDANTIC_AI_NO_BANNER.
  • The research-plan step and its prompt are deleted. The reply keys move to roadmap_refine_reply.md, which both steps send.

The design and the rejected alternatives are in openspec/changes/archive/2026-10-28-2398-refine-investigates-questions/design.md.

Closes #2398

@dan-petty
dan-petty force-pushed the feat/2398-refine-investigates-questions branch from 757615f to 314fb8d Compare October 28, 2026 15:25
@dan-petty
dan-petty force-pushed the feat/2398-refine-investigates-questions branch from 6e26acc to 9492f67 Compare October 28, 2026 16:18
@dan-petty
dan-petty marked this pull request as ready for review October 28, 2026 16:26
@dan-petty
dan-petty merged commit 890e228 into main Oct 28, 2026
17 of 19 checks passed
@dan-petty
dan-petty deleted the feat/2398-refine-investigates-questions branch October 28, 2026 16:26
dan-petty pushed a commit that referenced this pull request Oct 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.9.0](v0.8.3...v0.9.0)
(2026-10-28)


### Features

* **ai:** observe the Ollama slot wait by priority and chart its p95
([#2404](#2404))
([ffeeda4](ffeeda4))
* **github:** send GitHub request, throttle and GraphQL point metrics,
and show them on the devops-cli dashboard
([#2406](#2406))
([bded64b](bded64b))
* **k8s:** gpu row panels for clock-event reasons, power against the
enforced limit and pcie throughput
([#2409](#2409))
([21f023c](21f023c)),
closes [#821](#821)
* **review:** a review session records its head commit and clean tree,
and says whether it is on merged code
([#2434](#2434))
([8b4ed46](8b4ed46))
* **review:** an issue filed from a review finding carries its
fingerprint, and the review leaves out a finding that an issue already
carries ([#2428](#2428))
([acace03](acace03))
* **review:** the feedback export counts each review subject once and
keeps every human verdict
([#2417](#2417))
([73d1807](73d1807))
* **roadmap:** act as GitHub App devops-roadmap instead of a machine
account ([#2411](#2411))
([d739a47](d739a47)),
closes [#1647](#1647)
* **roadmap:** labels and milestones hold each item's status, priority,
value and effort, and no roadmap job reads or writes the project board
([#2435](#2435))
([84f02a1](84f02a1)),
closes [#2399](#2399)
* **roadmap:** refine investigates open questions with code and web
tools and decides design questions by the best practice
([#2410](#2410))
([890e228](890e228)),
closes [#2398](#2398)
* **telemetry:** count embedding cache lookups and send every metric
through a declared instrument
([#2416](#2416))
([19412fa](19412fa))


### Bug Fixes

* **git:** ignore missing files when measuring directory size during
reclaim ([#2438](#2438))
([4226904](4226904))
* **security:** scan all namespaces with Popeye when no namespace is
given ([#2436](#2436))
([4d5f789](4d5f789))
* **security:** scan_uv_audit runs a uv audit adapter that audits the
lockfile as it is
([#2446](#2446))
([0b2d005](0b2d005)),
closes [#2106](#2106)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
dan-petty added a commit that referenced this pull request Oct 28, 2026
…ey that needs a value (#2465)

`devops config set` checks the key before it asks for a value, reads
`--from-file` or loads the settings. A key that names no settings field
with a value and no credential exits 1 with `Unknown config key:
'<key>'`, the message of `devops config get`, and stores nothing. A
second line names the known keys with a similar name, from the standard
library's `difflib.get_close_matches`, for example `firecrawl.api_key,
ai.api_key, qdrant.api_key` for `firecrawl.apikey`. `devops config get`
prints the same lines for a key that it cannot find.

Before this change, an unknown key with no VALUE got the message of a
known key that is not a credential, `<key> needs a VALUE; only a
credential may be typed at a hidden prompt.`, and exit 2. With a VALUE
it got `Failed to set '<key>': Unknown configuration key '<key>'.`, and
with `--from-file` it got `<key> is not a credential` and exit 2. A
person who typed a credential name that the install does not know, such
as `tavily.api_key` after #2410, read it as "this key is not a
credential".

The known keys come from the fields of the `Settings` model, at any
depth, and the credential set `_SECRET_FIELDS`, which `config get`,
`config set` and `dotted_set` already read (`is_config_key` and
`similar_config_keys` in `src/devops_cli/config/settings.py`). The
change adds no registry, so it stays compatible with #2444. A section,
such as `ai`, holds no value, so `config set` reports it as an unknown
key. The two messages are in `src/devops_cli/lang/en/messages.py`, and
`docs/CONFIGURATION.md` describes the check.

Fail-to-pass check run:
https://github.com/dan-petty/devops-cli/actions/runs/40733472545/job/122975671355
(4 tests fail on the base tree and 1 test module does not import there).

Closes #2448

Change:
`openspec/changes/archive/2026-10-28-2448-config-set-unknown-key/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant