Housekeeping Work Order — Day 12

Generated from: check_tree.sh /var/www/html/LessonPlans/AI
Date: 2026-03-06  |  Results: 44 linked, 104 orphaned, 6 broken links, 1 symlink
6 Broken Links to Fix
104 Orphaned Files
~60 Safe to Delete
~15 Need Links Added
~10 Need Review

Priority 1 — Fix Broken Links

These are active hrefs in your index files pointing at files that do not exist. Fix these first — they are navigation failures for site visitors.

Action In File Broken href Fix
FIX v/ -- collaboration/index.html ../project-diary.html Change to project-diary.html (file is in same dir)
FIX v/ -- deep-dive/index.html ../deep-dive/index.html Create deep-dive/index.html symlink (see Priority 2) or fix path
FIX v/ -- index.html (x3 hits) learning/index.html Create symlink: ln -s learning-index.html learning/index.html
FIX pre-refactor/ai-prev/index.html v/ -- Assesment_and_.html File has truncated name — find full file or remove the link
RENAMED - ADD TO NEW ACTIVE PAGE
v/ -- The learning/index.html issue hits 3 pages. One command fixes all three:
cd /var/www/html/LessonPlans/AI/learning ln -s learning-index.html index.html Confirm first that learning-index.html is the right target file.

Priority 2 — Safe to Delete

v/ -- < These are not web content. No visitors should ever see them. Remove from the web tree entirely — keep copies elsewhere if needed.

Shell Scripts scattered in web dirs

FileAction
vnu-all-dirs.shDELETE Move to ~/bin or /usr/local/bin
MissingLinks-Dirs.shDELETE
collaboration/val.shDELETE
pre-refactor/ai-prev/mvfiles1.shDELETE
SCRIPTS/CK-Unlikedk-HTML-pages.shDELETE or move to /usr/local/bin
SCRIPTS/Dols-l-alldirs.shDELETE or move to /usr/local/bin
SCRIPTS/Recursive-vnu.shDELETE or move to /usr/local/bin
SCRIPTS/val.shDELETE

Planning / working notes (not web content)

FileAction
FILE-MIGRATION-PLAN.txtDELETE
touch-indexDELETE Shell artifact
pre-refactor/ai-prev/The-Files-CONTENXT.txtDELETE

SAVED/ dated backup tree (entire subtree)

These are Bluefish/manual dated backups. They are in the web tree and accessible via HTTP. Consider a single tar and move outside docroot.
FileAction
SAVED/02-01-episodesDELETE or tar and move to ~/backups/AI-SAVED-<date>.tar.gz
SAVED/02-19-AI-NEW.html
SAVED/02-28-2026-AI-NEW.html
SAVED/03-01-II-episodes.html
SAVED/2026-02-22-index.html
SAVED/NW-episodes.html
SAVED/o2-15-PROJECT-STRUCTURE.html
SAVED/deep-dive/deep-dive-index.html_backup_20260303_133608
SAVED/episodes.html_backup_20260303_133643
SAVED/learning/how-to-use-this-site.html_backup_20260303_133708
tar czf ~/backups/AI-SAVED-$(date +%Y%m%d).tar.gz /var/www/html/LessonPlans/AI/SAVED/ rm -rf /var/www/html/LessonPlans/AI/SAVED/

collaboration/SAVED/ backups

FileAction
collaboration/SAVED/02-28-26.project-diary.htmlDELETE or archive with SAVED/ above
collaboration/SAVED/lesser-header-project-diary.html
collaboration/SAVED/replace-but-good-aths_project-diary.html

learning/SAVED/ backups

FileAction
learning/SAVED/02-18-26_learning-index.htmlDELETE or archive
learning/SAVED/02-22-learning-index.html
learning/SAVED/03-01_how-to-use-this-site.html
learning/SAVED/AI-A-General-Undersanding-733.html
learning/SAVED/AI-A-General-Undersanding-mashup.html

pre-refactor/ai-prev/SAVED/ backups

FileAction
pre-refactor/ai-prev/SAVED/AI-2.htmlDELETE
pre-refactor/ai-prev/SAVED/i.index.html

Priority 3 — Archive (pre-refactor tree)

The entire pre-refactor/ tree is old site content before the current AI Education Project structure. The pre-refactor/ai-prev/index.html does link to TMA files (which are correctly LINKED), but the top-level loose files are orphaned duplicates. Options: leave as archive, or tar and move out of docroot.

FileStatusAction
pre-refactor/ai-prev/AI-Application.htmlDuplicate of TMA versionARCHIVE These are the pre-TMA originals. The TMA/ copies are the linked versions. Either remove these or leave as archive. Not accessible from main nav.
pre-refactor/ai-prev/AI-Capabilities.htmlDuplicate of TMA version
pre-refactor/ai-prev/AI_Cat-Type-Use.htmlDuplicate
pre-refactor/ai-prev/AI-Cat_use_List_deepseek.htmlDuplicate
pre-refactor/ai-prev/AI-Cat_use_List_II-grok.htmlDuplicate
pre-refactor/ai-prev/AI-Components.htmlDuplicate
pre-refactor/ai-prev/AI-Functionality.htmlDuplicate
pre-refactor/ai-prev/AI-ML-Aapproaches.htmlDuplicate
pre-refactor/ai-prev/AI_types_ai-x.htmlDuplicate
pre-refactor/ai-prev/AI-Types-Detail.htmlDuplicate
pre-refactor/ai-prev/AI-Types-Simple.htmlUnique — review
pre-refactor/ai-prev/LLM-Capabilities.htmlDuplicate
pre-refactor/ai-prev/LLM-Capabilities_MORE.htmlDuplicate
pre-refactor/ai-prev/LLM-Fundamental-Components.htmlDuplicate
pre-refactor/ai-prev/LLM-Neural-Network-Structure.htmlDuplicate
pre-refactor/ai-prev/LLM-Tokenization.htmlDuplicate
pre-refactor/ai-prev/DeepSeeks-Response-To-My-ThankYou.htmlUnique contentREVIEW Worth keeping? Move to collaboration/ ?
pre-refactor/ai-prev/Grok-on-Grok.htmlUnique contentREVIEW Worth keeping? Move to collaboration/ ?
pre-refactor/ai-prev/Grok_X-css-not-workingAI-Capabilities.htmBroken filename (.htm)DELETE
pre-refactor/ai-prev/MY-Assesment_and_.htmlTruncated nameREVIEW Same as root Assesment_and_.html?

