Contributing

Aquifer is built to be extended without forking the core. Two rules govern every contribution:

  1. Neutrality. Extract objective facts only — no judgments, scores or verdicts.
  2. Lean core. The core depends on interfaces, never on concrete adapters.

The interfaces

| Interface | Responsibility | | --- | --- | | Connector | Pull from a source and normalise to Document | | Embedder | Text → vector | | VectorStore | Persist and search chunks plus metadata | | Inferencer | Structured-output LLM client | | SemanticIndexer | Extract neutral metadata from a document | | Interceptor | Cross-cutting hooks and authorization |

Adding a connector

  1. Declare the source type.
  2. Implement the Connector interface.
  3. Register it in the connector factory.
  4. Extend discovery so the source is created.
  5. Register a semantic prompt template.
  6. Add tests and evaluation examples.

Adding an interceptor

Interceptors are the seam for cross-cutting behaviour — for example restricting queries to a tenant's repositories before retrieval. Register them through configuration.

Licensing

Distributed under BSL 1.1. By contributing you agree that your contributions are licensed under the same terms.


Canonical documentation: contributing guide