@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.
- package/README.md +112 -74
- package/dist/archpilot-cli.js +3166 -959
- 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
|
|
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
|
-
##
|
|
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
|
|
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
|
-
##
|
|
37
|
+
## What it does
|
|
38
38
|
|
|
39
39
|
ArchPilot turns architecture into something you can actually run and verify:
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
##
|
|
54
|
+
## Supported Stacks
|
|
52
55
|
|
|
53
|
-
ArchPilot
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
86
|
+
- React
|
|
87
|
+
- Next.js
|
|
88
|
+
- Angular
|
|
89
|
+
- Vue
|
|
90
|
+
|
|
91
|
+
### Infrastructure Context
|
|
92
|
+
|
|
93
|
+
- Terraform
|
|
94
|
+
- Ansible
|
|
78
95
|
|
|
79
|
-
|
|
96
|
+
Infrastructure repositories are detected as part of repository architecture discovery. Full architecture validation currently focuses on application stacks.
|
|
80
97
|
|
|
81
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
106
|
+
## Local-first. Cloud-powered.
|
|
91
107
|
|
|
92
108
|
Start locally in minutes:
|
|
93
109
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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
|
|
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
|
-
##
|
|
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
|
-
##
|
|
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
|
-
|
|
187
|
-
|
|
203
|
+
- Fails only on real architecture violations
|
|
204
|
+
- Keeps setup issues separate from architecture quality
|
|
188
205
|
|
|
189
206
|
---
|
|
190
207
|
|
|
191
|
-
##
|
|
208
|
+
## CLI vs VS Code Extension
|
|
192
209
|
|
|
193
210
|
ArchPilot works in two ways:
|
|
194
211
|
|
|
195
|
-
|
|
196
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
216
|
-
|
|
217
|
-
|
|
232
|
+
- **violation** - real architecture issue
|
|
233
|
+
- **setup-gap** - missing config / skipped checks
|
|
234
|
+
- **guidance** - non-blocking recommendation
|
|
218
235
|
|
|
219
236
|
---
|
|
220
237
|
|
|
221
|
-
##
|
|
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
|
-
##
|
|
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
|
-
|
|
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
|
-
##
|
|
299
|
+
## Philosophy
|
|
262
300
|
|
|
263
301
|
ArchPilot is built on four principles:
|
|
264
302
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
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
|
-
##
|
|
310
|
+
## License
|
|
273
311
|
|
|
274
312
|
Proprietary. See LICENSE file for details.
|
|
275
313
|
|
|
276
314
|
---
|
|
277
315
|
|
|
278
|
-
##
|
|
316
|
+
## Learn More
|
|
279
317
|
|
|
280
|
-
|
|
281
|
-
|
|
318
|
+
- Website: https://archpilot.org
|
|
319
|
+
- Documentation: https://archpilot.org/docs
|
|
282
320
|
|
|
283
321
|
---
|