Skip to content

fix(metadata): accept parent-relative origin paths in every port - #700

Merged
dmealing merged 6 commits into
mainfrom
fm/mo-140-origin-dotted
Dec 3, 2026
Merged

dmealing merged 6 commits into
mainfrom
fm/mo-140-origin-dotted

Conversation

@dmealing

@dmealing dmealing commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

What Changed

  • Origin @from, @of and @via values written ..::Entity.field now load in the TypeScript, C#, Java (and Kotlin), Python and Rust loaders. Each splits at the first . after the last :: (ADR-0059 §2 and §4) and resolves like the qualified pkg::Entity.field form. Before, these failed with ERR_INVALID_ORIGIN.
  • A ..:: origin that climbs above the root package now fails with ERR_BAD_ATTR_VALUE, the code other references use for that case.
  • Java (and Kotlin) now refuses a trailing-dot @via with ERR_INVALID_ORIGIN and reports one error per broken origin instead of only the first.
  • Adds conformance fixtures: origin-parent-relative-refs (loads to the same model as its pkg:: twin), plus error fixtures for unresolved, wrong-kind, over-drop and trailing-dot origins. Also adds a changelog fragment and updates docs and the Rust expected-failures list.
Validation

Risk Assessment

✅ Low: The change is a bounded fix that splits origin paths at the ADR-0059 owner boundary and reports over-drops consistently in the TypeScript, C#, Java, Python and Rust loaders; the round 1 lint revert matches the recorded decision, and I found no material defect in the paths I traced (tests were not run in this phase).

Testing

The baseline scripts/ci-local.sh --affected --strict-toolchains had already passed at this commit and was not repeated. I drove the real loaders of all five ports, plus the Kotlin facade, on disposable synthetic models: the valid ..:: model loads everywhere and gives byte-identical TypeScript view SQL to its pkg:: twin (SQL and generated output of other ports were not compared in this round). Over-climbing paths fail with ERR_BAD_ATTR_VALUE; unresolved, malformed and trailing-dot paths fail with ERR_INVALID_ORIGIN, including in Java and Kotlin. Two broken origins yield two errors in the TypeScript, Java, Python, C# and Rust loaders, although meta schema prints only the first. This is a loader change with no UI, so the evidence is CLI and loader transcripts. Scratch files were removed and the worktree is clean. Earlier-round files in the evidence directory (without the r2 marker in their names) describe the state before the trailing-dot fix.

  • Live validation: ✅ go - 3 of 3 scenarios driven live against the product
