Change project settings (locations, git strategy, Linear)
Configures project settings including file locations, git strategy, and Linear integration.
/plugin marketplace add vieko/bonfire/plugin install bonfire@viekohaikucommands/Always runs interactively - asks all configuration questions regardless of arguments.
Run git rev-parse --show-toplevel to locate the repository root.
If <git-root>/.bonfire/ does not exist, tell the user to run /bonfire:start first.
Read <git-root>/.bonfire/config.json if it exists to see current settings.
Use AskUserQuestion to ask configuration questions (4 questions, one round):
"Where should specs be saved?" (Header: "Specs")
"Where should docs be saved?" (Header: "Docs")
"How should .bonfire/ be handled in git?" (Header: "Git")
"Enable Linear integration?" (Header: "Linear")
Completely overwrite <git-root>/.bonfire/config.json with only these fields (do not preserve old fields like models):
{
"specsLocation": "<user-answer>",
"docsLocation": "<user-answer>",
"gitStrategy": "<user-answer>",
"linearEnabled": <true-or-false>
}
If git strategy or locations changed, update <git-root>/.bonfire/.gitignore:
Ignore all:
*
!.gitignore
Hybrid (only include dirs that are inside .bonfire/):
*
!.gitignore
If docsLocation is .bonfire/docs/, add:
!docs/
!docs/**
If specsLocation is .bonfire/specs/, add:
!specs/
!specs/**
Commit all:
data/
scratch/
If switching FROM commit/hybrid TO ignore:
git rm -r --cached .bonfire/Report: