@archpilotlabs/archpilot 0.0.18 → 0.1.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 (3) hide show
  1. package/README.md +112 -74
  2. package/dist/archpilot-cli.js +3166 -959
  3. package/package.json +4 -3
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  Architecture guardrails for AI-native software development
9
9
  </p>
10
10
 
11
- ArchPilot validates your repository against architecture rules and helps engineering teams move faster with AI-assisted development-without sacrificing architectural integrity.
11
+ ArchPilot validates your repository against architecture rules, helping engineering teams move faster with AI-assisted development without sacrificing architectural integrity.
12
12
 
13
13
  **Your AI writes code. ArchPilot protects architecture.**
14
14
 
@@ -20,7 +20,7 @@ ArchPilot makes architecture **visible, enforceable, and measurable** as your sy
20
20
 
21
21
  ---
22
22
 
23
- ## 🧭 Why this exists
23
+ ## Why this exists
24
24
 
25
25
  Most teams rely on documentation or tribal knowledge to maintain architecture.
26
26
 
@@ -28,83 +28,99 @@ Over time, boundaries blur, dependencies leak, and architectural decisions drift
28
28
 
29
29
  ArchPilot turns architecture into something you can **actually validate, enforce, and track continuously**.
30
30
 
31
- AI accelerates code delivery-but architectural drift accelerates too.
31
+ AI accelerates code delivery but architectural drift can accelerate too.
32
32
 
33
33
  ArchPilot gives teams deterministic architecture guardrails in local development, CI, and governance workflows.
34
34
 
35
35
  ---
36
36
 
37
- ## 🚀 What it does
37
+ ## What it does
38
38
 
39
39
  ArchPilot turns architecture into something you can actually run and verify:
40
40
 
41
- * Validate module boundaries and dependencies
42
- * Enforce architecture rules and contracts
43
- * Detect architectural drift over time
44
- * Generate architecture scores and reports
45
- * Surface architecture feedback in PRs and CI
41
+ - Validate architecture across modern application stacks
42
+ - Validate module boundaries and dependency governance
43
+ - Enforce architecture rules and contracts
44
+ - Detect architectural drift over time
45
+ - Generate architecture scores and reports
46
+ - Surface architecture feedback in local development, PRs, and CI
46
47
 
47
48
  No runtime agents. No external services. Fully deterministic and local-first.
48
49
 
50
+ ArchPilot works alongside GitHub Copilot, Claude Code, Codex, Cursor, and other AI coding tools by continuously validating architectural boundaries before architectural drift becomes technical debt.
51
+
49
52
  ---
50
53
 
51
- ## 🧩 Supported Stacks
54
+ ## Supported Stacks
52
55
 
53
- ArchPilot supports **practical deterministic architecture detection** across modern application stacks.
56
+ ArchPilot provides **deterministic architecture validation** across modern application stacks using framework-aware analysis and explicit architectural evidence.
54
57
 
55
58
  ### Backend
56
59
 
57
- * Node.js / TypeScript
58
- * NestJS
59
- * Express.js
60
- * Java
61
- * Spring / Spring Boot
62
- * Kotlin
63
- * FastAPI
64
- * Django
65
- * Flask
66
- * PHP
67
- * Laravel
68
- * Go
69
- * .NET
70
- * Ruby on Rails
60
+ Framework-aware validation
61
+
62
+ - Spring / Spring Boot
63
+ - NestJS
64
+ - Express.js
65
+ - FastAPI
66
+ - Laravel
67
+ - ASP.NET
68
+ - Go
69
+
70
+ Language-aware validation
71
+
72
+ - Java
73
+ - Node.js / TypeScript
74
+ - PHP
75
+ - Python
76
+
77
+ Framework detection
78
+
79
+ - Kotlin
80
+ - Django
81
+ - Flask
82
+ - Ruby on Rails
71
83
 
72
84
  ### Frontend
73
85
 
74
- * React
75
- * Next.js
76
- * Angular
77
- * Vue
86
+ - React
87
+ - Next.js
88
+ - Angular
89
+ - Vue
90
+
91
+ ### Infrastructure Context
92
+
93
+ - Terraform
94
+ - Ansible
78
95
 
79
- ### Infrastructure
96
+ Infrastructure repositories are detected as part of repository architecture discovery. Full architecture validation currently focuses on application stacks.
80
97
 
81
- * Terraform
82
- * Ansible
98
+ ArchPilot automatically detects supported stacks from repository evidence including framework markers, dependency metadata, manifests, project layout, source structure, and framework-specific constructs.
83
99
 
84
- ArchPilot detects stack shape from practical repository evidence - framework markers, manifests, project layout, and source structure - then applies conservative architecture discovery defaults locally.
100
+ Validation remains deterministic and framework-aware. When evidence is ambiguous, ArchPilot intentionally prefers conservative findings over speculative analysis.
85
101
 
86
102
  **No cloud scanning. No remote indexing. Deterministic local validation.**
87
103
 
88
104
  ---
89
105
 
90
- ## ☁️ Local-first. Cloud-powered.
106
+ ## Local-first. Cloud-powered.
91
107
 
92
108
  Start locally in minutes:
93
109
 
94
- * Offline validation
95
- * Local reports and artifacts
96
- * PR review markdown
97
- * CI validation
98
- * Deterministic architecture checks
110
+ - Offline validation
111
+ - Local reports and artifacts
112
+ - PR review markdown
113
+ - CI validation
114
+ - Deterministic architecture checks
99
115
 
100
116
  Then connect to **ArchPilot Cloud** to unlock:
101
117
 
