Decisions

  • Pending: Should it auto-fix or just report? (start with report-only)
  • Resolved: Should it run as a hook after vault edits, or only on demand?Both. Skill for on-demand, PostToolUse hook for automatic sync after FR file changes.

User Tasks


FR-027: Feature Overview Sync Check

Summary

A skill (/check-features) that verifies FR files and the feature overview are in sync.

Problem / Motivation

The feature overview can drift out of sync with actual FR files — missing entries, wrong statuses, wrong counts. Currently this requires a manual check.

Proposed Solution

Build a /check-features skill and a PostToolUse hook that together keep the dashboard in sync:

  • Scans all FR files across new/planned/in-progress/done folders
  • Compares with the feature dashboard table
  • Reports mismatches: missing FRs, extra rows, wrong status/folder, wrong counts
  • Auto-fixes the dashboard (Phase 2)
  • Hook triggers automatically after FR file creates/moves/edits (Phase 2)

Open Questions

  • Should it auto-fix or just report? (start with report-only)
  • Should it run as a hook after vault edits, or only on demand?

Phase Overview

PhaseDescriptionStatus
Phase 1Report-only skill
Phase 2Auto-fix + optional hook

Phase 1: Report Only —

Goal: Build a skill that detects mismatches between FR files and the feature overview.

File / FeatureDetailsOwnerStatus
Create skill.claude/skills/check-features/SKILL.mdopus
Scan FR filesGlob all FR-*.md across lifecycle foldersopus
Parse overviewRead feature-dashboard.md tableopus
Compare & reportShow mismatches in terminalopus

Phase 2: Auto-fix & Hook —

Goal: Automatically fix the dashboard and keep it in sync via a hook.

File / FeatureDetailsOwnerStatus
Auto-fix mode/check-features --fix regenerates the dashboard tableopus
Sync scriptPython/bash script that scans FR files → updates dashboardopus
PostToolUse hookTriggers sync script after Write/Edit on vault/10_features/**opus
Hook registrationAdd to .claude/settings.json PostToolUse arrayopus

Acceptance Criteria:

  • /check-features reports all mismatches between FR files and dashboard
  • Detects missing FRs, extra rows, status/folder mismatches, wrong counts
  • No false positives on a clean vault
  • Hook auto-syncs dashboard after FR file changes (no manual step needed)
  • Hook is lightweight — only triggers when path matches 10_features/

Notes:

  • Ideas are intentionally excluded from the feature overview — only FRs are tracked.

Prerequisites / Gap Analysis

Requirements

RequirementDescription
REQ-1Feature overview dashboard must exist
REQ-2FR files must follow consistent naming and frontmatter

Current State

ComponentStatusDetails
Feature overviewdonevault/00_system/dashboards/feature-dashboard.md
FR file namingdoneConsistent FR-XXX pattern
Sync check skillDoes not exist

Gap (What’s missing?)

GapEffortBlocker?
/check-features skillMedNo

Test

Manual tests

TestExpectedActualLast
Clean vault scanNo mismatches reportedpending-
Missing FR in overviewDetected and reportedpending-
Wrong status in overviewDetected and reportedpending-

AI-verified tests

ScenarioExpected behaviorVerification method

E2E tests

ScenarioAssertion

Integration tests

ComponentCoverage

Unit tests

ComponentTestsCoverage

History

DateEventDetails
2026-02-27Created
2026-02-27RenumberedFrom FR-066 to FR-027
2026-02-28ReformattedAligned to feature-request template
2026-03-12UpdatedExpanded scope: added PostToolUse hook for auto-sync, resolved hook decision, bumped priority to high

References

  • FR-028 (Feature Workflow Automation) — related overview automation
  • FR-011 (Hook Scripts) — sync-overview hook