Name: [IMP] viin_ai_brain, viin_brain, docs: Brain Standard-17 closeout (11 tools + native OT + drift reconcile)

State: Failed finished in 19m

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #68

Committer: David Tran

Committer Email: davidtran.hp@gmail.com

Commit: e9503e6a80d64ee1383893dac9e9f1d25d30934b

Description:

                                            [IMP] viin_ai_brain, viin_brain, docs: Brain Standard-17 closeout (11 tools + native OT + drift reconcile)

PR #68 - Brain cluster closeout on Viindoo Standard 17, grounded in a code-level
deep-survey of the cluster.

CW1 (viin_ai_brain): wire the 2 Wave-2 KG-temporal tools (brain_temporal_diff,
brain_record_state_as_of) to the Knowledge Base Assistant topic so the agent reaches
all 11 tools; version 0.1.0 -> 0.1.1 (noupdate=0 re-seed on -u); membership-asserting
RED-GREEN test; CHANGELOG.

CW2 (viin_brain): native OdooEditor WebRTC OT collaboration (ADR-002 Option 1).
_buildWysiwygOptions passes collaborationChannel {model,field,resId} + collaborativeTrigger
to the standalone Wysiwyg, gated on the realtime_collab flag + canEdit; OdooEditor's own
WebRTC P2P + ICE (mail.ice.server) handles OT - zero OT logic reimplemented. The interim
snapshot-relay (collab.py, collab_step_service.js, viin.brain.collab.step) is retired.
Flag-OFF path (autosave + version-token + conflict dialog) unchanged. block_parser
roundtrip test for native-serialized HTML; activation tour + flag tests adapted. Live
2-peer WebRTC convergence is a manual staging check (not headless-CI-testable).

CW3 (viin_ai_brain): QUnit for the AIBlock 5-state machine + powerbox Brain-context gate;
new web.qunit_suite_tests bundle.

Docs (reconcile SSOT to shipped code): adr-003 Accepted (P16 shipped); adr-002 closeout
(native OT shipped, relay retired); security.md (WI-005 declined / WI-006 closed);
roadmap Track B (P16 date, W18-22 panels shipped, OT-final native DONE); "9 tool" -> "11
tool"; adr-001 ADR-012 supersede note; new docs/brain/install-tiers.md (Standard vs
Enterprise).
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: