Skip to content

Commit 36b8983

Browse files
dp-web4claude
andcommitted
web4-governance: cleanup for review — declare deps, drop meta files
- Author email normalized to dp@metalinxx.io (single canonical contact) - README: replace "no external dependencies / no network calls" with the accurate version (cryptography for Ed25519 signing; opt-in git fetch during git-push divergence checks) - Add requirements.txt declaring cryptography>=41.0 (plugin still gracefully degrades if missing, but the dependency is now explicit) - Remove meta-process markdown files that don't belong in the plugin: - web4-governance-issue.md (was the original issue body, in repo root) - plugins/web4-governance/PR_DESCRIPTION.md - plugins/web4-governance/FEATURE_REQUEST.md - plugins/web4-governance/HOOK_STDERR_NOTE.md - Plugin documentation files retained: README, EVENT_STREAM_API, PRESETS, docs/RUST_CORE_PROPOSAL — those are real reference docs Test status: 91 passed, 0 failed against fresh ledger.db (pre-existing schema drift in long-lived local ~/.web4/ledger.db can cause 4 failures on legacy installs; not affected by this cleanup). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b8659ec commit 36b8983

7 files changed

Lines changed: 10 additions & 421 deletions

File tree

plugins/web4-governance/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Lightweight AI governance with R6 workflow formalism and audit trails. Every tool call becomes a structured request with verifiable provenance.",
55
"author": {
66
"name": "Web4 Contributors",
7-
"email": "web4@metalinxx.io"
7+
"email": "dp@metalinxx.io"
88
},
99
"repository": "https://github.com/dp-web4/web4",
1010
"keywords": ["governance", "audit", "trust", "r6", "provenance", "web4"],

plugins/web4-governance/FEATURE_REQUEST.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

plugins/web4-governance/HOOK_STDERR_NOTE.md

Lines changed: 0 additions & 117 deletions
This file was deleted.

plugins/web4-governance/PR_DESCRIPTION.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

plugins/web4-governance/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This plugin adds structured governance to Claude Code sessions:
1414
- **Heartbeat Coherence** - Timing-based session health tracking
1515
- **Audit Trail** - Verifiable chain of actions with provenance
1616

17-
No external dependencies. No network calls. Just structured, auditable AI actions.
17+
Minimal dependencies (`cryptography` for Ed25519 signing — see `requirements.txt`). No third-party governance services or SaaS dependencies. Local-only operation, except for an opt-in `git fetch` during git-push divergence checks.
1818

1919
## What's New in v1.1
2020

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Web4 Governance Plugin runtime dependencies.
2+
# Plugin gracefully degrades (no signing, no audit chain) if these are missing,
3+
# but full functionality requires them.
4+
5+
cryptography>=41.0 # Ed25519 signing of audit records
6+
7+
# Optional development dependencies (uncomment to run the test suite):
8+
# pytest>=7.0

0 commit comments

Comments
 (0)