Collaboration policy source
Explore Konclave's authored policy schema: exact selectors, independently proven claims, limit inheritance, null semantics, and deliberate local activation.
Repository-relative paths and “this checkout” refer to the Konclave source repository, not this website. The source link above identifies the exact revision used here.
On this page
Editable deterministic policy source, not active authority. Compilation creates canonical bytes; a separate explicit local decision activates a conversation binding. Authoring and activation workflow: https://github.com/nexus-software-laboratories/konclave/blob/main/policy/README.md
Source format
These tables are generated from the authored JSON Schema descriptions. The schema and compiler remain authoritative; table formatting does not change validation.
Document
Wide tables scroll horizontally.
| Field | Shape | Required | Contract |
|---|---|---|---|
apiVersion | konclave.dev/v2 | yes | Selects source format v2, which rejects model guidance and task instructions. This is not a wire, package or storage version. |
kind | CollaborationPolicy | yes | Selects a collaboration-policy document, not a catalog or executable workflow. |
metadata | object | yes | Policy naming metadata; neither its presence nor its name grants authority. |
spec | object | yes | Deterministic statements, required evidence and usage limits. No model guidance or task instructions are accepted. |
Document.metadata
Wide tables scroll horizontally.
| Field | Shape | Required | Contract |
|---|---|---|---|
name | string | yes | Canonical lowercase policy name, at most 128 characters. The name is not the compiled bundle’s content digest. |
Document.spec
Wide tables scroll horizontally.
| Field | Shape | Required | Contract |
|---|---|---|---|
statements | array | no | Up to 256 statements, sorted by unique identifier during compilation. Omission means no statements; an action without a matching statement is denied. |
requiredHarnessClaims | array | no | Up to 64 namespaced claims that must all be independently proven by the local harness. Declaring a claim is not evidence; missing proof denies. Exact-target harness control is also required. |
limits | object | no | Usage limits resolved against caller-supplied defaults. Omitting this object inherits all defaults; an empty object also inherits them. |
Statement
Wide tables scroll horizontally.
| Field | Shape | Required | Contract |
|---|---|---|---|
id | string | yes | Canonical statement identifier, at most 128 characters and unique within the compiled bundle. It identifies the statement, not an action permission. |
effect | allow / deny / require_local_approval | yes | allow permits only after local authority, proven claims/controls and limits pass. deny refuses even with approval. require_local_approval requires fresh local approval after those checks; approval cannot override denial, missing evidence or exhausted limits. |
action | see schema | yes | Exact namespaced action selector. A matching rule alone does not grant local authority or prove harness enforcement. |
resource | see schema / null | no | Exact namespaced resource selector. Omission or null matches only an unscoped action, never every resource. |
Limits
Wide tables scroll horizontally.
| Field | Shape | Required | Contract |
|---|---|---|---|
durationMilliseconds | integer / null | no | Elapsed duration in milliseconds, not seconds. A finite policy duration expires when elapsed time reaches this limit. |
turns | integer / null | no | Maximum turn usage; existing usage plus the prospective reservation must fit the finite limit. |
tokens | integer / null | no | Maximum token usage; existing usage plus the prospective reservation must fit the finite limit. |
concurrentRequests | integer / null | no | Maximum concurrent-request usage including the prospective reservation: positive u32 from 1 through 4294967295. Omission inherits the caller default; null is unlimited within independent hard bounds; zero is invalid. |
Maintained source example
This is the upstream request/reply policy example, not evidence that local authority has been activated.
{
"apiVersion": "konclave.dev/v2",
"kind": "CollaborationPolicy",
"metadata": {
"name": "request-reply"
},
"spec": {
"statements": [
{
"id": "conversation-reply",
"effect": "allow",
"action": "conversation.reply"
}
],
"requiredHarnessClaims": [
"harness.native-permission-intersection",
"harness.pre-tool-policy-gate",
"harness.session-identity"
],
"limits": {
"durationMilliseconds": null,
"turns": null,
"tokens": null,
"concurrentRequests": 1
}
}
}Content: Konclave,Apache-2.0. Revision: 8d0d3676e9fc746749a4fc04ddeb4499023c4104.