Skip to content

SWF(bug): export a flow's payload before its ends, as the pilot orders them - #2494

Merged
HuiJun merged 156 commits into
developfrom
fix/flow-payload-before-ends
Nov 21, 2026
Merged

HuiJun merged 156 commits into
developfrom
fix/flow-payload-before-ends

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

The RDF and API JSON exports of a flow that declares its payload now own the payload's FeatureMembership ahead of the flow's two EndFeatureMemberships, as the pilot implementation orders them; the ends were written first.

Chained on #2042 (head 6754550), so until that merges this diff also shows its commits. The change itself is the last three commits.

Specification basis

internal/translate/export/rdf_out.go wrote a flow's ends (bindingEnds) before its payload member. SysML.xtext FlowDeclaration puts the payload first, and the pinned pilot exporter confirms it for flow f of p : Photon from a.photons to b.photons;:

FeatureMembership     PayloadFeature
EndFeatureMembership  FlowEnd
EndFeatureMembership  FlowEnd

The symbol-backed reader of #2042 already answered that order, so the two disagreed on every payload-declaring flow and message.

How it was verified

Failing test first, TestFlowOwnsItsPayloadAheadOfItsEnds, before the fix:

flow_payload_order_test.go:28: the flow's ownedRelationship = [EndFeatureMembership EndFeatureMembership FeatureMembership], want [FeatureMembership EndFeatureMembership EndFeatureMembership]

After the fix it passes. Try it: go test -count=1 ./internal/translate/export -run TestFlowOwnsItsPayloadAheadOfItsEnds

Export against the pilot (api-json differential, all roots; re-recorded with pilot-apijson-diff -update, no -accept-regressions). No other row moved. It moves no row of docs/project/spec-compliance/.

property equal before equal after different before different after
FlowUsage.ownedRelationship 59 108 49 0
FlowUsage.ownedMembership 59 108 49 0
FlowUsage.ownedFeatureMembership 51 100 49 0
FlowUsage.ownedElement / ownedMember 50 61 58 47
FlowUsage.ownedFeature 42 53 58 47
SuccessionFlow, the same six properties 0 1 1 0

Baselines moved by their recorders only, every count down:

  • Agreement ratchet (-update-agreement-ratchet): 15 FlowUsage / SuccessionFlowUsage rows removed, FlowUsage::member, membership, feature, featureMembership 89 → 6.
  • Structure differential (-update-structure-differential): "different" drops by about 121 on each ownership property (for example Element::ownedRelationship 932 → 811); nothing rises.
  • One convert golden, payload_declaration_bodies.golden.ttl.

Round trip is unchanged: 848 stable, 7 whitespace-only, 0 graph-diff over 893 files, for both Turtle and api-json.

Gate

Run on c39536f, all exit 0: go build ./..., go vet ./..., go vet -C tools ./..., gofmt -l on tracked files (empty), make lint, go test -count=1 ./... with the training, pilot and spec-example corpora required (140 packages ok), go test -C tools ./..., and -check of pilot-diff, derived-census -recorded-pilot, doc-counts, hideo-suite and pilot-apijson-diff.

Not run: -race, and the PSSM, reference-FMU and pilot-library-XMI gates beyond what go test ./... runs locally.

Not in this PR

  • ViewUsage::importedMembership (2 rows, clause symbol-84) stays. Its cause is a different order: then action b; owns its succession ahead of the action in the pilot, and the export writes the action first. The clause wording is corrected here to say so; the count is untouched.
  • A named constructor argument's Redefinition is still not exported.

Checklist

  • make test and make lint pass locally (make lint and go test ./... pass; the -race run of make test was not run)
  • Tests added or updated for the change
  • Documentation extended where it already covers the surface (see CONTRIBUTING.md)
  • Changelog entry added as changes/unreleased/<slug>.<section>.md, not as an edit to CHANGELOG.md
  • baselines regenerated and make docs-counts run if a gate count moved (doc-counts -check is current)
  • No internal work-item labels (waves, slices, F4, K5) in the body, docs, or changelog

Software Factory opened this PR for Jason
Implemented in session Fix the cross-MDK regression in #2042
Review with Devin · Open in Devin Desktop


