Skip to content

Add checkpoint skill, fix temp file collisions, and support starting on existing branches #108

Description

@sebastientaggart

Problem to Fix

When two agents or terminal sessions run CodeCannon skills at the same time, they write to the same temporary files and can corrupt each other's work. There is also no way to save progress without triggering the full pull request and review ceremony, and no way to start coding on a branch that was created outside the normal workflow.

Why it Matters

These gaps block developers from using save points during long coding sessions and prevent future multi-agent workflows from functioning correctly. The temp file collision is a latent bug that can produce incorrect GitHub issues or PRs if two sessions overlap.

General Approach

Three independent improvements:

  1. Temp file isolation — Move all temporary files from a shared global directory to a project-local .cc_tmp/ directory, so each working copy has its own temp space.
  2. Checkpoint skill — Add a new /checkpoint command that commits and pushes work-in-progress without creating a PR, running reviews, or merging. Uses a WIP: commit prefix.
  3. Start on existing branch — Modify /start to detect when the user is already on a feature branch and offer to create a linked GitHub issue and begin coding, instead of warning and stopping.

Complexity

Verification / QA effort: moderate
Each change is small but touches multiple skill files and must be validated across all four agent adapters after sync.

Acceptance Criteria

  • All temp file references in skills use .cc_tmp/ instead of /tmp/cc_*
  • Running make sync produces adapter output with the updated paths
  • A new /checkpoint skill exists and generates correctly for all adapters
  • /checkpoint commits with WIP: prefix, pushes, and does not create a PR or trigger review
  • /start gracefully handles being invoked on an existing feature/* branch
  • make check passes with no unresolved placeholders

Metadata

Metadata

Labels

enhancementNew feature or requestready-for-qaIssue is ready to be QA tested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions