# Rock Arch

> A desktop launcher and terminal CLI backed by a shared local broker that lets operators jump straight to Rock RMS records with typed prefixes like g: youth while keeping private Rock credentials off public documentation queries.

- URL: https://bscottdavis.com/work/rock-arch
- Category: Developer & Operator Tool
- Role: Architect & Builder (ONE&ALL Church, 2026)
- Topics: Rock RMS, Developer tools, Security boundaries, AI systems
- Stack: Python, Local Broker, Rock REST API, CLI, Rock Agent KB
- Repository: https://github.com/ONE-ALL-Church/rock-arch-omarchy

When a teammate asks *"Can you pull up the youth group?"*, you already know two facts: you are in Rock RMS, and you want a Group. Rock Arch turns that into a single keyboard flow: open the launcher, type `g: youth`, press Enter, and open the Rock record directly.

> [Interactive component: RockArchVisual (open in browser to run)]

## Why scoped prefixes beat generic search

Numeric IDs collide across entity types in Rock. A Group and a Page can both hold ID `42`. Typing `g: 42` routes strictly to the Groups endpoint instead of mixing People, Pages, and Workflows into one ranked list. Opening the launcher with an empty query shows recent links from local history, since the fastest search is often reopening a record you touched five minutes ago.

## Separating permissions, errors, and public docs

> [Interactive component: BeforeAfter (open in browser to run)]

> **Finding versus acting**

<p>Both the desktop launcher and terminal CLI talk to the same local broker. In the CLI, searching returns inspectable matches while opening a record requires an explicit second command. That lets scripts and agents stop at "I found this group" without taking unsolicited actions.</p>

## Sources

1. [Rock Arch search prefixes, exact IDs, and recent links](https://github.com/ONE-ALL-Church/rock-arch-omarchy/blob/eecea2ec3884d53042f316b66d9b5d955986559e/README.md#L193-L232)
2. [Category capability checks and scoped search adapter](https://github.com/ONE-ALL-Church/rock-arch-omarchy/blob/eecea2ec3884d53042f316b66d9b5d955986559e/rock_lens_broker/rock_rest_adapter.py#L335-L441)
3. [Separate public knowledge client](https://github.com/ONE-ALL-Church/rock-arch-omarchy/blob/eecea2ec3884d53042f316b66d9b5d955986559e/rock_lens_broker/rock_kb_adapter.py#L115-L157)
