@@ -89,11 +89,11 @@ async function measureHookFastPathRun() {
8989 const pluginData = mkdtempSync ( join ( tmpdir ( ) , "codex-rules-hook-data-" ) ) ;
9090 try {
9191 mkdirSync ( join ( projectRoot , "src" ) , { recursive : true } ) ;
92- mkdirSync ( join ( projectRoot , ".sisyphus " , "rules" ) , { recursive : true } ) ;
92+ mkdirSync ( join ( projectRoot , ".omo " , "rules" ) , { recursive : true } ) ;
9393 writeFileSync ( join ( projectRoot , "package.json" ) , JSON . stringify ( { name : "bench" } ) ) ;
9494 writeFileSync ( join ( projectRoot , "src" , "app.ts" ) , "export const app = true;\n" ) ;
9595 for ( let index = 0 ; index < RULE_COUNT ; index += 1 ) {
96- writeFileSync ( join ( projectRoot , ".sisyphus " , "rules" , `rule-${ index } .md` ) , ruleContent ( `rule-${ index } ` ) ) ;
96+ writeFileSync ( join ( projectRoot , ".omo " , "rules" , `rule-${ index } .md` ) , ruleContent ( `rule-${ index } ` ) ) ;
9797 }
9898
9999 const input = {
@@ -112,12 +112,12 @@ async function measureHookFastPathRun() {
112112
113113 await runPostToolUseHook ( input , {
114114 pluginDataRoot : pluginData ,
115- env : { CODEX_RULES_ENABLED_SOURCES : ".sisyphus /rules" } ,
115+ env : { CODEX_RULES_ENABLED_SOURCES : ".omo /rules" } ,
116116 } ) ;
117117 const start = process . hrtime . bigint ( ) ;
118118 const repeatOutput = await runPostToolUseHook ( input , {
119119 pluginDataRoot : pluginData ,
120- env : { CODEX_RULES_ENABLED_SOURCES : ".sisyphus /rules" } ,
120+ env : { CODEX_RULES_ENABLED_SOURCES : ".omo /rules" } ,
121121 } ) ;
122122 return {
123123 repeatDurationMs : Number ( process . hrtime . bigint ( ) - start ) / 1_000_000 ,
@@ -155,7 +155,7 @@ function measureRun(targetPaths) {
155155 const projectRoot = mkdtempSync ( join ( tmpdir ( ) , "codex-rules-bench-" ) ) ;
156156 try {
157157 const candidates = makeCandidates ( projectRoot ) ;
158- mkdirSync ( join ( projectRoot , ".sisyphus " , "rules" ) , { recursive : true } ) ;
158+ mkdirSync ( join ( projectRoot , ".omo " , "rules" ) , { recursive : true } ) ;
159159 for ( const candidate of candidates ) {
160160 writeFileSync ( candidate . path , "" ) ;
161161 }
@@ -195,13 +195,13 @@ function distinctTargets(projectRoot) {
195195
196196function makeCandidates ( projectRoot ) {
197197 return Array . from ( { length : RULE_COUNT } , ( _ , index ) => ( {
198- path : join ( projectRoot , ".sisyphus " , "rules" , `rule-${ index } .md` ) ,
199- realPath : join ( projectRoot , ".sisyphus " , "rules" , `rule-${ index } .md` ) ,
200- source : ".sisyphus /rules" ,
198+ path : join ( projectRoot , ".omo " , "rules" , `rule-${ index } .md` ) ,
199+ realPath : join ( projectRoot , ".omo " , "rules" , `rule-${ index } .md` ) ,
200+ source : ".omo /rules" ,
201201 distance : 0 ,
202202 isGlobal : false ,
203203 isSingleFile : false ,
204- relativePath : `.sisyphus /rules/rule-${ index } .md` ,
204+ relativePath : `.omo /rules/rule-${ index } .md` ,
205205 } ) ) ;
206206}
207207
0 commit comments