9bd61e61ac742e70192cc22de1cb7317c0939160
Two bugs found by adversarial tests: 1. _Plugin wrapper panicked on nil WName/WVersion — the daemon calls Name()/Version() at startup to log loaded plugins, so a plugin with nil func fields would crash the daemon. Fixed with nil guards returning empty strings. 2. LoadDir returned nil for empty directories instead of an empty slice — inconsistent with the contract (nil means 'no plugin dir configured', empty means 'no plugins found'). Added 9 adversarial tests that attempt to break LoadDir: - Nil function fields (must not panic on load or call) - Empty name/version (valid per interface contract) - Wrong export type (int instead of Plugin — must skip) - Partial interface implementation (missing method — must skip) - Empty directory (returns empty slice, not nil) - Nested subdirectories (must not be traversed) - Panic in Name() function (deferred to call time, loader survives) - Unused import (must not crash eval) - Go build tags (must be ignored in Yaegi) Why: per test-first-build skill, every build/test failure results in a test that would have caught it. Adversarial tests alongside confirmation tests prevent silent breakage.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%