Repository navigation
Commit fb5b15d
feat: upload evidence files one artifact each and link them from the proof
The zip upload gave one link to an archive nobody can open in place, and
a per-file upload cannot share it without uploading the same bytes twice.
A new `upload-artifacts` operation publishes every file under
`artifact_path`, plus the result JSON, as its own non-archived artifact
through @actions/artifact, so a screenshot or recording link opens the
file in the browser. It emits `artifact_links` for finalize.
The proof comment now shows an `Artifacts` row pointing at the run's
artifact list with the file count, a download command right under the
overview table, and links in every evidence cell whose token names an
uploaded file by relative path or unique file name.
`gh run download` cannot fetch non-archived artifacts (cli/cli#13012),
so the installed maintenance script gains `artifacts RUN_ID [DIR]`,
which fetches each artifact through the API and keeps archived ones as
.zip files. The validation contract asks agents to cite evidence by
path relative to the artifact directory so the links resolve.
Co-Authored-By: Claude Fable 5.1 <[email protected]>1 parent 9b9fd88 commit fb5b15d
17 files changed
Lines changed: 2826 additions & 311 deletions
File tree
- dist
- docs
- src
- lifecycle
- templates
- .github
- octestra
- workflows
- skills/octestra-contracts
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | | - | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
103 | 110 | | |
104 | 111 | | |
105 | 112 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
181 | 197 | | |
182 | 198 | | |
183 | 199 | | |
| |||
0 commit comments