Clean up dead Go code in handlers, pages, and stores
- Remove "chat" from surface disable guard (only admin needs it) - Remove "chat" from IsSurfaceEnabled always-on check - Remove unused fmt.Sprintf references in team stores - Update stale comments referencing personas and chat surfaces Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -285,7 +285,7 @@ func (h *WorkflowHandler) Publish(c *gin.Context) {
|
||||
stages = []models.WorkflowStage{}
|
||||
}
|
||||
|
||||
// Snapshot includes persona tool grants at publish time (frozen for running instances)
|
||||
// Snapshot stages at publish time (frozen for running instances)
|
||||
type stageSnapshot struct {
|
||||
models.WorkflowStage
|
||||
ToolGrants []string `json:"tool_grants,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user