102
- * Repository history and trends
103
- * Findings dashboards
104
- * Team ownership and governance workflows
105
- * Shared policies and exceptions
106
- * Organization-wide architecture visibility
107
- * Continuous governance across repositories
118
+ - Repository history and trends
119
+ - Findings dashboards
120
+ - Team ownership and governance workflows
121
+ - Shared policies and exceptions
122
+ - Organization-wide architecture visibility
123
+ - Continuous governance across repositories
108
124
 
109
125
  ```bash
110
126
  archpilot cloud status
@@ -114,14 +130,15 @@ archpilot cloud disconnect
114
130
 
115
131
  Cloud setup only asks for your API token.
116
132
 
117
- ArchPilot uses the canonical production API automatically-no server URL setup required for normal use.
133
+ ArchPilot uses the canonical production API automatically; no server URL setup is required for normal use.
134
+
118
135
  Learn more:
119
136
 
120
137
  https://archpilot.org/docs
121
138
 
122
139
  ---
123
140
 
124
- ## 📦 Installation
141
+ ## Installation
125
142
 
126
143
  Install globally:
127
144
 
@@ -137,7 +154,7 @@ npx @archpilotlabs/archpilot --help
137
154
 
138
155
  ---
139
156
 
140
- ## Quick Start
157
+ ## Quick Start
141
158
 
142
159
  ### 1. Initialize architecture
143
160
 
@@ -183,24 +200,24 @@ Applies safe, deterministic fixes for missing architecture artifacts.
183
200
  archpilot validate --ci
184
201
  ```
185
202
 
186
- * Fails only on real architecture violations
187
- * Keeps setup issues separate from architecture quality
203
+ - Fails only on real architecture violations
204
+ - Keeps setup issues separate from architecture quality
188
205
 
189
206
  ---
190
207
 
191
- ## 🧑‍💻 CLI vs VS Code Extension
208
+ ## CLI vs VS Code Extension
192
209
 
193
210
  ArchPilot works in two ways:
194
211
 
195
- * **CLI (this package)** validation, CI, automation
196
- * **VS Code Extension** visual inspector, guided workflows, and architecture exploration
212
+ - **CLI (this package)** - validation, CI, automation
213
+ - **VS Code Extension** - visual inspector, guided workflows, and architecture exploration
197
214
 
198
215
  Both use the same validation engine and produce identical results.
199
216
  The extension enhances developer experience, but is not required.
200
217
 
201
218
  ---
202
219
 
203
- ## 🧠 Key Concepts
220
+ ## Key Concepts
204
221
 
205
222
  ### Architecture Health Score
206
223
 
@@ -212,13 +229,13 @@ Tracks completeness of configuration and onboarding.
212
229
 
213
230
  ### Findings
214
231
 
215
- * **violation** real architecture issue
216
- * **setup-gap** missing config / skipped checks
217
- * **guidance** non-blocking recommendation
232
+ - **violation** - real architecture issue
233
+ - **setup-gap** - missing config / skipped checks
234
+ - **guidance** - non-blocking recommendation
218
235
 
219
236
  ---
220
237
 
221
- ## 🔍 Core Commands
238
+ ## Core Commands
222
239
 
223
240
  ```bash
224
241
  archpilot init
@@ -247,37 +264,58 @@ archpilot governance upload
247
264
 
248
265
  ---
249
266
 
250
- ## ⚙️ Core Capabilities
267
+ ## Core Capabilities
268
+
269
+ - Architecture-as-code (`.archpilot/`)
270
+ - Smart Init architecture discovery
271
+ - Cross-stack architecture validation
272
+ - Dependency governance and module contracts
273
+ - ADR (Architecture Decision Record) support
274
+ - Drift detection and history tracking
275
+ - PR review and CI integration
276
+ - Architecture scoring and reporting
277
+
278
+ ---
279
+
280
+ ## Deterministic by Design
281
+
282
+ ArchPilot intentionally avoids speculative code analysis.
283
+
284
+ Findings are produced from explicit architectural evidence such as:
285
+
286
+ - Framework annotations and decorators
287
+ - Dependency relationships
288
+ - Route and API definitions
289
+ - Authorization constructs
290
+ - Transaction boundaries
291
+ - ORM and query APIs
292
+ - Event and messaging infrastructure
293
+ - Architecture configuration and contracts
251
294
 
252
- * Architecture-as-code (`.archpilot/`)
253
- * Dependency validation and module contracts
254
- * ADR (Architecture Decision Record) support
255
- * Drift detection and history tracking
256
- * PR review and CI integration
257
- * Architecture scoring and reporting
295
+ When evidence is ambiguous, ArchPilot prefers not to report a finding rather than generating false positives.
258
296
 
259
297
  ---
260
298
 
261
- ## 🎯 Philosophy
299
+ ## Philosophy
262
300
 
263
301
  ArchPilot is built on four principles:
264
302
 
265
- * Architecture should be explicit
266
- * Rules should be executable
267
- * Validation should be deterministic
268
- * Feedback should be continuous
303
+ - Architecture should be explicit
304
+ - Rules should be executable
305
+ - Validation should be deterministic
306
+ - Feedback should be continuous
269
307
 
270
308
  ---
271
309
 
272
- ## 📄 License
310
+ ## License
273
311
 
274
312
  Proprietary. See LICENSE file for details.
275
313
 
276
314
  ---
277
315
 
278
- ## 🌐 Learn More
316
+ ## Learn More
279
317
 
280
- * Website: https://archpilot.org
281
- * Documentation: https://archpilot.org/docs
318
+ - Website: https://archpilot.org
319
+ - Documentation: https://archpilot.org/docs
282
320
 
283
321
  ---