1
0
forked from adalal/openxer

Initial public release of OpenXER 0.1.0

This commit is contained in:
OpenXER Maintainers
2026-11-25 14:54:28 -06:00
commit 70271deede
1547 changed files with 579084 additions and 0 deletions

7
.gitattributes vendored Normal file
View File

@@ -0,0 +1,7 @@
# Keep LF in the repository whatever the editor or script writes.
* text=auto eol=lf
*.png binary
*.ico binary
*.xlsx binary
*.pdf binary
*.db binary

42
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Bug report
description: Something works wrong, a date or float is off, or the app crashes.
labels: [bug]
body:
- type: markdown
attributes:
value: |
**Do not attach real project schedules, workspace databases or screenshots of real projects.**
They hold your clients' data. Describe the schedule shape instead, or build a small invented example.
- type: textarea
id: what
attributes:
label: What happened
description: What you did, what you expected, and what you got instead.
validations:
required: true
- type: textarea
id: shape
attributes:
label: Schedule shape
description: |
For scheduling results: activity and relationship types, lags, calendars, constraints,
progress, scheduling and leveling options involved, and the dates you expected (and why).
- type: input
id: version
attributes:
label: OpenXER version
placeholder: "openxer-cli --version, or Help > About in the app"
validations:
required: true
- type: input
id: os
attributes:
label: Windows version
placeholder: "Windows 11 23H2"
- type: checkboxes
id: privacy
attributes:
label: Privacy
options:
- label: This report contains no real client or project data.
required: true

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Report a security problem
url: https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability
about: Report privately through the repository's Security tab, not as a public issue.

View File

@@ -0,0 +1,21 @@
name: Feature request
description: Suggest something OpenXER should do.
labels: [enhancement]
body:
- type: textarea
id: problem
attributes:
label: The problem
description: What are you trying to do, and what gets in the way today?
validations:
required: true
- type: textarea
id: idea
attributes:
label: What you would like
description: How it should work, in the app, the CLI or the MCP server.
- type: textarea
id: workflow
attributes:
label: How schedulers do this today
description: The workflow or convention schedulers already know for this, if there is one.

15
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,15 @@
## What this changes
<!-- What it does and why. Link the issue if there is one. -->
## Evidence and tests
<!-- New behavior has tests. Scheduling changes: which test pins the dates or float, and what evidence the rule comes from. -->
## Checklist
- [ ] `cargo fmt --all --check`, clippy with `-D warnings` and the tests pass
- [ ] No real client or project data (schedules, databases, screenshots) anywhere in this change
- [ ] Original work only: nothing copied from other software, nothing decompiled
- [ ] No em dashes or en dashes
- [ ] New edits to project data are available in the app, `openxer-cli` and the MCP server

