# Page behavior

## How old a page is

Every page's footer says when it was last updated: "Updated 3 minutes ago". For a page with sources, that's the newest answer any of its sources gave; otherwise it's when its file was last saved. Pages never expire or grey out. If whatever writes a page stops, the footer simply keeps counting, so a page that says "updated 2 days ago" tells you its writer has gone quiet.

Every write counts, changed or not, so an agent that writes the same page on a schedule keeps the footer current. `get_page` and `list_pages` report the file's `modified` time.

**Show update times** in Settings → General hides the time, and pointing at the footer still shows it. Each page can also set its own: right-click it → **Show Update Time** → **Always**, **Never**, or only after 1 hour, 1 day, 2 days or 1 week without an update, so a page that's gone quiet says so and a busy one stays tidy.

## Keeping the panel open

The panel closes when you click another app, as a menu does. To keep a page in view while you work, click the pin at the top right of the panel (⌘P). Pinned, the panel stays open when you click elsewhere, floating over other windows, and opens pinned next time. Clicking Legato's menu bar icon or pressing Escape still closes it. Click the pin again to go back to closing like a menu.

On a page with sources, the arrow left of the pin reads them all again now (⌘R). A service that asked Legato to wait before its next request still gets that wait.

## Shortcuts

Legato adds four actions to the Shortcuts app. Search the action list for Legato to find them. They reach every page in the panel, detail pages included, and every button under a card.

- **Open Page** opens the panel on a page, as choosing the page in Spotlight does.
- **Page Summary** returns one line built from the page's cards, up to six of them. Charts, links and other cards without a value are left out.
- **Get Card Value** takes a page and one of its cards, and returns the card's value: a number where the card has one, and its text, with the unit and any detail (a pacing card's target, for example). It works on stat, gauge, pacing, breakdown, flow, sparkline, status, countdown and window cards; a flow card's value is everything that flows. A status card gives its state as text (`ok`, `warning`, `critical`, `unknown` or `off`) and no number. A countdown gives the seconds until its moment, negative once it has passed, and a window the seconds until it ends or starts. When a card has no value at the moment, the action stops and says what the card shows instead.
- **Press Button** presses a button as the panel does and returns its result. A button without a [`success`](https://legatobar.com/docs/buttons.md#buttons) check asks before it runs. An [`add-event`](https://legatobar.com/docs/source-calendar.md#calendar-sources) button adds its event without the form.

Open Page brings the panel up; the other three run without it. Siri runs them through a shortcut: ask for the shortcut by its name.

This shortcut opens Packages when something is out for delivery: **Get the value of** Out for delivery **on** Packages, then **If** Card Value **is greater than** 0, **Open** Packages.

<a id="page-info"></a>

## Details

Click the Details button (a bulleted list) at the right of a page's title, beside Refresh (⌘I), or choose **Details** from the page's menu. A card slides in over the page with what the Mac knows about it, and stays until you close it with the same button, ⌘I, Escape or a click outside. Long lists show their first five rows and **Show more**.

The button is always the same grey list: problems reach you as [notifications](https://legatobar.com/docs/notifications.md) and the [Dock badge](https://legatobar.com/docs/notifications.md#the-dock-badge).

- **Health:** the page's [health cards](https://legatobar.com/docs/card-lists.md#in-page-info), first, with all they say: each status card's state and detail, and every item of a fleet under its group. A row with a link opens it. Two switches sit at each card's right. The bell has three settings, and a click moves to the next: plain, the card follows the page's **Notify about**; filled, it notifies about every change, a pause or a switch turned off included; crossed out, it's muted, so it doesn't notify, log activity or count in the Dock badge. The line lets it show in the line under the page's title.
- **Settings:** one list. **Notify about** (Problems, Every change or Nothing), **Mute** (for 1 hour or until tomorrow morning), **Dock badge**, **Line under the title**, **Update time**, **Icon in title** and **Home page**.
- **Sources**, **Buttons pressed** and **Rules** fold to one line each with a count: each source's host (or Calendar or Reminders), how often it fetches, and when it last answered with the secret it uses (by name, never the value), or what went wrong; each button pressed on this Mac and how many times; each rule and when it last ran.
- **Recent activity**, below, open to begin with.
- Last, when the page file changed, with icons that show it in Finder and copy the page as a prompt.

With the Claude desktop app, ChatGPT's Codex or Grok Bot installed, **Discuss in Claude**, **Discuss in Codex** and **Discuss in Grok Bot** in the same menu open a chat about the page, its message box filled with a prompt that names the page and its file. Codex opens the Pages folder as the chat's workspace, and asks you to trust it the first time. Grok Bot puts the prompt in its main chat (keeping a message you haven't sent) and takes up to 1,000 characters, so a card's prompt there names the card rather than carrying its data.

Nothing is sent until you send it. **Assistants** in Settings → General turns off the ones you don't use, here and in every Discuss menu.

To talk about one card, right-click it: in Claude and Codex, the prompt carries the page and its file, the card in a line, its current data as Legato has it, and the source that fills it and any problem with it. A section title brings the cards under it. It's all in the message box to read and change before you send it.

**Copy as Prompt**, beside them in a card's right-click menu and the page's menu, and the copy icon at the bottom of the Details card, puts the same prompt on the clipboard instead, with the card's data whichever app you paste it into. It's there even when none of these apps is installed.

## Recent activity

Near the bottom of a page's [Details](https://legatobar.com/docs/page-behavior.md#page-info) is **Recent activity**: each time one of the page's cards went from one level to another over the last 7 days, newest first. The cards counted are the ones [notifications](https://legatobar.com/docs/notifications.md) follow: a `status` card's `state`, the band a `gauge`'s value is in, and each `fleet` item. An entry looks like "API · Warning → Critical · 2:14 PM". `unknown`, and a gauge value outside every band, don't count. The first level Legato sees for a card isn't a change, so a page starts with no activity.

The Mac records this itself, whatever the page's notification setting: only each card's `id` and levels and the time, up to 50 changes per page. **Recent activity** in Settings → General turns it off, which also clears it. Keep a card's `id` the same from write to write, or its history starts over.

## Welcome pages

Legato comes with starter pages, in a **Welcome** section of the sidebar. **Welcome to Legato** comes first and links to the others, and to a playlist to listen to while you look around. The rest open only from its lists, not the sidebar: **Your first page** adds Service status or RSS Feeds from a template (neither needs a key), shows the command that connects Claude Code or Codex, what an agent can do, and how a page stays up to date. **Navigating Legato** shows pages, sections, collections and how to get around, with a short moving picture for each. **Notifications** explains notifications and muting a collection. **Secrets and lists** shows where keys and passwords are kept (the Keychain or 1Password), their expiry dates, and lists of your own places and names that pages check. **Cards** shows every card a page can use, with made-up numbers, grouped into sections you open one at a time, so you know what to ask for. **Prompt Library** has things to ask your assistant, grouped by work, home, money, health, travel and development, each with a button that opens it in Claude or Codex, and the templates that already do some of them.

Legato opens on Welcome to Legato the first time. The starter pages are built into the app: they aren't files in the Pages folder, and they don't count as your pages.

To remove one, choose **Delete Page…** from its right-click menu. It's gone for good on this Mac: it isn't in the Trash, and updates don't bring it back. Its entry on the Welcome page goes too. The Welcome section is an ordinary one, so you can rename, move or delete it. A starter page added in a later version joins the Welcome section, unless you've deleted the section.

