diff --git a/internal/author/skill/references/delivery.md b/internal/author/skill/references/delivery.md index 06fa4ecd..56d77568 100644 --- a/internal/author/skill/references/delivery.md +++ b/internal/author/skill/references/delivery.md @@ -23,9 +23,9 @@ Wait for shared work to quiesce before restarting its service. Back up durable state, preserve endpoint/configuration, verify the new runtime identity and keep a rollback path. Do not wipe data or remove credentials to repair deployment. -Respect the user's device boundaries. A test-device authorization -does not authorize use of the personal phone. Installation on the personal Fold -requires the user's delivery request; preserve app data and verify the exact APK. -Use `android/scripts/capture_png.sh -s SERIAL PATH` for app captures, not a raw -binary exec-out redirect. Verify the fixture connection before capturing and keep -its owned process alive until all required interactions finish; then stop and await it. +Respect device ownership and shared-work boundaries. A test-device +authorization does not authorize installation on a personal device. Delivery to a +personal device needs the user's explicit request; preserve app data and verify the +exact artifact. Use the project's supported capture helper for rendered evidence, +not a raw redirect. Verify the fixture connection before capturing, keep its owned +process alive until the required interactions finish, then stop it and await cleanup. diff --git a/internal/author/skill/references/operations.md b/internal/author/skill/references/operations.md index aa34e8a3..06a6013a 100644 --- a/internal/author/skill/references/operations.md +++ b/internal/author/skill/references/operations.md @@ -10,8 +10,8 @@ parallel/distributed task engine or a guarantee that model reports are correct. - Drafts are editable Markdown plus JSON metadata. Publishing validates and creates immutable versions; drafts remain retained. Keep context create-only/base-version - guards. Four optional generic starters are task, review, research and - three-stage; a fresh database starts empty. Templates can be created directly with + guards. Five optional generic starters are task, three-stage, review, research + and debug; a fresh database starts empty. Templates can be created directly with an editable prefilled name or customized first. Editing a bundled repository template changes no installed or published definition; only explicit authoring then submission creates a new immutable version. diff --git a/web/base.css b/web/base.css index c77ff2a7..bbc4370e 100644 --- a/web/base.css +++ b/web/base.css @@ -367,3 +367,10 @@ button { transition: background-color 120ms ease-out, border-color 120ms ease-ou .stage-pane-sheet, .confirm-dialog, .attention-sheet-panel { animation: none; } .row, .rail-tab, .strip-tab, .dock-item, .chat-star, .chat-menu-button, button { transition: none; } } + +/* Comfortable phone rows: the 12px meta and 8px padding were readable but + cramped under a thumb. */ +@media (max-width: 599px) { + .row { padding: 10px 14px; } + .row-meta { font-size: 13px; line-height: 18px; } +} diff --git a/web/chat.css b/web/chat.css index ca569c7d..9ce074a1 100644 --- a/web/chat.css +++ b/web/chat.css @@ -916,3 +916,40 @@ white-space: nowrap; text-overflow: ellipsis; } + +/* ---- Phone comfort ------------------------------------------------------ */ +@media (max-width: 599px) { + .chat-row { min-height: 96px; } + .chat-row .row-head { padding-right: 50px; } + .chat-star { + top: 2px; + right: 2px; + width: 44px; + height: 44px; + font-size: 18px; + } + .chat-row .chat-menu-button { + right: 2px; + bottom: 2px; + width: 44px; + height: 44px; + font-size: 18px; + } + .chat-row-actions .chat-menu-item { padding: 8px 12px; font-size: 14px; } + button.chat-create-back, + button.chat-back { + width: 44px; + height: 44px; + background: var(--color-surface-2); + border-color: var(--color-border); + color: var(--color-text); + } + .chat-create-back-glyph { font-size: 24px; } + .chat-bar-title { font-size: 18px; } + .chat-activity { font-size: 12px; } + .chat-send, + .chat-stop { min-width: 44px; min-height: 44px; font-size: 18px; } + .chat-attach { min-width: 44px; min-height: 44px; } + .chat-composer-input { padding: 10px 12px; font-size: 15px; } + .chat-turn { font-size: 15px; } +} diff --git a/web/design/tokens/tokens.css b/web/design/tokens/tokens.css index 614a47e3..94a7225a 100644 --- a/web/design/tokens/tokens.css +++ b/web/design/tokens/tokens.css @@ -262,3 +262,18 @@ --density-control-height: 30px; --density-control-height-small: 24px; } + +/* Phones get the comfortable density: a 44px control, slightly larger body + text and a 56px dock cell. Desktop keeps the denser 36px/14px scale. */ +@media (max-width: 599px) { + :root { + --density-control-height: 44px; + --density-control-height-small: 40px; + --type-eyebrow: 600 12px/16px var(--font-sans); + --type-label: 600 12px/17px var(--font-sans); + --type-meta: 400 13px/18px var(--font-sans); + --type-body-small: 400 14px/20px var(--font-sans); + --type-body: 400 15px/21px var(--font-sans); + --type-title-small: 600 17px/23px var(--font-sans); + } +} diff --git a/web/shell.css b/web/shell.css index 91eba848..8a79eee2 100644 --- a/web/shell.css +++ b/web/shell.css @@ -636,3 +636,20 @@ body { .dock-item, .dock-search { width: auto; min-width: 0; } } + +/* ---- Phone comfort ------------------------------------------------------ */ +@media (max-width: 599px) { + .pane-head { padding: 10px 14px; } + .detail-pane > .pane-scroll > .detail { padding: var(--space-m); } + .settings-pane > .settings { padding: var(--space-m) var(--space-m) var(--space-l); } + .pane-back { padding: 8px 12px 0; } + .pane-back button { min-height: 44px; font-size: 14px; } + .pane-subtitle { font-size: 13px; } + .strip-tab { font-size: 13.5px; } + .dock-item, + .dock-search { min-height: 56px; font-size: 12px; line-height: 15px; } + .dock-item .icon, + .dock-search .icon { width: 22px; height: 22px; } + .dock-badge { top: 4px; right: 8px; } + .dock-status { min-height: 32px; font-size: 12px; } +}