@archpilotlabs/archpilot 0.0.17 → 0.0.19
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 +77 -73
- package/dist/archpilot-cli.js +8265 -3400
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -8,19 +8,19 @@
|
|
|
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
|
|
|
15
15
|
<p align="center">
|
|
16
|
-
Validate
|
|
16
|
+
Validate | Enforce | Measure architecture continuously
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
ArchPilot makes architecture **visible, enforceable, and measurable** as your system evolves.
|
|
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,85 @@ 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 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
|
|
46
46
|
|
|
47
47
|
No runtime agents. No external services. Fully deterministic and local-first.
|
|
48
48
|
|
|
49
|
+
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.
|
|
50
|
+
|
|
49
51
|
---
|
|
50
52
|
|
|
51
|
-
##
|
|
53
|
+
## Supported Stacks
|
|
52
54
|
|
|
53
55
|
ArchPilot supports **practical deterministic architecture detection** across modern application stacks.
|
|
54
56
|
|
|
55
57
|
### Backend
|
|
56
58
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
59
|
+
- Node.js / TypeScript
|
|
60
|
+
- NestJS
|
|
61
|
+
- Express.js
|
|
62
|
+
- Java
|
|
63
|
+
- Spring / Spring Boot
|
|
64
|
+
- Kotlin
|
|
65
|
+
- FastAPI
|
|
66
|
+
- Django
|
|
67
|
+
- Flask
|
|
68
|
+
- PHP
|
|
69
|
+
- Laravel
|
|
70
|
+
- Go
|
|
71
|
+
- .NET
|
|
72
|
+
- Ruby on Rails
|
|
71
73
|
|
|
72
74
|
### Frontend
|
|
73
75
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
- React
|
|
77
|
+
- Next.js
|
|
78
|
+
- Angular
|
|
79
|
+
- Vue
|
|
78
80
|
|
|
79
81
|
### Infrastructure
|
|
80
82
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
- Terraform
|
|
84
|
+
- Ansible
|
|
83
85
|
|
|
84
|
-
ArchPilot detects
|
|
86
|
+
ArchPilot detects application stacks from practical repository evidence - framework markers, manifests, project layout, and source structure - then applies conservative architecture discovery defaults locally.
|
|
85
87
|
|
|
86
88
|
**No cloud scanning. No remote indexing. Deterministic local validation.**
|
|
87
89
|
|
|
88
90
|
---
|
|
89
91
|
|
|
90
|
-
##
|
|
92
|
+
## Local-first. Cloud-powered.
|
|
91
93
|
|
|
92
94
|
Start locally in minutes:
|
|
93
95
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
- Offline validation
|
|
97
|
+
- Local reports and artifacts
|
|
98
|
+
- PR review markdown
|
|
99
|
+
- CI validation
|
|
100
|
+
- Deterministic architecture checks
|
|
99
101
|
|
|
100
102
|
Then connect to **ArchPilot Cloud** to unlock:
|
|
101
103
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
- Repository history and trends
|
|
105
|
+
- Findings dashboards
|
|
106
|
+
- Team ownership and governance workflows
|
|
107
|
+
- Shared policies and exceptions
|
|
108
|
+
- Organization-wide architecture visibility
|
|
109
|
+
- Continuous governance across repositories
|
|
108
110
|
|
|
109
111
|
```bash
|
|
110
112
|
archpilot cloud status
|
|
@@ -114,14 +116,15 @@ archpilot cloud disconnect
|
|
|
114
116
|
|
|
115
117
|
Cloud setup only asks for your API token.
|
|
116
118
|
|
|
117
|
-
ArchPilot uses the canonical production API automatically
|
|
119
|
+
ArchPilot uses the canonical production API automatically; no server URL setup is required for normal use.
|
|
120
|
+
|
|
118
121
|
Learn more:
|
|
119
122
|
|
|
120
123
|
https://archpilot.org/docs
|
|
121
124
|
|
|
122
125
|
---
|
|
123
126
|
|
|
124
|
-
##
|
|
127
|
+
## Installation
|
|
125
128
|
|
|
126
129
|
Install globally:
|
|
127
130
|
|
|
@@ -137,7 +140,7 @@ npx @archpilotlabs/archpilot --help
|
|
|
137
140
|
|
|
138
141
|
---
|
|
139
142
|
|
|
140
|
-
##
|
|
143
|
+
## Quick Start
|
|
141
144
|
|
|
142
145
|
### 1. Initialize architecture
|
|
143
146
|
|
|
@@ -183,24 +186,24 @@ Applies safe, deterministic fixes for missing architecture artifacts.
|
|
|
183
186
|
archpilot validate --ci
|
|
184
187
|
```
|
|
185
188
|
|
|
186
|
-
|
|
187
|
-
|
|
189
|
+
- Fails only on real architecture violations
|
|
190
|
+
- Keeps setup issues separate from architecture quality
|
|
188
191
|
|
|
189
192
|
---
|
|
190
193
|
|
|
191
|
-
##
|
|
194
|
+
## CLI vs VS Code Extension
|
|
192
195
|
|
|
193
196
|
ArchPilot works in two ways:
|
|
194
197
|
|
|
195
|
-
|
|
196
|
-
|
|
198
|
+
- **CLI (this package)** - validation, CI, automation
|
|
199
|
+
- **VS Code Extension** - visual inspector, guided workflows, and architecture exploration
|
|
197
200
|
|
|
198
201
|
Both use the same validation engine and produce identical results.
|
|
199
202
|
The extension enhances developer experience, but is not required.
|
|
200
203
|
|
|
201
204
|
---
|
|
202
205
|
|
|
203
|
-
##
|
|
206
|
+
## Key Concepts
|
|
204
207
|
|
|
205
208
|
### Architecture Health Score
|
|
206
209
|
|
|
@@ -212,13 +215,13 @@ Tracks completeness of configuration and onboarding.
|
|
|
212
215
|
|
|
213
216
|
### Findings
|
|
214
217
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
- **violation** - real architecture issue
|
|
219
|
+
- **setup-gap** - missing config / skipped checks
|
|
220
|
+
- **guidance** - non-blocking recommendation
|
|
218
221
|
|
|
219
222
|
---
|
|
220
223
|
|
|
221
|
-
##
|
|
224
|
+
## Core Commands
|
|
222
225
|
|
|
223
226
|
```bash
|
|
224
227
|
archpilot init
|
|
@@ -247,37 +250,38 @@ archpilot governance upload
|
|
|
247
250
|
|
|
248
251
|
---
|
|
249
252
|
|
|
250
|
-
##
|
|
253
|
+
## Core Capabilities
|
|
251
254
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
255
|
+
- Architecture-as-code (`.archpilot/`)
|
|
256
|
+
- Smart Init architecture discovery
|
|
257
|
+
- Dependency validation and module contracts
|
|
258
|
+
- ADR (Architecture Decision Record) support
|
|
259
|
+
- Drift detection and history tracking
|
|
260
|
+
- PR review and CI integration
|
|
261
|
+
- Architecture scoring and reporting
|
|
258
262
|
|
|
259
263
|
---
|
|
260
264
|
|
|
261
|
-
##
|
|
265
|
+
## Philosophy
|
|
262
266
|
|
|
263
267
|
ArchPilot is built on four principles:
|
|
264
268
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
+
- Architecture should be explicit
|
|
270
|
+
- Rules should be executable
|
|
271
|
+
- Validation should be deterministic
|
|
272
|
+
- Feedback should be continuous
|
|
269
273
|
|
|
270
274
|
---
|
|
271
275
|
|
|
272
|
-
##
|
|
276
|
+
## License
|
|
273
277
|
|
|
274
278
|
Proprietary. See LICENSE file for details.
|
|
275
279
|
|
|
276
280
|
---
|
|
277
281
|
|
|
278
|
-
##
|
|
282
|
+
## Learn More
|
|
279
283
|
|
|
280
|
-
|
|
281
|
-
|
|
284
|
+
- Website: https://archpilot.org
|
|
285
|
+
- Documentation: https://archpilot.org/docs
|
|
282
286
|
|
|
283
287
|
---
|