# Repository Analysis: @fission-ai/openspec

## Overview
- **Type**: Node.js/TypeScript
- **Frameworks**: Vitest, GitHub Actions
- **Files Analyzed**: 221 of 231 (10 skipped)
- **Analysis Date**: 2026-01-31T15:45:00.646Z

## Architecture Pattern
This appears to be a **unknown** architecture.

**Detected Layers:**
- Infrastructure Layer: Configuration, middleware, and utilities (30 files)

## Language Breakdown
| Language | Files | Percentage |
|----------|-------|------------|
| TypeScript | 172 | 78.0% |
| Markdown | 26 | 12.0% |
| JSON | 7 | 3.0% |
|  | 4 | 2.0% |
| JavaScript | 3 | 1.0% |

## Detected Domains
These domains will become OpenSpec specifications:

| Domain | Files | Key Entities | Spec Path |
|--------|-------|--------------|-----------|
| completions | 16 | CompletionProvider, Factory, BashGenerator | `openspec/specs/completions/spec.md` |
| command-generation | 26 | Registry, Cursor, Windsurf | `openspec/specs/command-generation/spec.md` |
| artifact-graph | 7 | Schema, Resolver, InstructionLoader | `openspec/specs/artifact-graph/spec.md` |
| schemas | 9 | ChangeSchema, BaseSchema, SchemaYaml | `openspec/specs/schemas/spec.md` |
| validation | 3 | Validator | `openspec/specs/validation/spec.md` |
| commands | 14 | Schemas, Feedback, Schema | `openspec/specs/commands/spec.md` |
| parsers | 3 | RequirementBlocks, ChangeParser, MarkdownParser | `openspec/specs/parsers/spec.md` |
| templates | 2 | SkillTemplates | `openspec/specs/templates/spec.md` |
| users | 5 | LlmContextJson, SUMMARYMd, DependencyGraphJson | `openspec/specs/users/spec.md` |
| ui | 2 | AsciiPatterns, WelcomeScreen | `openspec/specs/ui/spec.md` |

## Dependency Insights

**Most Connected Files:**
- `package.json` (5 connections)
- `src/commands/feedback.ts` (1 connections)
- `src/core/init.ts` (1 connections)

**Orphan Files**: 215 file(s) with no imports or exports

## Files Selected for Deep Analysis
The following files were selected as most significant:

1. `src/core/completions/types.ts` (score: 65) - high-value-name
2. `src/core/command-generation/types.ts` (score: 65) - high-value-name
3. `src/core/artifact-graph/types.ts` (score: 65) - high-value-name
4. `src/core/config-schema.ts` (score: 65) - schema, high-value-name
5. `src/core/schemas/change.schema.ts` (score: 60) - schema, high-value-name
6. `src/core/schemas/base.schema.ts` (score: 60) - schema, high-value-name
7. `src/core/validation/types.ts` (score: 60) - high-value-name
8. `src/core/artifact-graph/schema.ts` (score: 60) - schema, high-value-name
9. `src/core/global-config.ts` (score: 60) - config, high-value-name
10. `src/core/project-config.ts` (score: 60) - config, high-value-name
11. `src/core/completions/completion-provider.ts` (score: 55) - service
12. `src/core/config.ts` (score: 55) - config, high-value-name
13. `src/commands/workflow/schemas.ts` (score: 55) - schema, high-value-name
14. `src/commands/feedback.ts` (score: 55) - high-value-name
15. `src/telemetry/config.ts` (score: 55) - config, high-value-name

## Recommendations
- Review 215 orphan file(s) that may be unused

---
*Generated by openlore v1.0.0*