Some checks failed
CI / test (push) Failing after 12s
将 settlement.py 的 settle_campaign_sessions 函数吸收为 ExplorationSessionRepository.expire_running_sessions 方法。删除浅模块 settlement.py(30 行,接口宽如实现),会话生命周期操作集中在 repository。 - 新增 ExplorationSessionRepository.expire_running_sessions(campaign_id) - 更新 campaigns.py 和 campaign_runner.py 两个调用点 - 删除 backend/agenteval/exploration/settlement.py - 所有测试通过,行为不变
19 lines
1.3 KiB
Markdown
19 lines
1.3 KiB
Markdown
---
|
|
name: claude-handoff
|
|
description: Hand the current conversation off to a fresh background agent that picks up the work immediately.
|
|
argument-hint: "What will the next session be used for?"
|
|
disable-model-invocation: true
|
|
---
|
|
|
|
Write a handoff summary of the current conversation so a fresh agent can continue the work. Instead of saving it, launch a background agent seeded with the summary as its prompt: `claude --bg --name "<descriptive name>" "<handoff summary>"`. It starts in the current working directory and returns immediately; the user manages it with `claude agents`.
|
|
|
|
Always pass `-n`/`--name` with a descriptive name (e.g. `--name "Fix login bug"`) — it sets the display name shown in the job list, session picker, and terminal title.
|
|
|
|
Include a "suggested skills" section in the summary, which suggests skills that the agent should invoke.
|
|
|
|
Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
|
|
|
|
Redact any sensitive information, such as API keys, passwords, or personally identifiable information — the summary becomes the agent's prompt.
|
|
|
|
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the summary accordingly.
|