Adds a harvested .okf/ knowledge bundle (codebase concepts + starter architecture/services/rules scaffolding) and .mcp.json pointing at the shared okf MCP service (http://localhost:8765/archie-core/), which serves multiple projects' bundles from a single process.
1.2 KiB
1.2 KiB
description, resource, tags, timestamp, title, type
| description | resource | tags | timestamp | title | type | ||
|---|---|---|---|---|---|---|---|
| Source module internal/workflow/skillbuild/skillbuild_test.go (741 lines). | internal/workflow/skillbuild/skillbuild_test.go |
|
2026-07-21T18:36:22Z | skillbuild_test.go | Module |
Module skillbuild_test.go
Path: internal/workflow/skillbuild/skillbuild_test.go
Lines: 741
Snippet Preview
package skillbuild
import (
"context"
"os"
"path/filepath"
"testing"
"github.com/samcharles93/archie-core/internal/workflow"
)
// ── workflows built from skill plugins ────────────────────────────────
func TestBuildWorkflowFromSkillPlugins(t *testing.T) {
dir := t.TempDir()
skillDir := filepath.Join(dir, ".agents", "skills", "archie-wf-greet")
pluginsDir := filepath.Join(skillDir, "plugins")
if err := os.MkdirAll(pluginsDir, 0o755); err != nil {
t.Fatal(err)
}
if err := os.WriteFile(filepath.Join(skillDir, "SKILL.md"), []byte(`---
name: archie-wf-greet
description: A custom greeting workflow built entirely from plugins.
version: 1.0.0
metadata:
archie:
workflow: greet
---
Greet the world, then say goodbye.