WEBVTT

1
00:00:00.000 --> 00:00:04.000
Skylos Cloud · Chapter 14: Rules for AI agents
Hold code an AI coding agent wrote to your rules before anyone merges it.

2
00:00:04.000 --> 00:00:11.000
Step 1: Check the agent, then record the result
skylos done checks the agent's change. skylos cloud uploads the scan with that result, and Skylos Cloud applies your agent rules.

3
00:00:11.000 --> 00:00:23.600
Step 2: Check the agent's work
Claude wrote this branch. It skipped a test and added a package that doesn't exist on PyPI.

4
00:00:23.600 --> 00:00:42.000
Step 3: Upload it with the result
skylos cloud --done-receipt sends the scan and the done result together. The gate fails on the agent's change.

5
00:00:42.000 --> 00:00:49.000
Step 4: Coding agents, in one place
AI, then Coding agents: how many pull requests agents opened, how many failed a check, and why.

6
00:00:49.000 --> 00:00:55.000
Step 5: See which change failed
Agent checks lists every checked change with its result. Open the one that failed.

7
00:00:55.000 --> 00:01:01.500
Step 6: Why it failed
The check names the rule that blocked, and links to the scan with the lines.

8
00:01:01.500 --> 00:01:08.000
Step 7: The branch fails the gate
Failed agent checks and new issues in files the agent wrote both count against the branch.

9
00:01:08.000 --> 00:01:15.000
Step 8: Rules for agent pull requests
Policy, then Coding agents. On pull requests with agent-written code, block new issues at the severity you choose.

10
00:01:15.000 --> 00:01:21.500
Step 9: Block or warn, per risk
Weakened tests, removed security controls, made-up packages and more: each one blocks, warns or is off.

11
00:01:21.500 --> 00:01:28.000
Step 10: Protect the paths that matter
An agent's change to a protected path waits for the team you pick to approve it on the Pull requests board.

12
00:01:28.000 --> 00:01:34.500
Step 11: Bot approvals don't count alone
When an AI reviewer approves a risky change, the Skylos approval guard holds it until a person approves too.

13
00:01:34.500 --> 00:01:41.000
Step 12: Checks before an agent says it's done
Agent guardrails set what skylos done and the hooks on developer machines enforce, for every repository at once.

14
00:01:41.000 --> 00:01:48.000
Recap: skylos done checks the agent's change · Coding agents: what agents wrote and what failed · Agent rules block by severity and by risk · Protected paths and bot approvals wait for a person · Agent guardrails apply to every repository
Next: Chapter 15 · Custom rules