devin-ai-integration Bot and others added 30 commits November 7, 2026 19:25
…ructure

The RPC evaluates an element's properties over metamodel.SymbolStructure fed to the metamodel evaluator instead of the API element form converted from the whole-model RDF graph; Convert keeps its path. Elements no symbol id names are addressed by a path from their nearest addressed owner. The structure accepts the evaluator's own symbol handles and the evaluator reads a library type's members from the semantic model when the structure names the type without carrying its relationships, which closes connectorEnd and endFeature on the symbol side.

Refs #2029.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ary ends

A subject, objective, actor, stakeholder or render member redefines the
same role of each general without a written clause, so the symbol-backed
structure no longer inherits the role it replaces. The redefinition walk
defers library features to the semantic model, Feature::isEnd of a
library feature is read from the model so connector ends derive, a flow
whose ends have no symbols reports endFeature unsupported, and the
structure differential is re-recorded with each moved row adjudicated.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…rties-symbol-structure

Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	internal/translate/export/testdata/structure_differential_expected.txt
…tion examples present

The merge of develop was re-recorded without examples/spec-examples, which left
that root at develop's rows. Spell an anonymous library membership by graph id,
since it has no name to spell, and record every root with the corpora present.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
… carry their written ids

GetElementProperties on the symbol structure now answers connectorEnd, flowEnd,
relatedFeature, sourceFeature and targetFeature for a flow and ownedFeature for a
message: the builder registers a flow's from/to ends and the payload an of clause
implies, a flow end reference-subsets the prefix of its name and owns the flow
feature redefining its last segment, and a message's event ends are parameters.
An unnamed library member's membership is spelled with the identity table's id,
the one the library document's own form writes. The structure differential is
re-recorded with every corpus present; ElementIDs records flow ends like bound
connector ends.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…semantics

The element form leaves out a completed property whose value is empty or null and one
it has no rule for, so an omitted key agrees with an empty or unsupported answer; a key
omitted against a value is a disagreement, and the ten there are (Step::parameter and
ViewUsage::viewDefinition, which the completion table lacks, and Type::input on a
requirement usage, whose inherited subject parameter the graph side reads without a
direction) are listed with their clauses in an adjudicated file the test checks both ways.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ts of the symbol structure

The body of an action writes if, while, for, assign, terminate and perform as statements the symbol table scopes but registers no symbol for. The reflective layer now synthesizes one action node per statement (never in a scope or index), its branches and body, and the expressions it writes at its own slots (condition, target, value, payload, receiver, collection, while/until condition), with the memberships the conversion writes (ParameterMembership for a condition and a branch, FeatureValue for an assigned value). Members of a statement body are owned by the statement's node, and a body-parameter action is composite as declared.

`action a assign x := y;` is one AssignmentActionUsage: NodeStatementOf and PlainNodeHead move to semantics so the exporter and the structure read it alike.

Structure differential re-recorded with all corpora present: matched rises on every root (examples 29,659 -> 31,787; pilot 45,208 -> 46,507; spec 7,653 -> 8,390; training 7,537 -> 7,815; tests/testdata 1,474 -> 1,596); no equal row moves.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…rties-symbol-structure

Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	internal/translate/export/rdf_out.go
#	internal/translate/export/testdata/structure_differential_expected.txt
…pressions and filters are elements of the symbol structure

A decision's branch (`if g then b;`, `else b;`) is a TransitionUsage synthesized in the reflective layer, owning its guard through a TransitionFeatureMembership; every transition owns the SuccessionAsUsage of its `then` clause with an empty source end and an end reference-subsetting the target (SysML.xtext TransitionSuccessionMember), so TransitionUsage::succession, source and target answer over the symbol structure. A function-like type's own body expression is the member of a ResultExpressionMembership (calc, constraint, requirement bodies, `require constraint { … }`), and a namespace's `filter <cond>;` an ElementFilterMembership owning its condition, so the arguments inside them are reached. The metamodel evaluator reads a symbol-backed Structure's symbol for transition endpoints (structureSymbolOf), and the structure differential maps the conversion's ids for these parts.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ng memberships

