Contributing
Choose the repository that owns the behavior you want to change. The backend code map is a good starting point when you are unsure where a proxy workflow is implemented.
Repository responsibilities
| Repository | Changes it owns |
|---|---|
| maglane | Compose, installation, updates, and release validation. |
| maglane-backend | Go API, domain/storage, checker, scraper, jobs, listeners. |
| maglane-frontend | Angular UI and the frontend nginx image. |
| maglane-docs | Learning paths, guides, references, and runbooks. |
| maglane-website | Public website. |
Use that repository's default branch when creating your branch. The component
repositories use main; the distribution repository uses master. Check the
remote default rather than assuming all repositories use the same name.
A change a reviewer can assess
- Reproduce the behavior on a small, isolated dataset. Record the expected and observed result with the selected workspace and relevant settings.
- Read applicable
AGENTS.mdinstructions and the backend'sCONTEXT.mdvocabulary. For a backend change, trace the relevant workflow before editing. - Make the change in its owning repository. Add tests that protect a behavior or a failure boundary rather than repeating implementation details.
- Run the checks for that area. State when real-service tests skipped or a representative load test has not run.
- Update user-facing docs and deployment files when behavior changes how Maglane is operated. Link related pull requests across repositories.
- Describe the concrete before/after behavior and the validation in the PR. Include migration, compatibility, and rollback requirements when they apply.
Backend boundaries to preserve
Workspace membership grants access; workspaces own operational resources and
capacity. Shared physical checks still need separate workspace validation
and current-health evidence. Avoid interpreting historical user_* table
or API names as a different ownership model.
The recurring checker loop is performance-sensitive. Current plaintext queue payloads reuse their stored hash, and normal requeues change scheduling only. Queue encryption remains opt-in. Count added cipher operations, JSON encodes, Redis commands, and database queries per check; any addition needs a written reason and representative measurements. Keep the hash-reuse and scheduling-only requeue regressions. Read queue scheduling and the backend's Redis credential ADR before changing that boundary.
Local setup and documentation
Use local development for the sibling checkout layout and development fixtures. Fixtures help UI work; live jobs and listeners remain stopped in fixture mode.
For a docs change, follow documentation maintenance, including browser review of diagrams. Installation commands should be tested on isolated infrastructure rather than a running personal installation.
License
Maglane is distributed under AGPL-3.0. Review the owning repository's LICENSE
before contributing.