|
| 1 | +--- |
| 2 | +name: awf-release-integrator |
| 3 | +description: Integrate the latest gh-aw-firewall release into gh-aw and surface follow-up spec work |
| 4 | +--- |
| 5 | + |
| 6 | +# AWF Release Integrator |
| 7 | + |
| 8 | +Use this skill when updating `github/gh-aw` to a newer `github/gh-aw-firewall` release. |
| 9 | + |
| 10 | +## Goal |
| 11 | + |
| 12 | +Land the version bump cleanly, rebuild the generated artifacts, and review upstream release/spec changes for any follow-up work that should accompany the bump. |
| 13 | + |
| 14 | +## Required sources |
| 15 | + |
| 16 | +Consult these sources before editing anything: |
| 17 | + |
| 18 | +1. The latest `github/gh-aw-firewall` release metadata and body. |
| 19 | +2. The current gh-aw version pins in `pkg/constants/version_constants.go`. |
| 20 | +3. The canonical AWF config sources spec in `specs/awf-config-sources-spec.md`. |
| 21 | +4. The embedded AWF schema in `pkg/workflow/schemas/awf-config.schema.json`. |
| 22 | +5. AWF config integration code in: |
| 23 | + - `pkg/workflow/awf_config.go` |
| 24 | + - `pkg/workflow/awf_helpers.go` |
| 25 | + - related AWF tests under `pkg/workflow/` |
| 26 | + |
| 27 | +For upstream spec review, compare these files from the target `github/gh-aw-firewall` release or tag: |
| 28 | + |
| 29 | +- `docs/awf-config-spec.md` |
| 30 | +- `docs/awf-config.schema.json` |
| 31 | +- `src/awf-config-schema.json` |
| 32 | +- any release assets such as `awf-config.schema.json` |
| 33 | + |
| 34 | +## Update procedure |
| 35 | + |
| 36 | +1. Read `pkg/constants/version_constants.go` and record: |
| 37 | + - `DefaultFirewallVersion` |
| 38 | + - every `AWF*MinVersion` constant |
| 39 | +2. Look up the latest `github/gh-aw-firewall` release. |
| 40 | +3. If the latest release tag matches `DefaultFirewallVersion`, report that no version bump is needed and only continue with spec/release-note review if explicitly requested. |
| 41 | +4. If a newer release exists, update the gh-aw pins: |
| 42 | + - bump `DefaultFirewallVersion` |
| 43 | + - update any `AWF*MinVersion` constants that must move because the new release introduces or changes gated flags/features |
| 44 | +5. Review release notes for: |
| 45 | + - new flags |
| 46 | + - removed or deprecated flags |
| 47 | + - schema/config additions |
| 48 | + - security fixes |
| 49 | + - behavioral changes that could require new tests, docs, or ADR/spec updates |
| 50 | +6. Review the upstream AWF specification and schema changes against: |
| 51 | + - `pkg/workflow/schemas/awf-config.schema.json` |
| 52 | + - `specs/awf-config-sources-spec.md` |
| 53 | + - local AWF config generation and validation code |
| 54 | +7. Update any directly related gh-aw files needed for a complete integration, such as: |
| 55 | + - embedded schema copies |
| 56 | + - version-gated helpers/tests |
| 57 | + - specs or ADRs documenting newly surfaced AWF behavior |
| 58 | +8. Add or update a patch changeset when the bump changes shipped behavior. |
| 59 | + |
| 60 | +## Required validation |
| 61 | + |
| 62 | +After editing, run the full AWF rebuild flow exactly in this order. The second |
| 63 | +`make recompile` is required to refresh image SHA pins resolved during the first pass. |
| 64 | + |
| 65 | +```bash |
| 66 | +make build |
| 67 | +make recompile |
| 68 | +make recompile |
| 69 | +``` |
| 70 | + |
| 71 | +Then run focused validation for any touched Go code or schema logic, especially AWF-related tests. |
| 72 | + |
| 73 | +## Expected output |
| 74 | + |
| 75 | +Summarize: |
| 76 | + |
| 77 | +- current gh-aw AWF version → target release |
| 78 | +- updated constants |
| 79 | +- release-note highlights |
| 80 | +- specification/schema differences reviewed |
| 81 | +- additional recommended follow-up updates that are not yet implemented |
| 82 | + |
| 83 | +## Review heuristics |
| 84 | + |
| 85 | +When deciding whether more than a version bump is needed, specifically check for: |
| 86 | + |
| 87 | +- new AWF schema properties not represented in gh-aw |
| 88 | +- new CLI flags that need `AWF*MinVersion` gates |
| 89 | +- config fields present in schema but absent from gh-aw generation/validation |
| 90 | +- drift that should update `specs/awf-config-sources-spec.md` |
| 91 | +- tests whose expected pinned AWF version or schema URLs need refresh |
0 commit comments