Files
Agent-System-Dev/examples/downstream-rdm/plugin_test.go
T
weichenandCursor 09964e522b Pin the extension roadmap and downstream spike
Why: Downstream products need a published extension surface, contract checks, and a sample plugin that does not modify the base.
Evidence: scripts/lint-boundaries.sh printed boundaries ok. examples/downstream-rdm go test passed. Submodule pointers record the core, documents, backend, ui, and frontend commits for this roadmap.
Impact: make test runs the boundary lint first. make plugin-new scaffolds a declaration plugin. Version tags and remote downstream repositories are not created.
Refs: .task/feature-base-extension-roadmap.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 10:35:15 +00:00

20 lines
387 B
Go

package rdm
import (
"testing"
"agent-system-backend/pkg/extension"
)
func TestCompiledSkillRegistration(t *testing.T) {
extension.ResetCompiled()
extension.RegisterCompiled(extension.InProc{ID: "rdm"})
got := extension.Compiled()
if len(got) != 1 || got[0].ID != "rdm" {
t.Fatalf("%+v", got)
}
if extension.SurfaceVersion == "" {
t.Fatal("surface version required")
}
}