forked from Dicklesworthstone/agentic_coding_flywheel_setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.html
More file actions
5203 lines (5062 loc) · 243 KB
/
README.html
File metadata and controls
5203 lines (5062 loc) · 243 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Agentic Coding Flywheel Setup (ACFS)</title>
<style>
/* From extension vscode.github */
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.vscode-dark img[src$=\#gh-light-mode-only],
.vscode-light img[src$=\#gh-dark-mode-only],
.vscode-high-contrast:not(.vscode-high-contrast-light) img[src$=\#gh-light-mode-only],
.vscode-high-contrast-light img[src$=\#gh-dark-mode-only] {
display: none;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css">
<link href="https://cdn.jsdelivr.net/npm/katex-copytex@latest/dist/katex-copytex.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/markdown.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/highlight.css">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif;
font-size: 14px;
line-height: 1.6;
}
</style>
<style>
.task-list-item {
list-style-type: none;
}
.task-list-item-checkbox {
margin-left: -20px;
vertical-align: middle;
pointer-events: none;
}
</style>
<style>
:root {
--color-note: #0969da;
--color-tip: #1a7f37;
--color-warning: #9a6700;
--color-severe: #bc4c00;
--color-caution: #d1242f;
--color-important: #8250df;
}
</style>
<style>
@media (prefers-color-scheme: dark) {
:root {
--color-note: #2f81f7;
--color-tip: #3fb950;
--color-warning: #d29922;
--color-severe: #db6d28;
--color-caution: #f85149;
--color-important: #a371f7;
}
}
</style>
<style>
.markdown-alert {
padding: 0.5rem 1rem;
margin-bottom: 16px;
color: inherit;
border-left: .25em solid #888;
}
.markdown-alert>:first-child {
margin-top: 0
}
.markdown-alert>:last-child {
margin-bottom: 0
}
.markdown-alert .markdown-alert-title {
display: flex;
font-weight: 500;
align-items: center;
line-height: 1
}
.markdown-alert .markdown-alert-title .octicon {
margin-right: 0.5rem;
display: inline-block;
overflow: visible !important;
vertical-align: text-bottom;
fill: currentColor;
}
.markdown-alert.markdown-alert-note {
border-left-color: var(--color-note);
}
.markdown-alert.markdown-alert-note .markdown-alert-title {
color: var(--color-note);
}
.markdown-alert.markdown-alert-important {
border-left-color: var(--color-important);
}
.markdown-alert.markdown-alert-important .markdown-alert-title {
color: var(--color-important);
}
.markdown-alert.markdown-alert-warning {
border-left-color: var(--color-warning);
}
.markdown-alert.markdown-alert-warning .markdown-alert-title {
color: var(--color-warning);
}
.markdown-alert.markdown-alert-tip {
border-left-color: var(--color-tip);
}
.markdown-alert.markdown-alert-tip .markdown-alert-title {
color: var(--color-tip);
}
.markdown-alert.markdown-alert-caution {
border-left-color: var(--color-caution);
}
.markdown-alert.markdown-alert-caution .markdown-alert-title {
color: var(--color-caution);
}
</style>
</head>
<body class="vscode-body vscode-light">
<h1 id="agentic-coding-flywheel-setup-acfs">Agentic Coding Flywheel Setup (ACFS)</h1>
<p><img src="https://img.shields.io/badge/Version-0.5.0-bd93f9?style=for-the-badge" alt="Version">
<img src="https://img.shields.io/badge/Platform-Ubuntu%2025.10-6272a4?style=for-the-badge" alt="Platform">
<img src="https://img.shields.io/badge/License-MIT-50fa7b?style=for-the-badge" alt="License">
<img src="https://img.shields.io/badge/Shell-Bash-ff79c6?style=for-the-badge" alt="Shell"></p>
<p align="center">
<strong>🌐 <a href="https://agent-flywheel.com">agent-flywheel.com</a></strong> — Interactive setup wizard for beginners
</p>
<blockquote>
<p><strong>From zero to fully-configured agentic coding VPS in 30 minutes.</strong>
A complete bootstrapping system that transforms a fresh Ubuntu VPS into a professional AI-powered development environment.</p>
</blockquote>
<div align="center" style="margin: 1.2em 0;">
<table>
<tr>
<td align="center" style="padding: 8px;">
<strong>The Vision</strong><br/>
<sub>Beginner with laptop → Wizard → VPS → Agents coding for you</sub>
</td>
</tr>
</table>
</div>
<h3 id="quick-install">Quick Install</h3>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/install.sh?<span class="hljs-subst">$(date +%s)</span>"</span> | bash -s -- --<span class="hljs-built_in">yes</span> --mode vibe
</code></pre>
<p>The installer is <strong>idempotent</strong>—if interrupted, simply re-run it. It will automatically resume from the last completed phase without prompts.</p>
<blockquote>
<p><strong>Production environments:</strong> For stable, reproducible installs, pin to a tagged release or specific commit:</p>
<pre><code class="language-bash"><span class="hljs-comment"># Preferred: use a tagged release (e.g., v0.5.0)</span>
ACFS_REF=v0.5.0 curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/v0.5.0/install.sh"</span> | bash -s -- --<span class="hljs-built_in">yes</span> --mode vibe
<span class="hljs-comment"># Alternative: pin to a specific commit SHA</span>
ACFS_REF=abc1234 curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/abc1234/install.sh"</span> | bash -s -- --<span class="hljs-built_in">yes</span> --mode vibe
</code></pre>
<p>Tagged releases are tested and stable. Setting <code>ACFS_REF</code> ensures all fetched scripts use the same version.</p>
</blockquote>
<hr>
<h2 id="tldr">TL;DR</h2>
<p><strong>ACFS</strong> is a complete system for bootstrapping agentic coding environments:</p>
<p><strong>Why you'd care:</strong></p>
<ul>
<li><strong>Zero to Hero:</strong> Takes complete beginners from "I have a laptop" to "I have Claude/Codex/Gemini agents writing code for me on a VPS"</li>
<li><strong>One-Liner Magic:</strong> A single <code>curl | bash</code> command installs 30+ tools, configures everything, and sets up three AI coding agents</li>
<li><strong>Vibe Mode:</strong> Pre-configured for maximum velocity—passwordless sudo, dangerous agent flags enabled, optimized shell environment</li>
<li><strong>Battle-Tested Stack:</strong> Includes the complete Dicklesworthstone stack (10 tools + utilities) for agent orchestration, coordination, and safety</li>
</ul>
<p><strong>What you get:</strong></p>
<ul>
<li>Modern shell (zsh + oh-my-zsh + powerlevel10k)</li>
<li>All language runtimes (bun, uv/Python, Rust, Go)</li>
<li>Three AI coding agents (Claude Code, Codex CLI, Gemini CLI)</li>
<li>Agent coordination tools (NTM, MCP Agent Mail, SLB)</li>
<li>Cloud CLIs (Vault, Wrangler, Supabase, Vercel)</li>
<li>And 20+ more developer tools</li>
</ul>
<hr>
<h2 id="the-acfs-experience">The ACFS Experience</h2>
<pre><code class="language-mermaid">graph LR
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e8f5e9', 'lineColor': '#90a4ae'}}}%%
subgraph user ["User's Machine"]
LAPTOP["Laptop"]
BROWSER["Browser"]
end
subgraph wizard ["Wizard Website"]
STEPS["13-Step Guide"]
end
subgraph vps ["Fresh VPS"]
UBUNTU["Ubuntu 25.10"]
INSTALLER["install.sh"]
CONFIGURED["Configured VPS"]
end
subgraph agents ["AI Agents"]
CLAUDE["Claude Code"]
CODEX["Codex CLI"]
GEMINI["Gemini CLI"]
end
LAPTOP --> BROWSER
BROWSER --> STEPS
STEPS -->|SSH| UBUNTU
UBUNTU --> INSTALLER
INSTALLER --> CONFIGURED
CONFIGURED --> CLAUDE
CONFIGURED --> CODEX
CONFIGURED --> GEMINI
classDef user fill:#e3f2fd,stroke:#90caf9,stroke-width:2px
classDef wizard fill:#fff8e1,stroke:#ffcc80,stroke-width:2px
classDef vps fill:#f3e5f5,stroke:#ce93d8,stroke-width:2px
classDef agent fill:#e8f5e9,stroke:#a5d6a7,stroke-width:2px
class LAPTOP,BROWSER user
class STEPS wizard
class UBUNTU,INSTALLER,CONFIGURED vps
class CLAUDE,CODEX,GEMINI agent
</code></pre>
<h3 id="for-beginners">For Beginners</h3>
<p>ACFS includes a <strong>step-by-step wizard website</strong> at <a href="https://agent-flywheel.com">agent-flywheel.com</a> that guides complete beginners through:</p>
<ol>
<li>Installing a terminal on their local machine</li>
<li>Generating SSH keys (for secure access later)</li>
<li>Renting a VPS from providers like OVH or Contabo</li>
<li>Connecting via SSH with a password (initial setup)</li>
<li>Running the installer (which sets up key-based access)</li>
<li>Reconnecting securely with your SSH key</li>
<li>Starting to code with AI agents</li>
</ol>
<h3 id="for-developers">For Developers</h3>
<p>ACFS is a <strong>one-liner</strong> that transforms any fresh Ubuntu VPS into a fully-configured development environment with modern tooling and three AI coding agents ready to go.</p>
<h3 id="for-teams">For Teams</h3>
<p>ACFS provides a <strong>reproducible, idempotent</strong> setup that ensures every team member's VPS environment is identical—eliminating "works on my machine" for agentic workflows.</p>
<hr>
<h2 id="architecture--design">Architecture & Design</h2>
<p>ACFS is built around a <strong>single source of truth</strong>: the manifest file. Everything else—the installer scripts, doctor checks, website content—derives from this central definition. This architecture ensures consistency and makes the system easy to extend.</p>
<h3 id="one-page-system-data-flow">One-Page System Data Flow</h3>
<pre><code class="language-mermaid">flowchart TB
%% User and website
subgraph U["User (local machine)"]
Browser["Browser"]
Terminal["Terminal / SSH client"]
end
subgraph W["Wizard Website (Next.js 16) — apps/web"]
Wizard["Wizard UI (/wizard/*)"]
InstallRoute["GET /install (302 redirect to raw install.sh)"]
WebState["State: URL params + localStorage"]
end
%% Repo sources
subgraph R["Repo (source)"]
Manifest["acfs.manifest.yaml<br/>Modules + install + verify + deps"]
Generator["packages/manifest<br/>Parser (Zod) + generate.ts"]
Generated["scripts/generated/* (reference)<br/>category installers + doctor_checks.sh"]
Installer["install.sh (production one-liner)"]
Lib["scripts/lib/*<br/>security / doctor / update / services-setup"]
Configs["acfs/*<br/>zshrc + tmux.conf + onboard lessons"]
Checksums["checksums.yaml<br/>sha256 for upstream installers"]
Tests["tests/vm/test_install_ubuntu.sh<br/>Docker integration test"]
end
%% Target VPS
subgraph V["Target VPS (Ubuntu 25.10, auto-upgraded)"]
Run["Run install.sh"]
Verify["Verified upstream installers<br/>(security.sh + checksums.yaml)"]
AcfsHome["~/.acfs/<br/>configs + scripts + state.json"]
Commands["Commands<br/>acfs doctor / acfs update / acfs services-setup / onboard"]
Tools["Installed tools<br/>bun/uv/rust/go + tmux/rg/gh + vault + ..."]
Agents["Agent CLIs<br/>claude / codex / gemini"]
Stack["Stack tools<br/>ntm / mcp_agent_mail / ubs / bv / cass / cm / caam / slb / dcg / ru"]
end
%% Website guidance flow
Browser --> Wizard
Wizard --> WebState
Wizard --> InstallRoute
InstallRoute -->|redirects to| Installer
%% How users fetch/run the installer
Terminal -->|curl / bash| Installer
Terminal -->|SSH| Run
%% Manifest-driven generation (reference today)
Manifest --> Generator --> Generated
Generated -.->|planned: install.sh calls generated install_all.sh| Installer
%% Installer composition
Lib --> Installer
Configs --> Installer
Checksums --> Installer
Tests -->|validates| Installer
%% VPS install results
Installer --> Run
Run --> Verify
Verify --> Tools
Verify --> Agents
Verify --> Stack
Run --> AcfsHome --> Commands
</code></pre>
<pre><code>┌─────────────────────────────────────────────────────────────────────────────┐
│ SOURCE OF TRUTH │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ acfs.manifest.yaml │ │
│ │ Tool Definitions • Install Commands • Verification Logic │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
│
┌─────────────────┴─────────────────┐
▼ ▼
┌───────────────────────────────────┐ ┌───────────────────────────────────┐
│ CODE GENERATION │ │ WIZARD WEBSITE │
│ ┌─────────────────────────────┐ │ │ ┌─────────────────────────────┐ │
│ │ TypeScript Parser (Zod) │ │ │ │ apps/web/ (Next.js 16) │ │
│ │ generate.ts │ │ │ │ agent-flywheel.com │ │
│ └─────────────────────────────┘ │ │ └─────────────────────────────┘ │
└───────────────────────────────────┘ └───────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────┐
│ GENERATED OUTPUTS (REFERENCE) │
│ ┌────────────────────┐ ┌────────────────────┐ ┌────────────────────┐ │
│ │ scripts/generated/ │ │ doctor_checks.sh │ │ install_all.sh │ │
│ │ 11 Category Scripts│ │ Verification Logic │ │ Master Installer │ │
│ └────────────────────┘ └────────────────────┘ └────────────────────┘ │
└───────────────────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────┐
│ INSTALLER │
│ install.sh + scripts/lib/*.sh + checksums.yaml (SHA256 verification) │
│ (scripts/generated/* are sourced; execution is feature-flagged) │
└───────────────────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────┐
│ TARGET VPS │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ 30+ Tools │ │ zsh + p10k │ │ AI Agents │ │ ~/.acfs/ │ │
│ │ Installed │ │ Shell Config │ │ Claude/Codex │ │ Configurations│ │
│ └──────────────┘ └──────────────┘ └──────────────┘ └──────────────┘ │
└───────────────────────────────────────────────────────────────────────────┘
</code></pre>
<h3 id="why-this-architecture">Why This Architecture?</h3>
<p><strong>Single Source of Truth</strong>: The manifest file (<code>acfs.manifest.yaml</code>) defines every tool—its name, description, install commands, and verification logic. When you add or edit a tool in the manifest, the generator automatically updates the generated scripts and manifest-derived checks. The production one-liner installer (<code>install.sh</code>) is still hand-written today, so behavior changes may also require updating <code>install.sh</code> until full migration.</p>
<p><strong>TypeScript + Zod Validation</strong>: The manifest parser uses Zod schemas to validate the YAML at parse time. Typos, missing fields, and structural errors are caught immediately during generation—not at runtime on a user's VPS when the installer fails halfway through.</p>
<p><strong>Generated Scripts</strong>: Rather than hand-maintaining 11 category installer scripts and keeping them synchronized, the generator produces them from the manifest. This means:</p>
<ul>
<li>A consistent, auditable view of manifest-defined install logic (some modules intentionally emit TODOs)</li>
<li>Consistent error handling and logging across all modules</li>
<li>A clear path toward future installer integration</li>
</ul>
<h3 id="components">Components</h3>
<table>
<thead>
<tr>
<th>Component</th>
<th>Path</th>
<th>Technology</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Manifest</strong></td>
<td><code>acfs.manifest.yaml</code></td>
<td>YAML</td>
<td>Single source of truth for all tools</td>
</tr>
<tr>
<td><strong>Generator</strong></td>
<td><code>packages/manifest/src/generate.ts</code></td>
<td>TypeScript/Bun</td>
<td>Produces installer scripts from manifest</td>
</tr>
<tr>
<td><strong>Website</strong></td>
<td><code>apps/web/</code></td>
<td>Next.js 16 + Tailwind 4</td>
<td>Step-by-step wizard for beginners</td>
</tr>
<tr>
<td><strong>Installer</strong></td>
<td><code>install.sh</code></td>
<td>Bash</td>
<td>One-liner bootstrap script</td>
</tr>
<tr>
<td><strong>Lib Scripts</strong></td>
<td><code>scripts/lib/</code></td>
<td>Bash</td>
<td>Modular installer functions</td>
</tr>
<tr>
<td><strong>Generated Scripts</strong></td>
<td><code>scripts/generated/</code></td>
<td>Bash</td>
<td>Auto-generated category installers (sourced by <code>install.sh</code>; execution is feature-flagged)</td>
</tr>
<tr>
<td><strong>Configs</strong></td>
<td><code>acfs/</code></td>
<td>Shell/Tmux configs</td>
<td>Files deployed to <code>~/.acfs/</code></td>
</tr>
<tr>
<td><strong>Onboarding</strong></td>
<td><code>acfs/onboard/</code></td>
<td>Bash + Markdown</td>
<td>Interactive tutorial system</td>
</tr>
<tr>
<td><strong>Checksums</strong></td>
<td><code>checksums.yaml</code></td>
<td>YAML</td>
<td>SHA256 hashes for upstream installers</td>
</tr>
</tbody>
</table>
<hr>
<h2 id="the-manifest-system">The Manifest System</h2>
<p><code>acfs.manifest.yaml</code> is the <strong>single source of truth</strong> for all tools installed by ACFS. It defines what gets installed, how to install it, and how to verify the installation worked.</p>
<h3 id="manifest-structure">Manifest Structure</h3>
<pre><code class="language-yaml"><span class="hljs-attr">version:</span> <span class="hljs-string">"1.0"</span>
<span class="hljs-attr">meta:</span>
<span class="hljs-attr">name:</span> <span class="hljs-string">"ACFS"</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">"Agentic Coding Flywheel Setup"</span>
<span class="hljs-attr">version:</span> <span class="hljs-string">"0.1.0"</span>
<span class="hljs-attr">modules:</span>
<span class="hljs-attr">base.system:</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">"Base packages + sane defaults"</span>
<span class="hljs-attr">category:</span> <span class="hljs-string">base</span>
<span class="hljs-attr">install:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">sudo</span> <span class="hljs-string">apt-get</span> <span class="hljs-string">update</span> <span class="hljs-string">-y</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">sudo</span> <span class="hljs-string">apt-get</span> <span class="hljs-string">install</span> <span class="hljs-string">-y</span> <span class="hljs-string">curl</span> <span class="hljs-string">git</span> <span class="hljs-string">ca-certificates</span> <span class="hljs-string">unzip</span> <span class="hljs-string">tar</span> <span class="hljs-string">xz-utils</span> <span class="hljs-string">jq</span> <span class="hljs-string">build-essential</span>
<span class="hljs-attr">verify:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">curl</span> <span class="hljs-string">--version</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">git</span> <span class="hljs-string">--version</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">jq</span> <span class="hljs-string">--version</span>
<span class="hljs-attr">agents.claude:</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">"Claude Code"</span>
<span class="hljs-attr">category:</span> <span class="hljs-string">agents</span>
<span class="hljs-attr">install:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">"Install claude code via official method"</span>
<span class="hljs-attr">verify:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">claude</span> <span class="hljs-string">--version</span> <span class="hljs-string">||</span> <span class="hljs-string">claude</span> <span class="hljs-string">--help</span>
</code></pre>
<p>Each module specifies:</p>
<ul>
<li><strong>description</strong>: Human-readable name</li>
<li><strong>category</strong>: Grouping for installer organization (base, shell, cli, lang, tools, db, cloud, agents, stack, acfs)</li>
<li><strong>install</strong>: Commands to run (or descriptions that become TODOs)</li>
<li><strong>verify</strong>: Commands that must succeed to confirm installation</li>
</ul>
<h3 id="the-generator-pipeline">The Generator Pipeline</h3>
<p>The TypeScript generator (<code>packages/manifest/src/generate.ts</code>) reads the manifest and produces:</p>
<ol>
<li>
<p><strong>Category Scripts</strong> (<code>scripts/generated/install_base.sh</code>, <code>install_agents.sh</code>, etc.)</p>
<ul>
<li>One script per category with individual install functions</li>
<li>Consistent logging and error handling</li>
<li>Verification checks after each module</li>
</ul>
</li>
<li>
<p><strong>Doctor Checks</strong> (<code>scripts/generated/doctor_checks.sh</code>)</p>
<ul>
<li>All verify commands extracted into a runnable health check</li>
<li>Tab-delimited format (to safely handle <code>||</code> in shell commands)</li>
<li>Reports pass/fail/skip for each module</li>
</ul>
</li>
<li>
<p><strong>Master Installer</strong> (<code>scripts/generated/install_all.sh</code>)</p>
<ul>
<li>Sources all category scripts</li>
<li>Runs them in dependency order</li>
<li>Single entry point for running the generated installers</li>
</ul>
</li>
</ol>
<blockquote>
<p>Note: The production one-liner installer (<code>install.sh</code>) defaults to the legacy implementations; generated installers are sourced and can be enabled per-category via feature flags during migration.</p>
</blockquote>
<p>To regenerate after manifest changes:</p>
<pre><code class="language-bash"><span class="hljs-built_in">cd</span> packages/manifest
bun run generate <span class="hljs-comment"># Generate scripts</span>
bun run generate:dry <span class="hljs-comment"># Preview without writing</span>
</code></pre>
<h3 id="why-typescript-for-code-generation">Why TypeScript for Code Generation?</h3>
<p>Shell can parse YAML with <code>yq</code>, but TypeScript + Zod offers:</p>
<ul>
<li><strong>Type safety</strong>: The parser knows the exact shape of a manifest</li>
<li><strong>Validation</strong>: Zod catches malformed YAML with descriptive errors</li>
<li><strong>Transformation</strong>: Complex logic (sorting by dependencies, escaping) is natural in TypeScript</li>
<li><strong>Consistency</strong>: All generated code follows the same patterns</li>
</ul>
<p>The generator itself is ~400 lines of TypeScript. The generated output is ~1000 lines of Bash across 13 files. The trade-off is clearly in favor of maintaining the generator.</p>
<hr>
<h2 id="security-verification">Security Verification</h2>
<p>ACFS downloads and executes installer scripts from the internet. This is inherently risky—a compromised upstream could inject malicious code. The security verification system mitigates this risk.</p>
<h3 id="how-it-works">How It Works</h3>
<p>The <code>checksums.yaml</code> file contains SHA256 hashes for all upstream installer scripts:</p>
<pre><code class="language-yaml"><span class="hljs-comment"># checksums.yaml</span>
<span class="hljs-attr">installers:</span>
<span class="hljs-attr">bun:</span>
<span class="hljs-attr">url:</span> <span class="hljs-string">"https://bun.sh/install"</span>
<span class="hljs-attr">sha256:</span> <span class="hljs-string">"a1b2c3d4..."</span>
<span class="hljs-attr">rust:</span>
<span class="hljs-attr">url:</span> <span class="hljs-string">"https://sh.rustup.rs"</span>
<span class="hljs-attr">sha256:</span> <span class="hljs-string">"e5f6a7b8..."</span>
</code></pre>
<p>The security library (<code>scripts/lib/security.sh</code>) provides:</p>
<ol>
<li>
<p><strong>HTTPS Enforcement</strong>: All installer URLs must use HTTPS. Non-HTTPS URLs fail immediately.</p>
</li>
<li>
<p><strong>Checksum Verification</strong>: Before executing a downloaded script, the system:</p>
<ul>
<li>Downloads the content to memory</li>
<li>Calculates the SHA256 hash</li>
<li>Compares against the stored hash</li>
<li>Only executes if they match</li>
</ul>
</li>
<li>
<p><strong>Verification Modes</strong>:</p>
<pre><code class="language-bash">./scripts/lib/security.sh --<span class="hljs-built_in">print</span> <span class="hljs-comment"># List all upstream URLs</span>
./scripts/lib/security.sh --verify <span class="hljs-comment"># Verify all against saved checksums</span>
./scripts/lib/security.sh --update-checksums <span class="hljs-comment"># Generate new checksums.yaml</span>
./scripts/lib/security.sh --checksum URL <span class="hljs-comment"># Calculate SHA256 of any URL</span>
</code></pre>
</li>
</ol>
<h3 id="when-checksums-fail">When Checksums Fail</h3>
<p>A checksum mismatch can mean:</p>
<ol>
<li><strong>Normal update</strong>: The upstream maintainer released a new version</li>
<li><strong>Potential compromise</strong>: Someone modified the script maliciously</li>
</ol>
<p>The verification report distinguishes these cases:</p>
<ul>
<li>If multiple checksums fail simultaneously, investigate before updating</li>
<li>If a single checksum fails after a known release, update is likely safe</li>
</ul>
<p>To update after verifying a legitimate upstream change:</p>
<pre><code class="language-bash">./scripts/lib/security.sh --update-checksums > checksums.yaml
git diff checksums.yaml <span class="hljs-comment"># Review what changed</span>
git commit -m <span class="hljs-string">"chore: update upstream checksums"</span>
</code></pre>
<h3 id="why-this-approach">Why This Approach?</h3>
<p>The <code>curl | bash</code> pattern is controversial but practical. ACFS makes it safer by:</p>
<ul>
<li>Verifying content before execution (not just transport via HTTPS)</li>
<li>Making checksums auditable in version control</li>
<li>Providing tools to detect and investigate changes</li>
<li>Failing closed (no execution on mismatch)</li>
</ul>
<p>This is defense in depth—HTTPS protects transport, checksums protect content.</p>
<hr>
<h2 id="the-installer">The Installer</h2>
<p>The installer is the heart of ACFS—a modular Bash script that transforms a fresh Ubuntu VPS into a fully-configured development environment.</p>
<h3 id="usage">Usage</h3>
<p>Full vibe mode (recommended for throwaway VPS):</p>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/install.sh?<span class="hljs-subst">$(date +%s)</span>"</span> | bash -s -- --<span class="hljs-built_in">yes</span> --mode vibe
</code></pre>
<p>Interactive mode (asks for confirmation):</p>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/install.sh"</span> | bash
</code></pre>
<p>Safe mode (no passwordless sudo, agent confirmations enabled):</p>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/install.sh"</span> | bash -s -- --mode safe
</code></pre>
<h3 id="installer-modes">Installer Modes</h3>
<table>
<thead>
<tr>
<th>Mode</th>
<th>Passwordless Sudo</th>
<th>Agent Flags</th>
<th>Best For</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>vibe</strong></td>
<td>Yes</td>
<td><code>--dangerously-skip-permissions</code></td>
<td>Throwaway VPS, maximum velocity</td>
</tr>
<tr>
<td><strong>safe</strong></td>
<td>No</td>
<td>Standard confirmations</td>
<td>Production-like environments</td>
</tr>
</tbody>
</table>
<h3 id="installation-phases">Installation Phases</h3>
<pre><code class="language-mermaid">graph TD
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e8f5e9', 'lineColor': '#90a4ae'}}}%%
A["Phase 1: User Normalization<br/><small>Create ubuntu user, migrate SSH keys</small>"]
B["Phase 2: APT Packages<br/><small>Essential system packages</small>"]
C["Phase 3: Shell Setup<br/><small>zsh, oh-my-zsh, powerlevel10k</small>"]
D["Phase 4: CLI Tools<br/><small>ripgrep, fzf, lazygit, etc.</small>"]
E["Phase 5: Language Runtimes<br/><small>bun, uv, rust, go</small>"]
F["Phase 6: AI Agents<br/><small>claude, codex, gemini</small>"]
G["Phase 7: Cloud Tools<br/><small>vault, wrangler, supabase, vercel</small>"]
H["Phase 8: Dicklesworthstone Stack<br/><small>ntm, dcg, ru, ubs, mcp_agent_mail, etc.</small>"]
I["Phase 9: Configuration<br/><small>Deploy acfs.zshrc, tmux.conf</small>"]
J["Phase 10: Verification<br/><small>acfs doctor</small>"]
A --> B --> C --> D --> E --> F --> G --> H --> I --> J
classDef phase fill:#e8f5e9,stroke:#81c784,stroke-width:2px,color:#2e7d32
class A,B,C,D,E,F,G,H,I,J phase
</code></pre>
<h3 id="key-properties">Key Properties</h3>
<table>
<thead>
<tr>
<th>Property</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Idempotent</strong></td>
<td>Safe to re-run; skips already-installed tools</td>
</tr>
<tr>
<td><strong>Checkpointed</strong></td>
<td>Phases resume automatically from <code>~/.acfs/state.json</code></td>
</tr>
<tr>
<td><strong>Pre-flight validated</strong></td>
<td>Run <code>scripts/preflight.sh</code> to catch issues before install</td>
</tr>
<tr>
<td><strong>Logged</strong></td>
<td>Colored output with progress indicators</td>
</tr>
<tr>
<td><strong>Modular</strong></td>
<td>Each category is a separate sourceable script</td>
</tr>
</tbody>
</table>
<h3 id="resume-capability">Resume Capability</h3>
<p>The installer tracks progress in <code>~/.acfs/state.json</code>. If interrupted:</p>
<ul>
<li>Re-run the same command—it resumes from the last completed phase</li>
<li>No prompts or confirmations needed (with <code>--yes</code>)</li>
<li>Already-installed tools are detected and skipped</li>
</ul>
<p>To force a fresh reinstall of all tools:</p>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/install.sh"</span> | bash -s -- --<span class="hljs-built_in">yes</span> --mode vibe --force-reinstall
</code></pre>
<h3 id="pre-flight-check">Pre-Flight Check</h3>
<p>Before running the full installer, validate your system:</p>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/scripts/preflight.sh"</span> | bash
</code></pre>
<p>This checks:</p>
<ul>
<li>OS compatibility (Ubuntu 22.04+; installer upgrades to 25.10)</li>
<li>Architecture (x86_64 or ARM64)</li>
<li>Memory and disk space</li>
<li>Network connectivity to required URLs</li>
<li>APT lock status</li>
<li>Potential conflicts (nvm, pyenv, existing ACFS)</li>
</ul>
<h3 id="console-output">Console Output</h3>
<p>The installer uses semantic colors for progress visibility:</p>
<pre><code class="language-bash">[1/8] Installing essential packages... <span class="hljs-comment"># Blue: progress steps</span>
Installing zsh, git, curl... <span class="hljs-comment"># Gray: details</span>
⚠️ May take a few minutes <span class="hljs-comment"># Yellow: warnings</span>
✖ Failed to install package <span class="hljs-comment"># Red: errors</span>
✔ Shell setup complete <span class="hljs-comment"># Green: success</span>
</code></pre>
<h3 id="automatic-ubuntu-upgrade">Automatic Ubuntu Upgrade</h3>
<p>ACFS automatically upgrades Ubuntu to version <strong>25.10</strong> before installation when running on older versions. This ensures compatibility with the latest packages and optimal performance.</p>
<p><strong>How it works:</strong></p>
<ol>
<li>Detects your current Ubuntu version</li>
<li>Calculates the upgrade path (e.g., 24.04 → 25.04 → 25.10)</li>
<li>Performs sequential <code>do-release-upgrade</code> operations</li>
<li>Reboots after each upgrade (handled automatically)</li>
<li>Resumes via systemd service after reboot</li>
<li>Continues ACFS installation once at target version</li>
</ol>
<p><strong>Expected timeline:</strong></p>
<ul>
<li>Each version hop takes 30-60 minutes</li>
<li>Full chain from 24.04 → 25.10 takes 1.5-3 hours</li>
<li>SSH sessions disconnect during reboots (reconnect to monitor)</li>
</ul>
<p><strong>To skip automatic upgrade:</strong></p>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/install.sh"</span> | bash -s -- --<span class="hljs-built_in">yes</span> --mode vibe --skip-ubuntu-upgrade
</code></pre>
<p><strong>To specify a different target version:</strong></p>
<pre><code class="language-bash">curl -fsSL <span class="hljs-string">"https://raw.githubusercontent.com/deepakdgupta1/agentic-coding/main/install.sh"</span> | bash -s -- --<span class="hljs-built_in">yes</span> --mode vibe --target-ubuntu=25.04
</code></pre>
<p><strong>Monitoring upgrade progress:</strong></p>
<pre><code class="language-bash"><span class="hljs-comment"># Check current status</span>
/var/lib/acfs/check_status.sh
<span class="hljs-comment"># View upgrade logs</span>
journalctl -u acfs-upgrade-resume -f
<span class="hljs-comment"># View detailed logs</span>
<span class="hljs-built_in">tail</span> -f /var/log/acfs/upgrade_resume.log
</code></pre>
<p><strong>Important notes:</strong></p>
<ul>
<li>Create a VM snapshot before upgrading (recommended but not required)</li>
<li>Upgrades cannot be undone without restoring from snapshot</li>
<li>The system will reboot multiple times automatically</li>
<li>EOL interim releases (like 24.10) may be skipped automatically if they are no longer offered by <code>do-release-upgrade</code></li>
<li>Reconnect via SSH after each reboot to monitor progress</li>
</ul>
<hr>
<h2 id="the-update-command">The Update Command</h2>
<p>After installation, keeping tools current is handled by <code>acfs-update</code>. It provides a unified interface for updating all installed components.</p>
<h3 id="usage-1">Usage</h3>
<pre><code class="language-bash">acfs-update <span class="hljs-comment"># Update apt, runtimes, shell, agents, and cloud CLIs</span>
acfs-update --stack <span class="hljs-comment"># Include Dicklesworthstone stack tools</span>
acfs-update --agents-only <span class="hljs-comment"># Only update coding agents</span>
acfs-update --runtime-only <span class="hljs-comment"># Only update runtimes (bun, rust, uv, go)</span>
acfs-update --dry-run <span class="hljs-comment"># Preview changes without making them</span>
acfs-update --<span class="hljs-built_in">yes</span> --quiet <span class="hljs-comment"># Automated/CI mode with minimal output</span>
</code></pre>
<h3 id="what-gets-updated">What Gets Updated</h3>
<table>
<thead>
<tr>
<th>Category</th>
<th>Tools</th>
<th>Method</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>System</strong></td>
<td>apt packages</td>
<td><code>apt update && apt upgrade</code></td>
</tr>
<tr>
<td><strong>Shell</strong></td>
<td>OMZ, P10K, plugins</td>
<td><code>git pull</code> on each repo</td>
</tr>
<tr>
<td><strong>Shell</strong></td>
<td>Atuin, Zoxide</td>
<td>Re-run upstream installers</td>
</tr>
<tr>
<td><strong>Runtime</strong></td>
<td>Bun</td>
<td><code>bun upgrade</code></td>
</tr>
<tr>
<td><strong>Runtime</strong></td>
<td>Rust</td>
<td><code>rustup update stable</code></td>
</tr>
<tr>
<td><strong>Runtime</strong></td>
<td>uv (Python)</td>
<td><code>uv self update</code></td>
</tr>
<tr>
<td><strong>Runtime</strong></td>
<td>Go</td>
<td><code>apt upgrade</code> (if apt-managed)</td>
</tr>
<tr>
<td><strong>Agents</strong></td>
<td>Claude Code</td>
<td><code>claude update</code></td>
</tr>
<tr>
<td><strong>Agents</strong></td>
<td>Codex, Gemini</td>
<td><code>bun install -g @latest</code></td>
</tr>
<tr>
<td><strong>Cloud</strong></td>
<td>Wrangler, Vercel</td>
<td><code>bun install -g @latest</code></td>
</tr>
<tr>
<td><strong>Cloud</strong></td>
<td>Supabase</td>
<td>GitHub release tarball (sha256 checksums)</td>
</tr>
<tr>
<td><strong>Stack</strong></td>
<td>ntm, slb, ubs, dcg, ru, etc.</td>
<td>Re-run upstream installers</td>
</tr>
</tbody>
</table>
<h3 id="options">Options</h3>
<p><strong>Category Selection:</strong></p>
<pre><code class="language-bash">--apt-only Only update system packages
--agents-only Only update coding agents
--cloud-only Only update cloud CLIs
--shell-only Only update shell tools (OMZ, P10K, plugins, Atuin, Zoxide)
--runtime-only Only update runtimes (bun, rust, uv, go)
--stack Include Dicklesworthstone stack (disabled by default)
</code></pre>
<p><strong>Skip Categories:</strong></p>
<pre><code class="language-bash">--no-apt Skip apt updates
--no-agents Skip agent updates
--no-cloud Skip cloud CLI updates
--no-shell Skip shell tool updates
--no-runtime Skip runtime updates (bun, rust, uv, go)
</code></pre>
<p><strong>Behavior:</strong></p>
<pre><code class="language-bash">--force Install missing tools (not just update existing)
--dry-run Preview changes without making them
--<span class="hljs-built_in">yes</span>, -y Non-interactive mode (skip prompts)
--quiet, -q Minimal output (only errors and summary)
--verbose, -v Show detailed <span class="hljs-built_in">command</span> output
--abort-on-failure Stop on first failure (default: <span class="hljs-built_in">continue</span>)
</code></pre>
<h3 id="logs">Logs</h3>
<p>Update logs are automatically saved to <code>~/.acfs/logs/updates/</code> with timestamps:</p>
<pre><code class="language-bash"><span class="hljs-comment"># View most recent log</span>
<span class="hljs-built_in">cat</span> ~/.acfs/logs/updates/$(<span class="hljs-built_in">ls</span> -1t ~/.acfs/logs/updates | <span class="hljs-built_in">head</span> -1)
<span class="hljs-comment"># Follow a running update</span>
<span class="hljs-built_in">tail</span> -f ~/.acfs/logs/updates/$(<span class="hljs-built_in">ls</span> -1t ~/.acfs/logs/updates | <span class="hljs-built_in">head</span> -1)
</code></pre>
<h3 id="why-separate-from-the-installer">Why Separate from the Installer?</h3>
<p>The installer transforms a fresh VPS. The update command maintains an existing installation. Separating them allows:</p>
<ul>
<li><strong>Focused updates</strong>: Update just agents without touching system packages</li>
<li><strong>Dry-run previews</strong>: See what would change before committing</li>
<li><strong>Skip flags</strong>: Temporarily exclude categories that are working fine</li>
<li><strong>Stack control</strong>: The full stack reinstallation is opt-in (it's slow)</li>
<li><strong>Automated updates</strong>: Run via cron with <code>--yes --quiet</code></li>
</ul>
<hr>
<h2 id="acfs-cli-commands">ACFS CLI Commands</h2>
<p>After installation, the <code>acfs</code> command provides a unified interface for managing your environment. Each subcommand is designed to be fast, informative, and scriptable.</p>
<h3 id="quick-reference">Quick Reference</h3>
<pre><code class="language-bash">acfs info <span class="hljs-comment"># Lightning-fast system overview</span>
acfs cheatsheet <span class="hljs-comment"># Discover installed aliases</span>
acfs dashboard generate <span class="hljs-comment"># Generate HTML status page</span>
acfs doctor <span class="hljs-comment"># Health checks</span>
acfs newproj <span class="hljs-comment"># Create a new project (TUI or CLI)</span>
acfs update <span class="hljs-comment"># Update all tools</span>
acfs services-setup <span class="hljs-comment"># Configure agent credentials</span>
acfs <span class="hljs-built_in">continue</span> <span class="hljs-comment"># View upgrade progress after reboot</span>
</code></pre>
<h3 id="acfs-newproj--new-project-wizard"><code>acfs newproj</code> — New Project Wizard</h3>
<p>Create a new project directory with ACFS defaults (git init, optional bd, Claude settings, <a href="http://AGENTS.html">AGENTS.md</a>).
The interactive wizard is recommended for beginners.</p>
<p>Interactive wizard (recommended):</p>
<pre><code class="language-bash">acfs newproj --interactive
acfs newproj -i
acfs newproj -i myapp <span class="hljs-comment"># Prefill project name</span>
</code></pre>
<p>The wizard guides you through:</p>
<ul>
<li>Project naming and location</li>
<li>Tech stack detection/selection</li>
<li>Feature selection (bd, Claude settings, <a href="http://AGENTS.html">AGENTS.md</a>, UBS ignore)</li>
<li><a href="http://AGENTS.html">AGENTS.md</a> customization preview</li>
</ul>
<details>
<summary><strong>TUI Wizard Screenshots</strong></summary>
<p><strong>Welcome Screen:</strong></p>
<pre><code> ╔═══════════════════════════════════════════════════════╗
║ ║
║ █████╗ ██████╗ ███████╗ ███████╗ ║
║ ██╔══██╗██╔════╝ ██╔════╝ ██╔════╝ ║
║ ███████║██║ █████╗ ███████╗ ║
║ ██╔══██║██║ ██╔══╝ ╚════██║ ║
║ ██║ ██║╚██████╗ ██║ ███████║ ║
║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝ ║
║ ║
║ Agentic Coding Flywheel Setup ║
║ ║
╚═══════════════════════════════════════════════════════╝
This wizard will help you set up a new project with:
✓ Project directory structure
✓ Git repository initialization
✓ AGENTS.md for AI coding assistants
✓ Beads issue tracking (optional)
✓ Claude Code settings (optional)
</code></pre>
<p><strong>Confirmation Screen:</strong></p>
<pre><code>──────────────────── Review & Confirm ────────────────────
Step 7 of 9
Please review your selections before creating the project.
Project Summary
──────────────────────────────────────────────────────────
Name: myapp
Location: /home/user/projects/myapp
Tech: Node.js, TypeScript
Features
──────────────────────────────────────────────────────────
✓ Beads tracking
✓ Claude Code settings
✓ AGENTS.md
✓ UBS ignore
Files to Create
──────────────────────────────────────────────────────────
myapp/
├── .git/
├── AGENTS.md
├── .beads/
│ └── beads.db
├── .claude/
│ └── settings.local.json
├── .ubsignore
├── README.md
└── .gitignore
Options:
[Enter/c] Create project
[e] Edit selections (go back)
[q/Esc] Cancel
</code></pre>
</details>
<p>CLI mode (automation):</p>
<pre><code class="language-bash">acfs newproj myapp
acfs newproj myapp /custom/path
acfs newproj myapp --no-bd
</code></pre>
<p>Notes:</p>
<ul>
<li>The TUI uses gum when available (arrow keys, Space to toggle, Enter to confirm). Without gum, it falls back to numbered prompts.</li>
<li>Minimum terminal size: 60x15.</li>
<li>CLI mode skips existing <a href="http://AGENTS.html">AGENTS.md</a>; the wizard overwrites it, so move it aside if you want to keep the old one.</li>
</ul>
<h3 id="acfs-info--system-overview"><code>acfs info</code> — System Overview</h3>
<p>Displays installation status in under 1 second by reading cached state (no verification).</p>
<pre><code class="language-bash">acfs info <span class="hljs-comment"># Terminal output (default)</span>
acfs info --json <span class="hljs-comment"># JSON output for scripting</span>
acfs info --html <span class="hljs-comment"># Self-contained HTML page</span>
acfs info --minimal <span class="hljs-comment"># Just essentials (IP, key commands)</span>
</code></pre>
<p>Example output:</p>
<pre><code>╔══════════════════════════════════════════════════════════════╗
║ ACFS System Info ║
╠══════════════════════════════════════════════════════════════╣
║ Host: vps-12345.contabo.net ║
║ IP: 192.168.1.100 ║
║ User: ubuntu ║
║ Uptime: 3 days, 4 hours ║
║ ║
║ Quick Commands: ║
║ cc → Claude Code (dangerous mode) ║
║ cod → Codex CLI (dangerous mode) ║
║ gmi → Gemini CLI (yolo mode) ║
║ ntm → Named Tmux Manager ║
╚══════════════════════════════════════════════════════════════╝
</code></pre>
<p><strong>Design Philosophy:</strong></p>
<ul>
<li><strong>Speed</strong>: Must complete in <1 second</li>