CodeNomad/docs
Pascal André 8656d1f7e5
fix(missions): make the subagent depth one menu row and Save as brief an icon (#1391)
## Summary

The creation form's subsession nesting depth was a block of prose:
- a heading and its info icon;
- the write target, the effective depth and a nesting sentence;
- the configuration file, often the same path again;
- a numeric field, then the nesting rule;
- a second rendering of the info text;
- an Inherit button.

It is now **one row**, like Task sessions.

- **Subagent depth ⓘ [menu]**: Inherit (naming the inherited depth while
no project override is set), then 1 to 10 within the capability's
maximum. A choice saves at once, so the Inherit button, the Enter/Escape
handling and the invalid-value state are gone.
- While an empty project `experimental` block hides the inherited depth,
the menu shows **OpenCode default**; choosing Inherit repairs it.
- **Everything else is in the one info tip**, one part per line: scope,
nesting rule, effective depth, nesting status and both paths (isolated
left-to-right). The shared tooltip now honours line breaks.
- Only actionable alerts and the unsupported-contract status stay under
the row. Saving and saved states are announced to assistive technology
only.
- Reads and writes lock the menu with `aria-disabled` (keeping focus)
and refuse a choice made meanwhile.
- In the creation form the row is part of **Delegation**, whose rows
share one label column, so both menus line up. Preferences shows the
same row.
- The creation footer's **Save as brief** is a bookmark icon named by
its tooltip.

![The Delegation group: Task sessions and Subagent depth as two aligned
rows, the bookmark icon in the footer (real dev
instance)](https://raw.githubusercontent.com/NeuralNomadsAI/CodeNomad/e14f3e7817b428394fc6dfbbf9eaa51dd421f69c/pr-assets/missions-depth-row.png)

![The depth info tip, one part per line (real dev
instance)](https://raw.githubusercontent.com/NeuralNomadsAI/CodeNomad/e14f3e7817b428394fc6dfbbf9eaa51dd421f69c/pr-assets/missions-depth-info.png)

## i18n, docs and help

- Ten locales: `missions.depth.label` shortened, `inheritValue` and
`masked` added, `title` and `invalidValue` removed; the hint no longer
says an empty value inherits.
- `dev-docs/MISSIONS.md` describes the row, its info and the icon.
- The Missions help is updated in ten locales.

## Validation

- Browser tests drive the menu:
  - the one-row layout (one info tip, no prose, no buttons);
  - the offered values and Inherit's label;
  - immediate saves;
  - locked reads and writes refusing a forced choice;
  - the empty-block repair;
  - the info lines (nesting status, paths);
  - uncertainty fencing across Locations;
  - the row inside Delegation and the footer icon.
- Full `mission-*` suite plus automation-forms and preferences-startup:
549/549.
- UI typecheck and `npm run test:help` pass.
2026-11-08 17:31:31 +01:00
..
features/wake-lock feat(settings): keep the computer awake while CodeNomad is running (#1307) 2026-11-06 04:44:18 +01:00
guides ci(release): sign Windows artifacts with SignPath (#1257) 2026-11-01 16:07:50 +01:00
help fix(missions): make the subagent depth one menu row and Save as brief an icon (#1391) 2026-11-08 17:31:31 +01:00
screenshots feat(integrations): ship native Status sections and catalogue installation (#1283) 2026-11-04 01:36:40 +01:00