You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
codewhale.net should read as a mature product surface: polished, trustworthy, well-structured, and clear enough that new users, serious adopters, contributors, and partners understand the project without digging through repository docs. The homepage redesign (#3762, landed 2026-06-29) moved the site to a docs-portal presentation, and v0.9.1 carried the truthful-roadmap slice (#3418). What remains is the rest of the product-led information architecture: trust/security and provenance surfaces, real documentation depth on-site instead of links out to GitHub markdown, and a deliberate support/contact story — presentation quality and IA, not overclaiming.
Current evidence
Landed (verify before extending):
Primary nav is slim and product-led: Docs, Install, Community, Contribute + GitHub, theme toggle, locale switcher (web/components/nav.tsx:9-21).
Homepage is a portal: hero + quickstart, "Start here" topics, documentation index, community section, with facts (version/providers/license) injected from the derived-facts pipeline (web/app/[locale]/page.tsx, 197 lines; web/lib/facts.ts, web/scripts/derive-facts.mjs runs on prebuild).
/docs is a hub with search over a canonical topic registry: DocsSearch (web/app/[locale]/docs/page.tsx), DOC_TOPICS in web/lib/docs-map.ts (15 topics, categorized getting-started/core-concepts/reference/extending/operations, each mapped to its repo source file).
Footer already carries trust primitives: Product links (Docs/Install/Models/Runtime/App preview), Project links (GitHub/Issues/Contribute/MIT license), a provenance line ("Canonical source and releases: github.com/Hmbown/CodeWhale"), mirror links (CNB, npmmirror, Gitee behind GITEE_ENABLED), and a Security mailto (web/components/footer.tsx).
Security headers + locale routing in web/middleware.ts; locale lifecycle model (shipped/partial/planned/deferred) in web/lib/i18n/config.ts; a dedicated redirect worker under web/redirect/.
No trust/security page: the footer's Security entry is a mailto:; SECURITY.md (repo root), sandbox/permissions material (docs/SANDBOX.md), and mirror/provenance copy (docs/CNB_MIRROR.md) have no website surface.
Docs depth is mostly off-site: only 3 of 15 DOC_TOPICS have on-site pages (constitution, modes, tools; install/providers route to /install and /models); the other 10 render as external ↗ links to GitHub markdown (topicIsExternal, web/app/[locale]/page.tsx:23-34).
Registry blind spots: DOC_TOPICS has no skills topic (repo ships docs/skills/) and no safety/security topic.
Support/contact surface is undefined beyond the Security mailto and an unlinked FAQ route; support expectations (what users can expect, where to ask) are stated nowhere.
No published site map naming the target product/docs/trust/community/roadmap/support/provenance surfaces.
Scope
Write the target site map (product, install, docs, trust/security, community, roadmap, contact/support, provenance) and land it with the first PR so later slices cite it.
Build the trust/security surface: license, security model and reporting path (from SECURITY.md), local-first behavior, sandbox/permissions summary, official-source provenance and release/install verification, provider neutrality, support expectations. Link it from footer (replacing the bare mailto) and, if the site map says so, from nav.
Extend DOC_TOPICS with the missing topics (at minimum skills and safety/security) and keep check-docs green.
Bring the highest-traffic external topics on-site following the existing pattern (web/app/[locale]/docs/tools/page.tsx + web/components/docs-sidebar.tsx), rather than ↗ GitHub links; keep repo markdown canonical and let the drift gates enforce parity.
Define the support/contact story: FAQ placement, issue/discussion entry points, and what response expectations are honest for a community project.
Done when: nav/footer/site map match, old URLs redirect, and drift gates cover every new surface.
Key files
web/components/nav.tsx
web/components/footer.tsx
web/app/[locale]/page.tsx
web/app/[locale]/docs/page.tsx
web/lib/docs-map.ts
web/components/docs-sidebar.tsx
web/components/docs-search.tsx
web/scripts/check-docs.mjs
web/lib/i18n/config.ts
web/middleware.ts
SECURITY.md
docs/CNB_MIRROR.md
Acceptance criteria
A committed site map names the product, docs, trust, community, roadmap, contact/support, and provenance surfaces.
A trust/security page presents license, security model + reporting path, local-first behavior, provenance/mirrors, release/install verification, provider neutrality, and support expectations — without overclaiming.
Navigation/footer include trust, contact/support, docs, provenance, GitHub, and community links.
Triage note: body restructured for agent execution on 2026-07-18; retarget comment folded in; stale nav/homepage/docs evidence replaced with the current portal-era anchors. Original wording preserved in edit history.
Problem
codewhale.net should read as a mature product surface: polished, trustworthy, well-structured, and clear enough that new users, serious adopters, contributors, and partners understand the project without digging through repository docs. The homepage redesign (#3762, landed 2026-06-29) moved the site to a docs-portal presentation, and v0.9.1 carried the truthful-roadmap slice (#3418). What remains is the rest of the product-led information architecture: trust/security and provenance surfaces, real documentation depth on-site instead of links out to GitHub markdown, and a deliberate support/contact story — presentation quality and IA, not overclaiming.
Current evidence
Landed (verify before extending):
web/components/nav.tsx:9-21).web/app/[locale]/page.tsx, 197 lines;web/lib/facts.ts,web/scripts/derive-facts.mjsruns on prebuild)./docsis a hub with search over a canonical topic registry:DocsSearch(web/app/[locale]/docs/page.tsx),DOC_TOPICSinweb/lib/docs-map.ts(15 topics, categorized getting-started/core-concepts/reference/extending/operations, each mapped to its repo source file).web/scripts/check-docs.mjs(every topic's repo source must exist; version/command parity) andweb/scripts/check-facts.mjs— the anti-stale-facts machinery v0.8.69: Remove stale website references to retired sub-agent lifecycle tools #3414/v0.8.69: Add a website fact-drift gate for version, providers, and tool inventory #3415 asked for.GITEE_ENABLED), and a Security mailto (web/components/footer.tsx).web/middleware.ts; locale lifecycle model (shipped/partial/planned/deferred) inweb/lib/i18n/config.ts; a dedicated redirect worker underweb/redirect/.web/app/[locale]/).Gaps (the residual this issue now tracks):
mailto:;SECURITY.md(repo root), sandbox/permissions material (docs/SANDBOX.md), and mirror/provenance copy (docs/CNB_MIRROR.md) have no website surface.DOC_TOPICShave on-site pages (constitution,modes,tools;install/providersroute to/installand/models); the other 10 render as external↗links to GitHub markdown (topicIsExternal,web/app/[locale]/page.tsx:23-34).DOC_TOPICShas noskillstopic (repo shipsdocs/skills/) and no safety/security topic.Scope
SECURITY.md), local-first behavior, sandbox/permissions summary, official-source provenance and release/install verification, provider neutrality, support expectations. Link it from footer (replacing the bare mailto) and, if the site map says so, from nav.DOC_TOPICSwith the missing topics (at minimumskillsand safety/security) and keepcheck-docsgreen.web/app/[locale]/docs/tools/page.tsx+web/components/docs-sidebar.tsx), rather than↗GitHub links; keep repo markdown canonical and let the drift gates enforce parity./community) without letting it crowd the product hierarchy; feed locale expansion through thei18n/config.tslifecycle instead of duplicating v0.8.59: Define README + website localization matrix, source text, and drift checks #3090-v0.9.2: Ship Korean, Spanish, and Brazilian Portuguese website locales (READMEs landed) #3093 here.web/redirect/).Phases
SECURITY.md,README.md,docs/CNB_MIRROR.md,docs/SANDBOX.md. Coordinates with v0.8.69: Add official-site and mirror provenance copy to codewhale.net #3421 (trust/provenance and mirror copy).DOC_TOPICS, then convert topics to pages in priority order (guide, configuration, providers, subagents, mcp, skills, troubleshooting ahead of the rest).npm run check:docsstill passes.Key files
Acceptance criteria
/docsoffers structured on-site topic navigation covering install, usage, config, providers/models, tools, sub-agents, MCP, skills, hooks, safety, troubleshooting, and contribution paths (registry-backed, not ad-hoc pages).Verification
Out of scope
Related
Triage note: body restructured for agent execution on 2026-07-18; retarget comment folded in; stale nav/homepage/docs evidence replaced with the current portal-era anchors. Original wording preserved in edit history.