Skip to content

Restore fragments with inlined-imports: true#72

Merged
theletterf merged 1 commit intomainfrom
inlined-imports-with-fragments
Apr 9, 2026
Merged

Restore fragments with inlined-imports: true#72
theletterf merged 1 commit intomainfrom
inlined-imports-with-fragments

Conversation

@theletterf
Copy link
Copy Markdown
Member

Summary

Uses the gh-aw inlined-imports: true frontmatter flag (shipped in v0.67.3, see github/gh-aw#24973) to embed all imported content at compile time. This produces self-contained lock files with zero runtime-import directives, fixing the cross-repo workflow_call failure while keeping fragments for reuse across workflows.

What changed

  • Added inlined-imports: true to both workflow .md sources
  • Restored gh-aw-fragments/ with 5 shared fragments (formatting, rigor, mcp-pagination, messages-footer, safe-output-add-comment)
  • Moved shared content back into fragments, out of workflow prompts
  • Updated DEVELOPING.md to document the inlined-imports convention
  • Updated /create-agentic-workflow skill to use imports + inlined-imports

Verification

$ grep "runtime-import" .github/workflows/gh-aw-*.lock.yml
(no output — zero runtime imports)

Test plan

  • Verify make compile succeeds with 0 errors
  • Verify grep runtime-import .github/workflows/gh-aw-*.lock.yml returns empty
  • After release: test cross-repo invocation from docs-content

🤖 Generated with Claude Code

Use the gh-aw inlined-imports frontmatter flag (v0.67.3) to embed
all imported content at compile time. This produces self-contained
lock files with zero runtime-import directives, fixing the cross-repo
workflow_call failure while keeping fragments for reuse.

- Add inlined-imports: true to both workflow .md sources
- Restore gh-aw-fragments/ with formatting, rigor, mcp-pagination,
  messages-footer, and safe-output-add-comment
- Move shared content back into fragments, out of workflow prompts
- Update DEVELOPING.md to document inlined-imports convention
- Update create-agentic-workflow skill to use imports + inlined-imports

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

Label error. Requires exactly 1 of: automation, breaking, bug, changelog:skip, chore, ci, dependencies, documentation, enhancement, feature, fix. Found:

@theletterf theletterf merged commit 41ed06c into main Apr 9, 2026
3 of 4 checks passed
@theletterf theletterf deleted the inlined-imports-with-fragments branch April 9, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant