Skip to content

Add base44-troubleshooter skill for production debugging#62

Draft
ozsay wants to merge 2 commits intomainfrom
troubleshooter
Draft

Add base44-troubleshooter skill for production debugging#62
ozsay wants to merge 2 commits intomainfrom
troubleshooter

Conversation

@ozsay
Copy link
Collaborator

@ozsay ozsay commented Feb 4, 2026

Summary

  • Add new base44-troubleshooter skill for investigating production issues in Base44 apps
  • Provides scripts to fetch audit logs, backend function logs, and agent conversation history
  • Includes API reference documentation for all three log sources

What's Included

Scripts:

  • fetch-audit-logs.sh - Query audit logs with filtering by status, event type, user, and date range
  • fetch-function-logs.sh - Get runtime logs from backend functions (Deno Deploy)
  • fetch-agent-conversations.sh - Retrieve agent chat history with tool call results, supports filtering for errors

Reference Docs:

  • Audit Logs API - event metadata, request/response schemas
  • Function Logs API - console output, stack traces
  • Agent Conversations API - full conversation history with tool call statuses

Key Features:

  • All scripts handle authentication internally using the Base44 CLI token
  • Security: Never exposes tokens directly - scripts read from auth file
  • --errors-only flag for quickly finding failed agent tool calls
  • Filtering by status, date range, user, agent name, etc.

Test Plan

  • Verify base44 whoami authentication check
  • Test fetch-audit-logs.sh with various filters
  • Test fetch-function-logs.sh with time range filters
  • Test fetch-agent-conversations.sh with --errors-only flag
  • Verify skill appears in plugin.json

Made with Cursor

@ozsay ozsay marked this pull request as draft February 4, 2026 14:44
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