NSE Policy Table v1¶
Source schema: doc/schemas/nse-policy-table.v1.schema.json
Deterministic closed ordered rule table for select-llm-model V1.
Governing Basis¶
Project Lineage¶
Fields¶
| Field | Required | Shape | Description |
|---|---|---|---|
schema |
yes |
const: nse-policy-table.v1 |
|
schema/v |
yes |
const: 1 |
|
policy/id |
yes |
string | |
policy/name |
yes |
ref: #/$defs/text |
|
hook/id |
yes |
const: select-llm-model |
|
hook/v |
yes |
const: 1 |
|
rules |
yes |
array | |
default/decision |
yes |
ref: #/$defs/default-decision |
Definitions¶
| Definition | Shape | Description |
|---|---|---|
text |
string | |
field |
enum: purpose, context/token-estimate, candidate/provider, candidate/transport-kind, candidate/location, candidate/parameter-count, candidate/runtime-ref, candidate/capability |
|
predicate |
object | |
rule-decision |
unspecified | |
default-decision |
unspecified | |
select-runtime |
object | |
defer |
object | |
reject |
object | |
rule |
object | |
| ## Field Semantics |
schema¶
- Required:
yes - Shape: const:
nse-policy-table.v1
schema/v¶
- Required:
yes - Shape: const:
1
policy/id¶
- Required:
yes - Shape: string
policy/name¶
- Required:
yes - Shape: ref:
#/$defs/text
hook/id¶
- Required:
yes - Shape: const:
select-llm-model
hook/v¶
- Required:
yes - Shape: const:
1
rules¶
- Required:
yes - Shape: array
default/decision¶
- Required:
yes - Shape: ref:
#/$defs/default-decision
Definition Semantics¶
$defs.text¶
- Shape: string
$defs.field¶
- Shape: enum:
purpose,context/token-estimate,candidate/provider,candidate/transport-kind,candidate/location,candidate/parameter-count,candidate/runtime-ref,candidate/capability
$defs.predicate¶
- Shape: object
$defs.rule-decision¶
- Shape: unspecified
$defs.default-decision¶
- Shape: unspecified
$defs.select-runtime¶
- Shape: object
$defs.defer¶
- Shape: object
$defs.reject¶
- Shape: object
$defs.rule¶
- Shape: object