## §OIP SYSTEM ARTICLE — Directory (self-edit) (3 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
- **DIR_GET** — Read one directory row by key.
  when: the user asks about a specific tool, agent, or setting.
  args: $1 = the row key.
  doc: https://miscsubjects.com/api/dispatch?key=DIR_GET&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=DIR_GET&body=ROUTER&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=DIR_GET
- **DIR_LIST** — List every directory row
  when: you need to dir list
  args: see content
  doc: https://miscsubjects.com/api/dispatch?key=DIR_LIST&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=DIR_LIST&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=DIR_LIST
- **DIR_PATCH** — Edit a directory row (a prompt or capability) by KEY. json_body is a JSON object with any of {type,target,auth
  when: "edit a prompt", "edit a capability", "change a tool", "update the ROUTER prompt", "edit a directory row".
  args: key | json_body
  doc: https://miscsubjects.com/api/dispatch?key=DIR_PATCH&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=DIR_PATCH&body=ROUTER%7C%7B%22content%22%3A%22new%20prompt%20text%22%7D&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=DIR_PATCH

### 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