## §OIP SYSTEM ARTICLE — LOOP (6 operations)
A generated article for one OIP shelf. It lists every operation in this API/CLI/MCP/device/model/core subsystem, links each leaf article, and gives the ledger path for proof.

### Read Order
- scan operations
- open a leaf doc
- run via run_now or POST /api/dispatch
- open receipt
- repair/replay if needed

### Operations
- **LOOP_DAY** — Every Loop metric for one day. $1 = a date, YYYY-MM-DD.
  when: "how did we do on the 1st", "revenue yesterday", any single-day question
  args: $1 = date
  doc: https://miscsubjects.com/api/dispatch?key=LOOP_DAY&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=LOOP_DAY&body=2026-09-01&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=LOOP_DAY
- **LOOP_PERIOD** — Loop metrics summed over any period. $1 = from, $2 = to.
  when: "last week", "August", "since we stopped ads" — any range
  args: $1 = from date, $2 = to date
  doc: https://miscsubjects.com/api/dispatch?key=LOOP_PERIOD&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=LOOP_PERIOD&body=2026-08-01%7C2026-08-31&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=LOOP_PERIOD
- **LOOP_MONTHS** — Loop metrics month by month across the whole history.
  when: "how has revenue trended", "month over month", spotting a change
  args: none
  doc: https://miscsubjects.com/api/dispatch?key=LOOP_MONTHS&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=LOOP_MONTHS&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=LOOP_MONTHS
- **LOOP_CUSTOMER** — Everything known about one customer. $1 = their email.
  when: "tell me about this customer", "what has she ordered", support lookups
  args: $1 = email
  doc: https://miscsubjects.com/api/dispatch?key=LOOP_CUSTOMER&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=LOOP_CUSTOMER&body=blakebware%40gmail.com&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=LOOP_CUSTOMER
- **LOOP_TOP_CUSTOMERS** — Customers ranked by lifetime spend. $1 = how many.
  when: "who are our best customers", whale analysis, retention targets
  args: $1 = limit
  doc: https://miscsubjects.com/api/dispatch?key=LOOP_TOP_CUSTOMERS&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=LOOP_TOP_CUSTOMERS&body=20&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=LOOP_TOP_CUSTOMERS
- **LOOP_COHORTS** — Customers grouped by the month of their first order.
  when: "is retention getting worse", "what is a new customer worth"
  args: none
  doc: https://miscsubjects.com/api/dispatch?key=LOOP_COHORTS&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=LOOP_COHORTS&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=LOOP_COHORTS

### Troubleshooting
- If a row's example has placeholders, replace only the placeholder values and preserve separators.
- If a call fails, open its receipt and repair it with POST /api/dispatch {key, body, repairs:'inv_ID'}.
- If token scope denies this system, ask the owner for a row:/rows:/pfx: token scoped to the exact operation set.

Back to the tree: https://miscsubjects.com/api/dispatch?map=1&format=markdown