M142 — AP203 CHANGE_REQUEST targets revision already superseded

§12.8 (sub-class: AP203 change-request validity)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — PDM exporter that emitted in-flight change requests after a revision had been re-baselined

Description

A `CHANGE_REQUEST_ITEM` (`APPLIED_ACTION_ASSIGNMENT` of role 'change_request') points at `PRODUCT_DEFINITION` rev_A for which a successor rev_B has already been released (per `PRODUCT_DEFINITION_RELATIONSHIP`). Changes targeting the obsolete revision cannot be applied without re-baselining. The change request is invalid as written.

Reproducer recipe

`PRODUCT_DEFINITION_RELATIONSHIP('eco','derived_from', rev_A_pd, rev_B_pd)` plus an `APPLIED_ACTION_ASSIGNMENT(change_action, (rev_A_pd))`.

Expected kernel behavior

detect change requests against superseded revisions; warn and re-target, or reject.

Notes

Synonyms: "AP203 ECO obsolete target", "PDM change against old rev", "change request stale".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M142: AP203 CHANGE_REQUEST targets revision already superseded */
3/* DEFECT: APPLIED_ACTION_ASSIGNMENT (change_request) targets #22 (rev_A) */
4/* but PRODUCT_DEFINITION_RELATIONSHIP records rev_B (#24) as successor of rev_A */
5/* The change request is stale: it targets an obsolete revision */
6/* Per ISO 10303-203 §4.5 ECOs must target the current released baseline revision */
7/* Byte assertion: contains(b'CONFIG_CONTROL_DESIGN') */
8/* Byte assertion: contains(b'APPLIED_ACTION_ASSIGNMENT') */
9/* Byte assertion: contains(b'PRODUCT_DEFINITION_RELATIONSHIP') */
10HEADER;
11FILE_DESCRIPTION(('M142: AP203 CHANGE_REQUEST APPLIED_ACTION_ASSIGNMENT targets superseded revision'),'2;1');
12FILE_NAME('M142.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
13/* Byte assertion: contains(b'CONFIG_CONTROL_DESIGN') */
14FILE_SCHEMA(('CONFIG_CONTROL_DESIGN { 1 0 10303 203 1 0 0 }'));
15ENDSEC;
16DATA;
17#1=APPLICATION_CONTEXT('configuration controlled 3D designs of mechanical parts and assemblies');
18#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
19  'config_control_design',1994,#1);
20/* Standard unit context (mm) */
21#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
22#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
23#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
24#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
25  'distance_accuracy_value','maximum model space distance between geometric entities');
26#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
27  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
28  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
29  REPRESENTATION_CONTEXT('ctx','3D'));
30/* Product with two revisions: rev_A (old) and rev_B (current released baseline) */
31#20=PRODUCT('PART-606','Gear Housing Cover','Sealed housing for gear assembly',(#1));
32/* rev_A: the original design that has been superseded */
33#21=PRODUCT_DEFINITION_FORMATION('rev_A','Original design release',#20);
34/* #22 is the superseded PRODUCT_DEFINITION — the stale target of the change request */
35#22=PRODUCT_DEFINITION('design','original release',#21,PRODUCT_DEFINITION_CONTEXT(#1,'design'));
36/* rev_B: the released successor created by engineering change ECO-2024-047 */
37#23=PRODUCT_DEFINITION_FORMATION('rev_B','ECO-2024-047 material change',#20);
38/* #24 is the current PRODUCT_DEFINITION — the one the change request SHOULD target */
39#24=PRODUCT_DEFINITION('design','material change applied',#23,PRODUCT_DEFINITION_CONTEXT(#1,'design'));
40/* Byte assertion: contains(b'PRODUCT_DEFINITION_RELATIONSHIP') */
41/* Succession record: rev_B (#24) is derived from rev_A (#22) */
42/* This relationship formally marks #22 (rev_A) as superseded */
43/* Any change request that targets #22 is by definition stale */  
44#30=PRODUCT_DEFINITION_RELATIONSHIP('eco','derived_from',#22,#24);
45/* ACTION representing the in-flight engineering change request ECO-2024-099 */
46#35=ACTION('ECO-2024-099','Update sealing gasket specification',$);
47#36=ACTION_METHOD('change_request','Standard ECO review procedure',$,'open');
48/* Byte assertion: contains(b'APPLIED_ACTION_ASSIGNMENT') */
49/* DEFECT: items=(#22) targets rev_A — the superseded PRODUCT_DEFINITION */
50/* The correct target is #24 (rev_B, the current baseline) */   
51/* A PDM tool checking effective revision before routing ECO-2024-099 would */
52/* detect that #22 is no longer the head revision and reject or re-target */
53#40=APPLIED_ACTION_ASSIGNMENT(#35,(#22),ACTION_REQUEST_SOLUTION(#36,#35));
54/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
55#500=GEOMETRIC_CURVE_SET('ap203-change-request-targets-superseded-revision-rev-A',
56  (#20,#21,#22,#23,#24,#30,#35,#36,#40));
57/* Product chain */
58#600=APPLICATION_CONTEXT('mechanical design');
59#601=PRODUCT_CONTEXT('',#600,'mechanical');
60#602=PRODUCT('M142','M142','M142',(#601));
61#603=PRODUCT_DEFINITION_FORMATION('','',#602);
62#604=PRODUCT_DEFINITION_CONTEXT(#600,'design');
63#605=PRODUCT_DEFINITION('','',#603,#604);
64#606=PRODUCT_DEFINITION_SHAPE('','',#605);
65#607=SHAPE_REPRESENTATION('',(#500),#14);
66#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607);
67ENDSEC;
68END-ISO-10303-21;