Process concerns

From CERTCC/Vultron · View interactive version

Process concerns is an AI agent skill from the GitHub repository CERTCC/Vultron. Batch-process docs/reference/codebase/CONCERNS.md into GitHub Concern-type issues. Optionally runs a focused acquire-codebase-knowledge scan first. Deduplicates against existing open Concern issues — updating the body and appending a refresh comment on matches, creating new issues otherwise. Handles

How to use this skill

Skill file

Skill: Process Concerns

Convert docs/reference/codebase/CONCERNS.md into GitHub type:Concern

issues. One issue per table row. Deduplicates against open Concern issues

before creating anything.

A row whose correct fix is already known, with no decision left open, is a

Bug or Task by shared/issue-creation-requirements.md § "Determining the

right values", not a Concern. File such a row through create-issue as that

type instead.

Constants

REPO = CERTCC/Vultron

Workflow

Phase 0 — Decide on Scan Freshness

Ask the user (via ask_user):

Should I run a fresh acquire-codebase-knowledge scan (focused on

CONCERNS.md) to get the latest snapshot, or use the existing

docs/reference/codebase/CONCERNS.md as-is?

Choices:

  1. Run a fresh focused scan (Recommended)
  2. Use the existing CONCERNS.md

If the user chooses a fresh scan, invoke acquire-codebase-knowledge with

focus area CONCERNS.md only (do not regenerate the other six documents).

After the scan completes, proceed with the newly generated file.

Phase 1 — Load Situation Awareness

List all open Concern-type issues in the repository and display a summary

table so the agent has full context before creating or updating anything:

gh issue list \
  --repo CERTCC/Vultron \
  --state open \
  --limit 1000 \
  --json number,title,issueType,labels \
  --jq '.[] | select(.issueType.name == "Concern") | "#\(.number): \(.title)"'

Store the resulting list (numbers + titles) for deduplication in Phase 3.

Phase 2 — Parse CONCERNS.md

Read docs/reference/codebase/CONCERNS.md. Extract all rows from the

following sections as individual concern items:

| Section | Row key column |

|---|---|

| Top Risks | Concern |

| Technical Debt | Debt item |

| Security Concerns | Risk |

| Performance and Scaling Concerns | Concern |

| Fragile/High-Churn Areas | Area |

| [ASK USER] Questions | (handled separately — see Phase 4) |

For each row, collect all available columns (Severity, Evidence, Impact,

Suggested action, etc.) to populate the issue body.

Phase 3 — Create or Update Issues (all sections except `[ASK USER]`)

For each concern item from Phase 2 (excluding the [ASK USER] section):

3a — Deduplication Check

Compare the concern's key text against the titles of existing open Concern

issues (loaded in Phase 1). Use semantic similarity — titles do not have to

be identical, but the subject matter must clearly match.

3b — Update Existing Issue
  1. Synthesize a current, descriptive title from the row data (if notably

different from the existing title, update it; otherwise leave it).

  1. Rebuild the issue body from the concern template (see Issue Body Format

below) using the latest scan data.

  1. Edit the issue body:

```bash

gh issue edit "${ISSUE_NUMBER}" \

--repo CERTCC/Vultron \

--body "$(cat body.md)"

```

  1. Append a refresh comment:

```bash

gh issue comment "${ISSUE_NUMBER}" \

--repo CERTCC/Vultron \

--body "♻️ Refreshed from codebase scan — $(date +%Y-%m-%d)."

```

3c — Create New Issue

Synthesize a short, descriptive title from the row data, draft a body

following the Issue Body Format below, and invoke create-issue with

type Concern, reason planned, and those fields. It adds the concern

label, picks the Concern's theme, writes the Theme: line, routes it to a

same-theme Epic, and adds it to Project #24 with no Schedule of its own.

Phase 4 — Handle `[ASK USER]` Questions

For each question in the [ASK USER] Questions section of CONCERNS.md,

surface it to the user via ask_user (one question at a time). Based on the

user's response:

create a type:Concern issue using the same flow as Phase 3c.

invoke create-issue with type Task and reason planned, with the user

present.

skip issue creation and note the decision in the conversation.

Phase 5 — Summary

After processing all rows and [ASK USER] items, print a summary table:

| # | Title | Action |
|---|-------|--------|
| 42 | ... | created |
| 17 | ... | updated |
| —  | "Which HTTP entrypoint..." | closed (decision: X) |

Issue Body Format

All Concern issues use the structure from .github/ISSUE_TEMPLATE/concern.md:

## Summary

<one or two sentences synthesized from the row's key column and impact text>

## Category

- [x] <checked item matching the CONCERNS.md section>
- [ ] Top risk
- [ ] Technical debt
- [ ] Security
- [ ] Performance / scaling
- [ ] Fragile / high-churn area
- [ ] Other

## Severity

<high / medium / low — from the row's Severity column, or "medium" if absent>

## Evidence

<file paths from the Evidence column, one per bullet>

- `path/to/file.py`

## Impact if Ignored

<from the Impact / "Risk if ignored" column>

## Suggested Action

<from the "Suggested action" / "Suggested fix" / "Suggested improvement"
column>

Map CONCERNS.md section names to Category checkboxes:

| CONCERNS.md section | Category checkbox |

|---|---|

| Top Risks | Top risk |

| Technical Debt | Technical debt |

| Security Concerns | Security |

| Performance and Scaling Concerns | Performance / scaling |

| Fragile/High-Churn Areas | Fragile / high-churn area |


Constraints

same-theme parent Epic (PAD-01-007, PAD-02-017). Do not link the issues to

each other.

discrete choices, plain text for open-ended ones.

Checklist

Theme: line, same-theme parent Epic)

decisions noted

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.