Commit ae37409
docs(llms): surface deploy-failure auto-debug path + CI discoverability guard (#196)
Closes the agent-discoverability half of the failure-diagnosis CI program: an
agent that hits a failed deploy must be able to find, from llms.txt alone, that
the classified cause is served back over HTTP — and that can't silently regress.
- public/llms.txt: synced to content-repo HEAD (PR #27, a10699f) — adds the
"Debugging a failed deploy (agent self-recovery)" section + the
/docs/troubleshooting-deploys.md reference (the /events autopsy loop:
reason + last_lines + hint → fix → redeploy → re-poll).
- src/lib/llmsContract.test.ts: new CONTRACT_MARKERS row asserting llms.txt
contains BOTH the 'troubleshooting-deploys' reference AND the
'/api/v1/deployments/:id/events' debug surface — so a content sync or docs edit
that drops the debug path reds CI (verified: removing the events marker fails
the test by name).
- scripts/fetch-content.mjs: adds the same two markers to the llms.txt
requireMarkers lock-step guard — a future upstream sync missing them PRESERVES
the committed copy instead of reverting the documentation (rule 22).
Pairs with the FUNCTIONAL live proof in e2e/live-ui-failure-diag.spec.ts (#195):
discoverable AND demonstrably working.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5949d0f commit ae37409
3 files changed
Lines changed: 45 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
165 | 176 | | |
166 | 177 | | |
167 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
84 | 100 | | |
85 | 101 | | |
86 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
84 | 100 | | |
85 | 101 | | |
86 | 102 | | |
| |||
0 commit comments