Objective
Daily autonomous internal-linking pass on aguiarinjurylawyers.com: add pillar-page internal links from unlinked editorial mentions, repair broken internal links, avoid overlap with prior runs (last run 2026-05-30/31). Link-only edits, no styling/design changes.
What was executed (live, this run)
Round 1 — 30 inserts attempted, 23 reverted
- 30 pillar inserts across 18 pages POSTed.
- Context QA caught a defect: 23 of 30 landed inside
<option> elements of a practice-area form selector (e.g. <option value="Rideshare Accident"><a ...>Rideshare Accident</a></option>). An <a> inside <option> is invalid HTML — it corrupts the dropdown and is not a real link / not editorial prose.
- All 23 reverted by restoring the pre-edit before-snapshot of the 12 affected pages via authenticated PUT. DB-verified: 0/23 bad anchors remain, 7/7 legit prose links retained.
- 7 legit prose links kept (pages 45346, 45712, 47702 ×2, 47708, 69738 ×2).
- 1 broken-link repoint: page 69740
/practice-areas/brain-injury/ (dead, redirects to home) → /practice-areas/tbi-cases/.
Matcher fix (prevents recurrence)
- Added
<select>...</select> and <option>...</option> to scan.py SKIP_RE. Form-dropdown labels can never be linked again. Propagates to future runs via the copy-from-latest-folder convention.
Round 2 — 30 clean prose inserts (re-run with fixed matcher)
- 30 inserts across 21 pages. Context QA: 30/30 prose-verified (body
<p>, <li>, <summary> FAQ, <blockquote> testimonial); 0 flagged.
- DB reaudit (
reaudit_db.py, ground truth): 30/30 live, 21/21 pages fully live.
- 406 already-linked mentions skipped (natural dedup against prior runs — no overlap).
- Pillars touched: car-accident, personal-injury, uninsured/underinsured-motorist, hit-and-run, distracted-driving, tbi-cases, premises-liability, bus-accident, lyft-accident, rideshare-accident, kentucky-hands-free-law.
Net result for 2026-06-01
- 37 net prose internal links live (7 round-1 + 30 round-2).
- 1 broken internal link repointed.
- 12 pages reverted clean (form-dropdown mis-inserts removed).