Operator Manual Step-by-Step Visual Walkthroughs

Complete User Guide: 10 Desks of Tharior Remedai

This guide walks you step-by-step through every desk in the Tharior Remedai workspace. Learn how to onboard repositories, inspect AST Knowledge Graphs, trigger autonomous code remediation, resolve ambiguity interviews, review pull requests with automated security analysis, and operate the Dead-Letter Queue (DLQ).

1. Agent Studio Desk (/studio)

The Agent Studio is your primary workspace for interactive prompt-driven remediation, multi-file code editing, AST scope targeting, syntax validation, and 1-click Pull Request creation.

Agent Studio Desk Screenshot showing prompt input, tier badge, Anvesh knowledge graph panel, and unified diff
Figure 1: Agent Studio Desk — Prompt card with automatic Tier 6 (Claude 3.5 Sonnet) allocation, Anvesh Knowledge Graph AST reference panel, and unified diff with syntax validation.

How to Use Agent Studio:

  1. Select Target Repository & Branch: Use the top dropdown to select your active repository (e.g. payments-service (main)).
  2. Enter Remediation Prompt: Describe the bug fix, refactor, or feature in natural language.
    Add idempotency key validation and exponential retry backoff to payments webhook handler
  3. Scope Selection:
    • Single File Scope: Provide a specific path (e.g. apps/api-gateway/app/main.py) for pinpointed, micro-targeted edits.
    • Whole Repository Mode: Toggle whole repo mode to allow the agent to traverse the AST dependency graph and coordinate cross-file changes across multiple modules.
  4. Autonomous Tier Allocation: The engine automatically maps the task to the lowest-cost capable model from your live OpenRouter catalog (e.g. Tier 1 for typos, Tier 6 for multi-file refactors, Tier 10 for multi-model consensus).
  5. Inspect Unified Diff & Syntax Status: Review the green additions and red deletions. Notice the Syntax: VALID guarantee before any disk write.
  6. Click "Create Pull Request": Creates an isolated feature branch (remedai/patch-[hash]), commits the patch, opens a pull request, and returns you cleanly to your working branch.

2. Clarification Desk (/clarifications)

When an inbound ticket contains ambiguous or underspecified requirements, the Ambiguity Gate halts execution to prevent hallucinated code changes. The task generates an interactive interview session.

Clarification Desk Screenshot showing active interview cards, Slack and Teams notifications, and resolve button
Figure 2: Clarification Desk — Active interview card for ambiguous ticket with multi-choice options, Slack & Teams webhook dispatches, and 1-click task resumption.

How to Resolve Ambiguities:

  1. Inspect Blocked Sessions: The left panel lists all tickets currently waiting for human clarification with priority tags.
  2. Review Question Cards: The agent generates specific, contextual questions (e.g., "Select Backoff Strategy" or "Choose Dead-Letter Queue destination").
  3. Select Options or Provide Custom Input: Click the preferred option (e.g., Exponential Jitter (max 5 attempts, backoff factor 2.0)).
  4. External Chat Notification: The system automatically delivers interactive cards to your configured Slack channel (Block Kit) and MS Teams (Adaptive Cards).
  5. Click "Resolve & Resume": Submits the answers, transitions the ticket to READY_FOR_SYNTHESIS, and automatically wakes up the background agent worker.

3. Knowledge Graph & AST Explorer (/knowledge-graph)

Powered by the Anvesh Vector DB & Knowledge Graph, this desk allows developers and architects to explore the code structure as an intelligent semantic network rather than flat text files.

Knowledge Graph Desk Screenshot showing 2D/3D AST node network, symbol tree, and vector semantic search
Figure 3: Anvesh Knowledge Graph — Interactive AST node network, class/method call chains, PageRank centrality scores, and vector semantic embeddings.

Key Features:

4. Git PR Review Desk (/pr-review)

The Pull Request Review Agent evaluates generated or human-submitted code diffs for functional correctness, style adherence, and critical AST security vulnerabilities.

Git PR Review Desk Screenshot showing AST security verdict badge, inline line comments, and auto-merge rebase trunk button
Figure 4: Git PR Review Desk — Pull Request #89 automated security report, line-by-line review comments, APPROVED verdict (92/100), and clean trunk rebase trigger.

