-
Notifications
You must be signed in to change notification settings - Fork 1
Graceful Shutdown Handling #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6c31053
auto-claude: subtask-1-1 - Create data directory structure for state …
BillChirico b447b2c
auto-claude: subtask-1-2 - Add state persistence functions (save/load…
BillChirico 6a04d69
auto-claude: subtask-1-3 - Add pending request tracking mechanism
BillChirico a7f4c46
auto-claude: subtask-1-4 - Implement graceful shutdown orchestration
BillChirico 4f91cd3
fix: correct state file location and shutdown timeout (qa-requested)
BillChirico 3094a9c
fix: ensure data directory exists, remove local dev files, reorder sh…
BillChirico 79c1f7d
Merge origin/main into graceful-shutdown-handling
BillChirico 52a7050
Merge origin/main - resolve remaining conflicts
BillChirico File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,172 @@ | ||
| { | ||
| "base_commands": [ | ||
| ".", | ||
| "[", | ||
| "[[", | ||
| "ag", | ||
| "awk", | ||
| "basename", | ||
| "bash", | ||
| "bc", | ||
| "break", | ||
| "cat", | ||
| "cd", | ||
| "chmod", | ||
| "clear", | ||
| "cmp", | ||
| "column", | ||
| "comm", | ||
| "command", | ||
| "continue", | ||
| "cp", | ||
| "curl", | ||
| "cut", | ||
| "date", | ||
| "df", | ||
| "diff", | ||
| "dig", | ||
| "dirname", | ||
| "du", | ||
| "echo", | ||
| "egrep", | ||
| "env", | ||
| "eval", | ||
| "exec", | ||
| "exit", | ||
| "expand", | ||
| "export", | ||
| "expr", | ||
| "false", | ||
| "fd", | ||
| "fgrep", | ||
| "file", | ||
| "find", | ||
| "fmt", | ||
| "fold", | ||
| "gawk", | ||
| "gh", | ||
| "git", | ||
| "grep", | ||
| "gunzip", | ||
| "gzip", | ||
| "head", | ||
| "help", | ||
| "host", | ||
| "iconv", | ||
| "id", | ||
| "jobs", | ||
| "join", | ||
| "jq", | ||
| "kill", | ||
| "killall", | ||
| "less", | ||
| "let", | ||
| "ln", | ||
| "ls", | ||
| "lsof", | ||
| "man", | ||
| "mkdir", | ||
| "mktemp", | ||
| "more", | ||
| "mv", | ||
| "nl", | ||
| "paste", | ||
| "pgrep", | ||
| "ping", | ||
| "pkill", | ||
| "popd", | ||
| "printenv", | ||
| "printf", | ||
| "ps", | ||
| "pushd", | ||
| "pwd", | ||
| "read", | ||
| "readlink", | ||
| "realpath", | ||
| "reset", | ||
| "return", | ||
| "rev", | ||
| "rg", | ||
| "rm", | ||
| "rmdir", | ||
| "sed", | ||
| "seq", | ||
| "set", | ||
| "sh", | ||
| "shuf", | ||
| "sleep", | ||
| "sort", | ||
| "source", | ||
| "split", | ||
| "stat", | ||
| "tail", | ||
| "tar", | ||
| "tee", | ||
| "test", | ||
| "time", | ||
| "timeout", | ||
| "touch", | ||
| "tr", | ||
| "tree", | ||
| "true", | ||
| "type", | ||
| "uname", | ||
| "unexpand", | ||
| "uniq", | ||
| "unset", | ||
| "unzip", | ||
| "watch", | ||
| "wc", | ||
| "wget", | ||
| "whereis", | ||
| "which", | ||
| "whoami", | ||
| "xargs", | ||
| "yes", | ||
| "yq", | ||
| "zip", | ||
| "zsh" | ||
| ], | ||
| "stack_commands": [ | ||
| "node", | ||
| "npm", | ||
| "npx", | ||
| "pnpm", | ||
| "pnpx" | ||
| ], | ||
| "script_commands": [ | ||
| "bun", | ||
| "npm", | ||
| "pnpm", | ||
| "yarn" | ||
| ], | ||
| "custom_commands": [], | ||
| "detected_stack": { | ||
| "languages": [ | ||
| "javascript" | ||
| ], | ||
| "package_managers": [ | ||
| "pnpm" | ||
| ], | ||
| "frameworks": [], | ||
| "databases": [], | ||
| "infrastructure": [], | ||
| "cloud_providers": [], | ||
| "code_quality_tools": [], | ||
| "version_managers": [] | ||
| }, | ||
| "custom_scripts": { | ||
| "npm_scripts": [ | ||
| "start", | ||
| "dev" | ||
| ], | ||
| "make_targets": [], | ||
| "poetry_scripts": [], | ||
| "cargo_aliases": [], | ||
| "shell_scripts": [] | ||
| }, | ||
| "project_dir": "/Users/billchirico/Developer/bill-bot", | ||
| "created_at": "2026-02-03T19:51:09.135836", | ||
| "project_hash": "51a4f617fc8ece9b63e20f8a9950e73b", | ||
| "inherited_from": "/Users/billchirico/Developer/bill-bot" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "active": true, | ||
| "spec": "002-graceful-shutdown-handling", | ||
| "state": "building", | ||
| "subtasks": { | ||
| "completed": 1, | ||
| "total": 7, | ||
| "in_progress": 1, | ||
| "failed": 0 | ||
| }, | ||
| "phase": { | ||
| "current": "Graceful Shutdown Implementation", | ||
| "id": null, | ||
| "total": 6 | ||
| }, | ||
| "workers": { | ||
| "active": 0, | ||
| "max": 1 | ||
| }, | ||
| "session": { | ||
| "number": 3, | ||
| "started_at": "2026-02-03T20:25:33.725137" | ||
| }, | ||
| "last_update": "2026-02-03T20:29:22.574996" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| { | ||
| "sandbox": { | ||
| "enabled": true, | ||
| "autoAllowBashIfSandboxed": true | ||
| }, | ||
| "permissions": { | ||
| "defaultMode": "acceptEdits", | ||
| "allow": [ | ||
| "Read(./**)", | ||
| "Write(./**)", | ||
| "Edit(./**)", | ||
| "Glob(./**)", | ||
| "Grep(./**)", | ||
| "Read(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/**)", | ||
| "Write(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/**)", | ||
| "Edit(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/**)", | ||
| "Glob(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/**)", | ||
| "Grep(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/**)", | ||
| "Read(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/.auto-claude/specs/002-graceful-shutdown-handling/**)", | ||
| "Write(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/.auto-claude/specs/002-graceful-shutdown-handling/**)", | ||
| "Edit(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/002-graceful-shutdown-handling/.auto-claude/specs/002-graceful-shutdown-handling/**)", | ||
| "Read(/Users/billchirico/Developer/bill-bot/.auto-claude/**)", | ||
| "Write(/Users/billchirico/Developer/bill-bot/.auto-claude/**)", | ||
| "Edit(/Users/billchirico/Developer/bill-bot/.auto-claude/**)", | ||
| "Glob(/Users/billchirico/Developer/bill-bot/.auto-claude/**)", | ||
| "Grep(/Users/billchirico/Developer/bill-bot/.auto-claude/**)", | ||
| "Bash(*)", | ||
| "WebFetch(*)", | ||
| "WebSearch(*)", | ||
| "mcp__context7__resolve-library-id(*)", | ||
| "mcp__context7__get-library-docs(*)", | ||
| "mcp__graphiti-memory__search_nodes(*)", | ||
| "mcp__graphiti-memory__search_facts(*)", | ||
| "mcp__graphiti-memory__add_episode(*)", | ||
| "mcp__graphiti-memory__get_episodes(*)", | ||
| "mcp__graphiti-memory__get_entity_edge(*)" | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,10 @@ | ||
| node_modules/ | ||
| .env | ||
| *.log | ||
|
|
||
| # Auto Claude data directory | ||
| .auto-claude/ | ||
|
|
||
| # State persistence data (keep structure, ignore content) | ||
| data/* | ||
| !data/.gitkeep |
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.