Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Project renamed to cc-steer — install cc-steer instead (https://pypi.org/project/cc-steer/)

cc-pushback

cc-pushback banner

PyPI Python Docs License: PolyForm-Noncommercial-1.0.0

cc-pushback mines your Claude Code transcripts for the moments you pushed back — corrections, interrupts, rejected plans, code-review comments, "no, do it this way" — and collects them, with the surrounding conversational context, into a local database. That corpus is the raw material for learning your pushback style; this first release builds it.

Install

No install needed — run everything through uvx:

uvx cc-pushback --help

uvx fetches cc-pushback into a throwaway environment and runs it. To add it to a project instead:

uv add cc-pushback

Quickstart

Scan your transcripts for the moments you pushed back and accumulate them into a local feedback database:

uvx cc-pushback scan
scanned 412 files, 1473 new rows

scan is incremental and idempotent. Each transcript is parsed only when it is new or has changed since the last scan, and every candidate is keyed by a content digest, so re-running over unchanged inputs adds nothing. Recording a file and inserting its candidates commit in one transaction — interrupt a scan and the database is never left half-written. A transcript that fails to parse (one Claude Code is still writing, say) is skipped and retried next time, never aborting the run.

The database lives at ~/.cc-pushback/feedback.db by default (override with --db). Inspect what has been collected:

uvx cc-pushback stats          # counts by source kind, and the scanned-file count
uvx cc-pushback list           # recent feedback, newest first
uvx cc-pushback list --source plan_review --limit 50

What gets collected

scan runs four detectors over each transcript:

  • Transcript messages (transcript_message) — the pushback you typed mid-session, after trivial acknowledgements and structural noise are filtered out.
  • Plan reviews (plan_review) — rejected ExitPlanMode plans (with the feedback you gave) and plan-mode re-entries right after an edit cycle, i.e. "let's rethink this."
  • Interrupts and rejections (interrupt_rejection) — permission denials and [Request interrupted by user] corrections, with the denied tool and your follow-up captured.
  • Review comments (review_comment) — structured code-review messages exploded into one row per inline comment.

Each row carries the conversational window around the feedback — the assistant action it responded to, plus a few turns either side — captured at collection time, because transcripts are ephemeral.

Restrict to specific kinds with --source (repeatable), or force a full re-mine of every transcript (after a detector change, say) with --full:

uvx cc-pushback list --source transcript_message --source plan_review
uvx cc-pushback scan --full

Mining transcripts from another machine

Transcripts live under ~/.claude/projects. To mine a remote machine's history, mirror its projects directory locally with rsync, then scan that directory:

rsync -az yasyf@yasyf:.claude/projects/ ~/.cc-pushback/mirrors/yasyf/
uvx cc-pushback scan --transcripts ~/.cc-pushback/mirrors/yasyf/

--transcripts is repeatable, so you can fold several mirrors into one scan. Because discovery is mtime-keyed, repeating the rsync and re-scanning only ingests what changed.

What problems does this solve?

  • Your corrections evaporate. Every "don't do it that way" you've typed into Claude Code is sitting unused in transcript files. cc-pushback turns that history into a structured dataset.
  • CLAUDE.md only captures what you remember to write down. Most of your taste is tacit — you only notice a rule when it's violated. Collecting real pushbacks recovers the rules you never articulated.
  • The signal is buried in noise. Trivial acknowledgements, structural reminders, and tool chatter drown out the moments that matter; cc-pushback keeps the pushback and discards the rest.

Docs

Read the docs for the full guide and API reference.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cc_pushback-0.5.0.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cc_pushback-0.5.0-py3-none-any.whl (69.4 kB view details)

Uploaded Python 3

File details

Details for the file cc_pushback-0.5.0.tar.gz.

File metadata

  • Download URL: cc_pushback-0.5.0.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cc_pushback-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e4dee30d0766ef39f785d9faf0a9ee52ffef52f64e63e0c5b63bd793618a6f34
MD5 95e62b0e8d8368eb5ba81bbac255aa8a
BLAKE2b-256 f5bb8998b0e7d716896956e8e972b2777c8e98291dba3dcdc9f3b6dfe89377bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_pushback-0.5.0.tar.gz:

Publisher: release-pypi.yml on yasyf/cc-pushback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cc_pushback-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: cc_pushback-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 69.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cc_pushback-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea09044aad74d335e5582d1b3b490a94328052097c01d4903620fac28592dc90
MD5 4ca5b9ad07dce905d3246c76590c837a
BLAKE2b-256 e03a92e7ae3be28027b457176634366f274fb7b1f3ad4ba45856e9a9b0cc8d29

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_pushback-0.5.0-py3-none-any.whl:

Publisher: release-pypi.yml on yasyf/cc-pushback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.8.1

2 files

0.8.0

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.0

2 files

This release

0.5.0 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page