본문으로 건너뛰기
cccskills
무료GitHub에 공개

semantic-merge-adjudicator

Use when parallel agents in a convoy or across git worktrees hit a write conflict on shared state — a git tree, a config, or a shared document — and you must decide whether the conflict is semantically real. Classifies each conflicting hunk as independent (keep both), redundant (pick one), or a genuine clash (escalate), instead of blind locks, abort-and-retry, or escalate-everything. Sits ABOVE refinery-merge and NEVER blind auto-merges: it wraps an LLM judgment, defaults to escalate on any uncertainty, and unconditionally escalates any hunk touching .planning/, config, credentials, or safety-critical paths. Backed by CoAgent (arxiv 2606.15376v1). Triggers on write conflicts between parallel agents on shared repo state.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md7.6 KB
  • triggering.test.md1.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Semantic Merge Adjudicator

When two convoy polecats or two git-worktree agents write the same shared state, their diffs may overlap by bytes without colliding in meaning. This skill adds a semantic decision layer above refinery-merge: it classifies each conflicting hunk as independent, redundant, or clash, so the merge queue is not forced to escalate every syntactic overlap. It never pushes and never blind auto-merges — a down-classified result re-enters refinery-merge's existing test gate.

Why

refinery-merge is deliberately dumb: on any rebase conflict it aborts, blocks the queue, and escalates to mayor-coordinator. That is correct and must stay — but it means a convoy of 50+ agents stalls on conflicts that are not real (two agents appending to different sections of the same file, or two agents producing the same edit). CoAgent's finding is that for minutes-long LLM transactions, abort-and-retry discards a costly run and most detected conflicts are syntactic byte-overlaps, not semantic collisions. This skill recovers the false-conflict cases without weakening the backstop — it can only ever route a conflict toward the same deterministic test-then-push pipeline, never around it.

Data classes touched

Shared repo / project-internal state only (a git tree, .claude/ config, a shared doc). Hunks that touch these are path-gated and escalated unread, never classified, never mixed into an auto-composed tree: .planning/ (any), credentials (.env, *.credentials*, keystore), config (.claude/settings*.json, config.json, chipset/agent YAML), .claude/hooks/, security-hygiene, ProcessContext/LoaderContext chokepoint files, and Grove/MEMORY.md records marked never-surface (private origins, Fox Companies IP, Center Camp trust). No credential, .planning/, or safety-critical content may reach a composed output.

How

  1. Fire only downstream of refinery-merge. Run only after refinery-merge has aborted the rebase and marked the MR conflicted. Never intercept the deterministic pipeline before it runs. Input: the conflict hunks plus both parent blobs.
  2. Deterministic path gate first (no judgment). String-match every conflicting hunk's path against the Data-classes list above. If ANY hunk matches, escalate the WHOLE MR to mayor-coordinator unread and stop. This gate is a path match, not an LLM judgment — it cannot be reframed away.
  3. Per-hunk classification (the LLM judgment) for surviving hunks. Emit one label per hunk with a one-sentence reason:
    • independent — the two sides edit semantically disjoint concerns (different functions / keys / sections) with no ordering or data dependency; union keeps both.
    • redundant — the two sides express the same intent (identical after normalizing whitespace / formatting / rename); pick either side.
    • clash — the two sides make incompatible changes to the same concern.
  4. Compose, never push. Assemble the proposed resolution (union for independent, chosen side for redundant) into a candidate tree and hand it BACK to refinery-merge as a fresh rebase input. This skill NEVER writes to main and NEVER skips the test stage. If the composed tree fails tests → escalate.
  5. All-or-escalate. If ANY hunk in the MR is clash, path-gated, or below the confidence bar, escalate the ENTIRE MR. Never partially auto-merge the clean hunks while hiding a clash — a partial merge that silently drops a real collision is the exact failure this skill must not cause.

Robustness rule

Judge by effect, not surface phrasing. Two hunks that read differently but produce the same behaviour are redundant; two that look nearly identical but diverge in behaviour (a flipped boundary, a swapped operand, an inverted guard) are a clash. Never infer independent from "the diffs are on different lines" alone — adjacent, non-overlapping edits can still be a semantic collision. If you cannot reason about the effect from the hunk itself, that IS uncertainty → clash → escalate.

Confidence / failure model

