-
Notifications
You must be signed in to change notification settings - Fork 301
Open
Labels
Description
Objective
Document the steps: pre-fetch artifact-staging pattern as a named, reusable example in the prompt library / documentation.
Context
From discussion #21704 (Agent Persona Exploration - 2026-03-19), the evaluation noted that the artifact-staging pattern — downloading CI artifacts in a steps: block before the agent starts — is non-obvious but essential for coverage/artifact workflows (S7 QA scenario scored 4.8/5.0).
This pattern deserves a named example so workflow authors can discover and apply it easily.
Pattern Description
steps:
- name: Download coverage artifact
uses: actions/download-artifact@v4
with:
name: coverage-report
path: /tmp/coverageKey properties:
- Pre-fetch happens in the
steps:block, before the agent prompt runs - Artifact names should be configurable (not hardcoded)
- Artifact content is untrusted input — should be treated accordingly
Approach
- Find where named patterns/examples are stored (check
skills/,docs/,create-agentic-workflow.md) - Add a "Artifact Pre-Fetch Pattern" section with:
- A concrete example using
actions/download-artifact@v4 - Guidance on making artifact names configurable (avoid hardcoding
coverage-report) - Security note: treat downloaded artifact content as untrusted input
- A concrete example using
- Link this pattern from the trigger selection section (pair with
workflow_runtrigger)
Files to Modify
- The
create-agentic-workflow.mdprompt or equivalent pattern library - Relevant docs pages if a patterns/examples section exists
Acceptance Criteria
- Pattern is documented with a complete, working example
- Artifact name is shown as configurable (not hardcoded)
- Security note about untrusted artifact content is included
- Pattern is linked from or co-located with the
workflow_runtrigger guidance
Generated by Plan Command for issue #discussion #21704 · ◷
- expires on Mar 21, 2026, 1:48 AM UTC
Reactions are currently unavailable
Metadata
Metadata
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.