pure-gemini
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --state-root | No | Private state root directory for authoritative receipts, lock files, snapshots, and the secret vault, e.g. --state-root ~/ag-runner-state. | |
| --workspaces-root | No | Workspaces root directory for AI-mountable workspaces, e.g. --workspaces-root ~/ag-workspaces. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pg_healthC | Check the actual runtime version and process with a bounded local round trip. |
| pg_browserA | Operate the persistent Pure-Gemini browser (default target="managed") or attach to an already-open personal browser with remote debugging enabled: target="chrome" for daily Google Chrome, target="chrome_beta" for Google Chrome Beta, or target="user_chrome" (auto). Pass optional session (e.g. "flow") to isolate concurrent tasks into separate --pin-tab tabs; close is forbidden on personal targets. |
| pg_supervisor_pingB | Check Pure-Gemini host capabilities (GitHub CLI auth, Headless Chrome, Docker/Podman container runtime, macOS Seatbelt). |
| pg_slot_openC | Provision or attach an isolated Git worktree slot under ~/ag-workspaces// without touching the user's main repo. |
| pg_slot_listB | List all provisioned workspace slots and active background slot daemons. |
| pg_slot_closeA | Stop a managed background watcher daemon for a workspace slot (worktree files are preserved). |
| pg_slot_statusB | Read structured workspace slot status, verify state, dirty files, active rules/memory, and open review comments. |
| pg_verifyB | Run the slot's registered deterministic verification recipe ('full' or 'quick') and refresh CODE_GRAPH.md + REVIEW_DIFF.html. |
| pg_test_targetB | Run targeted unit tests on specific relative files/directories with optional test-name filter. |
| pg_test_impactC | Trace affected tests and run them in batches; fall back to the full recipe when dependency coverage is incomplete. |
| pg_search_codeC | Hybrid SQLite FTS5 (BM25 symbol + trigram substring RRF) code search across Python, TS/JS, Go, Rust, etc. |
| pg_code_graphC | Rebuild incremental AST & bidirectional import/blast-radius dependency graph (Python, TS/JS barrel re-exports, Go, Rust). |
| pg_diagnoseB | Run static syntax/type/lint diagnostics (Python AST, ruff, pyright, tsc, or custom diag_cmd). |
| pg_probe_uiB | Two-stage frontend verifier: static HTML/JS asset check + Headless Chromium viewport PNG screenshot & post-JS DOM/console capture. |
| pg_memoryA | Persist or recall cross-slot repository engineering rules & pitfalls (stored in knowledge.db + .agents/rules). |
| pg_sub_worktreeC | Manage isolated module sub-worktrees with in-memory |
| pg_reviewC | Manage interactive line-level code review workbench (REVIEW_DIFF.html), cloud blind-review DIFF_BUNDLE.md, or resolve must_fix comments. |
| pg_epochB | Mark a safe working-tree epoch or rollback uncommitted edits with automatic .tar backup. |
| pg_checkpointA | Deterministic commit gatekeeper: blocks on open must_fix review comments, strips cache files, commits, re-verifies a clean symlink-free |
| pg_githubA | Execute guardrail-protected GitHub operations (auth status, private-only repo creation, hookless push, draft PR) using host credentials. |
| pg_host_execB | Execute a pinned system developer binary ( |
| pg_project_taskA | Start, inspect, read bounded logs or stop a registered prepare/build/dev task in its slot worktree. Start currently requires POSIX host isolation. |
| pg_task_statusB | Read continuation state, interruptions, verification and receipt metadata. Does not retry commands. |
| pg_connection_probeB | Respond to or confirm the one-time connection test created by the local helper. Success proves a transport roundtrip, not caller identity. |
| pg_plan_modeC | Inspect or toggle kernel-level Read-Only Discussion Lock (Plan Mode: macOS chflags uchg, browser write gate, daemon exemption, pre-unlock snapshot, optional timed unlock ttl_minutes). |
| pg_undo_turnC | Create a manual pre-edit snapshot or one-click restore a Git slot or non-Git folder back to its pre-unlock/baseline snapshot. |
| pg_ledgerC | Read or update the cross-window per-project task blackboard (SESSION_LEDGER.md) with progress, Grill-Me execution contract (approved_goal/approved_files/non_goals), pending decisions, pitfalls, and browser session bindings. |
| pg_folder_adoptB | Adopt a non-Git folder inside ~/ag-workspaces in-place, APFS-clone an external folder into ~/ag-workspaces, or sync an imported clone back to its origin. |
| pg_secretsC | List key names (never plaintext values) or delete keys in the local 0o600 Secret Vault. |
| pg_blind_reviewB | Run zero-disconnect independent local read-only blind review on a slot diff (security/hygiene/scope-drift + optional read-only CLI), writing ctl/BLIND_REVIEW.md and optionally ctl/REVIEW_FEEDBACK.json. |
| pg_detect_recipesB | Safely inspect a local repository manifest (read-only) to detect suggested verify and quick_verify recipes. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 31 tools
Most tools map to distinct lifecycle actions, and the detailed descriptions clarify boundaries. However, several clusters could still be confused without close reading: health/probe tools, verification/test/diagnostic tools, review vs blind review, and epoch/checkpoint/undo snapshot tools.
All tools use a consistent pg_ snake_case prefix, which makes the set readable. The action pattern is not fully uniform, though, mixing noun-style names like pg_health, pg_memory, and pg_checkpoint with verb_noun names like pg_slot_open and noun_verb names like pg_folder_adopt.
The 31-tool surface is heavy and exceeds the typical well-scoped range, creating real selection and cognitive-load costs. The broad local-development orchestration domain justifies many tools, but several could likely be consolidated.
The set covers a wide lifecycle: workspace provisioning, verification, testing, code search, diagnostics, review, commit gating, rollback, GitHub, host execution, tasks, memory, and secrets. A minor gap is that pg_secrets can list key names and delete keys but does not expose setting or reading secret values, and some edge operations may still require host execution.