Add checked workspace-interface query roots
Implement scoped interface extents across QX, generated bindings, SDK, Orch, Camino and browser queries. Preserve native projection, aggregation, pagination and watch invalidation without synthetic persisted objects. Validate exact query grants and scope freshness on execution and replay. Add local PostgreSQL, transport, browser and code-generation coverage. C1 implementation slice only: full-text indexes and Studio search adoption (C2/C3) remain tracked in the implementation handoff. No publication or deployment.
This commit is contained in:
Vendored
+57
@@ -170,6 +170,12 @@ export type InjectedDependency = Message<"quixos.InjectedDependency"> & {
|
||||
*/
|
||||
value: string;
|
||||
case: "queryId";
|
||||
} | {
|
||||
/**
|
||||
* @generated from field: quixos.WorkspaceQueryDependency workspace_query = 8;
|
||||
*/
|
||||
value: WorkspaceQueryDependency;
|
||||
case: "workspaceQuery";
|
||||
} | {
|
||||
case: undefined;
|
||||
value?: undefined;
|
||||
@@ -187,6 +193,57 @@ export type InjectedDependency = Message<"quixos.InjectedDependency"> & {
|
||||
* Use `create(InjectedDependencySchema)` to create a new message.
|
||||
*/
|
||||
export declare const InjectedDependencySchema: GenMessage<InjectedDependency>;
|
||||
/**
|
||||
* Scope evidence is not authority by itself. The caller must also hold the
|
||||
* matching workspace-query grant (or the authenticated workspace user grant).
|
||||
*
|
||||
* @generated from message quixos.WorkspaceQueryScope
|
||||
*/
|
||||
export type WorkspaceQueryScope = Message<"quixos.WorkspaceQueryScope"> & {
|
||||
/**
|
||||
* @generated from field: string workspace_id = 1;
|
||||
*/
|
||||
workspaceId: string;
|
||||
/**
|
||||
* @generated from field: string workspace_revision_id = 2;
|
||||
*/
|
||||
workspaceRevisionId: string;
|
||||
/**
|
||||
* @generated from field: string workspace_epoch = 3;
|
||||
*/
|
||||
workspaceEpoch: string;
|
||||
/**
|
||||
* @generated from field: string interface_revision_id = 4;
|
||||
*/
|
||||
interfaceRevisionId: string;
|
||||
/**
|
||||
* @generated from field: string binding_digest = 5;
|
||||
*/
|
||||
bindingDigest: string;
|
||||
};
|
||||
/**
|
||||
* Describes the message quixos.WorkspaceQueryScope.
|
||||
* Use `create(WorkspaceQueryScopeSchema)` to create a new message.
|
||||
*/
|
||||
export declare const WorkspaceQueryScopeSchema: GenMessage<WorkspaceQueryScope>;
|
||||
/**
|
||||
* @generated from message quixos.WorkspaceQueryDependency
|
||||
*/
|
||||
export type WorkspaceQueryDependency = Message<"quixos.WorkspaceQueryDependency"> & {
|
||||
/**
|
||||
* @generated from field: string query_id = 1;
|
||||
*/
|
||||
queryId: string;
|
||||
/**
|
||||
* @generated from field: quixos.WorkspaceQueryScope scope = 2;
|
||||
*/
|
||||
scope?: WorkspaceQueryScope | undefined;
|
||||
};
|
||||
/**
|
||||
* Describes the message quixos.WorkspaceQueryDependency.
|
||||
* Use `create(WorkspaceQueryDependencySchema)` to create a new message.
|
||||
*/
|
||||
export declare const WorkspaceQueryDependencySchema: GenMessage<WorkspaceQueryDependency>;
|
||||
/**
|
||||
* @generated from message quixos.EdgeDependency
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user