79 lines
5.1 KiB
Markdown
79 lines
5.1 KiB
Markdown
# Automations Calendar
|
|||
|
|
|
||
|
|
Build a weekly automation calendar and a searchable run-results dashboard from an XLSX schedule and JSON run evidence. Both dashboards are standalone HTML files with filters and local search.
|
||
|
|
|
||
|
|
This public preparation contains reusable Python/PowerShell tools and synthetic examples. It contains no production schedule, live status export, credentials, or private history. Author, publisher and maintainer: [Eddie Soehnel](AUTHOR.md). Version **0.1.0**, [MIT license](LICENSE).
|
||
|
|
|
||
|
|
## Who it helps
|
||
|
|
|
||
|
|
Automation maintainers and operations teams can see scheduled work, distinguish success/failure/unknown outcomes, investigate collected evidence, and compare up to three stored daily snapshots. The calendar separates timed events from recurring cadence text. The results dashboard separates scheduled workflows from all collected evidence.
|
||
|
|
|
||
|
|
## Quick start: offline synthetic demo
|
||
|
|
|
||
|
|
Requires Python 3.10 or newer. Python tools use only the standard library. Run from the repository root:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
python scripts/create_example_workbook.py
|
||
|
|
python scripts/build_automations_calendar.py
|
||
|
|
python scripts/build_automation_results.py
|
||
|
|
```
|
||
|
|
|
||
|
|
Open `output/automations-calendar.html` and `output/automations-results.html` in a browser. No web server, network call, real scheduler or account is required. The workbook generator refuses to overwrite an existing workbook; dashboard builders replace their specified outputs.
|
||
|
|
|
||
|
|
On Windows with PowerShell 7, the combined rendering entry point is:
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
./scripts/refresh_automations_calendar.ps1 -Workbook ./local/workflows.xlsx
|
||
|
|
```
|
||
|
|
|
||
|
|
## Use your own schedule and evidence
|
||
|
|
|
||
|
|
Supply a `.xlsx` workbook containing a `workflows` sheet. Required columns: `Name`, `Machine`, `Project`, `Ops Segment`, `Mon`, `Tues`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`, `Other`, and `Notes`. Optional columns are documented in [implementation](docs/implementation.md). Numeric day values are Excel time fractions; text is recurring cadence. Only rows with at least one weekday value are shown.
|
||
|
|
|
||
|
|
```sh
|
||
|
|
python scripts/build_automations_calendar.py --workbook local/workflows.xlsx --status local/status.json
|
||
|
|
python scripts/build_automation_results.py --workbook local/workflows.xlsx --status local/status.json
|
||
|
|
```
|
||
|
|
|
||
|
|
Real schedules, evidence and generated HTML can contain sensitive names or details. Keep them in ignored `local/` and `output/` folders. These tools do not automatically anonymize your input data. Rendered metadata omits absolute source paths, but record fields remain visible.
|
||
|
|
|
||
|
|
## Optional local collection
|
||
|
|
|
||
|
|
Collection is separate from rendering and opt-in. This Windows command queries Task Scheduler only when explicitly requested:
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
./scripts/collect_automation_statuses.ps1 -IncludeScheduledTasks -OutputPath ./local/status.json
|
||
|
|
```
|
||
|
|
|
||
|
|
See [implementation](docs/implementation.md) for optional automation-memory, receipt, scheduler-log, override and alias inputs. A missing match is unknown. Text-based automation-memory inference is best-effort and is not verified proof of a successful run. Collection access errors are warnings; an empty registry does not prove the absence of automations.
|
||
|
|
|
||
|
|
## Repository map
|
||
|
|
|
||
|
|
| Entry | Purpose |
|
||
|
|
|---|---|
|
||
|
|
| [repository.json](repository.json) | Searchable manifest, topics, contents and retrieval order |
|
||
|
|
| [repository-variables.json](repository-variables.json) | Approved identity, rights and repository defaults |
|
||
|
|
| [AGENTS.md](AGENTS.md) | AI-agent entry point and operating rules |
|
||
|
|
| [Scripts](scripts/README.md) | Builders, collectors, utilities and validation |
|
||
|
|
| [Documentation](docs/README.md) | Architecture, data formats and adaptation |
|
||
|
|
| [Examples](examples/README.md) | Synthetic status, aliases and overrides |
|
||
|
|
| [Templates](templates/README.md) | Clean HTML rendering templates |
|
||
|
|
| [Publication workflow](PUBLICATION_WORKFLOW.md) | Privacy checks and release boundaries |
|
||
|
|
| [Contributing](CONTRIBUTING.md) | Contribution and test commands |
|
||
|
|
| [Security](SECURITY.md) | Private-data and credential guidance |
|
||
|
|
|
||
|
|
## Validation
|
||
|
|
|
||
|
|
```sh
|
||
|
|
python -m unittest discover -s tests -p "test_*.py"
|
||
|
|
python scripts/audit_repository.py . --profile software-automation
|
||
|
|
python scripts/check_publication.py
|
||
|
|
```
|
||
|
|
|
||
|
|
On Windows also run `./tests/test-workflow-run-status.ps1`. Tests use synthetic fixtures, not live accounts. The manifest supports discovery by humans and AI; no hosting topics or external search index have been configured by this preparation.
|
||
|
|
|
||
|
|
## Limits
|
||
|
|
|
||
|
|
This is an experimental monitoring view, not a scheduler or alerting service. XLSX is read as saved ZIP/XML; formulas are not recalculated. Time zones are supplied by your workbook convention; there is no zone conversion. Status names and aliases are normalized, and later matching evidence takes precedence. A running Windows task is unknown until it completes. History uses the current workbook schedule, so it does not reconstruct historical schedules. See [architecture](docs/architecture.md).
|
||
|
|
|
||
|
|
Preparation records: [implementation receipt](tasks/structure-ai-ready-repository/implementation-receipt.md) and [validation results](tasks/structure-ai-ready-repository/validation-results.md). Detailed private source maps remain outside this repository.
|