Skip to content
Trending storyObserving

无头 Claude Code 用退出与恢复实现人工介入

1 report1 reporting sourceUpdated 1 day ago

Understand the story

AI synthesis

2026 年 10 月 5 日,DEV Community 一篇文章介绍了在开源看板 ticket-tracker 中用无头 Claude Code 处理工单的做法。作者让无头 Claude Code 会话自动处理工单,当遇到需要人决策的问题时,会话调用 ask_question 并结束本轮,进程随之退出;随后由编排器用 claude -p --resume 加同一 session id 恢复该会话,把人的答案作为下一条提示词传入。这样既保留了无头模式的自动化,又在关键节点引入了人工决策。

Generated by AI from reports · Updated 10 hours ago

Report timeline

Follow the reports to explore different perspectives.

10/5
  1. DEV Community · Claude Code
    无头 Claude Code 提问后退出,收到答案再恢复同一会话

    作者在开源看板 ticket-tracker 中让无头 Claude Code 会话处理工单,遇到需要人决策的问题时调用 ask_question 并结束本轮,进程退出后由编排器用 claude -p --resume 加同一 session id 恢复,答案作为下一条提示词传入。

Interest in this story

Current interest 5·Peak within comparable coverage 6(Oct 6, 16:00)·Change over 24 hours within comparable coverage –

024610/616:0010/619:0010/622:0010/701:00

The trend compares the same participants under continuous, complete observation, so its coverage may be narrower than the current score. Hover or tap to view hourly interest; use the left and right arrow keys to navigate.