Skip to content

Docs/opa - #568

Merged
Luisivg merged 3 commits into
mainfrom
docs/opa
Nov 25, 2026
Merged

Luisivg merged 3 commits into
mainfrom
docs/opa

Conversation

@Luisivg

@Luisivg Luisivg commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Briefly describe the purpose of this PR and what changes it introduces.

Checklist

Additional context

Add any screenshots, test output, or notes for reviewers here.

Rewrite the merge-and-apply "If the session is locked" section around
the three causes that lock a generate round and the switch behind each:
the compliance policy evaluated by OPA (any deny, including
critical_deletion, or a policy that cannot be evaluated), the LLM
compliance audit (scope_exceeded, scope_incomplete or another error or
critical finding) and a high impact verdict.

Describe the Deployment Blocked screen as the web app shows it, the
notifications sent to the owner and every panel editor when the
notifications sidecar is enabled, and the two ways out: a clean
follow-up round or an editor unlocking the session from the admin
panel, which lasts until the next generate round.

Add an unlock-a-session anchor to the admin guide, point editors at the
policy badge before unlocking, and list the three causes in the
session-lock glossary entry.
Add a Done status to the roadmap and move policy as code with Open
Policy Agent and the Helm chart to it: both ship and are documented.
The policy work still ahead (external bundles, per-cloud packages and
repairing code from policy denies) becomes its own planned initiative,
Policy bundles and self-repair.
The module's provider type names reach the Rego policy as
input.kumoss.providers, so list the compliance policy among the
manifest page's related pages. Also wrap a run-on line in the
compliance policy reference.
@Luisivg
Luisivg requested a review from a team as a code owner November 25, 2026 12:31
Copilot AI balanced review requested due to automatic review settings November 25, 2026 12:31
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown
Contributor

❗ This Pull Request will not trigger a docs release

A Pull Request with no docs/release label will not trigger a docs site release — label it docs/release if you want this merge to release the docs site.

@sonarqubecloud

Copy link
Copy Markdown

@Luisivg
Luisivg merged commit 840430f into main Nov 25, 2026
47 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The session-lock glossary and roadmap imply unconditional compliance protection without noting that policy and LLM checks require orchestration.enable_compliance_checker, which defaults to false.

1 open issue
What changed in this PR

This documentation-only PR explains how OPA compliance policies, LLM audits, and high-impact checks affect session locking, and updates the roadmap to reflect shipped capabilities.

Changes:

  • Expands guidance on lock triggers, notifications, blocked-session controls, and unlocking.
  • Marks OPA integration and Helm deployment as done, separating planned policy bundles and self-repair.
  • Adds navigation between policy, module-manifest, and administration documentation.
File Description
docs/​src/​modules/​main/​partials/​glossary/​session-lock.adoc Expands the definition of automatic session locking.
docs/​src/​modules/​main/​pages/​roadmap.adoc Updates delivery statuses and separates future policy work.
docs/​src/​modules/​main/​pages/​reference/​root-module-manifest.adoc Links provider metadata to compliance-policy input.
docs/​src/​modules/​main/​pages/​reference/​compliance-policy.adoc Reflows report documentation without changing meaning.
docs/​src/​modules/​main/​pages/​guides/​merge-and-apply.adoc Details lock conditions, notifications, and recovery steps.
docs/​src/​modules/​main/​pages/​guides/​administer-users-and-locks.adoc Adds unlock navigation and compliance-review guidance.

Review effort: Balanced

Comment on lines +2 to +5
automatically at the end of a generate round when the compliance policy
denies the plan (or cannot be evaluated), when the LLM compliance audit
finds an `error` or `critical` violation such as `scope_exceeded`, or,
where the deployment enables it, when the impact is High, and cleared either by an admin-panel
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.

2 participants