harness-sync

Synchronizes Plans.md tasks with actual implementation progress via drift detection and status marker updates.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/lane2077/claude-code-harness-zh --skill harness-sync-lane2077
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harness-sync
Source: https://github.com/lane2077/claude-code-harness-zh/tree/main/codex/.codex/skills/harness-sync
Command: npx skills add https://github.com/lane2077/claude-code-harness-zh --skill harness-sync-lane2077

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps Plans.md in sync with the actual implementation progress by detecting drift, applying status updates, and triggering retrospective analyses.

Core Features & Use Cases

  • Drift detection between Plans.md and the live codebase surface discrepancies.
  • Automatic progress marker updates (cc:WIP/cc:TODO/cc:完了) based on file edits.
  • Automatic retrospective execution when there are completed tasks.
  • Snapshot support: save progress state with the --snapshot flag.

Quick Start

Run harness-sync to synchronize Plans.md with current implementation progress and optionally save a snapshot using --snapshot.

Frequently Asked Questions about harness-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep Plans.md in sync with codebase implementation progress?

To keep Plans.md in sync with implementation progress, use automated drift detection to compare task statuses against live file edits, then apply status marker updates like cc:TODO, cc:WIP, and cc:完了 to align the document.

What is the best way to track task drift between a markdown plan and actual code edits?

Tracking task drift between a markdown plan and code involves validating the plan's structure and detecting discrepancies between documented tasks and actual file edits. Once detected, progress markers are automatically updated to reflect the true state.

How do I trigger a retrospective for completed tasks in Plans.md?

To trigger a retrospective for completed tasks in Plans.md, run a sync operation that detects finished items marked with cc:完了. The retrospective analysis executes automatically upon finding these completed tasks.

Can I save a snapshot of Plans.md progress state for auditing?

Yes, you can save a snapshot of the Plans.md progress state for auditing by running the synchronization command with the --snapshot flag, which captures the current progress markers and task statuses at that moment.

Does harness-sync require a specific Plans.md structure to update progress markers?

Yes, harness-sync validates the Plans.md structure before applying any updates. It requires the document to contain recognized progress markers such as cc:TODO, cc:WIP, and cc:完了 to successfully detect drift and synchronize status.

Why are my Plans.md task statuses not updating after code edits?

Plans.md task statuses may fail to update if the document structure fails validation or lacks the required progress markers like cc:TODO, cc:WIP, and cc:完了. The sync tool must detect these markers to apply status changes.