Skip to content

fix(scout,web,ui): support feature-only scanning, seen cache resets, and direct Repro bypass - #9

Closed
cute-johnny wants to merge 1 commit into
Silvertree2010:mainfrom
cute-johnny:fix/scout-feature-mode-and-seen-reset
Closed

cute-johnny wants to merge 1 commit into
Silvertree2010:mainfrom
cute-johnny:fix/scout-feature-mode-and-seen-reset

Conversation

@cute-johnny

@cute-johnny cute-johnny commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Feature-only Scout scanning (src/wk.rs): Queries repositories with on_=1 and (iss=1 or feat=1) and ci<>'' and filters to feat_match() issues when iss=0 && feat=1, so enabling build requested features works even when open issues is unchecked.
  • Auto-clear seen & Scout cooldown on config/history reset (src/web.rs):
    • In POST /api/repo set, clears seen and sc:{repo} whenever iss/feat is newly enabled (0 -> 1) or skl changes, preventing Scout from skipping previously cached feature requests.
    • In POST /api/danger history, also clears seen, sc:%, and cired:% and wakes Scout via a.sw.notify_one().
  • Direct → Repro bypass for Vet/Guard drops (src/web.rs, ui/o.js, ui/p.js):
    • Adds repro action to /api/act sharing the cleanup path with requeue while queuing straight to ready.
    • Adds a → Repro button in Recent rows and the Job drawer for Vet/Guard-dropped fix jobs.

Verification

  • Ran cargo +stable-x86_64-pc-windows-gnu test --locked --bin apollo-office --quiet (48 unit tests passed, including wk::t::feat_match_identifies_feature_tickets and web::t::repro_action_bypasses_vet_and_history_clears_seen).
  • Ran node --check ui/o.js and node --check ui/p.js (exit 0).

@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4d14ee04-975e-4db6-b795-5ddd8cb1ec1c
Commits

Reviewing files that changed from the base of the PR and between d8f5c87 and 0abdf32.

Files selected for processing: 4

  • src/web.rs
  • src/wk.rs
  • ui/o.js
  • ui/p.js
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Silvertree2010

Copy link
Copy Markdown
Owner

Thanks! The feature-only scanning part makes sense. A few changes are needed before this can go in:

→ Repro bypasses too much. Setting the job straight to ready skips all of Vet, not just the model's verdict:

  • Guard (the prompt-injection check). The button also shows on Guard drops, so one click sends text flagged as injection straight to an agent with tools.
  • The closed / assigned-to-someone-else / PR-already-exists checks, so it can open duplicate PRs.
  • cx and hint, so complex issues get the small model.

Please make it a Vet override instead: send the job back to vet with a flag (e.g. d.ov = true). Vet then still runs Guard, the twin/closed/assigned checks and sets cx/hint, and only ignores a model ok: false. Don't show the button on Guard drops.

Cache resets:

  • Clearing seen when iss/feat flip 0→1 is good. Clearing it on any skl change is too much; only removing a skip label can unblock old issues. Adding one only triggers a costly re-triage.
  • Please don't fold the seen / sc: / cired: wipe into "clear history". It makes Scout re-triage every issue in every repo. A separate "Reset scout cache" danger action would be better.

Minor: the label regex \brequest\b also matches labels like "pull request".

@cute-johnny

Copy link
Copy Markdown
Contributor Author

Closing this — I'm no longer pursuing it upstream. Thanks for your time.

@cute-johnny
cute-johnny deleted the fix/scout-feature-mode-and-seen-reset branch November 15, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants