Implements the full PRD (docs/prds/yaegi-plugin-system.md): repos can now define .archie/gate.go for diff-inspecting quality rules shell commands can't express, .archie/stages/*.go for custom pipeline steps, and skills can ship Go scripts run via a new run_go_script agent tool — all interpreted in-process with Yaegi, with panics recovered so a bad script can't take down the daemon. Hot reload (phase 4) needed no code: every loader reads from disk per call and every task gets a fresh clone, so nothing is ever cached to go stale.
11 lines
434 B
Go
11 lines
434 B
Go
// Package gateextract holds the Yaegi symbol table for internal/gate,
|
|
// generated by `go generate`. Kept separate from internal/gate itself so
|
|
// the generated file can import it without a self-import cycle.
|
|
package gateextract
|
|
|
|
import "reflect"
|
|
|
|
//go:generate go run github.com/traefik/yaegi/cmd/yaegi extract -name gateextract github.com/samcharles93/archie-core/internal/gate
|
|
|
|
var Symbols = map[string]map[string]reflect.Value{}
|