Download scripts/issue-lifecycle.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/scripts/issue-lifecycle.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/scripts/issue-lifecycle.ts
-
curl -L -o issue-lifecycle.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/scripts/issue-lifecycle.ts
1.39 kB
| // 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; | |