@alucify/cli 0.6.5 → 0.7.0

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,54 @@
1
+ ---
2
+ order: 15
3
+ title: "alucify mcp-install"
4
+ description: "Install just the MCP server for Claude Code, without full Alucify integration."
5
+ ---
6
+
7
+ # `alucify mcp-install`
8
+
9
+ Installs the Alucify MCP server into your project's Claude Code configuration — a lightweight alternative to full [`alucify enable`](enable-disable.md).
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ alucify mcp-install [--with-rules]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ - `--with-rules` — also generate an AppGraph-aware section in `CLAUDE.md`. Without this flag, only the MCP server is registered; `CLAUDE.md` is untouched.
20
+
21
+ ## What Gets Installed
22
+
23
+ - Vendored MCP server script copied to `.alucify/mcp-server.js`
24
+ - Registration added to `.mcp.json` in your project root (Claude Code reads this on startup)
25
+ - *(with `--with-rules`)* CLAUDE.md section explaining how to use the tools
26
+
27
+ ## What Doesn't Get Installed
28
+
29
+ Unlike [`alucify enable`](enable-disable.md), `mcp-install` does **not**:
30
+
31
+ - Install git pre-commit / post-commit hooks
32
+ - Install Claude Code session hooks (for intent capture)
33
+ - Install the `/alucify-plan` or `/alucify-continue` skills
34
+
35
+ This makes it ideal when you want read-only AppGraph access from Claude Code without the full integration.
36
+
37
+ ## When to Use `mcp-install` vs. `enable`
38
+
39
+ | Goal | Command |
40
+ |---|---|
41
+ | Just query the AppGraph from Claude Code | `alucify mcp-install` |
42
+ | Track progress automatically on commits | `alucify enable` |
43
+ | Capture intent from Claude Code sessions | `alucify enable` |
44
+ | Use `/alucify-plan` skill | `alucify enable` |
45
+
46
+ ## Uninstalling
47
+
48
+ Remove the `.mcp.json` entry for Alucify, and delete `.alucify/mcp-server.js`. No automated uninstall command (it's a thin install).
49
+
50
+ ## See Also
51
+
52
+ - [`alucify enable` / `alucify disable`](enable-disable.md)
53
+ - [Claude Code Integration](../../integrations/claude-code.md)
54
+ - [MCP Server Setup](../../mcp-server/setup.md)
@@ -0,0 +1,43 @@
1
+ ---
2
+ order: 8
3
+ title: "alucify plan"
4
+ description: "Generate an implementation plan based on your current analysis."
5
+ ---
6
+
7
+ # alucify plan
8
+
9
+ Launches an interactive Claude Code session with your full project analysis as context, focused on planning implementation of unimplemented requirements.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ alucify plan
15
+ ```
16
+
17
+ No flags or options.
18
+
19
+ ## Prerequisites
20
+
21
+ - Claude Code CLI installed and authenticated
22
+ - A project with analysis results
23
+
24
+ ## What It Does
25
+
26
+ 1. Ensures Claude Code integration is enabled (runs `alucify enable` if needed)
27
+ 2. Opens an interactive Claude Code session
28
+ 3. Claude Code receives your project analysis as context
29
+ 4. The session focuses on planning implementation of all unimplemented requirements
30
+
31
+ ## Example
32
+
33
+ ```bash
34
+ alucify plan
35
+ ```
36
+
37
+ This opens Claude Code with a prompt to plan implementation of all outstanding requirements, using your project's analysis as a guide.
38
+
39
+ ## Notes
40
+
41
+ - This command launches Claude Code interactively — it does not produce CLI output
42
+ - Requires an active Claude Code or Claude Max subscription
43
+ - The session has access to your full project analysis through the MCP server
@@ -0,0 +1,58 @@
1
+ ---
2
+ order: 6
3
+ title: "alucify progress"
4
+ description: "Show progress metrics and implementation statistics since a given version."
5
+ ---
6
+
7
+ # alucify progress
8
+
9
+ Shows per-requirement progress and validation coverage since the last spec analysis (or a specified version).
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ alucify progress [options]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ | Flag | Description | Default |
20
+ |------|-------------|---------|
21
+ | `--since vN` | Use version N as the reference point | Last spec analysis version |
22
+ | `--json` | Output as JSON | Human-readable format |
23
+
24
+ ## Prerequisites
25
+
26
+ - A project with spec analysis and progress tracking results
27
+
28
+ ## What It Shows
29
+
30
+ For each requirement:
31
+ - Name and identifier
32
+ - Current implementation status
33
+ - Status changes since the reference version
34
+ - Validation coverage (e.g., "3/5 implemented, 2/5 tested")
35
+ - New validations added since the reference
36
+
37
+ A summary at the bottom shows:
38
+ - Overall requirement progress
39
+ - Validation coverage statistics
40
+ - New scope (structural, requirement, or validation items added)
41
+
42
+ ## Examples
43
+
44
+ ```bash
45
+ # Show progress since last spec analysis
46
+ alucify progress
47
+
48
+ # Show progress since version 3
49
+ alucify progress --since v3
50
+
51
+ # Output as JSON for scripting
52
+ alucify progress --json
53
+ ```
54
+
55
+ ## Notes
56
+
57
+ - This command reads local data only — no AI calls
58
+ - If the baseline is stale (e.g., after a merge or rebase), a warning is shown
@@ -0,0 +1,50 @@
1
+ ---
2
+ order: 5
3
+ title: "alucify status"
4
+ description: "Show the current implementation status of your project across all components."
5
+ ---
6
+
7
+ # alucify status
8
+
9
+ Displays a summary table showing how many components are in each implementation status, grouped by type.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ alucify status [options]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ | Flag | Description | Default |
20
+ |------|-------------|---------|
21
+ | `--json` | Output as JSON instead of a table | Table format |
22
+
23
+ ## Prerequisites
24
+
25
+ - A project with analysis results (run `analyze-code` and optionally `analyze-specs`)
26
+
27
+ ## Example Output
28
+
29
+ ```
30
+ Type | Planned | In Prog | Impl | Tested | Depr
31
+ ─────────────────┼─────────┼─────────┼────────┼────────┼─────
32
+ interface (10) | 2 | 3 | 5 | - | 0
33
+ logic (45) | 10 | 15 | 15 | - | 5
34
+ schema (25) | 5 | 8 | 12 | - | 0
35
+ requirement (50) | 20 | 10 | 15 | 5 | 0
36
+ validation (26) | 10 | 6 | 8 | 2 | 0
37
+ ```
38
+
39
+ ## JSON Output
40
+
41
+ ```bash
42
+ alucify status --json
43
+ ```
44
+
45
+ Returns a JSON object with counts per type and status, suitable for scripting and CI/CD pipelines.
46
+
47
+ ## Notes
48
+
49
+ - This command reads local data only — no AI calls or network requests
50
+ - Status reflects the latest analysis and progress tracking results
@@ -0,0 +1,50 @@
1
+ ---
2
+ order: 12
3
+ title: "alucify ui"
4
+ description: "Launch the web UI in your browser."
5
+ ---
6
+
7
+ # `alucify ui`
8
+
9
+ Starts a local server and opens the Alucify web UI in your default browser.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ alucify ui [--port <number>] [--no-open]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ - `--port <number>` — bind to a specific port. Default: 3000, auto-falling-back to the next free port if 3000 is taken.
20
+ - `--no-open` — start the server but don't open the browser automatically.
21
+
22
+ ## What It Does
23
+
24
+ 1. Starts a local HTTP + WebSocket server bound to `127.0.0.1:<port>`
25
+ 2. Generates a session token for this process
26
+ 3. Opens your default browser to `http://127.0.0.1:<port>/?session=<token>` (unless `--no-open`)
27
+ 4. Runs in the foreground until you press `Ctrl+C`
28
+
29
+ ## Examples
30
+
31
+ ```bash
32
+ alucify ui # default port, auto-open browser
33
+ alucify ui --port 4000 # custom port
34
+ alucify ui --no-open # headless — useful in CI or SSH sessions
35
+ ```
36
+
37
+ ## Viewing the UI on Another Machine
38
+
39
+ The server binds to localhost only, so you can't just navigate to it from a different machine. If you need that:
40
+ - Set up an SSH tunnel: `ssh -L 3000:127.0.0.1:3000 user@host`
41
+ - Or use the Alucify Desktop app on your local machine, pointing at a shared workspace via a synced folder
42
+
43
+ ## Stopping
44
+
45
+ `Ctrl+C` stops the server and closes any active workflow cleanly.
46
+
47
+ ## See Also
48
+
49
+ - [Web UI — Launching](../ui/launching.md)
50
+ - [Web UI — Dashboard](../ui/dashboard.md)
@@ -0,0 +1,65 @@
1
+ ---
2
+ order: 8
3
+ title: "alucify usage"
4
+ description: "Show a summary of AI token consumption across Alucify workflows and Claude Code sessions."
5
+ ---
6
+
7
+ # alucify usage
8
+
9
+ Displays a summary of token usage for the current project, including totals, breakdowns by source and model, and time-based comparisons.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ alucify usage [options]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ | Flag | Description | Default |
20
+ |------|-------------|---------|
21
+ | `--json` | Output as JSON instead of formatted text | Formatted text |
22
+
23
+ ## Prerequisites
24
+
25
+ - A workspace with `.alucify/` initialized (run `alucify enable` or any analysis command)
26
+
27
+ ## Example Output
28
+
29
+ ```
30
+ Token Usage
31
+
32
+ Total: 682.3K tokens (107 in + 682.2K out)
33
+ This Week: 682.3K tokens
34
+ Today: 197.2K tokens
35
+ Records: 23
36
+
37
+ By Source:
38
+ Alucify 485.1K tokens (16 records)
39
+ Claude Code 197.2K tokens (7 records)
40
+
41
+ By Model:
42
+ Haiku 400.0K tokens (10 records)
43
+ Sonnet 282.3K tokens (13 records)
44
+ ```
45
+
46
+ ## What Gets Tracked
47
+
48
+ - **Alucify workflows** — tokens consumed by code analysis, spec analysis, progress tracking, and other automated agent calls
49
+ - **Claude Code sessions** — tokens from your interactive Claude Code sessions, read from local session logs at `~/.claude/projects/`
50
+
51
+ Running this command also refreshes the token store by ingesting any new Claude Code sessions that haven't been recorded yet.
52
+
53
+ ## JSON Output
54
+
55
+ ```bash
56
+ alucify usage --json
57
+ ```
58
+
59
+ Returns a JSON object with `all`, `today`, `week`, `bySource`, and `byModel` summaries, suitable for scripting.
60
+
61
+ ## Notes
62
+
63
+ - This command reads local data only — no AI calls or network requests
64
+ - Token data is stored in `.alucify/token-usage/usage.jsonl`
65
+ - The same data is viewable in the VS Code extension via the Token Usage panel
@@ -0,0 +1,66 @@
1
+ ---
2
+ order: 7
3
+ title: "alucify version"
4
+ description: "List saved analysis versions and compare differences between them."
5
+ ---
6
+
7
+ # alucify version
8
+
9
+ Lists all saved analysis versions, or compares two versions to see what changed.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ alucify version [options]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ | Flag | Description | Default |
20
+ |------|-------------|---------|
21
+ | `--diff vN..vM` | Compare two versions | List all versions |
22
+ | `--json` | Output as JSON | Human-readable format |
23
+
24
+ ## Listing Versions
25
+
26
+ ```bash
27
+ alucify version
28
+ ```
29
+
30
+ Shows all saved version snapshots with:
31
+ - Version number
32
+ - Creation date
33
+ - What triggered the version (code analysis, spec analysis, or commit tracking)
34
+ - Commit hash (if applicable)
35
+ - Summary of what changed
36
+
37
+ ## Comparing Versions
38
+
39
+ ```bash
40
+ alucify version --diff v1..v3
41
+ ```
42
+
43
+ Shows the differences between two versions:
44
+ - Components added
45
+ - Components removed
46
+ - Status changes (e.g., "Planned → Implemented")
47
+
48
+ You can use either `v1..v3` or `1..3` format.
49
+
50
+ ## Examples
51
+
52
+ ```bash
53
+ # List all versions
54
+ alucify version
55
+
56
+ # Compare v2 and v5
57
+ alucify version --diff v2..v5
58
+
59
+ # Output version list as JSON
60
+ alucify version --json
61
+ ```
62
+
63
+ ## Notes
64
+
65
+ - This command reads local data only — no AI calls
66
+ - Each code analysis, spec analysis, and progress analysis creates a new version automatically
@@ -0,0 +1,70 @@
1
+ ---
2
+ order: 2
3
+ title: "Installing the CLI"
4
+ description: "How to install the Alucify CLI tool."
5
+ ---
6
+
7
+ # Installing the CLI
8
+
9
+ ## Requirements
10
+
11
+ - **Node.js** version 18 or later
12
+ - **npm** (comes with Node.js)
13
+
14
+ ## Global Install
15
+
16
+ Install globally to use the `alucify` command anywhere:
17
+
18
+ ```bash
19
+ npm install -g alucify
20
+ ```
21
+
22
+ Then run commands directly:
23
+
24
+ ```bash
25
+ alucify analyze-code
26
+ alucify status
27
+ ```
28
+
29
+ ## Without Installing (npx)
30
+
31
+ Use `npx` to run without a global install:
32
+
33
+ ```bash
34
+ npx alucify analyze-code
35
+ npx alucify status
36
+ ```
37
+
38
+ This downloads the latest version on first use and caches it.
39
+
40
+ ## Local Install
41
+
42
+ Install as a project dependency:
43
+
44
+ ```bash
45
+ npm install alucify
46
+ ```
47
+
48
+ Then use via npx or npm scripts:
49
+
50
+ ```bash
51
+ npx alucify analyze-code
52
+ ```
53
+
54
+ ## Verifying Installation
55
+
56
+ ```bash
57
+ alucify help
58
+ ```
59
+
60
+ This should display a list of available commands and options.
61
+
62
+ ## Updating
63
+
64
+ To update a global install:
65
+
66
+ ```bash
67
+ npm update -g alucify
68
+ ```
69
+
70
+ Using `npx` always fetches the latest version automatically.
@@ -0,0 +1,75 @@
1
+ ---
2
+ order: 1
3
+ title: "CLI Quick Start"
4
+ description: "Get up and running with the Alucify CLI in under 5 minutes."
5
+ ---
6
+
7
+ # CLI Quick Start
8
+
9
+ The Alucify CLI lets you run analysis, manage specs, and track progress from the command line.
10
+
11
+ ## 1. Install
12
+
13
+ ```bash
14
+ npm install -g alucify
15
+ ```
16
+
17
+ Or use without installing:
18
+
19
+ ```bash
20
+ npx alucify <command>
21
+ ```
22
+
23
+ ## 2. Analyze Your Code
24
+
25
+ ```bash
26
+ alucify analyze-code
27
+ ```
28
+
29
+ This scans your codebase and creates a baseline in `.alucify/`. By default, it uses Speed mode (free, no AI calls). Add `--mode balanced` or `--mode full` for deeper AI-powered analysis.
30
+
31
+ ## 3. Add Your Specs
32
+
33
+ ```bash
34
+ alucify add-spec requirements.pdf design-spec.md api-contract.yaml
35
+ ```
36
+
37
+ Import one or more specification documents.
38
+
39
+ ## 4. Analyze Specs
40
+
41
+ ```bash
42
+ alucify analyze-specs
43
+ ```
44
+
45
+ Compares your specs against your codebase to identify gaps, conflicts, and coverage issues.
46
+
47
+ ## 5. Check Status
48
+
49
+ ```bash
50
+ alucify status
51
+ ```
52
+
53
+ Shows a summary of implementation status across your project.
54
+
55
+ ## 6. Track Progress
56
+
57
+ ```bash
58
+ alucify analyze-progress
59
+ ```
60
+
61
+ Analyzes your git commits to track what's been implemented.
62
+
63
+ ## 7. Connect to Claude Code (Optional)
64
+
65
+ ```bash
66
+ alucify enable
67
+ ```
68
+
69
+ Installs hooks and an MCP server so Claude Code can access your project analysis while coding.
70
+
71
+ ## What's Next?
72
+
73
+ - [Installing the CLI](installation.md) — More installation options
74
+ - [CLI Authentication](authentication.md) — Configure API key or Claude Code subscription
75
+ - [Command Reference](commands/analyze-code.md) — Full details on every command
@@ -0,0 +1 @@
1
+ { "title": "Web UI", "order": 5 }
@@ -0,0 +1,46 @@
1
+ ---
2
+ order: 5
3
+ title: "AI Coding Risks Tab"
4
+ description: "The AI Coding Risks tab in the web UI — risk catalog and resolution."
5
+ ---
6
+
7
+ # AI Coding Risks Tab
8
+
9
+ The AI Coding Risks tab is where you review, prioritize, and resolve risks found during spec analysis.
10
+
11
+ For what AI Coding Risks are and what each type means, see [AI Coding Risks](../../concepts/ai-coding-risks.md).
12
+
13
+ ## Layout
14
+
15
+ The tab shows all identified risks in a sortable, filterable list. Each row includes:
16
+
17
+ - **Severity** — color-coded dot (Critical / High / Medium / Low)
18
+ - **Risk Type** — category
19
+ - **Label** — short description
20
+ - **Status** — Open / Fixed / Ignored
21
+
22
+ ## Filtering
23
+
24
+ - **By severity** — show only Critical, High, etc.
25
+ - **By type** — e.g., only Missing UX Spec or only Conflicts
26
+ - **By status** — Open by default; toggle to see Fixed or Ignored
27
+
28
+ ## Resolving a Risk
29
+
30
+ Click a row to expand it. You'll see:
31
+
32
+ - **Recommended solution** — Alucify's best-guess fix
33
+ - **Alternative solutions** — other ways to address it
34
+ - **Resolve via chat** — opens the [Chat Panel](chat-panel.md) with this risk pre-loaded. Claude helps you refine the relevant spec.
35
+ - **Ignore** — mark the risk as not relevant (can always be unignored)
36
+
37
+ ## Bulk Actions
38
+
39
+ Select multiple risks with the checkbox column, then use the bulk bar at the top:
40
+
41
+ - **Refine Specs** — open chat with all selected risks in context
42
+ - **Ignore selected** — mark all selected as ignored
43
+
44
+ ## Where Risks Come From
45
+
46
+ Risks are generated during spec analysis. If you haven't run spec analysis yet, this tab is empty. See [Workflow Overview](../../concepts/workflow-overview.md).
@@ -0,0 +1,54 @@
1
+ ---
2
+ order: 7
3
+ title: "AppGraph Visualizer Tab"
4
+ description: "The AppGraph Visualizer tab in the web UI — interactive graph of your project."
5
+ ---
6
+
7
+ # AppGraph Visualizer Tab
8
+
9
+ The AppGraph Visualizer is an interactive force-directed graph of every node and edge in your [AppGraph](../../concepts/appgraph.md). Use it to explore structure, trace dependencies, and investigate specific nodes.
10
+
11
+ ## Graph Controls
12
+
13
+ - **Zoom** — scroll wheel or pinch
14
+ - **Pan** — click and drag on empty space
15
+ - **Select a node** — click it; details open in a right-side panel
16
+ - **Focus** — double-click a node to center and zoom in on it
17
+ - **Fit to screen** — keyboard `F` or the Fit button
18
+
19
+ ## Filters
20
+
21
+ The filter panel on the left lets you narrow what's shown:
22
+
23
+ - **Node type** — Interface, Logic, Schema, FunctionalArea, FeatureSpec, Validation, etc.
24
+ - **Status** — Planned / In Progress / Implemented / Tested
25
+ - **Origin** — which spec or source file introduced the node
26
+ - **Intent-captured only** — show only nodes added via [intent capture](../../concepts/intent-capture.md)
27
+ - **Connected to** — focus on the neighborhood around a specific node
28
+
29
+ ## Search
30
+
31
+ The search bar accepts free text. Results highlight matching nodes; click a result to focus it.
32
+
33
+ ## Node Details Panel
34
+
35
+ When you click a node, the right panel shows:
36
+
37
+ - Name, type, and description
38
+ - Status (with gap notes if in-progress)
39
+ - Source file paths (click to open)
40
+ - Inbound and outbound edges (click an edge to navigate to the connected node)
41
+ - Grounding — which spec or code location introduced this node
42
+
43
+ ## Edge Types
44
+
45
+ Edges are color-coded:
46
+ - **Parent** (gray) — hierarchical
47
+ - **Implements** (blue) — Logic implements FeatureSpec
48
+ - **Validates** (green) — Validation covers AcceptanceCriterion
49
+ - **Depends on** (orange) — runtime or code dependency
50
+ - **Affects** (red) — change-impact; used for [blast radius](../../concepts/blast-radius.md)
51
+
52
+ ## Performance
53
+
54
+ Very large graphs (thousands of nodes) may render slowly. Use the type/status filters to narrow the view; the force layout runs faster on smaller subsets.
@@ -0,0 +1,53 @@
1
+ ---
2
+ order: 10
3
+ title: "Artifacts Sidebar"
4
+ description: "Managing specs in the web UI — upload, filter, generate, delete."
5
+ ---
6
+
7
+ # Artifacts Sidebar
8
+
9
+ The Artifacts sidebar is always visible on the left side of the web UI (below the nav). It's where you manage all your imported specs.
10
+
11
+ For what artifacts are and what formats are supported, see [Artifacts & Specs](../../concepts/artifacts-and-specs.md).
12
+
13
+ ## Adding Artifacts
14
+
15
+ - **Drag and drop** — drop files (PDF, Markdown, images, etc.) directly onto the sidebar
16
+ - **Add button** — opens a file picker
17
+ - Multiple files can be added at once
18
+
19
+ Files are copied to `.alucify/artifacts/` and given an initial status of **Pending**.
20
+
21
+ ## Filter Buttons
22
+
23
+ Four filter pills let you narrow the list:
24
+
25
+ - **All** — every artifact
26
+ - **Pending** — not yet analyzed
27
+ - **Preview** — partially analyzed (mini-AppGraph extracted, not yet integrated)
28
+ - **Analyzed** — fully integrated into the project AppGraph
29
+
30
+ The filter persists across sessions.
31
+
32
+ ## Artifact Actions
33
+
34
+ Hover an artifact for quick actions:
35
+
36
+ - **Open** — view the artifact's contents in the main panel
37
+ - **Delete** — remove it from the project (archives any extracted nodes)
38
+ - **Re-analyze** — force re-analysis even if the file hasn't changed
39
+
40
+ ## Generate Button
41
+
42
+ The **Generate** button at the top opens the [Chat Panel](chat-panel.md) in "Generate Artifact" mode. Pick a template (PRD, architecture, UX, epic/story, quick spec, custom), describe what you want, and Claude drafts a new artifact.
43
+
44
+ ## Status Badges
45
+
46
+ Each artifact row shows a colored badge indicating status:
47
+ - **Gray** — Pending
48
+ - **Yellow** — Preview
49
+ - **Green** — Analyzed
50
+
51
+ ## Auto-Analyze
52
+
53
+ If you've enabled **Auto-trigger spec analysis on artifact upload** in Settings, newly-added artifacts trigger analysis immediately rather than waiting for a manual **Analyze Specs** click.