Organisationsvorlagen: ein ganzes Haus als importierbare Datei (#691)

- Core/Organisation/OrgTemplate: format, export, parse, structural checks.
  Export empties every credential (nested, name variants) and names it;
  a template that carries one is refused.
- OrgAdministration: ExportTemplate, PreviewTemplate (problems, warnings,
  every text in full), ImportTemplateAsync - only with confirmation, units
  before agents, own workspace per unit, doctrines, model and budget factor
  overridable, templateOrigin on every unit and agent.
- Endpoints GET /organisation/template, POST .../preview, POST .../import;
  templates card in the organisation view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard
2026-10-01 12:37:18 +02:00
co-authored by Claude Opus 5.5
parent 11465f3d74
commit 706b5cfd9e
14 changed files with 880 additions and 3 deletions
@@ -2637,6 +2637,19 @@ button.org-einheit .org-name {
gap: 4px;
}
/* #691: a template before it comes in — every agent with its full texts. */
.org-vorlage-agent {
border-left: 3px solid var(--accent);
padding: 6px 12px;
margin-bottom: 10px;
}
.org-vorlage-agent pre {
max-height: 240px;
overflow: auto;
white-space: pre-wrap;
}
/* #702: a vote beside the call — every ballot with its reasoning and evidence. */
.staging-stimmen {
list-style: none;