Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
xcodebuild -version

- name: Build wInstaller.app
run: Scripts/build-app.sh "$RUNNER_TEMP/build"
run: scripts/build-app.sh "$RUNNER_TEMP/build"

- name: Zip app bundle
run: |
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ xcuserdata/
# Logs
*.log

# Python
__pycache__/
*.pyc

2 changes: 1 addition & 1 deletion Assets/Icon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Recommended files:
- `winstaller-icon.sketch`: Sketch source, if used.
- `AppIcon.appiconset`: Xcode export.

The icon direction is defined in [../../ICON_GUIDELINES.md](../../ICON_GUIDELINES.md).
The icon direction is defined in [../../docs/specs/ICON_GUIDELINES.md](../../docs/specs/ICON_GUIDELINES.md).

4 changes: 2 additions & 2 deletions Assets/Icon/generate_icon.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""Generate the wInstaller app icon with no third-party dependencies.

The icon follows ICON_GUIDELINES.md: a rounded macOS tile, a brushed-aluminum
The icon follows docs/specs/ICON_GUIDELINES.md: a rounded macOS tile, a brushed-aluminum
USB-C flash drive, a sapphire connector, a small status LED, and a neutral "OS"
glyph. No Windows logo, no long text.

Expand All @@ -12,7 +12,7 @@
Assets/AppIcon.appiconset/ -> Xcode asset catalog (icon_<size>.png + Contents.json)
Assets/AppIcon.iconset/ -> iconutil input (icon_16x16.png ... icon_512x512@2x.png)

