37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
apiVersion: dev.archie.package.v1
|
|
displayName: Policy
|
|
description: Judge each action against the organisation's plain-language policy. Advisory, recorded with the rule it rests on and setting no ceiling, until its judge passes a recorded evaluation.
|
|
version: 1.0.0
|
|
contributes:
|
|
extensions:
|
|
- surface: guard
|
|
path: bin/policy
|
|
files:
|
|
- path: bin/policy
|
|
mode: 493
|
|
settings:
|
|
- key: policy
|
|
label: Policy
|
|
type: text
|
|
required: true
|
|
description: The organisation's rules in plain language, one rule per line.
|
|
- key: judge_base_url
|
|
label: Judge URL
|
|
required: true
|
|
description: The System One endpoint, including its version segment.
|
|
- key: judge_model
|
|
label: Judge model
|
|
required: true
|
|
- key: judge_api_key
|
|
label: Judge API key
|
|
secret: true
|
|
description: Only when the endpoint needs one.
|
|
- key: judge_min_confidence
|
|
label: Minimum confidence
|
|
type: number
|
|
description: Below this a violation is reported as unclear. Defaults to 0.7.
|
|
- key: eval_max_age_days
|
|
label: Evaluation age limit
|
|
type: number
|
|
description: How many days a passing evaluation stays trusted. Defaults to 90.
|