eridian-developmentlisted
Install: claude install-skill slaveofcode/Eridian
# Eridian development
Eridian is a local, **read-only** desktop dashboard (Tauri 2 + Rust core / React + TS)
for AI coding agents (Claude Code + OpenCode). Follow this on every change. Deeper
detail: `CONTRIBUTING.md`, `CLAUDE.md`, `PLAN.md`.
## Guardrails (never violate)
1. **Read-only against agent data.** Never write/rename/truncate under `~/.claude/`,
`~/.config/opencode/`, `~/.local/share/opencode/`. Files opened read-only; the
OpenCode DB uses `SQLITE_OPEN_READ_ONLY`. Eridian writes only its own app-data dir.
Sole exception: starting/stopping an Eridian-*managed* `opencode serve` (localhost,
user-invoked).
2. **Never crash ingest on bad input** → store `kind="unknown"` + raw, `tracing::warn!`
(path/offset only), continue. No `unwrap()/expect()` in ingest/command paths; use
`anyhow::Result` + `?`.
3. **Transcripts are sensitive** — never log event/message bodies, tool inputs/outputs,
or `raw_json`. Log paths/counts/offsets/durations only. DB is `0600`.
4. **Local only** — no network except `http://localhost:<opencode_port>`; no telemetry.
One opt-in exception: catalog browsing (Settings toggle, default off) may make
GET-only requests to a compiled-in allowlist — `registry.modelcontextprotocol.io`,
`api.github.com`, `raw.githubusercontent.com` — for public catalog metadata; nothing
uploaded, responses cached locally. No POSTs, no scraping, never on the update path.
5. **No dependencies without stating why.** Frontend renders zero-dep (o