Skip to content

feat: POLICY-CONFIG-001 PR 8 — Policy configuration documentation#33

Merged
beonde merged 2 commits intomainfrom
feature/policy-config
Mar 22, 2026
Merged

feat: POLICY-CONFIG-001 PR 8 — Policy configuration documentation#33
beonde merged 2 commits intomainfrom
feature/policy-config

Conversation

@beonde
Copy link
Member

@beonde beonde commented Mar 22, 2026

POLICY-CONFIG-001 PR 8 — Policy Configuration Documentation

Summary

Adds end-user documentation for the YAML policy configuration feature, including concepts, how-to guides, and API reference.

New Pages

Page Type Description
concepts/policy-scoping.md Concept Three-level scoping model (org → group → agent)
how-to/configure-agent-policy.md How-To YAML config walkthrough with all use cases
reference/policy-config-yaml.md Reference Full YAML schema reference
reference/policy-api.md Reference Phase-one policy management API reference

Updated Pages

Page Changes
reference/cli/index.md Added policy validate and policy context commands
concepts/enforcement.md Added policy-driven enforcement section with cross-links
mkdocs.yml Added new pages to navigation under Concepts, How-To, and Reference

Related

  • Feature: POLICY-CONFIG-001
  • Design doc: internal-docs/engineering/YAML-policy-config-layer-v2.md

New pages:
- concepts/policy-scoping.md: Three-level scoping model (org → group → agent)
- how-to/configure-agent-policy.md: YAML config walkthrough
- reference/policy-config-yaml.md: Full YAML schema reference
- reference/policy-api.md: Phase-one policy API reference

Updated pages:
- reference/cli/index.md: Added policy validate and policy context commands
- concepts/enforcement.md: Added policy-driven enforcement section
- mkdocs.yml: Added new pages to navigation
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds MkDocs documentation pages for the YAML policy configuration feature (concepts, how-to, and references) and links them into the site navigation.

Changes:

  • Added new docs pages for policy scoping, YAML schema reference, and policy API reference.
  • Expanded CLI reference with capiscio policy validate and capiscio policy context.
  • Updated MkDocs navigation and enforcement concept page with policy cross-links.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
mkdocs.yml Adds new Policy pages to Concepts / How-To / Reference navigation.
docs/reference/policy-config-yaml.md New reference page describing the capiscio-policy.yaml schema and validation rules.
docs/reference/policy-api.md New reference page documenting policy management and SDK policy-context endpoints.
docs/reference/cli/index.md Documents new policy validate and policy context CLI commands and adds related links.
docs/how-to/configure-agent-policy.md New how-to guide for authoring, validating, and deploying policy YAML.
docs/concepts/policy-scoping.md New concept page explaining org→group→agent scoping and merge behavior.
docs/concepts/enforcement.md Adds a policy-driven enforcement section and links to new policy docs.

Comment on lines +29 to +36
### 3. Deploy to Your Organization

Use the dashboard UI or the CLI to create and approve a policy:

```bash
# View current policy context
capiscio policy context --registry https://api.capisc.io --api-key $CAPISCIO_API_KEY
```
Copy link

Copilot AI Mar 22, 2026

Choose a reason for hiding this comment

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

This section says to use “the dashboard UI or the CLI to create and approve a policy”, but the only documented capiscio policy CLI commands here are validate and context (no create/approve). Please adjust the wording to match what’s currently supported (e.g., dashboard UI and/or Policy API endpoints).

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

✅ Documentation Build Successful

The documentation build completed successfully and passed validation checks.

  • ✅ Build completed without errors
  • ✅ Critical files present (index.html, sitemap.xml, robots.txt)
  • ✅ Link validation completed

This PR will deploy to dev-docs.capisc.io when merged to main.

Copilot review noted that the CLI only has validate/context commands,
not create/approve. Updated wording to reference dashboard UI and
Policy API instead.
@github-actions
Copy link

✅ Documentation Build Successful

The documentation build completed successfully and passed validation checks.

  • ✅ Build completed without errors
  • ✅ Critical files present (index.html, sitemap.xml, robots.txt)
  • ✅ Link validation completed

This PR will deploy to dev-docs.capisc.io when merged to main.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

@beonde beonde merged commit 4ee612d into main Mar 22, 2026
8 checks passed
@beonde beonde deleted the feature/policy-config branch March 22, 2026 07:10
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