> ## Documentation Index
> Fetch the complete documentation index at: https://developers.drpn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Contributing

> Where to report a bug or ask for a change, how to send a pull request to Darpan's public repositories, and the licence each one carries.

Darpan's code and documentation are public on GitHub under [`drpn-ai`](https://github.com/drpn-ai). This page says where a report or a change goes, what a reviewer checks, and which licence covers what you send.

## Report a bug or ask for a change

| You found | Send it to |
| - | - |
| A bug in the Darpan app | [Bug reports](https://docs.drpn.ai/releases/bug-reports) on docs.drpn.ai. No account needed. Reports are public, so leave order data, customer names and keys out. |
| Something Darpan should do | [Feature requests](https://docs.drpn.ai/releases/feature-requests) on docs.drpn.ai. |
| A wrong or missing page on this site | An issue on [`drpn-ai/darpan-developers`](https://github.com/drpn-ai/darpan-developers/issues). |
| A wrong or missing page in the product docs | An issue on [`drpn-ai/darpan-docs`](https://github.com/drpn-ai/darpan-docs/issues). |
| A bug in a connector or a Moqui component | An issue on that component's repository: `darpan-hotwax`, `shopify-darpan`, `netsuite-darpan`, `database-darpan`, `darpan-agent`, `moqui-gql`, `moqui-rules` or `moqui-jexl`. |
| A security problem | Email [hello@drpn.ai](mailto:hello@drpn.ai). Do not open a public issue or bug report. |

`drpn-ai/darpan` and `drpn-ai/darpan-ui` take no GitHub issues: app bugs go to the bug board above.

## Send a pull request

1. Fork the repository and branch from its default branch (`main`; `master` for `moqui-framework`).

2. Keep one change per pull request. For anything larger than a fix, open an issue or email [hello@drpn.ai](mailto:hello@drpn.ai) first, so the change has a home before you build it.

3. Run the checks of the repository you changed:

   | Repository | Check |
   | - | - |
   | `darpan-ui` | `npm run check` (lint, type-check and unit tests) |
   | `darpan` and its components | The focused Gradle test for what you changed, for example `./gradlew :runtime:component:darpan:test --tests <class>`, from a [local stack](https://developers.drpn.ai/engineering/local-development.md) |
   | `darpan-developers` | `mint broken-links`, and `python3 scripts/generate_graphql_reference.py --check` if you touched the GraphQL reference |

4. Say in the pull request what changed and how you verified it: the checks you ran and what you tried in the app.

The Darpan team reviews every pull request and merges it into the default branch.

## What a reviewer looks for

| Area | Expectation |
| - | - |
| Scope | The change stays in the repository that owns the behavior. See [Repo map](https://developers.drpn.ai/engineering/repo-map.md). |
| UI | Custom UI stays in the Vue app and reuses its shared page and workflow patterns. See [Frontend design system](https://developers.drpn.ai/engineering/frontend-design-system.md). |
| Backend | Service contracts are explicit in Moqui XML, service bodies are XML actions by default, and dense processing sits in testable Groovy helpers. See [Service layer](https://developers.drpn.ai/backend/service-layer.md). |
| Reconciliation | The split between Spark dataset work and Drools-backed decisions holds. See [Reconciliation engine](https://developers.drpn.ai/backend/reconciliation-engine.md). |
| Evidence | Focused checks ran and passed, and the pull request names what was not verified. |
| Documentation | Pages describe behavior that exists, not planned architecture. |

A visible workflow can touch saved setup, schema selection, source data, tenant access, services, Spark comparison, Drools rules, generated output and result review. A good change keeps that chain visible and proves the link it changes.

## Licences

By sending a pull request you offer it under the licence of the repository it targets.

| Repository | Licence |
| - | - |
| `drpn-ai/darpan`, `darpan-agent`, `darpan-ui`, `darpan-hotwax`, `shopify-darpan`, `netsuite-darpan`, `database-darpan`, `moqui-gql`, `moqui-rules` | Apache License 2.0 |
| `drpn-ai/moqui-framework`, `drpn-ai/moqui-jexl` | CC0 1.0 with a separate patent grant adapted from the Apache License 2.0 (Moqui's licence; see `LICENSE.md`) |
| `drpn-ai/darpan-developers`, `drpn-ai/darpan-docs` | MIT |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.