Skip to content

Releases

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 02:20

Black Box 0.3.0

Black Box is a local-first memory bus for coding agents: capture structured Decisions, Handoffs,
Observations, Ideas, and Evidence, then recall that context across sessions through MCP, REST, CLI,
or the web UI. This release gathers the architecture, capture-fidelity, diagnostics, redaction,
recovery, UI, onboarding, and performance work landed since v0.2.0.

Highlights

  • Per-project broadcasts for cross-session awareness. A mutable live set per project of
    hazard (active lock, dirty tree, warning; 72h default TTL), invariant (standing fact), and
    tentacle (started-but-unfinished work, cleared only explicitly, with an optional follow-up
    time) notices. Write them with MCP setBroadcast / clearBroadcast or REST /api/broadcasts;
    listBroadcasts with staleOnly and allProjects sweeps forgotten tentacles across every
    project, and recallContext attaches a bounded digest (8 items, 1,500 characters) whenever
    recall resolves to a project.
  • Focused memory bus; task board, runner, and Jev/Cortex judge removed. Session parent/child
    relationships and DAGs live in the lineage module, while the dormant /board UI, task/spec
    REST routes, workflow MCP tools, separate runner process, and optional Jev/Cortex judgment
    stage are removed (board retirement). Issue trackers own task queues;
    Black Box owns cross-session agent evidence and continuity.
  • Richer structured intent, ADR export, and deterministic continuations. Capture and recall
    cover Idea (captureIdea with stable ideaKey status updates and verbatim quotes) and
    Evidence (captureEvidence with provenance and supporting/refuting links) alongside Decisions,
    Handoffs, and Observations. Related sessions group across repositories as
    projectless braids, GET /api/continuations builds bounded
    deterministic Prompts from the record with no model call, Recall cards include Copy ADR,
    and ./scripts/blackbox export-adr renders project Decisions into Markdown ADRs with Git drift
    checks.
  • One-flag offline profile, unified CLI, and black-box artifact/MCP naming. Added the
    offline Spring profile (--spring.profiles.active=offline) disabling external/model calls in
    one flag, ./scripts/blackbox (start, status, demo, init, export-adr), and a bundled
    portable agent skill (skills/black-box/SKILL.md). The Maven artifact and MCP server now publish
    as black-box (black-box-0.3.0.jar); existing clients registered under the historical
    sba-agentic alias and SBA_* environment variables continue working unchanged.
  • Zero-model handoff summaries and deeper credential protection. When a session records a
    structured Handoff, session finalization promotes that Handoff directly as its summary
    (summary_source = handoff) with zero model latency or token cost. The hook bridge streams large
    payloads to jq over stdin instead of hitting ARG_MAX, preserves Claude Stop assistant turns
    through search and transcript merges, masks Black Box's own configured credential values across
    every display and encoded shape (including Base64 streams), and redacts stored text before
    summary or meld calls.
  • Diagnostics, continuity linting, braid-graph export, and offline recall regression benchmark.
    Added read-only GET /api/diagnostics/storage (storage diagnostics),
    GET /api/diagnostics/continuity and redacted GET /api/export/braid-graph (JSON or Mermaid,
    continuity diagnostics), and the offline synthetic
    recall quality benchmark (scripts/recall-benchmark.sh).
  • Ambient surfaces, custom PWA icons, and faster human review. Added the chrome-less
    /companion view and optional native macOS panel (companion), the optional
    macOS menu-bar quick-recall helper (macOS quick recall), custom app
    icons and manifest.webmanifest, My Turns inline follow-up expansion, live
    Project Windows cards, caret-aware stream query completion, and a scripted throwaway-DB
    live demo.
  • Encrypted offsite backups, fast shutdown, and measured hot paths. The standalone
    backup CLI copies live WAL SQLite databases in a single consistent
    step, scripts/storage/blackbox_offsite_backup.py encrypts offsite snapshots with AES-256 and
    restore verification, SQLite read-write transactions begin IMMEDIATE, SSE clients resume via
    durable Last-Event-ID cursors without blocking graceful shutdown (32.1 s to ~1.1 s), and
    hot paths carry reproducible benchmarks for
    transcript deduplication,
    batched lineage metadata,
    timestamp-indexed dashboard activity,
    lazy stream payloads,
    on-demand route loading, and
    frontend request budgets.

Download and run