Namespace::ownedMember on the reflective path is the members of
OwnedMemberships' OwningMemberships (KerML 8.3.2.4.5), so the result
expressions, filter conditions, statement nodes and transition parts step 2
added to ownedMembership are owned members too; the FeatureValue's expression
stays out as before. A Descendants over a transition now reaches the
succession's OwningMembership (SysML.xtext TransitionSuccessionMember), which
has no kind, so the guard query tolerates it like the after query.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…gger's payload parameter

A triggered TransitionUsage owns the transitionLinkSource and trigger payload
parameters SysML v2 §8.3.16.15 (checkTransitionUsageParameters) implies, each
an in ReferenceUsage under a ParameterMembership, and a named trigger payload
(`accept s : Sig`) is the payload parameter the trigger's accept action owns
(SysML.xtext TriggerActionMember) rather than a feature of the transition;
references to it from the guard and effect resolve to that parameter.
Namespace::ownedMember reads the members of the synthesized owning memberships.
The structure differential is re-recorded with the movements adjudicated.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…rties-symbol-structure

Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	internal/translate/export/testdata/structure_differential_expected.txt
…d, unowned Namespace owning the top-level elements through OwningMemberships (KerML 8.2.3.2), as the pilot serializes a document; a root-level element answers owner, owningNamespace and owningMembership, and a root-level membership import its importedMembership

Co-Authored-By: jason.han <hanhuijun@gmail.com>
….SymbolIDs spells each symbol by the elementId Convert writes for its element (declared elements, reflected memberships, relationships, expression parts and the root namespace) and resolves such an id back; SymbolStructure.SetIdentities reads it, so GetElementProperties answers and resolves the API element form's ids; the structure differential matches through the same mapping; Usage::mayTimeVary and isVariable read the symbol behind a symbol-backed element

Co-Authored-By: jason.han <hanhuijun@gmail.com>
….3.2.1 declaredName); a connector's implied end and a flow end's flow feature are not variable, as the conversion writes them; a symbol-backed expression resolves its instantiated type and arguments from the node its symbol reflects, in its owning feature's namespace

Co-Authored-By: jason.han <hanhuijun@gmail.com>
… named arguments, multiplicity bounds and body parts; `:>> x`, succession ends and unbound invocations answer as written

A named argument `f(x = v)` is minted at `n<i>` (rdf_expr.go), so the argument symbol keeps its slot; a written `[lo..hi]` is a MultiplicityRange owning its bounds through OwningMemberships at `lowerBound`/`upperBound` (KerML 8.3.4.11); an expression body's parameters, members and result keep the ids minted off the reference wrapping it, and a bare body expression (ConstraintMember with no keyword, name or body) registers its parts in the id table like a feature value does. A `:>> x` feature declares no name but is named x by its redefinition (KerML 8.3.2.1 Element::declaredName, 8.3.3.3.5 Feature::name); a succession's implied end is named by the HappensBefore end it redefines; an invocation whose instantiated type is unknown answers its arguments from the owned input values. The differential builds the symbol structure through the same SetIdentities the served structure uses, and is re-recorded: matched 41,525 → 44,329 examples, 52,196 → 56,370 pilot, 10,302 → 11,153 spec, 9,579 → 10,220 training, 1,932 → 2,008 tests/testdata; symbol-missing memberElementId falls to 0 on every root.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ng its two ends, as the conversion writes it

A bodiless `then target` written in a body (SysML.xtext TargetSuccession) is an element of the symbol structure, synthesized in the reflective layer like the other statements; a succession with a body already is one. Either owns an empty source end carrying the source multiplicity and an end referring to the target, under the condition encodeSuccessionEdge writes them (a source implied by position, or a positional source with a multiplicity), so their ids, memberships, reference subsettings and names follow from the existing end machinery. A statement's membership now stands where the statement is written among the body's declared members, so a `first start;` marker keeps its place ahead of the successions that follow it. Differential re-recorded: matched 44,329 → 44,850 examples, 56,370 → 57,203 pilot, 11,153 → 11,404 spec, 10,220 → 10,566 training, 2,008 → 2,046 tests/testdata; no equal row falls. The new successions land in existing classes: Connector::sourceFeature/targetFeature the graph derives from the positional source and the library's done while the symbol side answers null, isComposite/isReference where the symbol side still reads a connector as composite, and chain targets (`then a.b`) the structure has no chain feature for.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…efer to done and the member they introduce, and a declared end's reference subsetting shares the conversion's id