72
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,72 @@
name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
build-and-test:
name: Build and test (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Tests
# Tests that need private fixtures or corpus files skip themselves here.
run: cargo test --workspace --no-fail-fast -- --skip full_ui_sweep --skip dialog_formatting_sweep
- name: UI click-through sweeps
run: cargo test -p openxer-desktop -- full_ui_sweep dialog_formatting_sweep
- name: Release build
run: cargo build --release -p openxer-desktop -p openxer-automation
build-and-test-linux:
name: Build and test (Linux)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
# A C compiler for the bundled SQLite and OpenSSL headers for native-tls
# and openxer-chat on Linux. The window, OpenGL and portal libraries are
# loaded at run time. Liberation Sans stands in for Arial in text measurements.
- name: System packages
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential pkg-config libssl-dev fonts-liberation
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Tests
# Tests that need private fixtures or corpus files skip themselves here.
run: cargo test --workspace --no-fail-fast -- --skip full_ui_sweep --skip dialog_formatting_sweep
- name: UI click-through sweeps
run: cargo test -p openxer-desktop -- full_ui_sweep dialog_formatting_sweep
- name: Release build
run: cargo build --release -p openxer-desktop -p openxer-automation
licenses:
name: Dependency licenses and sources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check licenses bans sources

132
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,132 @@
name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: write
env:
CARGO_TERM_COLOR: always
jobs:
build-windows:
name: Build Windows installer and portable zip
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-msvc
- uses: Swatinem/rust-cache@v2
- name: Ensure Inno Setup 6 is installed
shell: pwsh
run: |
$iscc = Get-Command ISCC -ErrorAction SilentlyContinue
if (-not $iscc -and -not (Test-Path 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe')) {
choco install innosetup -y --no-progress
}
- name: Build packaged executables and Setup installer
shell: pwsh
run: |
$ver = (Select-String -Path Cargo.toml -Pattern '^version\s*=\s*"([^"]+)"').Matches[0].Groups[1].Value
echo "VERSION=$ver" >> $env:GITHUB_ENV
python desktop/build_release.py --output dist/OpenXER.exe --installer --installer-output release-assets
New-Item -ItemType Directory -Force -Path release-assets | Out-Null
Compress-Archive -Path dist/* -DestinationPath "release-assets/OpenXER-$ver-windows-x64.zip" -Force
Get-ChildItem release-assets
- uses: actions/upload-artifact@v4
with:
name: release-windows
path: release-assets/*
build-linux:
name: Build Linux AppImage and portable tarball
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: System packages
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential pkg-config libssl-dev desktop-file-utils file
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build release binaries
run: cargo build --release -p openxer-desktop -p openxer-automation
- name: Package portable tarball and AppImage
run: |
set -euo pipefail
VER=$(sed -n 's/^version = "\([^"]*\)"/\1/p' Cargo.toml | head -n 1)
mkdir -p release-assets "stage/OpenXER-${VER}-linux-x86_64"
STAGE="stage/OpenXER-${VER}-linux-x86_64"
cp target/release/OpenXER "$STAGE/openxer"
cp target/release/openxer-cli "$STAGE/openxer-cli"
chmod +x "$STAGE/openxer" "$STAGE/openxer-cli"
cp automation/README.md "$STAGE/CLI-MCP.md"
cp LICENSE-MIT LICENSE-APACHE THIRD_PARTY.md "$STAGE/"
cat > "$STAGE/openxer.mcp.json" <<'EOF'
{
"mcpServers": {
"openxer": {
"command": "<full path to openxer-cli>",
"args": ["mcp"]
}
}
}
EOF
tar -C stage -czf "release-assets/OpenXER-${VER}-linux-x86_64.tar.gz" "OpenXER-${VER}-linux-x86_64"
# Build AppImage from the same executables and icon.
APPDIR="stage/OpenXER.AppDir"
mkdir -p "$APPDIR/usr/bin" "$APPDIR/usr/share/doc/openxer"
cp "$STAGE/openxer" "$APPDIR/usr/bin/openxer"
cp "$STAGE/openxer-cli" "$APPDIR/usr/bin/openxer-cli"
cp "$STAGE/CLI-MCP.md" "$STAGE/LICENSE-MIT" "$STAGE/LICENSE-APACHE" "$STAGE/THIRD_PARTY.md" "$APPDIR/usr/share/doc/openxer/"
cp assets/icons/openxer_256.png "$APPDIR/openxer.png"
cat > "$APPDIR/openxer.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=OpenXER
Comment=Native desktop CPM scheduler for XER files
Exec=openxer %f
Icon=openxer
Categories=Office;ProjectManagement;
Terminal=false
EOF
cat > "$APPDIR/AppRun" <<'EOF'
#!/bin/sh
HERE="$(dirname "$(readlink -f "$0")")"
exec "$HERE/usr/bin/openxer" "$@"
EOF
chmod +x "$APPDIR/AppRun"
curl -fsSL -o stage/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x stage/appimagetool
ARCH=x86_64 stage/appimagetool --appimage-extract-and-run "$APPDIR" "release-assets/OpenXER-${VER}-x86_64.AppImage"
ls -lh release-assets
- uses: actions/upload-artifact@v4
with:
name: release-linux
path: release-assets/*
publish:
name: Publish GitHub Release
needs: [build-windows, build-linux]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true
- name: Generate SHA256SUMS.txt
working-directory: artifacts
run: |
sha256sum * > SHA256SUMS.txt
cat SHA256SUMS.txt
- uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: artifacts/*

22
.gitignore vendored Normal file
View File

@@ -0,0 +1,22 @@
/target/
# Machine-specific settings: linker and SDK paths, and the [env] test inputs.
/.cargo/config.toml
/AGENTS.local.md
# Build output and local application data.
/dist/
/artifacts/
/desktop/*.log
/desktop/verification/
**/__pycache__/
tools/icons/_review/
# Client data never belongs in the repo. Regression fixtures live outside it
# (OPENXER_FIXTURES); schedules and workspaces are never committed.
/engine/fixtures/
*.xer
*.XER
**/openxer.db*
*.sqlite
*.sqlite3

193
AGENTS.md Normal file
View File

@@ -0,0 +1,193 @@
# AGENTS.md
Instructions for AI coding agents (and the humans who direct them) working on
OpenXER. Read the whole file before changing anything. If an `AGENTS.local.md`
exists next to this file, read it too: it holds the maintainer's machine
setup and is never committed.
## What OpenXER is
OpenXER is a desktop CPM scheduler for XER files, written in Rust. It opens,
schedules, levels, edits and saves XER schedules, and every edit is also
available to AI agents through `openxer-cli` and its MCP server.
| Crate | What it is | Depends on |
|---|---|---|
| `engine` | CPM scheduling, calendars, resource leveling | nothing |
| `xer` | XER read/write and the shared edit layer | engine |
| `interchange` | XER export and merge, baselines, Excel (XLSX) import and export, export templates, report and S-curve workbooks | engine, xer |
| `desktop` | the app (egui/eframe) | engine, xer, interchange, automation (the AI Agents menu uses `connect`) |
| `automation` | `openxer-cli` and the MCP server | engine, xer, interchange |
| `chat` | `openxer-chat`: Sign in with ChatGPT, tokens in Windows Credential Manager, and a streaming Responses API client with the tool loop, for the Chat window; `compat`: an OpenAI-compatible endpoint with the user's API key or a model on this PC (kept out of `openxer-cli`; its live examples are `cargo run -p openxer-chat --example live_chat` and `--example compat_chat`) | nothing (engine and xer for its examples only) |
Also tracked: `README.md`, `automation/README.md` (CLI and MCP reference),
`automation/COVERAGE.md` (which app command or field each CLI command and MCP
tool covers, and the gaps),
`THIRD_PARTY.md` (license notices), `assets/` (icons and starter report
definitions compiled into the app, `assets/sample-project.txt`, the
invented data table the first-run sample project is built from by
`xer/src/sample_project.rs`, `assets/playbooks/`, the scheduling
playbooks the chat tool `openxer_playbook` serves, and `assets/skills/`,
the built-in skills for AI agents compiled into `openxer-cli` and the app), `desktop/assets/spell/` (word lists),
`tools/icons/` (the icon generator), `tools/spell/` (the word list generator
`THIRD_PARTY.md` cites), `tools/licenses/third_party.py` (regenerates the
crate and SQLite notices in `THIRD_PARTY.md` for the Windows and Linux
executables together, the same output on either system; run it after a
dependency change), `tools/winres.rs` (the Windows icon, version and manifest resources
the `desktop` and `automation` build scripts embed), `docs/images/` (README screenshots, rendered from a
synthetic sample schedule by the ignored tests in
`desktop/src/readme_hero.rs`: `cargo test -p openxer-desktop --bin OpenXER readme -- --ignored`).
Screenshots in the repo are only ever rendered from that synthetic sample.
For any UI work read `DESIGN.md` first: the one shared implementation of each
control, the standard measurements and the tests that guard them.
For engine work read `engine/RULES.md` (each scheduling rule, with an ID that
code and tests cite, and the evidence for it) and `engine/PARITY.md` (how the
engine compares with the results stored in real schedule files).
## Accuracy is the product
People trust a scheduler only if its dates are right. Every engine rule is
backed by evidence: a real XER whose stored results it reproduces, or a
controlled test case. Never change scheduling behavior without that evidence,
a test that pins it, and the regression counts below staying exact.
## Building and running
- Rust stable with the MSVC target on Windows. `cargo build -p openxer-desktop`
builds the app; `cargo build -p openxer-automation` builds `openxer-cli`.
- Linux (CI runs Ubuntu 22.04): the same commands, with no extra flags or
features. Building needs only a C compiler (`build-essential`, for the
bundled SQLite); the X11, Wayland, OpenGL and file-dialog portal
libraries are loaded at run time, which a desktop session already has.
Install `fonts-liberation` so text measures close to Windows: the app
uses the real Arial, Segoe UI and Tahoma when installed (or under
`WINDIR`, such as `/mnt/c/Windows` in WSL), else Liberation Sans, else
DejaVu Sans. Run the tests as a normal user, not root.
- Release: `cargo build --release -p openxer-desktop -p openxer-automation`, or
`python desktop/build_release.py --output <folder>\OpenXER.exe` for the
packaged static-runtime build with `CLI-MCP.md`, the license files,
`THIRD_PARTY.md` and an `openxer.mcp.json` template (its command is a
placeholder, never a path from the build machine). `--package-only`
writes just those files, without building. `--installer` also builds
`target/installer/OpenXER-<version>-setup.exe` from those files with Inno
Setup 6 (`tools/installer/openxer.iss`; the version comes from Cargo);
`--sign-command "<cmd with $f>"` signs the executables and Setup.
- Workspace location (`Store::default_path_in`): `OPENXER_DATA_DIR` when
set; an installed copy (the `openxer.installed` marker Setup puts beside
the EXE) uses `%LOCALAPPDATA%\OpenXER`; a portable copy uses `openxer.db`
beside the EXE, or `%LOCALAPPDATA%\OpenXER` when that folder is not
writable. On other systems `$XDG_DATA_HOME/OpenXER` (else
`~/.local/share/OpenXER`) takes the place of `%LOCALAPPDATA%\OpenXER`
(`openxer_automation::locate::user_data_base`). Never write a test that
touches the real data folder: set `OPENXER_DATA_DIR` or pass `--database`.
- The app holds the mutex `OpenXER.App` while it runs; Setup's `AppMutex`
names it. Keep the two in step.
- Line endings are LF (`.gitattributes`). From Python on Windows write files
with `newline=''` or `'\n'`.
- Machine-specific linker paths go in `.cargo/config.toml`, which is ignored.
## Tests and the gate
```
cargo fmt --all --check
cargo clippy -p <crates> --all-targets -- -D warnings
cargo test -p <crates> --no-fail-fast -- --skip full_ui_sweep --skip dialog_formatting_sweep
# if you changed menus, dialogs, toolbars, shortcuts or the dialog kit:
cargo test -p openxer-desktop -- full_ui_sweep dialog_formatting_sweep
```
Test the crates you changed and every crate that depends on them (table
above). Clippy must be clean with `-D warnings`.
Some tests compare against real schedules that hold client data. Those inputs
never live in the repo. They are found through environment variables (set
them in the ignored `.cargo/config.toml` under `[env]`), and the tests skip
with a printed reason when the variable is not set:
| Variable | What it points at |
|---|---|
| `OPENXER_FIXTURES` | engine regression fixtures (`oxdiff` and engine tests) |
| `OPENXER_CORPUS` | a folder of corpus XER files |
| `OPENXER_RPT_INPUTS`, `OPENXER_RPT_DB` | report definition import tests |
Lists that must not be published are private fixtures in the
`OPENXER_FIXTURES` folder too: `corpus-names.txt` (corpus files whose names
identify a job, read through `openxer_engine::fixture::corpus_names`) and
`internal-refs.txt` (words the engine sources must not contain, read by
`engine/tests/no_internal_refs.rs`). Tests that need them skip with a
printed reason when they are absent.
When the fixtures are available, any change under `engine/` or to how `xer`
derives durations must keep `oxdiff` exact
(`cargo build --release -p openxer-engine --bin oxdiff`, then with
`OPENXER_FIXTURES` set in the shell run `oxdiff cal`, `oxdiff forward`,
`oxdiff engine`, `oxdiff roundtrip`, `oxdiff engine regressions` and
`oxdiff engine features`): cal 77620, forward 19624, engine 86356,
roundtrip 17, regressions 129622, features 424. A different count fails.
Useful desktop test filters: `headless_ui`, `headless_render` (renders go to
the ignored `artifacts/`), `qa_sweep`, and the ignored `perf_369`.
## Rules that are never bent
- **No client data in the repo, ever.** No XER files from real jobs,
workspace databases, screenshots or renders of real projects, or fixtures.
Test data that is committed must be synthetic. Issues and pull requests must
not attach real schedules either.
- **Original work only.** OpenXER may follow the functional conventions of
scheduling software users already know (layouts, control types, short
labels, menu and dialog structure). It never copies protected expression:
- no other product's name or logo in UI text, CLI or MCP output, docs or
packaging, beyond plain compatibility statements ("reads and writes XER
files");
- no icons, bitmaps or artwork from other products, even recolored or
traced (icons are drawn for this project: `chrome::Icon`, `tools/icons/`);
- no code, help text, documentation prose, reports or data files from other
products, and never decompiled or disassembled material of any kind;
- our own names in code (`activity`, `link`, `calendar`), except where a
file format defines the name (XER table and field names stay as the
format spells them).
- **Default colors are OpenXER's own** (`desktop/src/theme.rs`). A color the
user chose is stored as chosen; defaults only fill in where nothing was
stored. Layouts are user-level, not per project.
- **Headless only.** Never open native windows or move the system cursor.
Drive and look at the UI through the test harnesses
(`desktop/src/headless_ui.rs`, `headless_render.rs`, the `qa_sweep.rs`
driver). Do not launch `OpenXER.exe` unless the maintainer asks.
- **No em dashes or en dashes** anywhere (code, comments, docs, UI text,
commit messages). Use a hyphen or rewrite the sentence.
- **Never stop or kill processes you did not start.**
- **Keep the repo lean.** Track only what building, running, testing and
developing OpenXER need. No plans, run logs, status files, prompts, research
notes or sample outputs.
## How the app is built (conventions)
- Every command that changes project data is one undo step and refreshes
caches (`edit_step` and `records_revision`).
- Every dialog closes on Escape; Cancel or Close leaves the project unchanged.
The QA sweep clicks every menu command and checks this.
- Data an XER carries must import, survive save and reload, and export.
Unknown tables pass through untouched.
- Edits from anywhere (table, Details, import, CLI, MCP) go through the shared
edit layer in `xer/src/edit/` and the desktop setters that delegate to it,
so the app, the CLI and MCP always behave the same.
- Every feature that changes project data gets a CLI command and an MCP tool
from the same command definition in `automation/`.
- A skill (`assets/skills/*.md`, `automation/src/skills.rs`) names only tools
that exist, and the agent never computes schedule numbers itself: a number
a skill needs comes from a read-only tool (add one first) or the step goes.
Built-in skills say nothing about where a method comes from.
- A control that already exists is reused, or extracted into a shared
function, never written a second time (the details tab strip is
`desktop/src/tab_strip.rs`). Where two views differ, the Activities page
is the reference.
## Working on a change
- One branch per change, off `main`, in its own worktree if several agents
work at once. Do not commit to `main` directly; open a pull request.
- Describe what you built and what is unverified in the commit message and the
pull request, with the gate results.

100
CHANGELOG.md Normal file
View File

@@ -0,0 +1,100 @@
# Changelog
All notable changes to OpenXER are recorded here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow
[Semantic Versioning](https://semver.org/). The newest release is at the top.
## [Unreleased]
The first public release.
### Added
- A native Windows desktop scheduler for XER files: open, schedule, level,
update, check, compare, print, report and save schedules, with the
activity table beside the Gantt chart and Activity Details underneath.
- Open any XER file, pick the projects it holds, and open several projects
at once. Tables and fields OpenXER does not use are carried through
untouched when the project is exported again.
- Import into a new project, replace an existing one, or add activities into
a project you already have, with Undo Last Import. Export to XER, project
XML or Excel (the OpenXER layout or the XER table layout, with saved export
templates for the columns), and import from XER, project XML or Excel. The
XML form carries projects with their schedule options, WBS, activities,
relationships, calendars, resources with their codes, assignments,
activity codes, user defined fields, expenses, notebooks, the OBS and
currencies; other XER data stays in XER. XML files exported by the product
that defines the format open in OpenXER; XML files OpenXER writes follow
the structure of such an export but have not yet been opened in it. Reports, Schedule
Comparison and Project Checker results can also be saved as CSV files.
- A critical path engine with calendars, shifts and holidays, every
constraint type, relationship types and lags, Level of Effort and WBS
summary activities, retained logic, progress override and actual dates,
expected finish, longest path and multiple float paths. Each run writes a
schedule log, and automatic scheduling can follow every edit.
- Resource leveling with priorities, limits, calendars, leveling within
float and selected resources, and a leveling log of what moved.
- Progress: status, actual dates, remaining duration and percent complete in
the table or the Status tab, Update Progress, Apply Actuals, Progress
Spotlight, steps, suspend and resume, resource actuals and Save Period
Actuals.
- Check Schedule scores the schedule against common health targets (open
ends, lags, relationship types, constraints, float, long durations,
invalid progress dates, out-of-sequence progress and more) and filters the
table to what each check finds.
- Trace Logic, Activity Network, Activity Critical Path, driving
relationships and Schedule Comparison between two projects or a project
and its baseline.
- Table and Gantt layouts: columns for every schedule, resource, cost,
earned value, code and user defined field; grouping with band totals;
filters with nested conditions and dates relative to the data date; bars
you can drag; curtains, sight lines, a progress line and baseline bars; a
timescale from hours to years; and named layouts you can export and
import.
- Bottom views: usage profiles and spreadsheets, a second table and Gantt
chart, Trace Logic and the Activity Network, with tab groups and a second
Activities view.
- Resources, roles, rates, shifts and calendars, all editable, with Del. /
Merge for unused or duplicate resources.
- Resource curves: ten preset curves and the file's own. On Fixed Duration
activities an assignment's units and costs follow its curve over its own
dates in the usage views, time-phased reports and planned value; the
schedule and the stored units do not change. The exact per-period numbers
follow OpenXER's reading of the documented behavior.
- Usage profiles with stacked histograms by resource or role, actual and
remaining in one bar, cumulative curves and each resource's limit.
- Expenses, cost accounts, funding sources, currencies, issues, risks,
thresholds and Monitor Thresholds, including cost and earned value
thresholds.
- Baselines: any number of them, a project baseline and up to three user
baselines, baseline bars, variance columns and earned value against the
baseline you choose.
- Print and Print Preview of the layout on screen, page setup, and publish
to PDF.
- A Reports window with a starter set of scheduling reports, your own
report definitions in groups, and batch runs to PDF, HTML, text or print
preview.
- `openxer-cli` and a local MCP server over stdio. Every edit the app can
make is a command and a tool that goes through the same rules as the app:
single edits, `apply` batches that run all or nothing, dry runs that show
every changed field, and `meta` notes on each change.
- Agents can also read and edit documents and their files, expenses,
issues, risks, thresholds, earned value, steps, assignments, WBS, calendars
and resource curves. `automation/COVERAGE.md` maps every app command to
the CLI and MCP.
- The AI Agents menu connects an AI assistant on this PC to the MCP server,
checks the connection and shows what an agent can do.
- Skills for AI agents: a library of instructions for checking and building
schedules (logic health, critical and near-critical paths, update and
baseline reviews, look-aheads, milestones, resources, building a schedule
from a scope, progress updates, what-if and recovery options, time impact
of a change and more), served to every connected agent as tools and as
prompts. AI Agents > Skills lists them and lets you edit them or write
your own; `openxer-cli skills` does the same from the command line.
- Read-only analysis tools agents use for every number they report: Check
Schedule, float paths, comparison with a baseline or an earlier file,
look-ahead, milestones, schedule statistics, resource loading and a WBS
rollup.
- Built-in help: a topic for every dialog and main view, with contents,
search, Back and Forward, F1 for the dialog or view in front, and
Help > What's New... for these release notes.
- Dual license: MIT OR Apache-2.0.

1
CLAUDE.md Normal file
View File

@@ -0,0 +1 @@
@AGENTS.md

13
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,13 @@
# Code of conduct
OpenXER follows the [Contributor Covenant, version 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
In short: be respectful and constructive, assume good intent, and keep
discussion about the work. Harassment, insults and personal attacks are not
accepted in issues, pull requests or any other project space.
To report a problem, contact the maintainers privately through the
repository's Security tab (**Report a vulnerability** also reaches them
privately), or by a direct message to a maintainer. Reports are handled in
confidence, and the maintainers may remove comments or block participants
who break this code.

76
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,76 @@
# Contributing to OpenXER
Thank you for helping. OpenXER is a scheduler, so the bar is accuracy: a
change that moves a date needs evidence and a test.
## Before you start
- Open an issue first for anything larger than a small fix, so the approach
can be agreed before you write it.
- If you use an AI coding agent, point it at [AGENTS.md](AGENTS.md). The rules
there apply to human contributors too.
## Build and test
```text
cargo build -p openxer-desktop -p openxer-automation
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace -- --skip full_ui_sweep --skip dialog_formatting_sweep
```
Run `cargo test -p openxer-desktop -- full_ui_sweep dialog_formatting_sweep`
as well when you change menus, dialogs, toolbars or shortcuts.
Some tests compare against real schedules that only the maintainers hold.
They skip with a printed reason on your machine; that is expected. The
maintainers run them before merging.
## What a good pull request has
- One focused change, with a clear description of what it does and why.
- Tests for new behavior. Scheduling changes need a test that pins the exact
dates or float, and a short note of the evidence (for example: "an XER saved
by a scheduler with these options shows these dates").
- `cargo fmt`, clippy with `-D warnings` and the tests passing.
- No unrelated reformatting or renames.
## AI-assisted pull requests
AI coding agents are welcome here (read [AGENTS.md](AGENTS.md) first). Every
pull request still needs a human author who ran the checks, verified the
behavior and can explain the change.
## Contributing scheduling skills
You do not need to write Rust to contribute. OpenXER's built-in skills in
`assets/skills/` are plain Markdown files that guide connected AI agents
through real scheduling reviews and workflows. Open a pull request to improve
an existing skill or propose a new one; keep every example invented and free
of real project data.
## Hard rules
- **No client or project data.** Never commit or attach real schedules,
workspace databases, or screenshots of real projects, in code, tests,
issues or pull requests. Build test data in code or use invented examples.
- **Original work only.** Do not contribute code, icons, artwork, help text or
data taken from other software, and never anything decompiled or
disassembled. Do not use other products' names or logos in the app or docs.
- **No em dashes or en dashes** in code, comments, docs or UI text.
## Reporting bugs
Use the bug report form. Describe the schedule shape that triggers the
problem (activity types, relationship types, calendars, options) rather than
attaching a real file. If a file is needed to reproduce it, make a small
invented one.
Security problems: see [SECURITY.md](SECURITY.md); do not open a public issue.
## License
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in OpenXER by you, as defined in the Apache-2.0
license, shall be dual licensed as MIT OR Apache-2.0, without any additional
terms or conditions.

4598
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

26
Cargo.toml Normal file
View File

@@ -0,0 +1,26 @@
[workspace]
members = ["engine", "xer", "interchange", "desktop", "automation", "chat"]
default-members = ["desktop"]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
description = "A fast, native desktop CPM scheduler for XER files, built to be driven by AI agents."
repository = "https://github.com/openxer/openxer"
homepage = "https://github.com/openxer/openxer"
readme = "README.md"
keywords = ["scheduling", "cpm", "xer", "gantt", "mcp"]
categories = ["gui", "command-line-utilities"]
# Optimize dev/test builds enough that headless software-rendered UI tests run
# fast while keeping debug assertions, line numbers and low linker disk usage.
[profile.dev]
opt-level = 1
debug = "line-tables-only"
[profile.dev.package."*"]
opt-level = 2
debug = 0

127
DESIGN.md Normal file
View File

@@ -0,0 +1,127 @@
# DESIGN.md
How OpenXER's screens are built. Read this before any UI work. The code is the
source of truth: where this file and the code disagree, fix this file in the
same change.
## The one rule
A control that already exists is reused. If the shared one lacks something,
extend it so every caller gains it. Never paint a control yourself and never
write a second copy. Every visual drift found so far came from a second copy.
Where two screens differ and nothing below settles it, the Activities page is
the reference look.
## Find the control first
| You need | Call | Lives in |
|---|---|---|
| Dialog window | `kit::shell`, or the ready-made `kit::window`, `kit::modal`, `kit::modal_at`; flow layout: `chrome::dialog_window`, `chrome::plain_window` | `desktop/src/dialog_kit.rs`, `chrome.rs` |
| Window that rolls up to its title bar, resizes from its corner grip, or stays open beside the work (a tool window: it holds the keyboard only while active); its place kept between sessions | `kit::shell_with` with `kit::Extras { roll_up, min_client, tool }`; `kit::geometry`, `kit::set_geometry`; the grip: `kit::paint_size_grip` | `dialog_kit.rs` |
| Push button | `kit::button`, `kit::default_button` | `dialog_kit.rs` |
| Button column or row | `kit::button_column` with `kit::strip`, `kit::button_row`, entries from `Entry::ok/cancel/close/apply/help`; a default other than OK: `kit::mark_default`; a column in a declared observed order: `kit::observed_button_column`, a row: `kit::observed_button_row` | `dialog_kit.rs` |
| Text link (a web page, a setting) | `kit::link` | `dialog_kit.rs` |
| App setup row (name, state mark, detail, its action) | `ai_agents::row::paint` | `desktop/src/ai_agents/row.rs` |
| Message or confirm box | `kit::message_box`, `kit::message_box_with_lines` | `dialog_kit.rs` |
| Check box, radio | `Canvas::checkbox`, `kit::check_right`, `kit::radio`, `Canvas::radio` | `dialog_kit.rs` |
| Edit, read-only field | `Canvas::edit` (`Canvas::edit_masked` for a key, never drawn), `kit::commit_edit`, `kit::field`; several lines: `kit::text_area`, with a hint, a disabled state, scrolling or Enter left to the caller: `kit::text_area_with` | `dialog_kit.rs` |
| Combo, spin | `Canvas::combo`, `Canvas::spin`; drawn items: `kit::drawn_combo`; a number value: `kit::number_spin` | `dialog_kit.rs` |
| Color picker | `kit::swatch` (flow layout: `kit::color_button`) | `dialog_kit.rs` |
| Date field with calendar (the `...` inside the edit frame) | `views::sheet::date_field` (commits on Enter); over a dialog's draft text: `views::sheet::date_text_field` | `views/sheet.rs` |
| Section box, heading | `kit::section`, `kit::heading` | `dialog_kit.rs` |
| Wizard page (panel and title) and its bottom row (Cancel alone at the left, Prev / Next / Finish at the right) | `kit::wizard_page`, `kit::wizard_buttons`; a title alone: `kit::wizard_title` | `dialog_kit.rs` |
| List with scroll bar | `kit::list`, `kit::rows_in`, `kit::cell_text` | `dialog_kit.rs` |
| Tree list with icons, check cells and in-place editing | `enterprise::ui::grid` (built on `kit::list`) | `enterprise/ui.rs` |
| Kit controls inside a flow window | `kit::flow_canvas` (a Canvas over a block of the flow body) | `dialog_kit.rs` |
| Tabs inside a dialog | `kit::tabs` (horizontal, painted by `tab_strip::show`); tabs that share the panel's width with centred captions: `kit::tabs_spread`; `kit::vertical_tabs`, `kit::vertical_tabs_with_icons`, `kit::page` | `dialog_kit.rs` |
| Move arrows | four-arrow pad: `kit::move_pad`; a two-list picker's 33 x 33 arrow buttons (single or double): `kit::move_button` | `dialog_kit.rs` |
| Detail tabs under a view | `tab_strip::show` | `desktop/src/tab_strip.rs` |
| Table in a view or pane | `grid::Table` (`show`, or `show_with` and `Extras` for line numbers, a sort arrow, a kept scroll offset) | `views/grid.rs` |
| Grouping band look (level fill and text, caption font, totals in the row font) | `grid::band` (`fill`, `ink`, `caption`, `total_font`, `level_style`); view tables pick it by level through `views::grid::band_style` | `grid/band.rs` |
| The activity table and Gantt | the `grid/` and `gantt/` modules; do not build another | `grid/`, `gantt/` |
| Splitter | `activities::paint_splitter` | `activities.rs` |
| Histogram with cumulative curves and its legend (usage profiles, S-Curve report) | `histogram::paint_plot`, `histogram::paint_legend`; the timescale under it `usage::paint_tier` | `panes/histogram.rs` |
| Assign dialog (Assign Resources, Roles, Predecessors, Successors, Activity Codes, ...): window, button column, list with Ctrl and Shift multi-select | `assign_window`, `assign_list`, `assign_picked` | `details/assign_kit.rs` |
| Cell commands of a view table (focus cell, Fill Down, Find and Replace) | `note_view_cells`, `set_view_cell` | `views/table_cells.rs` |
| Controls inside a details pane | `details::form` (`command_button`, `combo`, `section`, `text`) | `details/form.rs` |
| Notebook tab (topic list, Add, Delete, notes pane) of Activity, WBS and Project Details; a captioned notes pane with its formatted text, Modify and the formatting toolbar | `notebook_pane`, `memo_section` | `details/notes_pane.rs` |
| Add button of a tab; Modify / Print / Copy under a notes pane; a number box (right-aligned) | `details::form::add_button`; `form::notes_buttons` (Canvas: `views::sheet::notes_buttons`); `views::sheet::number_field`, read-only `kit::number_field` | `details/form.rs`, `views/sheet.rs`, `dialog_kit.rs` |
| Icon | `chrome::Icon` with `chrome::paint_icon`; new icons are drawn by `tools/icons/` | `chrome.rs` |
| Picture as the mouse pointer | `chrome::paint_pointer_icon` | `chrome.rs` |
| Right-click or drop-down menu | `context_menu::Menu` with `chrome::popup_menu_style` | `context_menu.rs` |
| Colors | `chrome::pal`; chosen defaults in `theme.rs` | `chrome.rs`, `theme.rs` |
| Text in the light Markdown subset (help topics, agent replies): paragraphs, headings, lists, notes, tables, bold, italic, code, links; text still arriving | `markdown::blocks` with a `Dialect`, laid out by `markdown::layout`, links by `markdown::link_at` and `markdown::link_rects`; tables (columns fitted to the width, text wrapped in its cell) by `markdown::table_ui` | `desktop/src/markdown.rs` |
| Conversation (message list): user messages, agent replies with Activity ID links, tool rows, proposed changes, status lines, the empty state | `chat::list::show` over a `chat::model::Conversation`; IDs as links: `chat::links::link_ids` | `desktop/src/chat/` |
The comment at the top of `dialog_kit.rs` is the detailed rulebook for dialogs.
## Standard measurements
- Dialog button: 108 x 25. Button strip at the right: 112 wide, first button
6 down, 30 from one button to the next, 10 extra before a new group.
- Button order in a column: the committing button (OK, or the dialog's own
verb such as Schedule), Cancel, Apply, the dialog's other commands, Help
last. In a bottom row Help comes first, at the left, then the same order
(`kit::button_row` places it; callers list Help last as for a column). A
dialog that changes nothing has Close, not OK and Cancel. A dialog whose
own reference shot shows a different column or bottom row order may
declare that observed order (`kit::observed_button_column`,
`kit::observed_button_row`, entries listed in the order drawn); the sweep
then accepts exactly that order on that dialog. Today: the Calendar editor
(OK, Cancel, Help, then Work and the rest), Schedule (Cancel, Schedule,
View Log, Help, Options...) and the Calendars in Use row (Help, Cancel,
OK).
- One text size in dialogs and panes: `kit::body_font` (Arial 8 pt). Section
and heading bar captions are bold (`kit::heading_font`, and
`details::form::section` in the details panes).
- Dialog face `#F0F0F0`. Read-only fields `#F8F8F8`. Disabled text `#6D6D6D`,
plain.
- Table rows are 18 high. Row lines and the selection end at the last column.
- Buttons highlight on hover. The button Enter would press shows the default
frame.
## Behaviour every screen keeps
- Escape closes a dialog. Cancel or Close leaves the project unchanged.
- Enter presses the default button, and a value typed in an edit is
committed first (Escape drops it). A confirmation names its default
button (what Enter presses, framed as the default) in one table,
`kit_window::Question`. The default button follows the observed
reference behaviour, even when that is Yes on a destructive action;
where not observed, No.
- A command that changes project data is one undo step.
- A dialog is dragged by its title bar and stays on screen.
- Controls that cannot act are shown disabled or left out. No dead buttons,
with one exception: the "add" buttons of the details and record tabs
(Add, Assign, Add from Template, Add Resource, Add Role) stay enabled
when there is nothing to pick, as in the reference, and open their picker
empty (`details::form::add_button`).
- Words are plain and short. Captions that open another dialog end in "...".
## Guards
Drift fails a test, so run the sweeps after any UI change
(`cargo test -p openxer-desktop -- full_ui_sweep dialog_formatting_sweep`):
- `dialog_sweep.rs` opens every dialog and checks that the shared shell drew
its frame, that standard buttons are 108 x 25, and the button order (a
column or row drawn in a declared observed order is checked against that order). Dialogs
still being moved onto the kit are named in `NOT_YET_CONVERTED`; that list
only ever shrinks.
- The same file's source check rejects a bare `egui::Area` or a private window
wrapper outside the kit, and `kit_controls_are_written_once` rejects a
second button column, move pad, tab list or message box.
- `panes::histogram::tests::one_histogram_painter` fails when a second
cumulative-curve painter appears outside `panes/histogram.rs`.
- `chat::tests::chat_controls_are_written_once` fails on a second roll-up or
size grip painter, Markdown reader or text builder, conversation model,
Activity ID linker, pinned message list or Markdown table layout or painter.
- `details::notes_pane::tests::the_notebook_tabs_share_one_pane` fails when
a Notebook tab draws its own topic pane.
- `views::headless::projects_details_tabs_show_dividers_and_switch` and
`usage_list_tests::row_lines_stop_at_the_last_column_like_the_activity_table`
pin the tab strip and the table against the Activities page.
When you add a shared control, add its row to the table above and a guard
that would catch a second copy.

176
LICENSE-APACHE Normal file
View File

@@ -0,0 +1,176 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS

27
LICENSE-MIT Normal file
View File

@@ -0,0 +1,27 @@
MIT License
Copyright (c) 2026 The OpenXER Contributors
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

321
README.md Normal file
View File

@@ -0,0 +1,321 @@
<h1 align="center">OpenXER</h1>
<p align="center">
<b>A fast, native desktop scheduler for XER files, built to be driven by AI agents. Free, open source and local.</b><br>
Open a schedule, run it, level it, update it, check it, report it and save it back out as XER.<br>
Every edit you can make in the app, an agent can make through <code>openxer-cli</code> and MCP, under the same rules.
</p>
<p align="center">
<img alt="Written in Rust" src="https://img.shields.io/badge/written%20in-Rust-b7410e?style=flat-square">
<img alt="Windows and Linux" src="https://img.shields.io/badge/runs%20on-Windows%20%26%20Linux-0078d7?style=flat-square">
<img alt="Works offline" src="https://img.shields.io/badge/works-offline-2e7d32?style=flat-square">
<img alt="AI Chat and 30 Skills" src="https://img.shields.io/badge/AI%20Chat-30%20skills%20%2B%20MCP-6a3fb5?style=flat-square">
<img alt="No account, no telemetry" src="https://img.shields.io/badge/no%20account-no%20telemetry-555555?style=flat-square">
<img alt="License: MIT or Apache-2.0" src="https://img.shields.io/badge/license-MIT%20or%20Apache--2.0-3b6ea8?style=flat-square">
</p>
<p align="center">
<a href="https://github.com/OpenXER/openxer/releases/latest/download/OpenXER-0.1.0-setup.exe">
<img alt="Download for Windows (.exe)" src="https://img.shields.io/badge/Download%20for%20Windows-.exe%20installer-0078d7?style=for-the-badge&logo=windows">
</a>
&nbsp;
<a href="https://github.com/OpenXER/openxer/releases/latest/download/OpenXER-0.1.0-x86_64.AppImage">
<img alt="Download for Linux (AppImage)" src="https://img.shields.io/badge/Download%20for%20Linux-AppImage-e95420?style=for-the-badge&logo=linux&logoColor=white">
</a>
</p>
<p align="center">
<sub>
Windows 10/11 (64-bit) &middot; Linux x86_64 (AppImage: <code>chmod +x</code> and run) &middot;
<a href="https://github.com/OpenXER/openxer/releases/latest">All downloads (portable ZIP, Linux tarball, SHA256)</a>
</sub>
</p>
<p align="center">
<a href="#why-openxer">Why</a> ·
<a href="#built-for-ai-agents">AI Chat &amp; Skills</a> ·
<a href="#open-and-save-xer">XER</a> ·
<a href="#plan-and-schedule">Schedule</a> ·
<a href="#update-progress">Progress</a> ·
<a href="#the-activity-table-and-gantt-chart">Table and Gantt</a> ·
<a href="#check-the-logic">Logic</a> ·
<a href="#resources-and-leveling">Resources</a> ·
<a href="#baselines">Baselines</a> ·
<a href="#print-and-report">Print</a> ·
<a href="#install">Install</a> ·
<a href="#build-from-source">Build</a>
</p>
<p align="center"><img src="docs/images/hero.png" alt="OpenXER showing an activity table grouped by WBS, a Gantt chart with baseline bars and a progress line, and the Relationships tab of Activity Details" width="100%"><br><sub>The Activities view on a sample construction schedule: table, Gantt chart and Activity Details.</sub></p>
---
## Why OpenXER
Construction runs on legacy scheduling software: expensive licenses, heavy installs, databases and servers to look after, slow screens and workflows that have not changed in decades.
OpenXER keeps what schedulers already know. The activity table sits beside the Gantt chart with the details pane underneath. Layouts, filters, grouping, the dialogs and the terms are the ones you use every day, and XER goes in and comes out. There is nothing to relearn.
It adds what the legacy tools lack:
- **Built for AI agents.** Open the built-in **AI Chat (`F8`)** docked right beside the Gantt chart, choose from **30 prebuilt scheduling skills**, or connect external agents through `openxer-cli` and the built-in MCP server. Every edit runs through the exact same scheduling rules as the app.
- **Instant.** A single native program. It starts in a moment and stays responsive on large schedules.
- **Local.** Runs offline on one machine. No server, no database to install, no account, no telemetry. Your schedules stay in a workspace file on your disk, and the XER files you open are never modified.
- **Accurate.** A full critical path engine with calendars, constraints, lags, relationship types, Level of Effort activities, progress and resource leveling. Schedules calculate to the dates, float and leveled dates stored in the XER files it reads, verified against the update histories of real construction projects.
- **Free and open.** Open source under MIT or Apache-2.0. No license keys, no seat counts.
- **Modern.** A clean interface in its own colors, with the familiar layout intact.
## Built for AI agents
Legacy scheduling software was built for one person clicking through dialogs. OpenXER is built for that person **and** for the AI agent working beside them. The built-in Chat window, the 30 prebuilt scheduling skills, the command line and the MCP server all share the same edit layer as the app, so every answer comes from real schedule calculations and every approved edit lands exactly as if you had typed it.
### Built-in AI Chat (`F8`)
Press <kbd>F8</kbd> (or **AI Agents > Chat**) to open AI Chat docked beside your activity table and Gantt chart. The assistant inspects the open project directly through OpenXER's native tools, links every Activity ID it mentions so clicking it jumps straight to that row, and previews edits as a field-by-field proposal you approve or reject in one click.
<p align="center"><img src="docs/images/ai-chat.png" alt="OpenXER with the Activity Table, Gantt chart and Relationships details on the left and the built-in AI Chat window docked on the right showing tool calls, clickable Activity IDs and a pending progress edit proposal" width="100%"><br><sub>Built-in AI Chat docked beside the schedule: tool calls, clickable Activity IDs and a reviewable edit proposal before anything changes.</sub></p>
**Bring your own AI**
- **Sign in with ChatGPT:** use your own ChatGPT plan directly from the app.
- **Claude Code or Codex:** run through your existing local CLI agent with zero extra API keys.
- **OpenAI-compatible API:** point at any compatible endpoint with your own API key.
- **Local model on your PC:** point at Ollama, LM Studio or another local server so nothing leaves your machine.
### 30 prebuilt scheduling skills
OpenXER ships with **30 built-in scheduling skills** (`assets/skills/`) covering real project controls workflows, plus interactive playbooks in Chat. Connected agents discover and load the matching skill automatically, or you can open **AI Agents > Skills** to browse, edit, copy a ready-to-paste prompt, or author your own firm's standards in plain Markdown.
<p align="center"><img src="docs/images/ai-skills.png" alt="The AI Agents > Skills dialog listing OpenXER's 30 built-in scheduling skills with the Logic Health Check skill selected" width="100%"><br><sub>AI Agents &gt; Skills: browse, customize or add Markdown scheduling skills shared across the app, CLI and MCP server.</sub></p>
| Workflow | Prebuilt skills included |
|---|---|
| **Build & Scope** | `build-schedule`, `add-scope`, `resource-load`, `change-interview`, `schedule-basis` |
| **Weekly Updates** | `progress-update`, `update-review`, `look-ahead`, `milestone-status`, `compare-files` |
| **Audits & Health** | `logic-health-check`, `schedule-review`, `baseline-review`, `baseline-variance`, `float-constraint-review`, `calendar-duration-check`, `duration-review`, `activity-definition-review`, `sequence-review`, `resource-loading-review`, `schedule-maturity`, `levels-of-detail` |
| **Delay, Risk & Recovery** | `critical-path-explained`, `near-critical-paths`, `recovery-schedule`, `time-impact`, `contingency-float`, `risk-read` |
| **Executive Outputs** | `one-page-schedule`, `export-pack` |
Skills are plain Markdown files under [assets/skills/](assets/skills/): you do not need to write Rust to contribute. Fork the repo and open a pull request to improve a skill or share a new one with other schedulers.
**What you can hand to an agent**
- "Here is this morning's field report. Enter the progress, reschedule, and tell me what moved on the critical path."
- "Add the tie-in work from this RFI: four activities after the pipe rack, welded connections need an X-ray step."
- "The crew limit for pipefitters drops to 10 next week. Level the schedule and list every activity that slips more than two days."
- "Run a logic health check: open ends, lags over 5 days, constraints, out-of-sequence progress. Fix what is safe and list the rest."
- "Compare this update with last week's and write the change summary for the client."
**Connect external AI clients (MCP)**
In the app, open **AI Agents > Connect AI Agents...** and click **Connect** next to Claude Desktop, ChatGPT desktop and Codex (one setting serves both), or Claude Code. OpenXER writes the entry with the right path, backs the app's settings file up first, tests the connection and tells you what to do next: quit Claude Desktop from its tray icon and open it again, or restart ChatGPT desktop or Codex (in ChatGPT desktop use Work or Codex mode). Then ask: "Use OpenXER to inspect my schedule." The agent finds your workspace and its projects by itself. From a terminal, `openxer-cli connect all` does the same.
`openxer-cli mcp` runs a local MCP server over stdio. Any other MCP client can point at it:
```json
{
"mcpServers": {
"openxer": {
"command": "C:\\Users\\you\\OpenXER\\openxer-cli.exe",
"args": ["mcp"]
}
}
}
```
For Claude Code: `claude mcp add --scope user openxer -- "C:\Users\you\OpenXER\openxer-cli.exe" mcp`. The release ships this block as `openxer.mcp.json`; replace its `<full path to openxer-cli.exe>` with the path where you put the file.
**Or script it**
```text
openxer-cli inspect --input week-14.xer
openxer-cli set-activity --input week-14.xer --activity PIP-3120 --field remaining_duration --value 16 --output week-14-updated.xer
openxer-cli schedule --input week-14-updated.xer --data-date "2026-04-06 08:00" --level true --output week-15.xer
openxer-cli apply --input week-14.xer --changes field-report.json --dry-run
```
A whole update is one changes file, applied in order and all or nothing:
```json
{
"format": "openxer-changes/1",
"operations": [
{"op": "set_project", "field": "data_date", "value": "2026-04-06 08:00"},
{"op": "set_activity", "activity": "PIP-3110", "field": "actual_finish", "value": "2026-04-03 15:00",
"meta": {"source": "field report, April 3"}},
{"op": "set_activity", "activity": "PIP-3120", "field": "remaining_duration", "value": 16},
{"op": "relationship", "action": "add", "predecessor": "PIP-3130", "successor": "PIP-3140", "kind": "FS", "lag_hours": 0},
{"op": "schedule", "level_resources": true}
]
}
```
**What you can count on**
- **The same rules as the app.** Statuses, durations, units and assignments follow exactly as they would if you typed the edit. Things are named the way you see them: Activity ID, resource short name, calendar name, WBS path.
- **Safe by design.** The input file is never modified; every change writes a new output. A batch that fails anywhere writes nothing, and `--dry-run` shows every field that would change.
- **Traceable.** Each edit can carry a `meta` note, such as the report or email it came from.
- **Proven on real projects.** The edit commands were verified by replaying the full update history of real construction projects through the CLI, week after week, and matching the scheduler's own stored results field for field, including on resource-leveled schedules.
- **Local.** The server runs on your machine and sees only the files you point it at. OpenXER itself sends nothing anywhere, except Chat when you use it with ChatGPT or with an API key: then your questions and the schedule data its tools read go to that service. With Claude Code, Codex or a model on your own PC, Chat itself sends nothing off it.
Tools: `openxer_inspect`, `openxer_load`, `openxer_schedule`, `openxer_apply`, `openxer_check_schedule`, `openxer_paths`, `openxer_compare`, `openxer_lookahead`, `openxer_milestones`, `openxer_schedule_stats`, `openxer_resource_loading`, `openxer_wbs_summary`, `openxer_skills`, `openxer_skill`, `openxer_set_activity`, `openxer_add_activity`, `openxer_delete_activity`, `openxer_assign`, `openxer_unassign`, `openxer_set_assignment`, `openxer_relationship`, `openxer_calendar_day`, `openxer_calendar_weekday`, `openxer_set_project`, `openxer_add_wbs`, `openxer_import`, `openxer_export` and `openxer_export_pdf`, among others. The full CLI, JSON, skills and MCP reference is in [automation/README.md](automation/README.md).
## Open and save XER
- Open any XER file and pick the projects you want when it holds several. Open several projects at once and see them side by side.
- Save to the local workspace, then export a clean XER whenever you need to send it on. Tables and fields OpenXER does not use are carried through untouched, so nothing in your file quietly disappears.
- Import into a new project, replace an existing one, or add activities into a project you already have. Undo Last Import takes it back.
## Plan and schedule
- Press <kbd>F9</kbd> to schedule. Schedule Options cover the data date, retained logic, progress override and actual dates, out-of-sequence progress, longest path, float paths, open ends and more. Each run writes a schedule log.
- Calendars with work weeks, shifts and holidays, a Must Finish By date and every constraint type.
- Turn on automatic scheduling and the dates follow every edit as you type.
- Check Schedule scores the schedule against common health targets: open ends, lags, relationship types, constraints, large and negative float, long durations, invalid progress dates, late activities, out-of-sequence progress and more. Each check can filter the table to the activities it finds.
<p align="center"><img src="docs/images/check-schedule.png" alt="The Check Schedule Results window listing each check with its count, result and target" width="100%"><br><sub>Check Schedule results on the sample schedule.</sub></p>
## Update progress
- Edit status, actual start and finish, remaining duration and percent complete right in the table or in the Status tab of the details pane. Both follow the same rules.
- Update Progress and Apply Actuals move a whole period at once, and Progress Spotlight highlights what should have moved since the last update.
- Steps, expected finish, suspend and resume, and resource actuals on each assignment.
- Save Period Actuals (store period performance) against financial periods.
<p align="center"><img src="docs/images/update-progress.png" alt="The Update Progress dialog over an activity table with status, actual dates and percent complete, with Progress Spotlight highlighting the next week" width="100%"><br><sub>Update Progress with Progress Spotlight on the week after the data date.</sub></p>
## The activity table and Gantt chart
- Columns for every schedule, resource, cost, earned value, code and user-defined field, with your own widths and titles.
- Group by WBS, activity codes or any field, with band totals, intervals by week or month and page breaks.
- Filters with nested All/Any conditions and dates relative to the data date, so a three-week lookahead is one filter that moves with every update.
- Drag bars to change dates, drag between bars to link them, click a relationship line to edit it. Curtains, text attachments, sight lines, a progress line and baseline bars.
- A timescale that zooms from hours to years, scroll bars on both sides and optional line numbers.
- Show Trace Logic, Activity Network, usage profiles and spreadsheets, or a second table and Gantt in the bottom pane. Split the window into tab groups and open a second Activities view with its own layout.
- Save it all as named layouts, and export or import layouts to share them.
## Check the logic
- Trace Logic draws the predecessors and successors of the selected activity as a network, critical path in red.
- Activity Critical Path shows the backward and forward driving paths through any activity.
- Driving relationships, free and total float, float paths and the longest path in the table.
- Schedule Comparison lists added, deleted and changed activities, relationships and fields between two projects, or between a project and its baseline.
<p align="center"><img src="docs/images/trace-logic.png" alt="Trace Logic in the bottom pane showing the predecessors and successors of an instrumentation activity, critical activities in red" width="100%"><br><sub>Trace Logic for the instrument wiring activity.</sub></p>
## Resources and leveling
- Resources, roles, rates, shifts, curves and calendars, all editable.
- Assign resources and roles, set units, lag and overtime, and record actuals by assignment.
- Expenses, cost accounts, funding sources and currencies.
- Resource usage profiles and spreadsheets by day, week or month, in units or costs, with cumulative curves, against each resource's limit.
- Level Resources with priorities, limits and calendars, and a leveling log of what moved.
<table>
<tr>
<td width="50%" valign="top"><img src="docs/images/resource-usage.png" alt="Resource usage profile for the pipefitter crew with one week above its limit shown in red"><br><sub>Before: the pipefitters are overloaded the week of the data date.</sub></td>
<td width="50%" valign="top"><img src="docs/images/leveled.png" alt="The same resource usage profile after leveling, every week within the limit"><br><sub>After Level Resources: the work fits under the crew limit.</sub></td>
</tr>
</table>
## Baselines
- Keep any number of baselines, assign a project baseline and up to three user baselines, and update them by the Update Baseline options (what to add, delete and carry for activities, assignments and the project), with a preview of every change first.
- Baseline bars on the Gantt chart, baseline dates and variance columns in the table, and earned value against the baseline you choose.
<p align="center"><img src="docs/images/baseline.png" alt="The activity table with baseline start, baseline finish, current dates and finish variance, and baseline bars under the current bars" width="100%"><br><sub>Current dates against the project baseline, with finish variance.</sub></p>
## Print and report
- Print and Print Preview from the layout on screen, with page setup for paper, margins, headers, footers and legends. Publish straight to PDF.
- A Reports window with a starter set of scheduling reports: lookaheads by WBS, critical activities, open ends and logic gaps, progress this period, predecessors and successors, milestones, baseline variance and resource usage by week. Run them to PDF, HTML, text or print preview.
- Build your own reports, organize them in groups and run a batch in one go. Report definitions from other scheduling tools can be imported.
<p align="center"><img src="docs/images/print-preview.png" alt="Print Preview of the Gantt layout with title block, activity table and bars" width="100%"><br><sub>Print Preview of the layout on screen.</sub></p>
## Install
Download directly from the **[Latest Release](https://github.com/OpenXER/openxer/releases/latest)**:
| Platform | Recommended download | Portable download |
|---|---|---|
| **Windows 10/11 (64-bit)** | [**OpenXER-0.1.0-setup.exe**](https://github.com/OpenXER/openxer/releases/latest/download/OpenXER-0.1.0-setup.exe) (installer, no admin needed) | [OpenXER-0.1.0-windows-x64.zip](https://github.com/OpenXER/openxer/releases/latest/download/OpenXER-0.1.0-windows-x64.zip) |
| **Linux (x86_64, X11/Wayland)** | [**OpenXER-0.1.0-x86_64.AppImage**](https://github.com/OpenXER/openxer/releases/latest/download/OpenXER-0.1.0-x86_64.AppImage) (single file, `chmod +x` and run) | [OpenXER-0.1.0-linux-x86_64.tar.gz](https://github.com/OpenXER/openxer/releases/latest/download/OpenXER-0.1.0-linux-x86_64.tar.gz) |
Verify checksums with [SHA256SUMS.txt](https://github.com/OpenXER/openxer/releases/latest/download/SHA256SUMS.txt).
### Windows installer
Run `OpenXER-<version>-setup.exe`. It installs for your Windows account only and needs no administrator rights (the default folder is `%LOCALAPPDATA%\Programs\OpenXER`). Choose **Install for all users** on its first screen to put it in `Program Files` instead; that one asks for administrator rights.
The wizard asks for the folder, the Start Menu folder, a desktop shortcut (off by default) and whether double-clicking an `.xer` file should open OpenXER (off by default, so a program that already opens `.xer` files keeps doing so; OpenXER is listed under **Open with** either way). The last page can start OpenXER.
OpenXER is not code signed yet, so Windows warns you the first time:
1. Your browser may say the file is not commonly downloaded. Choose **Keep** (in Edge: **...** then **Keep**, then **Show more** and **Keep anyway**).
2. When you run it, **Windows protected your PC** may appear. Click **More info**, check that the app is `OpenXER-<version>-setup.exe`, then **Run anyway**.
3. The default (just for you) install shows no administrator prompt. **Install for all users** shows the Windows administrator prompt, which names the publisher as **Unknown publisher**.
Silent install for IT: `OpenXER-<version>-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /LOG=<file>` (add `/DIR=<folder>`, `/TASKS=desktopicon,associate`, or `/ALLUSERS`). A silent install stops with exit code 7 instead of closing a running OpenXER.
### The portable zip
Unpack it into a folder you own and run `OpenXER.exe`. Keep `openxer-cli.exe` next to it. `openxer.mcp.json` is an MCP client configuration to fill in with the full path of `openxer-cli.exe` (the installer fills it in for you).
### Linux
- **AppImage:** `chmod +x OpenXER-<version>-x86_64.AppImage && ./OpenXER-<version>-x86_64.AppImage`
- **Portable tarball:** unpack `OpenXER-<version>-linux-x86_64.tar.gz` and run `./openxer` (with `./openxer-cli` beside it for CLI and MCP).
### Where your schedules live
Your projects are kept in one workspace file, `openxer.db`, with a `backups` folder and any crash reports beside it:
- **Windows installed:** `%LOCALAPPDATA%\OpenXER`, never the program folder, so upgrading or uninstalling never touches it.
- **Linux:** `${XDG_DATA_HOME:-~/.local/share}/openxer`.
- **Portable:** next to `OpenXER.exe`, or the user data folder above when that folder cannot be written.
- **Any platform:** the folder the `OPENXER_DATA_DIR` environment variable names, when it is set. `OpenXER --database <file>` opens any other workspace.
The status bar shows the workspace in use.
### Upgrade, move, uninstall
- **Upgrade:** run the newer setup. It replaces the program in place and keeps your settings and workspace. Close OpenXER first, or Setup asks you to.
- **Move a workspace:** close OpenXER and copy `openxer.db` (and `backups` if you want them) to the other folder or PC, into the data folder above.
- **Uninstall:** **Settings > Apps > Installed apps > OpenXER > Uninstall**. It removes the program, its shortcuts and its file type entries. Your workspace and backups stay in `%LOCALAPPDATA%\OpenXER`; delete that folder yourself if you no longer need them. A portable copy is removed by deleting its folder (its workspace is in that folder).
## Build from source
- **Windows:** Rust stable with the MSVC target, the Visual Studio C++ Build Tools and the Windows SDK. SQLite is bundled.
- **Linux:** Rust stable, a C compiler (`build-essential`), `pkg-config`, `libssl-dev` (for OpenSSL TLS and `openxer-chat`), and `fonts-liberation` (for test text measurements). SQLite is bundled.
```text
cargo build --release -p openxer-desktop -p openxer-automation
cargo run -p openxer-desktop
cargo run -p openxer-automation -- --help
cargo test --workspace
```
The release build writes `target/release/OpenXER.exe` and `openxer-cli.exe` on Windows (`OpenXER` and `openxer-cli` on Linux). `python desktop/build_release.py --output <folder>\OpenXER.exe` builds both on Windows with the static runtime and packages them with `CLI-MCP.md`, `LICENSE-MIT`, `LICENSE-APACHE`, `THIRD_PARTY.md` and an `openxer.mcp.json` template whose command is a placeholder for the installed path. Add `--installer` to also build `target/installer/OpenXER-<version>-setup.exe` with [Inno Setup 6](https://jrsoftware.org/isinfo.php) from `tools/installer/openxer.iss`, and `--sign-command "<command with $f>"` to sign the executables and Setup.
Some tests compare against real schedules that cannot be published. They read their inputs from `OPENXER_FIXTURES`, `OPENXER_CORPUS`, `OPENXER_RPT_INPUTS` and `OPENXER_RPT_DB`, and skip with a printed reason when those are not set. The screenshots in this README are rendered headless from a synthetic schedule with `cargo test -p openxer-desktop --bin OpenXER readme -- --ignored`.
## Contributing and roadmap
See [CONTRIBUTING.md](CONTRIBUTING.md) and [ROADMAP.md](ROADMAP.md). AI coding agents should read [AGENTS.md](AGENTS.md) first.
## About
OpenXER is an independent project. It is not affiliated with, endorsed by or sponsored by any scheduling software vendor. XER is a schedule interchange file format; product and company names belong to their owners.
## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
- MIT license ([LICENSE-MIT](LICENSE-MIT))
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

33
ROADMAP.md Normal file
View File

@@ -0,0 +1,33 @@
# Roadmap
OpenXER is developed in the open. Contributions, forks and pull requests are
welcome; open an issue or discussion before starting larger work so we can
align on the design.
## Shipped in v0.1.0
- Native desktop CPM scheduler for Windows and Linux (`OpenXER` and `openxer-cli`)
- Full XER round-trip preservation, project XML import/export, Excel (XLSX)
import/export, S-curve and Earned Hours workbooks, and vector PDF printing
- Critical path scheduling, calendars, constraints, Level of Effort, progress
updates, baselines, schedule comparison, Check Schedule, resource usage and
resource leveling
- Built-in AI Chat (`F8`) with live tool calls, clickable Activity IDs,
reviewable edit proposals, and Bring Your Own AI (ChatGPT sign-in, Claude
Code, Codex, OpenAI-compatible API keys, or local models)
- Built-in MCP server (`openxer-cli mcp`) and 30 prebuilt Markdown scheduling
skills (`AI Agents > Skills`)
## Next up
- **macOS support:** native macOS builds, packaging and CI coverage
- **Code signing:** signed Windows installers (SignPath / Authenticode) so
first-run SmartScreen prompts go away
- **Linux package channels:** Flatpak / distribution packages alongside the
AppImage and portable tarball
- **Expanded synthetic benchmark suite:** larger public invented schedules for
external contributors testing engine, leveling and baseline PRs
- **Community scheduling skills:** more domain playbooks and skills under
`assets/skills/` (turnarounds, megaprojects, forensic delay, cost loading)
- **Additional CLI and MCP parity:** closing the remaining read and edit gaps
tracked in [automation/COVERAGE.md](automation/COVERAGE.md)

27
SECURITY.md Normal file
View File

@@ -0,0 +1,27 @@
# Security policy
## Reporting a vulnerability
Please do not open a public issue for a security problem.
Report it privately through GitHub: open the repository's **Security** tab
and choose **Report a vulnerability**. Include what you found, how to
reproduce it, and which version you used. Do not include real project
schedules; describe or invent the input that triggers the problem.
You will get an acknowledgement, and a fix or a plan, as soon as the
maintainers have reproduced the problem.
## Scope
OpenXER runs locally. Of most interest:
- crafted XER, Excel or workspace files that crash the app, corrupt a
workspace, or run code;
- the CLI or MCP server writing outside the output path it was given, or
modifying an input file;
- anything that sends schedule data off the machine.
## Supported versions
Fixes go into the latest release.

2394
THIRD_PARTY.md Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

BIN
assets/icons/16/ACTRJ16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

BIN
assets/icons/16/ADD16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

BIN
assets/icons/16/APPLY16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

BIN
assets/icons/16/ATV16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

BIN
assets/icons/16/ATVMM.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

BIN
assets/icons/16/BACK16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

BIN
assets/icons/16/BLANK16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

BIN
assets/icons/16/CBRANCH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

BIN
assets/icons/16/CDROM.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

BIN
assets/icons/16/CLEAF.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

BIN
assets/icons/16/CLNDR16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

BIN
assets/icons/16/CLOSE16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

BIN
assets/icons/16/COPY16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

BIN
assets/icons/16/CTREE.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
assets/icons/16/CUT16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

BIN
assets/icons/16/DELIV16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

BIN
assets/icons/16/EPS16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

BIN
assets/icons/16/ERRORDG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Some files were not shown because too many files have changed in this diff Show More