59 lines
1.9 KiB
Markdown
59 lines
1.9 KiB
Markdown
---
|
|
id: deb7a7c2-fcc4-4c14-8140-9c80348c2de2
|
|
type: configuration
|
|
title: "extract_issues.py: Triage Log Parser with Repo Validation"
|
|
tags: [claude-scheduled, parser, triage, python, extract-issues, configuration]
|
|
importance: 0.6
|
|
confidence: 0.8
|
|
created: "2026-03-02T20:04:51.429491+00:00"
|
|
updated: "2026-03-03T16:47:27.703931+00:00"
|
|
relations:
|
|
- target: b27fb831-811e-4103-b5f1-3c36d5b1ad20
|
|
type: RELATED_TO
|
|
direction: outgoing
|
|
strength: 0.94
|
|
edge_id: 249f6608-e534-4e1e-a702-74150fa4fb28
|
|
- target: 73646e80-a640-4316-b7c6-54a4330f1b28
|
|
type: RELATED_TO
|
|
direction: outgoing
|
|
strength: 0.79
|
|
edge_id: 4012b25e-e0f0-4844-8b4d-66b991125f57
|
|
- target: 1052e91d-58ed-4308-87e8-e01d1143a146
|
|
type: RELATED_TO
|
|
direction: outgoing
|
|
strength: 0.75
|
|
edge_id: 587784c2-6850-45fd-9f9f-d858c446a843
|
|
- target: c4b2f42d-b443-447f-8a05-bba099e06036
|
|
type: REQUIRES
|
|
direction: incoming
|
|
strength: 0.8
|
|
edge_id: 655b601c-af0f-4016-971d-6dcd637ab2cd
|
|
- target: acb14771-eee2-47e8-8ac3-6772d27fb528
|
|
type: RELATED_TO
|
|
direction: incoming
|
|
strength: 0.86
|
|
edge_id: 62e56ef2-47d7-42ea-ab25-4bf8a5efee55
|
|
- target: 66ae99cf-69d1-4dc2-b51f-7e35e14d3058
|
|
type: RELATED_TO
|
|
direction: incoming
|
|
strength: 0.81
|
|
edge_id: 1d27846c-4f67-47ea-a80c-38882df17f6a
|
|
---
|
|
|
|
# extract_issues.py: Triage Log Parser
|
|
|
|
## Location
|
|
`~/.config/claude-scheduled/extract_issues.py`
|
|
|
|
## Purpose
|
|
Parses backlog-triage JSON logs to find actionable issues for the issue-dispatcher.
|
|
|
|
## Logic
|
|
1. Extracts "Suggested Focus" section from triage output
|
|
2. Matches `repo#number` patterns via regex
|
|
3. Validates against known repos in `repos.json` to filter false positives
|
|
4. Filters out PRs (`type=pr`) — only returns issues, not PRs
|
|
|
|
## False Positive Fixes
|
|
Initially caught false positives like "close #18" or "Merge #29" as issue references. The `repos.json` validation step was added to prevent this.
|