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.1 KiB
1.1 KiB
description, resource, tags, timestamp, title, type
| description | resource | tags | timestamp | title | type | ||
|---|---|---|---|---|---|---|---|
| Source module internal/workflow/agent_test.go (276 lines). | internal/workflow/agent_test.go |
|
2026-07-21T18:36:22Z | agent_test.go | Module |
Module agent_test.go
Path: internal/workflow/agent_test.go
Lines: 276
Snippet Preview
package workflow
import (
"context"
"encoding/json"
"errors"
"log/slog"
"path/filepath"
"reflect"
"testing"
"github.com/samcharles93/archie-core/internal/agentexec"
"github.com/samcharles93/archie-core/internal/config"
"github.com/samcharles93/archie-core/internal/store"
)
type fakeAgentRunner struct {
workspace string
request agentexec.Request
result agentexec.Result
err error
}
type agentRunnerFunc func(context.Context, string, agentexec.Request) (agentexec.Result, error)
func (f agentRunnerFunc) Run(ctx context.Context, workspace string, req agentexec.Request) (agentexec.Result, error) {
return f(ctx, workspace, req)
}
func (r *fakeAgentRunner) Run(_ context.Context, workspace string, req agentexec.Request) (agentexec.Result, error) {