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
- Fix stale /sse path in afdocs-fix MCP example (matches PR #23 fix)
- Add URL validation in afdocs_audit.mjs to prevent shell injection
- Remove hardcoded baseline score from SKILL.md reporting instructions
- Soften hardcoded page counts in known-exceptions.md (varies by run)
- Scope page-size exception to /changelog/ only, not all large pages
Co-Authored-By: Oz <oz-agent@warp.dev>
Copy file name to clipboardExpand all lines: .agents/skills/afdocs-audit/references/known-exceptions.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
# AFDocs Known Exceptions
2
2
3
-
This file lists checks that may flag as warnings or failures but are expected and intentional. When reporting audit results, classify these as "Allowlisted" rather than "Remaining."
3
+
This file lists checks from the afdocs-audit skill that may flag as warnings or failures but are expected and intentional. When reporting audit results, classify these as "Allowlisted" rather than "Remaining."
4
4
5
5
## content-start-position
6
6
7
7
**Expected status**: fail or warn
8
-
**Reason**: 34/50 sampled pages have content starting past 50% of the HTML output. This is inherent to Starlight's layout — sidebar navigation, header markup, and JavaScript/CSS precede the `<main>` content area.
8
+
**Reason**: Sampled pages may have content starting past 50% of the HTML output. This is inherent to Starlight's layout — sidebar navigation, header markup, and JavaScript/CSS precede the `<main>` content area.
9
9
**Mitigation**: The llms.txt directive, `<link rel="alternate" type="text/markdown">` in `<head>`, and `Accept: text/markdown` content negotiation middleware all steer agents to the clean markdown version, bypassing the HTML boilerplate entirely.
10
10
**Action**: No fix needed. This is a structural property of Starlight sites.
11
11
12
12
## markdown-content-parity
13
13
14
-
**Expected status**: warn (7 pages, ~2% average difference)
14
+
**Expected status**: warn (several pages, ~2% average difference)
15
15
**Reason**: False positive. The "missing" segments are numbered heading text like "2. Tabbed File Viewer" where Turndown correctly escapes the period (`### 2\. Tabbed File Viewer`) to prevent markdown parsers from interpreting it as a list item. The content IS present in the markdown — the AFDocs checker's text comparison doesn't account for markdown escaping.
@@ -25,9 +25,9 @@ This file lists checks that may flag as warnings or failures but are expected an
25
25
26
26
## page-size-markdown / page-size-html
27
27
28
-
**Expected status**: warn (1 page between 50K-100K chars)
28
+
**Expected status**: warn — but only allowlist `/changelog/`
29
29
**Reason**: The changelog page (`/changelog/`) is intentionally a single long page (~4,000 lines of MDX). It is excluded from `llms-full.txt` generation due to a `hast-util-to-text` stack overflow, but is still accessible at its URL and indexed by the sitemap.
30
-
**Action**: No fix needed unless the page grows significantly larger. Petra has indicated long pages are lower priority.
30
+
**Action**: If the only flagged page is `/changelog/`, classify as allowlisted. If other pages are flagged, treat those as genuine issues that may need splitting.
0 commit comments