chore: align sqlite control plane architecture

- replace default Convex control-plane wording with Rust SQLite control-plane across architecture, AGENTS, Reasonix, and design docs

- retire root Convex functions source and deploy script into recycle while keeping explicit cloud/compat/sync-replica boundaries

- add control-plane migration guard/docs and keep CodeGraph refreshed after the SQLite control-plane cutover
This commit is contained in:
lix-2026
2026-05-22 17:45:22 +08:00
parent 531e845600
commit 47e224d419
79 changed files with 7634 additions and 2600 deletions
+20
View File
@@ -131,6 +131,26 @@ pub fn build_router(state: AppState) -> Router {
"/api/admin/access-policy/grants/{grant_id}",
delete(local_folder_source::delete_local_access_grant),
)
.route(
"/api/user/access-policy",
get(local_folder_source::get_user_access_policy),
)
.route(
"/api/user/access-policy/grants",
post(local_folder_source::create_user_access_grant),
)
.route(
"/api/user/access-policy/grants/{grant_id}",
delete(local_folder_source::delete_user_access_grant),
)
.route(
"/api/admin/share-links",
get(local_folder_source::get_share_links).post(local_folder_source::create_share_link),
)
.route(
"/api/admin/share-links/{link_id}",
delete(local_folder_source::delete_share_link),
)
.route(
"/api/admin/share-grants",
get(local_folder_source::get_share_grants)