agent-activity
Streams what the agent is doing into the room, as rows the desktop client renders in an **events drawer** above the composer (collapsed: avatar, pulsing dots,…
/observe — natural-language entry to the Policy Interaction Layer: compile an NL request into a structured observation/subscription policy, confirm via effect-card (or standing approval), then subscribe on the events plane.
$ npx -y skills add sonichi/sutando --skill observe --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/observeContext preview
The summary Claude sees to decide when to auto-load this skill.
/observe — natural-language entry to the Policy Interaction Layer: compile an NL request into a structured observation/subscription policy, confirm via effect-card (or standing approval), then subscribe on the events plane.
name: observe description: "/observe — natural-language entry to the Policy Interaction Layer: compile an NL request into a structured observation/subscription policy, confirm via effect-card (or standing approval), then subscribe on the events plane."
The owner (or a scoped user) says what they want watched, in natural language:
/observe watch doc changes in this room and ping me daily
The core agent COMPILES that into a structured draft; everything deterministic around the compilation lives in `observe_policy.py`. Design + resolved decisions: `workspace notes/observe-mvp-slice-design.md`.
1. **Compile (LLM-side — you):** produce a draft dict: `{room_id, event_types[], mode, cost_cap?, created_by, source_text}`
`reaction.added`, `artifact.updated`, `member.joined`, …). Unknown intent → ask, don't guess.
owner) | `taskify` (promote batches to ambient tasks — never standing-approved). 2. **Validate:** `observe_policy.validate_draft(draft)` — errors go back to the user verbatim; do not "fix" a draft silently. 3. **Standing approval:** `evaluate_standing_approval(rec, owner_mxid=…, owner_rooms=…)`. `owner_rooms` = rooms the owner OWNS — created by the owner or where the owner holds PL≥50 (checked via the room state the core already has; when ownership is unknown, the room is NOT in scope). Familiarity — "the owner sent a task from here" — is NOT ownership: a shared room must never enter standing-approval scope (001 review; the server's four-way authz still gates the subscribe, but the standing-approval semantic is stricter by design). True → save + `transition(id, "active")` + subscribe + post the AUTO-ACTIVATED card (visibility is mandatory — never activate silently). False → save draft + post the CONFIRM card and wait for the decision. 4. **Decision grammar** (same infrastructure as human-action cards): `policy <id> activate | edit <new text> | cancel` — typed reply, reaction on the card, or (when custom-event fan-out lands) an A2UI button. `edit` recompiles with the new text into the SAME policy id. 5. **Subscribe on activate:** events client `subscribe(room_id, event_types)` — the events plane's four-way authz is the permission evaluator; a subscribe rejection (e.g. PL too low) goes back to the user as the card's failure line, not swallowed. 6. **Enforcement:** active `notify`/`record`/`taskify` policies are consumed by the sparrow drain handlers (taskify today; notify/record handlers are the next slice). `cost_cap` shows the CAP on cards; metering is a later slice.
SubscriptionStore (`<workspace>/state/observe/`), effect-card renderer (plain text always; A2UI choice-group in the real renderer contract behind `include_a2ui`).
terminal states immutable, every transition audited.
Test: `python3 tests/observe-policy.test.py` (99% module coverage).
My AI Stand — Realtime by Day, Rewriting Itself by Night. Summon my AI superpower. Voice, vision, screen, meetings, calls when I'm engaged. Learns my patterns, ships its own code when I'm not. Runs across my Macs, interacts with people & their Stands.
Repo: sonichi/sutando
Streams what the agent is doing into the room, as rows the desktop client renders in an **events drawer** above the composer (collapsed: avatar, pulsing dots,…
Local Agent Registry — a standalone, dependency-free service that tracks running Claude Code (and other) agent instances. Agents self-register on startup and…
**Prefer the `ag2-space` MCP tools when they are connected and the room exposes them** — availability is per-room and per-actor, so check…
Deterministic final-answer normalizer — a last-step pass for any task that ends in a *precise* answer (a number, a short string, a comma-list). Applies the…
Transcribes audio files and voice notes to text via Gemini 2.5-flash. Integrates with Slack, Discord, and Telegram bridges so voice clips surface as readable…
Act back on the owner's Bee wearable — the TOOL half of the Bee integration (channels-vs-tools split). The Bee CHANNEL (ag2-sparrow's `sources/bee.py` watcher)…