feat: showcase polish — configurable paths, webhook, get_status, CI#2
Merged
feat: showcase polish — configurable paths, webhook, get_status, CI#2
Conversation
COMMS_DIR is now read from AGENT_BUS_COMMS_DIR (blank or unset falls back to ~/.claude/comms). Also removes Helm-specific language from comments. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
AGENT_BUS_CROSS_AGENT_RETENTION_DAYS (default 90) and AGENT_BUS_SESSION_RETENTION_DAYS (default 30) replace hardcoded day counts in cleanup.sh. Ecosystem and .env.example updated. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Direct JSONL writer for PM2 cron jobs and other scripts that can't call MCP. Uses the same event schema as the server so events are visible via query_events and get_event. Documented in README. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…al clone URL Adds optional components table (NATS, ntfy, webhook), full env vars reference table, get_status tool docs, real clone URL, and updated storage layout to use $AGENT_BUS_COMMS_DIR. CI badge added. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Import smoke test on Python 3.11, 3.12, 3.13 plus pip-audit dependency audit. Matches pattern from scoped-mcp and searxng-mcp. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both CVEs are fixed in 3.2.0; pinning to latest 3.2.4. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
L-01: strip \r\n from event fields interpolated into curl -H args in emit_ntfy() to prevent header injection (near-zero exploitability but trivially defensible). L-03: expand ntfy-real-channel gitleaks rule to also match ntfy.glitch42.me and ntfy.glitch42.com patterns. 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
AGENT_BUS_COMMS_DIR— base directory now configurable via env var (blank =~/.claude/comms). Propagated toserver.py,reconcile.py,cleanup.sh,ecosystem.config.js,.env.exampleAGENT_BUS_CROSS_AGENT_RETENTION_DAYS(default 90) andAGENT_BUS_SESSION_RETENTION_DAYS(default 30) replace hardcoded values incleanup.shagent_bus_client.py— direct JSONL writer for non-MCP callers (PM2 cron jobs, task dispatchers); documented in README but was missing from the repoAGENT_BUS_WEBHOOK_URL+AGENT_BUS_WEBHOOK_EVENTSenv vars; fire-and-forget POST on matching events;*fires on all events; silent failure likeemit_ntfyget_statustool — returnscomms_dir,logs_dir,hostname, active integrations (NATS/ntfy/webhook), log date range, and today's event count; useful for verifying setup after installget_statusdocs, real clone URL, updated storage layout to use$AGENT_BUS_COMMS_DIR, CI badgepip-auditdependency auditTest plan
python -c "import server; import reconcile; import agent_bus_client") ✅get_statusreturns correct paths and integration stateAGENT_BUS_COMMS_DIRredirects all log writes when setAGENT_BUS_WEBHOOK_URLleaves webhooks disabled silentlycleanup.shretention defaults behave identically to before🤖 Generated with Claude Code