Replace the bare root redirect with a polished landing hub that greets every visitor to the agentics GitHub Pages site and routes them in one click to the Plans gallery and the Social Media gallery — styled to match the existing light-theme Plans gallery, with every link relative so it works under the /agentics/ base path.
Read and implement all steps in the plan at docs/plans/add-docs-landing-hub.md — Add a docs landing hub linking the Plans and Social galleries. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-docs-landing-hub.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
More ways to run this plan — goal & workflow prompts, file path
Achieve this goal: Add a docs landing hub linking the Plans and Social galleries. The plan at docs/plans/add-docs-landing-hub.md describes one approach — use it as reference, but optimize for the outcome. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-docs-landing-hub.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
add-docs-landing-hub.html
docs/plans/add-docs-landing-hub.html
docs/plans/add-docs-landing-hub.md
Context
The story behind this plan — what prompted the work and why it matters now.
Today docs/index.html is a nine-line <meta http-equiv="refresh"> document that bounces visitors straight to plans/index.html . That makes the Plans gallery the de-facto home page and leaves the Social Media gallery ( docs/media/social/index.html ) completely undiscoverable from the site root — there is no real landing page tying the site together.
The deploy-pages.yml workflow uploads the entire docs/ directory as the Pages artifact, so docs/index.html is served as the site root at /agentics/ . Replacing the redirect with a hub therefore changes nothing about deployment — the same file is simply richer. Because the site lives under the /agentics/ project sub-path, every link must be relative ( plans/index.html , not /plans/ ); a leading-slash href would resolve against the domain root and 404.
The Plans gallery uses a light theme with a specific token set ( --bg #ffffff , --surface #f9fafb , --border #e5e7eb , --text #111827 , --accent #2563eb , --radius 4px , plus a soft card --shadow ), a header with a 3px accent top-rule, and a responsive .gallery-grid of hover-highlighted .gallery-card anchors. The hub reuses those exact tokens and patterns for visual continuity. The Social gallery is dark-themed but remains a perfectly valid link target.
The guides directory ( docs/guides/ ) holds 62 raw .md files and no index.html ; under Pages with .nojekyll , markdown is served as raw text and there is no directory listing, so a guides/ link would 404. Per the decision on this plan, Guides is deferred from the hub for now and tracked in Next Steps — the hub ships with exactly the two galleries that already have working entry points.
Files that change
Every file this plan touches, and what happens to each one.
docs/index.htmlmodified replace meta-refresh redirect with the landing hub- tests/pages/
test-docs-hub.shnew objective smoke test for the hub (matches tests/pages/test-* convention)test-root-redirect.shmodified delete or update — currently asserts the meta-refresh redirect this plan removes
Steps
The step-by-step work, in order — each step says what to do, why it matters, and how to check it worked.
Tests
The tests that prove the change does what it promises.
Definition of done
The plan counts as done when every statement below is true — check each one off as you verify it.
Final check
One last pass to confirm the whole change works end to end.
Serve the docs directory as the site root — cd docs && python3 -m http.server 8123 — and open http://localhost:8123/ . Confirm the hub renders in the light theme with the accent top-rule header and two cards with descriptive subtitles, then click each card and confirm it loads the Plans Library and the Media Library respectively. Tab-focus the page and confirm the skip-link appears and targets #main . View source on the served root and confirm there is no <meta http-equiv="refresh"> and no href="/" absolute link. Run bash tests/pages/test-docs-hub.sh and confirm it exits 0. Confirm .github/workflows/deploy-pages.yml exists unchanged via test -f . Note: after merging to main, GitHub Pages CDN may serve the old redirect for several minutes — wait before declaring the live deploy verified.
Wrapping up
Three gates that must all pass before this plan is marked completed.
Completion Report
No items to report — all requirements met.