remove project config.yaml install

This commit is contained in:
booleanmaybe 2026-03-18 17:14:40 -04:00
parent 365b06b46e
commit 088c96869b
2 changed files with 1 additions and 19 deletions

View file

@ -148,23 +148,6 @@ func BootstrapSystem() error {
}
createdFiles = append(createdFiles, tikiMarkdownPNGPath)
// Write default config.yaml
defaultConfig := `logging:
level: error
header:
visible: true
tiki:
maxPoints: 10
appearance:
theme: auto
gradientThreshold: 256
`
configPath := GetProjectConfigFile()
if err := os.WriteFile(configPath, []byte(defaultConfig), 0644); err != nil {
return fmt.Errorf("write default config.yaml: %w", err)
}
createdFiles = append(createdFiles, configPath)
// Git add all created files
gitArgs := append([]string{"add"}, createdFiles...)
//nolint:gosec // G204: git command with controlled file paths

View file

@ -55,8 +55,7 @@ func Bootstrap(tikiSkillContent, dokiSkillContent string) (*Result, error) {
return nil, err
}
// Phase 2: Project initialization (creates dirs, seeds files, writes default config)
// runs before LoadConfig so that config.yaml exists on first launch
// Phase 2: Project initialization (creates dirs and seeds sample files)
proceed, err := EnsureProjectInitialized(tikiSkillContent, dokiSkillContent)
if err != nil {
return nil, err