added
This commit is contained in:
commit
2bcc107c13
39 files changed
+2643
No files matched your search
@@ -0,0 +1,36 @@
|
||||
# Implementation
|
||||
|
||||
## Workbook
|
||||
|
||||
Use a saved XLSX sheet named `workflows`. Required headers, case-insensitive: Name, Machine, Project, Ops Segment, Mon, Tues, Wed, Thu, Fri, Sat, Sun, Other, Notes. Optional Operator or Location supplies the execution location; Operational or Status supplies the schedule status. Empty names, rows beginning with `Do not edit`, and rows without any weekday entries are excluded. Rows sort by Ops Segment, Project and Name.
|
||||
|
||||
Numeric weekday values use Excel fractional days (0.375 means 09:00). Text such as `Hourly` is cadence, not a parsed time. Existing formulas need saved cached values; this tool never recalculates Excel. Empty sheets return an empty schedule; incomplete headers fail clearly.
|
||||
|
||||
## Registry
|
||||
|
||||
The JSON object has `generatedAt`, optional `note`, `records`, and optional `history`. Each record has `name`, optional string-array `aliases`, `outcome` (success/failure/unknown), optional ISO `lastRun`, `detail`, and `source`. Each history item has `date`, `generatedAt`, and `records`. See [synthetic registry](../examples/status.example.json).
|
||||
|
||||
## Collection: explicit sources only
|
||||
|
||||
PowerShell 7 on Windows is the supported collection environment. Use one or more of:
|
||||
|
||||
```powershell
|
||||
./scripts/collect_automation_statuses.ps1 -IncludeScheduledTasks -OutputPath ./local/status.json
|
||||
./scripts/collect_automation_statuses.ps1 -CodexAutomationsPath ./local/automations -OutputPath ./local/status.json
|
||||
./scripts/collect_automation_statuses.ps1 -WorkflowRepository ./local/workflow -WorkflowId workflow-demo -SchedulerLogRoot ./local/scheduler-logs -OutputPath ./local/status.json
|
||||
./scripts/collect_automation_statuses.ps1 -OverridesPath ./examples/status-overrides.example.json -AliasesPath ./examples/status-aliases.example.json -OutputPath ./output/synthetic-status.json
|
||||
```
|
||||
|
||||
With no source flags, collection writes an empty registry and queries no live sources. Prior snapshots may remain in an existing output. `WorkflowRepository` and `WorkflowId` must be supplied together. Scheduler logs are optional. Overrides are assertions from the configured JSON, not independently checked outcomes. Do not mistake a successful command exit for complete source coverage: inspect warnings and record counts.
|
||||
|
||||
The generic workflow receipt format includes `skill.name`, `finished_at`, `status`, `failures`, `validation.deterministic`, `validation.manual`, and `artifacts.report`/`artifacts.checkpoint_advanced`. Report paths must remain inside the configured repository. The fixture test demonstrates success, explicit failure, unknown validation, a newer scheduler failure, and a later successful receipt.
|
||||
|
||||
## Rendering and utilities
|
||||
|
||||
Both Python builders support `--workbook` and `--status`. The calendar accepts `--html` and `--template`; results accepts `--output` and `--template`. Defaults are repository-relative. The calendar can render without a registry (unknown statuses); the results builder requires a registry file.
|
||||
|
||||
`refresh_automations_calendar.ps1` accepts `-Workbook`, `-Status`, `-OutputDirectory`, and `-Python` (executable name or path). It performs offline rendering only. Use a separate collector invocation for current evidence.
|
||||
|
||||
`aggregate_updates.py --projects-dir local/projects --output output/updates.html` collects UPDATES.md beneath immediate project subfolders. It excludes common VCS/environment directories but does not redact document contents.
|
||||
|
||||
`copy-workbook.ps1 -Source local/workflows.xlsx -Destination local/workflows-copy.xlsx` refuses an existing destination and supports `-WhatIf`. The destination's parent must exist.
|
||||
Reference in new issue
Block a user