@alucify/cli 0.6.5 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/cli.js +1590 -1061
  2. package/dist/docs/help/cli/_meta.json +1 -0
  3. package/dist/docs/help/cli/authentication.md +70 -0
  4. package/dist/docs/help/cli/automation.md +72 -0
  5. package/dist/docs/help/cli/commands/_meta.json +1 -0
  6. package/dist/docs/help/cli/commands/add-spec.md +49 -0
  7. package/dist/docs/help/cli/commands/analyze-code.md +54 -0
  8. package/dist/docs/help/cli/commands/analyze-progress.md +73 -0
  9. package/dist/docs/help/cli/commands/analyze-specs.md +60 -0
  10. package/dist/docs/help/cli/commands/capture-intent.md +56 -0
  11. package/dist/docs/help/cli/commands/check.md +49 -0
  12. package/dist/docs/help/cli/commands/context.md +52 -0
  13. package/dist/docs/help/cli/commands/continue.md +40 -0
  14. package/dist/docs/help/cli/commands/enable-disable.md +53 -0
  15. package/dist/docs/help/cli/commands/help.md +30 -0
  16. package/dist/docs/help/cli/commands/mcp-install.md +54 -0
  17. package/dist/docs/help/cli/commands/plan.md +43 -0
  18. package/dist/docs/help/cli/commands/progress.md +58 -0
  19. package/dist/docs/help/cli/commands/status.md +50 -0
  20. package/dist/docs/help/cli/commands/ui.md +50 -0
  21. package/dist/docs/help/cli/commands/usage.md +65 -0
  22. package/dist/docs/help/cli/commands/version.md +66 -0
  23. package/dist/docs/help/cli/installation.md +70 -0
  24. package/dist/docs/help/cli/quickstart.md +75 -0
  25. package/dist/docs/help/cli/ui/_meta.json +1 -0
  26. package/dist/docs/help/cli/ui/ai-coding-risks-tab.md +46 -0
  27. package/dist/docs/help/cli/ui/appgraph-visualizer-tab.md +54 -0
  28. package/dist/docs/help/cli/ui/artifacts-sidebar.md +53 -0
  29. package/dist/docs/help/cli/ui/chat-panel.md +56 -0
  30. package/dist/docs/help/cli/ui/code-analysis-tab.md +36 -0
  31. package/dist/docs/help/cli/ui/dashboard.md +44 -0
  32. package/dist/docs/help/cli/ui/launching.md +46 -0
  33. package/dist/docs/help/cli/ui/requirements-progress-tab.md +49 -0
  34. package/dist/docs/help/cli/ui/settings-tab.md +52 -0
  35. package/dist/docs/help/cli/ui/tech-debt-tab.md +29 -0
  36. package/dist/docs/help/cli/ui/token-usage-tab.md +46 -0
  37. package/dist/docs/help/concepts/_meta.json +1 -0
  38. package/dist/docs/help/concepts/ai-coding-risks.md +50 -0
  39. package/dist/docs/help/concepts/ai-readiness.md +34 -0
  40. package/dist/docs/help/concepts/analysis-modes.md +66 -0
  41. package/dist/docs/help/concepts/appgraph.md +56 -0
  42. package/dist/docs/help/concepts/artifacts-and-specs.md +46 -0
  43. package/dist/docs/help/concepts/authentication-modes.md +68 -0
  44. package/dist/docs/help/concepts/blast-radius.md +37 -0
  45. package/dist/docs/help/concepts/chat-refinement.md +40 -0
  46. package/dist/docs/help/concepts/congruency-coverage-completeness.md +50 -0
  47. package/dist/docs/help/concepts/implementation-progress.md +44 -0
  48. package/dist/docs/help/concepts/intent-capture.md +46 -0
  49. package/dist/docs/help/concepts/tech-debt-analysis.md +65 -0
  50. package/dist/docs/help/concepts/token-usage.md +70 -0
  51. package/dist/docs/help/concepts/versions-and-snapshots.md +57 -0
  52. package/dist/docs/help/concepts/workflow-overview.md +40 -0
  53. package/dist/docs/help/desktop/_meta.json +1 -0
  54. package/dist/docs/help/desktop/installation.md +56 -0
  55. package/dist/docs/help/desktop/keyboard-shortcuts.md +47 -0
  56. package/dist/docs/help/desktop/menu-bar.md +47 -0
  57. package/dist/docs/help/desktop/notifications.md +44 -0
  58. package/dist/docs/help/desktop/quickstart.md +43 -0
  59. package/dist/docs/help/desktop/switching-workspaces.md +39 -0
  60. package/dist/docs/help/desktop/workspace-picker.md +38 -0
  61. package/dist/docs/help/extension/_meta.json +1 -0
  62. package/dist/docs/help/extension/authentication/_meta.json +1 -0
  63. package/dist/docs/help/extension/authentication/api-key-setup.md +47 -0
  64. package/dist/docs/help/extension/authentication/claude-code-setup.md +43 -0
  65. package/dist/docs/help/extension/authentication/signing-in.md +36 -0
  66. package/dist/docs/help/extension/authentication/switching-auth-modes.md +28 -0
  67. package/dist/docs/help/extension/chat/_meta.json +1 -0
  68. package/dist/docs/help/extension/chat/asking-about-your-project.md +39 -0
  69. package/dist/docs/help/extension/code-analysis/_meta.json +1 -0
  70. package/dist/docs/help/extension/code-analysis/analysis-modes.md +63 -0
  71. package/dist/docs/help/extension/code-analysis/running-code-analysis.md +54 -0
  72. package/dist/docs/help/extension/code-analysis/understanding-ai-coding-risks.md +75 -0
  73. package/dist/docs/help/extension/code-analysis/understanding-tech-debt-analysis.md +90 -0
  74. package/dist/docs/help/extension/code-analysis/understanding-the-code-analysis-tab.md +49 -0
  75. package/dist/docs/help/extension/dev-progress/_meta.json +1 -0
  76. package/dist/docs/help/extension/dev-progress/analyzing-commits.md +56 -0
  77. package/dist/docs/help/extension/dev-progress/understanding-the-dev-progress-tab.md +40 -0
  78. package/dist/docs/help/extension/installation.md +34 -0
  79. package/dist/docs/help/extension/intent-capture/_meta.json +1 -0
  80. package/dist/docs/help/extension/intent-capture/enabling-intent-capture.md +40 -0
  81. package/dist/docs/help/extension/intent-capture/understanding-intent-capture.md +40 -0
  82. package/dist/docs/help/extension/quickstart.md +60 -0
  83. package/dist/docs/help/extension/resetting-analysis.md +46 -0
  84. package/dist/docs/help/extension/settings/_meta.json +1 -0
  85. package/dist/docs/help/extension/settings/notification-preferences.md +38 -0
  86. package/dist/docs/help/extension/settings/telemetry.md +45 -0
  87. package/dist/docs/help/extension/spec-analysis/_meta.json +1 -0
  88. package/dist/docs/help/extension/spec-analysis/adding-specs.md +40 -0
  89. package/dist/docs/help/extension/spec-analysis/analyzing-specs.md +60 -0
  90. package/dist/docs/help/extension/spec-analysis/auditing-specs.md +30 -0
  91. package/dist/docs/help/extension/spec-analysis/filtering-and-browsing-specs.md +43 -0
  92. package/dist/docs/help/extension/spec-analysis/generating-specs.md +47 -0
  93. package/dist/docs/help/extension/spec-analysis/refining-specs.md +53 -0
  94. package/dist/docs/help/extension/spec-analysis/understanding-the-spec-analysis-tab.md +55 -0
  95. package/dist/docs/help/extension/token-usage/_meta.json +1 -0
  96. package/dist/docs/help/extension/token-usage/understanding-token-usage.md +64 -0
  97. package/dist/docs/help/extension/token-usage/viewing-token-usage.md +63 -0
  98. package/dist/docs/help/faq.md +128 -0
  99. package/dist/docs/help/getting-started/_meta.json +1 -0
  100. package/dist/docs/help/getting-started/choosing-a-ui.md +60 -0
  101. package/dist/docs/help/getting-started/first-analysis.md +86 -0
  102. package/dist/docs/help/getting-started/installation.md +65 -0
  103. package/dist/docs/help/getting-started/key-concepts.md +73 -0
  104. package/dist/docs/help/getting-started/supported-project-types.md +65 -0
  105. package/dist/docs/help/getting-started/system-requirements.md +61 -0
  106. package/dist/docs/help/integrations/_meta.json +1 -0
  107. package/dist/docs/help/integrations/ci-cd.md +95 -0
  108. package/dist/docs/help/integrations/claude-code-hooks.md +54 -0
  109. package/dist/docs/help/integrations/claude-code.md +123 -0
  110. package/dist/docs/help/integrations/git-hooks.md +64 -0
  111. package/dist/docs/help/mcp-server/_meta.json +1 -0
  112. package/dist/docs/help/mcp-server/quickstart.md +59 -0
  113. package/dist/docs/help/mcp-server/resources/_meta.json +1 -0
  114. package/dist/docs/help/mcp-server/resources/terminology-resource.md +74 -0
  115. package/dist/docs/help/mcp-server/setup.md +75 -0
  116. package/dist/docs/help/mcp-server/tools/_meta.json +1 -0
  117. package/dist/docs/help/mcp-server/tools/coverage-gaps.md +58 -0
  118. package/dist/docs/help/mcp-server/tools/find-similar-context.md +65 -0
  119. package/dist/docs/help/mcp-server/tools/get-analysis.md +54 -0
  120. package/dist/docs/help/mcp-server/tools/get-details.md +48 -0
  121. package/dist/docs/help/mcp-server/tools/impact-analysis.md +49 -0
  122. package/dist/docs/help/mcp-server/tools/implementation-tasks.md +68 -0
  123. package/dist/docs/help/mcp-server/tools/link-node.md +51 -0
  124. package/dist/docs/help/mcp-server/tools/query.md +53 -0
  125. package/dist/docs/help/mcp-server/tools/tools-reference.md +63 -0
  126. package/dist/docs/help/mcp-server/tools/verify-plan.md +82 -0
  127. package/dist/docs/help/mcp-server/tools/version-diff.md +42 -0
  128. package/dist/docs/help/mcp-server/using-with-claude-code.md +72 -0
  129. package/dist/docs/help/reference/_meta.json +1 -0
  130. package/dist/docs/help/reference/alucify-directory.md +86 -0
  131. package/dist/docs/help/reference/file-types-and-formats.md +76 -0
  132. package/dist/docs/help/reference/glossary.md +60 -0
  133. package/dist/docs/help/reference/how-claude-code-integration-works.md +123 -0
  134. package/dist/docs/help/reference/ui-parity-matrix.md +121 -0
  135. package/dist/docs/help/vscode/_meta.json +1 -0
  136. package/dist/docs/help/vscode/advanced/_meta.json +1 -0
  137. package/dist/docs/help/vscode/advanced/congruency-analysis.md +32 -0
  138. package/dist/docs/help/vscode/advanced/coverage-analysis.md +31 -0
  139. package/dist/docs/help/vscode/advanced/developer-mode.md +34 -0
  140. package/dist/docs/help/vscode/advanced/findings-synthesis.md +27 -0
  141. package/dist/docs/help/vscode/advanced/impact-analysis.md +31 -0
  142. package/dist/docs/help/vscode/advanced/reset-extension.md +39 -0
  143. package/dist/docs/help/vscode/appgraph-visualizer/_meta.json +1 -0
  144. package/dist/docs/help/vscode/appgraph-visualizer/filtering-and-search.md +63 -0
  145. package/dist/docs/help/vscode/appgraph-visualizer/navigating-the-graph.md +34 -0
  146. package/dist/docs/help/vscode/appgraph-visualizer/node-details.md +49 -0
  147. package/dist/docs/help/vscode/appgraph-visualizer/opening-the-visualizer.md +33 -0
  148. package/dist/docs/help/vscode/authentication/_meta.json +1 -0
  149. package/dist/docs/help/vscode/authentication/api-key-setup.md +47 -0
  150. package/dist/docs/help/vscode/authentication/claude-code-setup.md +43 -0
  151. package/dist/docs/help/vscode/authentication/signing-in.md +36 -0
  152. package/dist/docs/help/vscode/authentication/switching-auth-modes.md +28 -0
  153. package/dist/docs/help/vscode/chat/_meta.json +1 -0
  154. package/dist/docs/help/vscode/chat/asking-about-your-project.md +39 -0
  155. package/dist/docs/help/vscode/chat/generating-artifacts-in-chat.md +53 -0
  156. package/dist/docs/help/vscode/chat/refining-specs-in-chat.md +47 -0
  157. package/dist/docs/help/vscode/code-analysis/_meta.json +1 -0
  158. package/dist/docs/help/vscode/code-analysis/ai-coding-risks-panel.md +42 -0
  159. package/dist/docs/help/vscode/code-analysis/project-analysis-panel.md +46 -0
  160. package/dist/docs/help/vscode/code-analysis/running-code-analysis.md +54 -0
  161. package/dist/docs/help/vscode/code-analysis/tech-debt-panel.md +27 -0
  162. package/dist/docs/help/vscode/command-palette.md +83 -0
  163. package/dist/docs/help/vscode/dev-progress/_meta.json +1 -0
  164. package/dist/docs/help/vscode/dev-progress/analyzing-commits.md +56 -0
  165. package/dist/docs/help/vscode/dev-progress/progress-panel-actions.md +56 -0
  166. package/dist/docs/help/vscode/dev-progress/understanding-the-dev-progress-tab.md +40 -0
  167. package/dist/docs/help/vscode/installation.md +34 -0
  168. package/dist/docs/help/vscode/intent-capture/_meta.json +1 -0
  169. package/dist/docs/help/vscode/intent-capture/analyzing-intent.md +49 -0
  170. package/dist/docs/help/vscode/intent-capture/enabling-intent-capture.md +40 -0
  171. package/dist/docs/help/vscode/quickstart.md +60 -0
  172. package/dist/docs/help/vscode/resetting-analysis.md +46 -0
  173. package/dist/docs/help/vscode/settings/_meta.json +1 -0
  174. package/dist/docs/help/vscode/settings/advanced-mode.md +53 -0
  175. package/dist/docs/help/vscode/settings/all-settings.md +66 -0
  176. package/dist/docs/help/vscode/settings/auto-analyze-specs.md +43 -0
  177. package/dist/docs/help/vscode/settings/notification-preferences.md +38 -0
  178. package/dist/docs/help/vscode/settings/telemetry.md +45 -0
  179. package/dist/docs/help/vscode/spec-analysis/_meta.json +1 -0
  180. package/dist/docs/help/vscode/spec-analysis/adding-specs.md +40 -0
  181. package/dist/docs/help/vscode/spec-analysis/analyzing-specs.md +60 -0
  182. package/dist/docs/help/vscode/spec-analysis/auditing-specs.md +30 -0
  183. package/dist/docs/help/vscode/spec-analysis/filtering-and-browsing-specs.md +43 -0
  184. package/dist/docs/help/vscode/spec-analysis/generating-specs.md +47 -0
  185. package/dist/docs/help/vscode/spec-analysis/refining-specs.md +53 -0
  186. package/dist/docs/help/vscode/spec-analysis/specifications-panel.md +46 -0
  187. package/dist/docs/help/vscode/status-bar.md +44 -0
  188. package/dist/docs/help/vscode/token-usage/_meta.json +1 -0
  189. package/dist/docs/help/vscode/token-usage/viewing-token-usage.md +63 -0
  190. package/dist/docs/help/vscode/versions/_meta.json +1 -0
  191. package/dist/docs/help/vscode/versions/comparing-versions.md +47 -0
  192. package/dist/docs/help/vscode/versions/deleting-versions.md +44 -0
  193. package/dist/docs/help/vscode/versions/switching-versions.md +43 -0
  194. package/dist/docs/help/vscode/workflow-controls.md +49 -0
  195. package/dist/docs/help/what-is-alucify.md +56 -0
  196. package/dist/mcp-server-vendored.js +28 -28
  197. package/dist/web/app.css +38 -0
  198. package/dist/web/app.js +671 -0
  199. package/dist/web/favicon.png +0 -0
  200. package/dist/web/favicon.svg +7 -0
  201. package/dist/web/index.html +15 -0
  202. package/package.json +1 -1