Review Workflow:

  1. Enter PR Number or Diff: Provide the PR number or paste a unified diff.
  2. Automated AST Security Inspection:
    • Checks for dangerous dynamic code evaluation (eval(), exec()).
    • Detects unescaped SQL injections and hardcoded credentials.
    • Identifies uncaught error paths and potential memory leaks.
  3. Verdict Classification: Diff receives an automated verdict (APPROVED, REQUEST_CHANGES, or NEEDS_DISCUSSION) along with a 0-100 quality score.
  4. 1-Click Auto-Merge & Rebase: Click Auto-Merge & Rebase Trunk to fast-forward merge the patch into main using the built-in Branch Operator.

5. Observability & DLQ Desk (/observability)

The Observability Desk provides Site Reliability Engineers (SREs) with executive KPIs, real-time memory headroom monitoring, circuit breaker trip indicators, and the Dead-Letter Queue (DLQ).

Observability and DLQ Desk Screenshot showing KPIs, Prometheus charts, Dead Letter Queue table, and memory headroom gauge
Figure 5: Observability & DLQ Desk — Real-time Success Rate (99.4%), Prometheus scrapable metrics, Dead-Letter Queue quarantine list, and 1,832 MB memory headroom gauge.

DLQ & Resiliency Operations:

6. Model Catalog & 10-Tier Pricing (/catalog)

Tharior Remedai features zero hardcoded models. The Model Catalog Desk syncs continuously with OpenRouter and allows administrators to inspect and tune the 10-Tier Dynamic Hierarchy:

Tier Tier Name Typical Complexity Representative Models
Tier 1 Micro-Lint & Formatting Score 1 (Typos, README, comments) Qwen 2.5 Coder 7B, Llama 3.2 3B
Tier 2 Ultra-Fast Patching Score 2 (Docstrings, rename variable) Mistral 7B Instruct, DeepSeek Lite
Tier 3 Economy Coder Score 3 (Unit tests, assertions) Qwen 2.5 Coder 32B, DeepSeek V2.5
Tier 4 Mid-Range Generalist Score 4 (API handlers, routes, validators) Claude 3.5 Haiku, GPT-4o-mini
Tier 5 Fast Reasoner Score 5 (Algorithms, state machines) DeepSeek R1 Distill, Gemini 1.5 Flash
Tier 6 Core Workhorse Score 6 (Multi-file refactors, ORM) Claude 3.5 Sonnet, GPT-4o
Tier 7 Deep Reasoner Score 7 (Deadlocks, race conditions) o1-mini, DeepSeek R1 Full
Tier 8 Senior Architect Score 8 (Protocol migrations, breaking APIs) o1 Preview, Claude 3 Opus
Tier 9 Frontier Synthesis Score 9 (Formal verification, cryptography) o1 High Reasoning, Gemini 2.0 Pro
Tier 10 Elite Consensus Score 10 (Multi-model consensus voting) Multi-Model Ensemble (Sonnet + o1 + R1)
Customer Tier Overrides (±2 Tiers Policy)
Enterprise policy allows engineering teams to pin specific projects up or down by up to ±2 tiers from the autonomous recommendation, balancing precision and cost while preventing extreme allocation drift.

7. Issue Backlog Desk (/backlog)

Unified inbox for issues coming from Jira webhooks, GitHub Issues, and ServiceNow. Features automated SLA countdown timers, priority sorting (Critical, High, Medium, Low), and 1-click batch dispatch for autonomous remediation.

8. Multimodal Studio Desk (/multimodal)

Allows engineers to upload UI screenshots, whiteboard architecture sketches, and system diagrams. The vision engine parses database schemas and API flows directly into AST context. Also includes an audio narration synthesizer to generate spoken walkthrough scripts for complex Pull Requests.

9. Repo Onboarding Desk (/repos)

Connect new GitHub/GitLab repositories in seconds. Tracks multi-branch checkouts, extracts symbols into the Anvesh Vector DB, and monitors file tree health metrics (lines of code, AST symbol density, and commit frequency).

10. Settings & Isolation Desk (/settings)

Central administration desk for:

Need Architectural & Flow Visuals?
Check out the visual lifecycle diagrams and navigation matrix:
View the Interactive Navigation Flow Map & State Machine →