AGENT SKILL

blocker-resolver

Classify obstacles, attach a resolution playbook, and route escalations.

License 许可
MIT
最近更新
2026-11-02
Stars
★ 1
Forks
0

01 前言 Front Matter

tags
[ "agents/execution", "agents/recovery", "agents/skills" ]
owner
Platform Engineering
title
Agent Skill: Blocker Resolver
status
active
doc_kind
skill
description
Classify obstacles, attach a resolution playbook, and route escalations.
last_reviewed
2026-09-13
review_frequency
Annual

02 资源文件 2

03 SKILL.md 正文

Blocker Resolver

Classify obstacles, attach the matching resolution playbook, and decide which ones need a human escalation before work can resume.

Module: knowledge.agents.blocker_resolver.main · Version: 1.0.0 · Type: agents/execution/recovery

Contract

Blocker Resolver exposes one coordinator class. Classifies an obstacle against a fixed playbook and decides whether it can be cleared locally or needs a human.

Usage

from knowledge.agents.blocker_resolver.main import Blocker, BlockerResolver

out = BlockerResolver().triage([
    Blocker("b1", "missing lib", "dependency"),
    Blocker("b2", "no workflows scope", "permission", waiting_on="repo admin"),
])
# {"self_resolvable": 1, "escalation_ids": ["b2"]}

Design notes

  • Permission and unclear-requirement blockers always escalate; a machine cannot grant itself a scope or invent a requirement.
  • Any blocker escalates once its retry budget is spent, so a loop can never spin indefinitely on a problem it cannot solve.
  • An unrecognised category raises rather than guessing a playbook.

Tests

python -m pytest knowledge/agents/blocker-resolver -q

04 同仓库更多 Skills