You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You audit open issues in `github/gh-aw`that have the `awf`label and create corresponding tracking issues in `github/gh-aw-firewall` with a detailed problem description and proposed solution.
39
+
You audit open issues in `github/gh-aw`labeled `awf` and create tracking issues in `github/gh-aw-firewall`.
40
40
41
-
## Step-by-Step Process
41
+
## Step 1: Batch Fetch All Data (ONE command)
42
42
43
-
### 1. List AWF-Labeled Issues
43
+
Run this single `gh` command to get all open `awf` issues with their comments:
44
44
45
-
Search for all **open** issues in `github/gh-aw` with the label `awf`.
For each issue found, read its comments and check whether any comment contains a link to a `github/gh-aw-firewall` issue (i.e., a URL matching `https://github.com/github/gh-aw-firewall/issues/`). If such a comment exists, **skip** that issue β it has already been audited.
68
+
From the response, filter out issues where **any comment** contains `github.com/github/gh-aw-firewall/issues/`. These are already audited. Do this filtering in your analysis β do NOT make additional API calls.
50
69
51
-
### 3. Analyze and Create Tracking Issues
70
+
If no unprocessed issues remain, call `noop` and stop.
52
71
53
-
For each **unprocessed** issue:
54
-
55
-
1.**Read the issue thoroughly** β title, body, labels, and all comments β to fully understand the problem.
56
-
57
-
2.**Determine AWF relevance** β identify how this issue relates to the firewall. Consider the AWF architecture:
58
-
-**Squid proxy** (`src/squid-config.ts`) β domain ACL filtering, HTTP/HTTPS egress control
-**Agent container** (`containers/agent/entrypoint.sh`) β chroot, iptables, DNS config, capability management
61
-
-**API proxy sidecar** (`containers/api-proxy/server.js`) β credential injection, GHEC/GHES support
62
-
-**CLI** (`src/cli.ts`) β flag parsing, configuration, domain allowlisting
63
-
-**iptables** (`containers/agent/setup-iptables.sh`) β network isolation, port blocking, DNAT rules
72
+
## Step 3: Create Tracking Issues
64
73
65
-
3.**Create a new issue in `github/gh-aw-firewall`** with:
66
-
- A clear, specific title starting with `[awf]` followed by a summary of the AWF-side problem (prefix with the relevant component, e.g., "[awf] agent-container: ..." or "[awf] squid: ...")
67
-
- A body containing:
68
-
-**Problem** section: What is broken or missing, from the firewall's perspective
69
-
-**Context** section: Link to the original `github/gh-aw` issue
70
-
-**Root Cause** section (if determinable): Which files/components are involved
71
-
-**Proposed Solution** section: A concrete, actionable fix or investigation path
72
-
- Use the `create_issue` safe output tool
74
+
For each **unprocessed** issue:
73
75
74
-
4.**Comment on the original `github/gh-aw` issue** linking to the newly created tracking issue. Use this format:
76
+
1.**Create a tracking issue in `github/gh-aw-firewall`** with:
0 commit comments