Skip to content

feat(refresh): normalize agent.yaml formatting with prettier after merge - #109

Merged
edenreich merged 1 commit into
mainfrom
feat/refresh-prettier-normalize
Jul 15, 2026
Merged

edenreich merged 1 commit into
mainfrom
feat/refresh-prettier-normalize

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

Run 29452788060 confirmed the yq additive merge collapses >- folded blocks in agent.yaml into long single lines. This adds a prettier pass (--parser yaml --prose-wrap always --print-width 80) after the restore step so refreshed manifests keep readable wrapped scalars.

yq followed by prettier is idempotent, so each agent gets one normalization PR and subsequent no-change runs skip cleanly. Literal block scalars (e.g. system prompts) are left as-is by prettier; only plain/quoted scalars re-wrap.

Verified locally against google-calendar-agent's live agent.yaml: output is semantically identical (yq sort_keys JSON diff clean) and a second prettier pass is a no-op.

Test plan

  • Dry-run refresh-agent-manifest.yml on one agent and confirm the diff shows wrapped folded blocks instead of long lines
  • Re-run after the normalization PR merges and confirm a clean skip

The yq additive merge collapses folded text blocks into long single
lines. Running prettier (prose-wrap always, print-width 80) after the
restore step re-wraps them. yq + prettier is idempotent, so after a
one-time normalization PR per agent, re-runs with no new defaults
produce a byte-identical file and skip cleanly.
@edenreich
edenreich merged commit e2ac8c0 into main Jul 15, 2026
@edenreich
edenreich deleted the feat/refresh-prettier-normalize branch July 15, 2026 21:54
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 21, 2026
## [0.23.0](v0.22.5...v0.23.0) (2026-07-21)

### ✨ Features

* **refresh:** normalize agent.yaml formatting with prettier after merge ([#109](#109)) ([e2ac8c0](e2ac8c0))

### 🐛 Bug Fixes

* **orchestrators:** install prettier for operator agent runs ([#111](#111)) ([d89d358](d89d358))
* **refresh:** revert semantic skip so agent.yaml formatting can normalize ([#108](#108)) ([90eee66](90eee66))
* **refresh:** skip formatting-only agent.yaml diffs from yq round-trip ([#107](#107)) ([6cf5205](6cf5205))
* **workflows:** sign commits on workflow_dispatch runs so they attribute to the maintainer app ([ead5ae9](ead5ae9))
* **workflows:** standardize commit message casing for agent.yaml refresh ([fa3c6c9](fa3c6c9))
* **workflows:** use full model id claude-fable-5 in claude.yml default ([#115](#115)) ([0c995c6](0c995c6))

### 👷 CI

* replace SDK drift audit with reusable deterministic schemas sync ([#116](#116)) ([9237988](9237988))

### 📚 Documentation

* add issue template fetching instructions ([de57dc5](de57dc5))

### 🔧 Miscellaneous

* **deps:** update Claude Code Action to version 1.0.178 ([3597abf](3597abf))
* **deps:** update Claude Code Action version to v1.0.177 ([bc2e720](bc2e720))
* **deps:** update default infer CLI version to v0.147.1 ([ec6fbdc](ec6fbdc))
* **deps:** update Infer CLI version and action version ([c5e9aac](c5e9aac))
* **deps:** update Infer CLI version and action version ([ad55296](ad55296))
* **deps:** update Infer CLI version and action version ([5df465d](5df465d))
* **deps:** update infer-action version to v0.33.1 ([afc002d](afc002d))
* **deps:** update infer-action version to v0.34.0 ([c7ceddf](c7ceddf))
* modify default values in claude.yml workflow ([bb16906](bb16906))
* **release:** update GitHub App credentials to use RELEASER_APP_ID and RELEASER_APP_PRIVATE_KEY ([5e63390](5e63390))
* update infer to v0.146.0 ([993b5f8](993b5f8))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.23.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant