From db1c82f172c85077f86bf673054e719c7e877a25 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Mon, 16 Nov 2026 11:01:18 +0100 Subject: [PATCH] Consolidate user docs in the book and separate development and agent references --- AGENTS.md | 37 ++---- AGENT_DOCUMENTATION.md | 66 ++++++++++ README.md | 129 ++------------------ docs/README.md | 22 +--- docs/canvas-pilot/README.md | 87 +------------ docs/canvas-pilot/changelog.md | 6 + docs/canvas-pilot/feature-demo-checklist.md | 2 +- docs/canvas-pilot/guide/README.md | 29 +---- docs/canvas-pilot/guide/canvas.md | 2 +- docs/canvas-pilot/guide/device.md | 2 +- docs/canvas-pilot/guide/editing.md | 2 +- docs/canvas-pilot/guide/files.md | 4 +- docs/canvas-pilot/guide/formats-and-crop.md | 2 +- docs/canvas-pilot/guide/install.md | 2 +- docs/canvas-pilot/guide/overview.md | 16 +++ docs/canvas-pilot/guide/performance.md | 2 +- docs/canvas-pilot/guide/preferences.md | 2 +- docs/canvas-pilot/guide/quickstart.md | 8 +- docs/canvas-pilot/images/README.md | 97 +-------------- docs/canvas-pilot/images/capture.md | 95 ++++++++++++++ docs/canvas-pilot/introduction.md | 84 +++++++++++++ docs/canvas-pilot/plan.md | 2 +- docs/development/README.md | 28 +++-- docs/development/handoff.md | 2 +- docs/interfaces/README.md | 25 +--- docs/interfaces/canvas-pilot-exchange.md | 2 +- docs/manuals/README.md | 23 +--- docs/manuals/building.md | 22 ++++ docs/manuals/canvas-pilot/SUMMARY.md | 40 +----- docs/templates/canvas-pilot/README.md | 77 +----------- docs/templates/canvas-pilot/catalog.md | 76 ++++++++++++ 31 files changed, 442 insertions(+), 551 deletions(-) create mode 100644 AGENT_DOCUMENTATION.md create mode 100644 docs/canvas-pilot/guide/overview.md create mode 100644 docs/canvas-pilot/images/capture.md create mode 100644 docs/canvas-pilot/introduction.md create mode 100644 docs/manuals/building.md create mode 100644 docs/templates/canvas-pilot/catalog.md diff --git a/AGENTS.md b/AGENTS.md index 7adcb26..d6497e5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,34 +32,19 @@ Treat dated observations as a snapshot and verify current state before acting. - `scripts/`, root Cargo/Cross/release configuration and `Jenkinsfile`: independent build, checks, packaging, artwork, launchers and documentation publication. -## Authoritative documentation and task records +## Authoritative documentation -Start with `docs/README.md` for the full navigation index. +Use `AGENT_DOCUMENTATION.md` as the index for contracts, research, handoffs, +acceptance evidence and technical notes. Use `docs/development/README.md` for the +project plan, tasks, stretch goals and contribution workflow. Read the linked +records before changing behavior; do not duplicate their status in new checklists. -- `docs/canvas-pilot/README.md` and `guide/README.md`: introduction and advanced guide. -- `docs/canvas-pilot/plan.md`: completed implementation, current to-do list, distant - stretch goals and a separate acceptance-test list. Keep these categories distinct; - do not turn a completed task into new work during refactoring or migration. -- `docs/canvas-pilot/device-check.md`: hardware findings and verification procedures. -- `docs/canvas-pilot/aquilon_support.task.md`: completed Aquilon implementation - handoff; `aquilon-compatibility.md` records evidence and support boundaries. - Do not generalize the tested standalone AQL Cmax 6.2.x profile to every model or - firmware, or describe emulator evidence as physical-output acceptance. -- `docs/canvas-pilot/midra-aspect-test-checklist.md`: practical operator checks. - `midra-fit-precision.md`: unresolved precision questions for a manufacturer engineer. - Keep assumptions distinct from measured or operator-confirmed behavior. -- `docs/canvas-pilot/presentation-switcher-adapters.md`: future-adapter research and - documentation ranking. New adapters require protocol documentation and a usable - emulator/simulator before development; a candidate is not a release commitment. -- `docs/canvas-pilot/feature-demo-checklist.md`: ordered feature presentation script. -- `docs/canvas-pilot/images/README.md`: screenshot provenance and update instructions; - `images/` contains screenshots and `design/` retains historical visual proposals. -- `docs/development/migration.md`: migration provenance and completeness audit. - Earlier history and shared release notes remain linked to the old repository. - -When implementing work, reconcile the plan and acceptance evidence as well as the -user guide. Removed or deferred ideas are not implicit authorization to implement -features. Consult the current plan instead of copying its changing status here. +The user manual is built from the Markdown files listed in +`docs/manuals/canvas-pilot/SUMMARY.md`. Edit those chapters as the single source of +user-facing instructions. Keep READMEs short navigation pages. Do not put task lists, +handoffs or agent contracts on the main README or in the user book's chapter list. +Keep completed work, remaining acceptance and future ideas distinct. Preserve the +documented support boundaries; emulator evidence is not physical-output acceptance. ## Compatibility and device behavior diff --git a/AGENT_DOCUMENTATION.md b/AGENT_DOCUMENTATION.md new file mode 100644 index 0000000..2c8004e --- /dev/null +++ b/AGENT_DOCUMENTATION.md @@ -0,0 +1,66 @@ +# Agent documentation + +Start with [AGENTS.md](AGENTS.md) for working rules and the +[conversation handoff](docs/development/handoff.md) for dated context and pending +decisions. Verify current code, Git and external state before acting on old notes. +This index links authoritative records; it does not duplicate their content. + +## Planning and project history + +- [Development entry point](docs/development/README.md). +- [Implementation, to-do, acceptance tests and stretch goals](docs/canvas-pilot/plan.md). +- [Future adapter research and documentation ranking](docs/canvas-pilot/presentation-switcher-adapters.md). +- [Completed Aquilon support task](docs/canvas-pilot/aquilon_support.task.md). +- [Feature demonstration/recording checklist](docs/canvas-pilot/feature-demo-checklist.md). +- [Migration provenance and completeness audit](docs/development/migration.md). +- [Changelog](docs/canvas-pilot/changelog.md). + +## Contracts and compatibility + +Versioned examples and sanitized fixtures remain beside their contracts and in +`crates/canvas-pilot/tests/fixtures/`; regression tests refer to these paths. + +| Contract | Scope | +| --- | --- | +| [Project](docs/interfaces/canvas-pilot.md) | Project schema, versions and migrations | +| [Settings](docs/interfaces/canvas-pilot-settings.md) | User preferences and settings compatibility | +| [Recovery](docs/interfaces/canvas-pilot-recovery.md) | Recovery storage and restoration | +| [Geometry exchange](docs/interfaces/canvas-pilot-exchange.md) | Precision, omissions and round trips | +| [Extra parameters](docs/interfaces/midra-extra-parameters.md) | Embedded project snapshots | +| [Device adapters](docs/interfaces/device-adapters.md) | Shared representation and family-specific behavior | +| [Device import](docs/interfaces/midra-device-import.md) | Read-only import and conversion | +| [Device send](docs/interfaces/midra-device-send.md) | Reviewed writes, preflight, quantization and readback | +| [Input previews](docs/interfaces/midra-input-preview.md) | Capture and cache behavior | +| [Desktop launchers](docs/interfaces/desktop-launchers.md) | Generated shortcut and bundle formats | +| [Persistence audit](docs/interfaces/canvas-pilot-persistence-audit.md) | Coverage of persistent state | + +## Research, evidence and validation notes + +- [Hardware verification record](docs/canvas-pilot/device-check.md). +- [Aquilon compatibility investigation and emulator evidence](docs/canvas-pilot/aquilon-compatibility.md). +- [Practical Midra aspect acceptance checklist](docs/canvas-pilot/midra-aspect-test-checklist.md). +- [Fit precision and mask-rasterization questions for engineers](docs/canvas-pilot/midra-fit-precision.md). +- [Resolution and crop model](docs/canvas-pilot/resolutions.md), also a user-book reference. +- [Viewport performance reproduction](docs/canvas-pilot/guide/performance.md). +- [Screenshot provenance and capture recipes](docs/canvas-pilot/images/capture.md). +- [Historical visual proposals](docs/canvas-pilot/plan.md#visual-proposals): + [A](docs/canvas-pilot/design/a-concept.svg), [B](docs/canvas-pilot/design/b-concept.svg), + [C](docs/canvas-pilot/design/c-concept.svg). +- [Icon-generation provenance](docs/development/icon-prompts.json). + +## Build and documentation maintenance + +- [CI, validation commands and publication boundaries](docs/development/ci.md). +- [Release preparation and no-build readiness findings](docs/development/releases.md). +- [Book generation and publication](docs/manuals/building.md), + [chapter list](docs/manuals/canvas-pilot/SUMMARY.md) and + [book configuration](docs/manuals/canvas-pilot/book.toml). +- [User-book introduction source](docs/canvas-pilot/introduction.md), + [chapter overview](docs/canvas-pilot/guide/overview.md) and + [template catalog](docs/templates/canvas-pilot/catalog.md). + +The book owns user-facing explanations. Development owns the task-list entry point. +Agent notes, handoffs and contracts are reached through this index and are not book +chapters. Preserve useful cross-references and source documents; generated HTML is +not a second editable source. Historical migration inventories describe their audit +date, not a promise that documentation filenames can never change. diff --git a/README.md b/README.md index f81c7d7..ce08ba2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- Canvas Pilot icon + Canvas Pilot icon

