[{"data":1,"prerenderedAt":283},["ShallowReactive",2],{"navigation":3,"docs-sdd\u002Fgenerating":90},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,12,34,40,58,76],{"title":10,"path":6,"stem":11},"Overview","docs\u002Findex",{"title":13,"path":14,"stem":15,"children":16},"CLI Reference","\u002Fdocs\u002Fcli","docs\u002Fcli\u002Findex",[17,18,22,26,30],{"title":13,"path":14,"stem":15},{"title":19,"path":20,"stem":21},"doctor","\u002Fdocs\u002Fcli\u002Fdoctor","docs\u002Fcli\u002Fdoctor",{"title":23,"path":24,"stem":25},"exec","\u002Fdocs\u002Fcli\u002Fexec","docs\u002Fcli\u002Fexec",{"title":27,"path":28,"stem":29},"init","\u002Fdocs\u002Fcli\u002Finit","docs\u002Fcli\u002Finit",{"title":31,"path":32,"stem":33},"status","\u002Fdocs\u002Fcli\u002Fstatus","docs\u002Fcli\u002Fstatus",{"title":35,"path":36,"stem":37,"children":38},"Constitution","\u002Fdocs\u002Fconstitution","docs\u002Fconstitution\u002Findex",[39],{"title":35,"path":36,"stem":37},{"title":41,"path":42,"stem":43,"children":44},"FD Guide","\u002Fdocs\u002Ffd","docs\u002Ffd\u002Findex",[45,46,50,54],{"title":41,"path":42,"stem":43},{"title":47,"path":48,"stem":49},"Closing","\u002Fdocs\u002Ffd\u002Fclosing","docs\u002Ffd\u002Fclosing",{"title":51,"path":52,"stem":53},"Creating","\u002Fdocs\u002Ffd\u002Fcreating","docs\u002Ffd\u002Fcreating",{"title":55,"path":56,"stem":57},"Reviewing","\u002Fdocs\u002Ffd\u002Freviewing","docs\u002Ffd\u002Freviewing",{"title":59,"path":60,"stem":61,"children":62},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002Fgetting-started\u002Findex",[63,64,68,72],{"title":59,"path":60,"stem":61},{"title":65,"path":66,"stem":67},"First Feature","\u002Fdocs\u002Fgetting-started\u002Ffirst-feature","docs\u002Fgetting-started\u002Ffirst-feature",{"title":69,"path":70,"stem":71},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002Fgetting-started\u002Finstallation",{"title":73,"path":74,"stem":75},"Feature Lifecycle","\u002Fdocs\u002Fgetting-started\u002Flifecycle","docs\u002Fgetting-started\u002Flifecycle",{"title":77,"path":78,"stem":79,"children":80},"SDD Guide","\u002Fdocs\u002Fsdd","docs\u002Fsdd\u002Findex",[81,82,86],{"title":77,"path":78,"stem":79},{"title":83,"path":84,"stem":85},"Executing","\u002Fdocs\u002Fsdd\u002Fexecuting","docs\u002Fsdd\u002Fexecuting",{"title":87,"path":88,"stem":89},"Generating","\u002Fdocs\u002Fsdd\u002Fgenerating","docs\u002Fsdd\u002Fgenerating",{"id":91,"title":92,"body":93,"description":277,"extension":278,"meta":279,"navigation":280,"path":88,"seo":281,"stem":89,"__hash__":282},"content\u002Fdocs\u002Fsdd\u002Fgenerating.md","Generating SDDs",{"type":94,"value":95,"toc":270},"minimark",[96,100,111,118,123,141,145,151,157,160,213,217,222,241,244,248,251,262],[97,98,92],"h1",{"id":99},"generating-sdds",[101,102,107],"pre",{"className":103,"code":105,"language":106},[104],"language-text","\u002Ffd-sdd FD-001\n","text",[108,109,105],"code",{"__ignoreMap":110},"",[112,113,114,117],"p",{},[108,115,116],{},"\u002Ffd-sdd"," reads the approved FD and produces one SDD file per planned component.",[119,120,122],"h2",{"id":121},"requirements","Requirements",[112,124,125,126,129,130,133,134,136,137,140],{},"The FD must have ",[108,127,128],{},"status: approved"," and ",[108,131,132],{},"reviewed: true",". If not, ",[108,135,116],{}," refuses and directs you to run ",[108,138,139],{},"\u002Ffd-review"," first.",[119,142,144],{"id":143},"what-gets-generated","What gets generated",[112,146,147,148,150],{},"For an FD with 3 planned components, ",[108,149,116],{}," creates:",[101,152,155],{"className":153,"code":154,"language":106},[104],".forgia\u002Fsdd\u002FFD-001\u002F\n├── SDD-001-component-a.md\n├── SDD-002-component-b.md\n└── SDD-003-integration-wiring.md   ← always added automatically\n",[108,156,154],{"__ignoreMap":110},[112,158,159],{},"Each SDD is populated with:",[161,162,163,171,177,183,189,195,201,207],"ul",{},[164,165,166,170],"li",{},[167,168,169],"strong",{},"Scope"," derived from the FD component description",[164,172,173,176],{},[167,174,175],{},"Interfaces"," from the FD's interface definitions",[164,178,179,182],{},[167,180,181],{},"Constraints"," from the FD's architecture section (language, framework, versions)",[164,184,185,188],{},[167,186,187],{},"Best practices"," from the dev-guide and constitution",[164,190,191,194],{},[167,192,193],{},"Test requirements"," specific to that component",[164,196,197,200],{},[167,198,199],{},"Acceptance criteria"," traceable to the FD's verification section",[164,202,203,206],{},[167,204,205],{},"Context"," — pointers to existing files the agent must read first",[164,208,209,212],{},[167,210,211],{},"Work Log"," — empty, ready to be filled by the executing agent",[119,214,216],{"id":215},"the-integration-wiring-sdd","The integration wiring SDD",[112,218,219,221],{},[108,220,116],{}," always appends an integration wiring SDD, even if the FD doesn't list one. This SDD covers:",[161,223,224,235,238],{},[164,225,226,227,230,231,234],{},"Wiring: ",[108,228,229],{},"pub mod",", ",[108,232,233],{},"use",", dependency injection registration",[164,236,237],{},"Startup path: who calls what, in what order",[164,239,240],{},"E2E test: full flow from the public entry point to the innermost component",[112,242,243],{},"This is not optional. History shows that components passing unit tests fail to work together when integration wiring is left implicit.",[119,245,247],{"id":246},"after-generation","After generation",[112,249,250],{},"Review each generated SDD for completeness:",[161,252,253,256,259],{},[164,254,255],{},"Scope should be narrow enough for one agent session",[164,257,258],{},"Interfaces should match between adjacent SDDs",[164,260,261],{},"Acceptance criteria should be objectively verifiable",[112,263,264,265,269],{},"Then execute: see ",[266,267,268],"a",{"href":84},"Executing SDDs",".",{"title":110,"searchDepth":271,"depth":271,"links":272},2,[273,274,275,276],{"id":121,"depth":271,"text":122},{"id":143,"depth":271,"text":144},{"id":215,"depth":271,"text":216},{"id":246,"depth":271,"text":247},"Use \u002Ffd-sdd to generate agent-ready execution specs from an approved Feature Design.","md",{},{"title":87},{"title":92,"description":277},"-KrD8biVNGpA8zisVLujJXHZ-kSWIQQlAYl6BHKb6t8",1775060659760]