Viindoo AI - Ops Brain Evidence (P-OPS-2)
Bridge between the operating layer (viin_ai_ops) and the knowledge OS
(viin_brain). Implements the Evidence-to-Brain principle of the AI
operating model: every action proposal can produce a durable, attributed
"Approval Rationale" page that explains why an action was proposed and
records the full provenance chain.
What it adds
- viin.ai.action.proposal.evidence_page_id - Many2one to the generated
Brain page (ondelete set null so deleting the page never orphans the
proposal).
- _create_approval_rationale_page() - creates a viin.brain.page from
the seeded "Approval Rationale" template, summarising the proposal (name,
risk, scope, payload, originating trace, work item / goal context) and
ALWAYS setting the mandatory T5 attribution fields
(is_ai_authored + ai_author_agent_id + ai_author_trace_id +
ai_confidence). Per AGENTS.md §13 a Brain page written via an AI path
without attribution must be rejected - this method never produces one.
- A dedicated "AI Operations Evidence" vault (seed data) with
allow_ai_authoring=True and auto_approve_ai_content=True so the
evidence pages land approved instead of stuck in human review.
- A smart button on the proposal form to open the linked evidence page.
Supported Editions
- Community Edition
- Enterprise Edition
This software and associated files (the "Software") may only be
used
(executed, modified, executed after modifications) if you have
purchased a
valid license from the authors, typically via Odoo Apps,
or if you
have
received a written agreement from the authors of the
Software (see the
COPYRIGHT file).
You may develop Odoo modules that use the Software as a library
(typically
by depending on it, importing it and using its
resources), but
without
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
license
is compatible with the terms of
the Odoo Proprietary License (For
example:
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
The above copyright notice and this permission notice must be
included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
SHALL THE
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
SOFTWARE.