292 293 Capability System Progress Report

Documentation for Sessions

S292-293: Vitto Capability System & Feature Enhancements

Progress Report (Non-Technical Summary)

Date: March 31, 2026
Sessions: S292 (design) + S293 (implementation)
Status: Phase 1 and Phase 2 complete. Phases 3-4 pending.


What Is This About?

GoGrab's AI assistant Vitto serves different types of users — executives, developers, admins, space builders, and end users. Until now, the platform had a simple "admin or not admin" check for deciding what users could see and do. This meant:

This work fixes all of that by building a proper permission system that knows exactly what each type of user should be able to do.


Timeline of Progress

Step 1: Deep Audit (S292)

What we did: Analyzed every part of the platform to understand the current security state.

What we found:

Step 2: Design the Solution (S292)

What we decided: Build a "Capability Matrix" — a single list of everything the platform can do (~85 capabilities), who's allowed to do each thing, and whether those permissions can be customized.

Key design choices:

Step 3: Build the Foundation (S293 — Phase 1)

What we built:

Component Purpose
85 Capabilities A typed list of everything the platform can do, organized into 9 categories (Mind, Identity, Capabilities, Intelligence, Connections, Generation, Security, Settings, Platform)
Permission Matrix Each capability has: which roles can use it, risk level, whether it can be customized, and a description
Backend Guard Automatically checks permissions on every API request — if you don't have the capability, you get a "403 Forbidden"
Frontend Service Real-time permission checking in the UI — buttons, menu items, and pages appear/disappear based on your actual permissions
375 Tests Comprehensive testing to make sure every role gets exactly the right access
58 Endpoint Protections Applied to the most critical unprotected endpoints: vault, skills, code generation, audit logs, intelligence data

Critical bugs found and fixed during this phase:

Step 4: Wire Missing Features + UI Migration (S293 — Phase 2)

What we built:

Component Purpose
10 New API Endpoints Connected the existing Memory Health, Knowledge Graph, and Thought Trace features to the web interface — these features were built months ago but never had HTTP endpoints
Override Storage Database storage for permission customizations — executives can now grant or revoke specific capabilities for individual users
Sidebar Migration Replaced the simple "admin or not" sidebar filtering with granular capability checks — each menu item now has its own permission requirement
Route Guards 8 routes now have URL-level protection — typing /vitto/debug directly no longer bypasses the sidebar filter
Capability Matrix Table A beautiful, filterable table showing all 85 capabilities across all 6 roles — living documentation that updates automatically when capabilities are added

What Each Role Can Now Do

Feature Area Executive Developer Admin Builder User Guest
View Memory Yes Yes Yes Yes Yes No
Edit Core Values Yes No No No No No
Manage Secret Vault Yes Yes No No No No
Create Skills Yes Yes Yes No No No
Generate Code Yes Yes Yes No No No
View Audit Logs Yes Yes Yes No No No
Promote AI Patterns Yes Yes No No No No
Impersonate Users Yes No No No No No
Customize Own Vitto Yes Yes Yes Yes Yes No
View Persona Yes Yes Yes Yes Yes Yes

(This is a simplified view — the full matrix has 85 capabilities)


What's Still To Do (Phases 3-4)

Phase 3: Full Backend Migration + Intelligence Layering

Phase 4: New User-Facing Features


Impact Summary

Metric Before After
Unprotected critical endpoints 30+ 0
Frontend permission model Binary (admin/not) 85 granular capabilities
Mind features working 0 of 3 3 of 3
Permission documentation Manual, outdated Auto-generated, always current
Override support None 3-tier (platform > space > user)
Test coverage 0 permission tests 375 tests
Dead sidebar links 3 0

Files Produced

File Purpose
Design Spec Full technical specification
Phase 1 Plan Implementation plan for foundation
Phase 2 Plan Implementation plan for feature wiring
This document Non-technical progress report