<< All versions

Skill v1.0.0

currentAutomated scan100/100
mazebench/mazebenchengine/review-environments
──Details
PublishedSeptember 29, 2026 at 08:53 AM
Content Hashsha256:8b0add47d13e6895...
Git SHA
──Files
Files (1 file, 5.2 KB)
SKILL.md5.2 KBactive
SKILL.md · 76 lines · 5.2 KB

version: "1.0.0" name: review-environments description: Review verifiers environments for correctness, robustness, and ecosystem compatibility. Use when asked for environment code review, quality audit, migration validation, or release readiness checks for local environments or environments pulled from the Hub.


Review Environments

Goal

Find correctness risks and regressions first, then assess maintainability and ecosystem compliance.

Review Input Modes

  1. Local environment module in ./environments/<env_name>.
  2. Pulled Hub environment via prime env pull owner/name.
  3. Installed package under active workspace.

Review Workflow

  1. Identify environment contract:
  • load_environment(...)
  • base class and rollout behavior (SingleTurnEnv, MultiTurnEnv, ToolEnv/MCPEnv/StatefulToolEnv, SandboxEnv/PythonEnv, V1 vf.Env with vf.Taskset[Config]/vf.Harness[Config] for framework programs, CliAgentEnv for sandboxed agents)
  • rubric and metrics
  1. Verify installability and runtime entrypoint with the canonical eval path. Do not add --skip-upload unless the user explicitly requests that deviation; standard runs save automatically for the private Evaluations tab and prime eval view:
bash
prime env install <env>
prime eval run <env> -m openai/gpt-4.1-mini -n 5
  1. Trace reward pipeline and validate scoring semantics.
  2. Run targeted checks for tool/stateful behavior where applicable.

Endpoint And Model Selection Nudge

  1. Encourage endpoint alias setup in configs/endpoints.toml for reproducible review runs.
  2. Check api_client_type when reviewing non-default providers. openai_chat_completions is the default; openai_responses and anthropic_messages should be explicit in endpoint configs when those protocols are required.
  3. Ask whether review coverage should prioritize instruct or reasoning behavior.
  4. Instruct go-tos: gpt-4.1 series, qwen3 instruct series.
  5. Reasoning go-tos: gpt-5 series, qwen3 thinking series, glm series.

Critical Review Criteria

  1. Reward correctness:
  • Prefer deterministic, explicit checks or LLM judges.
  • Flag best-effort keyword or style heuristics unless explicitly approved.
  • Verify the scoring semantics from code before treating a low reward as an implementation failure. Some environments intentionally complete with 0.0 reward when the model fails the task.
  1. Environment self-containment:
  • Flag any requirement for user-managed background services before load_environment().
  • Require environment-managed lifecycle for sandboxes/sessions.
  1. v1 taskset/harness contracts:
  • Expect new taskset/harness environments to use the v1 vf.Env(taskset=..., harness=...) / vf.Taskset[Config] / vf.Harness[Config] format as the environment boundary, with EnvConfig containing only taskset and harness child configs.
  • Expect tasksets to own task data, task-owned tools, user behavior, metrics, rewards, and task-specific config. Flag one-off harness classes that only wrap task behavior.
  • Expect shared dependencies to use bindings owned by the taskset, toolset, user, program, or harness that needs them. Flag pre-initialized resource objects passed through environment loaders; object entries should be serializable loader paths or no-arg loader callables.
  • Verify Task data is serializable, state remains serializable at rollout boundaries, and model/client controls flow through runtime state rather than top-level dataset columns.
  • For V1 harness programs, verify framework clients consume state.get_endpoint_config(api="chat") rather than hardcoding an upstream LLM endpoint. For CliAgentEnv agents, verify sandboxed agent code consumes the injected interception endpoint; the proxy is what makes rollouts visible to the rubric.
  1. Migration fidelity:
  • For ports, verify one-to-one equivalence of prompts, tool traces, and scoring logic.
  • Flag any assumptions made without user decision.
  1. Secrets handling:
  • Ensure required keys are validated in load_environment() with vf.ensure_keys(...).
  1. Performance and scaling:
  • Identify obvious bottlenecks in dataset loading, rubric calls, or tool execution.
  1. Packaging and repo hygiene:
  • If an environment was renamed or moved, verify pyproject.toml, README/docs references, package include paths, tests, and generated AGENTS output were updated together.
  • Flag bytecode, coverage files, local eval outputs, and temporary build artifacts unless they are intentional release assets.

Config And Docs Surface

  1. Check that eval, GEPA, RL, and Hosted Training examples use the same public TOML shape where applicable.
  2. For v1 configs, route settings through [env.taskset] and [env.harness]; use a concrete EnvConfig subclass when the loader needs concrete child config types, and avoid root env config knobs.
  3. If docs changed public behavior, verify the relevant bundled skill was updated too.

Findings Format

Return findings first, sorted by severity:

  1. P0/P1 bugs and behavioral mismatches.
  2. P2 quality risks and maintainability issues.
  3. Test gaps and missing eval coverage.

Include file paths, exact lines, impact, and concrete fix direction.

If No Findings

State explicitly that no defects were found, then list residual risk and untested areas.

All versions