Canvas Pilot

@@ -9,124 +9,15 @@ Coverage

-

Compose your screen layout. Frame every layer. Bring it to the switcher.

+A desktop layout editor for presentations and live events. Arrange, resize and crop +screen layers offline, exchange layouts with drawing tools, and review geometry +transfers to supported Analog Way Midra and Aquilon switchers. -

- Get started · - Read the manual · - Get templates · - Report an issue -

+**[Read the manual](https://books.dandaedre.com/manuals/canvas-pilot/)** · +[Install and update](https://books.dandaedre.com/manuals/canvas-pilot/docs/canvas-pilot/guide/install.html) · +[Releases](https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot/releases) · +[Report an issue](https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot/issues) -Canvas Pilot is a desktop layout editor for presentations and live events. Arrange -slides, cameras and other content as layers on a screen, give them precise sizes -and positions, and crop each picture into place. Prepare everything offline, exchange -layouts with drawing tools, or connect to a supported **Analog Way Midra or Aquilon** -to load and send layer geometry. +[Development](docs/development/README.md) · [Changelog](docs/canvas-pilot/changelog.md) · [MIT license](LICENSE) -Canvas Pilot prepares the layout; your presentation switcher renders the live output. -You can use the editor and file exchange without any connected equipment. - - -[![Workspace showing a Slides and Presenter layout, pixel measurements and layer controls](docs/canvas-pilot/images/01-workspace.png)](docs/canvas-pilot/guide/quickstart.md) - -*Slides + Presenter on a Full HD canvas. This capture predates the Canvas Pilot -rename and still shows the former “Midra Layout” name.* - -## From an idea to a screen layout - -1. **Set the stage.** Choose your canvas size, start with the example layout, or - import geometry. Add a reference image to position layers against your design. -2. **Arrange and frame.** Drag, resize, snap and align layers. Enter exact pixel - measurements, organize alternatives in folders, and adjust the crop visually. -3. **Save or exchange.** Keep an editable project, export a layout for another tool, - or start from the supplied Full HD and 4K templates. -4. **Transfer when ready.** Connect to a supported device, review layer mappings - and the Preview/Program destination, then explicitly load or send. Ordinary - editing stays local. - -[Walk through your first layout →](docs/canvas-pilot/guide/quickstart.md) - -## Tools for getting the picture right - -| Arrange the screen | Frame the content | Work with the device | -| --- | --- | --- | -| Exact sizes and positions | Visual crop, zoom and offset | Load existing layer geometry | -| Snapping, guides and alignment | Reference images and input stills | Review layer-to-device mappings | -| Multi-selection and group resizing | Advanced layer fit and Midra masks | Send selected, folder or all layers | -| Folders, lock/visibility and undo/redo | Saved projects and recovery | Update changed parameters efficiently | - -
-See the crop workspace - - -![Crop controls and on-canvas content framing in the earlier Midra Layout interface](docs/canvas-pilot/images/03-crop.png) - -Adjust the picture inside its layer while keeping the layout in view. -See [formats, crop and precision](docs/canvas-pilot/guide/formats-and-crop.md) -for the available modes and device limitations. This capture also predates the rename. - -
- -## Bring your layout with you - -Exchange geometry through **SVG, draw.io, JSON, CSV, DXF, DWG, HTML, PPTX, Figma FIG, -FigCraft and Illustrator AI**. Import review lets you choose what to apply to your -layers; supported formats can also carry optional project metadata. - -[**Download all starter templates**](https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot/raw/branch/main/docs/templates/canvas-pilot/canvas-pilot-all-templates.zip) -· [Browse individual formats](docs/templates/canvas-pilot/README.md) -· [Import/export guide](docs/canvas-pilot/guide/files.md) - -Format capabilities vary. Native vendor codecs are included in the default build; -Illustrator AI requires the separate VectorCraft CLI. **SVG is the recommended -Illustrator exchange format.** Keep your editable project alongside geometry exports. - -## Supported switchers - -| Adapter | Recorded validation | Details | -| --- | --- | --- | -| **Midra 4K** | Eikos 4K, firmware 3.3.10; hardware protocol checks | [Device checks and limits](docs/canvas-pilot/device-check.md) | -| **Aquilon / LivePremier** | Standalone AQL Cmax 6.2.x; emulator acceptance on 6.2.79 | [Compatibility and support boundaries](docs/canvas-pilot/aquilon-compatibility.md) | - -Support depends on model, firmware and feature. Aquilon physical-output acceptance -remains outstanding; the recorded profile does not imply support for every Aquilon -configuration. See the [connection and transfer guide](docs/canvas-pilot/guide/device.md) -before using a device. - -Interested in another switcher? [See the adapter candidates](docs/canvas-pilot/presentation-switcher-adapters.md) -and [open a request](https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot/issues). -Development requires **protocol documentation and a usable emulator/simulator**. - -## Get started - -Choose [a compiled release](https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot/releases), -use `cargo binstall` to install a released binary, or build a selected release with -`cargo install`. **[Installation and updates →](docs/canvas-pilot/guide/install.md)** -explains platform downloads, exact commands and prerequisites. - -The first release has not been published yet (checked 2026-11-16). Until then, -follow the [development build instructions](docs/canvas-pilot/guide/install.md#run-the-development-version). - -Then try the [first-layout walkthrough](docs/canvas-pilot/guide/quickstart.md), -or open the [advanced guide](docs/canvas-pilot/guide/README.md) for the full controls. - -## Find your way around - -[**Full manual**](https://books.dandaedre.com/manuals/canvas-pilot/) · -[Advanced guide](docs/canvas-pilot/guide/README.md) · -[Changelog](docs/canvas-pilot/changelog.md) · -[Tasks and stretch goals](docs/canvas-pilot/plan.md) · -[All documentation](docs/README.md) - -For bug reports, include your OS, application version, steps to reproduce and, -for device issues, the model and firmware. Contributors can start with the -[development guide](docs/development/README.md) and [file/device contracts](docs/interfaces/README.md). - - - ---- - -[MIT licensed](LICENSE). Independent software, not affiliated with Analog Way. -Originally part of [beffroi-tools](https://proxy.dandaedre.com/gitea/Beffroi/beffroi-tools); -[earlier history and migration notes](docs/development/migration.md) remain available. +Independent software, not affiliated with Analog Way. diff --git a/docs/README.md b/docs/README.md index bd22a30..fa7548d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,22 +1,6 @@ # Documentation -[Full manual](https://books.dandaedre.com/manuals/canvas-pilot/) · [Changelog](changelogs.md) +[User manual](https://books.dandaedre.com/manuals/canvas-pilot/) · [Development](development/README.md) -| Area | Documents | -| --- | --- | -| Installation | [Downloads, cargo-binstall, cargo install and updates](canvas-pilot/guide/install.md) | -| Getting started | [Introduction](canvas-pilot/README.md), [first layout](canvas-pilot/guide/quickstart.md) | -| Advanced use | [Advanced guide](canvas-pilot/guide/README.md), [resolution/cropping model](canvas-pilot/resolutions.md) | -| Tasks and stretch goals | [Implementation, to-do, stretch goals and acceptance tests](canvas-pilot/plan.md) | -| Device acceptance | [Hardware verification](canvas-pilot/device-check.md), [practical aspect checklist](canvas-pilot/midra-aspect-test-checklist.md), [engineering precision questions](canvas-pilot/midra-fit-precision.md) | -| Aquilon | [Completed support task](canvas-pilot/aquilon_support.task.md), [compatibility and evidence](canvas-pilot/aquilon-compatibility.md) | -| Future adapters | [Candidates and documentation ranking](canvas-pilot/presentation-switcher-adapters.md) | -| Presentation | [Feature demonstration checklist](canvas-pilot/feature-demo-checklist.md) | -| Pictures and designs | [Screenshot instructions](canvas-pilot/images/README.md), [historical visual proposals](canvas-pilot/plan.md#visual-proposals) | -| Exchange and persistence | [Starter templates](templates/canvas-pilot/README.md), [interface contracts and fixtures](interfaces/README.md) | -| Development | [Developer guide](development/README.md), [CI](development/ci.md), [release preparation](development/releases.md) | -| Book | [Generation and publication](manuals/README.md), [chapter list](manuals/canvas-pilot/SUMMARY.md) | -| Migration | [Provenance and completeness audit](development/migration.md) | - -The plan is the authoritative task list. Completed work, outstanding acceptance -checks and distant stretch goals remain separate; the migration did not reset them. +The book is built from the Markdown chapters listed in [its contents](manuals/canvas-pilot/SUMMARY.md). +Edit those sources rather than maintaining a second user guide in READMEs. diff --git a/docs/canvas-pilot/README.md b/docs/canvas-pilot/README.md index 3ff2dff..3b26330 100644 --- a/docs/canvas-pilot/README.md +++ b/docs/canvas-pilot/README.md @@ -1,86 +1,3 @@ -# Canvas Pilot +# Canvas Pilot manual -[Read the full manual →](https://books.dandaedre.com/manuals/canvas-pilot/) - -Canvas Pilot icon - -Canvas Pilot (formerly Midra Layout) is an independent project, not affiliated with Analog Way. - -Canvas Pilot helps you prepare screen layouts for presentations and live events. -Place video and slide layers on a canvas, check their sizes and positions, and -frame their content before working with the screen processor. You can design -offline, exchange geometry with drawing and presentation tools, and connect to -a supported Midra 4K or Aquilon / LivePremier device when you are ready to review and transfer a layout. - -[Install and update](guide/install.md) · [Quick start](guide/quickstart.md) · [Advanced guide](guide/README.md) · [Starter files for all formats](../templates/canvas-pilot/README.md) · [Changelog](changelog.md) - -## Start a layout - -Run the desktop app from the repository root: - -```sh -cargo run --locked -p canvas-pilot -``` - -A graphical desktop and a Rust build environment are required; see -[development setup](../development/README.md). No device connection is needed -for local editing. - -A new project starts with a 1920 × 1080 canvas and two layers, **Slides** and -**Presenter**. Select a layer on the canvas or in the list, drag it into place, -and use its handles to resize it. Shift-click to select several layers; use -Undo if you want to try a different arrangement. - - -![Canvas Pilot workspace with Slides and Presenter layers on a Full HD canvas](images/01-workspace.png) - -*The canvas shows the layout; the inspector gives exact dimensions and positions.* - -## Position and organize layers - -Enter exact pixel positions and dimensions in the inspector, or open **Layer -properties** by clicking the layer-resolution field. Keep the aspect ratio -locked when resizing, align layers, and group related layers in folders. Add -more layers through **Manage…** in the Layers panel. - - -![Layer properties showing width, height and aspect-ratio controls](images/02-layer-properties.png) - -*Use numeric controls for precise sizing, or work directly on the canvas.* - -See [layers and editing](guide/editing.md) for selection, alignment, folders -and group resizing. - -## Frame content and use visual references - -Open **Layer properties → Crop** to frame the source inside a layer. Crop editing -keeps the visible layer box fixed while you adjust the content within it. You -can also add reference images to the canvas to match an existing screen design. - - -![Visual crop editing with a source preview and content-framing controls](images/03-crop.png) - -*Preview how the source fits inside the layer before transferring a layout.* - -See [formats and crop](guide/formats-and-crop.md) and -[canvas and reference images](guide/canvas.md) for the detailed controls. - -## Save, exchange or send a layout - -- **Save your work:** use **Project → Save project…** for a `.midra.json` file - that retains the full editor project. -- **Work with another application:** drop a supported geometry file into the window, - use **Import → Geometry file…**, or **Project → Export → Export layers…**. The [starter-file catalog](../templates/canvas-pilot/README.md) - has matching Full HD and 4K files in SVG, draw.io, geometry JSON, CSV, DXF/DWG, - HTML, PPTX, Figma FIG, FigCraft and Illustrator AI. Prefer SVG for Illustrator - exchange: AI requires a separately installed VectorCraft CLI for both import - and export. See [AI setup](guide/files.md#illustrator-ai-optional-converter-required). -- **Use a supported device:** connect, review layer mappings, then explicitly load or - send the chosen layers. Ordinary editing does not send commands to the device. - Follow the [connection and transfer guide](guide/device.md) and its linked - hardware-verification notes before using device writes. - -For advanced workflows, start at the [advanced guide](guide/README.md). -File schemas and compatibility rules are in the [interface reference](../interfaces/README.md). - -[Screenshot capture and update instructions](images/README.md) +[Read the book](https://books.dandaedre.com/manuals/canvas-pilot/) · [Book source](introduction.md) diff --git a/docs/canvas-pilot/changelog.md b/docs/canvas-pilot/changelog.md index 892cffb..944309b 100644 --- a/docs/canvas-pilot/changelog.md +++ b/docs/canvas-pilot/changelog.md @@ -4,6 +4,12 @@ ## Unreleased +- Simplified READMEs to navigation and kept user instructions in the book's source + chapters. Moved task-list discovery behind Development and indexed contracts, + research and handoffs in `AGENT_DOCUMENTATION.md`; removed internal records from + the user book's navigation while preserving their files and evidence. + + - Added an installation/help chapter covering release downloads, tagged-manifest cargo-binstall without compile fallback, cargo install from a release tag, platform launchers, updates and troubleshooting. Linked it from the README, diff --git a/docs/canvas-pilot/feature-demo-checklist.md b/docs/canvas-pilot/feature-demo-checklist.md index adaa569..34ec41c 100644 --- a/docs/canvas-pilot/feature-demo-checklist.md +++ b/docs/canvas-pilot/feature-demo-checklist.md @@ -127,4 +127,4 @@ projects out of the feature demonstration. This checklist covers implemented workflows as of 2026-11-16. Aquilon support is scoped to standalone AQL Cmax 6.2.x, validated on the 6.2.79 emulator; describe emulator footage accordingly. -For detailed controls, see the [advanced guide](guide/README.md). +For detailed controls, see the [advanced guide](guide/overview.md). diff --git a/docs/canvas-pilot/guide/README.md b/docs/canvas-pilot/guide/README.md index 26158e5..6172522 100644 --- a/docs/canvas-pilot/guide/README.md +++ b/docs/canvas-pilot/guide/README.md @@ -1,28 +1,3 @@ -# Canvas Pilot advanced guide +# User guide -[Introduction](../README.md) · [Install and update](install.md) · [Quick start: your first layout](quickstart.md) · [Starter files](../../templates/canvas-pilot/README.md) · [Changelog](../changelog.md) - -Use this guide after the [first-layout walkthrough](quickstart.md), or jump -directly to the detailed controls, workflows and limitations you need. - -| Chapter | What it covers | -| --- | --- | -| [Installation and updates](install.md) | Prebuilt downloads, cargo-binstall, source installation and troubleshooting | -| [Layers and editing](editing.md) | Select, move, resize, align, name, order and group layers | -| [Canvas and reference images](canvas.md) | Workspace defaults, view tools, guides, grid, reference pictures and positioning points | -| [Formats, crop and precision](formats-and-crop.md) | Input/output sizes, content framing, visual crop controls and numeric precision | -| [Import, export and project files](files.md) | Clipboard mapping, geometry files, export scopes, saving and recovery | -| [Menus and preferences](preferences.md) | Application menus, themes, saved settings and snapping | -| [Midra connection and transfers](device.md) | Connection, reviewed device writes, folder layouts and input snapshots | -| [Viewport performance](performance.md) | Reproducing the headless capacity check and interpreting its results | - -## Technical reference - -- [Feature demonstration checklist](../feature-demo-checklist.md): ordered operations for recording a feature presentation. -- [Resolution and cropping model](../resolutions.md): equations and worked examples. -- [File and device contracts](../../interfaces/README.md): schemas, migration, supported formats and device behavior. -- [Hardware verification](../device-check.md): tested device behavior and limitations. -- [Implementation plan](../plan.md): remaining acceptance work and design background. - -These are ordinary Markdown chapters with relative links; no documentation build -is required to browse them. +[Read the book](https://books.dandaedre.com/manuals/canvas-pilot/) · [Chapter source index](overview.md) diff --git a/docs/canvas-pilot/guide/canvas.md b/docs/canvas-pilot/guide/canvas.md index 447cd86..a5a9c6b 100644 --- a/docs/canvas-pilot/guide/canvas.md +++ b/docs/canvas-pilot/guide/canvas.md @@ -1,6 +1,6 @@ # Canvas and reference images -[Canvas Pilot](../README.md) · [Guide contents](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Canvas Pilot](../introduction.md) · [Guide contents](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) ## Workspace defaults and limits diff --git a/docs/canvas-pilot/guide/device.md b/docs/canvas-pilot/guide/device.md index 3d1153e..0e30473 100644 --- a/docs/canvas-pilot/guide/device.md +++ b/docs/canvas-pilot/guide/device.md @@ -1,6 +1,6 @@ # Device connection and transfers -[Canvas Pilot](../README.md) · [Guide contents](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Canvas Pilot](../introduction.md) · [Guide contents](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) ## Connect a device or emulator diff --git a/docs/canvas-pilot/guide/editing.md b/docs/canvas-pilot/guide/editing.md index 4980276..1129cbe 100644 --- a/docs/canvas-pilot/guide/editing.md +++ b/docs/canvas-pilot/guide/editing.md @@ -1,6 +1,6 @@ # Layers and editing -[Canvas Pilot](../README.md) · [Guide contents](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Canvas Pilot](../introduction.md) · [Guide contents](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) ## Layer folders diff --git a/docs/canvas-pilot/guide/files.md b/docs/canvas-pilot/guide/files.md index ba731ac..05b1286 100644 --- a/docs/canvas-pilot/guide/files.md +++ b/docs/canvas-pilot/guide/files.md @@ -1,6 +1,6 @@ # Import, export and project files -[Canvas Pilot](../README.md) · [Guide contents](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Canvas Pilot](../introduction.md) · [Guide contents](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) ## Paste layer values and import geometry @@ -142,7 +142,7 @@ viewport preferences, and all embedded reference images. Apply pending edits before saving. Opening asks before replacing current work and starts a fresh undo history. Existing files require confirmation before replacement. -The [starter-file catalog](../../templates/canvas-pilot/README.md) contains all eleven +The [starter-file catalog](../../templates/canvas-pilot/catalog.md) contains all eleven exchange formats, with two layers for 1920 × 1080 and 3840 × 2160 canvases. **Project → Export → Export layers…** opens one shared window. Choose SVG, diff --git a/docs/canvas-pilot/guide/formats-and-crop.md b/docs/canvas-pilot/guide/formats-and-crop.md index 2dc7094..672a1c6 100644 --- a/docs/canvas-pilot/guide/formats-and-crop.md +++ b/docs/canvas-pilot/guide/formats-and-crop.md @@ -1,6 +1,6 @@ # Formats, crop and precision -[Canvas Pilot](../README.md) · [Guide contents](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Canvas Pilot](../introduction.md) · [Guide contents](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) ## Formats and content framing diff --git a/docs/canvas-pilot/guide/install.md b/docs/canvas-pilot/guide/install.md index 7008415..d72c681 100644 --- a/docs/canvas-pilot/guide/install.md +++ b/docs/canvas-pilot/guide/install.md @@ -1,6 +1,6 @@ # Install and update Canvas Pilot -[Introduction](../README.md) · [Your first layout](quickstart.md) · [Advanced guide](README.md) +[Introduction](../introduction.md) · [Your first layout](quickstart.md) · [Advanced guide](overview.md) Choose the installation method that suits your computer: diff --git a/docs/canvas-pilot/guide/overview.md b/docs/canvas-pilot/guide/overview.md new file mode 100644 index 0000000..ffb7b16 --- /dev/null +++ b/docs/canvas-pilot/guide/overview.md @@ -0,0 +1,16 @@ +# Canvas Pilot advanced guide + +[Introduction](../introduction.md) · [Install and update](install.md) · [Quick start: your first layout](quickstart.md) · [Starter files](../../templates/canvas-pilot/catalog.md) · [Changelog](../changelog.md) + +Use this guide after the [first-layout walkthrough](quickstart.md), or jump +directly to the detailed controls, workflows and limitations you need. + +| Chapter | What it covers | +| --- | --- | +| [Installation and updates](install.md) | Prebuilt downloads, cargo-binstall, source installation and troubleshooting | +| [Layers and editing](editing.md) | Select, move, resize, align, name, order and group layers | +| [Canvas and reference images](canvas.md) | Workspace defaults, view tools, guides, grid, reference pictures and positioning points | +| [Formats, crop and precision](formats-and-crop.md) | Input/output sizes, content framing, visual crop controls and numeric precision | +| [Import, export and project files](files.md) | Clipboard mapping, geometry files, export scopes, saving and recovery | +| [Menus and preferences](preferences.md) | Application menus, themes, saved settings and snapping | +| [Midra connection and transfers](device.md) | Connection, reviewed device writes, folder layouts and input snapshots | diff --git a/docs/canvas-pilot/guide/performance.md b/docs/canvas-pilot/guide/performance.md index e239256..8d38708 100644 --- a/docs/canvas-pilot/guide/performance.md +++ b/docs/canvas-pilot/guide/performance.md @@ -1,6 +1,6 @@ # Viewport performance -[Canvas Pilot](../README.md) · [Guide contents](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Canvas Pilot](../introduction.md) · [Guide contents](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) ## Viewport capacity check diff --git a/docs/canvas-pilot/guide/preferences.md b/docs/canvas-pilot/guide/preferences.md index 747b4d3..31733c7 100644 --- a/docs/canvas-pilot/guide/preferences.md +++ b/docs/canvas-pilot/guide/preferences.md @@ -1,6 +1,6 @@ # Menus and preferences -[Canvas Pilot](../README.md) · [Guide contents](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Canvas Pilot](../introduction.md) · [Guide contents](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) ## Application menu diff --git a/docs/canvas-pilot/guide/quickstart.md b/docs/canvas-pilot/guide/quickstart.md index a33cfd6..b58e621 100644 --- a/docs/canvas-pilot/guide/quickstart.md +++ b/docs/canvas-pilot/guide/quickstart.md @@ -1,6 +1,6 @@ # Quick start: your first layout -[Introduction](../README.md) · [Advanced guide](README.md) · [Starter files](../../templates/canvas-pilot/README.md) +[Introduction](../introduction.md) · [Advanced guide](overview.md) · [Starter files](../../templates/canvas-pilot/catalog.md) Make a simple Slides + Presenter layout, save an editable project, and export its geometry. This walkthrough uses the default Full HD canvas and works offline; @@ -22,7 +22,7 @@ If a previous layout was restored, save any work you want to keep, then choose The default canvas is **1920 × 1080**, with **Slides** and **Presenter** layers. Leave that resolution unchanged for this walkthrough. - + ![Default Full HD layout with Slides and Presenter, with Presenter selected](../images/01-workspace.png) ## 2. Place and size the layers @@ -63,7 +63,7 @@ and save the export. For plain layer boxes, leave the background and placeholder pictures disabled. The SVG can be opened in a vector editor. Keep the `.midra.json` project as well: a geometry export does not retain all editor -settings. The [starter-file catalog](../../templates/canvas-pilot/README.md) has +settings. The [starter-file catalog](../../templates/canvas-pilot/catalog.md) has matching layouts in every supported format if you prefer to start in another app. ## Continue with the advanced guide @@ -77,5 +77,5 @@ You now have an editable project and a geometry export. Choose your next task: - [Connect an Eikos 4K and review layer transfers](device.md). Device sends are explicit actions; ordinary local editing does not send changes. -The [advanced guide](README.md) also links to settings, compatibility contracts +The [advanced guide](overview.md) also links to settings, compatibility contracts and hardware-verification details. diff --git a/docs/canvas-pilot/images/README.md b/docs/canvas-pilot/images/README.md index ee20fb7..1cf7db7 100644 --- a/docs/canvas-pilot/images/README.md +++ b/docs/canvas-pilot/images/README.md @@ -1,95 +1,4 @@ -# Updating the Canvas Pilot screenshots +# Manual screenshots -[Canvas Pilot introduction](../README.md) · [Detailed user guide](../guide/README.md) - -The introduction uses real application captures, not the design mockups in -`../design/`. Each image has an adjacent HTML comment in the introduction that -points to its recipe below. - -## Capture provenance - -Captured on **2026-11-14** from the default-feature debug build at source commit -`ba67f21`, on Linux/X11 (XFCE). The app's client area was **1440 × 940 pixels**, -at 100% display scaling, with the default dark theme. Screenshots are unedited -PNG captures of the app client area, without desktop decorations or the mouse -pointer. The original captures used ImageMagick `import -window `; -a temporary Python `ctypes` helper located the isolated process's X11 window and -used XTest clicks to select the controls. The helper is not required to reproduce -the images: the same steps can be performed manually. - -All images use the built-in example backdrop and the default **1920 × 1080** -project. No external artwork, saved user project or device connection was used. -The footer should read **OFFLINE**. No hardware reads or writes are needed. - -## Prepare a clean session - -From the repository root, build the current app and start it with temporary user -settings and recovery storage. Use a new temporary directory for each capture -session so that earlier recovery data does not replace the default layout. - -```sh -cargo build --locked -p canvas-pilot -MIDRA_DOC_SESSION=$(mktemp -d /tmp/canvas-pilot-docs.XXXXXX) -XDG_CONFIG_HOME="$MIDRA_DOC_SESSION/config" \ -XDG_DATA_HOME="$MIDRA_DOC_SESSION/data" \ - target/debug/canvas-pilot -``` - -These isolation variables apply on Linux. On another platform, use an isolated -user profile or restore the same default project and theme before capturing. -Keep the default window size and 100% display scaling. The output canvas is -1920 × 1080; the two layers are **01 / Presenter** and **02 / Slides**, each -640 × 360. Select **01 / Presenter** in the Layers list. Do not move or resize it. - -After each action, move the pointer into empty space below the canvas, without -clicking, and wait for the UI to settle. Clicking empty space clears selection. -Dismiss any notification or tooltip before capturing. - -With ImageMagick, run the following in a second terminal and click the Midra -window to select it. Alternatively, use your desktop's “capture window” action -with the pointer and window border excluded. - -```sh -import docs/canvas-pilot/images/01-workspace.png -``` - -For a known X11 client-window ID, the equivalent command is: - -```sh -# Set MIDRA_DOC_WINDOW to the ID of this temporary Canvas Pilot window. -import -window "$MIDRA_DOC_WINDOW" docs/canvas-pilot/images/01-workspace.png -``` - -Capture each state below to its corresponding filename. Keep the full client -area; do not crop, add annotations, or substitute a mockup. Close the temporary -app after the last capture. - -## 01-workspace.png - -Start from the clean session with **01 / Presenter** selected and no menus or -dialogs open. Both layer boxes should be visible. The right inspector shows -640 × 360 dimensions and measurements from the top-right corner: 120 pixels -from the right and 180 pixels from the top. Capture the workspace. - -## 02-layer-properties.png - -From the workspace state, click the **640.0 × 360.0 px / 16:9** resolution field -in the right inspector. Keep the **Layer** tab selected in the Layer properties -window, with **Keep aspect when resizing** checked and the original width and -height unchanged. Do not move or resize the properties window. Capture it over -the canvas. - -## 03-crop.png - -From the Layer properties state, click the **Crop** tab. This activates visual -crop mode and displays the source pattern on the canvas. Leave the default -100% zoom and centered content unchanged. Capture the crop controls and preview. -Do not connect a device or import an input snapshot to reproduce this picture. - -## Check the update - -- Open all three PNGs and confirm the intended controls and layer labels are readable. -- Check that there are no tooltips, transient notifications, unrelated windows or private data. -- Preview the [introduction](../README.md) and keep its captions and image alt text consistent with the UI. -- Update the capture date, source commit and any changed steps in this file; keep the adjacent screenshot comments current. -- Commit the three PNGs and documentation changes together. Temporary settings and captures do not belong in Git. +Capture provenance and update instructions are in [capture.md](capture.md), indexed from +[agent documentation](../../../AGENT_DOCUMENTATION.md). diff --git a/docs/canvas-pilot/images/capture.md b/docs/canvas-pilot/images/capture.md new file mode 100644 index 0000000..d202a7b --- /dev/null +++ b/docs/canvas-pilot/images/capture.md @@ -0,0 +1,95 @@ +# Updating the Canvas Pilot screenshots + +[Canvas Pilot introduction](../introduction.md) · [Detailed user guide](../guide/overview.md) + +The introduction uses real application captures, not the design mockups in +`../design/`. Each image has an adjacent HTML comment in the introduction that +points to its recipe below. + +## Capture provenance + +Captured on **2026-11-14** from the default-feature debug build at source commit +`ba67f21`, on Linux/X11 (XFCE). The app's client area was **1440 × 940 pixels**, +at 100% display scaling, with the default dark theme. Screenshots are unedited +PNG captures of the app client area, without desktop decorations or the mouse +pointer. The original captures used ImageMagick `import -window `; +a temporary Python `ctypes` helper located the isolated process's X11 window and +used XTest clicks to select the controls. The helper is not required to reproduce +the images: the same steps can be performed manually. + +All images use the built-in example backdrop and the default **1920 × 1080** +project. No external artwork, saved user project or device connection was used. +The footer should read **OFFLINE**. No hardware reads or writes are needed. + +## Prepare a clean session + +From the repository root, build the current app and start it with temporary user +settings and recovery storage. Use a new temporary directory for each capture +session so that earlier recovery data does not replace the default layout. + +```sh +cargo build --locked -p canvas-pilot +MIDRA_DOC_SESSION=$(mktemp -d /tmp/canvas-pilot-docs.XXXXXX) +XDG_CONFIG_HOME="$MIDRA_DOC_SESSION/config" \ +XDG_DATA_HOME="$MIDRA_DOC_SESSION/data" \ + target/debug/canvas-pilot +``` + +These isolation variables apply on Linux. On another platform, use an isolated +user profile or restore the same default project and theme before capturing. +Keep the default window size and 100% display scaling. The output canvas is +1920 × 1080; the two layers are **01 / Presenter** and **02 / Slides**, each +640 × 360. Select **01 / Presenter** in the Layers list. Do not move or resize it. + +After each action, move the pointer into empty space below the canvas, without +clicking, and wait for the UI to settle. Clicking empty space clears selection. +Dismiss any notification or tooltip before capturing. + +With ImageMagick, run the following in a second terminal and click the Midra +window to select it. Alternatively, use your desktop's “capture window” action +with the pointer and window border excluded. + +```sh +import docs/canvas-pilot/images/01-workspace.png +``` + +For a known X11 client-window ID, the equivalent command is: + +```sh +# Set MIDRA_DOC_WINDOW to the ID of this temporary Canvas Pilot window. +import -window "$MIDRA_DOC_WINDOW" docs/canvas-pilot/images/01-workspace.png +``` + +Capture each state below to its corresponding filename. Keep the full client +area; do not crop, add annotations, or substitute a mockup. Close the temporary +app after the last capture. + +## 01-workspace.png + +Start from the clean session with **01 / Presenter** selected and no menus or +dialogs open. Both layer boxes should be visible. The right inspector shows +640 × 360 dimensions and measurements from the top-right corner: 120 pixels +from the right and 180 pixels from the top. Capture the workspace. + +## 02-layer-properties.png + +From the workspace state, click the **640.0 × 360.0 px / 16:9** resolution field +in the right inspector. Keep the **Layer** tab selected in the Layer properties +window, with **Keep aspect when resizing** checked and the original width and +height unchanged. Do not move or resize the properties window. Capture it over +the canvas. + +## 03-crop.png + +From the Layer properties state, click the **Crop** tab. This activates visual +crop mode and displays the source pattern on the canvas. Leave the default +100% zoom and centered content unchanged. Capture the crop controls and preview. +Do not connect a device or import an input snapshot to reproduce this picture. + +## Check the update + +- Open all three PNGs and confirm the intended controls and layer labels are readable. +- Check that there are no tooltips, transient notifications, unrelated windows or private data. +- Preview the [introduction](../introduction.md) and keep its captions and image alt text consistent with the UI. +- Update the capture date, source commit and any changed steps in this file; keep the adjacent screenshot comments current. +- Commit the three PNGs and documentation changes together. Temporary settings and captures do not belong in Git. diff --git a/docs/canvas-pilot/introduction.md b/docs/canvas-pilot/introduction.md new file mode 100644 index 0000000..685e06e --- /dev/null +++ b/docs/canvas-pilot/introduction.md @@ -0,0 +1,84 @@ +# Canvas Pilot + +[Read the full manual →](https://books.dandaedre.com/manuals/canvas-pilot/) + +Canvas Pilot icon + +Canvas Pilot (formerly Midra Layout) is an independent project, not affiliated with Analog Way. + +Canvas Pilot helps you prepare screen layouts for presentations and live events. +Place video and slide layers on a canvas, check their sizes and positions, and +frame their content before working with the screen processor. You can design +offline, exchange geometry with drawing and presentation tools, and connect to +a supported Midra 4K or Aquilon / LivePremier device when you are ready to review and transfer a layout. + +[Install and update](guide/install.md) · [Quick start](guide/quickstart.md) · [Advanced guide](guide/overview.md) · [Starter files for all formats](../templates/canvas-pilot/catalog.md) · [Changelog](changelog.md) + +## Start a layout + +Run the desktop app from the repository root: + +```sh +cargo run --locked -p canvas-pilot +``` + +A graphical desktop and a Rust build environment are required; see +[development setup](../development/README.md). No device connection is needed +for local editing. + +A new project starts with a 1920 × 1080 canvas and two layers, **Slides** and +**Presenter**. Select a layer on the canvas or in the list, drag it into place, +and use its handles to resize it. Shift-click to select several layers; use +Undo if you want to try a different arrangement. + + +![Canvas Pilot workspace with Slides and Presenter layers on a Full HD canvas](images/01-workspace.png) + +*The canvas shows the layout; the inspector gives exact dimensions and positions. +Screenshots in this introduction predate the Canvas Pilot rename.* + +## Position and organize layers + +Enter exact pixel positions and dimensions in the inspector, or open **Layer +properties** by clicking the layer-resolution field. Keep the aspect ratio +locked when resizing, align layers, and group related layers in folders. Add +more layers through **Manage…** in the Layers panel. + + +![Layer properties showing width, height and aspect-ratio controls](images/02-layer-properties.png) + +*Use numeric controls for precise sizing, or work directly on the canvas.* + +See [layers and editing](guide/editing.md) for selection, alignment, folders +and group resizing. + +## Frame content and use visual references + +Open **Layer properties → Crop** to frame the source inside a layer. Crop editing +keeps the visible layer box fixed while you adjust the content within it. You +can also add reference images to the canvas to match an existing screen design. + + +![Visual crop editing with a source preview and content-framing controls](images/03-crop.png) + +*Preview how the source fits inside the layer before transferring a layout.* + +See [formats and crop](guide/formats-and-crop.md) and +[canvas and reference images](guide/canvas.md) for the detailed controls. + +## Save, exchange or send a layout + +- **Save your work:** use **Project → Save project…** for a `.midra.json` file + that retains the full editor project. +- **Work with another application:** drop a supported geometry file into the window, + use **Import → Geometry file…**, or **Project → Export → Export layers…**. The [starter-file catalog](../templates/canvas-pilot/catalog.md) + has matching Full HD and 4K files in SVG, draw.io, geometry JSON, CSV, DXF/DWG, + HTML, PPTX, Figma FIG, FigCraft and Illustrator AI. Prefer SVG for Illustrator + exchange: AI requires a separately installed VectorCraft CLI for both import + and export. See [AI setup](guide/files.md#illustrator-ai-optional-converter-required). +- **Use a supported device:** connect, review layer mappings, then explicitly load or + send the chosen layers. Ordinary editing does not send commands to the device. + Follow the [connection and transfer guide](guide/device.md) and its linked + hardware-verification notes before using device writes. + +For advanced workflows, start at the [advanced guide](guide/overview.md). diff --git a/docs/canvas-pilot/plan.md b/docs/canvas-pilot/plan.md index 1f51543..bd44980 100644 --- a/docs/canvas-pilot/plan.md +++ b/docs/canvas-pilot/plan.md @@ -6,7 +6,7 @@ original draft checklist: unchecked items below are actual remaining work, not already implemented features awaiting a historical milestone. The original visual proposals are retained below for design context. -The [user guide](guide/README.md) describes current controls; the +The [user guide](guide/overview.md) describes current controls; the [device-send contract](../interfaces/midra-device-send.md) and [hardware findings](device-check.md) distinguish automated tests, device readback and physical-screen acceptance. diff --git a/docs/development/README.md b/docs/development/README.md index af8ff50..ffed186 100644 --- a/docs/development/README.md +++ b/docs/development/README.md @@ -1,17 +1,19 @@ # Development -[CI and checks](ci.md) · [Manual generation](../manuals/README.md) · [Release preparation](releases.md) · [Repository migration](migration.md) +Canvas Pilot is a single-member Rust workspace in `crates/canvas-pilot/`. +The Python device probe lives in `tools/`; Python tests and build helpers live in +`tests/` and `scripts/`. For application usage, read the [book](https://books.dandaedre.com/manuals/canvas-pilot/). -The root Cargo workspace contains `crates/canvas-pilot/`. The application, adapters, -geometry representation and tests live there. `tools/midra_probe.py` is a standalone, -read-only Python diagnostic tool. Interface contracts and historical fixtures live -in `docs/interfaces/`; maintain compatibility when changing persistence or exports. +| Work | Reference | +| --- | --- | +| Build, tests and coverage | [CI and local checks](ci.md) | +| Release preparation | [Packaging and readiness](releases.md) | +| Edit or publish the book | [Manual generation](../manuals/building.md) | +| Tasks, acceptance tests and stretch goals | [Project plan](../canvas-pilot/plan.md) | +| Future adapter candidates | [Research and requirements](../canvas-pilot/presentation-switcher-adapters.md) | +| Showcase and video manual preparation | [Recording checklist](../canvas-pilot/feature-demo-checklist.md) | +| Agent context, contracts and technical evidence | [Agent documentation](../../AGENT_DOCUMENTATION.md) | -See the [plan](../canvas-pilot/plan.md) and [device checks](../canvas-pilot/device-check.md) -for remaining work and hardware validation. Device writes are never CI tests. - -See [the documentation index](../README.md) for every planning and acceptance record, -and [AGENTS.md](../../AGENTS.md) for repository working conventions. - -[Conversation handoff](handoff.md) preserves pending decisions, video plans and -the migration/publication state for the next session. +Keep task status in the plan. Keep user instructions in the book's source chapters; +READMEs provide navigation, not parallel copies. Follow [AGENTS.md](../../AGENTS.md) +when changing code or documentation. diff --git a/docs/development/handoff.md b/docs/development/handoff.md index c15c02b..cfc85e4 100644 --- a/docs/development/handoff.md +++ b/docs/development/handoff.md @@ -105,7 +105,7 @@ The user approved the following approach and asked to put it in the stretch goal The existing screenshots are real captures from before the Canvas Pilot rename; the redesigned README explicitly labels them. Their recipes and provenance are in -[the screenshot guide](../canvas-pilot/images/README.md). Do not edit old screenshots +[the screenshot guide](../canvas-pilot/images/capture.md). Do not edit old screenshots to imply a new capture; recapture the application if updating them. ## Device testing context diff --git a/docs/interfaces/README.md b/docs/interfaces/README.md index 14f9fc9..4750b67 100644 --- a/docs/interfaces/README.md +++ b/docs/interfaces/README.md @@ -1,22 +1,5 @@ -# File and device interfaces +# Interface contracts -[Documentation](../README.md) · [Canvas Pilot guide](../canvas-pilot/README.md) - -These contracts describe persistent formats, compatibility, validation and device -transfers. Versioned examples live beside the relevant contract and are exercised -by regression tests. - -| Contract | Contents | -| --- | --- | -| [Canvas Pilot project](canvas-pilot.md) | JSON project versions, SVG geometry, validation and migration | -| [Application settings](canvas-pilot-settings.md) | Per-user preferences and settings versions | -| [Geometry exchange](canvas-pilot-exchange.md) | Import/export formats, precision, omissions and round trips | -| [Extra export parameters](midra-extra-parameters.md) | Optional embedded project snapshots and per-format compatibility | -| [Recovery files](canvas-pilot-recovery.md) | Recovery storage and restore behavior | -| [Device import](midra-device-import.md) | Read-only device geometry import | -| [Device send](midra-device-send.md) | Reviewed writes, crop conversion and restore diagnostics | -| [Input previews](midra-input-preview.md) | Device snapshot retrieval and caching | -| [Desktop launchers](desktop-launchers.md) | Generated shortcuts and launcher metadata | - - -- [Device adapter model and Aquilon exchange](device-adapters.md): family-aware destinations, bounded reads, bank roles, geometry/crop precision and capture support. +These files define persistence and device behavior. Use the +[agent documentation index](../../AGENT_DOCUMENTATION.md#contracts-and-compatibility) +to find the relevant contract and fixtures. diff --git a/docs/interfaces/canvas-pilot-exchange.md b/docs/interfaces/canvas-pilot-exchange.md index 21e8f39..24ce821 100644 --- a/docs/interfaces/canvas-pilot-exchange.md +++ b/docs/interfaces/canvas-pilot-exchange.md @@ -10,7 +10,7 @@ preserve layer **visible-box geometry**, not sources, crop settings, zoom, pivot Midra links, locks, visibility, camera or selection. Pictures illustrate current cropping; importing a picture does not reconstruct its crop or source settings. -The [starter-file catalog](../templates/canvas-pilot/README.md) centralizes ready-to-open +The [starter-file catalog](../templates/canvas-pilot/catalog.md) centralizes ready-to-open two-layer templates under `docs/templates/canvas-pilot/` for Full HD (1920 × 1080) and UHD 4K (3840 × 2160), in all eleven exchange formats (including PPTX, FIG and AI). The 4K geometry is an exact 2× scale of the Full HD layout. Regenerate them with: diff --git a/docs/manuals/README.md b/docs/manuals/README.md index 530ab61..87f9cac 100644 --- a/docs/manuals/README.md +++ b/docs/manuals/README.md @@ -1,22 +1,3 @@ -# Canvas Pilot manual +# Manual sources -The book uses existing documentation as chapter sources, listed in -[SUMMARY.md](canvas-pilot/SUMMARY.md). Add prose to its owning document instead of -duplicating it here. Asset downloads and chapter links are rebased during staging. - -```sh -cargo install mdbook --version "$(cat docs/manuals/mdbook-version)" --locked -python3 scripts/manuals.py build -python3 scripts/manuals.py check -``` - -The standalone preview is `build/manuals/site/manuals/index.html`. Generated files -are ignored. Build checks every local link and anchor, including the print view. - -The public URL stays https://books.dandaedre.com/manuals/canvas-pilot/. -On a successful main build, Jenkins runs `python3 scripts/manuals.py publish`. -Publication requires `BRANCH_NAME=main`, no `CHANGE_ID`, `rsync`, and the existing -writable `/mnt/books` mount. Only `manuals/canvas-pilot/` is synchronized with deletion; -the shared index and other books are preserved. beffroi-tools publishes that index -and links to this independently published book. No automatic deployment occurs -until the new Jenkins job is configured. +[Chapter list](canvas-pilot/SUMMARY.md) · [Build and publication instructions](building.md) diff --git a/docs/manuals/building.md b/docs/manuals/building.md new file mode 100644 index 0000000..530ab61 --- /dev/null +++ b/docs/manuals/building.md @@ -0,0 +1,22 @@ +# Canvas Pilot manual + +The book uses existing documentation as chapter sources, listed in +[SUMMARY.md](canvas-pilot/SUMMARY.md). Add prose to its owning document instead of +duplicating it here. Asset downloads and chapter links are rebased during staging. + +```sh +cargo install mdbook --version "$(cat docs/manuals/mdbook-version)" --locked +python3 scripts/manuals.py build +python3 scripts/manuals.py check +``` + +The standalone preview is `build/manuals/site/manuals/index.html`. Generated files +are ignored. Build checks every local link and anchor, including the print view. + +The public URL stays https://books.dandaedre.com/manuals/canvas-pilot/. +On a successful main build, Jenkins runs `python3 scripts/manuals.py publish`. +Publication requires `BRANCH_NAME=main`, no `CHANGE_ID`, `rsync`, and the existing +writable `/mnt/books` mount. Only `manuals/canvas-pilot/` is synchronized with deletion; +the shared index and other books are preserved. beffroi-tools publishes that index +and links to this independently published book. No automatic deployment occurs +until the new Jenkins job is configured. diff --git a/docs/manuals/canvas-pilot/SUMMARY.md b/docs/manuals/canvas-pilot/SUMMARY.md index 42464fb..c7c9b57 100644 --- a/docs/manuals/canvas-pilot/SUMMARY.md +++ b/docs/manuals/canvas-pilot/SUMMARY.md @@ -1,49 +1,21 @@ # Summary -[Introduction](../../canvas-pilot/README.md) +[Introduction](../../canvas-pilot/introduction.md) -# Quick start +# Getting started - [Install and update](../../canvas-pilot/guide/install.md) - [Your first layout](../../canvas-pilot/guide/quickstart.md) -- [Starter files for every format](../../templates/canvas-pilot/README.md) +- [Starter files for every format](../../templates/canvas-pilot/catalog.md) -# Advanced +# Using Canvas Pilot -- [Advanced guide](../../canvas-pilot/guide/README.md) +- [Guide overview](../../canvas-pilot/guide/overview.md) - [Layers and editing](../../canvas-pilot/guide/editing.md) - [Canvas and reference images](../../canvas-pilot/guide/canvas.md) - [Formats, crop and precision](../../canvas-pilot/guide/formats-and-crop.md) - [Import, export and project files](../../canvas-pilot/guide/files.md) - [Menus and preferences](../../canvas-pilot/guide/preferences.md) - - [Midra connection and transfers](../../canvas-pilot/guide/device.md) + - [Device connection and transfers](../../canvas-pilot/guide/device.md) - [Resolution and cropping model](../../canvas-pilot/resolutions.md) -- [File and device contracts](../../interfaces/README.md) - - [Project file contract](../../interfaces/canvas-pilot.md) - - [Persistence audit](../../interfaces/canvas-pilot-persistence-audit.md) - - [Geometry exchange contract](../../interfaces/canvas-pilot-exchange.md) - - [Extra export parameters](../../interfaces/midra-extra-parameters.md) - - [Settings contract](../../interfaces/canvas-pilot-settings.md) - - [Recovery contract](../../interfaces/canvas-pilot-recovery.md) - - [Device import contract](../../interfaces/midra-device-import.md) - - [Device send contract](../../interfaces/midra-device-send.md) - - [Input preview contract](../../interfaces/midra-input-preview.md) -- [Hardware verification](../../canvas-pilot/device-check.md) -- [Viewport performance](../../canvas-pilot/guide/performance.md) -- [Updating screenshots](../../canvas-pilot/images/README.md) -- [Plan and limitations](../../canvas-pilot/plan.md) -- [Development](../../development/README.md) - [Changelog](../../canvas-pilot/changelog.md) - -- [Aquilon compatibility investigation](../../canvas-pilot/aquilon-compatibility.md) - -- [Device adapters and Aquilon exchange](../../interfaces/device-adapters.md) - -# Checklists and future work - -- [Feature demonstration checklist](../../canvas-pilot/feature-demo-checklist.md) -- [Midra aspect acceptance checklist](../../canvas-pilot/midra-aspect-test-checklist.md) -- [Midra precision questions for engineers](../../canvas-pilot/midra-fit-precision.md) -- [Future presentation-switcher adapters](../../canvas-pilot/presentation-switcher-adapters.md) -- [Completed Aquilon support task](../../canvas-pilot/aquilon_support.task.md) -- [Repository migration and completeness](../../development/migration.md) diff --git a/docs/templates/canvas-pilot/README.md b/docs/templates/canvas-pilot/README.md index dee6e7b..3d50828 100644 --- a/docs/templates/canvas-pilot/README.md +++ b/docs/templates/canvas-pilot/README.md @@ -1,76 +1,3 @@ -# Canvas Pilot starter files +# Starter templates -[Canvas Pilot](../../canvas-pilot/README.md) · [User guide](../../canvas-pilot/guide/README.md) · [Geometry format contract](../../interfaces/canvas-pilot-exchange.md) - -**[Download all templates as ZIP](canvas-pilot-all-templates.zip)** — all eleven formats -in both Full HD and UHD 4K (22 files). Extract the archive and use whichever -format suits your editor. This also preserves file names when browsers would -otherwise preview a template, including PDF-compatible Illustrator files. - -Individual downloads are listed below. - -This folder is the single source for the base files in every supported geometry -exchange format. Each file contains the same two named 16:9 layer boxes on an -exact pixel canvas, without backgrounds or placeholder pictures. The UHD layout -is an exact 2× scale of the Full HD layout. - -Choose your canvas and format, download the file, then edit it in the matching -application or import it through **Import → Geometry file…** in Canvas Pilot. -Review the detected rectangles and their destination layers before applying. - -| Format | Full HD · 1920 × 1080 | UHD 4K · 3840 × 2160 | Use with | -| --- | --- | --- | --- | -| SVG | [Download .svg](canvas-pilot-1080p-2-layers.svg) | [Download .svg](canvas-pilot-4k-2-layers.svg) | Vector editors and browsers | -| draw.io | [Download .drawio](canvas-pilot-1080p-2-layers.drawio) | [Download .drawio](canvas-pilot-4k-2-layers.drawio) | diagrams.net / draw.io | -| Geometry JSON | [Download .json](canvas-pilot-1080p-2-layers.json) | [Download .json](canvas-pilot-4k-2-layers.json) | Scripts and geometry exchange | -| Geometry CSV | [Download .csv](canvas-pilot-1080p-2-layers.csv) | [Download .csv](canvas-pilot-4k-2-layers.csv) | Spreadsheets and data tools | -| DXF | [Download .dxf](canvas-pilot-1080p-2-layers.dxf) | [Download .dxf](canvas-pilot-4k-2-layers.dxf) | CAD tools | -| DWG | [Download .dwg](canvas-pilot-1080p-2-layers.dwg) | [Download .dwg](canvas-pilot-4k-2-layers.dwg) | CAD tools; Craft bridge | -| HTML | [Download .html](canvas-pilot-1080p-2-layers.html) | [Download .html](canvas-pilot-4k-2-layers.html) | Browsers and web layouts | -| PowerPoint | [Download .pptx](canvas-pilot-1080p-2-layers.pptx) | [Download .pptx](canvas-pilot-4k-2-layers.pptx) | PowerPoint, LibreOffice Impress or DeckCraft | -| Figma FIG | [Download .fig](canvas-pilot-1080p-2-layers.fig) | [Download .fig](canvas-pilot-4k-2-layers.fig) | Figma or FigCraft | -| FigCraft | [Download .figcraft](canvas-pilot-1080p-2-layers.figcraft) | [Download .figcraft](canvas-pilot-4k-2-layers.figcraft) | FigCraft | -| Illustrator AI (optional) | [Download .ai](canvas-pilot-1080p-2-layers.ai) | [Download .ai](canvas-pilot-4k-2-layers.ai) | Requires VectorCraft CLI for Midra import/export; prefer SVG | - -FIG, FIGCRAFT, DXF and DWG import/export were confirmed working by the user on -2026-11-15. PPTX, draw.io and SVG were previously confirmed; see the -[format acceptance list](../../canvas-pilot/plan.md#completed-acceptance). - -**Prefer SVG when exchanging layouts with Illustrator.** The AI templates remain -available for compatibility, but Midra needs the separately installed VectorCraft -CLI to import or export them. See [AI setup](../../canvas-pilot/guide/files.md#illustrator-ai-optional-converter-required). - -## Geometry files and saved projects - -These files exchange visible layer boxes. They do not store the complete editor -state, source assignments, crop settings or device links. In particular, the -`.json` starter is **geometry JSON**, not a saved Midra project. Use **Project → -Save project…** for a full `.midra.json` project; see the -[project format](../../interfaces/canvas-pilot.md). Versioned schema and migration -examples stay beside their [interface contracts](../../interfaces/README.md). - -PPTX and FIG support uses the optional native codecs included in the default -build. Illustrator AI import/export requires a separately installed VectorCraft -CLI. See [dependencies and licensing builds](../../interfaces/canvas-pilot-exchange.md#optional-native-document-codecs-and-licensing-builds). - -## Maintaining the base files - -After updating any starter file, rebuild the combined download from this folder: - -```sh -python3 -m zipfile -c canvas-pilot-all-templates.zip canvas-pilot-*-2-layers.* -``` - -The archive contains exact copies of all 22 templates; regression tests verify -the file names and bytes and the manual includes the same archive. - -Keep all formats here and link to this catalog instead of copying files or -maintaining separate download lists. The [generation and verification commands](../../interfaces/canvas-pilot-exchange.md) -rebuild both canvas sizes with the application exporter and verify their geometry. -Text and native PPTX/FIG/DWG fixtures are covered by regression tests; the AI check -requires VectorCraft and is opt-in. The AI samples were checked with VectorCraft -0.24.1, not Adobe Illustrator. - -The DXF and DWG samples were opened and rendered with **QCAD Professional 3.28.2**. -Both formats were also saved as R21 (2007) in QCAD and reimported with unchanged -layer coordinates. DXF and DWG carry unitless pixel geometry and no pictures. +[Template catalog](catalog.md) — the single source used by the book, with downloads for every format. diff --git a/docs/templates/canvas-pilot/catalog.md b/docs/templates/canvas-pilot/catalog.md new file mode 100644 index 0000000..227fae1 --- /dev/null +++ b/docs/templates/canvas-pilot/catalog.md @@ -0,0 +1,76 @@ +# Canvas Pilot starter files + +[Canvas Pilot](../../canvas-pilot/introduction.md) · [User guide](../../canvas-pilot/guide/overview.md) · [Geometry format contract](../../interfaces/canvas-pilot-exchange.md) + +**[Download all templates as ZIP](canvas-pilot-all-templates.zip)** — all eleven formats +in both Full HD and UHD 4K (22 files). Extract the archive and use whichever +format suits your editor. This also preserves file names when browsers would +otherwise preview a template, including PDF-compatible Illustrator files. + +Individual downloads are listed below. + +This folder is the single source for the base files in every supported geometry +exchange format. Each file contains the same two named 16:9 layer boxes on an +exact pixel canvas, without backgrounds or placeholder pictures. The UHD layout +is an exact 2× scale of the Full HD layout. + +Choose your canvas and format, download the file, then edit it in the matching +application or import it through **Import → Geometry file…** in Canvas Pilot. +Review the detected rectangles and their destination layers before applying. + +| Format | Full HD · 1920 × 1080 | UHD 4K · 3840 × 2160 | Use with | +| --- | --- | --- | --- | +| SVG | [Download .svg](canvas-pilot-1080p-2-layers.svg) | [Download .svg](canvas-pilot-4k-2-layers.svg) | Vector editors and browsers | +| draw.io | [Download .drawio](canvas-pilot-1080p-2-layers.drawio) | [Download .drawio](canvas-pilot-4k-2-layers.drawio) | diagrams.net / draw.io | +| Geometry JSON | [Download .json](canvas-pilot-1080p-2-layers.json) | [Download .json](canvas-pilot-4k-2-layers.json) | Scripts and geometry exchange | +| Geometry CSV | [Download .csv](canvas-pilot-1080p-2-layers.csv) | [Download .csv](canvas-pilot-4k-2-layers.csv) | Spreadsheets and data tools | +| DXF | [Download .dxf](canvas-pilot-1080p-2-layers.dxf) | [Download .dxf](canvas-pilot-4k-2-layers.dxf) | CAD tools | +| DWG | [Download .dwg](canvas-pilot-1080p-2-layers.dwg) | [Download .dwg](canvas-pilot-4k-2-layers.dwg) | CAD tools; Craft bridge | +| HTML | [Download .html](canvas-pilot-1080p-2-layers.html) | [Download .html](canvas-pilot-4k-2-layers.html) | Browsers and web layouts | +| PowerPoint | [Download .pptx](canvas-pilot-1080p-2-layers.pptx) | [Download .pptx](canvas-pilot-4k-2-layers.pptx) | PowerPoint, LibreOffice Impress or DeckCraft | +| Figma FIG | [Download .fig](canvas-pilot-1080p-2-layers.fig) | [Download .fig](canvas-pilot-4k-2-layers.fig) | Figma or FigCraft | +| FigCraft | [Download .figcraft](canvas-pilot-1080p-2-layers.figcraft) | [Download .figcraft](canvas-pilot-4k-2-layers.figcraft) | FigCraft | +| Illustrator AI (optional) | [Download .ai](canvas-pilot-1080p-2-layers.ai) | [Download .ai](canvas-pilot-4k-2-layers.ai) | Requires VectorCraft CLI for Midra import/export; prefer SVG | + +FIG, FIGCRAFT, DXF and DWG import/export were confirmed working by the user on +2026-11-15. PPTX, draw.io and SVG were previously confirmed; see the +[format acceptance list](../../canvas-pilot/plan.md#completed-acceptance). + +**Prefer SVG when exchanging layouts with Illustrator.** The AI templates remain +available for compatibility, but Midra needs the separately installed VectorCraft +CLI to import or export them. See [AI setup](../../canvas-pilot/guide/files.md#illustrator-ai-optional-converter-required). + +## Geometry files and saved projects + +These files exchange visible layer boxes. They do not store the complete editor +state, source assignments, crop settings or device links. In particular, the +`.json` starter is **geometry JSON**, not a saved Midra project. Use **Project → +Save project…** for a full `.midra.json` project; see the +[project format](../../interfaces/canvas-pilot.md). Versioned schema and migration +examples stay beside their [interface contracts](../../interfaces/README.md). + +PPTX and FIG support uses the optional native codecs included in the default +build. Illustrator AI import/export requires a separately installed VectorCraft +CLI. See [dependencies and licensing builds](../../interfaces/canvas-pilot-exchange.md#optional-native-document-codecs-and-licensing-builds). + +## Maintaining the base files + +After updating any starter file, rebuild the combined download from this folder: + +```sh +python3 -m zipfile -c canvas-pilot-all-templates.zip canvas-pilot-*-2-layers.* +``` + +The archive contains exact copies of all 22 templates; regression tests verify +the file names and bytes and the manual includes the same archive. + +Keep all formats here and link to this catalog instead of copying files or +maintaining separate download lists. The [generation and verification commands](../../interfaces/canvas-pilot-exchange.md) +rebuild both canvas sizes with the application exporter and verify their geometry. +Text and native PPTX/FIG/DWG fixtures are covered by regression tests; the AI check +requires VectorCraft and is opt-in. The AI samples were checked with VectorCraft +0.24.1, not Adobe Illustrator. + +The DXF and DWG samples were opened and rendered with **QCAD Professional 3.28.2**. +Both formats were also saved as R21 (2007) in QCAD and reimported with unchanged +layer coordinates. DXF and DWG carry unitless pixel geometry and no pictures.