Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
fd3acf3
Cedar policy engine: shared contract in the API
davidmckayv Dec 3, 2026
4bea88b
Release policy: the database ends at 0216_action_policy_rules
davidmckayv Dec 3, 2026
bb67e14
Boundaries deprecations: sunset 2028-01-03, at least 365 days from an…
davidmckayv Dec 3, 2026
226756c
Boundaries docs: rules in Cedar, CEL kept for 12 months
davidmckayv Dec 3, 2026
cf49680
Boundaries and Activity on Cedar: rules in words, Rewrite this, conve…
davidmckayv Dec 3, 2026
d6f10db
Activity words for a boundary rule moved to Cedar
davidmckayv Dec 3, 2026
55bea97
Merge david/cedar-contract into the Cedar fuse
davidmckayv Dec 3, 2026
856b59e
Merge david/cedar-store-docs into the Cedar fuse
davidmckayv Dec 3, 2026
39d3727
Merge david/cedar-screens into the Cedar fuse
davidmckayv Dec 3, 2026
5587246
Merge david/cedar-convert into the Cedar fuse
davidmckayv Dec 3, 2026
4b894f2
Select test: the arrow and the keyboard in WebKit are two tests, each…
davidmckayv Dec 3, 2026
a8b1374
Select test: WebKit's cases run where OPENBOT_APP_ENGINES asks for We…
davidmckayv Dec 3, 2026
4636fa8
Boundaries and Activity: a rule's words said once, a reading named by…
davidmckayv Dec 3, 2026
c3c4514
Merge main into the Cedar fuse
davidmckayv Dec 3, 2026
aa6cbef
Cedar's migration is 0219_action_policy_rules, after main's 0218_ai_c…
davidmckayv Dec 3, 2026
b973313
Boundaries: every rule's title reads as a label, with no closing full…
davidmckayv Dec 3, 2026
af375d2
Merge main into the Cedar fuse
davidmckayv Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,12 @@ COMPUTER_TOKEN=
# `enforce` blocks; `dry-run` decides and records but lets everything through, so a new rule can be
# tried against real traffic before it starts refusing anybody's work.
#
# A rule can also be a Cedar policy, which is how rules are written from now on: a `forbid` in
# `deny`, a `permit` in `allow`, the intent as the action and the attributes above in `context`,
# text other than ids lowercased. CEL rules like the one below keep working for 12 months. A Cedar
# rule that doesn't validate, or sits in the wrong list, stops the server starting. For example:
# "deny":["forbid (principal, action == OpenBot::Action::\"run_command\", resource) when { context.initiator.kind != \"person\" };"]
#
# AGENT_COMPUTER_POLICY={"mode":"enforce","deny":["(intent == \"activate\" && contains(element.name, \"submit\")) || ((tool.name == \"computer_key\" || tool.name == \"computer_type\") && intent == \"activate\")"],"allow":["true"]}

# How long one action waits for its element, in ms. Read by agent-computer, not the server.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ jobs:
app/tests/audit-computer-limit-layout.test.tsx
app/tests/bot-orb-one-color.test.tsx
app/tests/bot-screen-record-layout.test.tsx
app/tests/boundaries-screens-layout.test.tsx
app/tests/checkbox-contrast.test.tsx
app/tests/compact-avatar-layout.test.tsx
app/tests/composer-dictation-notice-layout.test.tsx
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ Old addresses redirect to the pages above:
- **A computer per person**: the supervisor gives each person their own container, with a folder and browser profile for each of their Bots. Tick Isolated on a Bot to give it a container of its own. Set `COMPUTER_RUNTIME=runsc` to run them under gVisor where the host supports it.
- **A shell, not just a browser**: a Bot can run a command in its workspace, install what it needs, and process a file it saved. Through the same gate as everything else, so a rule can refuse a shell outright or refuse particular commands, and the command is on the record either way. The command inherits PATH, locale, terminal and proxy variables, not the rest of the deployment's environment.
- **The gateway is the only way in**: it resolves the target from a server-held snapshot, evaluates the policy, writes the audit row, and only then calls the computer. There is no path that acts without the record existing first.
- **CEL policy, fail closed**: rules can inspect `tool.name`, `intent`, `bot.id`, `actor.id`, `page.url`, `page.host`, `element.*`, `key`, `command`, `file.*`, `mcp.*` and `initiator.*` (what started the run, so a rule can refuse a scheduled routine what it would allow a person). Deny is evaluated before allow, a missing policy permits nothing, and a broken rule refuses rather than opens.
- **Cedar policy, fail closed**: rules are [Cedar](https://docs.cedarpolicy.com/) policies, checked against OpenBot's schema when they are saved, and can inspect `tool.name`, `intent`, `bot.id`, `actor.id`, `page.url`, `page.host`, `element.*`, `key`, `command`, `file.*`, `mcp.*` and `initiator.*` (what started the run, so a rule can refuse a scheduled routine what it would allow a person). Forbid is evaluated before permit, a missing policy permits nothing, and a rule that can't be evaluated refuses rather than opens. Rules written in CEL keep working, and move to Cedar once a Cedar rule decides the same.
- **Watch what it is doing**: the screen shows what a Bot is looking at, and the Activity list under it shows what it ran, read and saved in this conversation, with the output. A command line in the transcript opens to the same thing. A saved file shows its path and size, never its contents.
- **Take the wheel**: a Bot that hits a login wall or a 2FA prompt asks for help. Control is handed over in the same panel and recorded as `computer.help_requested`, `computer.control_taken` and `computer.control_released`. While a person is driving, Bot actions are refused rather than queued.
- **Secrets never enter the transcript**: the trail records that a secret was requested and how long it was, not what it said.
Expand Down
Loading
Loading