Skip to content

Document grant-tag access and quiet public vendor names - #26

Merged
TheGreatAxios merged 11 commits into
cl-5255-grant-tags-schema-plane-httpfrom
cl-5252-grant-tags-docs-public-silence
Aug 5, 2026
Merged

Document grant-tag access and quiet public vendor names#26
TheGreatAxios merged 11 commits into
cl-5255-grant-tags-schema-plane-httpfrom
cl-5252-grant-tags-docs-public-silence

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Docs + public surface for the grant-tag cutover (depends on #25).

Covers Linear:

  • CL-5252 docs wire + MIGRATION hard cutover wording
  • CL-5258 zero public third-party memory vendor names outside packages/*
  • Spec: docs/AUTHZ-DOCUMENT-ACCESS.md (CL-5254 product direction)

Changes

  • New docs/AUTHZ-DOCUMENT-ACCESS.md
  • PRODUCT / README / ARCHITECTURE / IMPLEMENTATION / AGENTS / MIGRATION / CHANGELOG
  • Public language: DocumentStore / host store only (vendor names only under adapter packages)

Test plan

Stack: base → … → #25#26

Align PRODUCT, README, ARCHITECTURE, IMPLEMENTATION, MIGRATION,
CHANGELOG, and AUTHZ-DOCUMENT-ACCESS with access_tags + creator
and share sugars. Public product surface speaks only of DocumentStore
and host stores; third-party memory vendor names stay in packages/*
adapter plugins only.
Fleet review (grant-tag tip): make multi-user share honest — tag minting is
not grant minting; hosts must bootstrap find on knowledge.owner:<self>.
Remove invented share.private sugar from MIGRATION; drop stale "visibility
logic" wording in IMPLEMENTATION.
File and imports only — same resolveAccessTags / canAccessDocument
API. Matches grant-tag product language; drops the mini-ACL filename.
Hard cutover: createMemory / mountMemory, Memory types, /api/memory routes,
memory:add and memory:find grants, memory.* access tags. Side-channel is
memoryProvider. Postgres schema knowledge stays for stability.
Remove packages/knowledge-adapter-mem0 and packages/knowledge-adapter-supermemory
from this monorepo. Point PRODUCT/README/AGENTS/IMPLEMENTATION at sibling
@corbits/mem0 and @corbits/supermemory (granola/linear layout). Staging dirs
ignored (.staging-*/).

Local extracts live at abklabs/corbits-mem0 and abklabs/corbits-supermemory.
createMemory({ grants, config?, documentStore?, ... }) only — no undefined
config slot. Docs/package links point at @corbits/mem0-memory-adapter,
@corbits/supermemory-memory-adapter, and @corbits/linear-tools.
Replace mountMemory/grants fragments with a complete Hono +
@intx/authz in-memory grant store + fakes example (in-process and
HTTP), plus curl and a short production-host note.
Drop the nested grants bag so hosts pass the same top-level fields
Interchange hubs already have. resolveGrantConfig remains for route
composition. Docs and tests updated; typecheck + src tests green.
Hard cutover for CL-5349: find→search, recent→list; remove ask,
remember, recall, MemoryProvider, and generate from the product plane.
HTTP grants are memory:add | memory:search. README/PRODUCT updated.
Scrub PRODUCT, MIGRATION, ARCHITECTURE, CHANGELOG, IMPLEMENTATION,
AGENTS, and AUTHZ-DOCUMENT-ACCESS so grants, HTTP paths, and plane
verbs match the hard cutover (no ask/find/recent product path).
Document-tag and capability checks use action search, not find.
@TheGreatAxios
TheGreatAxios marked this pull request as ready for review August 5, 2026 05:24
@TheGreatAxios
TheGreatAxios merged commit 619e91c into main Aug 5, 2026
1 check passed
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