Commit graph

5 commits

Author SHA1 Message Date
Snider
2f42f0645b refactor(pkg): replace stdlib strings/fmt with Core primitives
Migrate all pkg/ files from strings.Contains/HasPrefix/HasSuffix/TrimSpace/
Split/SplitN/Join/ReplaceAll/ToLower/ToUpper/TrimPrefix/TrimSuffix/NewReader/
Builder and fmt.Sprintf/Sprint to their core.* equivalents from dappco.re/go/core.

Retained stdlib where no Core equivalent exists: strings.Map, strings.Trim
(cutset), strings.TrimRight, strings.Index, strings.ContainsAny, strings.Replace
(count), fmt.Sscanf, fmt.Fprintf.

Note: core.Join swaps args vs strings.Join (separator first, then parts...).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 04:11:14 +00:00
Snider
21f234aa7c refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service
- Module path: dappco.re/go/agent
- Core import: dappco.re/go/core v0.4.7
- Process service re-enabled with new Core API
- Plugin bumped to v0.11.0
- Directory flattened from go/ to root

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-21 11:10:44 +00:00
Snider
be1130f470 agent updates 2026-03-21 11:10:44 +00:00
Snider
dc7c89fdae refactor: remove pkg/prompts — consolidated into pkg/lib
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-18 14:09:17 +00:00
Snider
53482cb0c8 feat: workspace templates via Extract — Gosod pattern for agent dispatch
- Move pkg/prompts/lib → pkg/lib (prompt, task, flow, persona, workspace)
- New lib.go: unified package with ExtractWorkspace() using text/template
- Workspace templates: default, security, review — .tmpl files with data injection
- prep.go: uses lib.ExtractWorkspace() + detect helpers for language/build/test
- prompts.go: thin re-export wrapper for backwards compat

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-18 14:03:06 +00:00