Skip to content

feat(bot): implement core bot runtime, access control, and command routing - #18

Merged
qdiaps merged 17 commits into
masterfrom
feat/bot-core
Nov 19, 2026
Merged

qdiaps merged 17 commits into
masterfrom
feat/bot-core

Conversation

@qdiaps

@qdiaps qdiaps commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Description

Implements the foundational bot runtime, access control layer, command routing, and core domain contracts:

  • Bot Runtime & Delivery: Added Bot with virtual-thread update execution and graceful shutdown, Receiver, MessageRouter (command dispatch), and Sender (content delivery, 429 retries, forum topic/reply handling, and throttled failure notifications).
  • Access Control (AccessGuard): Implemented AccessState initialization with root admin/admin immunity and whitelist filtering for users and chats.
  • Command Routing: Added CommandRouter with mention normalization, admin access isolation, and initial /start, /help, and /access commands.
  • Core Contracts: Defined MessageMetadata, Payload, DeliveryReport, AccessDecision, DenialReason, FailureCategory, and ChatType.
  • Configuration & Startup: Refactored AppConfig to externalize retry, cooldown, and shutdown timeout settings, and hardened application startup/shutdown in Main.

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing behavior to change)
  • Documentation update
  • Refactoring / CI / Build improvements

Checklist

  • My code follows the code style of this project
  • I have run ./mvnw clean verify and all tests pass
  • My commit messages follow Conventional Commits specification

@qdiaps
qdiaps merged commit af46f7e into master Nov 19, 2026
2 checks passed
@qdiaps
qdiaps deleted the feat/bot-core branch November 19, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant