Something Else

cms-edit · Eagle Capital

← All playbooks · Raw API

task-navigation

# Capability: Navigation

The header and footer come from navigation entries. Tags are off on this site. That does not turn the menu off.

## Intent phrases

- update menu
- change navigation
- footer links

## Prerequisites

- Read `cms-edit://customer/routing` for URL shapes
- `cms_edit ["index", "sync"]` for navigation entry lookup

## Steps

1. `cms_edit ["list", "--type", "navigation"]` — find nav entry
2. `cms_edit ["nav", "open", "--nav-id", "<navigationId>"]` or `["nav", "open", "--nav-name", "Main menu"]` — **not** `--id`
3. `snapshot` — inspect nav items (array field may be `entries`, `items`, or `navigationItems`)
4. Eagle has **one** main menu (`navigation-menu`) on every page. Edit it in place; nested children are shared, so a change is always global.
   - Never set a different `menu` on a page, template, article type or tag type, and never clone the menu for one page. Every `menu` field must be `navigation-menu`, never empty (a page with no menu renders no nav), otherwise that page shows a different nav (the old "Menu (dark text)" `1onjVkE2RPPle2p947maDH` did this on person, insight, podcast and legal pages). The nav bar colours are fixed in code (`src/project/chrome-colour.ts`) and ignore CMS menu colours, so only the menu items differ.
5. Add/clone/link items per navigation commands. `nav clone` is **shallow** for nested `navigationItems`.
6. `diff` → `save`

`peek` is one-shot. `open` / `nav open` persist. `preview urls /slug` follows that slug even if session `_mcp` is another page.

See `contentful-cms-navigation` skill for full command reference in dev environments.

## Confirmation gates

1. Confirm which menu (header/footer); the edit is global
2. `diff` before `save`

## Out of scope

- Publish

## Related resources

- `cms-edit://customer/routing`