COMPONENT 06 / PRIVATE · FUNCTIONAL ITERATION · v0.0.5
Legal Fact Extractor
Turn legal documents into a reviewable fact layer.
A reusable processing component that transforms Slovenian legal text into source-linked candidate assertions and directives. It can operate as a standalone extraction module and is intended for later adaptation within Open WebUI, OLC Legal Workspace and other controlled legal workflows.
Extracted items remain review candidates. They are not automatically accepted as facts or promoted into matter memory.
- Status
- PRIVATE · INCUBATION
- Version
- 0.0.5
- Licence
- NOT YET DECIDED
- Record checked
- 2026-08-19
- 01
Source-linked
Accepted candidates retain exact, inspectable evidence spans.
- 02
Role-aware
Allegations, denials, findings and operative orders remain distinct.
- 03
Fail-closed
Ambiguous or contract-breaking output is quarantined, not guessed.
- 04
Reusable core
Standalone now; adaptable workflow connections remain planned.
01 / ROLE
A reusable transformationbetween documents and legal work.
Legal documents carry allegations, denials, findings, events, dates, directives and references inside narrative text. The extractor creates an addressable candidate layer over that source without replacing it.
becomes machine-usable text
becomes source-linked candidate records
may become durable matter context
The document remains the source. The fact layer makes its candidate propositions addressable.
Structure the facts before the legal system reasons over them.
02 / MODULE
One bounded component.More than one possible host.
The standalone extraction path exists today. Interface and workflow connections express the component's intended architecture; they are not released integrations.
legal text → candidate fact records
Standalone extraction
One UTF-8 text input becomes one reviewable, validated JSON candidate bundle.
Open WebUI
Connect extraction to the document-upload path after an explicit integration contract.
OLC Legal Workspace
Adapt the component for a controlled document, review and matter workflow.
Other legal systems
Reuse or modify the extraction contract inside compatible frontend or backend processes.
Modular means adaptable, not universally compatible. Each host still requires an explicit input contract, review path, privacy boundary and integration decision.
03 / FACT LAYER
Structured enough to use.Linked closely enough to inspect.
The current baseline writes an immutable candidate bundle containing source identity, deterministic segments, exact spans, assertions, directives, quarantined items, coverage records and provider metrics.
ACCEPTED CANDIDATE
Locally valid and still awaiting substantive review.
- Schema
- Closed and versioned
- Evidence
- Exact and unique span
- Role
- Epistemic distinction retained
- Result
- Review candidate
QUARANTINED CANDIDATE
Preserved as an explicit failure, never silently repaired.
- Schema
- Unknown or missing field
- Evidence
- Missing, altered or non-unique quote
- Normalisation
- OCR-ambiguous numeric value
- Result
- Quarantined
04 / REVIEW
Extraction remains inspectable before it becomes system context.
The extraction contract controls structure and grounding. It does not decide whether an assertion is true, what evidential weight it carries or what legal consequence follows.
Propose candidate records.
Assertions, directives, roles and exact evidence spans remain linked.
Enforce the local contract.
Schema, permitted values, source alignment and ambiguity are checked fail-closed.
Control what moves forward.
Applicable human or workflow review determines whether a candidate may become system context.
Extraction is not fact-finding. Grounding is not truth. Schema validity is not factual verification.A candidate fact belongs in matter memory only after the applicable review step.
REVIEW SURFACE / HTML VALIDATOR
A functional review surface exists. A verified walkthrough and screenshots will be added as separate evidence after the interface and its exact operations are documented.
05 / READINESS
The module works.The workflow boundary is still open.
The component remains private while its reusable contract, document-upload integration path, review workflow, privacy boundary and relationship to structured matter memory are designed and validated.
- Functional extraction core
- EXISTS
- Standalone contract
- FIRST ITERATION
- Review surface
- EXISTS · EVIDENCE TO FOLLOW
- Workflow integration
- NOT YET CONNECTED
- Open WebUI document upload
- PLANNED
- OLC Legal Workspace
- PLANNED
- Matter-memory path
- DESIGN DIRECTION
- Repository
- TRANSFER TO OLC PENDING
- Access
- PRIVATE
- Licence
- NOT YET DECIDED