Skip to content

v1.2: team custody policy (.sato/policy.json) - #2

Merged
satohubai merged 1 commit into
mainfrom
feat/custody-policy
Sep 26, 2026
Merged

satohubai merged 1 commit into
mainfrom
feat/custody-policy

Conversation

@satohubai

Copy link
Copy Markdown
Owner

If the checked repo has .sato/policy.json, each changed dependency's Sato Check reading is evaluated against the team's rules. The job fails only on a rule the team switched on. Every match names the rule and the evidence behind it, and unknown never matches. SATO_CHECK_UA overrides the user-agent. All tests pass.

🤖 Generated with Claude Code

If the checked repo has .sato/policy.json, each changed dependency's Sato Check
reading is evaluated against it and the job fails only on a rule the team
switched on (key_egress_observed, undeclared_key_read, unlimited_fund_action,
install_script_added, new_host; allow_hosts / allow_subjects exemptions).
Every match is listed in the summary, the sticky PR comment and an ::error::
line, naming the rule and the evidence — never a judgment of the dependency.
`unknown` never matches. SATO_CHECK_UA overrides the user-agent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@satohubai
satohubai merged commit a9adade into main Sep 26, 2026
1 check passed
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.

1 participant