Run `Scripts/make-icns.sh` on a Mac to turn the iconset into AppIcon.icns.
Run `scripts/make-icns.sh` on a Mac to turn the iconset into AppIcon.icns.
"""

import math
Expand Down
2 changes: 1 addition & 1 deletion COMMERCIAL-LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ under the same noncommercial terms, so the guarantee can't be stripped out
downstream). Commercial use funds continued development directly instead of
through telemetry, ads, or a freemium paywall inside the app itself — both of
which conflict with this project's local-only, no-telemetry trust model (see
[SECURITY.md](SECURITY.md) and [VISION.md](VISION.md)).
[SECURITY.md](SECURITY.md) and [VISION.md](docs/specs/VISION.md)).
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

wInstaller is a multi-platform project: three native UIs (SwiftUI/macOS, WinUI3/
Windows, GTK4-libadwaita/Linux) sharing one Rust core engine. Read
[AI_RULES.md](AI_RULES.md) before making any change — it applies to human and AI
[AI_RULES.md](docs/specs/AI_RULES.md) before making any change — it applies to human and AI
contributors alike. Read the [ADRs](docs/adr/) for the architecture reasoning
behind the current shape of the project.

## Before you start

1. Read [AI_RULES.md](AI_RULES.md) and [PRODUCT.md](PRODUCT.md).
1. Read [AI_RULES.md](docs/specs/AI_RULES.md) and [PRODUCT.md](docs/specs/PRODUCT.md).
2. If your change affects behavior described in a spec doc (`BOOTABLE_USB_ENGINE.md`,
`TERMINAL_AUTOMATION.md`, `USER_FLOW.md`, `ARCHITECTURE.md`, `SECURITY.md`,
`DESIGN_SYSTEM.md`), update that doc in the same PR.
Expand Down
14 changes: 7 additions & 7 deletions Prompts/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Use this prompt when asking an AI coding agent to start implementing wInstaller.
You are building wInstaller, a native macOS assistant for creating bootable USB drives from Windows and Linux ISO files.

Read these files first:
- AI_RULES.md
- PRODUCT.md
- REQUIREMENTS.md
- USER_FLOW.md
- ARCHITECTURE.md
- BOOTABLE_USB_ENGINE.md
- TERMINAL_AUTOMATION.md
- docs/specs/AI_RULES.md
- docs/specs/PRODUCT.md
- docs/specs/REQUIREMENTS.md
- docs/specs/USER_FLOW.md
- docs/specs/ARCHITECTURE.md
- docs/specs/BOOTABLE_USB_ENGINE.md
- docs/specs/TERMINAL_AUTOMATION.md
- SECURITY.md

Task:
Expand Down
8 changes: 4 additions & 4 deletions Prompts/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Use this prompt when asking an AI coding agent to prepare a release.
You are preparing wInstaller for release.

Read:
- AI_RULES.md
- docs/specs/AI_RULES.md
- SECURITY.md
- ROADMAP.md
- REQUIREMENTS.md
- ICON_GUIDELINES.md
- docs/specs/ROADMAP.md
- docs/specs/REQUIREMENTS.md
- docs/specs/ICON_GUIDELINES.md

Task:
Prepare the app for a signed, notarized macOS release. Verify build settings, entitlements, hardened runtime, app icon assets, help documentation, privacy statements, and release checklist.
Expand Down
8 changes: 4 additions & 4 deletions Prompts/terminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Use this prompt when asking an AI coding agent to implement command planning and
You are implementing wInstaller's terminal automation layer.

Read:
- AI_RULES.md
- TERMINAL_AUTOMATION.md
- BOOTABLE_USB_ENGINE.md
- docs/specs/AI_RULES.md
- docs/specs/TERMINAL_AUTOMATION.md
- docs/specs/BOOTABLE_USB_ENGINE.md
- SECURITY.md
- REQUIREMENTS.md
- docs/specs/REQUIREMENTS.md

Task:
Implement a command runner abstraction, dry-run command planning, structured parsers for disk and ISO metadata, and a fake runner for tests. Do not run destructive commands. Do not add real formatting or erase execution until the confirmation flow and safety checks are implemented.
Expand Down
10 changes: 5 additions & 5 deletions Prompts/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Use this prompt when asking an AI coding agent to improve test coverage.
You are strengthening wInstaller's test suite.

Read:
- AI_RULES.md
- REQUIREMENTS.md
- ARCHITECTURE.md
- BOOTABLE_USB_ENGINE.md
- TERMINAL_AUTOMATION.md
- docs/specs/AI_RULES.md
- docs/specs/REQUIREMENTS.md
- docs/specs/ARCHITECTURE.md
- docs/specs/BOOTABLE_USB_ENGINE.md
- docs/specs/TERMINAL_AUTOMATION.md
- SECURITY.md

Task:
Expand Down
10 changes: 5 additions & 5 deletions Prompts/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Use this prompt when asking an AI coding agent to implement or refine the app in
You are refining the wInstaller macOS SwiftUI interface.

Read:
- AI_RULES.md
- UI_GUIDELINES.md
- DESIGN_SYSTEM.md
- USER_FLOW.md
- ICON_GUIDELINES.md
- docs/specs/AI_RULES.md
- docs/specs/UI_GUIDELINES.md
- docs/specs/DESIGN_SYSTEM.md
- docs/specs/USER_FLOW.md
- docs/specs/ICON_GUIDELINES.md

Task:
Build the assistant UI as the first screen. Follow the supplied product mockup as direction, but use native macOS controls and Apple's Human Interface Guidelines. Implement the step sidebar, main step content, local-only footer, ISO card, USB selector, live checklist, confirmation dialog, and technical details panel.
Expand Down
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The macOS app is feature-complete for the first-release happy path:
> Always verify the target and prefer the Simulate toggle first. Destructive
> operations have not been run on hardware in CI — test on a spare USB.

Windows and Linux native apps are planned (see [ROADMAP.md](ROADMAP.md) and the
Windows and Linux native apps are planned (see [ROADMAP.md](docs/specs/ROADMAP.md) and the
phased delivery plan referenced from the ADRs).

## Building from source
Expand All @@ -78,7 +78,7 @@ To build a real `.app` bundle:

```bash
python3 Assets/Icon/generate_icon.py # generate app icon assets
Scripts/build-app.sh # assemble build/wInstaller.app
scripts/build-app.sh # assemble build/wInstaller.app
open build/wInstaller.app
```

Expand Down Expand Up @@ -131,7 +131,7 @@ wInstaller should feel like something a first-party disk utility would be if it
actually explained itself: it explains what it found, asks before anything
destructive happens, validates the result, and never leaves the machine it runs
on. Read the [full manifesto on the landing page](https://pedrobritx.github.io/winstaller/)
or [VISION.md](VISION.md) for the complete set of interaction principles.
or [VISION.md](docs/specs/VISION.md) for the complete set of interaction principles.

## Architecture

Expand All @@ -144,32 +144,32 @@ wInstaller is three native UIs sharing one Rust core engine:

The core (state machine, disk/ISO domain models, error taxonomy, and the
per-OS `SystemAdapter` trait) is the *only* shared layer — each UI is fully
native, with no cross-platform UI framework. See [ARCHITECTURE.md](ARCHITECTURE.md)
native, with no cross-platform UI framework. See [ARCHITECTURE.md](docs/specs/ARCHITECTURE.md)
and every decision record under [docs/adr/](docs/adr/), starting with
[docs/adr/0001-core-language-and-ffi.md](docs/adr/0001-core-language-and-ffi.md).

## Documentation Map

- [PRODUCT.md](PRODUCT.md): mission, users, success criteria, and non-goals.
- [VISION.md](VISION.md): product philosophy and interaction principles.
- [REQUIREMENTS.md](REQUIREMENTS.md): functional and non-functional requirements.
- [USER_FLOW.md](USER_FLOW.md): screen-by-screen assistant flow.
- [ARCHITECTURE.md](ARCHITECTURE.md): app structure, modules, and state model.
- [UI_GUIDELINES.md](UI_GUIDELINES.md): per-OS interface rules.
- [DESIGN_SYSTEM.md](DESIGN_SYSTEM.md): reusable visual and component standards.
- [TERMINAL_AUTOMATION.md](TERMINAL_AUTOMATION.md): allowed commands, policies, and error recovery.
- [BOOTABLE_USB_ENGINE.md](BOOTABLE_USB_ENGINE.md): bootable media engine state machine.
- [VMWARE_INTEGRATION.md](VMWARE_INTEGRATION.md): virtualization detection and handoff behavior.
- [PRODUCT.md](docs/specs/PRODUCT.md): mission, users, success criteria, and non-goals.
- [VISION.md](docs/specs/VISION.md): product philosophy and interaction principles.
- [REQUIREMENTS.md](docs/specs/REQUIREMENTS.md): functional and non-functional requirements.
- [USER_FLOW.md](docs/specs/USER_FLOW.md): screen-by-screen assistant flow.
- [ARCHITECTURE.md](docs/specs/ARCHITECTURE.md): app structure, modules, and state model.
- [UI_GUIDELINES.md](docs/specs/UI_GUIDELINES.md): per-OS interface rules.
- [DESIGN_SYSTEM.md](docs/specs/DESIGN_SYSTEM.md): reusable visual and component standards.
- [TERMINAL_AUTOMATION.md](docs/specs/TERMINAL_AUTOMATION.md): allowed commands, policies, and error recovery.
- [BOOTABLE_USB_ENGINE.md](docs/specs/BOOTABLE_USB_ENGINE.md): bootable media engine state machine.
- [VMWARE_INTEGRATION.md](docs/specs/VMWARE_INTEGRATION.md): virtualization detection and handoff behavior.
- [SECURITY.md](SECURITY.md): local-only trust model and permission strategy.
- [ICON_GUIDELINES.md](ICON_GUIDELINES.md): app icon and interface icon direction.
- [AI_RULES.md](AI_RULES.md): implementation rules for coding agents.
- [ROADMAP.md](ROADMAP.md): phased delivery plan.
- [ICON_GUIDELINES.md](docs/specs/ICON_GUIDELINES.md): app icon and interface icon direction.
- [AI_RULES.md](docs/specs/AI_RULES.md): implementation rules for coding agents.
- [ROADMAP.md](docs/specs/ROADMAP.md): phased delivery plan.
- [docs/adr/](docs/adr/): architecture decision records for the multi-platform evolution.
- [docs/screen-inventory.yaml](docs/screen-inventory.yaml): canonical screen/step registry used for cross-platform parity checks.

## Contributing

Read [AI_RULES.md](AI_RULES.md) and [CONTRIBUTING.md](CONTRIBUTING.md) before
Read [AI_RULES.md](docs/specs/AI_RULES.md) and [CONTRIBUTING.md](CONTRIBUTING.md) before
implementing a feature. Because the three UIs are separate native codebases
sharing only the core engine, a user-visible feature must be reflected across
all three (or explicitly tracked as pending) — see
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions Scripts/build-app.sh → scripts/build-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Build wInstaller.app, a real macOS application bundle, from the SwiftPM
# executable target. macOS only.
#
# Usage: Scripts/build-app.sh [output-dir]
# Usage: scripts/build-app.sh [output-dir]
# Result: <output-dir>/wInstaller.app (default output-dir: ./build)
set -euo pipefail

Expand All @@ -26,7 +26,7 @@ cp "$ROOT/Sources/WInstallerApp/Info.plist" "$CONTENTS/Info.plist"
# App icon: build the .icns if missing (needs the generated iconset).
if [[ ! -f "$ROOT/Assets/AppIcon.icns" ]]; then
echo "==> Building AppIcon.icns"
"$ROOT/Scripts/make-icns.sh" || echo "warning: could not build AppIcon.icns; app will use the default icon"
"$ROOT/scripts/make-icns.sh" || echo "warning: could not build AppIcon.icns; app will use the default icon"
fi
if [[ -f "$ROOT/Assets/AppIcon.icns" ]]; then
cp "$ROOT/Assets/AppIcon.icns" "$CONTENTS/Resources/AppIcon.icns"
Expand Down
File renamed without changes.
Loading