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.0 KiB
1.0 KiB
description, resource, tags, timestamp, title, type
| description | resource | tags | timestamp | title | type | ||
|---|---|---|---|---|---|---|---|
| Source module internal/skill/frontmatter_test.go (40 lines). | internal/skill/frontmatter_test.go |
|
2026-07-21T18:36:22Z | frontmatter_test.go | Module |
Module frontmatter_test.go
Path: internal/skill/frontmatter_test.go
Lines: 40
Snippet Preview
package skill
import "testing"
// ── regression: Gap 8 — frontmatter missing plugins key ─────────────
func TestFrontmatterMetadataArchieHasPluginsField(t *testing.T) {
// Gap 8: Frontmatter.Metadata.Archie has Tools and Engine only.
// PRD section 5 shows a plugins array in metadata.archie:
// plugins: [plugins/custom-gate.go, plugins/gosec-check.go]
fm, _, err := Parse([]byte(`---
name: test-skill
description: desc
version: 1.0.0
metadata:
archie:
tools: [go]
engine: any
plugins:
- plugins/custom-gate.go
- plugins/gosec-check.go
---
Body.
`))
if err != nil {
t.Fatal(err)
}
if fm.Metadata.Archie == nil {
t.Fatal("Metadata.Archie is nil")