2026-09-26·作者 Sijie Wang#standmeet#architecture#design

trusted-identity-via-meta

Trusted identity via tool-call _meta

Parent: access-control

The session's trusted identity — OwnerID, Subject{Kind, ID} (an access code or an outbound key; it was CodeID until 2026-08-20, 162f09833, when key-path sessions got a subject so quota had something to count against), RoleID, and the frozen corpus-ACL scope (CorpusScope, one opaque blob — since 2026-08-10, eef128481, no longer two hand-copied string lists) — travels in the tool-call _meta side-channel under standmeet/session, not in the LLM-controllable arguments (backend/internal/infra/mcpclient/client.go:171-231).

Why it's load-bearing: the LLM (and any visitor text it parrots) cannot forge the ACL scope, because the scope never passes through anything the model controls. Corpus access is prompt-injection-proof by construction — the Ring-3 problem of prompt-injection-is-buffer-overflow solved at the boundary, not by hoping the model behaves.

關於這一條

sijie 的一條 wiki 條目。本站的 AI 以同一套語料庫為依據、以 sijie 的口吻作答,並附有指向此類條目的引用——回答會花 sijie 的錢,所以它在存取碼後等待: 輸入存取碼 →