package seed import "fmt" // ClaudeMD returns the advisory CLAUDE.md content for a workspace. func ClaudeMD(slug, category, workspacePath string) string { return fmt.Sprintf(`# Task Workspace: %s This is a ctask-managed workspace. - **Category:** %s - **Workspace:** %s ## Scope This workspace is scoped to a single task. Keep work focused on the task described in notes.md. ## Files - task.yaml — Task metadata (machine-managed, do not edit) - notes.md — Task log (human/agent-managed) - context/ — Reference documents (user-managed) - output/ — Task deliverables and artifacts - logs/ — Session logs (automatic session snapshots) ## Session Handoff Before ending a session, append a brief summary to notes.md with: - What was accomplished - Key decisions made - Open follow-ups or unfinished work - How to continue from here Keep it concise — a few bullet points is enough. This helps the developer (or a future session) resume without losing context. `, slug, category, workspacePath) } // NotesMD returns the skeleton notes.md content. func NotesMD(title string) string { return fmt.Sprintf(`# %s ## Purpose ## Constraints ## Actions ## Results `, title) }