feat(configurable-plans-dir): make the plans directory configurable via .claude/hcf.json - #1
Conversation
…ia .claude/hcf.json Optional advanced config: a plansDir key in .claude/hcf.json overrides where HCF stores plans (default .claude/plans). No skill creates the file, project-setup never asks about it, and absolute or repo-escaping paths fall back to the default. Skills resolve the path once and pass concrete paths to subagents; tdd-worker and devils-advocate never read the config themselves.
|
First — apologies for the six-week silence. That's on me, and this deserved a response much sooner. The design here is careful. Opt-in, defaults untouched, no skill creating the file, and the decision to keep subagents config-unaware — concrete paths under This is a feature I want. Two things have moved underneath it since June: 2.0.0 replaced 2.1.0 added drift detection. Two changes I'd ask for beyond the rebase: Drop the There's precedent to follow now: hook discovery moved out of a prose snippet into Quote the path. Would you like to rebase and take those on? Happy to answer questions about the 2.1.0 changes — |
This PR makes the plans directory configurable. I personally don't want to tie the plans to the
.claudedirectory: for me it makes more sense to place the plans directory directly in the root of the project, or maybe in adocs/plansfolder for other projects.This PR introduces an optional
.claude/hcf.jsonconfig file with a singleplansDirkey:{ "plansDir": "docs/plans" }This is an advanced option. Regular users should never have to think about it: no skill creates the file, project-setup never asks about it, and when the file or key is absent everything behaves exactly as it does today (.claude/plans).
How it works
Notes