Skip to content

[P2.4-T01] Add trust field to run action #52

@RichardHightower

Description

@RichardHightower

Task: Add trust field to run action

Phase: 2.4 - Trust Levels
Estimated: 0.25 day
File: cch_cli/src/models/actions.rs

Description

Extend the run action to support an optional trust level field.

Acceptance Criteria

  • Extend run action to support object format
  • Add optional trust field: local | verified | untrusted
  • Maintain backward compatibility with string format
  • Parse both formats correctly

YAML Formats

# Simple format (existing - must continue to work)
actions:
  run: .claude/validators/check.py

# Extended format (new)
actions:
  run:
    script: .claude/validators/check.py
    trust: local

Trust Level Semantics

Trust Meaning
local User-authored script
verified Signed skill package
untrusted External source

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions