Skip to content

Releases

ChaosMonkey 0.1.3 — Community Preview

Choose a tag to compare

@mattmcclintock mattmcclintock released this 20 Nov 20:16

Performance and migration-readiness release. All users should run 0.1.3;
0.1.0–0.1.2 are superseded.

This release carries the corrections needed for self-hosted migration at
established data volumes — see MIGRATION.md for the full
hosted→self-hosted procedure.

Fixed

  • Dashboard responsiveness at large evidence volumes. The session→PR
    attribution pass evaluated every session against every pull request
    (O(sessions × PRs) — tens of millions of pair evaluations at established
    volumes). PR evidence is now indexed by normalized repository once, and
    only same-repository candidates are evaluated; cross-repository and
    missing-repository pairs are skipped exactly, preserving classification
    semantics. This eliminates a multi-second main-thread block that could
    freeze the browser on the largest dashboards.
  • /api/metrics latency. The metrics path no longer performs
    synchronous GitHub OAuth enrichment when GitHub App evidence is already
    authoritative, and the OAuth repository-authority lookup is cached
    per-organization/token for five minutes instead of re-fetching on every
    request. Metrics requests that previously timed out at ~30s on large
    datasets now complete within budget (rehearsal-verified).
  • Review-count provenance. review_count now counts only submitted
    review records (populated via github:app-sync --enrich-reviews), never
    requested reviewers; requested reviewers are pending invites, not
    completed reviews.
  • Metric semantics. Deployment failure rate (percentage of finalized
    failed deployment outcomes across observed environments) is reported
    separately from DORA change failure rate, which is not derivable from
    deployment status alone and now reports null rather than a misleading
    figure. Review-cycle and reopen-history fields likewise report null
    when per-review timeline evidence is unavailable, instead of
    fabricating zeroes. Merge rate is a same-cohort retrospective rate
    (PRs created in a week that have merged as of observation time), with
    cohorts under 14 days marked immature. Release counts are null when
    release evidence is unavailable (e.g., contents permission absent)
    rather than a false zero. Environment classification is conservative:
    ambiguous values report as unknown, not production or non-production.
  • Historical evidence windows are disclosed via
    evidence_window_start, evidence_window_basis, and
    evidence_partial metadata on metrics responses.

Added

  • github:app-sync artisan command — historical GitHub evidence
    synchronization via the App installation token (OAuth-independent).
    Idempotent upserts, --dry-run inventory mode, resumable via
    --from-repo, with --enrich-reviews, --include-deployments, and
    --include-releases options. Required for webhook-gap recovery during
    migration cutover; see MIGRATION.md.
  • In-flight OAuth status deduplication — concurrent dashboard
    components share one /api/github/oauth/status request rather than
    firing duplicate calls.
  • MIGRATION.md — customer-facing self-hosted migration guide:
    VM prerequisites, Docker Compose, TLS/reverse proxy, encrypted SQLite
    transfer and restore, customer-owned GitHub App and OAuth setup,
    telemetry endpoint repointing, validation checklist, cutover and
    rollback.