Download black-box-0.3.0.jar and SHA256SUMS from GitHub Releases into the same directory.
Java 21+ includes everything needed for the default local SQLite server; Elasticsearch and models
remain optional.

shasum -a 256 -c SHA256SUMS       # macOS; on Linux use sha256sum -c SHA256SUMS
java -jar black-box-0.3.0.jar --spring.profiles.active=offline

The server binds to 127.0.0.1:8766 and stores sba-agentic.db in the working directory unless
SBA_DATASOURCE_URL overrides it. With --spring.profiles.active=offline, sessions that record a
structured Handoff receive deterministic handoff summaries; other finalized sessions fall back to
compacted-transcript summaries without calling a model.

To build from source instead, run mvn -q -DskipTests package in an isolated checkout following
Installation and Operations.

Upgrade from 0.2.0

  1. Stop the running 0.2.0 server and any separate 0.2.0 runner process before replacing
    binaries. Do not start an old runner against the updated server. Take a verified native backup
    first using python3 scripts/storage/blackbox_backup.py (see
    Database recovery) and retain your 0.2.0 JAR and service definition.
  2. Start the new build against the intended database and configuration. Existing databases retain
    session lineage and historical Handoffs automatically while leaving legacy task tables untouched
    by default. Dropping legacy specs/tasks/task_events tables via SBA_RETIRE_WORKFLOW=true
    is optional, explicit, and one-way; read Board retirement before
    enabling it.
  3. Reload or reconnect cached MCP clients so retired workflow tools (createSpec, enqueueTask,
    claimNextTask, updateTaskStatus, completeTask, listTasks, getSpec) are cleared from
    their tool inventory and newer continuity tools (captureIdea, captureEvidence, braids,
    broadcasts) load.
    Verify /api/status and run a small capture-and-recall smoke check before resuming normal hooks.
  4. If rollback is required and SBA_RETIRE_WORKFLOW=true was not run, stop the new process and
    restore the matched 0.2.0 binary, configuration, and pre-upgrade snapshot at a fresh SQLite
    path so stale -wal/-shm files cannot replay against the restored file. Never point a 0.2.0
    JAR at a database migrated with SBA_RETIRE_WORKFLOW=true.

Release boundaries

This remains a pre-1.0 project. The capture-and-recall loop is tested and used daily, but APIs and
schemas do not yet carry a long-term compatibility or general downgrade guarantee.

SQLite is the default canonical store. The optional PostgreSQL profile owns a separate database for
a single API instance; selecting a profile does not synchronize SQLite and PostgreSQL history or
support horizontal API replicas (PostgreSQL).

The default loopback server disables authentication. Network exposure requires enabling the
authentication boundary behind HTTPS. Source checkouts default session
summaries to the external Codex wrapper, which can send redacted transcript excerpts to a vendor;
set SBA_SUMMARY_BACKEND=local to keep summarization on a local OpenAI-compatible endpoint or off
entirely.

Semantic recall indexes structured intent (Decision, Handoff, Observation, Idea,
Evidence); Projections and full session event streams are searched lexically via SQLite FTS5 or
PostgreSQL search rather than full-corpus vector indexing.

Full changelog since v0.2.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 22:58
4d6fcc0

Black Box 0.2.0

Black Box is a local-first memory bus for coding agents: capture a decision or handoff, then recall
that structured context from another session through MCP, REST, or the web UI. This release gathers
the work since June's 0.1.0 into a new runnable artifact.

Highlights

  • Recall across sessions. Hybrid lexical and optional semantic retrieval over Decisions,
    Handoffs, and Observations, with bounded results, a relevance floor, and lexical fallback.
    The Recall UI adds 90- and 180-day windows and keyboard-accessible search help.
  • A clearer history. The SolidJS Activity workspace includes full-text search, facets, saved
    views, complete transcript browsing, and subagent lineage. Project trajectories distinguish
    recorded evidence from speculative projections.
  • Coordination with explicit ownership. Frozen specifications, atomic task claims, validated
    transitions, and completion Handoffs are available through matching REST and MCP operations.
    The optional runner is a separate process with repository and shipping safeguards.
  • Recoverable local operation. An opt-in durable hook outbox retries captures safely, unfinished
    runner work is retained, and local deployment verifies immutable artifacts with binary recovery.
  • Inspectable evidence. Evaluation harnesses and sanitized results document both improvements
    and negative results. They do not establish a general agent-productivity benefit. Offline
    lifecycle rehearsal cannot provision or destroy infrastructure.
  • Maintainer tooling. Enforced Java module boundaries, cross-runtime query fixtures, and an
    opt-in Spotless/Palantir formatter. Existing application Java sources were not reformatted.

