# Task: Hide Robot home entry and arrange three modules ## Identity - Task ID: 20261013-hide-home-robot-6c1f8a3d - Mode: Feature - Branch: codex/20261013-hide-home-robot-6c1f8a3d-hide-home-robot - Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20261013-hide-home-robot-6c1f8a3d - Base commit: 23ddce11da5c4c7aa31af81213a5aafd474cdad0 - Owner: codex - Status: Ready for Integration ## Scope - Hide Robot only from the home module selection. Arrange Agents, Code and Canvas as three equal desktop cards and single-column compact cards, preserving existing artwork and navigation contracts. ## Intent And Constraints - User explicitly requests Robot home-entry hiding and remaining-entry re-layout. Prior direction still defers temporary-app updates. Preserve global Robot definition, routes, permissions and capabilities; do not restart existing apps, publish, push, merge main or adopt peer changes. ## Outcome - Robot is filtered only in home selection; global module definitions, Robot routes/APIs and policy access are unchanged. Agents, Code and Canvas share an equal-width desktop row beneath the centered welcome heading, with proportional card heights; below 768px they use a single vertical column of horizontal image/text cards. Existing artwork, click hit areas, disabled states and hover/focus behavior are preserved. README and navigation regressions match. ## Verification - Module navigation unit tests: 9/9 passed, including hidden Robot with enabled permission, Canvas/Code routing, disabled policy, login/profile gates and Robot sidebar identity. - Pinned pnpm 10.33.4: typecheck, scoped ESLint and production build:vite passed. Build repeated after visual review reduced extra card whitespace at 768px. - Targeted Electron navigation fixtures: 3/3 passed (layout, retired Learning route, sidebar return plus direct Robot route); layout fixture rechecked after final CSS refinement, 1/1 passed. - Layout geometry and screenshots checked at 1440, 1024, 768 and 375px: equal columns/gaps, compact stack, loaded artwork, text/page overflow checks, whole-card click area and stable hover/focus. - git diff --check and task-aware project document drift check passed. Test Electron instances use independent temporary profiles; existing temporary/installed applications are unchanged. - Dependencies reused through an ignored node_modules symlink. No runtime data, dependencies, build/test output or secrets included in commits. ## Follow-ups - Integrate this source commit into the code chosen for the next temporary-app update. No current temporary-app update/restart, main merge, push or publication was performed. ## Promotion Candidates - Target: integrated module-selection/current-state documentation. - Proposal: home offers Agents, Code and Canvas only, with an equal desktop row and compact vertical stack. Robot remains a supported guarded route/capability whose home card is hidden. - Evidence: explicit screenshot request, focused source diff, 9 unit tests, 3 Electron cases and four-size visual/geometry review. - Future impact: later home UI work should preserve three visible entries unless explicitly changed. This supersedes historical four-card home presentation only; module policies and Robot capability remain unchanged. Human confirmation is already supplied; canonical promotion remains serialized integration work. ## Project Context Loaded - Task ID: 20261013-hide-home-robot-6c1f8a3d; feature mode. - Branch: codex/20261013-hide-home-robot-6c1f8a3d-hide-home-robot. - Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20261013-hide-home-robot-6c1f8a3d. - Base: 23ddce11da5c4c7aa31af81213a5aafd474cdad0 (latest locally fetched origin/main). start exited 0; status JSON confirms identity, branch, root, mode and reservation. - Read: AGENTS; entry/read-before-planning, memory-index and planning-gate; this task; positioning, current-state, decision-index/system-overview; business-rules and success-criteria; related accepted navigation/permission context. Same-task read-only subagent reviewed required context and every peer Scope/Intent/Promotion. - Project goal: student/creator desktop creation with Main-owned authentication/service access and a single light visual system. - Current integrated focus: combined personal Agent UI and runtime release, separate homepage module display. - Active scope/constraints: only hide one home choice and balance the other three; keep underlying Robot access and module-policy denial semantics. - Other active tasks: Canvas session diagnosis and knowledge workspace; retained teacher/docs tasks, including a legacy child-language task with undefined scope. No concrete homepage dependency or semantic conflict. All other worktrees remain read-only. - Decisions: older four-card vertical home layout is superseded only by this user's explicit hide/re-layout instruction. Robot remains a supported guarded module; missing/denied permissions keep existing handling. - Evidence/commitments: existing module-navigation unit tests and main-navigation Electron fixtures available; no external or timed obligation. - Modules: ModuleSelection/index.tsx, scoped module card CSS in globals.css, navigation tests and README. - Unknown/stale context: older AGENTS/module counts and integrated memory include historical three/four-module summaries; feature mode records promotion candidates instead of rewriting accepted docs. - Gate result: Passed. ## Plan - Filter Robot only in home rendering; center the greeting above a three-column desktop grid and use horizontal single-column cards below 768px. - Preserve artwork, hover/focus stability, policy-disabled states, login/profile gates and navigation destinations. - Adapt focused unit/Electron regressions and check actual layout at wide/narrow windows, typecheck, lint and production build. - Update README and this task record; commit a tested source handoff without changing current app runtime.