merge-gate-auditor
Sample unlabelled PR records from merge-gate-data, prepare structured Audit Verdict Cards, and stage human verdicts.
Skill by ianshank
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ianshank-merge-gate-auditor
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/merge-gate-auditor
What's inside
- Skill name
merge-gate-auditor- Description
- Sample unlabelled PR records from merge-gate-data, prepare structured Audit Verdict Cards, and stage human verdicts. Use whenever sampling unlabelled audit candidates, conducting merge-gate audit triage, or reviewing pull-request outcomes against the calibrated merge gate.
- License
- Apache-2.0
- Instructions
- 69 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Merge Gate Auditor — Human Audit Triage Skill
The `merge-gate-auditor` automates the sampling of unlabelled pull request records from `origin/merge-gate-data`, formats detailed diff and behavioral contexts, and constructs Audit Verdict Cards for review by the human merge owner (`@ianshank`).
## Core Invariants
1. **Zero Synthetic Audits**: Never synthesize or fabricate `HUMAN_AUDIT` records. The calibrated auto-merge gate requires genuine human audit evidence ($N \ge 200, ECE \le 0.05, AUROC \ge 0.65$).
2. **Cold-Start Floor**: The audit sampler enforces `AuditConfig.per_domain_floor` (default 30, workflow override 3) before a domain can exit cold-start.
3. **Plumbing Store Sync**: All reads and writes to `merge-gate-data` operate through `agent_core.store_sync` plumbing (`mktree`, `commit-tree`), never touching working trees or triggering CI (`[skip ci]`).
## Procedure
### 1. Pull Latest Store Records
```bash
python -m agent_core.store_sync pull --repo-dir . --store data/merge_outcomes.jsonl
```
### 2. Inspect Soak Progress
```bash
python -m agent_core.store_sync stats --store data/merge_outcomes.jsonl --soak-progress --audit-floor 3
```
Verify:
- Total records in store ($N$)
- Number of human audits accumulated per domain
- Cold-start status per domain
- Shortfall vs soak target
### 3. Sample Unlabelled Candidates
```bash
python -m agent_core.audit_sampler --store data/merge_outcomes.jsonl select --per-domain-floor 3 --with-propensity
```
### 4. Generate Audit Verdict Card
For each sampled candidate change ID:
1. Inspect git log and diff of the change:
```bash
git show <change_id>
```
2. Verify if any post-merge revert or fix-up was committed within the 7-day observation window.
3. Check behavioral regression test status:
```bash
python -m pytest behavioral-regression/tests/
```
4. Render the Audit Verdict Card:
```markdown
### Audit Verdict Card: `<change_id>`
- **Domain**: `<domain>`
- **Merged At**: `<timestamp>`
- **Merge Gate Confidence**: `<raw_confidence>`
- **Revert / Fixup Observed**: None / Commit `<sha>`
- **Maintainer Actions**:
- Confirm Correct: `python scripts/record_audit_verdict.py --store data/merge_outcomes.jsonl --change-id <change_id> --actor @ianshank --correct`
- Confirm Regressed: `python scripts/record_audit_verdict.py --store data/merge_outcomes.jsonl --change-id <change_id> --actor @ianshank --incorrect`
```
### 5. Sync Human Verdicts to Remote Store
After human maintainer executes verdicts:
```bash
python -m agent_core.store_sync push --repo-dir . --store data/merge_outcomes.jsonl --actor @ianshank
```
## Definition of Done
- Unlabelled candidates are sampled strictly according to the domain cold-start floor.
- Verdict cards provide complete commit, diff, and revert context.
- No synthetic records are generated.
- Updated store records pass `agent_core.store_sync stats` validation.From ianshank/Agents, Apache-2.0.
More from ianshank/Agents
- 0.552score
model-bench
ianshank
Benchmark and A/B-test multiple LLMs or systems-under-test on one evaluation dataset.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
openspec-implementation-review
ianshank
Reviews a shipped OpenSpec change's implementation against its own proposal/design/tasks/spec, producing a dated, two-pass openspec/changes/<id>/review.md…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
architecture-drift-guard
ianshank
Detect and block architecture drift in CI by comparing a codebase's actual Python import graph against a declared C4 component model.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
dataset-lint
ianshank
Validate an existing evaluation dataset (JSONL/JSON/CSV) for structural correctness, duplicate IDs, missing required fields, and encoding issues — without…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
eval-corpus-forge
ianshank
Build, validate, and package reusable evaluation datasets for agent and LLM systems from prompts, traces, tool-call logs, metadata, and expected outcomes.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
hierarchical-recursive-brainstorm
ianshank
Decomposes a topic into a controlled hierarchy, recursively expands leaves, prunes the bottom quartile, and synthesizes upward into a self-explanatory…
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
openai-judge
ianshank
LLM-as-a-judge evaluations over OpenAI-compatible APIs (including NVIDIA Nemotron & LM Studio).
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
openspec-quality-plan
ianshank
Generates a complete OpenSpec change package containing proposal, design, and task specs.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
openspec-peer-review
ianshank
Emits an objective Peer Review Findings section and rewrites an OpenSpec package to satisfy quality standards.
SkillBFreshness: B★ 1Claude Code +9 - 0.548score
deploy
ianshank
Generate a safety-railed deployment shell script (scripts/deploy.sh) with bash strict mode, a --dry-run mode, a confirmation gate before irreversible steps…
SkillBFreshness: B★ 1Claude Code +9 - 0.545score
e2e-matrix-sentinel
ianshank
Validate cross-platform end-to-end matrix coverage, verify POSIX and Windows driver parity, and enforce offline fixture restamping invariants.
SkillBFreshness: B★ 1Claude Code +9 - 0.545score
corpus-guardian
ianshank
Manage, verify, and synchronize the four frozen synthetic evaluation corpora (RCA, Requirements, TestGen, Answer Quality).
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 113
- Last commit (this folder)
- Sep 16, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/ianshank/Agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ianshank
- 0.552score
eval-corpus-forge
ianshank
Build, validate, and package reusable evaluation datasets for agent and LLM systems from prompts, traces, tool-call logs, metadata, and expected outcomes.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
model-bench
ianshank
Benchmark and A/B-test multiple LLMs or systems-under-test on one evaluation dataset.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
dataset-lint
ianshank
Validate an existing evaluation dataset (JSONL/JSON/CSV) for structural correctness, duplicate IDs, missing required fields, and encoding issues — without…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
architecture-drift-guard
ianshank
Detect and block architecture drift in CI by comparing a codebase's actual Python import graph against a declared C4 component model.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
hierarchical-recursive-brainstorm
ianshank
Decomposes a topic into a controlled hierarchy, recursively expands leaves, prunes the bottom quartile, and synthesizes upward into a self-explanatory…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
openspec-implementation-review
ianshank
Reviews a shipped OpenSpec change's implementation against its own proposal/design/tasks/spec, producing a dated, two-pass openspec/changes/<id>/review.md…
SkillBFreshness: B★ 1Claude Code +9
Cite this page
merge-gate-auditor skill. Agent Mart. https://agentmart.dev/skills/ianshank-merge-gate-auditor (last updated 2026-10-24)