Load workspace parent ../AGENTS.md first (PROJECT_ORISO_ROOT = parent of this repo).
Java 21, Spring Boot 4.0.7, Maven Wrapper 3.9.15. Owns user/consultant lifecycle, sessions, and related /service/users / useradmin APIs.
./mvnw -B test ./mvnw -B package -DskipTests ./mvnw -B spotless:check # format gate (present in pom; not always in CI)
From this repository root (so ../scripts resolves to the workspace harness):
REPO=ORISO-UserService ../scripts/harness/verify-fast.sh (or verify-full.sh).
From PROJECT_ORISO_ROOT: REPO=ORISO-UserService ./scripts/harness/verify-fast.sh.
CI (GitHub Actions): ./mvnw -B test then ./mvnw -B package -DskipTests on Java 21.
- Integration branch:
devwhen used for ORISO feature work. - Skim
.understand-anything/before non-trivial changes; verify graph freshness. - Do not invent DTOs/OpenAPI — read existing controllers and generated clients.
- Controller/facade/saga changes follow
docs/api-error-contract.md— never answer2xxon a failed step, never5xxon an expected empty state. - Secrets: prefer
config.env.example; never commitconfig.envor logs with tokens.
Targeted tests for touched behavior pass; package succeeds for PR-bound work; no secrets in the diff. Task notes: docs/agent-tasks/YYYY-MM-DD_short-name/ if needed.
Binding for every AI coding agent working in this repository. Canonical text and
rationale: ORISO-Docs/oriso-platform/coding-standards.mdx (section "AI agent
delivery rules"). Summary:
- An agent never merges its own pull request. Not on green CI, not on "finish
it", not for chores or test-only changes. Delivery ends at: verified → PR open
with evidence and a reviewer test plan → reviewers requested → issue
In review. Merge only on an explicit, per-PR instruction naming that PR. - Request reviewers in the same step that opens the PR. A PR without requested reviewers is not open for review.
- Branches: open PRs against
dev;mainis the release branch, and agents never target it (releases are done by Hassan).ORISO-E2Eis the explicit exception and integrates intopre-dev. - Pre-Dev changes need explicit authorization. Deploying images, mutating config or data on the Pre-Dev server only happens with an explicit per-task instruction from Frank that names Pre-Dev. Read-only inspection is fine.
- Restore what you borrowed. Record image reference and
imagePullPolicybefore swapping anything on Pre-Dev, put both back before reporting done, and say so in the report. - State where it was verified in every PR body — environment and image, or plainly "local only".
Binding for every AI agent. These rules govern where text goes and whose text may be changed. They do not relax the delivery rules above.
-
Machine detail belongs in fenced code blocks, and gets redacted first. Scanner output, dependency trees, stack traces, failing job logs, resolved versions, config excerpts: put them inside a fenced block. Strip credentials, tokens, connection strings, personal data and anything else sensitive before pasting — a fenced block controls formatting, not disclosure. A human skimming the ticket must be able to skip the block and still understand the point. Prose outside the block stays short and in plain language.
-
Write findings into the description, not into another comment. A comment is for a decision or a question that needs a person. Analysis, cause, status and evidence belong in the issue or pull request description, where the next reader finds them without scrolling a thread. Prefer updating the description over adding a third, fourth, fifth comment.
-
Lead with the business or end-user effect. Before any technical detail, two or three plain sentences: what does not work for whom, and what that costs. Write it so a non-engineer stakeholder can act on it. English, short.
-
You may edit descriptions — but not everyone's.
Description author May an agent rewrite it? Storypapst,kiodreambauYes — rewrite, restructure, correct, extend BjoernLudwig,HelenaSKloeckner, any other humanNo — leave their wording untouched; append a clearly separated section below it -
Adding an analysis to someone's bug report — the ticket says "X is broken" and you found out why:
- Keep the original report as written.
- Add the plain-language cause, two or three sentences.
- Put the technical evidence under it, in a code block.
- Link the pull request, run or ticket that proves it. If the description was corrected rather than extended, say so in one line so the change is not silent.
-
Link the ticket you found. If an issue already covers the problem, reference it rather than restating it, and add your findings there.
-
Duplicates: decide, never leave both drifting. Name in the description which ticket survives. A ticket that came back from Caritas — raised by
BjoernLudwigorHelenaSKloeckner— is the one that stays open. Close the agent-created duplicate against it and link the survivor.
For Matt Pocock engineering workflows, resolve ~/.config/agent-routing/paths.env and follow ${PROJECT_ORISO_ROOT}/AGENTS.md. Reuse shared installed skills; load these adapters on demand.
GitHub Issues in OpenResilienceInitiative/ORISO-UserService. See docs/agents/issue-tracker.md.
Reuse existing labels; leave unmapped roles unchanged. See docs/agents/triage-labels.md.
Single-context; shared knowledge stays in the project Core. See docs/agents/domain.md.