@@ -273,6 +273,15 @@ Corrects missing-tool installation guidance and adds a subprocess regression.
273273 assert . doesNotMatch ( comment , / P e r s i s t e n t d a t a - m o d e l c h a n g e d e t e c t e d | # # # S t o r e d d a t a m o d e l / ) ;
274274} ) ;
275275
276+ test ( "real #119762 workflow metadata carrier does not produce a stored-data warning" , ( ) => {
277+ const fixture = JSON . parse (
278+ readFileSync ( new URL ( "./fixtures/persistence-classifier-119762.json" , import . meta. url ) , "utf8" ) ,
279+ ) ;
280+ const detection = dataModelChangeFromPullFilesForTest ( { pullFiles : fixture . pullFiles } ) ;
281+
282+ assert . deepEqual ( detection , { change : false , surfaces : [ ] } ) ;
283+ } ) ;
284+
276285test ( "bundled hook prose does not become a persistence warning or migration gate" , ( ) => {
277286 const fixture = JSON . parse (
278287 readFileSync ( new URL ( "./fixtures/persistence-classifier-130734.json" , import . meta. url ) , "utf8" ) ,
@@ -390,6 +399,23 @@ for (const { name, file, surfaces, pullFilesTruncated } of [
390399 pullFilesTruncated : true ,
391400 surfaces : [ "unknown-truncated-pull-files" ] ,
392401 } ,
402+ {
403+ name : "workflow-only persistence vocabulary" ,
404+ file : {
405+ filename : ".github/workflows/release.yml" ,
406+ patch :
407+ '@@\n+metadata=".artifacts/candidate.json"\n+await upgrade(state)\n+await writeFile(statePath, JSON.stringify(value));' ,
408+ } ,
409+ surfaces : [ ] ,
410+ } ,
411+ {
412+ name : "workflow to production rename with a missing patch" ,
413+ file : {
414+ filename : "src/storage/session-state.ts" ,
415+ previous_filename : ".github/workflows/session-state.yml" ,
416+ } ,
417+ surfaces : [ "unknown-data-model-change: src/storage/session-state.ts" ] ,
418+ } ,
393419] ) {
394420 test ( `data model detector scopes ${ name } ` , ( ) => {
395421 const detection = dataModelChangeFromPullFilesForTest ( {
0 commit comments