Add rpa-bot-handoff skill: ops guide for bot handover

The skill scans a bot with subagents (never runs it) and writes
HANDOVER.md, an 11-section ops guide in the operator's order: where is
what, how to run, how long to wait, after the run, how to see an
exception, exception list, how you will know, how to tell us, don'ts,
issues seen before. Dev material (check against 12 failure classes from
Tebra Auto Post, gaps with file:line, incidents) goes to HANDOVER-DEV.md.

Also adds ADR-0004, glossary terms, five fixture bots and a handoff eval
runner (--resume, --regrade) with results from 47 runs of the earlier
13-section version. The grader still expects that structure and must be
updated before the next eval run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
VasanthandClaude Opus 5.5 committed 2026-10-28 15:01:42 +05:30
1 parent 3d2db6aca6
commit 3942fad6cd
143 files changed
+11815 -2

No files matched your search

+19 -1
View File
@@ -27,7 +27,7 @@ def test_tebra_sky_preset_is_the_template_default():
assert sky in (templates / "dashboard.html").read_text(encoding="utf-8")
@pytest.mark.parametrize("skill", ["rpa-dashboard-no-ai", "rpa-dashboard-ai"])
@pytest.mark.parametrize("skill", ["rpa-dashboard-no-ai", "rpa-dashboard-ai", "rpa-bot-handoff"])
def test_skill_description_fits_the_1024_char_limit(skill):
text = (ROOT / "skills" / skill / "SKILL.md").read_text(encoding="utf-8")
description = re.search(r"^description: (.+)$", text, re.MULTILINE)[1]
@@ -42,3 +42,21 @@ def test_ai_skill_references_files_that_exist():
missing = [p for p in paths
if not (skill / p.replace("<no-ai>", "../rpa-dashboard-no-ai/templates/")).exists()]
assert not missing
def test_handoff_skill_references_files_that_exist():
skill = ROOT / "skills" / "rpa-bot-handoff"
paths = re.findall(r"`(templates/[\w./-]+)`", (skill / "SKILL.md").read_text(encoding="utf-8"))
assert len(paths) >= 3
assert not [p for p in paths if not (skill / p).exists()]
def test_handoff_lists_twelve_failure_classes():
skill = ROOT / "skills" / "rpa-bot-handoff" / "templates"
classes = (skill / "failure-classes.md").read_text(encoding="utf-8")
assert len(re.findall(r"^## F\d+\.", classes, re.MULTILINE)) == 12
def test_handoff_ops_guide_has_eleven_sections_in_order():
guide = (ROOT / "skills" / "rpa-bot-handoff" / "templates" / "HANDOVER.md").read_text(encoding="utf-8")
assert [int(n) for n in re.findall(r"^## (\d+)\.", guide, re.MULTILINE)] == list(range(1, 12))