Initialize organizations module

This commit is contained in:
2026-07-10 11:01:37 +02:00
commit 34133ba9cd
20 changed files with 1005 additions and 0 deletions

29
AGENTS.md Normal file
View File

@@ -0,0 +1,29 @@
# GovOPlaN Organizations Codex Guide
## Scope
This repository owns the canonical GovOPlaN organizational model: tenant-local
organization units, hierarchy, functions, and account-held function
assignments.
The module describes responsibility in the institution. It does not decide
which rights those responsibilities grant; `govoplan-access` maps organization
facts to roles, rights, permission decisions, and explainability.
## Boundaries
- Depend on kernel contracts from `govoplan-core`.
- Depend on `govoplan-tenancy` for tenant ownership.
- Do not import access, identity, postbox, workflow, or portal internals.
- Expose integration through manifests, capabilities, API routes, events, and
typed DTOs.
- Treat function assignment as organizational responsibility, not as a login
permission by itself.
## Local Workflow
Use Gitea issues as the canonical backlog and state log. The shared workflow is
installed under `.gitea/`, with labels in `docs/gitea-labels.json`.
Focused verification is still driven from `/mnt/DATA/git/govoplan-core` for
cross-repository behavior.