121 lines
2.6 KiB
YAML
121 lines
2.6 KiB
YAML
schema_version: "1.0"
|
|
|
|
automation:
|
|
id: replace-me-automation-id
|
|
name: Replace Me Automation
|
|
description: Replace with the outcome this automation produces.
|
|
version: "0.1.0"
|
|
status: draft
|
|
owner: replace-me-owner
|
|
tags:
|
|
- replace-me
|
|
|
|
source:
|
|
repository: replace-me-repository-url
|
|
definition_path: automation.yaml
|
|
revision_policy: pinned-release
|
|
|
|
trigger:
|
|
type: schedule
|
|
schedule:
|
|
human: Every Monday at 09:00
|
|
timezone: America/Denver
|
|
rrule: "FREQ=WEEKLY;BYDAY=MO;BYHOUR=9;BYMINUTE=0"
|
|
enabled_by_default: false
|
|
|
|
execution:
|
|
platform: codex-desktop
|
|
mode: local-project
|
|
task_prompt: task-prompt.md
|
|
working_directory: .
|
|
skills:
|
|
- path: replace-me-skill-or-remove-this-entry
|
|
required: true
|
|
command: null
|
|
timeout_minutes: 60
|
|
concurrency:
|
|
max_active_runs: 1
|
|
overlap_policy: skip
|
|
idempotency:
|
|
strategy: scheduled-window
|
|
state_location: replace-me-durable-state-location
|
|
|
|
hosts:
|
|
activation_policy: single-active-host
|
|
primary:
|
|
id: dell-workstation
|
|
role: active
|
|
standby:
|
|
- id: travel-laptop
|
|
role: cold-standby
|
|
overrides_file: host-overrides.yaml
|
|
|
|
requirements:
|
|
software:
|
|
- name: ChatGPT desktop app
|
|
version: current-supported
|
|
tools_and_connectors: []
|
|
secrets:
|
|
- name: REPLACE_ME_SECRET_OR_REMOVE
|
|
required: true
|
|
source: host-secret-store
|
|
permissions:
|
|
filesystem:
|
|
- path: .
|
|
access: read-write
|
|
network: restricted
|
|
|
|
inputs:
|
|
sources:
|
|
- name: replace-me-input
|
|
location: replace-me-location
|
|
required: true
|
|
parameters: {}
|
|
|
|
outputs:
|
|
artifacts:
|
|
- name: primary-output
|
|
location: output/
|
|
format: markdown
|
|
retention_days: 90
|
|
success_contract:
|
|
- Expected artifact exists and is non-empty.
|
|
- Completion notification includes the artifact location.
|
|
|
|
observability:
|
|
run_log: logs/runs.jsonl
|
|
health:
|
|
stale_after_minutes: 120
|
|
notifications:
|
|
on_success: inbox
|
|
on_failure: inbox
|
|
|
|
failure_policy:
|
|
retries:
|
|
max_attempts: 2
|
|
backoff_minutes: 15
|
|
after_final_failure: notify-owner
|
|
partial_output_policy: retain-and-mark-failed
|
|
|
|
recovery:
|
|
runbook: AUTOMATION.md
|
|
recovery_time_objective_hours: 4
|
|
recovery_point_objective_hours: 24
|
|
failover:
|
|
require_old_host_disabled_or_fenced: true
|
|
require_manual_test_before_enable: true
|
|
|
|
security:
|
|
secrets_in_repository: forbidden
|
|
destructive_actions: require-explicit-approval
|
|
external_writes: least-privilege
|
|
|
|
change_control:
|
|
last_reviewed: "2026-08-21"
|
|
review_cadence_days: 90
|
|
required_checks:
|
|
- manifest-validation
|
|
- manual-test
|
|
- first-scheduled-run-review
|
|
|