A SuccessionAsUsage written as `then target` is never composite (usageIsAlwaysReferential), as `succession` is and as the conversion writes it. Its target end refers to the action's inherited done for `then done;` and to the member a `then action x` introduces, so Connector::targetFeature, the end's ReferenceSubsetting and its id follow. The ReferenceSubsetting of an end the builder declares (`connector a to b`) is minted off the end like a synthesized end's, so `_pend<i>_prs` resolves on the symbol path. Differential re-recorded: unmatched falls 1,719 → 1,679 examples, 3,602 → 3,516 pilot, 974 → 962 spec, 682 → 674 training; no equal row falls. One new disagreement class: for `then done;` in a use case the symbol side resolves done to UseCases::UseCase::done, the feature in scope, where the conversion writes Actions::Action::done.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…s before it answers

GetElementProperties built its resolver fresh and never resolved the cached documents, so a reference the reflective layer reads through the resolver's record (referencedSymbol: the referent of a FeatureReferenceExpression, the member of its referent Membership) came back empty on the served path while the conversion, which resolves every document before it writes (modelToRDF), derived it. The reader now resolves each document the way the conversion does, so FeatureReferenceExpression::referent answers and the `_preferent` memberships resolve. The structure differential already read a resolved model and does not move.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
… `first` names (SysML.xtext TransitionSourceMember)

A transition written `first s` owns a Membership whose member is the state s names, as the conversion writes it (transitionSourceMember) and the symbol structure did not; minted off the transition at `sourcemember`, so the id the API-JSON form spells resolves on the symbol path. A source written as a chain (`first a.b`) still has no symbol. The differential re-recorded: unmatched 1,679 → 1,569 examples, 3,516 → 3,463 pilot, 962 → 954 spec, 674 → 671 training, 122 → 119 tests/testdata; no row moves otherwise. The transition-kinds test skips the source Membership as it skips the succession's OwningMembership: neither is a transition feature.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…xt MetadataUsage)

The symbol structure derived no FeatureTyping for a prefix metadata usage with a body, so its type, ownedTyping and the typing's id (`_ft0`, the head typing the conversion writes in metadataUsage) were missing on the symbol path. The reflective layer now reflects the typing as an implied relationship spanning the written type name, so the conversion's id resolves and the usage inherits its type's features. Differential re-recorded: matched 45,000 → 45,246 examples, 57,342 → 57,571 pilot, 11,424 → 11,440 spec, 10,577 → 10,597 training, 2,049 → 2,058 tests/testdata; the symbol-extra rows on Namespace::membership, Type::featureMembership, Type::inheritedMembership and Usage::usage fall (302 → 88 examples) as the typed usages now inherit, the few that remain different being the inherited memberships the graph form omits, an existing class.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…a type's feature it names (SysML.xtext MetadataBodyUsage)

`@M { x = 1; }` binds x by redefining M's x; the conversion writes that Redefinition (implicitMetadataBodyTarget) and the symbol structure derived none, so ownedRedefinition and the relationship's id (`_rd0`) were missing on the symbol path. The reflective layer now reflects the implied Redefinition for a body feature that names a feature of its metadata type other than itself, with no written redefinition of its own, the condition the conversion applies; its target is the type's feature (MetadataBodyTargetOf), and the id is minted off the feature like a flow feature's. Differential re-recorded: matched 45,246 → 45,322 examples, 57,571 → 57,650 pilot, 10,597 → 10,613 training, 2,058 → 2,061 tests/testdata, 11,440 → 11,441 spec; no row moves otherwise.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…erty) class, each with the side that is correct and the clause it rests on

With GetElementProperties resolving the form's ids, the agreement test compares most elements for the first time, and the per-(model, element, property) adjudicated file could not hold the residual. The test now compares only metamodel properties (ontology.Properties on the export's metaclass; the export's reader keys redefines, specializes, subsets and references are no properties), asserts every property the structure answers is a metamodel property of the answered metaclass, and counts each disagreement in its class (Metaclass::property, kind: unresolved-id, metaclass, value, exported-not-answered, answered-not-exported). testdata/element_properties_agreement_ratchet.txt records every class with its count, the side that is correct and the KerML/SysML clause; a class not recorded, a count above the recorded one, a row without side or clause, or a stale row fails; -update-agreement-ratchet re-records counts keeping side and clause. The ten rows of the retired adjudicated file are the RequirementUsage::input class.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…txt and its counts per kind of disagreement

The one file over every class was twice the fixture size cap because each row repeated its clause. testdata/element_properties_agreement/clauses.txt now holds each adjudication once (key, the side that is correct, the KerML/SysML clause), and <kind>.txt holds the counted classes of that kind (class, count, clause key). A row whose key names no clause fails, as does a ? key.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…hain through its other generals

Resolving the subsetting target of `ref presidentOfCountry : Person :> presidentOfCountry.asPresident` (the pilot's JohnIndividualExample) looked asPresident up in presidentOfCountry's generals, which resolved the same subsetting again without end; whether the recursion met a memoized answer first depended on the order other references were resolved in, so loading the pilot corpora whole overflowed the stack on some runs. findGeneralizationTargets keeps the relationships whose targets it is resolving and reads a chain through the feature itself through its other generals (here the typing, so asPresident is Person's), as KerML 8.3.3.1.10 has no type specialize itself.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…rties-symbol-structure

Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	internal/semantic/semantics/annotations.go
#	internal/translate/export/testdata/structure_differential_expected.txt
…ngMembership (SysML.xtext PrefixMetadataMember)

The structure owned every `#M` prefix metadata feature through an Annotation of the annotated element, so the OwningMembership the conversion writes for it (`X___N_om`) had no symbol and the metadata usage no owning membership, and a type listed it among its owned features. A namespace owns its prefix metadata through an OwningMembership written before its body's memberships (SysML.xtext PrefixMetadataMember; KerML.xtext AnnotatingMember for a body `@M;`), and the prefix annotates it as its owning namespace with no Annotation (KerML 8.3.2.3.2 deriveAnnotatingElementAnnotatedElement); a relationship still owns its prefix through an Annotation (KerML.xtext PrefixMetadataAnnotation). Records reach their prefix members by ModPrefixMetadata. Structure differential re-recorded: matched +204 examples, +168 pilot, +10 spec, +6 training, +6 tests/testdata; Definition::ownedItem/ownedMetadata/ownedOccurrence, Usage::nestedItem/nestedMetadata/nestedOccurrence, AnnotatingElement::annotation and Element::ownedAnnotation are fully equal; no row worsens. Agreement ratchet re-recorded: 2,047 → 1,924 classes, unresolved ids 2,806 → 2,586.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ther or not it resolves (KerML 8.3.3.3.9)

The chain Feature a relationship's chain target denotes is now written whenever the target is a feature chain, as the conversion writes it: a chain whose segments do not resolve denotes a Feature that chains nothing, where it previously denoted no element and left the relationship's target side underived. A dotted transition target (`then a.b`) is a feature chain, not a qualified name (SysML.xtext TransitionSuccession), so the synthesized succession end references its chain Feature. The shared identity table spells a chain Feature off the element its relationship is written on (`_pend0_pchain`, `_psourcechain`).

TestReflectivePlainUsagesOwnTheirRelationships encoded the previous reading for an unresolved chain (`:> Dangling.b`: target underived, no owned related element); it now expects the chain Feature that chains nothing, since the element exists in the parse regardless of resolution.

Structure differential re-recorded: 300 rows move, 298 only improve, 2 become fully equal, none worsens. Agreement ratchet re-recorded: Feature::featureTarget (answered-not-exported, symbol-correct) and Feature::ownedFeatureChaining (value, export-correct: one FeatureChaining per written segment, the structure chains only resolved features) are new rows; the connector-side risers are the existing symbol-correct derived-relationship classes.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
devin-ai-integration Bot and others added 22 commits November 20, 2026 16:19
… reader

ReadableElementIDs decides the excluded documents where the ids are minted; the
form-side reading it replaces is removed. A written range's bounds are recorded
for the id reader.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…re it redefines

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ritten

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…rties-symbol-structure

Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	internal/semantic/metamodel/derived_census_records.tsv
#	internal/semantic/semantics/annotations.go
#	internal/semantic/semantics/model.go
#	internal/semantic/semantics/reflective_expression_parts.go
#	internal/semantic/semantics/reflective_feature_value.go
#	internal/semantic/semantics/reflective_memberships.go
#	internal/semantic/semantics/relationship_reflection.go
#	internal/semantic/symbols/expression.go
#	internal/translate/export/api_json_symbol_structure_test.go
#	internal/translate/export/testdata/structure_differential_expected.txt
…onversion writes

The symbol structure states a namespace's filter conditions and a body's result
expressions once, through the synthesized members, and the id reader records a
result expression's referent Membership beside the result as the conversion
mints it.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
…the merged tree

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ucture

Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	docs/project/api-json-differential.md
#	docs/project/api-json-differential/examples/self-model/document.sysml.json
#	docs/project/api-json-differential/examples/self-model/queries.sysml.json
#	docs/project/api-json-differential/examples/self-model/surfaces.sysml.json
#	docs/project/api-json-differential/examples/self-model/views.sysml.json
#	docs/project/api-json-differential/index.json
#	docs/project/api-json-differential/pilot-examples/Cause and Effect Examples/CauseAndEffectExample.sysml.json
#	docs/project/api-json-differential/training/20. Assignment Actions/Assignment Example.sysml.json
#	docs/project/pilot-differential-baseline.json
#	internal/doc/queryexec/elementids.go
#	internal/semantic/metamodel/derived_census_baseline.json
#	internal/semantic/semantics/annotations.go
#	internal/semantic/semantics/flow_ends.go
#	internal/semantic/semantics/reflective_annotations.go
#	internal/semantic/semantics/reflective_memberships.go
#	internal/semantic/semantics/reflective_memberships_test.go
#	internal/translate/export/api_json_symbol_structure_test.go
#	internal/translate/export/testdata/structure_differential_expected.txt
#	tests/export/testdata/convert/irregular_layout.golden.ttl.sha256
…orts as the graph does

The imported-membership derivation reads the annotations of a candidate, the library member a
library membership names and a KerML type's isAbstract; the symbol structure now states all three.
The structure differential spells a library alias Membership the graph references by its symbol.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…eader

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…by its Membership id

Co-Authored-By: jason.han <hanhuijun@gmail.com>
… the view rendering and flow payload order rows

Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
… gaps now LiteralString.result is closed

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ids cannot be minted

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…orders them

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…lden for the pilot's flow order

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…ential for the pilot's flow order

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 3 findings. Devin automatically fixed all 3 findings.

Fixed by Devin (3)
  • Filtered imports share one package handle — Real, in reader code merged with #2042 rather than in this PR's change. Fixed with a failing test first in #2496, chained on this PR: each filtered import keys its own filter package.
  • Qualified succession targets become feature chains — Real, in reader code merged with #2042 rather than in this PR's change. Fixed with a failing test first in #2496, chained on this PR: only a '.' step chains, a '::' qualifies the segment it follows.
  • Decision-branch target ends lose their subsetting — Real, in reader code merged with #2042 rather than in this PR's change. Fixed with a failing test first in #2496, chained on this PR: a decision branch's target end states its ReferenceSubsetting.

View findings in Devin Review · Follow Devin's work

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Devin Review raised three findings on c39536f, all in the symbol-backed reader that merged with #2042 rather than in this PR's change: two filtered imports of one namespace sharing a filter package, a ::-qualified transition target read as a feature chain, and a decision branch's target end without its ReferenceSubsetting. Each is reproduced with a failing test and fixed in #2496, which is chained on this PR; nothing changes here.

Written by Devin

@HuiJun
HuiJun added this pull request to the merge queue Nov 21, 2026
Merged via the queue into develop with commit 3c95ad9 Nov 21, 2026
32 of 56 checks passed
@HuiJun
HuiJun deleted the fix/flow-payload-before-ends branch November 21, 2026 15:00
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