|
799 | 799 | </ul> |
800 | 800 | </nav> |
801 | 801 |
|
| 802 | +</li> |
| 803 | + |
| 804 | + <li class="md-nav__item"> |
| 805 | + <a href="#verify-installation" class="md-nav__link"> |
| 806 | + <span class="md-ellipsis"> |
| 807 | + |
| 808 | + Verify Installation |
| 809 | + |
| 810 | + </span> |
| 811 | + </a> |
| 812 | + |
| 813 | + <nav class="md-nav" aria-label="Verify Installation"> |
| 814 | + <ul class="md-nav__list"> |
| 815 | + |
| 816 | + <li class="md-nav__item"> |
| 817 | + <a href="#ai-guided-setup" class="md-nav__link"> |
| 818 | + <span class="md-ellipsis"> |
| 819 | + |
| 820 | + AI-Guided Setup |
| 821 | + |
| 822 | + </span> |
| 823 | + </a> |
| 824 | + |
| 825 | +</li> |
| 826 | + |
| 827 | + </ul> |
| 828 | + </nav> |
| 829 | + |
802 | 830 | </li> |
803 | 831 |
|
804 | 832 | <li class="md-nav__item"> |
|
813 | 841 | <nav class="md-nav" aria-label="Troubleshooting"> |
814 | 842 | <ul class="md-nav__list"> |
815 | 843 |
|
| 844 | + <li class="md-nav__item"> |
| 845 | + <a href="#first-step-run-studyctl-doctor" class="md-nav__link"> |
| 846 | + <span class="md-ellipsis"> |
| 847 | + |
| 848 | + First step: run studyctl doctor |
| 849 | + |
| 850 | + </span> |
| 851 | + </a> |
| 852 | + |
| 853 | +</li> |
| 854 | + |
816 | 855 | <li class="md-nav__item"> |
817 | 856 | <a href="#studyctl-command-not-found" class="md-nav__link"> |
818 | 857 | <span class="md-ellipsis"> |
|
1805 | 1844 | </ul> |
1806 | 1845 | </nav> |
1807 | 1846 |
|
| 1847 | +</li> |
| 1848 | + |
| 1849 | + <li class="md-nav__item"> |
| 1850 | + <a href="#verify-installation" class="md-nav__link"> |
| 1851 | + <span class="md-ellipsis"> |
| 1852 | + |
| 1853 | + Verify Installation |
| 1854 | + |
| 1855 | + </span> |
| 1856 | + </a> |
| 1857 | + |
| 1858 | + <nav class="md-nav" aria-label="Verify Installation"> |
| 1859 | + <ul class="md-nav__list"> |
| 1860 | + |
| 1861 | + <li class="md-nav__item"> |
| 1862 | + <a href="#ai-guided-setup" class="md-nav__link"> |
| 1863 | + <span class="md-ellipsis"> |
| 1864 | + |
| 1865 | + AI-Guided Setup |
| 1866 | + |
| 1867 | + </span> |
| 1868 | + </a> |
| 1869 | + |
| 1870 | +</li> |
| 1871 | + |
| 1872 | + </ul> |
| 1873 | + </nav> |
| 1874 | + |
1808 | 1875 | </li> |
1809 | 1876 |
|
1810 | 1877 | <li class="md-nav__item"> |
|
1819 | 1886 | <nav class="md-nav" aria-label="Troubleshooting"> |
1820 | 1887 | <ul class="md-nav__list"> |
1821 | 1888 |
|
| 1889 | + <li class="md-nav__item"> |
| 1890 | + <a href="#first-step-run-studyctl-doctor" class="md-nav__link"> |
| 1891 | + <span class="md-ellipsis"> |
| 1892 | + |
| 1893 | + First step: run studyctl doctor |
| 1894 | + |
| 1895 | + </span> |
| 1896 | + </a> |
| 1897 | + |
| 1898 | +</li> |
| 1899 | + |
1822 | 1900 | <li class="md-nav__item"> |
1823 | 1901 | <a href="#studyctl-command-not-found" class="md-nav__link"> |
1824 | 1902 | <span class="md-ellipsis"> |
@@ -2418,7 +2496,36 @@ <h3 id="obsidian-vault-path">Obsidian vault path<a class="headerlink" href="#obs |
2418 | 2496 | <div class="highlight"><pre><span></span><code><span class="nt">obsidian_base</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">/mnt/c/Users/YourName/Obsidian</span> |
2419 | 2497 | </code></pre></div> |
2420 | 2498 | <p>For better performance, consider keeping the vault inside WSL2's native filesystem (<code>~/Obsidian/</code>) and syncing with Obsidian Sync or Git.</p> |
| 2499 | +<h2 id="verify-installation">Verify Installation<a class="headerlink" href="#verify-installation" title="Permanent link">¶</a></h2> |
| 2500 | +<p>After installing and configuring, run the health check to make sure everything is working:</p> |
| 2501 | +<div class="highlight"><pre><span></span><code>studyctl<span class="w"> </span>doctor |
| 2502 | +</code></pre></div> |
| 2503 | +<p>This checks Python version, installed packages, config validity, databases, optional dependencies, and AI agent definitions. You'll see a colour-coded table:</p> |
| 2504 | +<ul> |
| 2505 | +<li>Green tick = healthy</li> |
| 2506 | +<li>Yellow ! = warning (often auto-fixable)</li> |
| 2507 | +<li>Red cross = failure (needs attention)</li> |
| 2508 | +<li>Blue i = informational (optional)</li> |
| 2509 | +</ul> |
| 2510 | +<p>If issues are found:</p> |
| 2511 | +<div class="highlight"><pre><span></span><code>studyctl<span class="w"> </span>upgrade<span class="w"> </span><span class="c1"># Fix auto-fixable issues (packages, DB, agents)</span> |
| 2512 | +studyctl<span class="w"> </span>upgrade<span class="w"> </span>--dry-run<span class="w"> </span><span class="c1"># Preview changes first</span> |
| 2513 | +</code></pre></div> |
| 2514 | +<p>For machine-readable output (used by CI pipelines and AI agents):</p> |
| 2515 | +<div class="highlight"><pre><span></span><code>studyctl<span class="w"> </span>doctor<span class="w"> </span>--json |
| 2516 | +</code></pre></div> |
| 2517 | +<h3 id="ai-guided-setup">AI-Guided Setup<a class="headerlink" href="#ai-guided-setup" title="Permanent link">¶</a></h3> |
| 2518 | +<p>If you're using an AI coding assistant, the <strong>install-mentor agent</strong> can guide you through the entire setup process conversationally. It automatically detects your environment, installs packages, runs <code>studyctl doctor</code>, and fixes issues.</p> |
| 2519 | +<p>The prompt lives at <code>agents/shared/install-mentor.md</code> and works with any AI tool that can run shell commands — Claude Code, Kiro CLI, Gemini CLI, OpenCode, or Amp.</p> |
| 2520 | +<p>To use it in Claude Code: |
| 2521 | +<div class="highlight"><pre><span></span><code>Read agents/shared/install-mentor.md and follow its instructions to set up studyctl |
| 2522 | +</code></pre></div></p> |
2421 | 2523 | <h2 id="troubleshooting">Troubleshooting<a class="headerlink" href="#troubleshooting" title="Permanent link">¶</a></h2> |
| 2524 | +<h3 id="first-step-run-studyctl-doctor">First step: run <code>studyctl doctor</code><a class="headerlink" href="#first-step-run-studyctl-doctor" title="Permanent link">¶</a></h3> |
| 2525 | +<p>Before investigating specific issues, always start with the health check:</p> |
| 2526 | +<div class="highlight"><pre><span></span><code>studyctl<span class="w"> </span>doctor |
| 2527 | +</code></pre></div> |
| 2528 | +<p>This will identify most common problems and tell you how to fix them. If auto-fixable issues are found, run <code>studyctl upgrade</code> to resolve them.</p> |
2422 | 2529 | <h3 id="studyctl-command-not-found"><code>studyctl: command not found</code><a class="headerlink" href="#studyctl-command-not-found" title="Permanent link">¶</a></h3> |
2423 | 2530 | <p>The package isn't on your PATH. Either: |
2424 | 2531 | - Run via <code>uv run studyctl</code> instead |
|
0 commit comments