Agentenwerk
oss opendocman document authority regression rehearsal
Takes a before and an after picture of your OpenDocMan rights setup and asks the pinned native code what each one actually grants. Every user-document pair is evaluated in both states, and what comes back is which decisions changed, which of your declared expectations were violated in each state, and whether the seeded state survived untouched.
POST https://agent.halowerk.com/v1/oss-opendocman-document-authority-regression-rehearsalEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| before | object | Ja | |
| after | object | Ja | |
| expected_before | array | Ja | |
| expected_after | array | Ja |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"properties": {
"before": {
"type": "object",
"properties": {
"root_user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"departments": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"minItems": 1,
"maxItems": 8
},
"categories": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"minItems": 0,
"maxItems": 8
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"admin": {
"type": "boolean"
}
},
"required": [
"id",
"department_id",
"admin"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 16
},
"documents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"owner_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"category_id": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"locked": {
"type": "boolean"
}
},
"required": [
"id",
"owner_id",
"department_id",
"category_id",
"locked"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 32
},
"reviewers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
}
},
"required": [
"user_id",
"department_id"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 128
},
"user_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"document_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"user_id",
"document_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 512
},
"department_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"document_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"department_id",
"document_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 256
},
"category_user_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"category_id",
"user_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 128
},
"category_department_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"category_id",
"department_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 64
}
},
"required": [
"root_user_id",
"departments",
"categories",
"users",
"documents",
"reviewers",
"user_rights",
"department_rights",
"category_user_rights",
"category_department_rights"
],
"additionalProperties": false
},
"after": {
"type": "object",
"properties": {
"root_user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"departments": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"minItems": 1,
"maxItems": 8
},
"categories": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"minItems": 0,
"maxItems": 8
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"admin": {
"type": "boolean"
}
},
"required": [
"id",
"department_id",
"admin"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 16
},
"documents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"owner_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"category_id": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"locked": {
"type": "boolean"
}
},
"required": [
"id",
"owner_id",
"department_id",
"category_id",
"locked"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 32
},
"reviewers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
}
},
"required": [
"user_id",
"department_id"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 128
},
"user_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"document_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"user_id",
"document_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 512
},
"department_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"document_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"department_id",
"document_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 256
},
"category_user_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"category_id",
"user_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 128
},
"category_department_rights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"department_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"category_id",
"department_id",
"rights"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 64
}
},
"required": [
"root_user_id",
"departments",
"categories",
"users",
"documents",
"reviewers",
"user_rights",
"department_rights",
"category_user_rights",
"category_department_rights"
],
"additionalProperties": false
},
"expected_before": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"document_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"user_id",
"document_id",
"rights"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 512
},
"expected_after": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"document_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"rights": {
"type": "integer",
"minimum": -1,
"maximum": 4
}
},
"required": [
"user_id",
"document_id",
"rights"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 512
}
},
"required": [
"before",
"after",
"expected_before",
"expected_after"
],
"additionalProperties": false
}Veröffentlichtes Eingabebeispiel
{
"before": {
"root_user_id": 1,
"departments": [
1,
2,
3,
4,
5
],
"categories": [
10
],
"users": [
{
"id": 1,
"department_id": 1,
"admin": false
},
{
"id": 2,
"department_id": 1,
"admin": true
},
{
"id": 3,
"department_id": 1,
"admin": false
},
{
"id": 4,
"department_id": 2,
"admin": false
},
{
"id": 5,
"department_id": 1,
"admin": false
},
{
"id": 6,
"department_id": 1,
"admin": false
},
{
"id": 7,
"department_id": 2,
"admin": false
},
{
"id": 8,
"department_id": 3,
"admin": false
},
{
"id": 9,
"department_id": 4,
"admin": false
},
{
"id": 10,
"department_id": 5,
"admin": false
}
],
"documents": [
{
"id": 101,
"owner_id": 4,
"department_id": 2,
"category_id": 10,
"locked": true
},
{
"id": 102,
"owner_id": 4,
"department_id": 1,
"category_id": 0,
"locked": false
},
{
"id": 103,
"owner_id": 4,
"department_id": 1,
"category_id": 10,
"locked": false
}
],
"reviewers": [
{
"user_id": 3,
"department_id": 2
}
],
"user_rights": [
{
"user_id": 4,
"document_id": 101,
"rights": -1
},
{
"user_id": 5,
"document_id": 101,
"rights": 0
},
{
"user_id": 6,
"document_id": 101,
"rights": -1
},
{
"user_id": 5,
"document_id": 103,
"rights": 3
}
],
"department_rights": [
{
"department_id": 1,
"document_id": 101,
"rights": 2
},
{
"department_id": 2,
"document_id": 101,
"rights": 0
},
{
"department_id": 3,
"document_id": 101,
"rights": -1
},
{
"department_id": 5,
"document_id": 101,
"rights": 2
}
],
"category_user_rights": [
{
"category_id": 10,
"user_id": 7,
"rights": 1
}
],
"category_department_rights": [
{
"category_id": 10,
"department_id": 1,
"rights": 0
},
{
"category_id": 10,
"department_id": 2,
"rights": 3
},
{
"category_id": 10,
"department_id": 3,
"rights": 2
}
]
},
"after": {
"root_user_id": 1,
"departments": [
1,
2,
3,
4,
5
],
"categories": [
10
],
"users": [
{
"id": 1,
"department_id": 1,
"admin": false
},
{
"id": 2,
"department_id": 1,
"admin": true
},
{
"id": 3,
"department_id": 1,
"admin": false
},
{
"id": 4,
"department_id": 2,
"admin": false
},
{
"id": 5,
"department_id": 1,
"admin": false
},
{
"id": 6,
"department_id": 1,
"admin": false
},
{
"id": 7,
"department_id": 2,
"admin": false
},
{
"id": 8,
"department_id": 3,
"admin": false
},
{
"id": 9,
"department_id": 4,
"admin": false
},
{
"id": 10,
"department_id": 5,
"admin": false
}
],
"documents": [
{
"id": 101,
"owner_id": 4,
"department_id": 2,
"category_id": 10,
"locked": false
},
{
"id": 102,
"owner_id": 4,
"department_id": 1,
"category_id": 0,
"locked": false
},
{
"id": 103,
"owner_id": 4,
"department_id": 1,
"category_id": 10,
"locked": false
}
],
"reviewers": [
{
"user_id": 3,
"department_id": 2
},
{
"user_id": 9,
"department_id": 1
}
],
"user_rights": [
{
"user_id": 4,
"document_id": 101,
"rights": -1
},
{
"user_id": 6,
"document_id": 101,
"rights": -1
},
{
"user_id": 5,
"document_id": 103,
"rights": 3
}
],
"department_rights": [
{
"department_id": 1,
"document_id": 101,
"rights": 2
},
{
"department_id": 2,
"document_id": 101,
"rights": 0
},
{
"department_id": 3,
"document_id": 101,
"rights": -1
},
{
"department_id": 5,
"document_id": 101,
"rights": 2
}
],
"category_user_rights": [],
"category_department_rights": [
{
"category_id": 10,
"department_id": 1,
"rights": 0
},
{
"category_id": 10,
"department_id": 2,
"rights": 3
},
{
"category_id": 10,
"department_id": 3,
"rights": 0
}
]
},
"expected_before": [
{
"user_id": 1,
"document_id": 101,
"rights": 4
},
{
"user_id": 1,
"document_id": 102,
"rights": 4
},
{
"user_id": 1,
"document_id": 103,
"rights": 4
},
{
"user_id": 2,
"document_id": 101,
"rights": 4
},
{
"user_id": 2,
"document_id": 102,
"rights": 4
},
{
"user_id": 2,
"document_id": 103,
"rights": 4
},
{
"user_id": 3,
"document_id": 101,
"rights": 4
},
{
"user_id": 3,
"document_id": 102,
"rights": 0
},
{
"user_id": 3,
"document_id": 103,
"rights": 0
},
{
"user_id": 4,
"document_id": 101,
"rights": 3
},
{
"user_id": 4,
"document_id": 102,
"rights": 0
},
{
"user_id": 4,
"document_id": 103,
"rights": 3
},
{
"user_id": 5,
"document_id": 101,
"rights": 0
},
{
"user_id": 5,
"document_id": 102,
"rights": 0
},
{
"user_id": 5,
"document_id": 103,
"rights": 3
},
{
"user_id": 6,
"document_id": 101,
"rights": -1
},
{
"user_id": 6,
"document_id": 102,
"rights": 0
},
{
"user_id": 6,
"document_id": 103,
"rights": 0
},
{
"user_id": 7,
"document_id": 101,
"rights": 1
},
{
"user_id": 7,
"document_id": 102,
"rights": 0
},
{
"user_id": 7,
"document_id": 103,
"rights": 1
},
{
"user_id": 8,
"document_id": 101,
"rights": 2
},
{
"user_id": 8,
"document_id": 102,
"rights": 0
},
{
"user_id": 8,
"document_id": 103,
"rights": 2
},
{
"user_id": 9,
"document_id": 101,
"rights": 0
},
{
"user_id": 9,
"document_id": 102,
"rights": 0
},
{
"user_id": 9,
"document_id": 103,
"rights": 0
},
{
"user_id": 10,
"document_id": 101,
"rights": 2
},
{
"user_id": 10,
"document_id": 102,
"rights": 0
},
{
"user_id": 10,
"document_id": 103,
"rights": 0
}
],
"expected_after": [
{
"user_id": 1,
"document_id": 101,
"rights": 4
},
{
"user_id": 1,
"document_id": 102,
"rights": 4
},
{
"user_id": 1,
"document_id": 103,
"rights": 4
},
{
"user_id": 2,
"document_id": 101,
"rights": 4
},
{
"user_id": 2,
"document_id": 102,
"rights": 4
},
{
"user_id": 2,
"document_id": 103,
"rights": 4
},
{
"user_id": 3,
"document_id": 101,
"rights": 4
},
{
"user_id": 3,
"document_id": 102,
"rights": 0
},
{
"user_id": 3,
"document_id": 103,
"rights": 0
},
{
"user_id": 4,
"document_id": 101,
"rights": -1
},
{
"user_id": 4,
"document_id": 102,
"rights": 0
},
{
"user_id": 4,
"document_id": 103,
"rights": 3
},
{
"user_id": 5,
"document_id": 101,
"rights": 0
},
{
"user_id": 5,
"document_id": 102,
"rights": 0
},
{
"user_id": 5,
"document_id": 103,
"rights": 3
},
{
"user_id": 6,
"document_id": 101,
"rights": -1
},
{
"user_id": 6,
"document_id": 102,
"rights": 0
},
{
"user_id": 6,
"document_id": 103,
"rights": 0
},
{
"user_id": 7,
"document_id": 101,
"rights": 1
},
{
"user_id": 7,
"document_id": 102,
"rights": 0
},
{
"user_id": 7,
"document_id": 103,
"rights": 3
},
{
"user_id": 8,
"document_id": 101,
"rights": 0
},
{
"user_id": 8,
"document_id": 102,
"rights": 0
},
{
"user_id": 8,
"document_id": 103,
"rights": 0
},
{
"user_id": 9,
"document_id": 101,
"rights": 0
},
{
"user_id": 9,
"document_id": 102,
"rights": 4
},
{
"user_id": 9,
"document_id": 103,
"rights": 4
},
{
"user_id": 10,
"document_id": 101,
"rights": 2
},
{
"user_id": 10,
"document_id": 102,
"rights": 0
},
{
"user_id": 10,
"document_id": 103,
"rights": 0
}
]
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Agentenwerk0,002 USDC
a2a card validate
POSThttps://agent.halowerk.com/v1/a2a-card-validateValidates an Agent Card document against the A2A convention and returns findings by severity: error (the card is unusable as published), warning (works, but a consuming agent will guess), info (recommended field absent).
- Agentenwerk0,003 USDC
artifact receipt
POSThttps://agent.halowerk.com/v1/artifact-receiptSeal binds an exact UTF-8 content SHA-256 digest and expiry to a HALOWERK Ed25519 signature; verify checks signature, expiry and optional exact content. The service public key is included. This attests digest receipt only, not truth, legal
- Agentenwerk0,001 USDC
base64 codec
POSThttps://agent.halowerk.com/v1/base64-codecConverts text to padded standard Base64 or decodes canonical Base64 to valid UTF-8. Rejects noncanonical padding, whitespace, URL-safe alphabet and invalid decoded UTF-8.