# SemanticMetadata

**Kind:** Interface

**Source:** [`atloria-monorepo/libs/parser-core/src/utils/semantic-detector.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/utils/semantic-detector.ts#L19)

Semantic Pattern Detector

Detects semantic patterns in code to understand business logic:
- State machines (enums with Stage/Status/State)
- State transitions (methods that change state)
- Modal/dialog triggers
- Approval workflows

This enables comprehensive documentation and screenshot capture.

## Properties

| Property | Type |
|---|---|
| `hasStateMachine` | `boolean` |
| `stateEnums` | `string[]` |
| `transitionMethods` | `string[]` |
| `modalTriggers` | `string[]` |
| `approvalStates` | `string[]` |
