NTO/Integration: Bardioc Connector Framework 2.0 schema#777
Merged
CalvinSpolwindAlmato merged 1 commit intoJun 26, 2026
Merged
Conversation
boosc
added a commit
to boosc/OGIT
that referenced
this pull request
Jun 10, 2026
…review) Addresses Cy's PR-almatoai#777 review: too much was newly defined in NTO/Integration instead of reusing existing OGIT types, and several attributes were named/described so as to preclude reuse (the "ontology island" anti-pattern). - Rename all attributes snake_case -> OGIT camelCase (snake_case existed in none of the 875 attributes outside this namespace). - Reuse 16 generic attributes from base ogit:/SGO instead of redefining: createdAt, startedAt, endedAt, reviewedAt, finishedAt, confidence, description, version, rank, reason, validFrom, validTo, revision, author, reviewedBy, sourceId. - Collapse 5 verbs onto base verbs: ranOn->ogit:runsOn, reviewedRule->ogit:reviews, usesConfig+usesScoreModel->ogit:uses, belongsTo->ogit:isPartOf. - Unify the five vertex references onto a ...VertexXid suffix: lockedVertexXid, affectedVertexXid, sourceVertexXid, targetVertexXid, candidateVertexXid. - Strike two denormalised-cache attributes (canonical_value_set_ref, conflict_score_model_ref) in favour of their edges; keep targetInstanceId (SignalEntity hot-path). - Keep enum-bearing status/type attributes (own validation-parameter) and framework-specific parameters; keep the six declares* verbs. Schema: 27 entities / 167 attributes / 32 verbs (was 27 / 188 / 37). Fixed-value enums keep ogit:validation-parameter; dcterms:creator "Almato AG" throughout. rdflib parse + cross-ref clean locally. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
boosc
added a commit
to boosc/OGIT
that referenced
this pull request
Jun 10, 2026
…review) Addresses Cy's PR-almatoai#777 review: too much was newly defined in NTO/Integration instead of reusing existing OGIT types, and several attributes were named/described so as to preclude reuse (the "ontology island" anti-pattern). - Rename all attributes snake_case -> OGIT camelCase (snake_case existed in none of the 875 attributes outside this namespace). - Remove 19 local attribute definitions by reusing 16 distinct base ogit:/SGO attributes: createdAt, startedAt, endedAt, reviewedAt, finishedAt, confidence, description, version, rank, reason, validFrom, validTo, revision, author, reviewedBy, sourceId. Three targets absorb two former locals each (reason <- failure/signal_reason; revision <- adjudicated/reviewed_revision; version <- blueprint_version/version_label), each pair on disjoint entities, so no entity declares a target twice. - Remove 5 local verbs by reusing 4 base verbs: ranOn->ogit:runsOn, reviewedRule->ogit:reviews, usesConfig + usesScoreModel->ogit:uses (per-entity allowed-block targets differ, the standard OGIT pattern), belongsTo->ogit:isPartOf. - Unify the five vertex references onto a ...VertexXid suffix: lockedVertexXid, affectedVertexXid, sourceVertexXid, targetVertexXid, candidateVertexXid. - Strike two denormalised-cache attributes (canonical_value_set_ref, conflict_score_model_ref) in favour of their edges; keep targetInstanceId (SignalEntity hot-path). The source_record_id [PII-CONDITIONAL] discipline is recorded on its host entities (SchemaDriftCandidate, IdentityCandidate) since the reused base ogit:sourceId cannot carry the marker. - Keep enum-bearing status/type attributes (own validation-parameter) and framework-specific parameters; keep the six declares* verbs. Schema: 27 entities / 167 attributes / 32 verbs (was 27 / 188 / 37). Fixed-value enums keep ogit:validation-parameter; dcterms:creator "Almato AG" throughout. rdflib parse + cross-ref clean locally. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
26fbc44 to
05f0f5f
Compare
Adds the NTO/Integration namespace: connector blueprints and their deployment-time instances, the immutable run history, the mapping / netting / conflict / weaving / action rule entities, the authority chain, and the multi-team governance signatures. The Decisions/ sub-namespace separates PII-bearing decision/lifecycle vertices (Decisions/PII/, the Right-to-Erasure target) from survive-erasure audit records (Decisions/Audit/). Although developed for the Bardioc Connector Framework 2.0, the entities are modelled as a general OGIT vocabulary for data-integration paths. Additive only.
a532ad4 to
62d5b35
Compare
CalvinSpolwindAlmato
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NTO/Integration -- Bardioc Connector Framework 2.0 schema
Summary
Adds the new top-level
NTO/Integration/namespace to OGIT. It is theschema substrate for the Bardioc Connector Framework 2.0: the four
in-graph rule registries (Mapping, Netting, Conflict-Resolution,
Weaving) plus the Connector / ConnectorInstance / ConnectorRun
lifecycle entities, the provenance and audit vocabulary, the conflict
and identity-reconciliation decision records, and the Action concept.
The change is purely additive and isolated: all 257 changed files live
under
NTO/Integration/, nothing outside it is touched, and there areno deletions.
Scope
Decisions/PII+ 3Decisions/Audit)Decisions/,Decisions/PII/,Decisions/Audit/)What it models
MappingRule,NettingPolicy,ConflictResolutionRule,WeavingRule-- the four registries aregraph entities, not config files.
Connector(blueprint),ConnectorInstance(deployed configuration,
operatesIn -> ogit:DataScope),ConnectorRun(immutable-after-start, withended_atas the singleallowed post-create mutation per PLAN D28),
ConnectorRunConfigSnapshot(run-invariant rule set).
Authority(8-field provenancetuple, D24),
Conflict,IdentityCandidate/IdentityCandidateOption,MergeJob,SplitJob,ConflictScoreModel(service-managed scoring,D23),
Adjudicator.ActionPolicy,ActionInvocation.Decisions/PII/holds the sevenright-to-erasure target entities;
Decisions/Audit/holds the threeaudit-forever entities (
ActionInvocation,SchemaDriftCandidate,ValueDriftCandidate). The split keeps GDPR Art. 17 erasure targetsdisjoint from audit-forever records.
Notable design points
initiatedBysplit intoinitiatedByActor+initiatedByRun(concrete edge targets; the validator rejectsogit:Entityas an edge target).ConflictLockcarries a[DEPRECATED-ON-F9-LANDING]note -- it is aPhase-B-only construct, superseded once platform-level optimistic
concurrency control lands.
credentials_refregex restricted tovault/aws-sm/gcp-sm/azure-kv/k8s-secretschemes; HTTP(S) is rejected.attribute descriptions:
[PII-CONDITIONAL],[PII-PSEUDONYMISED-REQUIRED],[PII-BEARING],[PII-RESTRICTED],[PII-FORBIDDEN],[NULLED-ON-TERMINAL-STATE],[OPERATOR-IAM-REF],[SECRET-REF],[DENORMALISED-CACHE], plus transient[LEGAL-REVIEW-PENDING]and[RBAC-ENFORCEMENT-PENDING-KC-PR].OGIT-convention compliance
dcterms:creator "Almato AG"on every one of the 253 TTL files(post arago-Almato merger discipline; no individual creator strings).
ogit:validation-type "fixed"ogit:validation-parameter "<csv>"(35 fixed attributes, all witha parameter; open-range attributes intentionally omit it).
NTO/Authconvention: one at the NTO root and oneper named sub-group, none in the
attributes/entities/verbsleafdirectories.
Validation
Local validation (the Java validator has a known Windows path bug;
rdflib-parse + a cross-reference check is the established local
alternative per the project QS checklist):
0 orphan attribute files, 0 orphan verb files, 0 missing
Integration:targets, 0 unknownogit:refs.The authoritative OGIT validator (
bin/ogit-validator.jar) runs atPR-merge-time CI; it can be run pre-merge under Docker
(
eclipse-temurin:11-jre) per the directory-mode-not-recursivediscipline (enumerate every
.ttl, do not pass the directory).QS history
Six formal QS rounds plus a three-turn Opus-4.6 Dialog-QS. The Dialog-QS
converged on Turn 3 to 4/4/4/4 across Konsistenz / Funktionalitaet /
Sicherheit / Toter Code, which meets the two-model gate criterion.
One structural limitation is documented rather than schema-fixed: OGIT
today has no sensitivity vocabulary (
ogit:sensitive,ogit:pii-bearing,ogit:access-classification). Every PII / RBACcontract in this PR is therefore framework-boundary-enforced, expressed
via the marker prefixes above and the "Framework-boundary contracts"
block (companion concept doc Section 6.2) with a residual-risk
acknowledgment. Moving these contracts from framework-boundary
enforcement to schema enforcement requires a separate OGIT
vocabulary-extension PR (listed under Follow-ups).
Follow-ups (not in this PR)
contracts be schema-enforced instead of framework-boundary-enforced.
[PII-RESTRICTED]attributes (
subject_identifier). Opens after this PR merges;production use of
SubjectRequestis blocked until it lands.assigned_reviewer_idclassification(currently
[LEGAL-REVIEW-PENDING]).Test plan
bin/ogit-validator.jarover the fullNTO/Integration/tree(enumerated file list, not directory mode) -- expected 0 errors.
NTO/Integration/classes cleanly.
NTO/Integration/namespace.BAR (Cy / Jens Bartsch); extended round: Andi, Pedro,
OGIT maintainers.
Companion documents
Concept and architecture specification (Almato-internal, not part of
this PR): Bardioc Connector Framework 2.0 Overview, Multi-Source
Identity v2, Netting, Mapping DSL, OGIT Extensions (
11_ogit_extensions.md,document changelog v1.0 -> v1.3).