@archpilotlabs/archpilot 0.2.6 → 0.2.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,59 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.8
4
+
5
+ ### Added
6
+
7
+ - Added architecture review state for repositories that evolve after initial setup.
8
+ - Added detection for newly discovered high-confidence architecture modules after Smart Init.
9
+ - Added explicit architecture model evolution support so new modules can be reviewed, marked Not Now, or accepted into the governed architecture model.
10
+ - Added effective analysis for high-confidence observed modules before they are accepted into `.archpilot/architecture.json`.
11
+ - Added AP-ARCH-012 guidance for module review state, including newly discovered, previously reviewed/not governed, governed, and declared-missing modules.
12
+
13
+ ### Improved
14
+
15
+ - Improved dependency graph and module ownership analysis so newly observed modules participate in applicable architecture validation before acceptance.
16
+ - Improved AP-APP, AP-DQR, AP-TXN/AP-DOM, AP-AUTH/AP-TEN, and AP-API analysis for high-confidence observed modules where canonical rule semantics support module attribution.
17
+ - Improved architecture model review so acceptance uses the canonical model apply flow and Validate never silently rewrites `.archpilot/architecture.json`.
18
+ - Improved declared-missing module handling so governed modules that are no longer observed are surfaced for explicit review.
19
+
20
+ ### Notes
21
+
22
+ - `architecture.json` remains the governed architecture model; `.archpilot/architecture-review-state.json` stores review memory for previously seen but not governed modules.
23
+ - Review status does not suppress validation. Actual AP-\* violations inside observed modules affect Architecture Health normally.
24
+ - New-module review guidance itself does not directly reduce Architecture Health.
25
+ - Contracts remain governed-only and are not fabricated for observed modules.
26
+
27
+ ---
28
+
29
+ ## 0.2.7
30
+
31
+ ### Added
32
+
33
+ - Added `archpilot validate --regressions` to focus validation output on architecture findings introduced since the accepted governance baseline.
34
+ - Added regression summaries showing introduced, resolved, and existing architecture findings.
35
+ - Added regression comparison data to JSON validation output for automation and tooling.
36
+ - Added automatic initial governance baseline creation after the first successful full local validation, so regression tracking works without additional setup.
37
+
38
+ ### Improved
39
+
40
+ - Improved CI and pull request reporting to highlight newly introduced architecture regressions instead of presenting existing architecture debt as newly actionable.
41
+ - Improved GitHub inline annotations to prioritize newly introduced supported findings when a governance baseline is available.
42
+ - Improved regression reporting with separate visibility for resolved findings and existing baseline findings.
43
+ - Improved missing-baseline guidance to clearly distinguish the governance baseline from the structural architecture baseline.
44
+ - Scoped `--changed` and `--diff` validation now avoids unsafe full-baseline comparisons that could incorrectly report findings as resolved.
45
+
46
+ ### Notes
47
+
48
+ - Regression comparison uses the accepted governance baseline at `.archpilot/baseline/baseline.json`.
49
+ - The initial governance baseline is created automatically only after a successful full local validation. Existing baselines are never automatically refreshed.
50
+ - Use `archpilot baseline refresh` when you intentionally want to accept the current architecture findings as the new governance baseline.
51
+ - `--regressions` does not change Architecture Health Score, Setup Readiness Score, rule severities, scoring, or normal validation findings.
52
+ - `--regressions` does not currently combine with `--changed` or `--diff`.
53
+ - Regression reporting does not independently change CI exit or policy enforcement behavior.
54
+
55
+ ---
56
+
3
57
  ## 0.2.6
4
58
 
5
59
  ### Improved
package/README.md CHANGED
@@ -45,7 +45,9 @@ ArchPilot turns architecture into something you can actually run and verify:
45
45
  - Generate architecture scores and reports
46
46
  - Surface architecture feedback in local development, PRs, and CI
47
47
 
48
- No runtime agents. No external services. Fully deterministic and local-first.
48
+ As repositories evolve, ArchPilot distinguishes governed architecture from high-confidence modules observed in the current source tree. Newly discovered modules are analyzed before governance acceptance, while adding them to `.archpilot/architecture.json` remains an explicit architecture review decision.
49
+
50
+ **No cloud scan required. Deterministic and local-first.**
49
51
 
50
52
  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
53
 
@@ -172,6 +174,22 @@ Creates `.archpilot/` with architecture config, rules, and baseline artifacts.
172
174
  archpilot validate
173
175
  ```
174
176
 
177
+ To focus on architecture changes introduced since the governance baseline:
178
+
179
+ ```bash
180
+ archpilot validate --regressions
181
+ ```
182
+
183
+ ArchPilot automatically creates the initial governance baseline after the first successful full local validation. Regression validation can then distinguish newly introduced, existing, and resolved architecture findings.
184
+
185
+ When you intentionally accept the current architecture findings as the new reference, run:
186
+
187
+ ```bash
188
+ archpilot baseline refresh
189
+ ```
190
+
191
+ The governance baseline used for regression comparison is separate from the structural baseline used by `archpilot baseline create`.
192
+
175
193
  Example output:
176
194
 
177
195
  ```text
@@ -317,6 +335,5 @@ Proprietary. See LICENSE file for details.
317
335
 
318
336
  - Website: https://archpilot.org
319
337
  - Documentation: https://archpilot.org/docs
320
- - [Changelog](https://github.com/archpilotlabs/archpilot-vscode/blob/main/packages/cli/CHANGELOG.md)
321
338
 
322
339
  ---