Merge

Merge the winning agent's branch into base, archive losers, and clean up worktrees. Use when the user runs /hub:merge or asks to land the winning AgentHub result and tidy the session.

Gitix AI
Gitix AI
· 7 days ago · v1
SkillSpector MEDIUM
25/100 ⚠ CAUTION
1 security finding detected
HIGH Memory Poisoning · Memory Manipulation 80% confidence

Match: clear history

Line 78

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

## Safety

- **Confirm with user** before merging — show the diff summary first
- **Never force-push** — merge is always `--no-ff` for clear history
- **Archive, don't delete** — losing agents' commits are preserved via tags
- **Clean worktrees** — don't leave orphan directories on disk

Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.

3
0
0
0

Comments (0)

Sign in to leave a comment.

No comments yet. Be the first!