potiuk opened a new pull request, #412:
URL: https://github.com/apache/airflow-steward/pull/412

   ## Summary
   
   - New `tools/github-body-field/` Python tool that reads, parses, and 
rewrites a single `### Field` section of a GitHub issue body in a subprocess — 
the body never crosses into agent context.
   - Saves ~5K tokens per single-field PATCH (and removes reporter-supplied 
content from a path it didn't need to be on). Bulk-sync over 20 trackers ≈ 
300–500K tokens saved per run.
   - Migrates **one** call site in this PR (security-cve-allocate Step 4 item 1 
— set *CVE tool link*) to prove the pattern. Remaining call sites in 
`apply-and-push.md` / `signals-to-actions.md` will follow in separate PRs.
   
   CLI:
   
   ```
   body-field get  <N> --field "<name>"
   body-field set  <N> --field "<name>" --value "<v>"
   body-field list <N>
   ```
   
   Idempotent — a `set` whose value already matches the current is a no-op (no 
API write, no audit-log entry). Parser tracks fenced code blocks so a literal 
`### foo` inside a shell snippet never false-matches as a heading.
   
   ## Test plan
   
   - [x] 41 unit tests (parser edge cases + CLI orchestration) — green
   - [x] `ruff check` / `ruff format` / `mypy` — green
   - [x] `prek run --files <staged>` — green
   - [x] `skill-and-tool-validate` — green
   - [x] `lychee` on the new README — clean
   - [ ] CI lychee + tests-ok on this PR
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to