Security

  • Session-primitive cache keys are now tenant-sensitive via a
    non-reversible token fingerprint; token material is never stored or
    logged.
  • Runtime dependencies updated to resolve all locked Composer
    advisories
    (56 → 0): laravel/framework 12.73, symfony/* 7.4,
    guzzlehttp/* and league/commonmark patch/minor updates within
    existing constraints. A conflict bound keeps dependency resolution
    within the PHP 8.2 runtime. composer audit --locked reports zero
    advisories at release time.

Known limitations

  • The first HTTP request on a freshly started container is slow
    (~20 s at large data volumes) while PHP/Laravel caches warm; steady
    state is sub-second. Subsequent requests are unaffected.

v0.1.2 — Community Preview

Pre-release

Choose a tag to compare

@mattmcclintock mattmcclintock released this 05 Nov 21:02

Security hardening release. All users should run 0.1.2; v0.1.0 and v0.1.1 are superseded.

Security

  • Unauthenticated telemetry requests are now denied before input validation. In 0.1.1, request validation ran before the authentication check, so a caller could distinguish valid inputs — such as probing organization_id existence via the exists:organizations rule — from the 401-vs-validation-error differential, and malformed anonymous payloads received a redirect rather than an authorization error. Bearer-token resolution and the anonymous-ingest guard now run first: every unauthenticated write attempt uniformly returns 401 before any validation executes.
  • Carries the 0.1.1 fix: all telemetry write endpoints require a valid bearer token or authenticated dashboard session. v0.1.0 accepted anonymous POST /api/telemetry and POST /api/telemetry/upload requests when a caller supplied a valid organization_id, a user_id matching an existing account, or when a migrated database contained the legacy chaosmonkey organization. Caller-supplied identifiers no longer determine tenant attribution; session-authenticated writes are scoped to the caller's own organization (403 on cross-tenant attempts).
  • No database records are altered; valid authenticated ingestion is unchanged.

See the release manifest for image tags, platforms, and client-artifact checksums (client artifacts are unchanged from v0.1.0).

Upgrading: pull ghcr.io/chaosmonkey-dev/chaosmonkey:0.1.2, stop the container, start a new one against the same /data volume — see operations. Always back up /data first.

v0.1.1 — Community Preview

Pre-release

Choose a tag to compare

@mattmcclintock mattmcclintock released this 05 Nov 20:02

Superseded by v0.1.2. 0.1.1 closes the unauthenticated-ingestion vulnerability; 0.1.2 additionally denies unauthenticated requests before input validation (closing an organization_id existence oracle). Use 0.1.2.

Security fix release. All users should run 0.1.1; v0.1.0 is superseded.

Security

  • Unauthenticated telemetry ingestion is now rejected on every install. v0.1.0 accepted anonymous POST /api/telemetry and POST /api/telemetry/upload requests when a caller supplied a valid organization_id, a user_id matching an existing account, or when a migrated database contained the legacy chaosmonkey organization — allowing unauthorized parties to write telemetry into an instance and, in the forged-organization case, into a specific tenant.
  • All telemetry write endpoints now require a valid bearer token or authenticated dashboard session (401 when absent or invalid). Caller-supplied organization and developer identifiers no longer determine tenant attribution; session-authenticated writes are scoped to the caller's own organization (403 on cross-tenant attempts).
  • No database records are altered; valid authenticated ingestion is unchanged.

See the release manifest for image tags, platforms, and client-artifact checksums (client artifacts are unchanged from v0.1.0).

Upgrading: pull ghcr.io/chaosmonkey-dev/chaosmonkey:0.1.1, stop the container, start a new one against the same /data volume — see operations. Always back up /data first.

v0.1.0 — Community Preview

Pre-release

Choose a tag to compare

@mattmcclintock mattmcclintock released this 05 Nov 15:01

Superseded — do not use. v0.1.0 accepts unauthenticated telemetry writes under some inputs (forged organization_id/user_id, legacy fallback org). Fixed in v0.1.2. Retained for historical reference only.

ChaosMonkey is self-hosted, open-source observability for AI-assisted software engineering — telemetry, workflow analytics, and delivery evidence for the AI coding tools your team already uses.

This is the first public release, designated Community Preview.

Install

docker pull ghcr.io/chaosmonkey-dev/chaosmonkey:0.1.0
docker run -d --name chaosmonkey \
  -p 127.0.0.1:8080:80 \
  -v chaosmonkey-data:/data \
  ghcr.io/chaosmonkey-dev/chaosmonkey:0.1.0
docker exec -it chaosmonkey \
  php /var/www/backend/artisan chaosmonkey:create-admin you@example.com

The default bind is loopback-only. Remote hosting and HTTPS are documented in docs/operations.md.

Supported integrations

Tool Package Version Verification level
VS Code / Cursor IDE chaosmonkey-telemetry-0.4.1.vsix 0.4.1 Packaged artifact verified; authenticated ingest tested
Claude Code chaosmonkey-cc-bridge-0.4.2-cc-bridge.tgz 0.4.2 Packaged install → hook invocation → ingest
Cursor Agents Window chaosmonkey-cursor-agent-bridge-0.4.2-cursor-bridge.tgz 0.4.2 Packaged install → hook invocation → ingest
Codex CLI chaosmonkey-codex-bridge-0.4.1-codex-bridge.tgz 0.4.1 Packaged install → hook invocation → ingest; requires manual hook-trust (/hooks)
GitHub OAuth built-in — Optional; config + callback tested
GitHub App built-in — Optional; webhook signature handling tested

Bridge verification used packaged artifacts with hook events invoked against a live local instance; sessions from the vendor tools themselves were not independently exercised.

Known limitations

  • Live GitHub OAuth/App handshakes are config-tested only — no live app installation was performed during release testing.
  • Tool-cost figures are configured estimates, not provider billing.
  • Performance Insights requires telemetry maturity before surfacing findings.
  • No automatic telemetry retention enforcement in this release.

Artifacts

  • Container image: ghcr.io/chaosmonkey-dev/chaosmonkey:0.1.0 (linux/amd64, linux/arm64)
  • Client packages ship inside the image and are served under /api/*/download/latest; SHA-256 pins are listed in docs/release-manifest.md.