ruc-nlpir/arbor/arbor-agent-merge-eval
Claude Code and agent skill by ruc-nlpir/arbor
- community
Checking that the SKILL.md file is still in the repository.
Merge and evaluation discipline for Arbor. Use for TreeSetMeta metadata, B_dev/B_test separation, eval command templates, score parsing, GitMergeBranch behavior, protected paths, required outputs, metric_direction, trunk/test score updates, medal detection, and final evaluation before stopping.
Install
npx vskill@latest install ruc-nlpir/arbor/arbor-agent-merge-evalSKILL.md
The same SKILL.md was published earlier as ruc-nlpir/arbor/arbor-agent-merge-eval.
Arbor Merge And Eval
Use this whenever scores, metadata, merge decisions, or final validation are involved.
Dataset Discipline
- B_dev is for routine iteration, executor experiments, score tracking, and
idea selection.
- B_test is for milestone checks only: before merging a branch and at final
report time.
- If B_test diverges from B_dev, do not hand-wave it. Investigate overfitting,
noise, data split mismatch, or eval contamination.
Tree Metadata
Persist evaluation metadata early and update it after merges:
baseline_score: unmodified B_dev score.trunk_score: current trunk B_dev score.test_baseline_score: unmodified B_test score.test_trunk_score: current trunk B_test score.eval_cmd: B_dev command.eval_cmd_test: B_test command.eval_timeout,eval_retries,eval_retry_base_delay,
eval_retry_max_delay.
dataset_info: paths and split descriptions.metric_direction:maximizeorminimize.trunk_branch: non-protected branch that receives verified merges.submission_path,sample_submission_path.
Use {cwd} and {node_id} placeholders. Example:
Score Semantics
- Tree node
scoreis an absolute B_dev metric value. - Merge verification uses B_test.
metric_directioncontrols improvement:- maximize: higher is better.
- minimize: lower is better.
- Do not compare deltas with absolutes.
- If output has JSON with
score, prefer it. Otherwise extract the primary
metric from text (primary_score, score, accuracy, acc, etc.).
Merge Procedure
Native GitMergeBranch:
- Refuses target
mainormaster. - Resolves target to configured
trunk_branch.main/masterare base
branches, not merge targets.
- Creates an isolated worktree at
source_branch. - Runs
eval_cmd_testwith{cwd}and{node_id}substituted. - Retries transient failures if configured.
- Extracts verified B_test score.
- Rejects the merge if B_test does not improve over
test_trunk_scoreor
test_baseline_score.
- Checks plugin protected paths and required outputs.
- Merges source into trunk with
--no-ff. - Reports the verified test score and instructs the coordinator to update
tree metadata and node status.
After success:
TreeSetMeta(test_trunk_score=<verified score>).- If needed, re-run B_dev on trunk and
TreeSetMeta(trunk_score=<dev score>). TreeUpdateNode(node_id=<id>, status="merged").
Protected Paths And Required Outputs
For plugins such as MLE/Kaggle:
- Reject branches modifying protected globs such as
data/**,private/**,
or evaluation/**.
- Reject merge if required outputs such as
submission.csvdo not exist on
the branch.
- Snapshot outputs in the workspace so finalization can recover the best one.
Merge Threshold
merge_threshold is a soft coordinator guideline, not a substitute for B_test. A small improvement can merge when performance-first mode says every gain counts and B_test verifies it. A large B_dev improvement must still be rejected if B_test fails.
Final Stop
Before stopping:
- Ensure the best available branch is either merged or explicitly rejected.
- Run final B_test on trunk only if it is available, contract-authorized, and
the run is not smoke-only.
- Record
test_trunk_score. - If
test_baseline_scoreis missing and a baseline test run is feasible,
record it.
- Hand off to
arbor-agent-resume-report.
For smoke/forward tests, do not run B_test or merge verification unless the user explicitly requested a real run. Record test_trunk_score as unavailable, state that no separate B_test was used, run arbor_state.py check, and hand off to report generation.
Manual Emulation
If native GitMergeBranch is unavailable, use arbor-agent-tools:
Pass --target-branch <trunk_branch> explicitly only when metadata is not set. If a manual merge would touch live work, prefer --dry-run first.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/arbor-agent-merge-eval/SKILL.md
Popularity
- Repository stars
- 1,073
- Repository forks
- 126
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ruc-nlpir/arbor/arbor-agent-merge-eval)