feat: move profile scope to launch policy
This commit is contained in:
@@ -2,7 +2,6 @@ local p = yoi.profile.import("builtin:default")
|
||||
|
||||
p.slug = "coder"
|
||||
p.description = "Coder role profile with bundled reusable policy"
|
||||
p.scope = yoi.scope.workspace_write()
|
||||
p.worker.instruction = "$yoi/role/coder"
|
||||
p.feature = {
|
||||
task = { enabled = true },
|
||||
|
||||
@@ -2,9 +2,6 @@ local p = yoi.profile.import("builtin:default")
|
||||
|
||||
p.slug = "companion"
|
||||
p.description = "Companion role profile with bundled reusable policy"
|
||||
p.scope = yoi.scope.workspace_write({
|
||||
deny_write = { ".worktree" },
|
||||
})
|
||||
p.feature = {
|
||||
task = { enabled = true },
|
||||
memory = { enabled = true },
|
||||
|
||||
@@ -2,7 +2,6 @@ return yoi.profile {
|
||||
slug = "default",
|
||||
description = "Default Yoi coding profile",
|
||||
|
||||
scope = yoi.scope.workspace_write(),
|
||||
|
||||
session = {
|
||||
record_event_trace = true,
|
||||
|
||||
@@ -2,7 +2,6 @@ local p = yoi.profile.import("builtin:default")
|
||||
|
||||
p.slug = "intake"
|
||||
p.description = "Intake role profile with bundled reusable policy"
|
||||
p.scope = yoi.scope.workspace_read()
|
||||
p.worker.instruction = "$yoi/role/intake"
|
||||
p.feature = {
|
||||
task = { enabled = false },
|
||||
|
||||
@@ -2,7 +2,6 @@ local p = yoi.profile.import("builtin:default")
|
||||
|
||||
p.slug = "orchestrator"
|
||||
p.description = "Orchestrator role profile with bundled reusable policy"
|
||||
p.scope = "workspace_read"
|
||||
p.worker.instruction = "$yoi/role/orchestrator"
|
||||
p.feature = {
|
||||
task = { enabled = false },
|
||||
@@ -12,6 +11,5 @@ p.feature = {
|
||||
ticket = { enabled = true, access = "lifecycle" },
|
||||
ticket_orchestration = { enabled = true },
|
||||
}
|
||||
p.delegation_scope = "workspace_write"
|
||||
|
||||
return p
|
||||
|
||||
@@ -2,7 +2,6 @@ local p = yoi.profile.import("builtin:default")
|
||||
|
||||
p.slug = "reviewer"
|
||||
p.description = "Reviewer role profile with bundled reusable policy"
|
||||
p.scope = yoi.scope.workspace_read()
|
||||
p.worker.instruction = "$yoi/role/reviewer"
|
||||
p.feature = {
|
||||
task = { enabled = false },
|
||||
|
||||
Reference in New Issue
Block a user