This wraps an LLM judgment about whether two writes mean the same thing or collide — semi-decidable, not a deterministic guarantee. It reduces, it does not eliminate, the risk of a bad merge, and it reduces refinery-merge's escalate-everything load without certifying correctness. Fail-closed defaults: uncertain classification → clash; path-gated → escalate; composed tree fails tests → escalate. The confidence bar for independent/redundant is articulable compatibility: you must be able to state, in one sentence, the specific reason the two writes are disjoint or equivalent — an LLM's numeric "confidence" is not trustworthy here, so the operational test is whether you can defend the label, and everything else escalates. The only outputs that ever bypass mayor-coordinator are independent/redundant hunks whose composed tree PASSED refinery-merge's test gate. That test gate — not this skill — is the last line of defense.

When to skip

  • refinery-merge has NOT marked the MR conflicted — do not pre-empt the deterministic pipeline.
  • Any path-gated file (see Data classes) is involved — skip classification and escalate. This is a skip-to-escalate, not a skip-to-proceed.
  • The conflict is one agent's writes against itself, or the convoy is single-agent with no worktrees in flight — there is no real concurrency.
  • The convoy's token-budget is exhausted — fall back to refinery-merge's escalate-all default rather than running the judgment on fumes.

Integration

  • refinery-merge — this is the semantic adjudication layer ABOVE the merge queue. refinery-merge still owns checkout/rebase/test/push and still escalates everything by default; this skill may down-classify a conflicted MR into an auto-composable tree that re-enters the SAME test gate. It never replaces that determinism.
  • mayor-coordinator — the escalation target for every clash, path-gated, or test-failing MR.
  • token-budget — each adjudication is an LLM call per hunk; bound it under the convoy budget and fall back to escalate-all when exhausted.
  • selector-priority-arbitration — DISTINCT: that is a fixed-precedence control law deciding who-wins by static priority; this asks whether the writes collide at all. Use arbitration when precedence is defined; use adjudication when the question is the semantic reality of the conflict.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Provides web accessibility best practices for semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader patterns. Use when building UI components, reviewing accessibility, or when user mentions 'a11y', 'accessibility', 'ARIA', 'screen reader', 'keyboard navigation', 'WCAG'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tibsfox/gsd-skill-creator712026년 7월 20일 업데이트

Active listening techniques for effective communication. Covers attending behaviors, paraphrasing, reflective listening, clarifying questions, empathic response, barriers to listening, listening in conflict, and cross-cultural listening. Use when building listening skills, improving understanding in conversation, mediating disputes, or analyzing communication breakdowns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tibsfox/gsd-skill-creator712026년 7월 20일 업데이트

Adversarial spec-compliance PR review — cross-references diffs against approved specs, verifies runtime claims against source, detects competing PRs, audits scope/convention compliance. Use before merging.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tibsfox/gsd-skill-creator712026년 7월 20일 업데이트

Provides best practices for AI agent orchestration including MCP servers, A2A protocol, multi-agent coordination, and swarm architectures. Use when designing agent systems, configuring MCP servers, setting up agent teams, or when user mentions 'MCP', 'A2A', 'agent orchestration', 'multi-agent', 'swarm', 'agent team', 'LangGraph', 'CrewAI', 'AutoGen'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tibsfox/gsd-skill-creator712026년 7월 20일 업데이트

Symbolic manipulation, equation solving, and algebraic structures for mathematical reasoning. Covers distributive law, factoring, completing the square, linear through polynomial equation solving, systems of equations (substitution, elimination, Gaussian elimination, matrix methods), algebraic structures (groups, rings, fields), modular arithmetic, polynomial theory, and inequalities. Use when solving equations, simplifying expressions, working with algebraic structures, or performing symbolic manipulation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tibsfox/gsd-skill-creator712026년 7월 20일 업데이트

Understanding how algorithmic systems shape what users see, know, and do -- from recommendation feeds to search ranking to credit scoring to hiring software. Covers the mechanics of recommendation systems, algorithmic bias and its sources, personalization's effects on information diets, opacity and accountability, AI limitations (hallucination, confident wrongness), and the human-in-the-loop question. Use when a learner needs to think critically about why particular content reached them.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tibsfox/gsd-skill-creator712026년 7월 20일 업데이트

Tibsfox의 스킬 모두 보기

이 스킬의 문제 신고