---
name: cc-pushback
description: >
  Learn your pushback style from past Claude Code feedback and code reviews, and replicate it with a language model. Use when writing Python code that uses the cc_pushback package.
license: PolyForm-Noncommercial-1.0.0
compatibility: Requires Python >=3.13.
---

# cc-pushback

Learn your pushback style from past Claude Code feedback and code reviews, and replicate it with a language model.

## Installation

```bash
pip install cc-pushback
```

## API overview

### Classes

Core classes

- `FeedbackStore`: Persistent store for collected feedback over a :class:`FileStateStore`

### FeedbackStore Methods

Methods for the FeedbackStore class

- `FeedbackStore.default_path`
- `FeedbackStore.open`
- `FeedbackStore.record_file_scan`
- `FeedbackStore.unrefined`
- `FeedbackStore.record_refinement`
- `FeedbackStore.unenriched`
- `FeedbackStore.record_evidence`
- `FeedbackStore.pairs`
- `FeedbackStore.candidates`
- `FeedbackStore.lineage`
- `FeedbackStore.triage_stats`

### Dataclasses

Data-holding classes

- `MigrationReport`: The outcome of one ``migrate-corpus`` pass
- `ScanReport`: The outcome of one scan pass

### Functions

Public functions

- `detect`: Runs every detector over one transcript's events

### Async Functions

Asynchronous functions

- `migrate_corpus`: Converts a legacy corpus in place, idempotently

### Other

Additional exports

- `scan`: Scans transcripts under ``roots`` for feedback, incrementally

## Resources

- [Full documentation](https://yasyf.github.io/cc-pushback/)
- [llms.txt](llms.txt) — Indexed API reference for LLMs
- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs
- [Source code](https://github.com/yasyf/cc-pushback)
