You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update CHANGELOG for version 2.5.0, adding new commands and structured output options. Enhance CONTRIBUTING.md with validation instructions for PowerShell scripts. Revise README.md to clarify command functionalities and reporting features. Bump installer version to 2.5.0 in windo_install.ps1.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,23 @@ All notable changes to WINDO are documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
7
+
## [2.5.0] - 2026-04-01
8
+
9
+
### Added
10
+
11
+
-**Operator UX:**`windo help`, `windo last`, `windo stats`, `windo history [-n N]`, `windo report [-o path]` (local HTML audit summary under `%USERPROFILE%\Documents\windo\` by default).
12
+
-**Structured output:** append `--json` or `-Json` to `version`, `doctor`, `integrity`, `verify`, `log`, `stats`, `history`, and `last` for script-friendly output.
13
+
-**Trust / visibility:** explicit access-denied hints after failed runs; timeout path suggests checking tasks and installer (`_suggest_if_denied`).
14
+
-**Maintainability:**`tools/Validate-Windo.ps1` (AST parse all shipping scripts), `docs/build.md` (modularization direction), `docs/branding.md` (admin-focused logo guidance), `.github/workflows/validate.yml`.
15
+
16
+
### Changed
17
+
18
+
- Installer and embedded `windo` function version **2.5.0**; usage text and last-command exclusions updated for new subcommands.
19
+
20
+
### Security
21
+
22
+
- No change to the elevation model (scheduled tasks, RunLevel Highest), DPAPI logging, hash chain, or manifest semantics. HTML/JSON outputs may contain sensitive command text; operators must handle files accordingly.
23
+
7
24
## [2.4.0] - 2026-04-01
8
25
9
26
### Added
@@ -29,5 +46,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
29
46
30
47
- Baseline described in repository history and under `versions/v2.3.0/`.
@@ -75,6 +80,8 @@ The canonical install snippet is also kept in `docs/releases/README_INSTALL_UPDA
75
80
|`windo log -n N`| Show last N log entries (decrypted). |
76
81
|`windo cleanup [-w]`| Back up log to `.pwsh_secure`, clear active log, remove pending req/res JSON. Optional `-w` is accepted for compatibility and ignored. |
77
82
83
+
Append **`--json`** or **`-Json`** to supported commands (`version`, `doctor`, `integrity`, `verify`, `log`, and the commands above where noted) for structured output suitable for scripts and ticketing.
84
+
78
85
---
79
86
80
87
## PSReadLine keybindings (v2.4.0+)
@@ -101,6 +108,17 @@ See [`SECURITY.md`](SECURITY.md) for expectations and reporting.
101
108
102
109
---
103
110
111
+
112
+
## Reporting and automation
113
+
114
+
-**`windo report`** produces a **local HTML** summary (paths, integrity status, recent audit lines). Treat reports as **sensitive**; they may echo elevated command text.
115
+
-**`--json` / `-Json`** on `doctor`, `integrity`, `version`, `verify`, `log`, `stats`, `history`, and `last` helps pipe output into monitors, tickets, or CMDB without scraping host-colored text.
116
+
-**`windo stats`** / **`windo history`** give fast situational awareness without full `log` verbosity.
WINDO ships a single **installer** (`windo_install.ps1`) as the source of truth: it embeds the profile `windo` function, PSReadLine block, runner, and self-update script text.
4
+
5
+
## Current model
6
+
7
+
- One file to copy and run elevated on target machines.
8
+
- Bootstrap downloads that file from GitHub and executes it from disk.
9
+
10
+
## Direction for modular sources (future)
11
+
12
+
To reduce monolithic edit risk without changing the install contract:
13
+
14
+
1. Keep **published** artifacts as today: `windo_install.ps1` at repo root.
15
+
2. Optionally maintain fragments under `src/` (e.g. `src/windo/ProfileWindo.ps1`) that are **concatenated** by a small `tools/Build-WindoInstaller.ps1` into `windo_install.ps1` before release.
16
+
3.**Validation**: run `tools/Validate-Windo.ps1` in CI and before tagging.
17
+
18
+
No build step is required for end users; a build is only for maintainers who choose to split sources.
v2.5.0 strengthens **operator experience**, **visibility**, and **repository hygiene** while keeping the same elevation model: **choose elevation before execution.**
6
+
7
+
## New commands
8
+
9
+
| Command | Description |
10
+
|--------|-------------|
11
+
|`windo help`| Short usage reference. |
12
+
|`windo last`| Show last stored command (no run). |
13
+
|`windo stats`| Aggregate stats over the DPAPI audit log. |
14
+
|`windo history [-n N]`| Compact history (default N=50). |
15
+
|`windo report [-o path]`| Local HTML audit report. |
16
+
17
+
## JSON output
18
+
19
+
Append `--json` or `-Json` to supported commands for structured output: `version`, `doctor`, `integrity`, `verify`, `log`, `stats`, `history`, `last`.
20
+
21
+
## Hints
22
+
23
+
After failures that look like **access denied** (or task timeout), WINDO may print a short, **non-silent** hint to run `windo doctor` or re-run the installer elevated—without auto-elevating your shell.
24
+
25
+
## Upgrade
26
+
27
+
Run the installer elevated (`bootstrap` or `windo_install.ps1`), then `. $PROFILE`. Verify with `windo help` and `windo doctor`.
0 commit comments