Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/patch-smoke-claude-guard-policy.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion .github/workflows/smoke-claude.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/workflows/smoke-claude.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ tools:
agentic-workflows:
cache-memory: true
github:
repos: public
Copy link
Contributor

Choose a reason for hiding this comment

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

Good addition of repos: public and min-integrity: writer guard policies — restricting the smoke test to public repos with writer integrity is a sensible security improvement. One consideration: if future smoke tests need to reference private repos, this policy would block them.

min-integrity: writer
toolsets: [repos, pull_requests]
playwright:
edit:
Expand Down
6 changes: 3 additions & 3 deletions pkg/parser/schemas/main_workflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2967,12 +2967,12 @@
"examples": [["/data:/data:ro", "/tmp:/tmp:rw"], ["/opt:/opt:ro"]]
},
"repos": {
"description": "Guard policy: repository access configuration. Restricts which repositories the agent can access. Use 'all' to allow all repos or an array of 'owner/repo' strings.",
"description": "Guard policy: repository access configuration. Restricts which repositories the agent can access. Use 'all' to allow all repos, 'public' to allow only public repos, or an array of 'owner/repo' strings.",
"oneOf": [
{
"type": "string",
"enum": ["all"],
"description": "Allow access to all repositories"
"enum": ["all", "public"],
"description": "Allow access to all repositories or only public repositories"
Copy link
Contributor

Choose a reason for hiding this comment

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

The updated schema description now correctly includes 'public' as an option. The enum update from ["all"] to ["all", "public"] is clean and consistent with how the new guard policy is used.

},
{
"type": "array",
Expand Down
Loading