MCPcopy Create free account
hub / github.com/compozy/agh / RejectTask

Method RejectTask

internal/task/manager.go:665–667  ·  view source on GitHub ↗

RejectTask records one rejection decision for a manual-approval task that is currently awaiting a decision and reconciles the resulting task status.

(ctx context.Context, id string, actor ActorContext)

Source from the content-addressed store, hash-verified

663// RejectTask records one rejection decision for a manual-approval task that is
664// currently awaiting a decision and reconciles the resulting task status.
665func (m *Service) RejectTask(ctx context.Context, id string, actor ActorContext) (*Task, error) {
666 return m.transitionTaskApproval(ctx, id, ApprovalStateRejected, taskEventRejected, actor)
667}
668
669func (m *Service) executeTaskBoundary(
670 ctx context.Context,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected