mirror of
https://github.com/anthropics/claude-code.git
synced 2026-04-16 07:42:48 +00:00
39 lines
1.4 KiB
TypeScript
39 lines
1.4 KiB
TypeScript
|
|
// Single source of truth for issue lifecycle labels, timeouts, and messages.
|
||
|
|
|
||
|
|
export const lifecycle = [
|
||
|
|
{
|
||
|
|
label: "invalid",
|
||
|
|
days: 3,
|
||
|
|
reason: "this doesn't appear to be about Claude Code",
|
||
|
|
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).",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "needs-repro",
|
||
|
|
days: 7,
|
||
|
|
reason: "we still need reproduction steps to investigate",
|
||
|
|
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?",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "needs-info",
|
||
|
|
days: 7,
|
||
|
|
reason: "we still need a bit more information to move forward",
|
||
|
|
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?",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "stale",
|
||
|
|
days: 14,
|
||
|
|
reason: "inactive for too long",
|
||
|
|
nudge: "This issue has been automatically marked as stale due to inactivity.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "autoclose",
|
||
|
|
days: 14,
|
||
|
|
reason: "inactive for too long",
|
||
|
|
nudge: "This issue has been marked for automatic closure.",
|
||
|
|
},
|
||
|
|
] as const;
|
||
|
|
|
||
|
|
export type LifecycleLabel = (typeof lifecycle)[number]["label"];
|
||
|
|
|
||
|
|
export const STALE_UPVOTE_THRESHOLD = 10;
|