How kaochenlong/spectra-app works
Purpose and Distribution
Spectra is a packaged desktop application for OpenSpec-compatible, spec-driven development. It manages openspec/ Markdown/YAML project data through a GUI and optional CLI, covering change proposals, specs, tasks, and archives. This repository contains release artifacts rather than application source. Distribution entry points are platform installers: releases/2.3.1/Spectra_2.3.1_aarch64.dmg, releases/2.3.1/Spectra_2.3.1_x64.dmg, and releases/2.3.1/Spectra_2.3.1_x64-setup.exe.
Runtime and Platform Boundary
The executable runtime is encapsulated in signed/bundled macOS .dmg and Windows .exe packages; no source-level process, UI, or CLI entry point is present in the tree. Supported targets are macOS ARM64, macOS x64, and Windows x64, represented under releases/2.2.5/ and releases/2.3.0/.
OpenSpec Data Lifecycle
At runtime, Spectra opens an existing or newly created OpenSpec project directory and treats its specs, change proposals, designs, and task documents as the durable project boundary. It is compatible with directories generated by OpenSpec CLI. The core lifecycle is: create/edit change documents → parse Markdown checklists for task progress → apply/track work → archive completed changes. No implementation paths for this layer are available in the supplied tree.
AI-Assisted Workflow Boundary
Spectra integrates with Claude Code through named skills/slash commands for discussion, proposal creation, task execution, ingestion, archiving, debugging, and spec Q&A. Parallel execution is an experimental opt-in path: independent [P] tasks may be delegated to Claude Code subagents. This is an external-tool boundary; source/configuration for the integration is not included.
Search and Knowledge Retrieval
The product provides full-text search and RAG-backed natural-language questions across specifications and changes. This subsystem indexes OpenSpec content and supports English, Japanese, Traditional Chinese, and Simplified Chinese. Its AI/vector-search runtime is constrained to Apple Silicon or Windows, but the repository exposes only installers, not index, model, or service implementation.
Workspace Isolation and Parking
Optional Git worktree integration creates isolated directories and spx/<change-name> branches per change, detects current worktrees, and switches context. The park/unpark mechanism temporarily shelves in-progress specs outside the Git working tree through the optional CLI. Both define boundaries between Spectra-managed workflow state and the user’s Git repository.
Product Assets and Release Management
Branding is stored at assets/logo.png. Versioned binary delivery is organized by release folders, with historical platform packages in releases/2.2.5/, releases/2.3.0/, and releases/2.3.1/. Repository-level feedback routes through GitHub issue templates in .github/ISSUE_TEMPLATE/.
Main entry points: 2.3.1 Release 2.3.1 · Spectra_2.3.1_aarch64.dmg macOS ARM64 installer · Spectra_2.3.1_x64.dmg macOS x64 installer · Spectra_2.3.1_x64-setup.exe Windows x64 installer
Components 15
Distribution
Versioned installer artifacts.
- Release 2.2.5 · Historical macOS and Windows packages.
releases/2.2.5 - Release 2.3.0 · Historical macOS and Windows packages.
releases/2.3.0 - Release 2.3.1 · Current packaged distribution.
releases/2.3.1 - macOS ARM64 installer
releases/2.3.1/Spectra_2.3.1_aarch64.dmg - macOS x64 installer
releases/2.3.1/Spectra_2.3.1_x64.dmg - Windows x64 installer
releases/2.3.1/Spectra_2.3.1_x64-setup.exe - Issue templates
.github/ISSUE_TEMPLATE
OpenSpec Workflow
Runtime behavior represented without source code.
- Spectra runtime · GUI and optional CLI are encapsulated in installers.
- Change lifecycle · Creates and archives proposals, designs, specs, and tasks.
- Task progress · Parses task checklists to track work.
- Search and RAG · Indexes OpenSpec content for multilingual search and questions.
External Boundaries
User project and external tooling boundaries.
- OpenSpec project · Markdown/YAML specs and change documents in openspec/.
- Claude Code · Skills, slash commands, and optional parallel subagents.
- Git worktrees · Isolated worktrees and spx/<change-name> branches.
- Parked specs · Optional CLI shelves in-progress specs outside the Git worktree.
Connections 17
- Release 2.3.1 → macOS ARM64 installer: ships
- Release 2.3.1 → macOS x64 installer: ships
- Release 2.3.1 → Windows x64 installer: ships
- macOS ARM64 installer → Spectra runtime: installs
- macOS x64 installer → Spectra runtime: installs
- Windows x64 installer → Spectra runtime: installs
- Spectra runtime → OpenSpec project: opens and manages
- Spectra runtime → Change lifecycle: supports
- Change lifecycle → Task progress: tracks via
- Change lifecycle → OpenSpec project: reads and writes
- Spectra runtime → Search and RAG: provides
- Search and RAG → OpenSpec project: indexes
- Spectra runtime → Claude Code: integrates with
- Spectra runtime → Git worktrees: manages
- Git worktrees → OpenSpec project: isolates work for
- Spectra runtime → Parked specs: parks and unparks
- Parked specs → OpenSpec project: shelves