AI Career Stories — Flywheel Audit (2026-04-15)
Full end-to-end audit of the AI flywheel integration. 20 issues found on initial audit, all fixed. The chain now validates:
Published: April 16, 2026 | Category: Blog Articles | By Qualora Career Advisors
AI Career Stories — Flywheel Audit (2026-04-15) Summary
Full end-to-end audit of the AI flywheel integration. 20 issues found on initial audit, all fixed. The chain now validates:
`` career_configs.slug ←→ aiBundleMap.ts careerSlug ←→ blog frontmatter careers[].slug ↓ ↓ ↓ SEOCareerPage route SEOCareerPage callout blog_post_careers rows
seo_content.slug ←→ aiBundleMap.ts aiCourseSlug ←→ AILandingPage INDUSTRY_MAP ←→ blog frontmatter ai_bundle_slug ←→ content-flywheel-queue.json ai_bundle_triggers.ai_bundle_slug ↓ ↓ ↓ /courses/<slug> CourseTile href Flywheel Phase-2 lookup
courses.id (source=ai_lane) ←→ aiBundleMap.ts aiCourseId ↓ ↓ Database course record Reverse lookup for smoke tests `
|---| | welder-career | welding-technician-career | | emt-career, paramedic-career (dupes) | emt-paramedic-career (single) | | industrial-maintenance-career | industrial-maintenance-technician-career | | ehs-professional-career | environmental-safety-specialist-career | | construction-career | construction-pre-apprentice-career | | warehouse-logistics-career | warehouse-logistics-specialist-career | | solar-technician-career | solar-energy-technician-career | | lean-six-sigma-career | lean-six-sigma-professional-career | | cdl-driver-career | cdl-truck-driver-career | | linux-admin-career | linux-system-administrator-career | | hipaa-compliance-career | hipaa-compliance-officer-career |
Impact if unfixed: <AIBundleCallout /> would silently return null on 11+ career pages. No AI advancement CTA shown.
[2] aiBundleMap.ts course slugs (6 wrong → 0)
Original map used inferred pluralized slugs; DB uses shorter forms.
| Original (wrong) | DB (correct) | |---|---| | ai-for-emts-and-paramedics | ai-for-emts | | ai-for-phlebotomy-technicians | ai-for-phlebotomy | | ai-for-ehs-professionals | ai-for-ehs | | ai-for-warehouse-and-logistics | ai-for-warehouse-logistics | | ai-for-solar-technicians | ai-for-solar-techs | | ai-for-network-administrators | ai-for-network-admins |
Impact if unfixed: Callout "View bundle" button would 404 on 6 bundles. Industry filter on /ai would not show those bundles under their categories.
[3] AILandingPage.tsx INDUSTRY_MAP (6 wrong → 0)
Same 6 course-slug drift. Fixed with an explicit comment requiring lock-step updates with aiBundleMap.ts.
[4] Flywheel queue status field (READY → QC_PENDING)
Used status: "READY" which isn't a recognized lifecycle state. Valid states per pipeline-log.py: • CONTENT_NEEDED — topic idea added • QC_PENDING — draft written, Rex's turn • NEEDS_REWORK — Rex failed it • LIVE — imported to DB, published
Fix: Set all 5 seed posts to QC_PENDING.
[5] Missing rex_qc_queue.pending routing
Wrote 5 blog entries directly into blog_articles[] but bypassed pipeline-log.py produce, so the posts never reached Rex's inbox. Fixed by retroactively populating rex_qc_queue.pending + enrichment_tracking.blog_articles_completed + regenerating inbox.md via pipeline-log.py regenerate.