Priority 4 — Add Links (Real Content, Currently Orphaned)

These are legitimate content files that should be linked from an index. They exist, they have content, but no index.html points to them yet.

collaboration/building-in-public/ — Diary Entries

These should all be linked from collaboration/project-diary.html. That page already exists and is linked. It just needs entries added for each diary date.
FileAction
collaboration/building-in-public/2026-02-14-PROJECT-DIARY.htmlADD LINK in collaboration/project-diary.html
collaboration/building-in-public/2026-02-15-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-16_AM-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-16_PM-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-17-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-18-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-19-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-21-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-22-PROJECT-DIARY.html
collaboration/building-in-public/2026-02-28-PROJECT-DIARY.html
collaboration/building-in-public/2026-03-01-PROJECT-DIARY.html
collaboration/building-in-public/2026-03-02-PROJECT-DIARY.html
collaboration/building-in-public/2DO-LIST-DAY11.html

collaboration/building-in-public/ — Status/Structure pages

FileAction
collaboration/building-in-public/PROJECT-STRUCTURE.htmlREVIEW Superseded by root PROJECT-STRUCTURE.html?
collaboration/building-in-public/STATUS-REPORT-DAY1-3.htmlADD LINK in project-diary or collaboration index
collaboration/building-in-public/STATUS-REPORT-DAY4-10.htmlADD LINK in project-diary or collaboration index
collaboration/building-this-site.htmlADD LINK in collaboration/index.html

collaboration/addendum/ — Daily WWNTD notes

These are your daily "What Would Need To Do" working notes. Decide: link them from the corresponding diary entry, or move them out of the web tree entirely as they are plaintext.
FileAction
collaboration/addendum/*.txt (13 files)REVIEW Link from diary entries, or move out of docroot (plaintext)
collaboration/addendum/File-ls-lR.txtDELETE ls output, not content
collaboration/addendum/STATUS-REPORT-DAY1-3.txtREVIEW Duplicate of the .html version?

learning/ — Unlinked content pages

FileAction
learning/learning-index.htmlSYMLINK ln -s learning-index.html learning/index.html — fixes 3 broken links
learning/introduction-to-ai.htmlADD LINK in learning/learning-index.html
learning/AI_and_LLM-Learning-Companion.htmlADD LINK in learning index
learning/AI-Learing-Plan-For-Beginners.htmlRENAME typo: LearingLearning, then link
learning/AI-Learning-Plan-For-Beginners.htmlREVIEW Is this the corrected version of the above?
learning/Recommended_Learning_Path-AI-LLM.htmlADD LINK in learning index
learning/AI-Cat_use_List_ai-x.htmlREVIEW Duplicate of root version?
learning/AI_learning_plan_ai-x.htmlREVIEW Duplicate of root version?

Root dir — Unlinked content

FileAction
Databricks-Big-Book-Of-GenAI-FINAL.pdfADD LINK in resources/index.html or learning index — good reference material
Recommended_Learning_Path-AI-LLM.htmlADD LINK or consolidate with learning/ version
AI-Cat_use_List_ai-x.htmlREVIEW 3 copies exist (root, learning/, pre-refactor/)
AI_learning_plan_ai-x.htmlREVIEW 3 copies exist
Assesment_and_.htmlRENAME Truncated filename — find full name, rename, then link or retire

resources/ — Exists but nothing links there

FileAction
resources/Databricks-Big-Book-Of-GenAI-FINAL.pdfREVIEW Duplicate of root copy — pick one canonical location
resources/Suggested-AI-Books.htmlREVIEW Duplicate of root copy — pick one canonical location
The resources/ dir has no index.html yet. Either create one and link from root, or consolidate these files into the learning/ section.

deep-dive/ — Placeholder

FileAction
deep-dive/advanced-topics.htmlREVIEW Stub/placeholder? Link from deep-dive/index.html when ready

Summary: Recommended Order of Operations

StepTaskImpact
1 Create learning/index.html symlink to learning-index.html Fixes 3 broken links in one command
2 Fix collaboration/index.html href path for project-diary Fixes 1 broken link
3 Fix deep-dive/index.html href to learning index Fixes 1 broken link
4 Tar and remove SAVED/, collaboration/SAVED/, learning/SAVED/ Removes ~15 orphans from web tree cleanly
5 Remove scripts from web dirs, move to /usr/local/bin if needed Removes ~8 orphans
6 Add diary entry links to collaboration/project-diary.html Links 13 diary files
7 Link resources/ content or consolidate into learning/ Resolves duplicate PDF/books issue
8 Run check_tree.sh again — verify new counts Confirm progress
After cleanup, run:
check_tree.sh /var/www/html/LessonPlans/AI 2>&1 | tee /tmp/post-cleanup-audit.txt Target: 0 broken links, orphan count under 20 (legitimate unlinked content only).

Generated by cmh — AI Education Project Day 12 — check_tree.sh audit