# Code Parser Service

Source parsing and graph extraction service for the code intelligence indexing pipeline.

## Responsibilities

- Consume `files.changed` and `repo.snapshot.ready` events in future tasks
- Parse supported languages and emit graph artifacts
- Publish `chunks.ready`, `graph.artifact.ready`, and `parser.diagnostics.ready` in future tasks
- Expose REST health and status endpoints now

## Quick Start

```sh
make dev
make test
make build
```

## Default Port

`6002`

## Docs

- [Architecture](docs/architecture.md)
- [API](docs/api.md)
- [Local Setup](docs/local-setup.md)
- [Events](docs/events.md)

## Initial Go Parser

The initial scaffold includes a Go analyzer using `go/parser` and `go/ast` in `internal/service/parser/go`.
