feat: wire minimal governance contract path

This commit is contained in:
Eve
2026-05-08 09:34:15 +08:00
parent ec32eb2cc7
commit 702386a122
7 changed files with 208 additions and 3 deletions

View File

@@ -68,12 +68,14 @@ test('package root export resolves public package surface only', () => {
packageName: plugin.packageName,
hasRunWatchdogChain: typeof plugin.runWatchdogChain,
hasPlanDecisionExecution: typeof plugin.planDecisionExecution,
hasExecuteGovernanceContract: typeof plugin.executeGovernanceContract,
}));
`);
assert.equal(result.packageName, '@openclaw/plugin-reporting-governance');
assert.equal(result.hasRunWatchdogChain, 'function');
assert.equal(result.hasPlanDecisionExecution, 'function');
assert.equal(result.hasExecuteGovernanceContract, 'function');
} finally {
fs.rmSync(root, { recursive: true, force: true });
}