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/config/ecosystem.go (30 lines). | internal/config/ecosystem.go |
|
2026-07-21T18:36:22Z | ecosystem.go | Module |
Module ecosystem.go
Path: internal/config/ecosystem.go
Lines: 30
Snippet Preview
package config
// ecosystemDefaults holds the per-ecosystem default preflight check and
// test-file glob. An ecosystem not listed here (or "custom") means: no
// preflight at all, empty test glob (protection no-ops).
type ecosystemDefaults struct {
Preflight [][]string
TestGlob string
}
// ecosystems maps known ecosystem names to their defaults.
// "custom" is deliberately absent — it means user-configured everything.
var ecosystems = map[string]ecosystemDefaults{
"go": {
Preflight: [][]string{{"go", "version"}},
TestGlob: "*_test.go",
},
"python": {
Preflight: [][]string{{"python", "--version"}},
TestGlob: "test_*.py",
},
"node": {
Preflight: [][]string{{"node", "--version"}},
TestGlob: "*.test.ts",
},
"rust": {
Preflight: [][]string{{"cargo", "--version"}},
TestGlob: "tests/*.rs",
},
}