Class: Carson::Adapters::Agent::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/carson/adapters/agent.rb

Overview

objective: “fix_ci” | “address_review” | “fix_audit” context: String (legacy — PR title) or Hash with structured evidence:

fix_ci:         { title:, ci_logs:, ci_run_url:, prior_attempt: { summary:, dispatched_at: } }
address_review: { title:, review_findings: [{ kind:, url:, body: }], prior_attempt: ... }

acceptance_checks: what must pass for the fix to be accepted

Instance Attribute Summary collapse

Instance Attribute Details

#commit_shaObject (readonly)

Returns the value of attribute commit_sha

Returns:

  • (Object)

    the current value of commit_sha



11
12
13
# File 'lib/carson/adapters/agent.rb', line 11

def commit_sha
  @commit_sha
end

#evidenceObject (readonly)

Returns the value of attribute evidence

Returns:

  • (Object)

    the current value of evidence



11
12
13
# File 'lib/carson/adapters/agent.rb', line 11

def evidence
  @evidence
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



11
12
13
# File 'lib/carson/adapters/agent.rb', line 11

def status
  @status
end

#summaryObject (readonly)

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



11
12
13
# File 'lib/carson/adapters/agent.rb', line 11

def summary
  @summary
end