step-examples/12-13-writer-pathology/Wr028.stp
Sources
- prostep ivip CAx-IF
- bug-reporter language: "STEP file has no provenance"
Sender
Writers that do not capture user identity / origin and emit empty strings
Description
`FILE_NAME` records `author = ('')`, `organization = ('')`, `originating_system = ''`, `authorisation = ''`. The file is well-formed; provenance and audit-trail are lost. Bug-reporter language: "STEP has no author", "can't tell who created this STEP", "lost provenance".
Reproducer recipe
standard `FILE_NAME` with all author/org/system fields as empty strings.
Expected kernel behavior
Heal and accept: parse normally; on re-emit, normalize / populate at least `originating_system` with the kernel's identity.
Notes
Audit-trail loss but no functional consequence. Provenance tier: writer-side (Q5 full-corpus 2026-07-01).
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Provenance tier
writer-side — defect not fully embodied in fixture bytes.
Byte assertions
matches(rb"(?s)FILE_NAME\([^;]*\(''\)[^;]*'','',''")
Tier-3 assertions
load == "ok"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Wr028: FILE_NAME.author and originating_system fields blank */ 3/* All provenance fields are empty strings: author, organization, */ 4/* originating_system, and authorisation are all '' */ 5/* Produced by writers that do not capture user identity or origin */ 6HEADER; 7FILE_DESCRIPTION(('Wr028'),'2;1'); 8/* DEFECT: author=(''), organization=(''), originating_system='', authorisation='' */ 9FILE_NAME('Wr028.stp','2026-06-17T00:00:00',(''),(''),'','',''); 10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 11ENDSEC; 12DATA; 13/* Geometry: minimal GEOMETRIC_CURVE_SET â defect is in HEADER only */ 14#1=CARTESIAN_POINT('origin',(0.,0.,0.)); 15#2=CARTESIAN_POINT('pt',(1.,0.,0.)); 16#3=DIRECTION('xdir',(1.,0.,0.)); 17#4=DIRECTION('zdir',(0.,0.,1.)); 18#5=GEOMETRIC_CURVE_SET('no-provenance-shape',()); 19ENDSEC; 20END-ISO-10303-21;