Repository navigation
Map T3 Permissions onto Droid's autonomy levels #31259
factory-ain3sh
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Droid threads in T3 Code show two permission controls, T3's Permissions and Droid's own Autonomy Level, and both apply. T3 already handles this for Codex, Claude and Grok: Permissions sets the harness's own permission mode, and the harness's picker stays hidden. Would you take a PR that does the same for Droid in the
factory-droidregistry flavor?Today
sequenceDiagram actor U as User participant T as T3 Code participant D as Droid U->>T: Permissions: Full access (T3's default) U->>T: Autonomy Level: Auto (Medium) T->>D: session/set_config_option autonomy_level = auto-medium Note over D: runs what Auto (Medium) allows D->>T: session/request_permission for rm -rf ~ Note over T: Full access allows every tool kind T-->>D: allow_once Note over U,D: Droid's deny list requires a person to approve this. Nobody saw the ask.Auto works the same way, since T3 answers asks by tool kind and allows every kind there. And Plan looks for a mode named
planorarchitect, so it never puts Droid in its read-onlyspecmode.Proposal
sequenceDiagram actor U as User participant T as T3 Code participant D as Droid U->>T: Permissions: Full access T->>D: session/set_mode auto-high Note over D: runs what Auto (High) allows D->>T: session/request_permission for rm -rf ~ T->>U: approval prompt U-->>T: approve or decline T-->>D: allow_once or reject_oncenormalauto-lowauto-mediumauto-highspecWhen an org caps Droid's autonomy, the mapping stops at the highest level the org allows.
The flavor change is small:
sessionModeForPolicyreturns the mode id from the table, as Antigravity's does.permissionDispositionreturns"ask", as Grok's does in Auto. Droid's deny list asks at every level, even Auto (High), so under the mapped level every ask Droid sends is one its own rules left to a person.approvalOptionsdrops Droid's "Allow & auto-run" answers, since they would raise Droid's level behind Permissions' back.spec), and one lets a registry flavor hide an option it owns, so the Autonomy Level picker goes away. Model and reasoning options stay.I work on Droid at Factory, and I'm happy to send the PR, scoped to this flavor and those two hooks, with tests and a live run against Droid. Thanks for taking a look!
All reactions