39 lines
1.4 KiB
YAML
39 lines
1.4 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_api
|
|
label: Judge API
|
|
description: systemone (default) or openai-decisions.
|
|
- key: judge_base_url
|
|
label: Judge URL
|
|
description: The judge endpoint, including its version segment. Required for systemone; defaults to the OpenAI API for openai-decisions.
|
|
- key: judge_model
|
|
label: Judge model
|
|
description: Required for systemone; defaults to gpt-6-luna for openai-decisions.
|
|
- 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.
|