Skip to content

Mod/jev 2 policy gate - #15

Closed
SaketMunda wants to merge 3 commits into
masterfrom
mod/JEV-2-policy-gate
Closed

SaketMunda wants to merge 3 commits into
masterfrom
mod/JEV-2-policy-gate

Conversation

@SaketMunda

Copy link
Copy Markdown
Owner

Module

Brief: roadmap/modules/<ID>-*.md

What changed

Definition of Done

  • Every item in the brief's Acceptance criteria is met and demonstrated (test or recorded manual check).
  • scripts/verify.sh is green (typecheck, lint, unit tests).
  • New logic in packages/* has unit tests (target ≥80% line coverage on new files). UI logic (state, reducers, parsers) is tested. Pure presentation isn't required to be.
  • No any / as unknown as at package boundaries. Every external input is validated with zod.
  • No new network destinations except ones the user configured. No telemetry.
  • Errors are handled: user-facing failures show an actionable message, and nothing fails silently.
  • Brief updated: Status, Handoff notes (what was built, deviations, known gaps, follow-ups).
  • PR opened from mod/<ID>-<slug>, description links the brief, CI green.

Acceptance criteria evidence

# Criterion Evidence

SaketMunda and others added 3 commits October 5, 2026 20:04
… thresholds, workflow policy

PolicyGate replaces COR-2's confirmAllGate in the orchestrator: plain reads and read-only
commands run unasked; secrets, outside-workspace paths, destructive/irreversible commands
and multi-file edits ask; deny-listed commands are blocked before Jev is consulted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in skill, status review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…DR-021)

blockSafeNowBelow defaults to 0, so rm -rf dist, migrations and git reset --hard
go to confirm instead of a hard block. Raising it (a stricter override) restores
engine-driven blocking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SaketMunda SaketMunda closed this Oct 6, 2026
@SaketMunda
SaketMunda deleted the mod/JEV-2-policy-gate branch October 6, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant