From af7977713b699b981fb5db81012f2f3f7f519a47 Mon Sep 17 00:00:00 2001 From: Dominic Serrano Date: Tue, 8 Sep 2026 15:32:29 -0600 Subject: [PATCH] fix: correct draft-post content path to src/content/posts/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The workflow instructions were self-contradictory: step 2 correctly read frontmatter from src/content/posts/*.md, but steps 4 and the constraints told the agent to write the new file to content/posts/.md (missing src/). The live test (issue #6 -> PR #12) happened to write to the correct path anyway, since the agent inferred it from the files it read in step 2 rather than following the literal (wrong) instruction — but the ambiguity was worth fixing before it caused a real failure. Recompiled via `gh aw compile` and verified with `gh aw lint` (0 issues). --- .github/workflows/draft-post.lock.yml | 2 +- .github/workflows/draft-post.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/draft-post.lock.yml b/.github/workflows/draft-post.lock.yml index feee372..307d656 100644 --- a/.github/workflows/draft-post.lock.yml +++ b/.github/workflows/draft-post.lock.yml @@ -1,4 +1,4 @@ -# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"d6e771345b4f1901f4f8849556f527f51f7a07db82ce832b11a0ae36485f4cd9","body_hash":"b63e30fb072077bc5eff5c3cb801c26d2ba7629ca325ac29fae859cf955b53df","compiler_version":"v0.88.7","strict":true,"agent_id":"copilot","agent_model":"gpt-4.1","engine_versions":{"copilot":"1.0.80"}} +# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"d6e771345b4f1901f4f8849556f527f51f7a07db82ce832b11a0ae36485f4cd9","body_hash":"a7768175e70d3c720a9f7405811b72d135419a894e8dba2bed69520f64428b50","compiler_version":"v0.88.7","strict":true,"agent_id":"copilot","agent_model":"gpt-4.1","engine_versions":{"copilot":"1.0.80"}} # gh-aw-manifest: {"version":1,"secrets":["GH_AW_CI_TRIGGER_TOKEN","GH_AW_DEFAULT_OTLP_HEADERS","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache/restore","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/cache/save","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/checkout","sha":"3d3c42e5aac5ba805825da76410c181273ba90b1","version":"v7.0.1"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"820762786026740c76f36085b0efc47a31fe5020","version":"v7.0.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"github/gh-aw-actions/setup","sha":"5e508589e03a7757a7e05b26e834292f5445bfb6","version":"v0.88.7"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.28.14","digest":"sha256:f7df036c86575527b61f3f7df91c4412349a12b2a74988d929eafa2999230c98","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.28.14@sha256:f7df036c86575527b61f3f7df91c4412349a12b2a74988d929eafa2999230c98"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.28.14","digest":"sha256:6f95e2234dd9bd6333a8ff28ccea7ecf0204acd4a09108723844dbd2bf6268c5","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.28.14@sha256:6f95e2234dd9bd6333a8ff28ccea7ecf0204acd4a09108723844dbd2bf6268c5"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.28.14","digest":"sha256:2ce8df3abf3e9b76e9c0cf5863da41f1ab3f89b20ad14b988806ab89e7bf2cd5","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.28.14@sha256:2ce8df3abf3e9b76e9c0cf5863da41f1ab3f89b20ad14b988806ab89e7bf2cd5"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.4.18","digest":"sha256:85b940556a8faa4e1fdbef124bfd75f2c4ebd855a10b88a1c3b6f3e97f6f1a53","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.4.18@sha256:85b940556a8faa4e1fdbef124bfd75f2c4ebd855a10b88a1c3b6f3e97f6f1a53"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:0daa8971fa4732b647150cb6524a6b0804b68d5d24f6f58b5dd1af23bd63fb23","pinned_image":"ghcr.io/github/gh-aw-node@sha256:0daa8971fa4732b647150cb6524a6b0804b68d5d24f6f58b5dd1af23bd63fb23"},{"image":"ghcr.io/github/github-mcp-server:v1.11.0","digest":"sha256:fbec75de11c255213fa08d80fb166abe73d851fff631c51c0079872967720699","pinned_image":"ghcr.io/github/github-mcp-server:v1.11.0@sha256:fbec75de11c255213fa08d80fb166abe73d851fff631c51c0079872967720699"}],"mcp_servers":[{"name":"github","tools":["get_commit","get_file_contents","get_latest_release","get_me","get_pull_request","get_pull_request_comments","get_pull_request_diff","get_pull_request_files","get_pull_request_review_comments","get_pull_request_reviews","get_pull_request_status","get_release_by_tag","get_tag","issue_read","list_branches","list_commits","list_issue_types","list_issues","list_pull_requests","list_releases","list_starred_repositories","list_tags","pull_request_read","search_code","search_issues","search_pull_requests","search_repositories"]},{"name":"safeoutputs","tools":["add_comment","create_pull_request","missing_data","missing_tool","noop"]}]} # This file was automatically generated by gh-aw (v0.88.7). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md # diff --git a/.github/workflows/draft-post.md b/.github/workflows/draft-post.md index 8788dd5..c5933e6 100644 --- a/.github/workflows/draft-post.md +++ b/.github/workflows/draft-post.md @@ -71,7 +71,7 @@ referencing this issue already exists, and if so, do nothing. experiences that aren't implied by the notes. 4. Create a new branch named `post/` (using the slug from step 3) and - add the new file at `content/posts/.md`. + add the new file at `src/content/posts/.md`. 5. Open a pull request via the `create-pull-request` safe output: - Title: the post's title. @@ -91,7 +91,7 @@ referencing this issue already exists, and if so, do nothing. - Never modify, close, or comment on any issue other than the one that triggered this run. - Never touch any file outside of the single new file you create under - `content/posts/`. + `src/content/posts/`. - If you cannot determine enough information to produce a coherent post (e.g. the issue body is empty), still open a PR with your best attempt rather than doing nothing — a human reviewing a rough draft is better