Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
ab3d4f9
refactor: update dependencies, migrate music engine to Lavalink v4, a…
PhantomNimbi Aug 29, 2026
222c868
feat: migrate gif/game search APIs, add documentation, and update iss…
PhantomNimbi Aug 29, 2026
1dfd3ca
feat: add cross-platform launch scripts, LAVA_EXTERNAL check, and own…
PhantomNimbi Aug 29, 2026
0dfb44b
feat: add YOUTUBE_API_KEY to env schemas and documentation
PhantomNimbi Aug 29, 2026
ffd29db
fix: update Lavalink plugins config and format runner console banner
PhantomNimbi Aug 29, 2026
943b93a
feat: add cross-platform port clearing before launch and audit fixes
PhantomNimbi Aug 29, 2026
521e382
fix: resolve QueueStore script paths and reddit command build errors
PhantomNimbi Aug 29, 2026
c9b851f
fix: resolve Lavalink host mapping, searchSong node search, and echo …
PhantomNimbi Aug 29, 2026
1727977
fix: remove console clear and format YouTube OAuth device flow prompt…
PhantomNimbi Aug 29, 2026
be4c75a
refactor: modularize dev and start launch scripts with direct console…
PhantomNimbi Aug 29, 2026
b6bac68
fix: remove shell option from spawn for DEP0190 and refine auth line …
PhantomNimbi Aug 29, 2026
effc4c1
feat: auto db push, voice gateway raw packet routing, full dependency…
PhantomNimbi Aug 29, 2026
e13c2dd
fix(launcher): strictly in-memory YouTube refresh token management wi…
PhantomNimbi Aug 29, 2026
47a4e66
fix(launcher): deduplicate in-memory YouTube refresh token capture an…
PhantomNimbi Aug 29, 2026
7ddefd4
fix(music): trigger queue.next() on play command when idle and clear …
PhantomNimbi Aug 29, 2026
fcb8bef
feat: modernize monorepo to Next.js 15, update dependencies, and enha…
PhantomNimbi Aug 29, 2026
e2a4f6d
feat(dashboard): categorize commands panel and filter out globally di…
PhantomNimbi Aug 30, 2026
bda92b1
feat(music): configure remote cipher endpoint and wire environment ke…
PhantomNimbi Aug 30, 2026
0026591
feat(music): improve skip/skipto jump logic, recreate youtube-auth sl…
PhantomNimbi Aug 30, 2026
06d5bba
docs: update README, wiki, and agent reference to reflect Next.js 15,…
PhantomNimbi Aug 30, 2026
a5f9bdb
feat(music): implement interactive music-trivia and stop-trivia comma…
PhantomNimbi Aug 30, 2026
9c6259e
feat(settings): consolidate /set slash command, enhance welcome forma…
PhantomNimbi Aug 30, 2026
8af561f
feat: add moderation suite and thread-based ticket system with dashbo…
PhantomNimbi Aug 30, 2026
53f7c7d
docs: update README, Dashboard guide, and Wiki reference for moderati…
PhantomNimbi Aug 30, 2026
b4da0e0
feat(tickets): render formatted custom ticket greeting inside ticket …
PhantomNimbi Aug 30, 2026
00f6193
docs(readme): restore contributors section to repository README
PhantomNimbi Aug 30, 2026
950f8bb
feat(heroku): add 1-click Heroku deployment engine, app.json manifest…
PhantomNimbi Aug 30, 2026
255deac
feat(heroku): add YOUTUBE_API_KEY and preserve manifest template plac…
PhantomNimbi Aug 30, 2026
d415cd8
chore(deployment): remove unsupported heroku deployment
PhantomNimbi Aug 30, 2026
ca8623a
docs: reference upstream repository in install guides
PhantomNimbi Aug 30, 2026
263fabe
ci: require issue template selection
PhantomNimbi Aug 30, 2026
524b21a
ci: add targeted issue templates for music, commands, dashboard, and …
PhantomNimbi Aug 30, 2026
a8c60e4
docs: correct root readme and wiki command/api references
PhantomNimbi Aug 30, 2026
2e61254
docs: minimize command tables and defer to wiki reference
PhantomNimbi Aug 30, 2026
a1b75dc
docs: add lavalink config template and reference it in guides
PhantomNimbi Aug 30, 2026
344b198
docs: prune gitignored files from readme architecture tree
PhantomNimbi Aug 30, 2026
6bbb462
docs: align comments in readme architecture tree
PhantomNimbi Aug 30, 2026
85da8e2
feat(bot): upgrade about command and add dashboard command
PhantomNimbi Aug 30, 2026
5dd984f
docs: add dashboard command and update command count to 67
PhantomNimbi Aug 30, 2026
d1533c8
fix(bot): format dashboard link with alt text in /dashboard command
PhantomNimbi Aug 30, 2026
e23bf76
Update .env.example
PhantomNimbi Aug 31, 2026
addbe26
Update .env.example
PhantomNimbi Aug 31, 2026
40108f4
feat(bot): add reminders, news, games, status rotation, and modernize…
PhantomNimbi Aug 31, 2026
33dbf0e
feat(tickets): add ticket manager role support and audit commands ref…
PhantomNimbi Aug 31, 2026
fb686a0
feat(bot): restore legacy commands and modernize slash command suite
PhantomNimbi Aug 31, 2026
dde449e
fix(bot): resolve deferred interaction lifecycle and streamline music…
PhantomNimbi Aug 31, 2026
fe91b8d
feat(music): add live ascii progress bar and auto-updating player embed
PhantomNimbi Aug 31, 2026
89d8205
docs: fix tick formatting in contributors section and update badges
PhantomNimbi Aug 31, 2026
fe6caef
docs: add CONTRIBUTING.md guidelines and link in README
PhantomNimbi Aug 31, 2026
6cd8b92
docs(wiki): add macOS, Windows, and Linux setup and prerequisite guides
PhantomNimbi Aug 31, 2026
6a87c72
docs: streamline discord bot and dashboard descriptions across docume…
PhantomNimbi Aug 31, 2026
7e4a0b8
docs(wiki): add detailed Heroku deployment and cloud hosting guide
PhantomNimbi Aug 31, 2026
243ac33
docs: audit markdown documentation and add apps/bot README
PhantomNimbi Aug 31, 2026
c1c09c1
docs: rename LICENSE to LICENSE.md and format with markdown
PhantomNimbi Aug 31, 2026
a6d5f56
feat(monorepo): full repository audit, vitest test suite, nextjs 15 d…
PhantomNimbi Sep 6, 2026
53c6fa3
feat(monorepo): migrate postgres to sqlite, rebuild dashboard tRPC ba…
PhantomNimbi Sep 7, 2026
536a25b
fix(dashboard+bot): live guild sync, unified launch, invite fix, sess…
PhantomNimbi Sep 7, 2026
39b6fa2
fix(bot): defensive guild sync on ready, restore Logger import, stabl…
PhantomNimbi Sep 7, 2026
4e4a924
fix(bot): restore ready event, revert help edit (was breaking bot), k…
PhantomNimbi Sep 7, 2026
7cdead2
fix(help): restore embedonator layout with inline/non-inline fields, …
PhantomNimbi Sep 7, 2026
4ddc2cc
fix(bot): clean build errors, restore Logger import, remove unused va…
PhantomNimbi Sep 7, 2026
54a7c75
fix(help): remove unused totalCommands, build clean, ignoreDeprecatio…
PhantomNimbi Sep 7, 2026
da3a2bc
fix(help): remove unused variables, build passes
PhantomNimbi Sep 7, 2026
087febc
feat(help): embedonator-style embed with inline/non-inline fields
PhantomNimbi Sep 7, 2026
a6ce8a8
feat(help): all fields inline per embedonator layout
PhantomNimbi Sep 7, 2026
216aa0a
feat(help): overview category descriptions, inline fields only, no co…
PhantomNimbi Sep 7, 2026
f2e9e17
feat(help): user local embed layout fixes β€” inline fields, cleaned fo…
PhantomNimbi Sep 7, 2026
23b21f5
✨ feat: consolidate bot and web dashboard into single process, stream…
PhantomNimbi Sep 11, 2026
60965f5
docs(wiki): 🎡 add HELIX Origin public Lavalink server & dashboard info
PhantomNimbi Sep 11, 2026
d7afdb5
deploy: 🐳 use Dockerfile for one-click deployments (Render, Railway, …
PhantomNimbi Sep 11, 2026
461a7f5
build: πŸ”“ delete lockfile on rebuild & remove pnpm-lock.yaml
PhantomNimbi Sep 11, 2026
424f9b7
...
PhantomNimbi Sep 11, 2026
179d70a
...
PhantomNimbi Sep 11, 2026
ea595c8
πŸ”§ fix(deploy): restore pnpm builds on Heroku & secure Docker env hand…
PhantomNimbi Sep 11, 2026
12bf791
πŸ”₯ docs(deploy): Heroku CLI hosting with embedded Lavalink
PhantomNimbi Sep 11, 2026
15deca1
πŸ”₯ docs(deploy): Heroku CLI hosting with embedded Lavalink
PhantomNimbi Sep 11, 2026
4ce907f
πŸ“š docs(audio): document custom Lavalink config and fixes
PhantomNimbi Sep 11, 2026
dbe012d
πŸ› fix(web): resolve dashboard dir from apps/bot cwd
PhantomNimbi Sep 11, 2026
a7f4e6a
drop embedded Lavalink on Heroku; use external (eco dyno too small fo…
PhantomNimbi Sep 11, 2026
fe24aed
fix(dashboard): derive bot invite URL from DISCORD_CLIENT_ID instead …
PhantomNimbi Sep 11, 2026
26d94e4
docs(deploy): warn about Safe Browsing flags on random herokuapp URLs…
PhantomNimbi Sep 11, 2026
0d55091
πŸ€– refactor(deploy): complete retirement of cloud hosting in favor of …
PhantomNimbi Sep 11, 2026
80b1bda
...
PhantomNimbi Sep 12, 2026
3303321
...
PhantomNimbi Sep 12, 2026
0711749
...
PhantomNimbi Sep 12, 2026
6f685ec
...
PhantomNimbi Sep 12, 2026
2bdb053
...
PhantomNimbi Sep 12, 2026
d7a0940
✨ feat(core): modernize architecture, agent ecosystem, dual fallbacks…
PhantomNimbi Sep 16, 2026
072f7f0
πŸ™ github(ci): modernize CI workflow and add GitHub Wiki sync automation
PhantomNimbi Sep 16, 2026
ac4f83b
♻️ refactor(music): remove redundant /youtube-auth command and update…
PhantomNimbi Sep 16, 2026
d9739e1
✨ feat(bot): consolidate commands, migrate to DB_URI, and add youtube…
PhantomNimbi Sep 17, 2026
10628bf
πŸ“š docs(config): document 0.0.0.0 internal binding to allow public con…
PhantomNimbi Sep 17, 2026
35eb1ae
πŸ“š docs: streamline README to minimal format and update SECURITY.md
PhantomNimbi Sep 17, 2026
ebd233b
πŸ“š docs: remove fork and upstream distinctions from documentation
PhantomNimbi Sep 17, 2026
faa3c2d
πŸ“š docs(wiki): expand wiki with comprehensive developer, command, and …
PhantomNimbi Sep 17, 2026
4105c59
πŸ“š docs(wiki): standardize all internal links to GitHub Wiki relative …
PhantomNimbi Sep 17, 2026
4606c9d
πŸ“š docs: standardize all wiki links to relative GitHub wiki routes acr…
PhantomNimbi Sep 17, 2026
71ea90a
✨ feat(dashboard): add 7 visual themes, 10 accent schemes, and migrat…
PhantomNimbi Sep 17, 2026
45d14ec
πŸ“š docs(wiki): update maintainer attribution in _Footer.md
PhantomNimbi Sep 17, 2026
45058ab
πŸ“š docs(license): standardize all license references to MIT
PhantomNimbi Sep 17, 2026
574ca81
✨ feat(scripts): rebuild unified launcher scripts from scratch
PhantomNimbi Sep 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .agents/agents/architect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ›οΈ Agent: System Architect (`architect`)

## Role & Responsibilities
The **System Architect** oversees end-to-end system design, cross-workspace boundaries, technology selection, and long-term architectural stability across Master-Bot.

---

## 🎯 Focus Areas
- Enforcing the unified single-process runtime model.
- Preserving the zero-ops SQLite and `ioredis-mock` fallbacks.
- Guiding multi-package migrations and Turborepo pipeline optimizations.
- Reviewing major PRs for design coherence and backward compatibility.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules.md`, `.agents/rules/code-conventions.md`, `.agents/rules/database-fallback-rules.md`
- Skills: `monorepo-orchestrator`, `database-fallback`, `issue-orchestrator`
18 changes: 18 additions & 0 deletions .agents/agents/audio-engineer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 🎡 Agent: Audio Engineer (`audio-engineer`)

## Role & Responsibilities
The **Audio Engineer** specializes in Discord voice connections, audio pipeline supervision, Lavalink v4 integration via `@helix-origin/lavalink-server`, YouTube deciphering, and player queues.

---

## 🎯 Focus Areas
- Managing `apps/bot/src/lib/lavalink/embeddedLavalink.ts`.
- Handling `LAVA_EXTERNAL=true` remote node connections vs. embedded in-process node.
- Configuring YouTube OAuth device authorization and cipher endpoints.
- Resolving player state synchronization, queue advancement, and now-playing embeds.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules.md`, `.agents/rules/code-conventions.md`
- Skills: `embedded-lavalink`, `vitest-suite-expert`
18 changes: 18 additions & 0 deletions .agents/agents/bot-specialist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ€– Agent: Bot Specialist (`bot-specialist`)

## Role & Responsibilities
The **Bot Specialist** maintains Discord bot logic in `apps/bot`, utilizing the Sapphire framework and `discord.js` v14 to handle commands, preconditions, event listeners, and live state management.

---

## 🎯 Focus Areas
- Managing slash command registrations and interaction handlers.
- Maintaining the ticket system, moderation actions, and reminder scheduler.
- Interacting with in-memory `SessionManager` and synchronizing guild state with Redis.
- Handling Discord rate limits, voice states, and gateway events.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules/code-conventions.md`, `.agents/rules.md`
- Skills: `vitest-suite-expert`, `monorepo-orchestrator`
18 changes: 18 additions & 0 deletions .agents/agents/dashboard-specialist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ’» Agent: Dashboard Specialist (`dashboard-specialist`)

## Role & Responsibilities
The **Dashboard Specialist** maintains the Next.js 15 web application (`apps/dashboard`), including App Router pages, Tailwind CSS styles, tRPC v11 API procedures, and feature studios.

---

## 🎯 Focus Areas
- Maintaining the 9 Feature Studios in `/dashboard`.
- Ensuring clean tRPC procedures and type safety between client and server.
- Managing responsive layouts, dark theme aesthetics, and UI performance.
- Integrating real-time telemetry from bot and audio engines.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules/code-conventions.md`, `.agents/rules.md`
- Skills: `monorepo-orchestrator`, `vitest-suite-expert`
18 changes: 18 additions & 0 deletions .agents/agents/database-engineer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ—„οΈ Agent: Database Engineer (`database-engineer`)

## Role & Responsibilities
The **Database Engineer** owns the persistence and caching tier in `@master-bot/db`, including Prisma ORM schema migrations, PostgreSQL / SQLite compatibility, and Redis / `ioredis-mock` cache lifecycle.

---

## 🎯 Focus Areas
- Maintaining `packages/db/scripts/prepare-schema.mjs`.
- Ensuring SQLite compatibility (`@db.Text` annotations, string scalar lists).
- Protecting zero-data-loss upgrades and schema synchronization (`db:push`).
- Optimizing Redis cache operations and graceful connection recovery.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules/database-fallback-rules.md`, `.agents/rules/code-conventions.md`
- Skills: `database-fallback`, `vitest-suite-expert`
18 changes: 18 additions & 0 deletions .agents/agents/github-specialist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ™ Agent: GitHub Specialist (`github-specialist`)

## Role & Responsibilities
The **GitHub Specialist** oversees all GitHub platform interactions via GitHub CLI (`gh`): issues, pull requests, Actions workflows, and releases.

---

## 🎯 Focus Areas
- Enforcing issue standards with emojis, Mermaid diagrams, and sub-issues.
- Managing PR checks, automated builds, and workflow diagnostics.
- Linking parent issues and child sub-issues via `gh issue edit --add-sub-issue`.
- Tracking releases and asset distributions.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules/issue-standards.md`, `.agents/rules/commit-standards.md`
- Skills: `gh-cli-expert`, `issue-orchestrator`, `release-orchestrator`
18 changes: 18 additions & 0 deletions .agents/agents/release-engineer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ“¦ Agent: Release Engineer (`release-engineer`)

## Role & Responsibilities
The **Release Engineer** orchestrates versioning, package distribution, GitHub releases, Docker container builds, and deployment verification.

---

## 🎯 Focus Areas
- Verifying clean builds across all monorepo packages.
- Managing git tags, changelogs, and release assets.
- Verifying deployment blueprints (`Dockerfile`, `docker-compose.yml`, `render.yaml`).
- Enforcing commit and release quality standards.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules/commit-standards.md`, `.agents/rules/operational.md`
- Skills: `release-orchestrator`, `gh-cli-expert`, `monorepo-orchestrator`
18 changes: 18 additions & 0 deletions .agents/agents/test-engineer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ§ͺ Agent: Test Engineer (`test-engineer`)

## Role & Responsibilities
The **Test Engineer** designs, implements, and maintains unit and integration tests across all packages using `@helix-origin/vitest-suite`.

---

## 🎯 Focus Areas
- Enforcing 100% test pass rate on `pnpm test`.
- Utilizing `@helix-origin/vitest-suite` mocks (`createMockClient`, `createMockRedis`, `createTestServer`).
- Authoring regression tests for edge-case errors, environment variables, and fallback behaviors.
- Gating CI pipelines to prevent broken code from landing in `main`.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules/operational.md`, `.agents/rules/code-conventions.md`
- Skills: `vitest-suite-expert`, `monorepo-orchestrator`
18 changes: 18 additions & 0 deletions .agents/agents/wiki-specialist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# πŸ“š Agent: Wiki Specialist (`wiki-specialist`)

## Role & Responsibilities
The **Wiki Specialist** authors, polishes, and organizes project documentation within the `wiki/` directory and GitHub Wiki, maintaining comprehensive guides, architectural diagrams, sidebar hierarchy, and navigation footers.

---

## 🎯 Focus Areas
- Enforcing GitHub wiki link formatting: `[Page Name](Page-Name)`.
- Designing GitHub-compatible Mermaid diagrams for architectural workflows.
- Keeping `wiki/_Sidebar.md` and `wiki/_Footer.md` organized and up-to-date.
- Ensuring all codeblocks have proper language syntax tags and clear comments.

---

## πŸ› οΈ Associated Skills & Rules
- Rules: `.agents/rules/wiki-standards.md`, `.agents/rules.md`
- Skills: `wiki-management`, `issue-orchestrator`
83 changes: 83 additions & 0 deletions .agents/rules.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# πŸ“œ Master-Bot Agent System Master Rules

## Overview
This document defines the operational rules, quality gates, and communication standards for all autonomous AI agents, human contributors, and automation pipelines operating within the **Master-Bot** repository.

---

## πŸ›οΈ System Architecture & Principles

```mermaid
flowchart TD
subgraph Governance [Governance & Standards]
Rules[rules.md] --> CodeRules[code-conventions.md]
Rules --> CommitRules[commit-standards.md]
Rules --> IssueRules[issue-standards.md]
Rules --> WikiRules[wiki-standards.md]
Rules --> OpsRules[operational.md]
Rules --> DBRules[database-fallback-rules.md]
end

subgraph Agents [Autonomous Agent Roles]
Architect[architect.md]
DBEng[database-engineer.md]
AudioEng[audio-engineer.md]
TestEng[test-engineer.md]
GHSpy[github-specialist.md]
WikiSpy[wiki-specialist.md]
DashSpy[dashboard-specialist.md]
BotSpy[bot-specialist.md]
RelEng[release-engineer.md]
end

subgraph Skills [Operational Capabilities]
GHExpert[gh-cli-expert.md]
IssueOrch[issue-orchestrator.md]
WikiMgmt[wiki-management.md]
DBFallback[database-fallback.md]
LavaEmbed[embedded-lavalink.md]
VitestExp[vitest-suite-expert.md]
TurboOrch[monorepo-orchestrator.md]
RelOrch[release-orchestrator.md]
end

Governance --> Agents
Agents --> Skills
```

---

## πŸ“Œ Core Invariants

1. **Zero-Ops Default with Production Scaling**:
- Zero-configuration local startup MUST always function using SQLite (`file:./db.sqlite`), in-memory `ioredis-mock`, and embedded `@helix-origin/lavalink-server`.
- Production deployments MUST cleanly scale to external PostgreSQL (`DATABASE_URL=postgresql://...`), external Redis (`REDIS_URL=...`), and remote Lavalink nodes (`LAVA_EXTERNAL=true`) without code changes.

2. **Strict Quality Gates**:
- Every change must pass:
- `pnpm lint` (ESLint & `manypkg` validation) with 0 errors.
- `pnpm type-check` (TypeScript across all workspace projects) with 0 errors.
- `pnpm test` (Vitest test suite) with 100% pass rate.

3. **Human-Readable Communication with Emojis**:
- All commits, issue titles, issue comments, and documentation must start with semantic emojis.
- Use clear formatting, bullet points, and avoid robotic or unformatted text.

4. **GitHub-Formatted Mermaid Diagrams**:
- Non-trivial architecture, state transitions, pipelines, and protocol interactions must be visually rendered with GitHub-compatible Mermaid diagrams (`flowchart`, `sequenceDiagram`, `stateDiagram-v2`, `erDiagram`).

5. **Hierarchical Sub-Issue Management**:
- Epics and feature requests must split discrete tasks into dedicated child GitHub issues linked to the parent issue.

---

## πŸ“‘ Rule Files Index

| Rule File | Scope & Purpose |
| :--- | :--- |
| [**`rules/code-conventions.md`**](rules/code-conventions.md) | TypeScript conventions, React/Next.js guidelines, Sapphire framework rules |
| [**`rules/commit-standards.md`**](rules/commit-standards.md) | Detailed human-readable commits with emojis, imperative mood, and scopes |
| [**`rules/issue-standards.md`**](rules/issue-standards.md) | Standardized issue layouts, Mermaid diagrams, and GitHub CLI sub-issues |
| [**`rules/wiki-standards.md`**](rules/wiki-standards.md) | GitHub wiki formatting, relative links, Mermaid visuals, sidebar, and footer |
| [**`rules/operational.md`**](rules/operational.md) | Shell commands, pnpm monorepo commands, safety gates, and error handling |
| [**`rules/database-fallback-rules.md`**](rules/database-fallback-rules.md) | Dual database & cache fallback lifecycle rules |
Loading