You've already forked mi-apmainas-parvaldiba
Import UAPF package
Exchange governance v0.1.0 - Node Profile v0.2 Part II as executable UAPF
BPMN admission (AL0 -> AL2), four DMN decision tables and a CMMN case for suspension, withdrawal and appeal. The three rules that answer structural objections structurally: - 17.2 circularity is a precondition, not a warning (avota-neatkariba). A participant cannot be the source of its own admission evidence, including where it commercially supplies company-register data. - 15 adverse decisions fail closed: exhaustive grounds, 30-day notice, cure, 5-working-day emergency review, two distinct officers, conflict-free appeal. - 6.4 a legally significant answer is never T0. Not an AI system (Reg. (EU) 2024/1689 Art. 3(1), Recital 12) - it does not infer. It is the governance of one, and therefore in MIC sandbox scope. resources/mappings.yaml traces every clause to its artefact and names the two gaps the model cannot close alone.
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
node_modules/
|
||||||
|
.DS_Store
|
||||||
|
*.log
|
||||||
97
README.md
Normal file
97
README.md
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
# MI apmaiņas ekosistēmas pārvaldība
|
||||||
|
|
||||||
|
**UAPF pakotne** · `lv.pppa.exchange-governance` · v0.1.0 · **MELNRAKSTS**
|
||||||
|
|
||||||
|
Šī pakotne ir AI LV Exchange pārvaldība — izpildāmā formā. Noteikumi, kas nosaka, **kurš tiek uzņemts**, **ar kādu ticamības līmeni**, **ko pakalpojums drīkst prasīt** un **uz kāda pamata akreditāciju var atsaukt**, šeit nav apraksts. Tie ir versionēti modeļi, kurus var nolasīt, salīdzināt versiju starpā, atdalīt un apstrīdēt — pirms tie stājas spēkā.
|
||||||
|
|
||||||
|
Normatīvais avots: [AI LV Exchange MCP Node Profile v0.2](https://github.com/PPPA-LV/AI-LV-Exchange-MCP-Node-Profile), II daļa.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Kāpēc tas ir svarīgi
|
||||||
|
|
||||||
|
Uzticēšanās infrastruktūra, kuras pārvaldības noteikumi ir tikai teksts, ir tik uzticama, cik uzticams ir teksta autors. Tas ir strukturāls iebildums, un uz to nevar atbildēt ar vēl vienu tekstu.
|
||||||
|
|
||||||
|
Šeit noteikumi ir kods. Katrs dalībnieks var pārliecināties, ka lēmums par viņu ir pieņemts tieši pēc tiem noteikumiem, kas bija publicēti brīdī, kad viņš pievienojās — un ka noteikumi kopš tā laika nav klusi mainījušies.
|
||||||
|
|
||||||
|
Trīs vietas, kur tas ir redzams uzreiz:
|
||||||
|
|
||||||
|
**1. Cirkularitāte ir izslēgta, nevis pieminēta.** Profila 17.2. punkts nosaka, ka pieteicējs nedrīkst būt to pierādījumu avots, uz kuru pamata viņu uzņem — arī tad, ja pieteicējs pats komerciāli piegādā uzņēmumu reģistra datus. Tas nav brīdinājums dokumentā. Tas ir `dmn/avota-neatkariba.dmn` — priekšnosacījums, kas apstādina uzņemšanu, pirms tiek palaists kaut viens izaicinājums.
|
||||||
|
|
||||||
|
**2. Neviena atsevišķa persona nevar atsaukt akreditāciju.** Pamati ir izsmeļoši (15.1), brīdinājums ir 30 dienas (15.2), ārkārtas apturēšana ir jāpārskata 5 darba dienu laikā (15.3), lēmumu pieņem divas amatpersonas (15.4), apelāciju izskata instance bez komerciālas intereses (15.5). Tas viss ir `dmn/atsaukuma-pamatojums.dmn` un `cmmn/akreditacijas-atsaukums.cmmn` — un noklusējuma likums ir **noraidīt**.
|
||||||
|
|
||||||
|
**3. Juridiski nozīmīga atbilde nekad nav T0.** Līmeni nosaka sekas, kas rodas, paļaujoties uz atbildi, nevis datu slepenība (6.4). Vispārīgs uzņēmuma ieraksts var būt T0. Autoritatīva pārstāvības tiesību pārbaude — nekad.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Kas šeit ir
|
||||||
|
|
||||||
|
| Stūrakmens | Fails | Ko tas nosaka |
|
||||||
|
|---|---|---|
|
||||||
|
| BPMN | `bpmn/dalibnieka-uznemsana.bpmn` | Uzņemšanas plūsma: pieteikums → AL0 → pierādījumi → avota neatkarība → domēna un atslēgas kontrole → dalības līgums → AL → kredenciāls → atsauces paziņojums |
|
||||||
|
| DMN | `dmn/avota-neatkariba.dmn` | 14.2, 17.2 — uz ko PPPA **paļaujas** un ko PPPA **pārbauda**; cirkularitātes izslēgšana |
|
||||||
|
| DMN | `dmn/noteikt-ticamibas-limeni.dmn` | 6.1, 17 — ticamības līmenis AL0…AL3 |
|
||||||
|
| DMN | `dmn/piekluves-limena-prasibas.dmn` | 6.3, 6.4 — minimālās prasības T0…T3; juridiski nozīmīgas atbildes eskalācija |
|
||||||
|
| DMN | `dmn/atsaukuma-pamatojums.dmn` | 15 — nelabvēlīga lēmuma pieļaujamība |
|
||||||
|
| CMMN | `cmmn/akreditacijas-atsaukums.cmmn` | Apturēšana, atsaukums un apelācija kā nestrukturēta lieta ar obligātiem cilvēka soļiem |
|
||||||
|
| Resursi | `resources/mappings.yaml` | Katrs profila punkts → artefakts, kas to izpilda |
|
||||||
|
| Resursi | `resources/guardrails.yaml` | Pārvaldības ierobežojumi cilvēkam un uzturētājam lasāmā formā |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Kāpēc PPPA paļaujas, nevis apliecina
|
||||||
|
|
||||||
|
PPPA nav reģistrācijas iestāde PKI izpratnē un neapliecina neviena identitāti. Uzņemšana balstās uz diviem atšķirīgiem faktu veidiem, un tie tiek apstrādāti atšķirīgi.
|
||||||
|
|
||||||
|
| Fakts | Nosaka | PPPA loma |
|
||||||
|
|---|---|---|
|
||||||
|
| Juridiskā pastāvēšana, reģ. nr. | Uzņēmumu reģistrs | **Paļaujas.** Iegūst izrakstu, fiksē to un tā datumu |
|
||||||
|
| Pārstāvības tiesības | Uzņēmumu reģistrs | **Paļaujas.** Nekad — no pieteicēja datiem vai produktiem |
|
||||||
|
| Parakstītāja identitāte | Kvalificēts e-paraksts | **Paļaujas** |
|
||||||
|
| Deklarētā domēna kontrole | — | **Pārbauda.** DNS izaicinājums, reproducējams, žurnalēts |
|
||||||
|
| Deklarētās atslēgas kontrole | — | **Pārbauda.** MCPF izaicinājuma galapunkts, reproducējams |
|
||||||
|
|
||||||
|
Uzņemšanas rezultāts tāpēc ir **atsauces paziņojums, nevis apliecinājums**. Shēma: `resources/schemas/reliance-statement.schema.json`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Kas šī pakotne **nav**
|
||||||
|
|
||||||
|
Šī pakotne **nav MI sistēma**. Tā neiemeslo. Tā ir noteikumu kopums, ko definējuši cilvēki un ko izpilda deterministiski — Regulas (ES) 2024/1689 3. panta 1. punkta un 12. apsvēruma izpratnē tas nav MI.
|
||||||
|
|
||||||
|
Tā **ir** MI sistēmas pārvaldība. Tā nosaka uzņemšanu Process-as-Code MI sistēmas uzticēšanās un identitātes plaknē, un tāpēc tā atrodas [MI smilškastes](https://aisandbox.pppa.lv/platforma) tvērumā. Uzraugs uzrauga ne tikai sistēmas kodu, bet arī noteikumus, pēc kuriem tajā ielaiž.
|
||||||
|
|
||||||
|
Katram nelabvēlīgam lēmumam ir vismaz divi obligāti cilvēka soļi. **Neviens nelabvēlīgs lēmums netiek automatizēts.**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Zināmās robežas
|
||||||
|
|
||||||
|
Modelis nevar izpildīt visu pats, un tas ir pateikts skaidri, nevis noklusēts (`resources/mappings.yaml`, sadaļa `known_gaps`):
|
||||||
|
|
||||||
|
- **Divu amatpersonu atšķirība.** DMN nespēj salīdzināt divus identifikatorus. Tabula saņem `divasAtseviskasAmatpersonas` kā jau aprēķinātu vērtību; par to, ka amatpersonas tiešām ir dažādas, atbild uzturētājs. PPPA-Registry to nodrošina ar datubāzes CHECK ierobežojumu.
|
||||||
|
- **Avota salīdzināšana ar pieteicēju.** Tāpat: uzturētājs izšķir pierādījuma avota DID un salīdzina to ar pieteicēja DID; tabula to nespēj.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Ieguldījums
|
||||||
|
|
||||||
|
Profils un šī pakotne pieder atvērtai darba grupai, ne tās autoram. Skatīt [CONTRIBUTING](https://github.com/PPPA-LV/AI-LV-Exchange-MCP-Node-Profile/blob/main/CONTRIBUTING.md) un [INTERESTS](https://github.com/PPPA-LV/AI-LV-Exchange-MCP-Node-Profile/blob/main/INTERESTS.md) — pēdējā deklarē Cyberfort dubulto lomu (profila redaktors **un** komerciāls ieviesējs). Šī loma ir deklarēta, nevis atrisināta, un tā ir šķērslis, ko darba grupai vēl ir jānovērš.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## English
|
||||||
|
|
||||||
|
The governance of the AI LV Exchange, expressed as executable, versioned, forkable models — BPMN for admission, four DMN decision tables, and a CMMN case for suspension, withdrawal and appeal. Normative source: [AI LV Exchange MCP Node Profile v0.2](https://github.com/PPPA-LV/AI-LV-Exchange-MCP-Node-Profile), Part II.
|
||||||
|
|
||||||
|
Trust infrastructure whose governance is only prose is exactly as trustworthy as the person who wrote the prose. That is a structural objection and prose cannot answer it. Here the rules are code: any participant can verify that a decision about them was taken under the rules published when they joined, and that those rules have not quietly changed since.
|
||||||
|
|
||||||
|
The three that matter most:
|
||||||
|
|
||||||
|
- **Circularity is excluded, not flagged.** §17.2 says a participant must not be the source of the evidence used to admit it — including where the applicant is itself a commercial provider of company-register data. That is a precondition in `dmn/avota-neatkariba.dmn`, and it halts admission before a single challenge is run.
|
||||||
|
- **No single person can withdraw accreditation.** Exhaustive grounds, 30-day notice, 5-working-day emergency review, two distinct officers, conflict-free appeal — and the default rule is **refuse**.
|
||||||
|
- **A legally significant answer is never T0.** The tier is set by the consequence of relying on the answer, not by the secrecy of the datum.
|
||||||
|
|
||||||
|
**This package is not an AI system.** It does not infer; it executes rules defined by natural persons (Regulation (EU) 2024/1689, Art. 3(1), Recital 12). It *is* the governance of one: it decides admission to the trust and identity plane of the Process-as-Code AI system, which is why it sits inside the MIC regulatory sandbox scope. Every adverse decision has at least two mandatory human tasks. No adverse decision is ever automated.
|
||||||
|
|
||||||
|
`resources/mappings.yaml` maps each profile clause to the artefact implementing it, and names the two places where the model cannot enforce the rule alone and the host must.
|
||||||
115
bpmn/dalibnieka-uznemsana.bpmn
Normal file
115
bpmn/dalibnieka-uznemsana.bpmn
Normal file
@@ -0,0 +1,115 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||||
|
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
||||||
|
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
||||||
|
xmlns:uapf24="https://uapf.dev/spec/2.4"
|
||||||
|
id="Definitions_DalibniekaUznemsana"
|
||||||
|
targetNamespace="https://pppa.lv/processes/exchange-governance">
|
||||||
|
|
||||||
|
<bpmn:process id="Process_DalibniekaUznemsana" name="Dalibnieka uznemsana MI apmainas ekosistema" isExecutable="true">
|
||||||
|
|
||||||
|
<bpmn:startEvent id="Start_Pieteikums" name="Pieteikums sanemts">
|
||||||
|
<bpmn:outgoing>f1</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
|
||||||
|
<bpmn:userTask id="Task_RegistretAL0" name="Registret pieteicaju ka AL0 (uzskaitits, nav parbaudits)">
|
||||||
|
<bpmn:incoming>f1</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f2</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
|
||||||
|
<bpmn:serviceTask id="Task_IegutURIzrakstu" name="Iegut Uznemumu registra izrakstu"
|
||||||
|
uapf24:capability="pppa.evidence.fetch@1">
|
||||||
|
<bpmn:incoming>f2</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f3</bpmn:outgoing>
|
||||||
|
</bpmn:serviceTask>
|
||||||
|
|
||||||
|
<bpmn:businessRuleTask id="Task_ParbauditAvotu" name="Parbaudit pieradijuma avota neatkaribu"
|
||||||
|
uapf24:decisionRef="avota-neatkariba">
|
||||||
|
<bpmn:incoming>f3</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f4</bpmn:outgoing>
|
||||||
|
</bpmn:businessRuleTask>
|
||||||
|
|
||||||
|
<bpmn:exclusiveGateway id="Gw_Avots" name="Pieradijums pielaujams?">
|
||||||
|
<bpmn:incoming>f4</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f5_ja</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>f5_ne</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
|
||||||
|
<bpmn:endEvent id="End_NoraiditsCirkularitate" name="Noraidits - cirkularitate vai nederigs avots (17.2)">
|
||||||
|
<bpmn:incoming>f5_ne</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
|
||||||
|
<bpmn:serviceTask id="Task_DomenaParbaude" name="Parbaudit domena kontroli (DNS izaicinajums)"
|
||||||
|
uapf24:capability="pppa.domain.challenge@1">
|
||||||
|
<bpmn:incoming>f5_ja</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f6</bpmn:outgoing>
|
||||||
|
</bpmn:serviceTask>
|
||||||
|
|
||||||
|
<bpmn:serviceTask id="Task_AtslegasParbaude" name="Parbaudit atslegas kontroli (MCPF challenge)"
|
||||||
|
uapf24:capability="pppa.key.challenge@1">
|
||||||
|
<bpmn:incoming>f6</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f7</bpmn:outgoing>
|
||||||
|
</bpmn:serviceTask>
|
||||||
|
|
||||||
|
<bpmn:userTask id="Task_ParakstitLigumu" name="Parakstit dalibas ligumu ar kvalificetu e-parakstu">
|
||||||
|
<bpmn:incoming>f7</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f8</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
|
||||||
|
<bpmn:businessRuleTask id="Task_NoteiktAL" name="Noteikt ticamibas limeni (AL)"
|
||||||
|
uapf24:decisionRef="noteikt-ticamibas-limeni">
|
||||||
|
<bpmn:incoming>f8</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f9</bpmn:outgoing>
|
||||||
|
</bpmn:businessRuleTask>
|
||||||
|
|
||||||
|
<bpmn:exclusiveGateway id="Gw_AL" name="Kredencials izsniedzams?">
|
||||||
|
<bpmn:incoming>f9</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f10_ja</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>f10_ne</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
|
||||||
|
<bpmn:serviceTask id="Task_IzsniegtKredencialu" name="Izsniegt ExchangeParticipantCredential (did:web:pppa.lv)"
|
||||||
|
uapf24:capability="pppa.credential.issue@1">
|
||||||
|
<bpmn:incoming>f10_ja</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f11</bpmn:outgoing>
|
||||||
|
</bpmn:serviceTask>
|
||||||
|
|
||||||
|
<bpmn:serviceTask id="Task_PublicetAtsauci" name="Publicet atsauces pazinojumu un registra ierakstu"
|
||||||
|
uapf24:capability="event.emit@1">
|
||||||
|
<bpmn:incoming>f11</bpmn:incoming>
|
||||||
|
<bpmn:incoming>f10_ne</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>f12</bpmn:outgoing>
|
||||||
|
</bpmn:serviceTask>
|
||||||
|
|
||||||
|
<bpmn:endEvent id="End_Uznemts" name="Uznemts - AL fikses, kas parbaudits un uz ko palaujas">
|
||||||
|
<bpmn:incoming>f12</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
|
||||||
|
<bpmn:sequenceFlow id="f1" sourceRef="Start_Pieteikums" targetRef="Task_RegistretAL0"/>
|
||||||
|
<bpmn:sequenceFlow id="f2" sourceRef="Task_RegistretAL0" targetRef="Task_IegutURIzrakstu"/>
|
||||||
|
<bpmn:sequenceFlow id="f3" sourceRef="Task_IegutURIzrakstu" targetRef="Task_ParbauditAvotu"/>
|
||||||
|
<bpmn:sequenceFlow id="f4" sourceRef="Task_ParbauditAvotu" targetRef="Gw_Avots"/>
|
||||||
|
<bpmn:sequenceFlow id="f5_ja" name="pielaujams" sourceRef="Gw_Avots" targetRef="Task_DomenaParbaude">
|
||||||
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">${pieradijumsPielaujams == true}</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="f5_ne" name="nav pielaujams" sourceRef="Gw_Avots" targetRef="End_NoraiditsCirkularitate">
|
||||||
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">${pieradijumsPielaujams == false}</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="f6" sourceRef="Task_DomenaParbaude" targetRef="Task_AtslegasParbaude"/>
|
||||||
|
<bpmn:sequenceFlow id="f7" sourceRef="Task_AtslegasParbaude" targetRef="Task_ParakstitLigumu"/>
|
||||||
|
<bpmn:sequenceFlow id="f8" sourceRef="Task_ParakstitLigumu" targetRef="Task_NoteiktAL"/>
|
||||||
|
<bpmn:sequenceFlow id="f9" sourceRef="Task_NoteiktAL" targetRef="Gw_AL"/>
|
||||||
|
<bpmn:sequenceFlow id="f10_ja" name="AL2 vai AL3" sourceRef="Gw_AL" targetRef="Task_IzsniegtKredencialu">
|
||||||
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">${kredencialsIzsniedzams == true}</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="f10_ne" name="AL0 vai AL1" sourceRef="Gw_AL" targetRef="Task_PublicetAtsauci">
|
||||||
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">${kredencialsIzsniedzams == false}</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="f11" sourceRef="Task_IzsniegtKredencialu" targetRef="Task_PublicetAtsauci"/>
|
||||||
|
<bpmn:sequenceFlow id="f12" sourceRef="Task_PublicetAtsauci" targetRef="End_Uznemts"/>
|
||||||
|
</bpmn:process>
|
||||||
|
|
||||||
|
<bpmndi:BPMNDiagram id="Diagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_DalibniekaUznemsana"/>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
||||||
87
cmmn/akreditacijas-atsaukums.cmmn
Normal file
87
cmmn/akreditacijas-atsaukums.cmmn
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<cmmn:definitions xmlns:cmmn="http://www.omg.org/spec/CMMN/20151109/MODEL"
|
||||||
|
xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI"
|
||||||
|
id="Definitions_AkreditacijasAtsaukums"
|
||||||
|
targetNamespace="https://pppa.lv/processes/exchange-governance">
|
||||||
|
|
||||||
|
<cmmn:case id="Case_AkreditacijasAtsaukums" name="Akreditacijas apturesana un atsaukums (15)">
|
||||||
|
<cmmn:casePlanModel id="Plan_Atsaukums" name="Nelabveliga lemuma lieta">
|
||||||
|
|
||||||
|
<cmmn:planItem id="pi_konstatet" definitionRef="ht_konstatet"/>
|
||||||
|
<cmmn:planItem id="pi_pielaujamiba" definitionRef="dt_pielaujamiba"/>
|
||||||
|
|
||||||
|
<cmmn:planItem id="pi_arkartas" definitionRef="stage_arkartas">
|
||||||
|
<cmmn:entryCriterion id="ec_arkartas" sentryRef="sentry_arkartas"/>
|
||||||
|
</cmmn:planItem>
|
||||||
|
|
||||||
|
<cmmn:planItem id="pi_parastais" definitionRef="stage_parastais">
|
||||||
|
<cmmn:entryCriterion id="ec_parastais" sentryRef="sentry_parastais"/>
|
||||||
|
</cmmn:planItem>
|
||||||
|
|
||||||
|
<cmmn:planItem id="pi_anulet" definitionRef="t_anulet">
|
||||||
|
<cmmn:entryCriterion id="ec_anulet" sentryRef="sentry_anulet"/>
|
||||||
|
</cmmn:planItem>
|
||||||
|
|
||||||
|
<cmmn:planItem id="pi_pazinot" definitionRef="ht_pazinot"/>
|
||||||
|
<cmmn:planItem id="pi_apelacija" definitionRef="stage_apelacija"/>
|
||||||
|
<cmmn:planItem id="pi_ms_speka" definitionRef="ms_speka"/>
|
||||||
|
|
||||||
|
<cmmn:sentry id="sentry_arkartas">
|
||||||
|
<cmmn:ifPart>
|
||||||
|
<cmmn:condition>darbiba = "emergency_suspension" and lemumsPielaujams = true</cmmn:condition>
|
||||||
|
</cmmn:ifPart>
|
||||||
|
</cmmn:sentry>
|
||||||
|
<cmmn:sentry id="sentry_parastais">
|
||||||
|
<cmmn:ifPart>
|
||||||
|
<cmmn:condition>darbiba = "withdrawal" and lemumsPielaujams = true</cmmn:condition>
|
||||||
|
</cmmn:ifPart>
|
||||||
|
</cmmn:sentry>
|
||||||
|
<cmmn:sentry id="sentry_anulet">
|
||||||
|
<cmmn:ifPart>
|
||||||
|
<cmmn:condition>lemumsPielaujams = true and divasAtseviskasAmatpersonas = true</cmmn:condition>
|
||||||
|
</cmmn:ifPart>
|
||||||
|
</cmmn:sentry>
|
||||||
|
|
||||||
|
<cmmn:humanTask id="ht_konstatet" name="Konstatet pamatu un dokumentet pieradijumus" isBlocking="true"/>
|
||||||
|
|
||||||
|
<cmmn:decisionTask id="dt_pielaujamiba" name="Parbaudit lemuma pielaujamibu (DMN atsaukuma-pamatojums)"
|
||||||
|
decisionRef="atsaukuma-pamatojums" isBlocking="true"/>
|
||||||
|
|
||||||
|
<cmmn:stage id="stage_arkartas" name="Arkartas apturesana (15.3)" autoComplete="false">
|
||||||
|
<cmmn:planItem id="pi_apturet" definitionRef="ht_apturet"/>
|
||||||
|
<cmmn:planItem id="pi_rakstisks" definitionRef="ht_rakstisks"/>
|
||||||
|
<cmmn:planItem id="pi_parskatit" definitionRef="ht_parskatit"/>
|
||||||
|
<cmmn:humanTask id="ht_apturet" name="Apturet statusu nekavejoties" isBlocking="true"/>
|
||||||
|
<cmmn:humanTask id="ht_rakstisks" name="Sagatavot rakstisku pamatojumu" isBlocking="true"/>
|
||||||
|
<cmmn:humanTask id="ht_parskatit" name="Parskatit lemumu 5 darba dienu laika" isBlocking="true"/>
|
||||||
|
</cmmn:stage>
|
||||||
|
|
||||||
|
<cmmn:stage id="stage_parastais" name="Parastais atsaukums (15.2, 15.4)" autoComplete="false">
|
||||||
|
<cmmn:planItem id="pi_bridinajums" definitionRef="ht_bridinajums"/>
|
||||||
|
<cmmn:planItem id="pi_noversana" definitionRef="ht_noversana"/>
|
||||||
|
<cmmn:planItem id="pi_divi" definitionRef="ht_divi"/>
|
||||||
|
<cmmn:humanTask id="ht_bridinajums" name="Nosutit 30 dienu rakstisku bridinajumu" isBlocking="true"/>
|
||||||
|
<cmmn:humanTask id="ht_noversana" name="Dot noversanas periodu un izvertet noversanu" isBlocking="true"/>
|
||||||
|
<cmmn:humanTask id="ht_divi" name="Divu pilnvarotu amatpersonu lemums" isBlocking="true"/>
|
||||||
|
</cmmn:stage>
|
||||||
|
|
||||||
|
<cmmn:task id="t_anulet" name="Anulet kredencialu StatusList2021 saraksta un atjaunot registru" isBlocking="true"/>
|
||||||
|
|
||||||
|
<cmmn:humanTask id="ht_pazinot" name="Pazinot dalibniekam lemuma speka stasanas bridi (15.4)" isBlocking="true"/>
|
||||||
|
|
||||||
|
<cmmn:stage id="stage_apelacija" name="Apelacija (15.5)" autoComplete="false">
|
||||||
|
<cmmn:planItem id="pi_sastavs" definitionRef="ht_sastavs"/>
|
||||||
|
<cmmn:planItem id="pi_izskatit" definitionRef="ht_izskatit"/>
|
||||||
|
<cmmn:humanTask id="ht_sastavs" name="Izveidot parskatisanas instanci bez komercialas intereses par mezglu vai konkurejosu risinajumu" isBlocking="true"/>
|
||||||
|
<cmmn:humanTask id="ht_izskatit" name="Izskatit apelaciju un pienemt lemumu" isBlocking="true"/>
|
||||||
|
</cmmn:stage>
|
||||||
|
|
||||||
|
<cmmn:milestone id="ms_speka" name="Lemums stajies speka - atzisana ekosistema zaudeta (8.4)"/>
|
||||||
|
|
||||||
|
</cmmn:casePlanModel>
|
||||||
|
</cmmn:case>
|
||||||
|
|
||||||
|
<cmmndi:CMMNDI>
|
||||||
|
<cmmndi:CMMNDiagram id="Diagram_Atsaukums"/>
|
||||||
|
</cmmndi:CMMNDI>
|
||||||
|
</cmmn:definitions>
|
||||||
129
dmn/atsaukuma-pamatojums.dmn
Normal file
129
dmn/atsaukuma-pamatojums.dmn
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dmn:definitions xmlns:dmn="https://www.omg.org/spec/DMN/20191111/MODEL/"
|
||||||
|
id="Definitions_AtsaukumaPamatojums"
|
||||||
|
namespace="https://pppa.lv/processes/exchange-governance">
|
||||||
|
<dmn:decision id="atsaukuma-pamatojums" name="Nelabveliga lemuma pielaujamiba (15)">
|
||||||
|
<dmn:decisionTable hitPolicy="FIRST">
|
||||||
|
<dmn:input id="w_action" label="Darbiba (withdrawal | emergency_suspension | suspension)">
|
||||||
|
<dmn:inputExpression typeRef="string"><dmn:text>darbiba</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="w_ground" label="Pamats (15.1 izsmelosais uzskaitijums)">
|
||||||
|
<dmn:inputExpression typeRef="string"><dmn:text>pamats</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="w_officers" label="Divas atseviskas pilnvarotas amatpersonas (15.4)">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>divasAtseviskasAmatpersonas</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="w_notice" label="Rakstiska bridinajuma dienas (15.2)">
|
||||||
|
<dmn:inputExpression typeRef="number"><dmn:text>bridinajumaDienas</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="w_cure" label="Noversanas periods dots (15.2)">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>noversanasPeriodsDots</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="w_review" label="Parskatisanas datums noteikts, 5 d.d. (15.3)">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>parskatisanasDatumsNoteikts</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:output id="w_ok" label="Lemums pielaujams" name="lemumsPielaujams" typeRef="boolean"/>
|
||||||
|
<dmn:output id="w_why" label="Pamatojums" name="pamatojums" typeRef="string"/>
|
||||||
|
<dmn:rule id="W1_nav_divas_amatpersonas">
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>false</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Neviena atseviska persona nedrikst atsaukt vai apturet akreditaciju (15.4)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W2_nezinams_pamats">
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>not("participant_withdrawal","loss_of_legal_existence","unremedied_material_breach","key_compromise_not_remediated","conformity_failure_not_remedied","competent_authority_order","active_security_incident")</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Pamats nav 15.1 izsmelosaja uzskaitijuma - cits pamats nav speka"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W3_arkartas_bez_parskatisanas">
|
||||||
|
<dmn:inputEntry><dmn:text>"emergency_suspension"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>false</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Arkartas apturesana prasa parskatisanu 5 darba dienu laika (15.3)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W4_arkartas_saurs_pamats">
|
||||||
|
<dmn:inputEntry><dmn:text>"emergency_suspension"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>not("key_compromise_not_remediated","active_security_incident")</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Arkartas apturesana pieejama tikai apstiprinatai atslegas kompromitacijai vai aktivam drosibas incidentam (15.3)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W5_arkartas_pielaujama">
|
||||||
|
<dmn:inputEntry><dmn:text>"emergency_suspension"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>"key_compromise_not_remediated","active_security_incident"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Arkartas apturesana pielaujama - rakstiski pamatota, parskatama 5 d.d. laika (15.3)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W6_atsaukums_bez_30d">
|
||||||
|
<dmn:inputEntry><dmn:text>"withdrawal"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>not("participant_withdrawal","competent_authority_order","loss_of_legal_existence")</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>[0..30)</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Parastais atsaukums prasa 30 dienu rakstisku bridinajumu (15.2)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W7_atsaukums_bez_noversanas">
|
||||||
|
<dmn:inputEntry><dmn:text>"withdrawal"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>"unremedied_material_breach","key_compromise_not_remediated","conformity_failure_not_remedied"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>false</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Dalibniekam jadod iespeja noverst parkapumu (15.2)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W8_atsaukums_pielaujams">
|
||||||
|
<dmn:inputEntry><dmn:text>"withdrawal"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>"participant_withdrawal","loss_of_legal_existence","unremedied_material_breach","key_compromise_not_remediated","conformity_failure_not_remedied","competent_authority_order"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Atsaukums pielaujams - pamats no 15.1, bridinajums un noversana ieveroti, divas amatpersonas (15.2, 15.4)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W9_apturesana_izmeklesanai">
|
||||||
|
<dmn:inputEntry><dmn:text>"suspension"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Apturesana pielaujama drosibas izmeklesanai vai nenokartotam parkapumam (15.6)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="W10_default_fail_closed">
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Nosacijumi nav izpilditi - lemums noraidits pec noklusejuma"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
</dmn:decisionTable>
|
||||||
|
</dmn:decision>
|
||||||
|
</dmn:definitions>
|
||||||
78
dmn/avota-neatkariba.dmn
Normal file
78
dmn/avota-neatkariba.dmn
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dmn:definitions xmlns:dmn="https://www.omg.org/spec/DMN/20191111/MODEL/"
|
||||||
|
id="Definitions_AvotaNeatkariba"
|
||||||
|
namespace="https://pppa.lv/processes/exchange-governance">
|
||||||
|
<dmn:decision id="avota-neatkariba" name="Pieradijuma avota neatkariba">
|
||||||
|
<dmn:decisionTable hitPolicy="FIRST">
|
||||||
|
<dmn:input id="i_faktaVeids" label="Fakta veids (legal | technical)">
|
||||||
|
<dmn:inputExpression typeRef="string"><dmn:text>faktaVeids</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="i_avotsIrPieteicejs" label="Avots ir pats pieteicejs">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>avotsIrPieteicejs</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="i_avotsIrPieteicejaProdukts" label="Avots ir pieteiceja pasa produkts vai dati">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>avotsIrPieteicejaProdukts</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="i_avotsIrValstsRegistrs" label="Avots ir Uznemumu registrs">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>avotsIrValstsRegistrs</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:output id="o_pielaujams" label="Pieradijums pielaujams" name="pieradijumsPielaujams" typeRef="boolean"/>
|
||||||
|
<dmn:output id="o_rezims" label="PPPA rezims" name="pppaRezims" typeRef="string"/>
|
||||||
|
<dmn:output id="o_pamatojums" label="Pamatojums" name="pamatojums" typeRef="string"/>
|
||||||
|
<dmn:rule id="N1_cirkularitate_pieteicejs">
|
||||||
|
<dmn:inputEntry><dmn:text>"legal"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"none"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Cirkularitate: pieteicejs nevar but sava uznemsanas pieradijuma avots (17.2)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="N2_cirkularitate_produkts">
|
||||||
|
<dmn:inputEntry><dmn:text>"legal"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"none"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Juridiskos faktus nedrikst nemt no pieteiceja pasa produkta vai datiem (17.2)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="N3_juridisks_nav_valsts_registrs">
|
||||||
|
<dmn:inputEntry><dmn:text>"legal"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>false</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"none"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Juridiskie fakti janem no Uznemumu registra (14.2)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="N4_juridisks_palaujas">
|
||||||
|
<dmn:inputEntry><dmn:text>"legal"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>false</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>false</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"relies"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"PPPA palaujas uz Uznemumu registra izrakstu un fikse ta datumu (14.2)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="N5_tehnisks_parbauda">
|
||||||
|
<dmn:inputEntry><dmn:text>"technical"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"verifies"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"PPPA pati parbauda tehniski reproducejamo - domena un atslegas kontroli (14.2)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="N6_default_fail_closed">
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"none"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Nezinams fakta veids vai avots - noraidits pec noklusejuma"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
</dmn:decisionTable>
|
||||||
|
</dmn:decision>
|
||||||
|
</dmn:definitions>
|
||||||
74
dmn/noteikt-ticamibas-limeni.dmn
Normal file
74
dmn/noteikt-ticamibas-limeni.dmn
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dmn:definitions xmlns:dmn="https://www.omg.org/spec/DMN/20191111/MODEL/"
|
||||||
|
id="Definitions_NoteiktTicamibasLimeni"
|
||||||
|
namespace="https://pppa.lv/processes/exchange-governance">
|
||||||
|
<dmn:decision id="noteikt-ticamibas-limeni" name="Noteikt ticamibas limeni (AL)">
|
||||||
|
<dmn:decisionTable hitPolicy="FIRST">
|
||||||
|
<dmn:input id="a_legal" label="Juridiskie fakti pielaujami un fikseti (14.2)">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>juridiskieFaktiPielaujami</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="a_domain" label="Domena kontrole parbaudita">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>domenaKontroleParbaudita</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="a_key" label="Atslegas kontrole parbaudita (MCPF challenge)">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>atslegasKontroleParbaudita</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="a_agreement" label="Dalibas ligums parakstits ar kvalificetu e-parakstu">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>dalibasLigumsParakstits</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="a_node" label="Mezgls darbojas - manifests, atsaukums, drosibas kontakti">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>mezglaGatavibaApliecinata</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="a_audit" label="Neatkarigs novertejums vai regulets pieradijums">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>neatkarigsNovertejums</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:output id="a_out_al" label="Ticamibas limenis" name="ticamibasLimenis" typeRef="string"/>
|
||||||
|
<dmn:output id="a_out_cred" label="Izsniedzams akreditacijas kredencials" name="kredencialsIzsniedzams" typeRef="boolean"/>
|
||||||
|
<dmn:output id="a_out_note" label="Piezime" name="piezime" typeRef="string"/>
|
||||||
|
<dmn:rule id="AL3">
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL3"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Augsta ticamiba - AL2 plus neatkarigs novertejums (6.1)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="AL2">
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL2"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Akreditets mezgls (6.1, 17)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="AL1">
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL1"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Organizacija parbaudita - kredencials netiek izsniegts (6.1)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="AL0_default">
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL0"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"Pasdeklarets ieraksts - nav parbaudits, nav uzticams, nedrikst uzradit ka akreditetu (6.1)"</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
</dmn:decisionTable>
|
||||||
|
</dmn:decision>
|
||||||
|
</dmn:definitions>
|
||||||
102
dmn/piekluves-limena-prasibas.dmn
Normal file
102
dmn/piekluves-limena-prasibas.dmn
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dmn:definitions xmlns:dmn="https://www.omg.org/spec/DMN/20191111/MODEL/"
|
||||||
|
id="Definitions_PieklusvesLimenaPrasibas"
|
||||||
|
namespace="https://pppa.lv/processes/exchange-governance">
|
||||||
|
<dmn:decision id="piekluves-limena-prasibas" name="Piekluves limena minimalas prasibas (6.3, 6.4)">
|
||||||
|
<dmn:decisionTable hitPolicy="FIRST">
|
||||||
|
<dmn:input id="t_req" label="Pakalpojuma pieprasitais limenis (T0..T3)">
|
||||||
|
<dmn:inputExpression typeRef="string"><dmn:text>pieprasitaisLimenis</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:input id="t_legal" label="Atbilde ir juridiski nozimiga (6.4)">
|
||||||
|
<dmn:inputExpression typeRef="boolean"><dmn:text>juridiskiNozimigaAtbilde</dmn:text></dmn:inputExpression>
|
||||||
|
</dmn:input>
|
||||||
|
<dmn:output id="t_eff" label="Faktiskais limenis" name="faktiskaisLimenis" typeRef="string"/>
|
||||||
|
<dmn:output id="t_al" label="Minimalais AL" name="minimalaisAL" typeRef="string"/>
|
||||||
|
<dmn:output id="t_mcpf" label="Minimalais MCPF limenis" name="minimalaisMCPF" typeRef="string"/>
|
||||||
|
<dmn:output id="t_agent" label="Agenta identitate obligata" name="agentaIdentitate" typeRef="boolean"/>
|
||||||
|
<dmn:output id="t_mandate" label="Pilnvarojums obligats" name="pilnvarojums" typeRef="boolean"/>
|
||||||
|
<dmn:output id="t_ent" label="Tiesibas obligatas" name="tiesibas" typeRef="boolean"/>
|
||||||
|
<dmn:output id="t_audit" label="Audita ieraksts obligats" name="auditaIeraksts" typeRef="boolean"/>
|
||||||
|
<dmn:output id="t_receipt" label="Parakstita kvits obligata" name="parakstitaKvits" typeRef="boolean"/>
|
||||||
|
<dmn:output id="t_cache" label="Maks. statusa kesa ilgums (min)" name="maxStatusaKesaMin" typeRef="number"/>
|
||||||
|
<dmn:rule id="T0_escalated_legally_significant">
|
||||||
|
<dmn:inputEntry><dmn:text>"T0"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>true</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"T1"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL1"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"L2"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>60</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="T0_public">
|
||||||
|
<dmn:inputEntry><dmn:text>"T0"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"T0"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL0"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"L1"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>0</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="T1_authenticated">
|
||||||
|
<dmn:inputEntry><dmn:text>"T1"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"T1"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL1"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"L2"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>60</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="T2_federated">
|
||||||
|
<dmn:inputEntry><dmn:text>"T2"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"T2"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL2"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"L3"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>false</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>15</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="T3_transactional">
|
||||||
|
<dmn:inputEntry><dmn:text>"T3"</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"T3"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL2"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"L3"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>5</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
<dmn:rule id="T_default_fail_closed">
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:inputEntry><dmn:text>-</dmn:text></dmn:inputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"T3"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"AL2"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>"L3"</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>true</dmn:text></dmn:outputEntry>
|
||||||
|
<dmn:outputEntry><dmn:text>5</dmn:text></dmn:outputEntry>
|
||||||
|
</dmn:rule>
|
||||||
|
</dmn:decisionTable>
|
||||||
|
</dmn:decision>
|
||||||
|
</dmn:definitions>
|
||||||
12
docs/00-parskats.md
Normal file
12
docs/00-parskats.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Pārskats
|
||||||
|
|
||||||
|
Šī pakotne pārvērš AI LV Exchange MCP Node Profile v0.2 II daļu (pārvaldība) izpildāmos modeļos.
|
||||||
|
|
||||||
|
Lasīšanas secība:
|
||||||
|
|
||||||
|
1. `resources/mappings.yaml` — punkts pa punktam: kur profila teksts pārvēršas artefaktā.
|
||||||
|
2. `bpmn/dalibnieka-uznemsana.bpmn` — uzņemšanas plūsma no pieteikuma līdz atsauces paziņojumam.
|
||||||
|
3. `dmn/avota-neatkariba.dmn` — vienīgā tabula, kas var apstādināt uzņemšanu jau pirms tehniskajām pārbaudēm.
|
||||||
|
4. `dmn/atsaukuma-pamatojums.dmn` un `cmmn/akreditacijas-atsaukums.cmmn` — spēcīgākā vara shēmā un tās ierobežojumi.
|
||||||
|
|
||||||
|
Visas tabulas ir `hitPolicy="FIRST"` ar noraidošu noklusējuma likumu. Nezināma ievade nenozīmē atļauju.
|
||||||
14
docs/01-mi-akts.md
Normal file
14
docs/01-mi-akts.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Saistība ar MI aktu
|
||||||
|
|
||||||
|
**Šī pakotne nav MI sistēma.** Regulas (ES) 2024/1689 3. panta 1. punkts prasa, lai sistēma *secinātu* no saņemtās ievades, kā ģenerēt iznākumus. 12. apsvērums no MI sistēmas jēdziena skaidri izslēdz sistēmas, kas darbojas pēc noteikumiem, kurus definējušas fiziskas personas, un tos vienkārši izpilda. Uzmeklēšana reģistrā, paraksta pārbaude un lēmumu tabula neiemeslo.
|
||||||
|
|
||||||
|
**Šī pakotne ir MI sistēmas pārvaldība.** Tā nosaka, kurš tiek ielaists Process-as-Code MI sistēmas uzticēšanās un identitātes plaknē un ar kādām tiesībām. Piekļuves kontrole, kas atrodas ārpus sistēmas robežām, nozīmē neauditētu autorizāciju — to neviens uzraugs nepieņem. Tāpēc tā ir sistēmas robežās un smilškastes tvērumā.
|
||||||
|
|
||||||
|
Praktiskās sekas:
|
||||||
|
|
||||||
|
- **9. pants (riska pārvaldība)** — pārvaldības noteikumi ir versionēti un salīdzināmi; izmaiņa ir redzama kā izmaiņa.
|
||||||
|
- **12. pants (žurnalēšana)** — katrs lēmums izdod parakstītu notikumu.
|
||||||
|
- **14. pants (cilvēka virsvadība)** — katram nelabvēlīgam lēmumam ir vismaz divi obligāti cilvēka uzdevumi. Neviens nelabvēlīgs lēmums netiek automatizēts.
|
||||||
|
- **17.1 (uzņemšanas ieraksts)** — ierakstā jānorāda, ko PPPA pārbaudīja pati, kādus ārējos avotus izmantoja, ko apgalvo un kas paliek dalībnieka atbildībā.
|
||||||
|
|
||||||
|
**Ko smilškaste nedod.** Uzņemšana smilškastē nav atbilstības sertifikāts, paziņotās institūcijas statuss vai tiesības akreditēt. Tā dod uzraudzītu testēšanu, izejas ziņojumu un tiesisko noteiktību plāna tvērumā. Šo atšķirību nedrīkst izplūdināt.
|
||||||
14
fixtures/al2-standarta-uznemsana.json
Normal file
14
fixtures/al2-standarta-uznemsana.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"_comment": "Standard AL2 admission. Legal facts relied upon from Uznemumu registrs; domain and key control verified by PPPA.",
|
||||||
|
"faktaVeids": "legal",
|
||||||
|
"avotsIrPieteicejs": false,
|
||||||
|
"avotsIrPieteicejaProdukts": false,
|
||||||
|
"avotsIrValstsRegistrs": true,
|
||||||
|
"juridiskieFaktiPielaujami": true,
|
||||||
|
"domenaKontroleParbaudita": true,
|
||||||
|
"atslegasKontroleParbaudita": true,
|
||||||
|
"dalibasLigumsParakstits": true,
|
||||||
|
"mezglaGatavibaApliecinata": true,
|
||||||
|
"neatkarigsNovertejums": false,
|
||||||
|
"_expected": { "pieradijumsPielaujams": true, "pppaRezims": "relies", "ticamibasLimenis": "AL2", "kredencialsIzsniedzams": true }
|
||||||
|
}
|
||||||
10
fixtures/arkartas-apturesana-bez-parskatisanas.json
Normal file
10
fixtures/arkartas-apturesana-bez-parskatisanas.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"_comment": "Emergency suspension on a valid ground but with no 5-working-day review date set. 15.3 refuses it.",
|
||||||
|
"darbiba": "emergency_suspension",
|
||||||
|
"pamats": "key_compromise_not_remediated",
|
||||||
|
"divasAtseviskasAmatpersonas": true,
|
||||||
|
"bridinajumaDienas": 0,
|
||||||
|
"noversanasPeriodsDots": false,
|
||||||
|
"parskatisanasDatumsNoteikts": false,
|
||||||
|
"_expected": { "lemumsPielaujams": false, "_rule": "W3_arkartas_bez_parskatisanas" }
|
||||||
|
}
|
||||||
10
fixtures/atsaukums-nederigs-pamats.json
Normal file
10
fixtures/atsaukums-nederigs-pamats.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"_comment": "Withdrawal attempted on a ground not in the exhaustive 15.1 list. Must be refused before any credential is touched.",
|
||||||
|
"darbiba": "withdrawal",
|
||||||
|
"pamats": "we_felt_like_it",
|
||||||
|
"divasAtseviskasAmatpersonas": true,
|
||||||
|
"bridinajumaDienas": 45,
|
||||||
|
"noversanasPeriodsDots": true,
|
||||||
|
"parskatisanasDatumsNoteikts": false,
|
||||||
|
"_expected": { "lemumsPielaujams": false, "_rule": "W2_nezinams_pamats" }
|
||||||
|
}
|
||||||
6
fixtures/juridiski-nozimigs-t0.json
Normal file
6
fixtures/juridiski-nozimigs-t0.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"_comment": "A service exposed at T0 that answers an authoritative question about representation rights. 6.4: the tier is set by the consequence of relying on the answer, not by the secrecy of the datum. Escalates to T1.",
|
||||||
|
"pieprasitaisLimenis": "T0",
|
||||||
|
"juridiskiNozimigaAtbilde": true,
|
||||||
|
"_expected": { "faktiskaisLimenis": "T1", "minimalaisAL": "AL1", "minimalaisMCPF": "L2", "maxStatusaKesaMin": 60, "_rule": "T0_escalated_legally_significant" }
|
||||||
|
}
|
||||||
8
fixtures/registru-datu-sniedzejs-cirkularitate.json
Normal file
8
fixtures/registru-datu-sniedzejs-cirkularitate.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"_comment": "The applicant is itself a commercial provider of company-register data, and the UR extract was obtained from the applicant's own product. Node Profile 17.2 excludes this. The rule fires; admission stops before any challenge is run.",
|
||||||
|
"faktaVeids": "legal",
|
||||||
|
"avotsIrPieteicejs": false,
|
||||||
|
"avotsIrPieteicejaProdukts": true,
|
||||||
|
"avotsIrValstsRegistrs": false,
|
||||||
|
"_expected": { "pieradijumsPielaujams": false, "pppaRezims": "none", "_rule": "N2_cirkularitate_produkts" }
|
||||||
|
}
|
||||||
64
manifest.json
Normal file
64
manifest.json
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
{
|
||||||
|
"kind": "uapf.package",
|
||||||
|
"id": "lv.pppa.exchange-governance",
|
||||||
|
"name": "MI apmaiņas ekosistēmas pārvaldība",
|
||||||
|
"description": "Level-4 UAPF process package encoding the governance of the AI LV Exchange\n(AI LV Exchange MCP Node Profile v0.2, Part II) as executable, versioned,\nforkable models rather than prose.\n\nBPMN — the admission process: application, evidence gathering, source-\nindependence check, domain-control and key-control challenges, assurance-level\ndetermination, participation agreement, credential issuance, publication of\nthe reliance statement.\n\nDMN — four decision tables carrying the algorithm the profile currently\nstates in prose:\n * avota-neatkariba — §14.2 / §17.2 verified vs relied-upon facts,\n and the exclusion of circularity. Legal facts\n MUST come from Uzņēmumu reģistrs and MUST NOT\n come from the applicant or from the applicant's\n own product — which binds hardest precisely when\n the applicant is a commercial provider of\n company-register data.\n * noteikt-ticamibas-limeni — §6.1 / §17 assurance level AL0..AL3.\n * piekluves-limena-prasibas — §6.3 minimum-requirements matrix (T0..T3 to\n AL, MCPF level, mandate, entitlement, audit,\n status-cache), plus §6.4: a legally significant\n answer is never T0 regardless of the secrecy of\n the datum.\n * atsaukuma-pamatojums — §15 admissibility of an adverse decision:\n exhaustive grounds, 30-day notice, cure,\n 5-working-day emergency review, two distinct\n officers. Fail-closed by default.\n\nCMMN — the withdrawal / suspension / appeal case: discretionary and mandatory\nwork in an unstructured matter, with the two-officer decision and the\nconflict-free appeal as first-class human tasks.\n\nNothing here infers. This package is the deterministic governance of an AI\nsystem, not an AI system itself (Regulation (EU) 2024/1689, Art. 3(1) and\nRecital 12). It is in scope of the sandbox because it governs admission to\nthe trust and identity plane of the Process-as-Code AI system.\n",
|
||||||
|
"level": 4,
|
||||||
|
"version": "0.1.0",
|
||||||
|
"requires_capabilities": [
|
||||||
|
"pppa.evidence.fetch@1+",
|
||||||
|
"pppa.domain.challenge@1+",
|
||||||
|
"pppa.key.challenge@1+",
|
||||||
|
"pppa.credential.issue@1+",
|
||||||
|
"pppa.credential.revoke@1+",
|
||||||
|
"event.emit@1+"
|
||||||
|
],
|
||||||
|
"profiles_supported": [
|
||||||
|
"uapf-ip-orchestrated"
|
||||||
|
],
|
||||||
|
"guardrails": "resources/guardrails.yaml",
|
||||||
|
"includes": [],
|
||||||
|
"dependencies": {
|
||||||
|
"AI LV Exchange MCP Node Profile": "0.2"
|
||||||
|
},
|
||||||
|
"cornerstones": {
|
||||||
|
"bpmn": true,
|
||||||
|
"dmn": true,
|
||||||
|
"cmmn": true,
|
||||||
|
"resources": true
|
||||||
|
},
|
||||||
|
"paths": {
|
||||||
|
"bpmn": "bpmn",
|
||||||
|
"dmn": "dmn",
|
||||||
|
"cmmn": "cmmn",
|
||||||
|
"resources": "resources",
|
||||||
|
"metadata": "metadata",
|
||||||
|
"algorithms": "algorithms"
|
||||||
|
},
|
||||||
|
"algorithm_cards": false,
|
||||||
|
"exposure": {
|
||||||
|
"mcp": {
|
||||||
|
"enabled": true,
|
||||||
|
"runnable": true,
|
||||||
|
"exposedEntrypoints": [
|
||||||
|
"Process_DalibniekaUznemsana",
|
||||||
|
"Case_AkreditacijasAtsaukums"
|
||||||
|
],
|
||||||
|
"exposedArtifacts": [
|
||||||
|
"manifest",
|
||||||
|
"bpmn",
|
||||||
|
"dmn",
|
||||||
|
"cmmn",
|
||||||
|
"docs"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"owners": [
|
||||||
|
{
|
||||||
|
"type": "org",
|
||||||
|
"id": "pppa-lv",
|
||||||
|
"contact": "info@pppa.lv"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"lifecycle": "draft"
|
||||||
|
}
|
||||||
9
metadata/lifecycle.yaml
Normal file
9
metadata/lifecycle.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
kind: uapf.metadata.lifecycle
|
||||||
|
status: draft
|
||||||
|
created: "2026-07-12T00:00:00Z"
|
||||||
|
lastModified: "2026-07-12T00:00:00Z"
|
||||||
|
changeHistory:
|
||||||
|
- version: "0.1.0"
|
||||||
|
date: "2026-07-12"
|
||||||
|
summary: "Initial package. Node Profile v0.2 Part II governance expressed as BPMN (admission), four DMN decision tables (source independence, assurance level, access-tier matrix, adverse-decision admissibility) and CMMN (suspension, withdrawal, appeal). Nothing here infers; it is the deterministic governance of an AI system, not an AI system."
|
||||||
|
author: "pppa-lv"
|
||||||
11
metadata/ownership.yaml
Normal file
11
metadata/ownership.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
kind: uapf.metadata.ownership
|
||||||
|
owners:
|
||||||
|
- type: org
|
||||||
|
id: pppa-lv
|
||||||
|
name: Publisko un privato partneribu asociacija (PPPA)
|
||||||
|
contact: info@pppa.lv
|
||||||
|
role: owner
|
||||||
|
approvers:
|
||||||
|
- pppa-lv
|
||||||
|
declared_interests:
|
||||||
|
- "Cyberfort SIA is both an editor of the Node Profile and a commercial implementer. This dual role is declared, not resolved (Node Profile 16, INTERESTS.md). Cyberfort MUST NOT sit on the appeal body for any node it implements (15.5)."
|
||||||
40
processgit.mcp.yaml
Normal file
40
processgit.mcp.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# ProcessGit MCP Configuration
|
||||||
|
# Exposes this UAPF governance package as an MCP server (process-as-knowledge).
|
||||||
|
version: 1
|
||||||
|
|
||||||
|
server:
|
||||||
|
name: "MI apmainas ekosistemas parvaldiba"
|
||||||
|
description: "MCP server for the AI LV Exchange governance UAPF package (lv.pppa.exchange-governance) - BPMN admission, four DMN decision tables, and the CMMN withdrawal/appeal case, traceable clause-by-clause to the Node Profile v0.2."
|
||||||
|
instructions: |
|
||||||
|
This repository is the governance of the AI LV Exchange, expressed as code.
|
||||||
|
The rules that decide who is admitted, at what assurance level, what a
|
||||||
|
service may demand, and on what grounds accreditation may be withdrawn
|
||||||
|
live in dmn/ as four decision tables. The admission flow is in bpmn/. The
|
||||||
|
suspension, withdrawal and appeal case is in cmmn/.
|
||||||
|
|
||||||
|
resources/mappings.yaml maps every clause of the Node Profile v0.2 to the
|
||||||
|
artefact that implements it, and states the two places where the model
|
||||||
|
cannot enforce the rule alone and the host must.
|
||||||
|
|
||||||
|
Use 'search' and 'get_entity' to explore, 'validate' to check the models.
|
||||||
|
Fork it, diff it, and object before it takes effect.
|
||||||
|
|
||||||
|
sources:
|
||||||
|
- path: "bpmn/dalibnieka-uznemsana.bpmn"
|
||||||
|
type: "xml"
|
||||||
|
description: "BPMN - the admission process, AL0 to AL2"
|
||||||
|
- path: "dmn/avota-neatkariba.dmn"
|
||||||
|
type: "xml"
|
||||||
|
description: "DMN - verified vs relied-upon facts; circularity excluded (14.2, 17.2)"
|
||||||
|
- path: "dmn/noteikt-ticamibas-limeni.dmn"
|
||||||
|
type: "xml"
|
||||||
|
description: "DMN - assurance level AL0..AL3 (6.1, 17)"
|
||||||
|
- path: "dmn/piekluves-limena-prasibas.dmn"
|
||||||
|
type: "xml"
|
||||||
|
description: "DMN - minimum requirements per access tier T0..T3 (6.3, 6.4)"
|
||||||
|
- path: "dmn/atsaukuma-pamatojums.dmn"
|
||||||
|
type: "xml"
|
||||||
|
description: "DMN - admissibility of an adverse decision (15)"
|
||||||
|
- path: "cmmn/akreditacijas-atsaukums.cmmn"
|
||||||
|
type: "xml"
|
||||||
|
description: "CMMN - suspension, withdrawal and appeal as an unstructured case"
|
||||||
41
resources/guardrails.yaml
Normal file
41
resources/guardrails.yaml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# Non-normative supplementary file. UAPF does not cornerstone guardrails;
|
||||||
|
# they live under resources/ as a host-readable policy snapshot of the
|
||||||
|
# normative rules in the AI LV Exchange MCP Node Profile v0.2, Part II.
|
||||||
|
authority: lv.pppa.scheme-authority
|
||||||
|
version: "0.1.0"
|
||||||
|
profile: "AI LV Exchange MCP Node Profile v0.2"
|
||||||
|
|
||||||
|
separation_of_powers:
|
||||||
|
- "PPPA does NOT attest to legal facts. It relies on Uznemumu registrs and records what it relied on, and the date. The output of admission is a reliance statement, not an attestation (14.2)."
|
||||||
|
- "PPPA verifies only what is technically reproducible: domain control and key control. Anyone may re-run either challenge and obtain the same answer (14.2)."
|
||||||
|
- "A technical service provider acquires no trust authority by supplying software or infrastructure (14)."
|
||||||
|
- "The Conformity Assessor function MUST be separated from the Scheme Authority before the Exchange leaves sandbox status, or before it admits its third participant, whichever is first (14.1)."
|
||||||
|
|
||||||
|
circularity:
|
||||||
|
- "A participant MUST NOT be the source of the evidence used to admit it (17.2)."
|
||||||
|
- "Legal facts MUST come from Uznemumu registrs, never from the applicant's own data or products - including where the applicant is itself a commercial provider of company-register data (17.2)."
|
||||||
|
- "This is enforced in dmn/avota-neatkariba.dmn as a precondition, not as a warning. The default rule rejects."
|
||||||
|
|
||||||
|
assurance:
|
||||||
|
- "AL0 is self-declared and MUST NOT be presented as verified or accredited (6.1, 17)."
|
||||||
|
- "AL0 can never be accredited. No credential is issued below AL2."
|
||||||
|
- "Assurance level (how thoroughly the participant was verified) and access tier (what the service demands) are different axes and MUST NOT be conflated (6)."
|
||||||
|
|
||||||
|
access:
|
||||||
|
- "The tier is set by the consequence of relying on the answer, not by the secrecy of the datum. A legally significant verification is never T0 (6.4)."
|
||||||
|
- "MCPF L2 is where the challenge endpoint appears. A node serving T1 at L1 has an identity claim and no identity proof (6.3)."
|
||||||
|
- "Fail-closed: an unrecognised tier resolves to T3 requirements, not T0."
|
||||||
|
|
||||||
|
adverse_decisions:
|
||||||
|
- "The grounds in 15.1 are exhaustive. No other ground is valid."
|
||||||
|
- "No single individual may withdraw or suspend accreditation. Two distinct authorised PPPA officers are required (15.4)."
|
||||||
|
- "Ordinary withdrawal requires 30 days written notice and a cure period (15.2)."
|
||||||
|
- "Emergency suspension is narrow: confirmed key compromise or an active security incident affecting federation trust. It MUST be reasoned in writing and reviewed within 5 working days (15.3)."
|
||||||
|
- "Appeal goes to a body excluding any person with a commercial interest in the participant's node or in a competing implementation (15.5)."
|
||||||
|
- "Every precondition is checked BEFORE any side effect. Where a side effect is unavoidable, it runs fail-closed: the credential is revoked first, so a later failure leaves the participant untrusted rather than trusted."
|
||||||
|
|
||||||
|
eu_ai_act:
|
||||||
|
classification: "Not an AI system. This package is deterministic governance - rules defined by natural persons, executed without inference. Regulation (EU) 2024/1689 Art. 3(1) and Recital 12."
|
||||||
|
scope: "In scope of the MIC regulatory sandbox because it governs admission to the trust and identity plane of the Process-as-Code AI system, which is the declared AI system."
|
||||||
|
human_oversight: "Every adverse decision has at least two mandatory human tasks (the two-officer decision, and the appeal). No adverse decision is ever automated."
|
||||||
|
logging: "Each decision emits a signed CloudEvent. The onboarding record MUST state which checks PPPA performed, which external sources it used, which claims PPPA makes, and which remain the participant's responsibility (17.1)."
|
||||||
36
resources/mappings.yaml
Normal file
36
resources/mappings.yaml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
kind: uapf.resource.mappings
|
||||||
|
version: "0.1.0"
|
||||||
|
description: |
|
||||||
|
Traceability from the normative text of the AI LV Exchange MCP Node Profile
|
||||||
|
v0.2 to the executable artefact that implements it. Anyone reading the profile
|
||||||
|
can find the code; anyone reading the code can find the clause.
|
||||||
|
|
||||||
|
profile_to_artefact:
|
||||||
|
- clause: "6.1 Assurance levels AL0..AL3"
|
||||||
|
artefact: dmn/noteikt-ticamibas-limeni.dmn
|
||||||
|
- clause: "6.3 Minimum requirements matrix (T0..T3)"
|
||||||
|
artefact: dmn/piekluves-limena-prasibas.dmn
|
||||||
|
- clause: "6.4 Legally significant data is never T0"
|
||||||
|
artefact: dmn/piekluves-limena-prasibas.dmn#T0_escalated_legally_significant
|
||||||
|
- clause: "14.2 Verified facts vs relied-upon facts"
|
||||||
|
artefact: dmn/avota-neatkariba.dmn
|
||||||
|
- clause: "17.2 Circularity is excluded, not merely flagged"
|
||||||
|
artefact: dmn/avota-neatkariba.dmn#N1_cirkularitate_pieteicejs, dmn/avota-neatkariba.dmn#N2_cirkularitate_produkts
|
||||||
|
- clause: "17 Onboarding AL0 -> AL1 -> AL2 -> AL3"
|
||||||
|
artefact: bpmn/dalibnieka-uznemsana.bpmn
|
||||||
|
- clause: "15.1 Exhaustive grounds"
|
||||||
|
artefact: dmn/atsaukuma-pamatojums.dmn#W2_nezinams_pamats
|
||||||
|
- clause: "15.2 Notice and cure"
|
||||||
|
artefact: dmn/atsaukuma-pamatojums.dmn#W6_atsaukums_bez_30d, dmn/atsaukuma-pamatojums.dmn#W7_atsaukums_bez_noversanas
|
||||||
|
- clause: "15.3 Emergency suspension, 5-working-day review"
|
||||||
|
artefact: dmn/atsaukuma-pamatojums.dmn#W3_arkartas_bez_parskatisanas, cmmn/akreditacijas-atsaukums.cmmn#stage_arkartas
|
||||||
|
- clause: "15.4 Two-officer decision"
|
||||||
|
artefact: dmn/atsaukuma-pamatojums.dmn#W1_nav_divas_amatpersonas, cmmn/akreditacijas-atsaukums.cmmn#ht_divi
|
||||||
|
- clause: "15.5 Conflict-free appeal"
|
||||||
|
artefact: cmmn/akreditacijas-atsaukums.cmmn#stage_apelacija
|
||||||
|
- clause: "8.4 Cascading loss of recognition"
|
||||||
|
artefact: cmmn/akreditacijas-atsaukums.cmmn#ms_speka
|
||||||
|
|
||||||
|
known_gaps:
|
||||||
|
- "The two-officer check is modelled as a boolean input (divasAtseviskasAmatpersonas). DMN cannot compare two identifiers, so the distinctness of the officers MUST be enforced by the host before the table is evaluated. PPPA-Registry does this with a DB CHECK constraint."
|
||||||
|
- "avota-neatkariba takes precomputed booleans (avotsIrPieteicejs, avotsIrPieteicejaProdukts). The host resolves the evidence source DID and compares it to the applicant DID; the table cannot."
|
||||||
49
resources/schemas/reliance-statement.schema.json
Normal file
49
resources/schemas/reliance-statement.schema.json
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"$id": "https://pppa.lv/schemas/reliance-statement-v0.2.json",
|
||||||
|
"title": "Reliance statement",
|
||||||
|
"description": "The output of admission (Node Profile v0.2, 14.2). PPPA does not attest; it records what it relied on and what it verified.",
|
||||||
|
"type": "object",
|
||||||
|
"required": ["participantId", "assuranceLevel", "reliedUpon", "verified", "issuedAt"],
|
||||||
|
"properties": {
|
||||||
|
"participantId": { "type": "string", "description": "did:web of the participant node" },
|
||||||
|
"organisationName": { "type": "string" },
|
||||||
|
"registrationNumber": { "type": "string", "pattern": "^[0-9]{11}$" },
|
||||||
|
"assuranceLevel": { "enum": ["AL0", "AL1", "AL2", "AL3"] },
|
||||||
|
"profileVersion": { "type": "string" },
|
||||||
|
"mcpfLevel": { "enum": ["L1", "L2", "L3"] },
|
||||||
|
"reliedUpon": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Legal facts. PPPA relies; it never attests.",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["fact", "source", "sourceDate"],
|
||||||
|
"properties": {
|
||||||
|
"fact": { "enum": ["legalExistence", "representationRights", "signatoryIdentity"] },
|
||||||
|
"source": { "type": "string", "description": "e.g. Uznemumu registrs; never the applicant or its products" },
|
||||||
|
"sourceDate": { "type": "string", "format": "date" },
|
||||||
|
"sourceIsApplicant": { "const": false },
|
||||||
|
"sourceIsApplicantProduct": { "const": false }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"verified": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Technical facts. Reproducible by anyone.",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["fact", "method", "verifiedAt"],
|
||||||
|
"properties": {
|
||||||
|
"fact": { "enum": ["domainControl", "keyControl"] },
|
||||||
|
"method": { "enum": ["dns-txt-challenge", "mcpf-challenge-endpoint"] },
|
||||||
|
"subject": { "type": "string" },
|
||||||
|
"verifiedAt": { "type": "string", "format": "date-time" },
|
||||||
|
"evidenceRef": { "type": "string" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"issuedAt": { "type": "string", "format": "date-time" },
|
||||||
|
"statement": { "type": "string", "description": "Human-readable form, in Latvian." }
|
||||||
|
},
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
11
tests/eval-set.json
Normal file
11
tests/eval-set.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"kind": "uapf.tests.evalset",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"cases": [
|
||||||
|
{ "name": "AL2 standarta uznemsana", "fixture": "fixtures/al2-standarta-uznemsana.json", "decisions": ["avota-neatkariba", "noteikt-ticamibas-limeni"] },
|
||||||
|
{ "name": "Cirkularitate - registru datu sniedzejs", "fixture": "fixtures/registru-datu-sniedzejs-cirkularitate.json", "decisions": ["avota-neatkariba"], "mustReject": true },
|
||||||
|
{ "name": "Atsaukums uz nederiga pamata", "fixture": "fixtures/atsaukums-nederigs-pamats.json", "decisions": ["atsaukuma-pamatojums"], "mustReject": true },
|
||||||
|
{ "name": "Arkartas apturesana bez parskatisanas datuma", "fixture": "fixtures/arkartas-apturesana-bez-parskatisanas.json", "decisions": ["atsaukuma-pamatojums"], "mustReject": true },
|
||||||
|
{ "name": "Juridiski nozimiga atbilde T0 limeni", "fixture": "fixtures/juridiski-nozimigs-t0.json", "decisions": ["piekluves-limena-prasibas"] }
|
||||||
|
]
|
||||||
|
}
|
||||||
98
uapf.yaml
Normal file
98
uapf.yaml
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
kind: uapf.package
|
||||||
|
id: lv.pppa.exchange-governance
|
||||||
|
name: MI apmaiņas ekosistēmas pārvaldība
|
||||||
|
description: |
|
||||||
|
Level-4 UAPF process package encoding the governance of the AI LV Exchange
|
||||||
|
(AI LV Exchange MCP Node Profile v0.2, Part II) as executable, versioned,
|
||||||
|
forkable models rather than prose.
|
||||||
|
|
||||||
|
BPMN — the admission process: application, evidence gathering, source-
|
||||||
|
independence check, domain-control and key-control challenges, assurance-level
|
||||||
|
determination, participation agreement, credential issuance, publication of
|
||||||
|
the reliance statement.
|
||||||
|
|
||||||
|
DMN — four decision tables carrying the algorithm the profile currently
|
||||||
|
states in prose:
|
||||||
|
* avota-neatkariba — §14.2 / §17.2 verified vs relied-upon facts,
|
||||||
|
and the exclusion of circularity. Legal facts
|
||||||
|
MUST come from Uzņēmumu reģistrs and MUST NOT
|
||||||
|
come from the applicant or from the applicant's
|
||||||
|
own product — which binds hardest precisely when
|
||||||
|
the applicant is a commercial provider of
|
||||||
|
company-register data.
|
||||||
|
* noteikt-ticamibas-limeni — §6.1 / §17 assurance level AL0..AL3.
|
||||||
|
* piekluves-limena-prasibas — §6.3 minimum-requirements matrix (T0..T3 to
|
||||||
|
AL, MCPF level, mandate, entitlement, audit,
|
||||||
|
status-cache), plus §6.4: a legally significant
|
||||||
|
answer is never T0 regardless of the secrecy of
|
||||||
|
the datum.
|
||||||
|
* atsaukuma-pamatojums — §15 admissibility of an adverse decision:
|
||||||
|
exhaustive grounds, 30-day notice, cure,
|
||||||
|
5-working-day emergency review, two distinct
|
||||||
|
officers. Fail-closed by default.
|
||||||
|
|
||||||
|
CMMN — the withdrawal / suspension / appeal case: discretionary and mandatory
|
||||||
|
work in an unstructured matter, with the two-officer decision and the
|
||||||
|
conflict-free appeal as first-class human tasks.
|
||||||
|
|
||||||
|
Nothing here infers. This package is the deterministic governance of an AI
|
||||||
|
system, not an AI system itself (Regulation (EU) 2024/1689, Art. 3(1) and
|
||||||
|
Recital 12). It is in scope of the sandbox because it governs admission to
|
||||||
|
the trust and identity plane of the Process-as-Code AI system.
|
||||||
|
|
||||||
|
level: 4
|
||||||
|
version: "0.1.0"
|
||||||
|
|
||||||
|
requires_capabilities:
|
||||||
|
- pppa.evidence.fetch@1+
|
||||||
|
- pppa.domain.challenge@1+
|
||||||
|
- pppa.key.challenge@1+
|
||||||
|
- pppa.credential.issue@1+
|
||||||
|
- pppa.credential.revoke@1+
|
||||||
|
- event.emit@1+
|
||||||
|
|
||||||
|
profiles_supported:
|
||||||
|
- uapf-ip-orchestrated
|
||||||
|
|
||||||
|
guardrails: resources/guardrails.yaml
|
||||||
|
|
||||||
|
includes: []
|
||||||
|
dependencies:
|
||||||
|
"AI LV Exchange MCP Node Profile": "0.2"
|
||||||
|
|
||||||
|
cornerstones:
|
||||||
|
bpmn: true
|
||||||
|
dmn: true
|
||||||
|
cmmn: true
|
||||||
|
resources: true
|
||||||
|
|
||||||
|
paths:
|
||||||
|
bpmn: bpmn
|
||||||
|
dmn: dmn
|
||||||
|
cmmn: cmmn
|
||||||
|
resources: resources
|
||||||
|
metadata: metadata
|
||||||
|
algorithms: algorithms
|
||||||
|
|
||||||
|
algorithm_cards: false
|
||||||
|
|
||||||
|
exposure:
|
||||||
|
mcp:
|
||||||
|
enabled: true
|
||||||
|
runnable: true
|
||||||
|
exposedEntrypoints:
|
||||||
|
- "Process_DalibniekaUznemsana"
|
||||||
|
- "Case_AkreditacijasAtsaukums"
|
||||||
|
exposedArtifacts:
|
||||||
|
- manifest
|
||||||
|
- bpmn
|
||||||
|
- dmn
|
||||||
|
- cmmn
|
||||||
|
- docs
|
||||||
|
|
||||||
|
owners:
|
||||||
|
- type: org
|
||||||
|
id: pppa-lv
|
||||||
|
contact: info@pppa.lv
|
||||||
|
|
||||||
|
lifecycle: draft
|
||||||
Reference in New Issue
Block a user