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-knowledgescan (focused on
CONCERNS.md) to get the latest snapshot, or use the existing
docs/reference/codebase/CONCERNS.mdas-is?
Choices:
- Run a fresh focused scan (Recommended)
- 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.
- Match found → proceed to 3b (Update).
- No match → proceed to 3c (Create).
3b — Update Existing Issue
- Synthesize a current, descriptive title from the row data (if notably
different from the existing title, update it; otherwise leave it).
- Rebuild the issue body from the concern template (see Issue Body Format
below) using the latest scan data.
- Edit the issue body:
```bash
gh issue edit "${ISSUE_NUMBER}" \
--repo CERTCC/Vultron \
--body "$(cat body.md)"
```
- 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:
- If the question reveals a Concern (a technical risk or gap) →
create a type:Concern issue using the same flow as Phase 3c.
- If the question reveals a Task (a decision or action item) →
invoke create-issue with type Task and reason planned, with the user
present.
- If the question is resolved by the user's answer (no issue needed) →
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
- Do not write to
specs/,notes/,AGENTS.md, or open a PR. - Do not delete entries from
CONCERNS.md— it is a generated file. - Do not assign a
size:label to a Concern. - Create issues only through
create-issue; every one gets a theme and a
same-theme parent Epic (PAD-01-007, PAD-02-017). Do not link the issues to
each other.
- Always check for existing open Concern issues before creating a new one.
- Ask questions per
.agents/skills/shared/asking-the-user.md:ask_userfor
discrete choices, plain text for open-ended ones.
Checklist
- [ ] User chose scan freshness (fresh focused scan or use existing)
- [ ] All open Concern issues loaded for situation awareness
- [ ] CONCERNS.md parsed into per-row items
- [ ] Each item deduplicated against open issues (by title similarity)
- [ ] Matched items: body updated + refresh comment added
- [ ] New items: Concern issue created through
create-issue(theme,
Theme: line, same-theme parent Epic)
- [ ]
[ASK USER]questions surfaced viaask_user; issues created or
decisions noted
- [ ] Summary table printed