Scenario Result Live Evidence
A model author writes origin @from, @Of and @via as parent-relative ..::Entity.field (including a multi-hop path), and it loads like the qualified pkg:: form in TypeScript, Python, C#, Rust, Java… ✅ pass live r2-loader-matrix.txt: the relative and qualified cases load clean on all six surfaces; r2-relative-schema.sql: TypeScript view SQL is byte-identical between the two
Adversarial: paths that climb above the root, bind a nearer decoy package, name an unknown field or hop, or are malformed are refused with the same code in every port (local, synthetic models) ✅ pass live r2-loader-matrix.txt: the four overdrop cases give ERR_BAD_ATTR_VALUE; decoy-nearer, unknown-field, unknown-hop, no-field, no-owner, bare-dotdot, via-no-hop and trailing-dot (@from) give ERR_INVALID_O…
Adversarial: a trailing-dot or empty-hop @via (..:: and pkg::, on passthrough and aggregate) is refused with ERR_INVALID_ORIGIN in every port including Java and Kotlin, and two broken origins are… ✅ pass live r2-loader-matrix.txt: via-trailing-dot, via-trailing-dot-qualified, passvia-trailing-dot, passvia-trailing-dot-qualified, via-double-trailing-dot and via-empty-mid-hop are refused on all six surfaces;…
Evidence: Per-case loader results at the target commit: TypeScript, Python, C#, Rust, Java and Kotlin
# Round 2 at 3691fe2281: loader result per case and port (synthetic fixtures, gen-fixtures-r2.py)
## TypeScript (meta schema), Python (metaobjects verify --templates), C# (dotnet meta verify --templates), Rust (cargo meta verify --templates)
bare-dotdot                      ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
bare-dotdot                      py    exit=1 codes=ERR_INVALID_ORIGIN x1 
bare-dotdot                      cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
bare-dotdot                      rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
decoy-nearer                     ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
decoy-nearer                     py    exit=1 codes=ERR_INVALID_ORIGIN x1 
decoy-nearer                     cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
decoy-nearer                     rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
fixture-trailing-dot             ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
fixture-trailing-dot             py    exit=1 codes=ERR_INVALID_ORIGIN x2 
fixture-trailing-dot             cs    exit=1 codes=ERR_INVALID_ORIGIN x2 
fixture-trailing-dot             rust  exit=1 codes=ERR_INVALID_ORIGIN x2 
no-field                         ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
no-field                         py    exit=1 codes=ERR_INVALID_ORIGIN x1 
no-field                         cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
no-field                         rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
no-owner                         ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
no-owner                         py    exit=1 codes=ERR_INVALID_ORIGIN x1 
no-owner                         cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
no-owner                         rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
overdrop-from                    ts    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-from                    py    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-from                    cs    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-from                    rust  exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-of                      ts    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-of                      py    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-of                      cs    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-of                      rust  exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-passvia                 ts    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-passvia                 py    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-passvia                 cs    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-passvia                 rust  exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-via                     ts    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-via                     py    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-via                     cs    exit=1 codes=ERR_BAD_ATTR_VALUE x1 
overdrop-via                     rust  exit=1 codes=ERR_BAD_ATTR_VALUE x1 
passvia-trailing-dot             ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
passvia-trailing-dot             py    exit=1 codes=ERR_INVALID_ORIGIN x1 
passvia-trailing-dot             cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
passvia-trailing-dot             rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
passvia-trailing-dot-qualified   ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
passvia-trailing-dot-qualified   py    exit=1 codes=ERR_INVALID_ORIGIN x1 
passvia-trailing-dot-qualified   cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
passvia-trailing-dot-qualified   rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
qualified                        ts    exit=0 codes=
qualified                        py    exit=0 codes=
qualified                        cs    exit=0 codes=
qualified                        rust  exit=0 codes=
relative                         ts    exit=0 codes=
relative                         py    exit=0 codes=
relative                         cs    exit=0 codes=
relative                         rust  exit=0 codes=
trailing-dot                     ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
trailing-dot                     py    exit=1 codes=ERR_INVALID_ORIGIN x1 
trailing-dot                     cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
trailing-dot                     rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
two-broken                       ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
two-broken                       py    exit=1 codes=ERR_INVALID_ORIGIN x2 
two-broken                       cs    exit=1 codes=ERR_INVALID_ORIGIN x2 
two-broken                       rust  exit=1 codes=ERR_INVALID_ORIGIN x2 
unknown-field                    ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
unknown-field                    py    exit=1 codes=ERR_INVALID_ORIGIN x1 
unknown-field                    cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
unknown-field                    rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
unknown-hop                      ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
unknown-hop                      py    exit=1 codes=ERR_INVALID_ORIGIN x1 
unknown-hop                      cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
unknown-hop                      rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
via-double-trailing-dot          ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-double-trailing-dot          py    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-double-trailing-dot          cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-double-trailing-dot          rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
via-empty-mid-hop                ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-empty-mid-hop                py    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-empty-mid-hop                cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-empty-mid-hop                rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
via-no-hop                       ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-no-hop                       py    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-no-hop                       cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-no-hop                       rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot                 ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot                 py    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot                 cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot                 rust  exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot-qualified       ts    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot-qualified       py    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot-qualified       cs    exit=1 codes=ERR_INVALID_ORIGIN x1 
via-trailing-dot-qualified       rust  exit=1 codes=ERR_INVALID_ORIGIN x1 

## Java (MetaDataLoader.fromDirectory) and Kotlin (metadata-ktx loadDirectory)
bare-dotdot
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::" on acme::shop::views::WeekSummary.programTitle: must be of form "Entity.field".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::" on acme::shop::views::WeekSummary.programTitle: must be of form "Entity.field".
decoy-nearer
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::Program.title" on acme::shop::views::WeekSummary.programTitle: no such field "title" on ..::Program.
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::Program.title" on acme::shop::views::WeekSummary.programTitle: no such field "title" on ..::Program.
no-field
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program" on acme::shop::views::WeekSummary.programTitle: must be of form "Entity.field".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program" on acme::shop::views::WeekSummary.programTitle: must be of form "Entity.field".
no-owner
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::.title" on acme::shop::views::WeekSummary.programTitle: no such entity "..::..::".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::.title" on acme::shop::views::WeekSummary.programTitle: no such entity "..::..::".
overdrop-from
  java   THREW ERR_BAD_ATTR_VALUE: origin.passthrough.@from "..::..::..::..::Program.title" on acme::shop::views::WeekSummary.programTitle: "..::..::..::..::Program" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
  kotlin THREW ERR_BAD_ATTR_VALUE: origin.passthrough.@from "..::..::..::..::Program.title" on acme::shop::views::WeekSummary.programTitle: "..::..::..::..::Program" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
