0c6ed0c0cf
New workspaces get:
- AGENTS.md (always): canonical agent instructions — handoff workflow,
notes-archive convention (~300-500 line trigger), cross-workspace
discovery, do-not-touch warnings. Project variant adds workspace-
structure and git-conventions sections.
- CLAUDE.md shim (claude type only per v0.6 spec §6 — opencode shim
deferred until its instruction-file convention is verified).
- handoff.md: minimal current-state template the agent updates per
session.
- context/notes-archive/.gitkeep: directory pinned for git tracking,
ready for the agent to populate per the archive convention.
seed.ClaudeMD and seed.ClaudeMDProject removed — no callers remain.
Existing workspaces are NOT modified; this is strictly a ctask-new code
path. The seed-wins overlay rule still applies — a user seed dir's
AGENTS.md/CLAUDE.md overrides the built-in.
25 lines
211 B
Go
25 lines
211 B
Go
package seed
|
|
|
|
import "fmt"
|
|
|
|
// NotesMD returns the skeleton notes.md content.
|
|
func NotesMD(title string) string {
|
|
return fmt.Sprintf(`# %s
|
|
|
|
## Purpose
|
|
|
|
|
|
|
|
## Constraints
|
|
|
|
|
|
|
|
## Actions
|
|
|
|
|
|
|
|
## Results
|
|
|
|
`, title)
|
|
}
|