Files
HAL9000 f808abff86 chore(ci): fix pre-commit hook failures
Fix JSON syntax errors in .devcontainer/devcontainer.json (removed
invalid JS-style // comments) and .devcontainer/opencode.json (removed
90+ trailing commas). Apply auto-fixes for end-of-file and trailing
whitespace issues across 100+ files. Fix SIM105 ruff violations in
benchmarks/core_circuit_breaker_bench.py (use contextlib.suppress).

Note: The security fix from issue #7478 (validate_path startswith bypass)
was already delivered to master in commit e18ac5f2. This PR as currently
structured is non-atomic (35 commits across 10+ issues) and needs
significant restructure before merge. This commit only addresses the
CI/pre-commit failures.

ISSUES CLOSED: #7478
2026-06-14 09:51:14 -04:00

59 lines
1.6 KiB
YAML

# ============================================================================
# Inputs-Schema Action — Advanced Input Validation via JSON Schema
# ============================================================================
# Demonstrates the optional inputs_schema field for complex validation
# rules beyond basic argument types.
# Create: agents action create --config examples/actions/inputs-schema.yaml
# ============================================================================
name: local/data-pipeline
description: "Build and validate a data processing pipeline"
long_description: |
Creates a data pipeline with configurable stages. Uses inputs_schema
for advanced validation of the pipeline configuration structure.
strategy_actor: local/strategist
execution_actor: local/executor
definition_of_done: |
Pipeline runs end-to-end successfully. All stages produce valid
output. Data quality checks pass on final output.
reusable: true
read_only: false
arguments:
- name: pipeline_name
type: string
required: true
description: "Name of the pipeline to build"
- name: dry_run
type: boolean
required: false
description: "Run in dry-run mode without writing output"
default: false
inputs_schema:
type: object
properties:
stages:
type: array
items:
type: object
properties:
name:
type: string
transform:
type: string
required:
- name
- transform
output_format:
type: string
enum:
- csv
- json
- parquet
required:
- stages