mirror of
https://github.com/NeuralNomadsAI/CodeNomad.git
synced 2026-11-01 11:30:33 +00:00
## Summary A complete public CodeNomad help site in the app's ten languages, published on GitHub Pages (https://neuralnomadsai.github.io/CodeNomad/) and opened from the app. - **Content:** 25 pages in 8 sections (Start, Workflows, OpenCode setup, Remote access, Customize, Extensions, Desktop, Help), written for OpenCode power users and covering the current version only. It includes everything user-relevant from `README.md`, `packages/server/README.md` (server, network, auth, TLS, Remote Control) and the user-facing dev-docs, with flags, defaults, labels and safety boundaries checked against source. - **Languages:** en, fr, de, es, he (RTL), ja, ne, ru, tr, zh-Hans. Interface labels reuse each locale's own app strings; native desktop menu names, code, commands, flags, paths and anchors stay unchanged. - **Site:** `scripts/build-help.mjs` renders `docs/help/<locale>/<slug>.md` with translated chrome (`docs/help/i18n/`), stable `{#id}` anchors identical across locales, same-article language links with hreflang, a root language chooser, and a first-party offline per-locale search (Ctrl/⌘+K, substring matching for CJK, Devanagari and Hebrew, hidden without JS). No analytics or remote resources. - **Validation:** `npm run test:help` fails on any missing page or string, heading drift, broken link/anchor/asset or invalid search target. `.github/workflows/help-pages.yml` validates PRs and deploys only from `dev`. - **App entry points:** one `open-help` command for the palette and a new **CodeNomad Help** item at the top of the Electron and Tauri Help menus. It opens the help in the invoking window's UI language through the existing external opener, falls back to the root URL for windows without the handler, and reports failures without replay. - Documents the strict boolean environment-variable rule from #959 and the updater entry points from #960. ## Review Delivered as a CodeNomad mission with independent review loops, each to zero findings: - English content audit (5 passes, 14 fixes) and technical gatekeeper (2 passes) before translation. - After translation: QA, UX review, and a final multilingual gatekeeper (35 translation/label findings fixed, then verified), plus a visual fix for the search focus ring and a verified sync with #960. ## Validation - `npm run test:help`: 9/9 (25 pages × 10 locales, strict, including negative tests); `npm run build:help`: 250 pages. - `node scripts/test-help-browser.mjs`: 44/44; Playwright: 500 page visits at 390 and 1280 px, all locales, no overflow, no external requests. - UI help-command and desktop-updates browser tests 19/19; help URL unit tests; Electron menu tests; UI and Electron typechecks; Tauri `cargo test` 272/272.
2.9 KiB
2.9 KiB
Documentation Index
Start with README for installation and usage, then architecture for ownership boundaries and code locations. AGENTS.md defines contribution, styling and i18n conventions.
Runtime and ownership
- OpenCode compatibility: qualification policy, consumed contracts and integration limits.
- Stable-runtime transition: technical minimum, installation/recovery, retired adapters and migration evidence.
- Worktree/session placement: native location identity and authorized conversation movement.
- Session environment: server-only execution-host snapshots and fail-closed per-send synchronization.
- Cache refresh conventions: display snapshots, invalidation and authoritative mutation reads.
History and pruning
- History queries: bounded search, counts and cleanup queries.
- History navigation: structural indexes and anchor windows.
- Pruning RPC: narrow native integration and packaging.
- Pruning safety: transactional authorization, identity and replay contracts.
UI and extensions
- Public user help: multilingual static site, stable anchors, local search, app entry points and Pages validation.
- Files panel: workspace editing, Git changes/history and preview lifecycle.
- Native interruptions: permissions/Forms dock, drafts and pending-request recovery.
- Provider accounts: native account selection and bounded quota/rotation policy.
- Plugin activation: explicit Global/Project controls.
- Panel extensions: distribution, trust, consent and sandbox/API boundaries.
- Palette sources: color provenance and validation.
Missions
- Missions: one-time Mission maps, native admission, Wayfinder/Debugging/Product delivery playbooks and validation.
- Recurring Missions: simple native schedule contract; qualification records the isolated native runs.
Desktop automation and validation
- Desktop instrumentation: always-available automation and authenticated transport; no Developer Mode gate.
- Browser automation: owned native previews and targeting.
- Device emulation: touch profiles and sizing contracts.
- Tauri backports: upstream provenance, validation commands and override removal criteria.
- Build guide: packaging and platform build commands.
- Contributing: development and test workflows.