@@ -838,7 +838,7 @@ describe("Discord controller flows", () => {
838838 ) ;
839839 } ) ;
840840
841- it ( "shows codex_status as none when no core binding exists" , async ( ) => {
841+ it ( "shows cas_status as none when no core binding exists" , async ( ) => {
842842 const { controller } = await createControllerHarness ( ) ;
843843 await ( controller as any ) . store . upsertBinding ( {
844844 conversation : {
@@ -868,7 +868,7 @@ describe("Discord controller flows", () => {
868868 expect ( reply . text ) . not . toContain ( "Session: session-1" ) ;
869869 } ) ;
870870
871- it ( "does not hydrate a denied pending bind into codex_status " , async ( ) => {
871+ it ( "does not hydrate a denied pending bind into cas_status " , async ( ) => {
872872 const { controller } = await createControllerHarness ( ) ;
873873 await ( controller as any ) . store . upsertPendingBind ( {
874874 conversation : {
@@ -899,7 +899,7 @@ describe("Discord controller flows", () => {
899899 } ) ) . toBeNull ( ) ;
900900 } ) ;
901901
902- it ( "shows plan mode on in codex_status when the bound conversation has an active plan run" , async ( ) => {
902+ it ( "shows plan mode on in cas_status when the bound conversation has an active plan run" , async ( ) => {
903903 const { controller } = await createControllerHarness ( ) ;
904904 await ( controller as any ) . store . upsertBinding ( {
905905 conversation : {
@@ -941,7 +941,7 @@ describe("Discord controller flows", () => {
941941 expect ( reply . text ) . toContain ( "Plan mode: on" ) ;
942942 } ) ;
943943
944- it ( "parses unicode em dash --sync for codex_rename and renames the Telegram topic" , async ( ) => {
944+ it ( "parses unicode em dash --sync for cas_rename and renames the Telegram topic" , async ( ) => {
945945 const { controller, clientMock, renameTopic } = await createControllerHarness ( ) ;
946946 await ( controller as any ) . store . upsertBinding ( {
947947 conversation : {
@@ -985,7 +985,7 @@ describe("Discord controller flows", () => {
985985 expect ( reply ) . toEqual ( { text : 'Renamed the Codex thread to "New Topic Name".' } ) ;
986986 } ) ;
987987
988- it ( "parses unicode em dash --sync for codex_resume and renames the Telegram topic" , async ( ) => {
988+ it ( "parses unicode em dash --sync for cas_resume and renames the Telegram topic" , async ( ) => {
989989 const { controller, renameTopic, sendMessageTelegram } = await createControllerHarness ( ) ;
990990
991991 const reply = await controller . handleCommand (
@@ -1127,7 +1127,7 @@ describe("Discord controller flows", () => {
11271127 ) ;
11281128 } ) ;
11291129
1130- it ( "replays pending codex_resume --sync effects after approval hydrates on the next resume command" , async ( ) => {
1130+ it ( "replays pending cas_resume --sync effects after approval hydrates on the next resume command" , async ( ) => {
11311131 const { controller, clientMock, renameTopic, sendMessageTelegram } = await createControllerHarness ( ) ;
11321132 ( controller as any ) . client . readThreadContext = vi . fn ( async ( ) => ( {
11331133 lastUserMessage : "What were we doing here?" ,
@@ -1200,7 +1200,7 @@ describe("Discord controller flows", () => {
12001200 ) ;
12011201 } ) ;
12021202
1203- it ( "retries an incomplete codex_resume bind before falling back to the picker" , async ( ) => {
1203+ it ( "retries an incomplete cas_resume bind before falling back to the picker" , async ( ) => {
12041204 const { controller } = await createControllerHarness ( ) ;
12051205 await ( controller as any ) . store . upsertPendingBind ( {
12061206 conversation : {
@@ -1240,7 +1240,7 @@ describe("Discord controller flows", () => {
12401240 ) ;
12411241 } ) ;
12421242
1243- it ( "rebinds an incomplete codex_resume bind when the retry is approved immediately" , async ( ) => {
1243+ it ( "rebinds an incomplete cas_resume bind when the retry is approved immediately" , async ( ) => {
12441244 const { controller, renameTopic, sendMessageTelegram } = await createControllerHarness ( ) ;
12451245 ( controller as any ) . client . readThreadContext = vi . fn ( async ( ) => ( {
12461246 lastUserMessage : "What were we doing here?" ,
@@ -1592,7 +1592,7 @@ describe("Discord controller flows", () => {
15921592 } ) ;
15931593 } ) ;
15941594
1595- it ( "offers compact rename style buttons for codex_rename --sync without a name" , async ( ) => {
1595+ it ( "offers compact rename style buttons for cas_rename --sync without a name" , async ( ) => {
15961596 const { controller } = await createControllerHarness ( ) ;
15971597 await ( controller as any ) . store . upsertBinding ( {
15981598 conversation : {
@@ -2007,7 +2007,7 @@ describe("Discord controller flows", () => {
20072007 ) ;
20082008 } ) ;
20092009
2010- it ( "supports codex_plan off to interrupt an active plan run" , async ( ) => {
2010+ it ( "supports cas_plan off to interrupt an active plan run" , async ( ) => {
20112011 const { controller } = await createControllerHarness ( ) ;
20122012 const interrupt = vi . fn ( async ( ) => { } ) ;
20132013 ( controller as any ) . activeRuns . set ( "discord::default::channel:chan-1::" , {
0 commit comments