Appearance
apply-clearance
workflow informA skill of the SOM skill library 0.2.2, as SOM Managed Bus checks its configured instances. The library file is the specification; this page is generated from the bus's code.
| Skill id | smart-stories/apply-clearance |
| Version | 0.2.2 (suite som-1.0.0+lib-0.2.2) |
| Category | workflow |
| Severity range | inform |
| Authority scale | Required: the skill compares authorities, so each configured instance carries your scale, most senior first |
Recalls on
An executor running this skill subscribes to these message types, and always to story.context (the executor contract).
| Message type | Spec |
|---|---|
compliance.assertion | pending spec no SOM 1.0 schema: what that means |
story.context | SOM 1.0 schema: story-context |
asset.context | pending spec no SOM 1.0 schema: what that means |
2 of these 3 have no SOM 1.0 schema yet: an executor uses them only as wake-ups.
Configuration
A configured instance sets these values, with its own instance_label (every warning it raises carries it as rule_id). Unknown fields are refused, so a typo never falls back to a default.
| Field | Kind | Required | What it is |
|---|---|---|---|
clearance_type | text | Yes | The value in compliance[].type this instance watches for, for example verdict-count-clearance |
version_set_field | text | Yes | The field that groups the alternate packages into one set |
current_status | text | Yes | The status word for the member the clearance names, conventionally current |
superseded_status | text | Yes | The status word for the other members of the set, conventionally superseded |
scope | enum: story, link | Yes | Whether the resolution binds everywhere or on one destination |
clearing_authority | authority | Yes | The authority at or above which an assertion on the same scope closes a declaration. On the authority scale |
re_resolution | enum: equal-or-higher, ignore | Yes | What a later clearance naming a different member means |
What each kind accepts: field kinds.
Check your values
Check a configured instance before you register it, with the skill catalogue API; nothing is stored. A publisher registers it on the portal: Run skills in your house.
All skills: skill library catalogue.