Files
archie/.okf/codebase/internal/agentexec/skill_test.md
T
sam 7c34bdae5a okf: scaffold knowledge bundle and MCP server config
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.
2026-07-22 04:36:50 +10:00

51 lines
970 B
Markdown

---
description: Source module internal/agentexec/skill_test.go (94 lines).
resource: internal/agentexec/skill_test.go
tags:
- go
- source
timestamp: "2026-07-21T18:36:22Z"
title: skill_test.go
type: Module
---
# Module skill_test.go
**Path**: `internal/agentexec/skill_test.go`
**Lines**: 94
## Snippet Preview
```
package agentexec
import (
"context"
"log/slog"
"os"
"path/filepath"
"testing"
)
// captureRunner records the Request it receives for test assertions.
type captureRunner struct {
callback func(Request)
}
func (c *captureRunner) Run(_ context.Context, _ string, req Request) (Result, error) {
c.callback(req)
return Result{
Version: ProtocolVersion,
TaskID: req.TaskID,
Attempt: req.Attempt,
Stage: req.Stage,
Status: StatusPassed,
Summary: "done",
TokensUsed: 1,
}, nil
}
// ── regression: Agent doesn't load its own skills ───────────────────
```