fix(template): embed official doc templates for container cwd
App images have no templates/ checkout, so GetDocTemplate fell back to a two-section stub and prelim_design lost its real contract. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package templates
|
||||
|
||||
import "embed"
|
||||
|
||||
// DocTemplates holds official workflow markdown so containers without a
|
||||
// checkout of templates/docs still serve the real contract, not a stub.
|
||||
//
|
||||
//go:embed docs/*.md
|
||||
var DocTemplates embed.FS
|
||||
Reference in New Issue
Block a user