overdrop-of
  java   THREW ERR_BAD_ATTR_VALUE: origin.aggregate.@of "..::..::..::..::Day.id" on acme::shop::views::WeekSummary.dayCount: "..::..::..::..::Day" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
  kotlin THREW ERR_BAD_ATTR_VALUE: origin.aggregate.@of "..::..::..::..::Day.id" on acme::shop::views::WeekSummary.dayCount: "..::..::..::..::Day" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
overdrop-passvia
  java   THREW ERR_BAD_ATTR_VALUE: origin.@via "..::..::..::..::Week.owner" on acme::shop::views::WeekSummary.programTitle: "..::..::..::..::Week" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
  kotlin THREW ERR_BAD_ATTR_VALUE: origin.@via "..::..::..::..::Week.owner" on acme::shop::views::WeekSummary.programTitle: "..::..::..::..::Week" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
overdrop-via
  java   THREW ERR_BAD_ATTR_VALUE: origin.@via "..::..::..::..::Week.days" on acme::shop::views::WeekSummary.dayCount: "..::..::..::..::Week" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
  kotlin THREW ERR_BAD_ATTR_VALUE: origin.@via "..::..::..::..::Week.days" on acme::shop::views::WeekSummary.dayCount: "..::..::..::..::Week" climbs above the root package - each "..::" drops one segment of the package "acme::shop::views".
passvia-trailing-dot
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.owner." on acme::shop::views::WeekSummary.programTitle: no such relationship or reference "" on acme::Program. Deepest valid prefix was "..::..::Week.owner".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.owner." on acme::shop::views::WeekSummary.programTitle: no such relationship or reference "" on acme::Program. Deepest valid prefix was "..::..::Week.owner".
passvia-trailing-dot-qualified
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week.owner." on acme::shop::views::WeekSummary.programTitle: no such relationship or reference "" on acme::Program. Deepest valid prefix was "acme::Week.owner".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week.owner." on acme::shop::views::WeekSummary.programTitle: no such relationship or reference "" on acme::Program. Deepest valid prefix was "acme::Week.owner".
qualified
  java   LOADED OK objects=6
  kotlin LOADED OK objects=6
relative
  java   LOADED OK objects=6
  kotlin LOADED OK objects=6
trailing-dot
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program." on acme::shop::views::WeekSummary.programTitle: must be of form "Entity.field".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program." on acme::shop::views::WeekSummary.programTitle: must be of form "Entity.field".
two-broken
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "acme::Week.days".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "acme::Week.days".
unknown-field
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program.nope" on acme::shop::views::WeekSummary.programTitle: no such field "nope" on ..::..::Program.
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program.nope" on acme::shop::views::WeekSummary.programTitle: no such field "nope" on ..::..::Program.
unknown-hop
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.nope" on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "nope" on acme::Day. Deepest valid prefix was "..::..::Week.days".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.nope" on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "nope" on acme::Day. Deepest valid prefix was "..::..::Week.days".
via-double-trailing-dot
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "..::..::Week.days".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "..::..::Week.days".
via-empty-mid-hop
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week..days" on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Week. Deepest valid prefix was "acme::Week".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week..days" on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Week. Deepest valid prefix was "acme::Week".
via-no-hop
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week" on acme::shop::views::WeekSummary.dayCount: must be of form "Entity.relationship[.relationship...]".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week" on acme::shop::views::WeekSummary.dayCount: must be of form "Entity.relationship[.relationship...]".
via-trailing-dot
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "..::..::Week.days".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "..::..::Week.days".
via-trailing-dot-qualified
  java   THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "acme::Week.days".
  kotlin THREW ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "acme::Week.days".
Evidence: CLI transcripts with error messages, and full error lists for the two-broken-origins models
# Full loader error lists, two broken origins in one model
# two-broken java loader
2 error(s)
  ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.owner." on acme::shop::views::WeekSummary.programTitle: no such relationship or reference "" on acme::Program. Deepest valid prefix was "..::..::Week.owner".
  ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day. Deepest valid prefix was "acme::Week.days".
# fixture-trailing-dot java loader
2 error(s)
  ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "..::Program.weeks." on acme::shop::ProgramSummary.weekCount: no such relationship or reference "" on acme::Week. Deepest valid prefix was "..::Program.weeks".
  ERR_INVALID_ORIGIN: ERR_INVALID_ORIGIN: origin.@via "acme::Program.weeks." on acme::shop::ProgramSummary.qualifiedWeekCount: no such relationship or reference "" on acme::Week. Deepest valid prefix was "acme::Program.weeks".

# CLI transcripts
== bare-dotdot ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::" on WeekSummary.programTitle: must be of form "Entity.field".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[3]['field.string'].children[0]['origin.passthrough']
== bare-dotdot py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'programTitle' origin.passthrough @from='..::' must be in 'EntityName.fieldName' format
== bare-dotdot cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== bare-dotdot rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.passthrough.@from "..::" on WeekSummary.programTitle: must be of form "Entity.field".
== decoy-nearer ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::Program.title" on WeekSummary.programTitle: no such field "title" on ..::Program.
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[3]['field.string'].children[0]['origin.passthrough']
== decoy-nearer py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'programTitle' origin.passthrough @from='..::Program.title' references field 'title' which does not exist on entity '..::Program' (known fields: ['id', 'other'])
== decoy-nearer cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== decoy-nearer rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.passthrough.@from "..::Program.title" on WeekSummary.programTitle: no such field "title" on ..::Program.
== fixture-trailing-dot ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.@via "..::Program.weeks." on ProgramSummary.weekCount: no such relationship or reference "" on Week. Deepest valid prefix was "..::Program.weeks".
  in meta.shop.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== fixture-trailing-dot py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'weekCount' origin.aggregate @via='..::Program.weeks.' — entity 'Week' has no relationship or reference '' (known relationships: []). Deepest valid prefix was "..::Program.weeks".
  ErrorCode.ERR_INVALID_ORIGIN: field 'qualifiedWeekCount' origin.aggregate @via='acme::Program.weeks.' — entity 'Week' has no relationship or reference '' (known relationships: []). Deepest valid prefix was "acme::Program.weeks".
== fixture-trailing-dot cs exit=1
  load error: ERR_INVALID_ORIGIN
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== fixture-trailing-dot rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "..::Program.weeks." on ProgramSummary.weekCount: no such relationship or reference "" on Week. Deepest valid prefix was "..::Program.weeks".
ERR_INVALID_ORIGIN: origin.@via "acme::Program.weeks." on ProgramSummary.qualifiedWeekCount: no such relationship or reference "" on Week. Deepest valid prefix was "acme::Program.weeks".
== no-field ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program" on WeekSummary.programTitle: must be of form "Entity.field".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[3]['field.string'].children[0]['origin.passthrough']
== no-field py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'programTitle' origin.passthrough @from='..::..::Program' must be in 'EntityName.fieldName' format
== no-field cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== no-field rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program" on WeekSummary.programTitle: must be of form "Entity.field".
== no-owner ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::.title" on WeekSummary.programTitle: no such entity "..::..::".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[3]['field.string'].children[0]['origin.passthrough']
== no-owner py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'programTitle' origin.passthrough @from='..::..::.title' references unknown entity '..::..::'
== no-owner cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== no-owner rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::.title" on WeekSummary.programTitle: no such entity "..::..::".
== overdrop-from ts exit=1
meta: schema: failed to load metadata: ERR_BAD_ATTR_VALUE: origin.passthrough.@from "..::..::..::..::Program.title" on WeekSummary.programTitle: "..::..::..::..::Program" climbs above the root package — each "..::" drops one segment of the package "acme::shop::views".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[3]['field.string'].children[0]['origin.passthrough']
== overdrop-from py exit=1
error: failed to load metadata:
  ErrorCode.ERR_BAD_ATTR_VALUE: field 'programTitle' origin.passthrough @from='..::..::..::..::Program.title': "..::..::..::..::Program" climbs above the root package — each "..::" drops one segment of the package "acme::shop::views".
== overdrop-from cs exit=1
  load error: ERR_BAD_ATTR_VALUE
dotnet meta verify --templates: FAILED
== overdrop-from rust exit=1
cargo meta verify failed:
ERR_BAD_ATTR_VALUE: origin.passthrough.@from "..::..::..::..::Program.title" on WeekSummary.programTitle: "..::..::..::..::Program" climbs above the root package; each "..::" drops one segment of the package "acme::shop::views".
== overdrop-of ts exit=1
meta: schema: failed to load metadata: ERR_BAD_ATTR_VALUE: origin.aggregate.@of "..::..::..::..::Day.id" on WeekSummary.dayCount: "..::..::..::..::Day" climbs above the root package — each "..::" drops one segment of the package "acme::shop::views".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== overdrop-of py exit=1
error: failed to load metadata:
  ErrorCode.ERR_BAD_ATTR_VALUE: field 'dayCount' origin.aggregate @of='..::..::..::..::Day.id': "..::..::..::..::Day" climbs above the root package — each "..::" drops one segment of the package "acme::shop::views".
== overdrop-of cs exit=1
  load error: ERR_BAD_ATTR_VALUE
dotnet meta verify --templates: FAILED
== overdrop-of rust exit=1
cargo meta verify failed:
ERR_BAD_ATTR_VALUE: origin.aggregate.@of "..::..::..::..::Day.id" on WeekSummary.dayCount: "..::..::..::..::Day" climbs above the root package; each "..::" drops one segment of the package "acme::shop::views".
== overdrop-passvia ts exit=1
meta: schema: failed to load metadata: ERR_BAD_ATTR_VALUE: origin.@via "..::..::..::..::Week.owner" on WeekSummary.programTitle: "..::..::..::..::Week" climbs above the root package — each "..::" drops one segment of the package "acme::shop::views".
  in meta.views.json at $['metadata.root'].children[0]['object.p

... [9920 bytes truncated] ...

rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "..::..::Week.owner." on WeekSummary.programTitle: no such relationship or reference "" on Program. Deepest valid prefix was "..::..::Week.owner".
ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "acme::Week.days".
== unknown-field ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program.nope" on WeekSummary.programTitle: no such field "nope" on ..::..::Program.
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[3]['field.string'].children[0]['origin.passthrough']
== unknown-field py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'programTitle' origin.passthrough @from='..::..::Program.nope' references field 'nope' which does not exist on entity '..::..::Program' (known fields: ['id', 'title'])
== unknown-field cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== unknown-field rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.passthrough.@from "..::..::Program.nope" on WeekSummary.programTitle: no such field "nope" on ..::..::Program.
== unknown-hop ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.nope" on WeekSummary.dayCount: no such relationship or reference "nope" on Day. Deepest valid prefix was "..::..::Week.days".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== unknown-hop py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'dayCount' origin.aggregate @via='..::..::Week.days.nope' — entity 'Day' has no relationship or reference 'nope' (known relationships: []). Deepest valid prefix was "..::..::Week.days".
== unknown-hop cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== unknown-hop rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.nope" on WeekSummary.dayCount: no such relationship or reference "nope" on Day. Deepest valid prefix was "..::..::Week.days".
== via-double-trailing-dot ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "..::..::Week.days".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== via-double-trailing-dot py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'dayCount' origin.aggregate @via='..::..::Week.days..' — entity 'Day' has no relationship or reference '' (known relationships: []). Deepest valid prefix was "..::..::Week.days".
== via-double-trailing-dot cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== via-double-trailing-dot rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days.." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "..::..::Week.days".
== via-empty-mid-hop ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.@via "acme::Week..days" on WeekSummary.dayCount: no such relationship or reference "" on Week. Deepest valid prefix was "acme::Week". The reverse hops from Week are: "days" (walks Day.week backwards) — a reverse hop is named by the holder's collection name (its @collectionName, else the plural), first letter lowercased.
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== via-empty-mid-hop py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'dayCount' origin.aggregate @via='acme::Week..days' — entity 'Week' has no relationship or reference '' (known relationships: ['days', 'owner']). Deepest valid prefix was "acme::Week".
== via-empty-mid-hop cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== via-empty-mid-hop rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "acme::Week..days" on WeekSummary.dayCount: no such relationship or reference "" on Week. Deepest valid prefix was "acme::Week".
== via-no-hop ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.@via "..::..::Week" on WeekSummary.dayCount: must be of form "Entity.relationship[.relationship...]".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== via-no-hop py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'dayCount' origin.aggregate @via='..::..::Week' must be in 'EntityName.relName[.relName...]' format
== via-no-hop cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== via-no-hop rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "..::..::Week" on WeekSummary.dayCount: must be of form "Entity.relationship[.relationship...]".
== via-trailing-dot ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "..::..::Week.days".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== via-trailing-dot py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'dayCount' origin.aggregate @via='..::..::Week.days.' — entity 'Day' has no relationship or reference '' (known relationships: []). Deepest valid prefix was "..::..::Week.days".
== via-trailing-dot cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== via-trailing-dot rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "..::..::Week.days." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "..::..::Week.days".
== via-trailing-dot-qualified ts exit=1
meta: schema: failed to load metadata: ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "acme::Week.days".
  in meta.views.json at $['metadata.root'].children[0]['object.projection'].children[4]['field.long'].children[0]['origin.aggregate']
== via-trailing-dot-qualified py exit=1
error: failed to load metadata:
  ErrorCode.ERR_INVALID_ORIGIN: field 'dayCount' origin.aggregate @via='acme::Week.days.' — entity 'Day' has no relationship or reference '' (known relationships: []). Deepest valid prefix was "acme::Week.days".
== via-trailing-dot-qualified cs exit=1
  load error: ERR_INVALID_ORIGIN
dotnet meta verify --templates: FAILED
== via-trailing-dot-qualified rust exit=1
cargo meta verify failed:
ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "acme::Week.days".


# TypeScript MetaDataLoader.fromDirectory: full error list
## two-broken
2 error(s)
  ERR_INVALID_ORIGIN: origin.@via "..::..::Week.owner." on WeekSummary.programTitle: no such relationship or reference "" on Program. Deepest valid prefix was "..::..::Week.owner". The reverse hops from Program are: "weeks" (walks Week.program backwards) — a
  ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on WeekSummary.dayCount: no such relationship or reference "" on Day. Deepest valid prefix was "acme::Week.days".
## fixture-trailing-dot
2 error(s)
  ERR_INVALID_ORIGIN: origin.@via "..::Program.weeks." on ProgramSummary.weekCount: no such relationship or reference "" on Week. Deepest valid prefix was "..::Program.weeks".
  ERR_INVALID_ORIGIN: origin.@via "acme::Program.weeks." on ProgramSummary.qualifiedWeekCount: no such relationship or reference "" on Week. Deepest valid prefix was "acme::Program.weeks".
## qualified
0 error(s)
## relative
0 error(s)
Evidence: Trailing-dot @via, Java and Kotlin after the fix
via-trailing-dot-qualified
java THREW ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." on acme::shop::views::WeekSummary.dayCount: no such relationship or reference "" on acme::Day.
kotlin THREW ERR_INVALID_ORIGIN: (same message)
two-broken (Java loader, full list)
2 error(s)
ERR_INVALID_ORIGIN: origin.@via "..::..::Week.owner." ... WeekSummary.programTitle
ERR_INVALID_ORIGIN: origin.@via "acme::Week.days." ... WeekSummary.dayCount
  • Outcome: 🔧 1 issue found → auto-fixed ✅ across 2 runs (23m4s)

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 2 issues (1 warning, 1 info)
  • ⚠️ server/typescript/packages/cli/src/lib/deprecation-lint.ts:152 - Simplification: the new split logic in both deprecated-reference lints is not needed. Sites: deprecation-lint.ts:150-154 (headOf) and :224-225 (checkViaPath, which also rebuilds _splitViaPath inline), DeprecationLint.cs:105-109 (HeadOf) and :140 (CheckVia). The lints read the loaded model, and resolveReferences / ResolveReferences.Run has already rewritten every resolvable ..::Entity.member to its pkg:: form. An unresolved one is a load error, and C# ModelLints runs this lint only when there are no load errors. So the old first-dot split never sees a resolvable ..:: value. The new tests (deprecation-lint.test.ts:456, DeprecationLintParentRelativeTests.cs) would also pass with the old lint code, so they do not cover these edits. The intent listed HeadOf/CheckVia only as "not probed". Recommended remedy: revert the lint edits, drop the two tests or keep them only as end-to-end loader coverage, and remove the sentence "The TypeScript and C# deprecated-reference lints split the same way" from changelog.d/origin-parent-relative-paths.md:6. NamingRefs.SplitViaPath stays, because the C# loader uses it.
  • ℹ️ server/csharp/MetaObjects/Loader/ValidationPasses.cs:1146 - Fixed inline: ReportOverDrop had been inserted between ValidateFromPath's doc comment and its declaration, so the two comments merged onto the wrong method. Moved the ValidateFromPath comment back above ValidateFromPath. No code changed.

🔧 Fix applied.
2 issues (1 warning, 1 info) still open:

  • ⚠️ server/typescript/packages/cli/src/lib/deprecation-lint.ts:152 - Simplification: the new split logic in both deprecated-reference lints is not needed. Sites: deprecation-lint.ts:150-154 (headOf) and :224-225 (checkViaPath, which also rebuilds _splitViaPath inline), DeprecationLint.cs:105-109 (HeadOf) and :140 (CheckVia). The lints read the loaded model, and resolveReferences / ResolveReferences.Run has already rewritten every resolvable ..::Entity.member to its pkg:: form. An unresolved one is a load error, and C# ModelLints runs this lint only when there are no load errors. So the old first-dot split never sees a resolvable ..:: value. The new tests (deprecation-lint.test.ts:456, DeprecationLintParentRelativeTests.cs) would also pass with the old lint code, so they do not cover these edits. The intent listed HeadOf/CheckVia only as "not probed". Recommended remedy: revert the lint edits, drop the two tests or keep them only as end-to-end loader coverage, and remove the sentence "The TypeScript and C# deprecated-reference lints split the same way" from changelog.d/origin-parent-relative-paths.md:6. NamingRefs.SplitViaPath stays, because the C# loader uses it.
  • ℹ️ server/csharp/MetaObjects/Loader/ValidationPasses.cs:1146 - Fixed inline: ReportOverDrop had been inserted between ValidateFromPath's doc comment and its declaration, so the two comments merged onto the wrong method. Moved the ValidateFromPath comment back above ValidateFromPath. No code changed.
🔧 **Test** - 1 issue found → auto-fixed ✅
  • ⚠️ server/java/metadata/src/main/java/com/metaobjects/loader/ValidationPhase.java:5208 - Java (and so Kotlin, which shares the loader) loads an origin @via with a trailing dot, such as ..::..::Week.days. or acme::Week.days., while TypeScript, Python, C# and Rust refuse it (the ..:: form with ERR_INVALID_ORIGIN in all four; the qualified form was checked on TypeScript only). String.split drops trailing empty segments, both in the new splitViaPath and in the old viaAttr.split it replaced, so the leniency for the qualified form predates this change. The ..:: form now inherits it, which leaves the ports behaving differently on this malformed input. Proposed repair: split the hops with limit -1 in splitViaPath and add an error fixture. It is not applied because it would also stop Java loading the qualified form that loads today, which is a compatibility decision beyond this change.
  • Live validation: ✅ go - 3 of 3 scenarios driven live against the product
Scenario Result Live Evidence
A modeler writes origin @from/@of/@via as ..::..::Entity.member (including a two-hop @via, with a same-named decoy entity nearer) and it loads in TypeScript, Python, C#, Java and Rust, producing the… ✅ pass live five-port-matrix.txt (case relative has no error codes in any port); twin-comparison.txt (TypeScript view SQL, Rust and Python generated output identical)
A ..:: path in @from, @Of, aggregate @via or passthrough @via that climbs above the root package is refused with ERR_BAD_ATTR_VALUE in all five ports ✅ pass live five-port-matrix.txt (four overdrop-* cases); overdrop-messages.txt
Broken ..:: paths (unknown field, unknown hop, binding the nearer decoy, missing field, owner or hop, trailing dot in @from, bare ..::) are refused with ERR_INVALID_ORIGIN in all five ports; the t… ✅ pass live five-port-matrix.txt (cases unknown-field, unknown-hop, decoy-nearer, no-field, no-owner, via-no-hop, trailing-dot, bare-dotdot); java-trailing-dot.txt for the excluded @via trailing-dot case
  • scripts/ci-local.sh --affected --strict-toolchains
  • Baseline: broad regression came from the configured test command scripts/ci-local.sh --affected --strict-toolchains, which already ran and passed at the target commit. It was not re-run because no source or test files were changed in this turn.
  • Wrote a fresh multi-package model with the projection in acme::shop::views, two-level ..::..:: references, a two-hop @via, and a same-named decoy entity one package nearer, plus a pkg:: twin and 13 broken variants (gen-fixtures.py)
  • Loaded all 15 cases in five ports: TypeScript meta schema --dialect postgres, Python metaobjects verify --templates, C# dotnet meta verify --templates, Java MetaDataLoader.fromDirectory through a throwaway probe, Rust cargo meta verify
  • Compared ..:: and pkg:: output: TypeScript meta schema view SQL, Rust cargo meta gen, Python metaobjects gen with entity, names, filter-allowlist and routes (decoy package removed for Python)
  • Loaded the qualified acme::Week.days. trailing-dot variant in Java and TypeScript to see whether the Java leniency also affects the qualified form

🔧 Fix applied.
✅ Re-checked - no issues remain.

  • Live validation: ✅ go - 3 of 3 scenarios driven live against the product
Scenario Result Live Evidence
A model author writes origin @from, @Of and @via as parent-relative ..::Entity.field (including a multi-hop path), and it loads like the qualified pkg:: form in TypeScript, Python, C#, Rust, Java… ✅ pass live r2-loader-matrix.txt: the relative and qualified cases load clean on all six surfaces; r2-relative-schema.sql: TypeScript view SQL is byte-identical between the two
Adversarial: paths that climb above the root, bind a nearer decoy package, name an unknown field or hop, or are malformed are refused with the same code in every port (local, synthetic models) ✅ pass live r2-loader-matrix.txt: the four overdrop cases give ERR_BAD_ATTR_VALUE; decoy-nearer, unknown-field, unknown-hop, no-field, no-owner, bare-dotdot, via-no-hop and trailing-dot (@from) give ERR_INVALID_O…
Adversarial: a trailing-dot or empty-hop @via (..:: and pkg::, on passthrough and aggregate) is refused with ERR_INVALID_ORIGIN in every port including Java and Kotlin, and two broken origins are… ✅ pass live r2-loader-matrix.txt: via-trailing-dot, via-trailing-dot-qualified, passvia-trailing-dot, passvia-trailing-dot-qualified, via-double-trailing-dot and via-empty-mid-hop are refused on all six surfaces;…
  • scripts/ci-local.sh --affected --strict-toolchains
  • Broad regression came from the configured test command scripts/ci-local.sh --affected --strict-toolchains, which had already passed at this target commit; it was not re-run, and no source or test files changed in this turn
  • Generated synthetic multi-package models with gen-fixtures-r2.py (a nearer-package decoy Program, a ..:: model, its pkg:: twin and malformed variants), plus the input of fixtures/conformance/error-origin-via-trailing-dot
  • meta schema --dialect postgres (TypeScript source CLI) on every case
  • metaobjects verify --templates (Python) on every case
  • dotnet MetaObjects.Cli.dll verify <dir> --templates (C#) on every case
  • cargo build --offline -p metaobjects-cli, then cargo-meta verify --templates (Rust) on every case
  • A disposable Java probe calling MetaDataLoader.fromDirectory and the Kotlin metadata-ktx loadDirectory against the built classes, on every generated case
  • Full error lists for the two-broken-origins models through the Java loader and TypeScript MetaDataLoader.fromDirectory; the Python, C# and Rust CLIs print both errors themselves
  • Byte comparison of the meta schema view SQL from the ..:: model and its pkg:: twin
⚠️ **Document** - 1 info
  • ℹ️ docs/llms/llms-full.txt:136 - docs/llms/llms-full.txt still says 'metamodel (conformance/, 584 fixtures)'. The file is regenerated by the release flow (scripts/finish-release.mjs), not by this change, so it is left for that flow.
✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

…ypeScript loader

Split origin paths at the first dot after the last :: (ADR-0059 §2) so
..::Entity.field resolves exactly as its pkg:: twin. Adds the shared
conformance fixtures origin-parent-relative-refs and two negatives.
…ava, Python and Rust

Each loader now splits an origin path at the first dot after the last ::
(ADR-0059 §2) through its existing splitChildTail equivalent, so
..::Entity.field resolves exactly as the pkg:: form. The C# deprecation
lint had the same first-dot split and is fixed with a test. Rust's
minPassing and the corpus counts move to 587; one changelog fragment.
…ALUE in every port

A ..:: origin @from/@of/@via with more parent steps than the referrer's
package has segments now reports ERR_BAD_ATTR_VALUE (ADR-0059 §2), the
code the reference readers use for over-drop, through each port's
existing owner-candidate check. Shared fixture
error-origin-parent-relative-over-drop; corpus counts move to 588.
@dmealing
dmealing merged commit 8122fa2 into main Dec 3, 2026
11 checks passed
@dmealing
dmealing deleted the fm/mo-140-origin-dotted branch December 3, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant