feat(reporting-governance): add package-first portability smoke

This commit is contained in:
Eve
2026-05-08 15:39:56 +08:00
parent 2eaa6e3bb3
commit 54ad955ac2
20 changed files with 2195 additions and 32 deletions

View File

@@ -21,6 +21,9 @@ plugins/reporting-governance/
README.md
capabilities/
profiles/
profiles-src/
schemas/
scripts/
docs/
examples/
src/
@@ -252,3 +255,19 @@ This package still does **not** claim full implementation of:
- non-watchdog full runtime governance interception
It now provides the first package-mainline evaluator / decision-runner core, a compatibility-envelope boundary, a minimal package profile artifact/binding slice, and one profile-driven orchestrator path, but the remaining enforcement surface is still intentionally honest about adapter gaps.
## Package-first smoke
Minimal package-local smoke path:
```bash
cd plugins/reporting-governance
npm test
npm run smoke
# or after package install/link
reporting-governance-package-smoke --compact
```
This smoke path uses package-local `profiles-src/`, `schemas/`, and `scripts/` only.
It writes temp runtime artifacts under a caller-provided or temp workspace and verifies the dry-run orchestrator path end to end.