Commit c73a4e1
Replace skill-failure noop with manual-analysis fallback (#134)
Reverses the strict abort rule from #133 in the openings, applies-to,
and style sweeps. Real-run evidence (elastic/docs-content runs
25377518194 + 25378183549, both openings) showed the hardened
"two failures = noop" rule firing prematurely:
- 13:09:34 ✗ skill(docs-page-opening-optimizer) Skill not found
- 13:09:37 ✗ skill(docs-page-opening-optimizer) Skill not found
- 13:09:41 ● noop "skill unavailable — confirmed after exact-form attempts"
- 13:14:36 ● create_issue "shard 20/28 — 20 pages" ← agent eventually produced
an issue, but suppressed
because noop already fired
The agent's tool serialization keeps logging the skill call as
`skill(docs-X)` — without the `skill:` prefix — which always
returns "Skill not found" from Copilot CLI. Whether the agent's
underlying invocation was actually reformatted, or whether it's a
log-rendering quirk, doesn't matter: my hardening committed the
agent to noop after two of these "failures", before it had a chance
to do useful work.
Replace with frontmatter's softer pattern: try the skill once; if
"Skill not found" comes back, fall back to manual analysis using
bash + the agent's own judgment, and note the skill failure once
in the issue body's Notes section. Only noop if even manual
analysis produces no high-confidence findings.
Applied uniformly to:
- gh-aw-docs-openings-sweep.md (the sweep that's been noop'ing)
- gh-aw-docs-applies-to-sweep.md
- gh-aw-docs-style-sweep.md
Frontmatter, coherence, staleness, typos already had softer or
deterministic-only fallback paths and don't need this change.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent de00cb2 commit c73a4e1
6 files changed
Lines changed: 57 additions & 63 deletions
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 | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
| 210 | + | |
| 211 | + | |
213 | 212 | | |
214 | | - | |
| 213 | + | |
215 | 214 | | |
216 | 215 | | |
217 | 216 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments