Repository navigation
fix(export): a then x; succession states Relationship::source and target beside the sourceFeature and targetFeature it names — the first start source, the named member before it, a plain-named target, the library's done — as a connector and a first a then b; succession do, as the pilot exports them - #2164
Merged
devin-ai-integration[bot] merged 1 commit intoNov 12, 2026
Merged
Conversation
…arget beside the sourceFeature and targetFeature it names — the `first start` source, the named member before it, a plain-named target, the library's done — as a connector and a `first a then b;` succession do, as the pilot exports them edgeEnds states source/target for every end it names by a resolved IRI, under the connector rule of the relationship-ends change (a chained end keeps the redefining property alone); the `then done;` branch states the library end for both. A source reached by position alone — `then idle` after a bare `entry;` — stays sysx:sourceMember only. Readers unchanged (they choose the `then` form by sysx:endForm/sysx:sourceMember). New export test fails on develop's writer; eight goldens move by the added lines or their digest; the api-json differential (whose SuccessionAsUsage carriers are the named successions, already stating both), census, structure differential, both corpus round trips and docs-counts reproduce. Co-Authored-By: Nicolas Rouquette <nicolas.f.rouquette@jpl.nasa.gov>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
NicolasRouquette
approved these changes
Nov 12, 2026
NicolasRouquette
approved these changes
Nov 12, 2026
devin-ai-integration
Bot
removed this pull request from the merge queue due to a manual request
Nov 12, 2026
2 of 6 tasks
devin-ai-integration
Bot
deleted the
fix/then-succession-source-target
branch
November 12, 2026 07:21
6 tasks done
richetl
pushed a commit
to richetl/OpenSysML
that referenced
this pull request
Nov 17, 2026
… states it as its sourceFeature and Relationship::source — a bare entry; or an unnamed action before it, a positional target likewise — as the pilot derives them and the native walk answers A then x; written after a bare entry; or an unnamed action bound that member only through the conversion's sysx:sourceMember and stated no sourceFeature or source, where a then after a named member states both (Open-MBEE#2164). edgeEnds now states the member an unnamed end reaches by position as the end's feature and the relationship's source or target beside the positional binding; the decoder reads the binding first, so every round trip reproduces. New test fails on develop; five goldens move by exactly those lines; the structure and api-json differentials do not move. Co-Authored-By: Nicolas Rouquette <nicolas.f.rouquette@jpl.nasa.gov>
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.
What and why
A
then x;succession's Turtle statedsourceFeatureandtargetFeaturebut not theRelationship::sourceandtargetthey redefine, while a connector (#2135) and afirst a then b;succession state both. The QVTS reflection cross-check against the exported RDF reads the gap as eightSuccessionAsUsage::source/targetdisagreements on one model: the query leg answersActions::Action::start,acquire,readout,done,idle, the RDF nothing.edgeEndsnow statessource/targetbeside the redefining property for every end it names by a resolved IRI — thefirst startsource, the named member before athen, a plain-named target, the library'sdone— under #2135's rule (a chained end keeps the redefining property alone; the readers refuse a chain's last feature named from the connector):and the
then done;branch states the library end for both. A source reached by position alone —then idleafter a bareentry;, whose anonymous action has no name to resolve — stayssysx:sourceMemberonly, so seven of the eight cells close; the eighth is named here, not fixed. Readers are unchanged: they choose thethenform bysysx:endForm/sysx:sourceMember, and the Turtle reader already resolves everysource/targetobject throughreferencedElement.Baselines: eight goldens move (
decision_branchesandquoted_succession_endsby the addedsysml:source/sysml:targetlines, six others by digest only); the api-json differential reproduces unchanged — its twelveSuccessionAsUsagecarriers are the namedsuccession s first a then b;elements, which already stated both, and the anonymousthensuccessions pair with no pilot element (the matcher gap named on #2143). Census and structure differential reproduce;TestMachineEndpointsLinkAcrossRegionsAndNestingasserted a Turtle line terminator (… warm .) that the added triple moves, and now asserts the link and the newtarget.Specification basis
KerML 1.1 § 8.3.4.5.1 Connector:
sourceFeature/targetFeature/relatedFeatureredefineRelationship::source/target/relatedElement; SysML v2 § 7.17.4 Succession (thenas aSuccessionAsUsagesequencing the member before it). No compliance row moves; the export states what the semantic model already derives (#2135).How it was verified
TestThenSuccessionStatesItsRelationshipEnds(tests/export/connector_related_features_test.go):first start; then action a; then action b; then done;states six Relationship ends matching their redefining features and none without — fails on develop's writer (all six absent).go test ./tests/export/... ./internal/translate/export/...green;TestCorpusRoundTripandTestCorpusAPIJSONRoundTripover every corpus green;pilot-apijson-diff -check,derived-census -check, the structure differential andmake docs-countsreproduce;make lint,go vet,gofmt -l .clean; the full suite with every corpus require variable set on the pushed head.Checklist
make testandmake lintpass locallychanges/unreleased/<slug>.<section>.md, not as an edit toCHANGELOG.mdmake docs-countsrun if a gate count moved (compliance rows need nothing: the census is counted at docs build)F4,K5) in the body, docs, or changelogLink to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/18ad47adf36f44e9b6824a4472f9678d
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/18ad47adf36f44e9b6824a4472f9678d?variant=devin
Requested by: @NicolasRouquette
🟢 Devin Review found nothing to fix · View findings