models.FeedbackCandidate
A single piece of developer pushback extracted from a transcript.
Usage
models.FeedbackCandidate(
dedup_key,
source_kind,
occurred_at,
text,
window,
ref,
signal,
session_id=None,
cc_version=None,
payload=None
)Parameter Attributes
dedup_key: DedupKeysource_kind: SourceKindoccurred_at: datetimetext: strwindow: ContextWindowref: EventRefsignal: CandidateSignalsession_id: SessionId | None = Nonecc_version: str | None = Nonepayload: Mapping[str, Any] | None = None
Attributes
dedup_key: DedupKey-
The content-derived key that makes ingestion idempotent.
source_kind: SourceKind-
Which detector produced the candidate.
occurred_at: datetime-
When the feedback was given.
text: str-
The verbatim pushback text.
window: ContextWindow-
The durable context window around the feedback, captured via
~cc_transcript.context.capture_window(). ref: EventRef-
The resolvable reference to the originating event.
signal: CandidateSignal-
The de-noising confidence signal.
session_id: SessionId | None-
The transcript session the feedback came from.
cc_version: str | None-
The Claude Code version recorded for the origin.
payload: Mapping[str, Any] | None- Detector-specific metadata preserved verbatim.