Skip to content

feat(research): add research sweep that files intake candidates - #4055

Merged
dan-petty merged 3 commits into
mainfrom
feat/3899-research-sweep
Nov 7, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/3899-research-sweep

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The command devops research sweep hands each critical or high advisory that affects a pin to roadmap intake as one candidate. A marker in the body keeps a second sweep from filing it again. Intake keeps its duplicate flag. It prints a digest, sets the gauge devops_cli_research_open_findings by severity, and a new Alertmanager rule on the existing Mattermost route fires for critical findings. The exploited and end-of-life conditions move to #3987 and #3907, where their data is added.

Closes #3899

Change: openspec/changes/archive/2026-11-07-3899-research-sweep-files-intake/

@dan-petty dan-petty added type/feature Type feature: a new function scope/research The research agent: the pins of the project and the news about them labels Nov 7, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record for this pull request.

  • Full uv run devops ci on the final code: exit 0, all 25 steps pass. The test step took 21m 34s on a shared host. The slowest tests are the stage replay tests (issue fix(ci): the pytest step of devops ci exceeds the 5-minute budget #3593), not the new tests.
  • New tests: tests/research/test_sweep.py (15 tests) and the promtool unit tests tests/fixtures/prometheus_rules/research_tests.yaml (4 cases). They cover the first sweep, the second sweep, the non-actionable finding, the plan, the skipped candidate, the public body, the secret refusal, the gauge, the failed lookup and the dry run with zero requests.
  • Live check on this repository: devops research advisories returns 7 findings, 1 critical (certifi 2026.7.22). devops research sweep --dry-run lists 21 requests and sends none. No live --confirm run: it would spend a model call and file an issue.
  • Moved criteria: the exploited condition (CISA KEV) goes to feat(research): add GitHub advisories and KEV to advisories #3987 and the end-of-life condition goes to feat(research): watch upstream releases of the pins #3907, because their data is not on main.

@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 19:37
@dan-petty
dan-petty force-pushed the feat/3899-research-sweep branch from 192a910 to 0ef97d8 Compare November 7, 2026 20:49
@dan-petty
dan-petty force-pushed the feat/3899-research-sweep branch from 0ef97d8 to 35adae4 Compare November 7, 2026 20:54
@dan-petty
dan-petty merged commit 11ddee9 into main Nov 7, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/3899-research-sweep branch November 7, 2026 21:11
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.84.0](v0.83.2...v0.84.0)
(2026-11-07)


### Features

* **k8s:** alert when Crawl4AI fetches fail
([#4037](#4037))
([49f0f14](49f0f14))
* **k8s:** run SearXNG in the devops namespace
([#4033](#4033))
([9d223f4](9d223f4)),
closes [#3924](#3924)
* **research:** add GitHub advisories and KEV to research advisories
([#4032](#4032))
([61e6936](61e6936)),
closes [#3987](#3987)
* **research:** add research sweep that files intake candidates
([#4055](#4055))
([11ddee9](11ddee9))
* **roadmap:** add a test-first manifest kind to the stage plan
([#3981](#3981))
([8476163](8476163))
* **roadmap:** check a plan number against its constant
([#4073](#4073))
([324a3a5](324a3a5))
* **roadmap:** name every caller of a changed function
([#4047](#4047))
([24e9138](24e9138))
* **roadmap:** the stage probe routes prompt changes to prompt rule
tests ([#3989](#3989))
([4aebde2](4aebde2))


### Code Refactoring

* **cli:** source modules keep no accommodation for tests
([#4053](#4053))
([33b57a9](33b57a9))
* **roadmap:** remove the dead plan and review step classes
([#4074](#4074))
([526834f](526834f))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/research The research agent: the pins of the project and the news about them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(research): sweep command files intake issues

1 participant