Download and run

Download sba-agentic-0.2.0.jar and SHA256SUMS from this release into the same directory. Java 21+
includes everything needed for the default local SQLite server; Elasticsearch and models are optional.

shasum -a 256 -c SHA256SUMS       # macOS; on Linux use sha256sum -c SHA256SUMS
SBA_SUMMARY_BACKEND=local SBA_LOCAL_AI_ENABLED=false java -jar sba-agentic-0.2.0.jar

The server binds to 127.0.0.1:8766. The default database is sba-agentic.db in the working
directory. Keep that directory intentional and stable, or set SBA_DATASOURCE_URL to the desired
SQLite database. The bundled UI needs no Node installation.

The command above uses compacted-transcript summaries without a model. To generate summaries with
a local OpenAI-compatible model, configure its endpoint and enable SBA_LOCAL_AI_ENABLED.
The external summary backend requires the repository-supplied wrapper script and its configured
provider CLI; those scripts are not included in the standalone JAR.

Upgrade from 0.1.0

  1. Stop the recorder and any separate runner before replacing their binaries. Retain the old JAR,
    service configuration, and a verified backup of the canonical database. For SQLite, stop all
    writers and use SQLite's backup facility; do not copy only the main file of an active WAL database.
  2. Start 0.2.0 with the same intended database and configuration. Startup performs additive schema
    initialization. This is not a versioned migration or rollback framework.
  3. Check /api/status, browse retained history, and perform a small capture-and-recall check before
    restarting hooks or runners. Service definitions with an explicit 0.1.0 JAR path must be updated.
  4. If recovery is necessary, stop the new process and restore a matched old binary, configuration,
    and database backup. Restore SQLite to a fresh path so stale WAL/SHM files cannot be replayed
    against the restored main file. Binary rollback alone does not reverse schema changes or new writes.

A disposable rehearsal using the published 0.1.0 JAR retained a Decision and Handoff through
upgrade, captured and recalled a new Handoff, and restored the original records using the old JAR
and a matching backup at a fresh database path. This checks a small SQLite fixture; it is not a
guarantee for every database or a PostgreSQL upgrade test.

For the source checkout's macOS deployment helper, follow
Operations.
Publishing this release does not update an existing local installation.

Release boundaries

This is a pre-1.0 release. The core capture-and-recall loop is usable, but there is no long-term
API/schema stability promise or general downgrade guarantee. A 1.0 release should define that
compatibility contract and its supported upgrade paths explicitly.

SQLite remains the default canonical store. The opt-in PostgreSQL profile uses its own database;
there is no automatic SQLite/PostgreSQL synchronization or support for multiple API replicas.
The former AWS prototype has been retired. This release does not provide a hosted service.

The default loopback server has no authentication. Exposing it to a network requires the optional
authentication boundary and HTTPS. The source checkout defaults to its external Codex wrapper,
which can send transcript text to a vendor; set SBA_SUMMARY_BACKEND=local to select a local
OpenAI-compatible model instead. Optional integrations remain subject to their own configuration.

Semantic recall covers structured Decisions, Handoffs, and Observations; Projections are recalled
lexically. Full event history is searchable but is not entirely semantically indexed.

Full changes since 0.1.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Jun 20:59
a45e8c5

What's Changed

  • Add sba-agentic showcase handoff plan by @nathanmauro in #1
  • Ship Black Box: write+query memory loop, flight-recorder UI, why-first showcase by @nathanmauro in #2
  • Fix Summarize 400 on large sessions: clamp + map-reduce the local-AI input by @nathanmauro in #3
  • Add ASK memory search UI by @nathanmauro in #4
  • Ship Black Box Sessions workspace by @nathanmauro in #5
  • Default Elasticsearch replicas for local indexes by @nathanmauro in #6
  • Make local deploy restart the recorder service by @nathanmauro in #7
  • Launch prep: harden, de-personalize, and make Black Box promotable by @nathanmauro in #8

New Contributors

Full Changelog: https://github.com/nathanmauro/black-box/commits/v0.1.0