RepoPilot

fission-ai / openspec

Search fission-ai/openspec

GitHub

Code

How fission-ai/openspec is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely public API
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new CLI command

  • Import and register the command in the CLI router at src/cli/index.ts

Add a new artifact type to the spec system

  • Extend the artifact type definitions in src/core/artifact-graph/types.ts to include the new artifact kind
  • Add JSON schema constraints in src/core/artifact-graph/schema.ts to validate the new artifact structure
  • Implement resolution logic in src/core/artifact-graph/resolver.ts to handle linking and dependency discovery for the new type
  • Update src/core/artifact-graph/instruction-loader.ts to parse and expose instructions from the new artifact type

Add a new change proposal and stacked change

  • Update openspec/changes/IMPLEMENTATION_ORDER.md to reflect the new change's position in the stack

Enhance interactive prompts and UI

  • Use UI helpers from src/ui/ascii-patterns.ts for consistent terminal formatting and visual presentation
  • Integrate the prompt into command flow via src/utils/interactive.ts for centralized input handling

Change the public API

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.
  • Some entry points named in the manifest are build output or are missing from the file list, so their source is not shown.

Code quality and hotspots

Largest source files

  • Branch points156 per file on average
  • Code issues0 errors, 410 warnings
  • Largest file2,421 lines
  • Hotspot load10 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions3 workflows
  • Tests461 test files1.8 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: openspec/changes/add-amp-support/specs/ai-tool-paths · openspec/changes/add-change-stacking-awareness/specs/change-creation · openspec/changes/add-change-stacking-awareness/specs/change-stacking-workflow

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.