Skip to content

docs: CUE policy-authoring decision for Owen Gate + Sandboy pointer - #182

Closed
PhysShell wants to merge 2 commits into
mainfrom
claude/zero-trust-framework-007-b0vgrw
Closed

docs: CUE policy-authoring decision for Owen Gate + Sandboy pointer#182
PhysShell wants to merge 2 commits into
mainfrom
claude/zero-trust-framework-007-b0vgrw

Conversation

@PhysShell

Copy link
Copy Markdown
Owner

Что и зачем

Фиксирует решение по языку авторинга owen.policy (CUE вместо TOML, из-за
unification-семантики — конфликтующий override становится ошибкой компиляции,
а не тихим слиянием) как §8-аддендум к существующей design-note
docs/notes/agent-capability-layer.md ("Owen Gate"). Плюс однострочный
поинтер в sandboy/README.md на то, где документирован CUE→TOML render pipeline
для Sandboy-политик (007's docs/zero-trust-framework.md). Часть более
широкой cross-repo методологии (007 + Own.NET + OwnAudit), не отдельная
фича — WIT/Wasmtime остаётся execution/plugin-границей (§0/§1 того же
документа), не меняется.

Тип изменения

  • feat — новая возможность
  • fix — исправление бага
  • docs — документация
  • refactor / chore / test / ci — без изменения поведения

Как проверено

  • python tests/run_tests.py
  • ruff check . и mypy
  • селфтесты затронутых скриптов (python scripts/<...>.py --selftest)
  • docs-only изменение — код/поведение не затронуты, тесты неприменимы.

Связанные issue

Нет.

Чеклист

  • изменение покрыто тестом/селфтестом (или объяснено, почему нет) — docs-only, не применимо
  • README/docs обновлены при необходимости
  • коммиты в conventional-commit стиле (feat:, fix:, docs: …)

Generated by Claude Code

claude added 2 commits July 5, 2026 07:12
Appends §8 to the Owen Gate design note: TOML's lack of merge semantics makes
multi-profile policy (no-net / worktree-only / windows exec) copy-paste-prone,
where a forgotten override silently reopens a denied capability. CUE's
unification model turns a conflicting override into a compile error instead.
Records Nickel as runner-up and Jsonnet/Dhall/HCL as considered-and-rejected,
and reaffirms WIT/Wasmtime stays the untrusted-input plugin boundary, not a
policy-authoring surface — cross-referenced from 007's zero-trust-framework.md.
sandboy/README.md's policy.example.toml is the plain, boring artifact Sandboy
actually reads; adds a pointer to where the composable CUE source and the
cue export --out toml render step are documented (007's zero-trust-framework.md),
so the two stay clearly separated instead of drifting apart in two repos.
@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@PhysShell, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 36 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 06dccaca-dbca-45b1-9f0b-b6f794164c2c

📥 Commits

Reviewing files that changed from the base of the PR and between 5ea68da and c84f366.

📒 Files selected for processing (2)
  • docs/notes/agent-capability-layer.md
  • sandboy/README.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/zero-trust-framework-007-b0vgrw

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Owner Author

Консолидировано в #190 (§8-аддендум agent-capability-layer.md + правки sandboy/README.md; уточнено: Sandboy потребляет rendered TOML, статус Built → Spiked). Закрываю в пользу единого PR.


Generated by Claude Code

@PhysShell PhysShell closed this Jul 8, 2026
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