fix: resolve all Mirabel64-assigned issues (#363, #372, #373, #374) - #514
Merged
MaryammAli merged 2 commits intoJul 29, 2026
Merged
Conversation
…ockDash-Studios#372, BlockDash-Studios#373, BlockDash-Studios#374) - BlockDash-Studios#363: Add expiration checks to reward prize pool distribution. Prevents expired or already-consumed rewards from being redeemed. Added expiresAt field, isPoolExpired() validation, and metrics. - BlockDash-Studios#372: Add conversation memory summaries for long tutoring sessions. Auto-summarizes chat history when it exceeds AI_MAX_CHAT_HISTORY_LENGTH, compacts older messages into a summary string to control token usage. - BlockDash-Studios#373: Fix chat streaming disconnects leaving partial messages in state. Added isComplete flag to ChatMessage, markMessageIncomplete() and cleanupIncompleteMessages() methods, and streaming disconnect metrics. - BlockDash-Studios#374: Extract chat prompt templates into versioned configuration. New PromptTemplateService with config file loading, versioned defaults, and fallback behavior. Templates now auditable and independently evolvable. Incidental: Fixed corrupted env.schema.ts and metrics.service.ts files. Closes BlockDash-Studios#363, closes BlockDash-Studios#372, closes BlockDash-Studios#373, closes BlockDash-Studios#374
|
@Mirabel64 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
. **Bug: reward redemption requests bypass expiration checks #363: Add expiration checks to reward prize pool distribution. Prevents expired or already-consumed rewards from being redeemed. Added expiresAt field, isPoolExpired() validation, and metrics.
Enhancement: add conversation memory summaries for long tutoring sessions** #372: Add conversation memory summaries for long tutoring sessions. Auto-summarizes chat history when it exceeds AI_MAX_CHAT_HISTORY_LENGTH, compacts older messages into a summary string to control token usage.
**Bug: chat streaming disconnects leave partial messages in state** #373: Fix chat streaming disconnects leaving partial messages in state. Added isComplete flag to ChatMessage, markMessageIncomplete() and cleanupIncompleteMessages() methods, and streaming disconnect metrics.
**Refactor: extract chat prompt templates into versioned configuration** #374: Extract chat prompt templates into versioned configuration. New PromptTemplateService with config file loading, versioned defaults, and fallback behavior. Templates now auditable and independently evolvable.
Incidental: Fixed corrupted env.schema.ts and metrics.service.ts files.
Closes #363, closes #372, closes #373, closes #374