Repository avatar
Version Control
v0.2.0
active

nebulous

io.github.TheInfoMoose/nebulous

Git-backed project and bug tracker for coding agents: items, plans, timers and commits.

Documentation

Nebulous

CI Release License: MIT

Nebulous is a CLI-first, local-first, Git-backed 4-tier project, bug, and release-engineering tracker built in Rust for developers, multi-component engineering teams, and AI-assisted coding workflows. It combines an ergonomic zero-ID command-line interface (neb), a retro Amber-on-Black CRT phosphor terminal dashboard (neb / neb tui), and a built-in Model Context Protocol server (neb mcp), storing all project state in human-readable TOML manifests and Markdown files inside .tracker/.


Key Features

  • Retro Amber-on-Black Phosphor TUI (neb / neb tui):
    • Classic P3 monochrome CRT Amber-on-Black palette (#000000 obsidian background, #FFB000 primary amber, #FFD866 bright gold highlights, #996300 muted dust/borders, #FF5500 high-contrast alert orange).
    • Aspect-locked centered ASCII art Nebula cloud + NEBULOUS centerpiece header (5×76 full block-letter banner on wide terminals, 3×60 compact banner on smaller terminals) with wrapping strictly disabled so the header never clips or deforms.
    • Responsive scaling locks (>= 110 cols 3-pane layout, 64..109 cols 2-pane + bottom inspector drawer, < 64×20 non-deforming minimum viewport scaling lock guard) and modal [REQUIRED FIELD LOCK] validation with horizontal cursor-window scrolling.
  • Canonical 3-Stage Lifecycle & Automatic Cross-Stage Scope Mirroring:
    • One-command neb init scaffolds all 3 canonical stages out of the box:
      1. pre_production (pre / 1 — Planning & Design)
      2. production (prod / 2 — Active Implementation)
      3. post_production (post / 3 — Verification, Polish & Release)
    • Domain scopes (crates, packages, build modules) are automatically mirrored across all registered stages and items move cleanly between stages via neb move <stage> or the TUI [m] modal.
  • Predictive Assist ("What's Next") & Zero-ID Workflow Shortcuts:
    • Automatically infers the target domain scope from your active working directory, modified Git files, or active timer when --scope is omitted.
    • Zero-ID commands: neb start falls back to the top neb next item (neb start --dry-run previews which item it would pick without starting a timer or changing status); neb done, neb show, neb context, and neb move use the active timer or the single in_progress item, else stop and suggest the top item.
  • 4-Tier .tracker/ TOML + Markdown Hierarchy:
    • Tier 1 (project.toml): Global project metadata, monotonic ID counters (BUG-XXXX, FEAT-XXXX, TASK-XXXX) or opt-in hash IDs (id_scheme = "hash"), stage registry, ingested [components] catalog, effort/stagnation thresholds, and Git sync + [git.commit_policy] configuration.
    • Tier 2 (phases/<stage_id>/phase.toml): Stage lifecycle status, registered domain scopes, and roll-up completion counts.
    • Tier 3 (.../domains/<scope_id>/scope.toml): Domain/crate boundary metadata (target, tech_stack, description, bound_component, tracked_files) and lightweight item stubs (bugs, features, tasks) for instant startup indexing.
    • Tier 4 (.../items/<ITEM_ID>/item.toml + desc.md): Authoritative item metadata, effort tracking (logged_time_minutes, iteration_count), historical fix ledger (recurrence_count, previous_fixes), and rich Markdown specification (desc.md).
  • Two-Stage Directory Ingestion & Rolling-Release Pinning (nebulous.component.toml):
    • Walks the project tree respecting .gitignore, auto-detects ecosystem markers (Cargo.toml, package.json, pyproject.toml, CMakeLists.txt, Makefile, Dockerfile, or nebulous.component.toml), snapshots last_known_good (pinned_release) configurations, and promotes components directly into domain scopes across all stages.
  • Model Context Protocol Server (neb mcp) & Enforced Git Commit Policy:
    • Built-in JSON-RPC 2.0 stdio MCP server exposing 24 tools across Task & Boundary Management, Project & Component Ingestion, Release Engineering & Self-Healing CI/CD, and Policy-Validated Git Operations.
    • Enforced [git.commit_policy] formats commits as [<ITEM_ID>](<scope>) <summary> and automatically records the commit SHA, date, changed files, and summary into item.toml and desc.md.

Workspace Crates

CrateBinary / LibraryDescription
crates/backend_corebackend_core (lib)Core 4-tier TOML/Markdown storage, 3-stage lifecycle & cross-stage scope mirroring, predictive "What's Next" engine, .gitignore-aware directory ingestion, nebulous.component.toml pinning, timer/metrics engine, agent context generator, SecureStorage + SSH KeyPairManager, git2 sync, MCP server (mcp), and notify watcher.
crates/nebulous_clineb (bin)Companion CLI, retro Amber-on-Black ratatui TUI (neb / neb tui), and neb mcp stdio server with human-readable and --json output modes.

Installation

Option 0: Prebuilt Release Archive (Linux x86_64)

Download nebulous-<tag>-x86_64-unknown-linux-gnu.tar.gz and its .sha256 from the GitHub Releases page, then:

sha256sum -c nebulous-<tag>-x86_64-unknown-linux-gnu.tar.gz.sha256
tar xzf nebulous-<tag>-x86_64-unknown-linux-gnu.tar.gz
cd nebulous-<tag>-x86_64-unknown-linux-gnu

# Installs the bundled prebuilt `neb` to ~/.local/bin (no Rust toolchain needed)
./install.sh --user

Option 1: Turnkey Installer from a Checkout (scripts/install.sh)

Builds and installs the neb CLI/TUI binary in release mode:

# Install to ~/.local/bin (default --user mode)
./scripts/install.sh --user

# Or install system-wide to /usr/local/bin (asks for sudo only for the copy)
./scripts/install.sh --system

# Uninstall
./scripts/install.sh --uninstall

Option 2: Cross-Platform Build from Source (Linux, macOS, Windows)

Prebuilt release binaries are Linux (x86_64-unknown-linux-gnu) only; on macOS and Windows, build from source:

cargo build --workspace --release

Quick Start

1. One-Command Bootstrap & Predictive Capture

neb works on the .tracker/ workspace found in the current directory or its ancestors. Run neb init inside your project first. Launched outside any workspace, the interactive dashboard (neb / neb tui) opens the active project registered in projects.toml (neb project list / neb project switch); every other command requires being inside a workspace or passing --root <PATH>.

# Scaffolds pre_production, production, post_production, ingests crates into scopes across all 3 stages, and registers the project
neb init

# Capture a bug or feature (scope is inferred automatically from your CWD or dirty Git files!)
neb bug "Fix empty array deserialization" --severity high
neb feat "Implement bounded agent prompt export" --severity medium
# Capture a planned task (or use the alias `neb chore`)
neb task "Extract roadmap parser into planning module"
# Preview importing roadmap steps from a stepped plan file (pass --write to apply)
neb plan import STEPPED_IMPLEMENTATION_PLAN.md

# Inspect the ranked "What's Next" queue
neb next

2. Zero-ID Flow & Stage Transitions

# Start work on the top recommended item (marks in_progress, starts timer, copies bounded agent prompt)
neb start

# Move the active item from pre_production to production and switch active stage
neb move prod
neb stage prod

# Close the active item and create a policy-validated Git commit [<ID>](<scope>) <summary> in one command
neb done -m "Handle empty array deserialization in TOML parser" -c

3. Launch the Retro Amber-on-Black TUI

# Launch the interactive Amber-on-Black terminal dashboard
neb
# or explicitly:
neb tui

TUI Hotkeys:

  • 1 / 2 / 3 (or 1–9 for custom stages): Switch the viewed stage (Pre-Production / Production / Post-Production; use neb stage to change the active stage)
  • Tab / Shift+Tab or h / l: Cycle pane focus (Scopes <-> Items <-> Details) or modal fields
  • j / k or ↑ / ↓: Navigate scopes/items or scroll inspector details (PgUp / PgDn / J / K)
  • b / f / t: Open predictive New Bug / New Feature / New Task modal (pre-filled Scope, Stage, and Severity)
  • s: Start work on selected/recommended item (starts timer + copies bounded agent prompt)
  • d: Open Done / Close modal pre-filled with "Resolved <ID>: <title>" and Git HEAD SHA
  • m: Open 1-key stage move modal (1 Pre-Production, 2 Production, 3 Post-Production)
  • r: Reload .tracker/ index and items | c: Copy bounded agent context | i: Ingest & promote workspace components | n: Jump to "What's Next" item | /: Filter items | q / Esc: Quit / Cancel

4. Configure neb mcp for AI Coding Agents

Run neb mcp as a JSON-RPC 2.0 stdio server. Tested with Orrery, Claude Code and Antigravity (agy); the Cursor and Codex snippets in docs/USAGE.md are untested. A client config looks like this:

{
  "mcpServers": {
    "nebulous": {
      "command": "neb",
      "args": ["mcp", "--root", "/abs/path/to/your/repo"]
    }
  }
}

Documentation


Verification & Testing

Run the full workspace verification suite:

bash -n scripts/install.sh
cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

Releasing

Versions: 0.0.x = alpha, 0.1.x = beta, 1.0.0 = first stable release. Add notable changes under ## [Unreleased] in CHANGELOG.md as they land.

  1. Preview with scripts/bump-version.sh --dry-run X.Y.Z, then run scripts/bump-version.sh X.Y.Z. It sets the version in Cargo.toml, refreshes Cargo.lock, dates the changelog section, and prints the commit and tag commands. It never commits, tags or pushes.
  2. Run the printed commands. Pushing the vX.Y.Z tag starts .github/workflows/release.yml.
  3. Before building, the release workflow runs scripts/release-check.sh vX.Y.Z. That check stops the release if the tag doesn't match Cargo.toml or the changelog has no dated, non-empty ## [X.Y.Z] section. 0.x releases are published as pre-releases, with the changelog section as the release notes.
  4. The release also packs nebulous-mcp-vX.Y.Z-linux-x86_64.mcpb from mcpb/manifest.json and renders server.json with the tag's version, the bundle's URL and its SHA-256. Both committed files are templates: leave their version at 0.0.0.
  5. The publish-registry job then waits for approval in the mcp-registry environment. Approve it only after the bundle on the release has been checked. It re-checks the hash, then publishes to the MCP Registry. A registry version can't be overwritten, so a mistake needs a new version.

License

Released under the MIT License.

MCPB
https://github.com/TheInfoMoose/Nebulous/releases/download/v0.2.0/nebulous-mcp-v0.2.0-linux-x86_64.mcpb
Install Command
# mcpb: https://github.com/TheInfoMoose/Nebulous/releases/download/v0.2.0/nebulous-mcp-v0.2.0-linux-x86_64.mcpb