Skip to content

[M10] Implement diagnostics, hover, definition, and reference language services #65

Description

@Teakowa

Parent: #27

Depends on: #63, #64

Planning status: provisional until the M9 gate is complete.

Goal

Expose the first high-value editor-neutral language intelligence by composing the native frontend, semantic index, analyzer, and project/workspace model.

Scope

  • Publish syntax/semantic/static-analysis diagnostics for the current document/project state.
  • Implement hover information backed by canonical symbols, target catalog metadata, and source semantics.
  • Implement go-to-definition for supported declarations/references across files.
  • Implement find-references using the existing semantic index/project graph.
  • Preserve precise source ranges and document versions in all results.
  • Handle incomplete/malformed source conservatively using parser recovery without inventing semantic certainty.

Non-goals

  • LSP wire serialization.
  • Heuristic symbol guesses that are not supported by the semantic model.
  • Completion/rename/semantic tokens; separate issue.

Acceptance criteria

  • Core diagnostics/navigation operations work through editor-neutral APIs.
  • Cross-file definition/reference results match compiler project/source resolution.
  • Results update correctly after document changes and do not return stale document versions.
  • Incomplete source degrades gracefully with structured partial/unavailable results rather than panics.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions