You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update pipeline analysis workflow in SKILL.md to clarify artifact usage (#37)
- Clarify GitLab artifact workflow: only use artifacts when logs
indicate output redirection
- Split artifact commands into separate list and grep steps with clearer
descriptions
Copy file name to clipboardExpand all lines: skills/smith/SKILL.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,12 @@ Use `--help` on any command for flags.
68
68
6.**Report** only what the retrieved evidence supports and cite `URL`.
69
69
70
70
### Pipeline Analysis
71
-
1. Use `smith pipelines list <repo> <pipeline_id> --status failed` to focus on failed jobs.
72
-
2. Once you know the pipeline log ID, use `smith pipelines grep <repo> <pipeline_id> <log_id> --reverse` to analyze the logs.
73
-
3. For GitLab artifact-backed failures, use `smith <gitlab-remote-name> pipelines artifacts list <group/project> <pipeline_id> <job_id>` and then `... artifacts grep ... "<regex>"`.
71
+
1. Use `smith <remote> pipelines list <scope> <pipeline_id> --status failed` to focus on failed jobs.
72
+
2. Once you know the pipeline log ID, use `smith <remote> pipelines grep <scope> <pipeline_id> <log_id> --reverse` to analyze the logs.
73
+
3.**For GitLab** if pipeline logs indicate that output was redirected to a file then:
74
+
- Use `smith <remote> pipelines artifacts list <group/project> <pipeline_id> <job_id>` to enumerate archive paths.
75
+
- Use `smith <remote> pipelines artifacts grep <group/project> <pipeline_id> <job_id> "<regex>"` to search within the artifacts.
76
+
74
77
## Stop Conditions
75
78
76
79
Stop narrowing and answer when any of these is true:
0 commit comments