@@ -9,25 +9,10 @@ import {
99 CONTEXT_REL_PATH ,
1010 type ContextFile ,
1111} from '../init/lib/write-context.js'
12- import {
13- CancelledError ,
14- type InitProvider ,
15- type InitState ,
16- } from '../init/types.js'
12+ import { CancelledError , type InitState } from '../init/types.js'
1713import { detectPackageManager , runnerCommand } from '../init/utils.js'
1814import { howToProceedStep } from './steps/how-to-proceed.js'
1915
20- /**
21- * The handoff steps in `impl/steps/handoff-*.ts` accept an `InitProvider`
22- * but ignore it. Stub keeps the type signature happy without pretending
23- * impl has provider-specific behaviour.
24- */
25- const STUB_PROVIDER : InitProvider = {
26- name : 'impl' ,
27- introMessage : '' ,
28- getNextSteps : ( ) => [ ] ,
29- }
30-
3116function buildStateFromContext (
3217 ctx : ContextFile ,
3318 agents : AgentEnvironment ,
@@ -46,15 +31,14 @@ function buildStateFromContext(
4631}
4732
4833/**
49- * Confirm "are you sure?" before implementing without a plan. The
50- * default-no on the confirm is the security stance — passing through
51- * the planning checkpoint by accident is the failure mode we're guarding
52- * against.
34+ * Confirm before launching implementation when the user has chosen to
35+ * skip the planning checkpoint. Default-no is the security stance —
36+ * passing through this prompt by accident is the failure mode we're
37+ * guarding against.
5338 */
5439async function confirmContinueWithoutPlan ( ) : Promise < void > {
5540 const confirmed = await p . confirm ( {
56- message :
57- 'Implementing without a plan commits you to ~45–60 min of agent work. Continue?' ,
41+ message : 'Implementation can take some time. Continue?' ,
5842 initialValue : false ,
5943 } )
6044 if ( p . isCancel ( confirmed ) || ! confirmed ) {
@@ -168,7 +152,7 @@ export async function implCommand(flags: Record<string, boolean>) {
168152 const agents = detectAgents ( cwd , process . env )
169153 const state = buildStateFromContext ( ctx , agents )
170154
171- await howToProceedStep . run ( state , STUB_PROVIDER )
155+ await howToProceedStep . run ( state )
172156
173157 p . outro (
174158 `Implementation handoff complete. Run \`${ cli } db status\` to verify state.` ,
0 commit comments