Drop native model tiers; HITL vs free-reign Auto; project path grants - #332
Drop native model tiers; HITL vs free-reign Auto; project path grants#332TheGreatAxios wants to merge 2 commits into
Conversation
Track CL-5479: drop native fast/standard/clever tiers, two permission modes (HITL ask vs free-reign Auto), and @-path file/dir grants stored in global settings per project.
Operators who @-mention a file or directory outside the workspace get a project-scoped read grant stored in global settings. Subsequent reads under that grant no longer prompt; writes still ask. Sensitive paths stay blocked.
|
This branch is not mergeable against current
A merge trial produces modify/delete conflicts on all three, plus content conflicts in The permission work is unaffected and worth keeping — The tier-removal plan in |
|
Now fully superseded. The tier removal landed in The path-grant half is being rescoped on a separate branch. A security review found the durable grant unsafe in this shape: a directory mention minted a recursive subtree read grant, grants persisted to global settings permanently with no revoke path and no visibility in Nothing in this branch remains to merge. |
|
Closing — everything in this branch has shipped by another route, and it cannot be merged as-is. Tier removal landed via #363, rebuilt against current code: Path grants were rescoped after a security review and shipped as the mention-inlining half only. The durable grant was dropped: a directory mention minted a recursive subtree read grant, grants persisted permanently to global settings with no revoke path and no visibility in This branch cannot merge regardless. It predates the OpenTUI cutover by 51 commits and modifies three files deleted in it — Reopen if something here was missed. |
Summary
Product simplification for CL-5479 (landed in slices on this branch):
@files and dirs outside the workspace become read-only sources; persisted in global settings keyed by project identity.Slice A — path grants (
04a971c)@pathoutside the workspace mints a read-only grant (file = that file; dir = that tree)projectPathGrants[projectKey]— no repo-local grant filepath-grants,path-restrictiongrant coverage, at-mention resolutionPlan:
docs/plans/hitl-auto-path-grants.mdTest plan
@outside workspace auto-allow reads; secret paths still blocked; no repo-local grant filepath-grants.test.ts,path-restriction.test.ts,at-mention-resolution.test.ts(29 pass)tierskey; no product surface for fast/standard/cleverPartial progress toward CL-5479 (path grants only; HITL/Auto + tiers still open).