Printable idea sheet
create_base_onboarding
reqlan rq/bases/base.rq:212
Katz 0.172
When discovery finds **zero** bases under any VS Code workspace folder ( root or child ),
the extension prompts the user to create a reqlan base at the workspace-folder root.
Do not auto-create `.reqlan`. Command `reqlan.createBase` creates `<folder>/.reqlan/`
( empty directory is a valid marker ) via create-base.ts, then calls base-registry.ts `refresh`
so the new marker is registered and the returned base descriptor matches discovery
( refresh_rediscovers_bases ). With multiple workspace folders and no bases, prompt against the first folder.
Headless create-base helper: create-base.ts ( also used by CLI `init` ).
- implementation
- create-base.ts, index-service.ts, base-registry.ts, register-commands.ts, WorkspacePane.svelte, StatusBar.svelte
- tests
- create-base.test.ts:creates .reqlan marker and reports created, base-registry-refresh.test.ts:refresh after createBase registers the new base
Interactive page: create_base_onboarding