chore(org): wire molecule-compliance + molecule-audit + molecule-freeze-scope (#322) - #330
Merged
Merged
Conversation
…ze-scope (#322) Three plugins were merged to plugins/ without corresponding role wiring in org-templates/molecule-dev/org.yaml. Each was already runtime-compatible and fully functional; the gap was purely config. Security Auditor: + molecule-compliance — OWASP Top 10 for Agentic Applications (OA-01/02/03/06). Active enforcement on the role that owns OWASP posture anyway. + molecule-audit — immutable JSONL audit log (EU AI Act Art. 12/13/17). Security Auditor produces the compliance reports this log feeds. Backend Engineer: + molecule-compliance — OA-03 excessive-agency cap. Backend Engineer is the highest tool-call-volume role; a hard cap guards against runaway loops on large refactors without changing the happy path. QA Engineer: + molecule-compliance — OA-01 prompt-injection in detect (not block) mode catches adversarial test payloads before they reach production. OA-03 cap prevents runaway test loops. DevOps Engineer: + molecule-freeze-scope — plugin was orphaned across 3 weekly audits. DevOps is the natural home: lock edits to infra/** during risky CI migrations or fly secret rotations. Per-workspace .claude/freeze default can be set later. Verified: - YAML parses cleanly. - All referenced plugins exist in plugins/ directory. - `go test -race ./...` across platform — all green. - TestPlugins_UnionWithDefaults passes (handlers/org.go merge logic still unions these into the defaults.plugins set correctly). Closes #322 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Config-only fix for #322. Three plugins merged without role wiring — one line of YAML each bridges the gap.
molecule-compliance(OWASP Top 10 active enforcement on their own tool calls) andmolecule-audit(EU AI Act immutable JSONL log they generate reports from).molecule-compliance(OA-03 excessive-agency cap on the highest tool-call-volume role).molecule-compliance(OA-01 prompt-injection detect mode for adversarial test payloads).molecule-freeze-scope(infra/** lock during risky CI migrations — plugin orphaned for 3 weekly audits).Test plan
python3 -c 'yaml.safe_load(...)'parsesplugins/dirgo test -race ./...across platform — all greenTestPlugins_UnionWithDefaultspasses (UNION-with-defaults merge semantics preserved)Closes #322