-
Notifications
You must be signed in to change notification settings - Fork 2
Structured Logging System #4
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 16 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0876afd
auto-claude: subtask-1-1 - Install winston and winston-daily-rotate-f…
BillChirico 22b7dd7
auto-claude: subtask-1-2 - Create src/logger.js module with log level…
BillChirico bbe4a9b
auto-claude: subtask-1-3 - Add logging configuration to config.json (…
BillChirico 56efdff
auto-claude: subtask-1-4 - Add LOG_LEVEL environment variable to .env…
BillChirico 86fc7a0
auto-claude: subtask-2-1 - Import logger in src/index.js and replace …
BillChirico 07af95d
auto-claude: subtask-2-2 - Replace bot ready and feature status logs …
BillChirico 3651421
auto-claude: subtask-2-3 - Replace event logs (welcome, spam) with co…
BillChirico 9fe1f25
auto-claude: subtask-2-4 - Replace error handlers with structured err…
BillChirico a6bd672
auto-claude: subtask-3-1 - Add file transport with daily rotation to …
BillChirico 58dcb4a
auto-claude: subtask-3-2 - Add separate error log file transport
BillChirico be74825
auto-claude: subtask-3-3 - Implement sensitive data filter for tokens…
BillChirico cd67593
auto-claude: subtask-3-4 - Add logs/ directory to .gitignore
BillChirico ae679e8
auto-claude: subtask-4-1 - Verify all log levels work correctly (debu…
BillChirico 0c7ab00
auto-claude: subtask-4-2 - Verify file output and rotation configuration
BillChirico 2ca03a3
auto-claude: subtask-4-3 - Verify sensitive data is never logged
BillChirico 8fe0afc
auto-claude: subtask-4-4 - Verify contextual logging for Discord events
BillChirico d842f31
fix(config): remove personal config files from version control
BillChirico cf7295b
fix(logger): preserve original level for emoji lookup
BillChirico 314fb52
merge: integrate main branch changes
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" | ||
| } | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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": "006-structured-logging-system", | ||
| "state": "building", | ||
| "subtasks": { | ||
| "completed": 15, | ||
| "total": 16, | ||
| "in_progress": 1, | ||
| "failed": 0 | ||
| }, | ||
| "phase": { | ||
| "current": "Integration & Verification", | ||
| "id": null, | ||
| "total": 4 | ||
| }, | ||
| "workers": { | ||
| "active": 0, | ||
| "max": 1 | ||
| }, | ||
| "session": { | ||
| "number": 17, | ||
| "started_at": "2026-02-03T20:10:36.161041" | ||
| }, | ||
| "last_update": "2026-02-03T20:46:12.083127" | ||
| } | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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/006-structured-logging-system/**)", | ||
| "Write(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/006-structured-logging-system/**)", | ||
| "Edit(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/006-structured-logging-system/**)", | ||
| "Glob(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/006-structured-logging-system/**)", | ||
| "Grep(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/006-structured-logging-system/**)", | ||
| "Read(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/006-structured-logging-system/.auto-claude/specs/006-structured-logging-system/**)", | ||
| "Write(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/006-structured-logging-system/.auto-claude/specs/006-structured-logging-system/**)", | ||
| "Edit(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/006-structured-logging-system/.auto-claude/specs/006-structured-logging-system/**)", | ||
| "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(*)" | ||
| ] | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
| } | ||
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
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,7 @@ | ||
| node_modules/ | ||
| .env | ||
| *.log | ||
| logs/ | ||
|
|
||
| # Auto Claude data directory | ||
| .auto-claude/ | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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
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
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.