fix: platform tech debt — server, MCP, SDK quick wins#110
Open
gilbert-barajas wants to merge 1 commit into
Open
fix: platform tech debt — server, MCP, SDK quick wins#110gilbert-barajas wants to merge 1 commit into
gilbert-barajas wants to merge 1 commit into
Conversation
Server: - Wrap deleteAgent() in transaction (9 table deletes were non-atomic) - Fix N+1 query: move getAllTeamSettingsGrouped() outside loop in calibration - Add logging to silent catch in sleep_mode_log parse MCP: - Convert 4 tools from raw JSON schema to Zod (request_work, file_directive, upload_asset, download_asset) - Log config errors in api.js instead of silent catch SDK: - Adaptive heartbeat: 5min idle / 90s active (matches MCP behavior) - Add env var support for runtime metadata (MYCELIUM_RUNTIME, LLM_BACKEND, LLM_MODEL, CAPABILITIES) Watchdog: - Override onWork to unclaim items (fixes idle handler never firing) - Fix embed callback_path double URL prefix - Fix embed claim flow (use PUT status instead of POST /drones/claim) - Filter embed jobs by job_type or title prefix (handles retried jobs) - QA: skip bug filing for transient auth/network errors - QA: wrap context delete in try/catch (admin-only endpoint) - QA: use raw API for task/bug lifecycle (avoids workingOn pollution) - QA: remove extra heartbeat from testSavepoints - Remove willing-sacrifice from uptime monitoring (not hosted) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
deleteAgent()in transaction, fix N+1 query in calibration loop, add logging to silent catchTest plan
🤖 Generated with Claude Code