Skip to content

Connect private AI persistence to authorized generated metadata changes - #196

Draft
first-assist wants to merge 6 commits into
mainfrom
platform/ai-notifications-r6
Draft

first-assist wants to merge 6 commits into
mainfrom
platform/ai-notifications-r6

Conversation

@first-assist

@first-assist first-assist commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

AI public metadata projections are graphql-orm entities with current-principal, owner/tenant, scope/session and host entity/row/field authorization. Trusted private source entities propagate after commit through the session/message/run/attachment projection graph. Generated Changed delivery uses #195's authorization and serialization fences. Protected content and custody remain private; ordinary generated writes are absent.

The fixed private session-activity read view retains ownership, field, backup and policy metadata while omitting three known virtual projection edges by generated publicMetadata name. The companion assertion now matches that name; the backend-coexistence fixture lock records AI 0.110.0. Root-relayed companions job 120603815278 then passed the AI library but found two public-entity tests returning AUTHORIZATION_MISCONFIGURED: count and relation pages use callback-only row authorization and lacked a bounded authorized scan. Their disposable SQLite fixture now installs a test-only AuthorizedScanConfig; the host prerequisite is documented. The native result on this successor is pending.

Rebased directly onto merged #195 main ec0c46aacb528c3e102f655db148a39970429ab5; #195 passed 18/18 hosted checks. Proposed ORM/macros 0.65.0, AI 0.110.0 and owned schema module 0.73.0 remain unreleased. Full #184/#191 privacy, backend and owned no-DDL acceptance is incomplete; draft #189 is incomplete. Source-only documentation 210, generated inventory, package release policy, diff and all seven lockfile external-identity checks pass. No local Cargo, Rust, formatter, test or backend command ran. Keep draft; GentleCarp alone merges.

Root-relayed workspace-integrity job 120619560554 found one rustfmt layout hunk in the bounded test fixture; it was applied source-only. Root-relayed companions job 120645173780 then found missing_docs from generated filter/order inputs and read-only operation types/methods under the AI crate deny; the macro now scopes a missing-docs allowance to generated input structs and documents generated query/page APIs. Root-relayed orm job 120645173694 found Clippy cmp_owned in the aggregate SDL test; the comparison now uses Name::as_str() and ORM checks are green on the prior head. Root-relayed companions job 120670128634 narrowed the remaining missing_docs errors to one generated public mutation placeholder and one public repository key method per AI projection. The macro now documents the empty read-only/composite mutation root and all generated key read methods. Fresh exact-head hosted CI remains pending. No local formatter or Rust command ran.

Current source: 71d6376c456d439972af61df55bb112b78a32c86 (tree be888d573a8afecbc6c74eda51cb69e3b108edfe).

Documentation impact

  • Documentation updated
  • No documentation impact

@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from 73ad447 to 90868fe Compare October 22, 2026 17:31
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 66e17ed to 7fa90da Compare October 22, 2026 17:31
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from 90868fe to b00cfc1 Compare October 22, 2026 17:51
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 7fa90da to d1ac544 Compare October 22, 2026 17:51
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from b00cfc1 to 39eeffa Compare October 22, 2026 17:54
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch 2 times, most recently from 5329e2b to 99718ad Compare October 22, 2026 18:02
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from 6cf9c5f to cb6a3a8 Compare October 22, 2026 18:16
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 99718ad to 01769e2 Compare October 22, 2026 18:16
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from cb6a3a8 to 946ba42 Compare October 22, 2026 18:52
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 01769e2 to dde42cf Compare October 22, 2026 18:53
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from d162c88 to c4bbf87 Compare October 23, 2026 18:28
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 71169be to 861644d Compare October 23, 2026 18:30
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from c4bbf87 to a455aa9 Compare October 23, 2026 18:39
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 861644d to 4edcb09 Compare October 23, 2026 18:39
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from a455aa9 to 9020751 Compare October 23, 2026 19:39
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 54d72ab to 8110b2c Compare October 23, 2026 19:42
@first-assist
first-assist force-pushed the platform/generated-changed-r6 branch from 9020751 to 88017cb Compare October 23, 2026 20:38
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 9217326 to 0127936 Compare October 23, 2026 20:38
@first-assist
first-assist force-pushed the platform/ai-notifications-r6 branch from 0127936 to 5d95406 Compare October 23, 2026 21:39
@first-assist
first-assist changed the base branch from platform/generated-changed-r6 to main October 23, 2026 21:39

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant