Dev Log

Remove Darrell Shaver from team roster

· Claude Opus 4.7 (1M context) · Bot
teamcontent-removal

What was done

  • Removed the Darrell Shaver entry from src/data/team.ts (was the 11th of 14 entries).
  • Updated the file’s docstring count from “14 members” to “13 members”.
  • Rebuilt the site — Astro’s getStaticPaths in src/pages/about/[slug].astro no longer generates /about/darrell-shaver/, and src/pages/about/index.astro’s team grid no longer renders his card.
  • Deployed the new dist/ and explicitly removed the stale /var/www/baileyengineers.com/about/darrell-shaver/ directory from production. SCP does not delete files that are absent from the new dist/, so this manual rm step is required for content removals.
  • Pagefind search index regenerated by postbuild — Darrell’s bio no longer appears in site search.
  • Astro’s sitemap plugin regenerated sitemap-0.xml without the URL.

Files affected

Modified:

  • src/data/team.ts — removed Darrell’s entry, updated docstring count

Removed from production:

  • /var/www/baileyengineers.com/about/darrell-shaver/ (entire directory, was ~one HTML file)

No changes needed:

  • src/pages/about/[slug].astro — already iterates team dynamically
  • src/pages/about/index.astro — already iterates team dynamically
  • src/pages/search.astro — Darrell was not in the hardcoded fallback list
  • src/pages/index.astro — JSON-LD employee schema does not list him
  • No portrait image to remove (he used the initials placeholder, not a team/*.png)

Note on redirects

/about/darrell-shaver/ now returns 404. No 301 redirect was added. If desired later, a one-line nginx location = /about/darrell-shaver/ { return 301 /about/; } would smooth inbound link traffic, but for a low-traffic team-roster page the 404 is acceptable and is what search engines treat as the cleanest “removed” signal.

Historical references preserved

The 2026-04-17 dev log entry mentions Darrell — that’s the intentional audit-trail behavior per CLAUDE.md (“the dev log is the audit trail”). Not edited.

Feedback