Skip to content

Feature Request: Incremental Mapping via Git Diff to speed up clawpatch map #171

Description

@Tanmay-008

Problem Statement

Currently, running clawpatch map performs a full scan of the entire project repository. It executes all heuristic mappers, traverses the filesystem, collects all seeds, and reconciles all features.

In large monorepos or substantial codebases, if a developer modifies only 1 or 2 files, scanning thousands of unchanged files is a massive waste of resources. This creates a severe bottleneck for both local development workflows and CI pipelines.

Expected Impact

  • Performance: Massive reduction in mapping execution time (up to 10x faster for iterative changes).
  • Efficiency: Significantly speeds up CI checks and tightens the local development loop by restricting map operations strictly to modified scopes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions