1
0
Files
vk-gramatvediba/README.md
Rihards Gailums 81d32e81d5 FG3 build-out: six FG3-x sub-process packages + FG3-1 executable
Adds the six FG3 sub-process packages (processes/fg3-1 .. fg3-6) and wires
them into the FG3 (L2) package via `includes`; FG3 version 0.1.0 -> 0.2.0.

FG3-1 (Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem) is built out
as an executable L4 package:
- bpmn/rekina-sanemsana.bpmn  - 3-lane process (Nodarbinātais / VPC / Iestāde)
- dmn/rekina-parbaude.dmn     - FIRST hit-policy routing decision table
- resources/                 - roles, agent and mappings binding every user
                               task and the decision to a target
- metadata/                  - ownership, lifecycle, policies

FG3-2..FG3-6 are draft composition placeholders (L4) pending executable
build-out.

Validated against the UAPF 2.2.0 schemas (manifest, ownership, lifecycle,
policies, resource-mapping, enterprise index): all includes resolve, no
duplicated executable artifacts, BPMN/DMN well-formed, and all resource
mapping references resolve to real BPMN/DMN element ids.
2026-05-19 18:34:59 +00:00

57 lines
2.6 KiB
Markdown

# vk-gramatvediba
UAPF workspace for the **Valsts Kase / Vienotais pakalpojumu centrs (VPC)
accounting processes** — a transcription of the six published accounting
function groups (FG1–FG6) into the Unified Algorithmic Process Format.
Built for the Latvian AI regulatory sandbox proof-of-concept. It demonstrates
algorithmising a real, published public-sector process description as
version-controlled, machine-executable, auditable UAPF packages.
## Conformance
This workspace targets **UAPF specification v2.2.0**
(https://github.com/UAPFormat/UAPF-specification). It follows the normative
folder structure (`enterprise/`, `domains/`, `processes/`), the package layout
(`uapf.yaml` plus cornerstone folders), and the `includes`-based composition
rule — higher levels reference lower levels and executable artifacts are never
copied.
## Layout
| Path | Level | Contents |
|------|-------|----------|
| `enterprise/enterprise.yaml` | L0 | Enterprise index — references every domain and package |
| `domains/` | L1 | Domain compositions (the accounting domain) |
| `processes/` | L2–L4 | Function-group, sub-process and atomic executable packages |
| `tools/` | — | Workspace tooling (package archive build, transcription) |
| `docs/` | — | Conventions and proof-of-concept documentation |
See `docs/conventions.md` for how the VK function groups map onto UAPF levels.
## Source material
The packages here are transcribed from the Valsts Kase publication
*Grāmatvedības uzskaites procesu apraksts* (created 2024-06-03, updated
2026-03-27): six process schemas and six process registers. The transcription
preserves step identity, responsibility (RACI), the systems used, and SLAs; it
does not alter the documented process. Where a schema and its register
disagree, the discrepancy is recorded rather than silently resolved.
## Status
**FG3 build.** The workspace structure, the L0 enterprise index, the L1
accounting domain and the six L2 function-group packages are in place. FG3 is
composed down to its six L4 sub-process packages, and FG3-1 (*Rēķina/
kredītrēķina saņemšana*) is built out as an executable L4 package with BPMN
and DMN. FG2 and FG4–FG6 detailing and the FG3-2…FG3-6 executable builds
follow in subsequent steps.
## Scope note
This proof-of-concept validates **methodology and auditability** — that a
public-sector process can be expressed as conformant, executable, traceable
UAPF, and run with a complete audit chain. Accounting bookkeeping is not, in
itself, a high-risk AI use case under the EU AI Act; the sandbox value is the
algorithmisation and audit method, not the domain.