surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| 1 | // Single source of truth for issue lifecycle labels, timeouts, and messages. |
| 2 | |
| 3 | export const lifecycle = [ |
| 4 | { |
| 5 | label: "invalid", |
| 6 | days: 3, |
| 7 | reason: "this doesn't appear to be about Claude Code", |
| 8 | nudge: "This doesn't appear to be about [Claude Code](https://github.com/anthropics/claude-code). For general Anthropic support, visit [support.anthropic.com](https://support.anthropic.com).", |
| 9 | }, |
| 10 | { |
| 11 | label: "needs-repro", |
| 12 | days: 7, |
| 13 | reason: "we still need reproduction steps to investigate", |
| 14 | nudge: "We weren't able to reproduce this. Could you provide steps to trigger the issue — what you ran, what happened, and what you expected?", |
| 15 | }, |
| 16 | { |
| 17 | label: "needs-info", |
| 18 | days: 7, |
| 19 | reason: "we still need a bit more information to move forward", |
| 20 | nudge: "We need more information to continue investigating. Can you make sure to include your Claude Code version (`claude --version`), OS, and any error messages or logs?", |
| 21 | }, |
| 22 | { |
| 23 | label: "stale", |
| 24 | days: 14, |
| 25 | reason: "inactive for too long", |
| 26 | nudge: "This issue has been automatically marked as stale due to inactivity.", |
| 27 | }, |
| 28 | { |
| 29 | label: "autoclose", |
| 30 | days: 14, |
| 31 | reason: "inactive for too long", |
| 32 | nudge: "This issue has been marked for automatic closure.", |
| 33 | }, |
| 34 | ] as const; |
| 35 | |
| 36 | export type LifecycleLabel = (typeof lifecycle)[number]["label"]; |
| 37 | |
| 38 | export const STALE_UPVOTE_THRESHOLD = 10; |