fix: correct draft-post content path to src/content/posts/ - #19
Merged
Conversation
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/<slug>.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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 to `content/posts/.md` (missing `src/`).
The live test (#6 -> PR #12) happened to write to the correct path anyway
— the agent inferred it from the files it read rather than following the
literal (wrong) instruction — but the ambiguity was worth fixing before it
caused a real failure. Recompiled and linted clean.
Note: I found this as an uncommitted local change already sitting in the
working tree before I started on #17 — I didn't make this edit myself this
session. Fixing it properly here since it's clearly correct and was at
risk of being lost.