@@ -134,7 +134,7 @@ describe("architecture and practices facets integration", () => {
134134 // Facet order: process (select), architecture (select), practices (multiselect)
135135 vi . mocked ( clack . select )
136136 . mockResolvedValueOnce ( "native-agents-md" ) // process
137- . mockResolvedValueOnce ( "__skip__ " ) ; // architecture: skip
137+ . mockResolvedValueOnce ( "other " ) ; // architecture: other
138138 vi . mocked ( clack . multiselect )
139139 . mockResolvedValueOnce ( [ "conventional-commits" , "tdd-london" ] ) // practices
140140 . mockResolvedValueOnce ( [ "claude-code" ] ) ; // harnesses
@@ -182,7 +182,7 @@ describe("architecture and practices facets integration", () => {
182182 // Facet order: process (select), architecture (select), practices (multiselect)
183183 vi . mocked ( clack . select )
184184 . mockResolvedValueOnce ( "native-agents-md" ) // process
185- . mockResolvedValueOnce ( "__skip__ " ) ; // architecture: skip
185+ . mockResolvedValueOnce ( "other " ) ; // architecture: other
186186 vi . mocked ( clack . multiselect )
187187 . mockResolvedValueOnce ( [ "adr-nygard" ] )
188188 . mockResolvedValueOnce ( [ "claude-code" ] ) ; // harnesses
@@ -199,13 +199,13 @@ describe("architecture and practices facets integration", () => {
199199 expect ( adr ) . toContain ( "## Consequences" ) ;
200200 } ) ;
201201
202- it ( "skips both architecture and practices when none selected" , async ( ) => {
202+ it ( "writes no .ade directory when architecture is other and no practices selected" , async ( ) => {
203203 const catalog = getDefaultCatalog ( ) ;
204204
205205 // Facet order: process (select), architecture (select), practices (multiselect)
206206 vi . mocked ( clack . select )
207207 . mockResolvedValueOnce ( "native-agents-md" ) // process
208- . mockResolvedValueOnce ( "__skip__ " ) ; // architecture: skip
208+ . mockResolvedValueOnce ( "other " ) ; // architecture: other
209209 vi . mocked ( clack . multiselect )
210210 . mockResolvedValueOnce ( [ ] ) // practices: none
211211 . mockResolvedValueOnce ( [ "claude-code" ] ) ; // harnesses
@@ -215,9 +215,9 @@ describe("architecture and practices facets integration", () => {
215215 // No .ade directory should exist
216216 await expect ( access ( join ( dir , ".ade" ) ) ) . rejects . toThrow ( ) ;
217217
218- // config.yaml should not have architecture or practices keys
218+ // config.yaml should have architecture: "other" but no practices key
219219 const config = await readUserConfig ( dir ) ;
220- expect ( config ! . choices ) . not . toHaveProperty ( "architecture" ) ;
220+ expect ( config ! . choices ) . toHaveProperty ( "architecture" , "other ") ;
221221 expect ( config ! . choices ) . not . toHaveProperty ( "practices" ) ;
222222 } ) ;
223223
@@ -227,7 +227,7 @@ describe("architecture and practices facets integration", () => {
227227 // Facet order: process (select), architecture (select), practices (multiselect)
228228 vi . mocked ( clack . select )
229229 . mockResolvedValueOnce ( "native-agents-md" ) // process
230- . mockResolvedValueOnce ( "__skip__ " ) ; // architecture: skip
230+ . mockResolvedValueOnce ( "other " ) ; // architecture: other
231231 vi . mocked ( clack . multiselect )
232232 . mockResolvedValueOnce ( [ "tdd-london" ] )
233233 . mockResolvedValueOnce ( [ "claude-code" ] ) ; // harnesses
0 commit comments