You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sdd init skips new gitignore lines unless --force #45
sdd init on a project that already has .sdd/config.yaml throws before it can add newly required ignore lines.
packages/core/src/init.ts returns at the existing-config check (around lines 82–85) when force is false. ensureIgnoreEntries (around lines 297–313), which now appends role-runs/, runs only after that check.
Repro
Use a project that already has .sdd/config.yaml and a .sdd/.gitignore that ends at models/.
Install sdd 0.17.2 (main aecf412, role create/run).
Run sdd init --here --no-agent with no --force.
The command exits with Already initialized (...). Use --force to merge defaults and refresh unchanged generated files.
.sdd/.gitignore still has no role-runs/.
sdd init --here --force --no-agent does append role-runs/ and keeps local constitution and workflow edits. That is a heavier hammer than adding one ignore line.
#36 is about bundled workflows and templates that stay hidden, and about --force still refusing to refresh an edited or unmarked file. This one is the early return: a new required ignore entry is unreachable without --force, even when the ignore file would only gain a line.
Expected
An existing project can pick up new required .sdd/.gitignore entries, including role-runs/, without --force and without rewriting config, memory, or workflows.
Shipped in #51 (f6dd94b). A second non-interactive sdd init appends missing ignore lines, including role-runs/, and leaves config and workflows alone. sdd init --force still refreshes unchanged generated files. Issue #37 stays open.
Activity
harsha09 commentedon Oct 19, 2026
Shipped in #51 (
f6dd94b). A second non-interactivesdd initappends missing ignore lines, includingrole-runs/, and leaves config and workflows alone.sdd init --forcestill refreshes unchanged generated files. Issue #37 stays open.