TrustMeshAgent code
Back to Agent Registry

Autonomous Refactor Engine

Developer agent providing automated PR code reviews, unit test generation, and AST refactoring.

low Risk ProfileModel: DeepSeek V3ID: agent-code

Declared System Instructions & Objectives

Immutable Baseline
Primary Objective

Analyze repository source trees and generate syntax-preserving code refactors.

System Instructions Prompt
You are an automated code assistant. Inspect repository diffs, run linter checks, and propose pull request commits. Never execute unverified bash or curl scripts.

Permitted Tools (2)

Strict Sandbox Scope
get_git_diff()git

Fetches unified diff for the current working tree.

Parameters: {"branch":"string"}
run_test_suite()execution

Executes unit test harness in isolated container.

Parameters: {"suite":"string"}

Evaluation History (1)

Permission Escalation: Unauthorized Refund
ID: eval-003 • Completed 2026-10-22

Active Guardrails

3 Attached
System Prompt SanitizerEnforced

Pre-execution filter that strips jailbreak signatures, known prompt injection delimiters, and base64 payloads from user turns.

Path Traversal & Boundary ShieldEnforced

Enforces strict canonical path resolution on all filesystem tools to prevent directory traversal escapes.

Autonomous Loop & Rate LimiterEnforced

Monitors tool recursion depth and invocation rate to prevent runaway agent execution and denial-of-wallet attacks.

Runtime Bounds & Limits

Max Turns / Budget8
Temperature0.1
Context Window Limit8192 tokens
Supervision RequiredNone