@@ -0,0 +1,47 @@
1
+ ---
2
+ order: 5
3
+ title: "Menu Bar"
4
+ description: "Native menu bar options — File, Edit, View, Help."
5
+ ---
6
+
7
+ # Menu Bar
8
+
9
+ Alucify Desktop has a native OS menu bar with standard options organized into four menus.
10
+
11
+ ## File
12
+
13
+ - **Open Workspace…** — switch to a different project folder. See [Switching Workspaces](switching-workspaces.md).
14
+ - **Recent Workspaces** — jump to a recently-used workspace
15
+ - **Close Window** — close the window (quits the app on macOS only if no windows remain)
16
+ - **Quit Alucify** (macOS) / **Exit** (Windows/Linux)
17
+
18
+ ## Edit
19
+
20
+ Standard editing commands — **Undo**, **Redo**, **Cut**, **Copy**, **Paste**, **Select All**. These work in any text field inside the app (e.g., chat input, settings fields).
21
+
22
+ ## View
23
+
24
+ - **Reload** — refresh the web UI (rarely needed; useful if the UI gets into a weird state)
25
+ - **Toggle Developer Tools** — open the Chromium inspector for debugging
26
+ - **Actual Size / Zoom In / Zoom Out** — adjust UI scale
27
+ - **Toggle Full Screen**
28
+
29
+ ## Help
30
+
31
+ - **Alucify Help** — opens the in-app help browser (the content you're reading now)
32
+ - **Send Feedback** — opens a feedback form or email link
33
+ - **Check for Updates** — force an update check
34
+ - **About Alucify** — version, license, credits
35
+
36
+ ## macOS Extras
37
+
38
+ - The **Alucify** menu at the far left (macOS convention) contains **About**, **Preferences**, **Hide / Hide Others**, **Quit**
39
+ - The Dock icon shows a badge count when notifications are pending (see [Notifications](notifications.md))
40
+
41
+ ## Keyboard Access
42
+
43
+ All menu items are keyboard-accessible:
44
+ - macOS: `Cmd+key` combinations
45
+ - Windows/Linux: `Alt+letter` to enter the menu, then arrow keys
46
+
47
+ See [Keyboard Shortcuts](keyboard-shortcuts.md) for the full list.
@@ -0,0 +1,44 @@
1
+ ---
2
+ order: 6
3
+ title: "Notifications"
4
+ description: "OS-native notifications for completed analyses and errors."
5
+ ---
6
+
7
+ # Notifications
8
+
9
+ Alucify Desktop uses your OS's native notification system to tell you when long-running work finishes, so you don't have to keep the window focused.
10
+
11
+ ## What Triggers a Notification
12
+
13
+ - **Analysis completed** — code analysis, spec analysis, or progress analysis finished
14
+ - **Analysis failed** — something went wrong and the run stopped
15
+ - **Intent capture ingested** — new intent was found and added to the AppGraph
16
+
17
+ Short, fast operations (quick mechanical checks, small status queries) don't notify.
18
+
19
+ ## What a Notification Shows
20
+
21
+ - **Title** — what finished (e.g., "Spec Analysis Complete")
22
+ - **Body** — a one-line summary (scores, risk counts, or error message)
23
+ - **Action** — clicking the notification focuses the Alucify window and jumps to the relevant tab
24
+
25
+ ## Enabling / Disabling
26
+
27
+ Notifications are on by default. To turn them off:
28
+
29
+ 1. Open the **Settings** tab in the app
30
+ 2. Toggle **OS Notifications**
31
+
32
+ Or use your OS's notification settings to silence Alucify at the OS level:
33
+
34
+ - **macOS:** System Settings → Notifications → Alucify
35
+ - **Windows:** Settings → System → Notifications → Alucify
36
+ - **Linux:** varies by desktop environment (GNOME Settings → Notifications, KDE System Settings → Notifications)
37
+
38
+ ## Focus Mode / Do Not Disturb
39
+
40
+ Alucify respects your OS-level Focus / Do Not Disturb settings. If DND is on, notifications are queued and shown when DND lifts (OS-dependent behavior).
41
+
42
+ ## Notification History
43
+
44
+ macOS and Windows keep a notification history pane you can review if you missed one. Alucify itself doesn't show an in-app history — the AppGraph versions page and the workflow panel both record what ran when.
@@ -0,0 +1,43 @@
1
+ ---
2
+ order: 1
3
+ title: "Quickstart"
4
+ description: "Install the Alucify Desktop app and run your first analysis."
5
+ ---
6
+
7
+ # Desktop Quickstart
8
+
9
+ The Alucify Desktop app is a standalone native app (macOS, Windows, Linux) that embeds the full Alucify web UI. If you'd rather not install VS Code or manage a CLI, this is the simplest path.
10
+
11
+ ## 1. Install
12
+
13
+ Download the installer for your OS from the Alucify releases page. See [Installation](installation.md) for detailed steps.
14
+
15
+ ## 2. Pick a Workspace
16
+
17
+ On first launch, the app asks you to pick a project folder. This becomes your workspace — Alucify stores its analysis in `.alucify/` inside that folder. See [Workspace Picker](workspace-picker.md).
18
+
19
+ ## 3. Sign In
20
+
21
+ Pick an authentication mode:
22
+ - **Claude Code subscription** (default) — requires Claude Code CLI installed
23
+ - **API key** — paste a key from console.anthropic.com
24
+
25
+ See [Authentication Modes](../concepts/authentication-modes.md).
26
+
27
+ ## 4. Analyze Code
28
+
29
+ On the Dashboard, click **Analyze Code**. Pick an [analysis mode](../concepts/analysis-modes.md) (Speed, Balanced, or Quality) and wait for the analysis to finish. You'll see the result in the Code Analysis tab.
30
+
31
+ ## 5. Add Specs and Analyze
32
+
33
+ Drag your spec files (PRDs, design docs, etc.) into the Artifacts sidebar, or click **Add**. Then click **Analyze Specs**.
34
+
35
+ ## 6. Review Risks
36
+
37
+ Open the AI Coding Risks tab to see what Alucify found. For each risk, you can resolve via chat, update the spec or code, or mark it as ignored.
38
+
39
+ ## What's Next
40
+
41
+ - [Switching Workspaces](switching-workspaces.md) — work on multiple projects
42
+ - [Notifications](notifications.md) — get notified when long analyses finish
43
+ - [Workflow Overview](../concepts/workflow-overview.md) — the full five-step flow
@@ -0,0 +1,39 @@
1
+ ---
2
+ order: 4
3
+ title: "Switching Workspaces"
4
+ description: "Moving between projects without losing analysis state."
5
+ ---
6
+
7
+ # Switching Workspaces
8
+
9
+ You can open a different project at any time — no need to restart the app.
10
+
11
+ ## How to Switch
12
+
13
+ From the menu bar:
14
+ - **File → Open Workspace…** — pick a different folder
15
+ - **File → Recent Workspaces** — jump to a project you've opened before
16
+
17
+ The native file picker opens; pick the new folder, and Alucify reloads with that workspace.
18
+
19
+ ## What Happens Under the Hood
20
+
21
+ When you switch workspaces, Alucify:
22
+
23
+ 1. Stops the server bound to your current workspace
24
+ 2. Starts a new server bound to the new workspace path
25
+ 3. Reloads the web UI against the new server
26
+
27
+ This takes ~1 second. You'll see the window briefly reload.
28
+
29
+ ## Analysis State Is Preserved
30
+
31
+ All your analysis — AppGraphs, versions, risks, progress — is stored inside the workspace's `.alucify/` directory. Switching doesn't touch any of it. When you switch back, your state is exactly as you left it.
32
+
33
+ ## Single Instance
34
+
35
+ Alucify Desktop enforces a single running instance per user. If you try to launch a second copy, it focuses the existing window rather than opening a new one. To work on multiple projects side by side, use the CLI-hosted web UI (via `alucify ui`) in a separate browser tab — that can run alongside the desktop app.
36
+
37
+ ## In-Progress Analyses
38
+
39
+ If you switch workspaces while an analysis is running, the analysis is cancelled cleanly. Any progress written up to that point is kept (as an in-progress version), so nothing is lost — but the run won't complete.
@@ -0,0 +1,38 @@
1
+ ---
2
+ order: 3
3
+ title: "Workspace Picker"
4
+ description: "Choosing which project folder to analyze."
5
+ ---
6
+
7
+ # Workspace Picker
8
+
9
+ Alucify Desktop works on one **workspace** (project folder) at a time. The workspace is where Alucify stores its analysis data — the `.alucify/` directory is created inside this folder.
10
+
11
+ ## First Launch
12
+
13
+ The first time you launch Alucify Desktop, a native file picker opens and asks you to choose a folder. Pick the root of any codebase you want to analyze.
14
+
15
+ The picker requires a directory, not a file. You can't analyze arbitrary files — Alucify needs a project root to infer structure, languages, and build context.
16
+
17
+ ## Recent Workspaces
18
+
19
+ Alucify remembers the workspaces you've opened. On subsequent launches, it reopens the most recently-used workspace automatically. You can switch to a different one at any time; see [Switching Workspaces](switching-workspaces.md).
20
+
21
+ ## What Gets Created in Your Workspace
22
+
23
+ On first analysis, Alucify creates a `.alucify/` directory at the workspace root containing:
24
+
25
+ - `appgraph-baseline.json` / `appgraph-project.json` — the [AppGraph](../concepts/appgraph.md)
26
+ - `artifacts/` — your imported specs
27
+ - `versions/` — historical snapshots
28
+ - `token-usage/` — per-workflow token logs
29
+
30
+ See [Alucify Directory Structure](../reference/alucify-directory.md) for the full layout.
31
+
32
+ ## Version Control
33
+
34
+ You can commit `.alucify/` to git to share analysis across your team, or add it to `.gitignore` for privacy. Your call.
35
+
36
+ ## Changing Workspaces Without Losing Work
37
+
38
+ All analysis data is stored inside the workspace folder — so switching workspaces doesn't lose anything. You can re-open any project later and pick up where you left off.
@@ -0,0 +1 @@
1
+ { "title": "VS Code Extension", "order": 2 }
@@ -0,0 +1 @@
1
+ { "title": "Authentication", "order": 3 }
@@ -0,0 +1,47 @@
1
+ ---
2
+ order: 2
3
+ title: "Setting Up an Anthropic API Key"
4
+ description: "How to configure Alucify with your Anthropic API key for pay-per-use access."
5
+ ---
6
+
7
+ # Setting Up an Anthropic API Key
8
+
9
+ Use your own Anthropic API key to pay per token for AI analysis.
10
+
11
+ ## Getting an API Key
12
+
13
+ 1. Go to [console.anthropic.com](https://console.anthropic.com)
14
+ 2. Create an account or sign in
15
+ 3. Navigate to **API Keys**
16
+ 4. Click **Create Key** and copy the generated key (it starts with `sk-ant-`)
17
+
18
+ ## Entering Your Key in Alucify
19
+
20
+ ### During Welcome Setup
21
+
22
+ 1. In Step 2 of the welcome screen, select **Anthropic API Key**
23
+ 2. Enter your API key in the text field
24
+ 3. Click **Save**
25
+ 4. You'll see a confirmation: "Anthropic API key saved securely."
26
+
27
+ ### After Setup
28
+
29
+ If you need to update your API key later:
30
+
31
+ 1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
32
+ 2. Search for **Alucify: Set Anthropic API Key**
33
+ 3. Enter your new key
34
+
35
+ ## Security
36
+
37
+ Your API key is stored securely in VS Code's built-in secret storage. It is never written to disk in plain text or included in any project files.
38
+
39
+ ## Cost Considerations
40
+
41
+ API costs depend on your analysis mode and project size:
42
+
43
+ - **Speed mode** — Free (no AI calls, mechanical analysis only)
44
+ - **Balanced mode** — Moderate cost (uses Claude Sonnet)
45
+ - **Quality mode** — Higher cost (uses Claude Opus for comprehensive analysis)
46
+
47
+ The exact cost depends on your codebase size and the number of specs you analyze. For most projects, a single code analysis in Balanced mode costs a few dollars.
@@ -0,0 +1,43 @@
1
+ ---
2
+ order: 3
3
+ title: "Using Claude Code / Claude Max Subscription"
4
+ description: "How to use your existing Claude Code or Claude Max subscription with Alucify."
5
+ ---
6
+
7
+ # Using Claude Code / Claude Max Subscription
8
+
9
+ If you have a Claude Code or Claude Max subscription, you can use it with Alucify instead of paying per token with an API key.
10
+
11
+ ## Prerequisites
12
+
13
+ 1. **Claude Code CLI** installed on your machine — download from [claude.ai/download](https://claude.ai/download)
14
+ 2. An active **Claude Code** or **Claude Max** subscription
15
+ 3. The CLI authenticated (run `claude` in your terminal to verify)
16
+
17
+ ## Setting Up
18
+
19
+ ### During Welcome Setup
20
+
21
+ 1. In Step 2 of the welcome screen, select **Claude Code Subscription**
22
+ 2. If the Claude CLI is detected, you'll see a green status indicator
23
+ 3. If the CLI is not detected, you'll see "(CLI not detected)" in red — install Claude Code first
24
+
25
+ ### After Setup
26
+
27
+ You can switch to Claude Code mode at any time:
28
+
29
+ 1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
30
+ 2. Search for **Alucify: Switch Auth Mode**
31
+ 3. Select **Claude Code Subscription**
32
+
33
+ ## How It Works
34
+
35
+ When using Claude Code mode, Alucify runs AI analysis through the Claude CLI on your machine. This uses your subscription's included usage rather than per-token billing.
36
+
37
+ ## Troubleshooting
38
+
39
+ If Alucify can't detect your Claude CLI:
40
+
41
+ - Ensure `claude` is available in your system PATH
42
+ - Try running `claude --version` in your terminal to verify it's installed
43
+ - Restart VS Code after installing the Claude CLI
@@ -0,0 +1,36 @@
1
+ ---
2
+ order: 1
3
+ title: "Creating an Account & Signing In"
4
+ description: "How to create an Alucify account and sign in from the welcome screen."
5
+ ---
6
+
7
+ # Creating an Account & Signing In
8
+
9
+ An Alucify account is required to use the extension. Accounts are free to create.
10
+
11
+ ## Signing Up
12
+
13
+ 1. Click the **Alucify** icon in the VS Code activity bar
14
+ 2. On the welcome screen, find **Step 1: Sign in to Alucify**
15
+ 3. Click **Sign Up / Sign In**
16
+ 4. A browser window opens to the Alucify authentication page
17
+ 5. Create a new account or sign in with an existing one
18
+ 6. After successful authentication, VS Code shows a confirmation — click **Allow** to complete the sign-in
19
+
20
+ Once signed in, a green checkmark appears next to the step, along with your username.
21
+
22
+ ## Signing Out
23
+
24
+ To sign out:
25
+
26
+ 1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
27
+ 2. Search for **Alucify: Logout**
28
+ 3. Select the command
29
+
30
+ ## Signing Back In
31
+
32
+ If you've previously dismissed the welcome screen:
33
+
34
+ 1. Open the Command Palette
35
+ 2. Search for **Alucify: Sign In**
36
+ 3. Follow the browser authentication flow
@@ -0,0 +1,28 @@
1
+ ---
2
+ order: 4
3
+ title: "Switching Between Auth Modes"
4
+ description: "How to switch between Anthropic API key and Claude Code subscription authentication."
5
+ ---
6
+
7
+ # Switching Between Auth Modes
8
+
9
+ You can switch between API key and Claude Code subscription at any time.
10
+
11
+ ## How to Switch
12
+
13
+ 1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
14
+ 2. Search for **Alucify: Switch Auth Mode**
15
+ 3. Select your preferred mode
16
+
17
+ You'll see a confirmation message: "Auth mode switched to: [mode name]"
18
+
19
+ ## When to Switch
20
+
21
+ - **To API Key** — If you don't have a Claude Code subscription, or if you want more control over per-token costs
22
+ - **To Claude Code** — If you have a Claude Code or Claude Max subscription and want to use your subscription's included usage
23
+
24
+ ## Notes
25
+
26
+ - Switching auth modes does not affect your existing analysis data
27
+ - Any in-progress workflows will need to be restarted after switching
28
+ - Your API key (if previously set) is retained in secure storage even when using Claude Code mode, so you can switch back without re-entering it
@@ -0,0 +1 @@
1
+ { "title": "Chat", "order": 7 }
@@ -0,0 +1,39 @@
1
+ ---
2
+ order: 1
3
+ title: "Asking Questions About Your Project"
4
+ description: "How to use the chat panel to ask questions about your project's architecture and specs."
5
+ ---
6
+
7
+ # Asking Questions About Your Project
8
+
9
+ The Ask About Project feature lets you have a conversation with Claude about your project, using the context from your Alucify analysis.
10
+
11
+ ## How to Start
12
+
13
+ 1. In the **Project Analysis** panel header, click the **chat icon** (comment discussion icon)
14
+ 2. Or open the Command Palette and search for **Alucify: Ask about Project**
15
+
16
+ A chat panel opens in the secondary sidebar.
17
+
18
+ ## What You Can Ask
19
+
20
+ With your analysis as context, Claude can answer questions like:
21
+
22
+ - "What does the authentication flow look like?"
23
+ - "Which parts of the codebase handle payment processing?"
24
+ - "Are there any requirements that aren't implemented yet?"
25
+ - "What would be affected if I changed the user data model?"
26
+ - "How does the notification system work?"
27
+
28
+ ## Using the Chat
29
+
30
+ - Type your question in the message input field
31
+ - Press Enter or click the send button
32
+ - Claude responds with answers grounded in your project analysis
33
+ - Continue the conversation with follow-up questions
34
+
35
+ ## Tips
36
+
37
+ - **Run analysis first** — The chat is most useful after you've run code analysis and/or spec analysis, as Claude uses those results to ground its answers
38
+ - **Be specific** — The more specific your question, the more targeted the answer
39
+ - **Use for exploration** — This is a great way to understand an unfamiliar codebase or to explore how different parts of your project relate to each other
@@ -0,0 +1 @@
1
+ { "title": "Code Analysis", "order": 4 }
@@ -0,0 +1,63 @@
1
+ ---
2
+ order: 3
3
+ title: "Analysis Modes: Catalog, Fast, and Full"
4
+ description: "The three analysis depth modes — when to use each and what they produce."
5
+ ---
6
+
7
+ # Analysis Modes
8
+
9
+ Alucify offers three analysis modes that trade off speed, cost, and depth. You choose a mode each time you run code analysis or spec analysis.
10
+
11
+ ## Speed (Catalog Mode)
12
+
13
+ - **Time:** Usually 5–10 minutes
14
+ - **Cost:** Free — no AI calls
15
+ - **How it works:** Uses mechanical analysis (AST parsing and static analysis) to extract your project's structure. No AI model is involved.
16
+ - **Best for:** Getting a quick overview, initial exploration, or when you want to minimize costs
17
+
18
+ **What you get:**
19
+ - Project structure (interfaces, logic, schemas)
20
+ - Tech stack detection
21
+ - Lines of code count
22
+ - Basic dependency mapping
23
+
24
+ ## Balanced (Fast Mode)
25
+
26
+ - **Time:** Usually 15–60 minutes
27
+ - **Cost:** Moderate (uses Claude Sonnet)
28
+ - **How it works:** Combines mechanical analysis with AI-powered extraction for deeper understanding. Uses Claude Sonnet for cost-efficient analysis.
29
+ - **Best for:** Most projects — the recommended default for a good balance of insight and cost
30
+
31
+ **What you get:**
32
+ - Everything in Speed mode, plus:
33
+ - AI-powered classification of components
34
+ - Congruency analysis (when running spec analysis)
35
+ - Richer dependency understanding
36
+
37
+ ## Quality (Full Mode)
38
+
39
+ - **Time:** Usually 45–90 minutes
40
+ - **Cost:** Higher (uses Claude Opus for comprehensive analysis)
41
+ - **How it works:** Full multi-pass AI analysis with all checks enabled. Uses Claude Opus for maximum accuracy and depth.
42
+ - **Best for:** Important analyses where thoroughness matters, such as before a major release or when onboarding a new AI coding agent to a complex project
43
+
44
+ **What you get:**
45
+ - Everything in Balanced mode, plus:
46
+ - Semantic extraction with deeper understanding
47
+ - Comprehensive relationship mapping
48
+ - Holistic congruency analysis across all specs
49
+
50
+ ## Choosing a Mode
51
+
52
+ | Consideration | Speed | Balanced | Quality |
53
+ |---------------|-------|----------|---------|
54
+ | Time | 5–10 min | 15–60 min | 45–90 min |
55
+ | AI Cost | Free | Moderate | Higher |
56
+ | Depth | Surface-level | Good | Comprehensive |
57
+ | Best for | Quick overview | Day-to-day use | Critical analysis |
58
+
59
+ **Tip:** You can start with Speed mode to get quick results, then re-analyze in Balanced or Quality mode when you need deeper insights. Each analysis creates a new version, so you don't lose previous results.
60
+
61
+ ## Selecting a Mode
62
+
63
+ When you click **Analyze Code** or **Analyze Specs**, a dropdown appears with the three options. Select the one that fits your needs. The estimate text reads: "Estimates vary by codebase size."
@@ -0,0 +1,54 @@
1
+ ---
2
+ order: 1
3
+ title: "Analyzing Your Codebase"
4
+ description: "How to run code analysis to build a baseline understanding of your project."
5
+ ---
6
+
7
+ # Analyzing Your Codebase
8
+
9
+ Code analysis scans your project's source code to build a structured understanding of its architecture — what screens, logic, and data models exist.
10
+
11
+ ## Running Code Analysis
12
+
13
+ 1. Open the Alucify sidebar by clicking the Alucify icon in the activity bar
14
+ 2. In the **Project Analysis** panel, click the **Analyze Code** button
15
+ 3. Select an analysis mode:
16
+ - **Speed** — Optimized for speed, usually 5–10 minutes
17
+ - **Balanced** — Balances speed and quality, usually 15–60 minutes
18
+ - **Quality** — Optimized for quality, usually 45–90 minutes
19
+ 4. Wait for the analysis to complete
20
+
21
+ A progress indicator shows the current phase. You can continue working in VS Code while the analysis runs.
22
+
23
+ ## Choosing an Analysis Mode
24
+
25
+ See [Analysis Modes](analysis-modes.md) for a detailed comparison of the three modes.
26
+
27
+ As a general rule:
28
+ - Start with **Speed** to get quick results at no cost
29
+ - Use **Balanced** for most projects where you want AI-powered insights
30
+ - Use **Quality** for important analyses where thoroughness matters most
31
+
32
+ ## Re-Analyzing After Code Changes
33
+
34
+ When your code changes after a previous analysis, the Code Analysis tab shows a message: "Code has changed since the last baseline was generated." Click **Analyze Code** again to update your baseline with the latest changes.
35
+
36
+ ## What Happens During Analysis
37
+
38
+ During code analysis, Alucify:
39
+
40
+ 1. Scans your source files to identify components, services, and data models
41
+ 2. Maps dependencies and relationships between them
42
+ 3. Detects your tech stack (frameworks, languages)
43
+ 4. Counts lines of code
44
+ 5. Saves a versioned snapshot of the analysis
45
+
46
+ When complete, the results appear in the [Code Analysis tab](understanding-the-code-analysis-tab.md).
47
+
48
+ ## Using the Command Palette
49
+
50
+ You can also start code analysis from the Command Palette:
51
+
52
+ 1. Press `Ctrl+Shift+P` / `Cmd+Shift+P`
53
+ 2. Search for **Alucify: Analyze Code**
54
+ 3. Select your analysis mode
@@ -0,0 +1,75 @@
1
+ ---
2
+ order: 5
3
+ title: "Understanding AI Coding Risks"
4
+ description: "How to view and interpret the AI Coding Risks panel — risk types, severity levels, and mitigations."
5
+ ---
6
+
7
+ # Understanding AI Coding Risks
8
+
9
+ AI Coding Risks are issues Alucify identifies that could cause problems when AI coding agents work on your project. Resolving these risks before handing work to an AI agent helps ensure better, more aligned implementations.
10
+
11
+ ## Opening the Panel
12
+
13
+ - From the Code Analysis tab, click **View Details** next to the AI Coding Risks section
14
+ - Or open the Command Palette and search for **Alucify: View AI Coding Risks**
15
+
16
+ ## Risk Severity Levels
17
+
18
+ Each risk has a severity level:
19
+
20
+ - **Critical** (red) — Issues that will very likely cause incorrect AI implementations
21
+ - **High** (orange) — Significant issues that frequently lead to problems
22
+ - **Medium** (yellow) — Moderate issues that may cause occasional problems
23
+ - **Low** (blue) — Minor issues worth addressing when convenient
24
+
25
+ ## Risk Types
26
+
27
+ Alucify identifies several categories of risk:
28
+
29
+ - **Missing UX Spec** — A screen or UI component exists in code but has no corresponding specification
30
+ - **Missing Data Spec** — A data model exists in code but has no corresponding specification
31
+ - **Missing Logic Spec** — Business logic exists in code but has no corresponding specification
32
+ - **Missing Acceptance Criteria** — Requirements exist without clear criteria for what "done" looks like
33
+ - **Requirements Gap** — Specs reference functionality that doesn't exist in code
34
+ - **Conflict** — Contradictions between different specs, or between specs and code
35
+ - **Naming Issue** — Inconsistent terminology between specs and code
36
+ - **Structural Issue** — Architectural problems that could confuse AI agents
37
+ - **High Blast Radius** — Changes to this area affect many other parts of the system
38
+ - **Domain Gap** — Missing domain knowledge that an AI agent would need
39
+ - **Duplicate** — The same concept is defined in multiple places
40
+
41
+ ## Reading a Risk Entry
42
+
43
+ Each risk in the list shows:
44
+
45
+ 1. **Severity** — Color-coded dot indicating severity level
46
+ 2. **Risk Type** — Category of the risk
47
+ 3. **Label** — A brief description of the specific issue
48
+ 4. **Action** — The recommended action to resolve it
49
+
50
+ ## Exploring Solutions
51
+
52
+ Click on a risk to expand it and see solution options:
53
+
54
+ - **Recommended** — The solution Alucify suggests based on the analysis (marked with a badge)
55
+ - **Alternative options** — Other ways to address the issue
56
+ - Each solution shows its expected impact
57
+
58
+ ## Resolving Risks
59
+
60
+ You have several options for each risk:
61
+
62
+ - **Resolve via chat** — Opens the [Refine Specs](../spec-analysis/refining-specs.md) chat to work with Claude on resolving the issue interactively
63
+ - **Ignore this issue** — Marks the risk as ignored if it's not relevant to your project
64
+
65
+ ## Risk Status
66
+
67
+ Risks can have three statuses:
68
+
69
+ - **Open** (red) — Not yet addressed
70
+ - **Fixed** (green) — Resolved, with details about what was changed and when
71
+ - **Ignored** (gray) — Marked as not relevant
72
+
73
+ ## Bulk Actions
74
+
75
+ You can select multiple risks using checkboxes and resolve them together using the **Refine Specs** button at the top of the panel.