Initialize GovOPlaN module seed

This commit is contained in:
2026-07-10 18:39:11 +02:00
commit b52fc2bb76
20 changed files with 1114 additions and 0 deletions

64
README.md Normal file
View File

@@ -0,0 +1,64 @@
# GovOPlaN Inspections
`govoplan-inspections` is the GovOPlaN platform module seed for inspection workflows for site visits, checklists, findings, measures, deadlines, evidence, and re-inspections.
This repository is initialized as a discoverable module seed. It exposes a module manifest, initial permissions, role templates, documentation metadata, Gitea workflow templates, and a focused manifest test. It intentionally does not yet add HTTP routes, database models, migrations, or WebUI navigation.
## Initial Ownership
- inspection plans
- site visits
- checklists
- findings
- corrective measures
- deadlines
- re-inspection links
## Boundaries
This module does not own:
- permit decision records
- facility master data
- document binary storage
Detailed boundary notes are in [docs/INSPECTIONS_DOMAIN_BOUNDARY.md](docs/INSPECTIONS_DOMAIN_BOUNDARY.md).
## Integrations
Expected optional integrations:
- permits
- facilities
- grants
- assets
- files
- forms-runtime
- tasks
## Development Install
From the core checkout:
```bash
cd /mnt/DATA/git/govoplan-core
./.venv/bin/python -m pip install -e ../govoplan-inspections
```
Focused manifest verification:
```bash
cd /mnt/DATA/git/govoplan-inspections
PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src /mnt/DATA/git/govoplan-core/.venv/bin/python -m unittest discover -s tests
```
## Gitea Workflow
Issue templates are installed under `.gitea/`, and the shared label taxonomy is copied to `docs/gitea-labels.json` with the module label `module/inspections`.
From the core checkout, labels can be synced once a local `GITEA_TOKEN` is available:
```bash
cd /mnt/DATA/git/govoplan-core
./scripts/gitea-sync-labels.py --root /mnt/DATA/git/govoplan-inspections --apply
```