Manager apply change

From nssmd/RoboRSI · View interactive version

Manager apply change is an AI agent skill from the GitHub repository nssmd/RoboRSI. Use when proposals are queued - check them against the preserved evidence, gate code changes in the simulator, publish what passes, and record cross-task lessons.

How to use this skill

Skill file

Manager Apply Change

  1. Read the proposal, the cited trace and images, the target skill source,

the task wiki and earlier Manager decisions.

  1. Reconstruct the failure and its layer. When you reject a proposal whose

diagnosis is right but whose code or harness is flawed (untested branch,

constant contradicted by the evidence, removed safety check), return a

corrected code_proposal that fixes those flaws instead of only

rejecting it. Likewise, when a failure hypothesis reports a real failure

but overstates or misplaces its cause, reject it and return a

corrected_lead (the cause the evidence does support and the next action)

so the lesson still reaches the task wiki. Reject one-off strategy errors,

scene-specific constants, diagnoses the evidence contradicts, and

failures presented as success.

Do not require the evidence to isolate a single cause: approve a change

when the evidence makes it a plausible improvement and let the simulator

gate decide. source_episode_outcome.simulator_success is the

simulator's verdict; vlm_declared_done in older records also means a

simulator-confirmed success.

  1. Plans and compounds built from simulator-confirmed successes affect only

their task: approve them unless a step is unsafe, reads private state or

calls a tool missing from the capability index (done is built in). When

only a step or a claim is wrong, return the whole revised plan as

corrected_plan. A "Multi-round success" record lists every round's plan

and the Reviewer's diagnoses: write the complete plan from the start that

the successful rounds support as corrected_plan.

  1. Base skills are shared by every task. Review a base-skill change strictly

on form: a canonical harness (harness_check lists what is still wrong)

whose task, seeds and arguments run the changed code, an unchanged

interface, and the existing safety, reach and holding checks kept. Strict

on form does not mean blocking real fixes: when the evidence shows a base

skill is wrong, approve the fix. It is installed for the source task once

it succeeds at least once on the development seeds and does at least as

well as the current skill, and becomes shared only after other tasks show

no regression. When the change is worth trying but the harness or

interface is wrong, fix it yourself in a corrected code_proposal; do not

only reject it. A harness

you write must be canonical: metadata.harness with sim_task (a

concrete task key such as libero_goal/5), seeds (a list of at least

two integers), args (a list of argument dictionaries) and

pass_criteria (kind, min_seeds_passing >= 2). Report code_checks

(interface kept, safety checks kept, harness runs the changed code, could

help); a base change with all four true goes to the simulator gate. Doubt

about whether the evidence proves the fix is not a reason to reject it.

  1. Keep reusable, parameterized behaviour in skills; keep coordinates and

pixels episode-local. Never approve or write a rule that limits attempts

(only one grasp, never regrasp, stop after one failure); a failed or

dropped grasp is retried with a fresh observation while budget remains.

  1. When the evidence locates the failure in a skill (wrong geometry, missing

check, bad retry logic, unhandled case), do not stop at approving the

lesson: read that skill's policy.py and SKILL.md (attached as

native_source when available, otherwise from the repository) and return

a concrete code_proposal with the complete revised policy and a harness.

Fix the cause shown by the evidence, keep the skill's interface, and keep

it general rather than tuned to the source scene.

You run inside the repository: if a helper the skill calls (for example

skills/base/_lib/libero/*.py) or a diagnostic you need is not attached,

open it yourself instead of deferring for missing source. You do not need

to prove a fix works before proposing it; the simulator gate decides that.

Defer only when, after reading the code, you still cannot name the defect.

  1. Code changes are published only after the simulator gate passes: the

skill harness when it exists, otherwise whole episodes on development

seeds disjoint from evaluation seeds. Code you write yourself is queued

for a later review, never self-approved.

  1. A change you approve is installed for the source task only

(skills/task_local/<task>/): the simulator gate validated it there and

nowhere else. Still say which scope you recommend. global means the fix

is general (a real bug, a missing check, better geometry) and should

replace the shared skill; it is promoted only after other tasks that use

the skill show no regression (or, if configured, after a person approves). task means it suits this scene or object only.

  1. Approve a cross-task lesson only when the evidence supports it and it

transfers beyond the source task.

  1. Record every decision with its reason.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.