Add a repeatable --site filter to detector --brief #1238

Open
opened 2026-10-22 19:19:17 +00:00 by jared · 0 comments
Owner

Problem

detector NAME --target T --brief (commit 51221a4c) prints every signal's section. plugins/os-sdlc/skills/fast-batch/SKILL.md keeps a finding's sections with an awk filter over # Signal headings. The orchestrator must write and run awk for each finding.

Reproduce

n/a: design ticket; the awk filter is in plugins/os-sdlc/skills/fast-batch/SKILL.md line 43.

Approach

Add a repeatable --site PATH:LINE option to detector --brief. It prints only the sections whose site matches.

Required work:

  1. Add the --site option to the detector CLI — check: present --site in plugins/os-sdlc/bin/detector
  2. Replace the awk filter in the fast-batch skill — check: absent awk in plugins/os-sdlc/skills/fast-batch/SKILL.md

Acceptance criteria

  1. Given a detector run with --brief --site PATH:LINE, when one signal matches, then only that signal's section prints.
  2. Given two --site options, when both match, then both sections print.
  3. Given the fast-batch SKILL.md, when the orchestrator keeps a finding's sections, then it uses --site and the awk line is gone.

Origin

  • Trigger: detector --brief shipped in 51221a4c; fast-batch SKILL.md filters its output with awk.
  • Improvised this session: awk filter over # Signal headings.
  • Chain: awk in SKILL.md ← detector --brief has no site filter ← DESIGN (plugins/os-sdlc/bin/detector).
  • Root candidate: none found; searched detector, --brief, --site, awk, fast-batch, Signal
  • Where: plugins/os-sdlc/bin/detector
  • Session: 3ff277d2-0942-49d9-8ac0-4e778200b1e2
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/3ff277d2-0942-49d9-8ac0-4e778200b1e2.jsonl

VERDICT: CREATE

## Problem `detector NAME --target T --brief` (commit 51221a4c) prints every signal's section. `plugins/os-sdlc/skills/fast-batch/SKILL.md` keeps a finding's sections with an awk filter over `# Signal` headings. The orchestrator must write and run awk for each finding. ## Reproduce n/a: design ticket; the awk filter is in `plugins/os-sdlc/skills/fast-batch/SKILL.md` line 43. ## Approach Add a repeatable `--site PATH:LINE` option to `detector --brief`. It prints only the sections whose site matches. Required work: 1. Add the `--site` option to the detector CLI — check: present `--site` in `plugins/os-sdlc/bin/detector` 2. Replace the awk filter in the fast-batch skill — check: absent `awk` in `plugins/os-sdlc/skills/fast-batch/SKILL.md` ## Acceptance criteria 1. Given a detector run with `--brief --site PATH:LINE`, when one signal matches, then only that signal's section prints. 2. Given two `--site` options, when both match, then both sections print. 3. Given the fast-batch SKILL.md, when the orchestrator keeps a finding's sections, then it uses `--site` and the awk line is gone. ## Origin - Trigger: detector --brief shipped in 51221a4c; fast-batch SKILL.md filters its output with awk. - Improvised this session: awk filter over `# Signal` headings. - Chain: awk in SKILL.md ← detector --brief has no site filter ← DESIGN (plugins/os-sdlc/bin/detector). - Root candidate: none found; searched detector, --brief, --site, awk, fast-batch, Signal - Where: plugins/os-sdlc/bin/detector - Session: 3ff277d2-0942-49d9-8ac0-4e778200b1e2 - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/3ff277d2-0942-49d9-8ac0-4e778200b1e2.jsonl VERDICT: CREATE
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1238
No description provided.