Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
172 changes: 172 additions & 0 deletions .auto-claude-security.json
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"
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Local development files accidentally committed to repository

Medium Severity

Several local development/tooling files were accidentally committed. These include .auto-claude-security.json, .auto-claude-status, and .claude_settings.json, which contain machine-specific paths (e.g., /Users/billchirico/Developer/bill-bot), session timestamps, and developer-specific permissions. These files are transient local state for development tools and don't belong in the repository.

Additional Locations (2)

Fix in Cursor Fix in Web

25 changes: 25 additions & 0 deletions .auto-claude-status
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"active": true,
"spec": "008-slash-commands-support",
"state": "building",
"subtasks": {
"completed": 4,
"total": 7,
"in_progress": 1,
"failed": 0
},
"phase": {
"current": "Slash Commands Implementation",
"id": null,
"total": 7
},
"workers": {
"active": 0,
"max": 1
},
"session": {
"number": 6,
"started_at": "2026-02-03T20:34:15.644896"
},
"last_update": "2026-02-03T20:43:59.270346"
}
39 changes: 39 additions & 0 deletions .claude_settings.json
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/008-slash-commands-support/**)",
"Write(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/008-slash-commands-support/**)",
"Edit(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/008-slash-commands-support/**)",
"Glob(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/008-slash-commands-support/**)",
"Grep(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/008-slash-commands-support/**)",
"Read(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/008-slash-commands-support/.auto-claude/specs/008-slash-commands-support/**)",
"Write(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/008-slash-commands-support/.auto-claude/specs/008-slash-commands-support/**)",
"Edit(/Users/billchirico/Developer/bill-bot/.auto-claude/worktrees/tasks/008-slash-commands-support/.auto-claude/specs/008-slash-commands-support/**)",
"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(*)"
]
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules/
.env
*.log

# Auto Claude data directory
.auto-claude/
49 changes: 49 additions & 0 deletions src/commands.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/**
* Bill Bot - Slash Command Definitions
*
* Defines all slash commands for Discord interactions
*/

import { SlashCommandBuilder } from 'discord.js';

/**
* Slash command definitions
* Each command is built using Discord's SlashCommandBuilder
*/
const commands = [
// /ask - AI chat command
new SlashCommandBuilder()
.setName('ask')
.setDescription('Ask the AI a question')
.addStringOption(option =>
option
.setName('question')
.setDescription('Your question for the AI')
.setRequired(true)
),

// /help - Show available commands
new SlashCommandBuilder()
.setName('help')
.setDescription('Show available commands and usage instructions'),

// /clear - Reset conversation history
new SlashCommandBuilder()
.setName('clear')
.setDescription('Clear your conversation history with the bot'),

// /status - Show bot health and stats
new SlashCommandBuilder()
.setName('status')
.setDescription('Show bot status, uptime, and health information'),
];

/**
* Export commands as JSON for registration with Discord API
*/
export const commandData = commands.map(command => command.toJSON());

/**
* Export commands array for reference
*/
export default commands;
Loading