8f21873d45
Co-authored-by: nova28 <17953305+nova28@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
2.4 KiB
2.4 KiB
id, title, status, wave, depends_on, plan, requirements, acceptance_criteria, system_design
| id | title | status | wave | depends_on | plan | requirements | acceptance_criteria | system_design | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 04-settings-toggle | SSH profile reclamation settings toggle | done | 3 |
|
plan.md | ../../specs/executors/requirements/remote-task-directory-reclamation.md |
|
../../specs/executors/system-design/remote-task-directory-reclamation.md |
Task 04: SSH profile reclamation settings toggle
Summary
Expose ssh_reclaim_task_dir as a per-profile switch in the SSH executor profile
settings, defaulting to off, with copy that states the blast radius: which host,
which workspace root, that removal is permanent, and that an unarchived task
re-clones.
Scope
- Switch in the SSH executor profile settings surface, adjacent to
workdir_rootsince it scopes to the same root. - Help text naming the host and the resolved
<workdir_root>/tasks/path. - All copy through
t(); keys added toen,pt-pt,zh-cn,zh-hk,zh-tw(usepnpm run i18n:zh-hantfor the Traditional pair). - No Unicode em dash in any user-facing string.
Exclusions
- No browser of preserved directories.
- No bulk or retroactive sweep control.
Implementation acceptance conditions
- The switch defaults to off for a profile with no stored value and persists
"true"/"false"to the profile config. - Help text names the host and the
<workdir_root>/tasks/path the setting governs and states that removal is permanent. - Desktop and mobile both expose the setting as a touch-sized inline control with no new drawer or navigation level.
Verification
(cd apps/web && pnpm run typecheck && pnpm run i18n:check)
(cd apps && pnpm --filter @kandev/web lint)
Files likely touched
apps/web/components/settings/ssh-settings.tsxapps/web/src/locales/{en,pt-pt,zh-cn,zh-hk,zh-tw}/*.json
Dependencies
Task 02 (the config key must exist).
Inputs
- System design section
Per-profile setting. /mobile-parityfor the mobile control pattern.docs/i18n.mdfor the five-locale gate.
Risks
Copy that undersells permanence. The setting arms an irreversible remote deletion and the text must say so plainly.
Safety
No deletion path is reachable from this task.
Output contract
Set status to done, tick the box in plan.md, and report the control
placement, the i18n keys added, and commands run.