Name: [ADD] KG temporal Wave-2 (ADR-006): _as_of reconstruction + live KG tools + memory-brain bridge

State: Failed finished in 14m

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #60

Committer: David Tran

Committer Email: davidtran.hp@gmail.com

Commit: 8555493b0fca2e83335eea75948d4dbd0feb50ae

Description:

                                            [ADD] viin_ai_memory_brain: AI memory <-> Brain vault bridge (KG temporal Wave-2)

New auto-install bridge (depends viin_ai_memory + viin_brain). Adds an
optional vault_id Many2one('viin.brain.vault') to viin.ai.memory so a memory
can be scoped to a Brain vault, plus a GLOBAL ir.rule that restricts memory
visibility to vaults the user can access (member or access-group), while
vault-less memories remain governed by the existing per-owner rule.

The vault rule is GLOBAL (AND-combines = restricts), not non-global: a
non-global rule with an OR(vault_id=False, ...) disjunct would OR-union with
the owner rule and leak every vault-less memory across owners. Tests cover
cross-vault, cross-company, owner-only vault-less, and the cross-owner
vault-less regression.

Part of ADR-006 KG temporal Wave-2.

Claude-Session: https://claude.ai/code/session_01JTYAzu8ndxtrQGJeTNa3pf
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: