360 Secure SkillHub
360 安全技能中心

Institutional Governance

这是越南股票组合的制度状态控制层工具,核心功能是基于Cloudflare D1实现组合推荐、操作草案、审批流程、合规检查、审计日志、获批目标组合状态的全流程管控,遵循严格的状态转换规则与越南合规要求。典型场景为越南股票推荐需D1支持的审批、合规校验等环节,输入为组合操作需求,输出包含D1写入意图、合规状态等指定字段,不执行交易类操作。

teahann
teahann
热度 77.25
最近更新 2026-05-22 08:21:23
分类:安全依赖:第三方 API / 内部调用大模型应用场景:财务 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add institutional-governance
Metadata
name
institutional-governance
description
Use when Vietnam equity recommendations need D1-backed approvals, compliance checks, audit logging, decision journals, or approved target portfolio state transitions.
metadata
{"openclaw":{"emoji":"institution"}}
disable-model-invocation
false

Institutional Governance

Purpose

Use this skill as the institutional state and control layer. It governs Cloudflare D1 writes for portfolio action drafts, approvals, compliance checks, audit events, decision journals, and approved target portfolio state.

Scope

  • Vietnam equity portfolio governance.
  • Cloudflare D1 persistence.
  • Approval-gated state transitions.
  • Compliance and audit logging.
  • Decision journal records.

Non-goals

  • Do not place broker orders.
  • Do not call broker APIs.
  • Do not execute trades.
  • Do not update live holdings unless the user provides explicit transaction or broker-import data.

State Objects

  • recommendation: analytical decision record.
  • portfolio_action_draft: proposed portfolio change before approval.
  • approval: explicit user decision to approve, reject, or request changes.
  • target_portfolio_state: approved target weights after user approval.
  • audit_event: append-only operational history.

Required State Transition Rules

  1. A recommendation may create a portfolio_action_draft.
  2. A draft must include compliance checks before it can become PENDING_APPROVAL.
  3. A draft with any FAIL compliance check must not be promoted.
  4. Explicit user approval is required before creating target_portfolio_state.
  5. Approval promotion must be idempotent.
  6. Previous approved target state must be marked SUPERSEDED when a new state is approved.
  7. Every state transition must write an audit_event.
  8. Broker execution must remain disabled in this phase.

Required Output

Return:

  • d1_write_intent
  • affected_tables
  • approval_status
  • compliance_status
  • state_transition
  • audit_event_summary
  • state_mutation_allowed
  • broker_execution_allowed
  • confidence

broker_execution_allowed must be false.

Vietnam Compliance Defaults

  • Fail if target single-name weight exceeds portfolio maximum.
  • Warn if sector exposure exceeds configured maximum.
  • Warn if liquidity is insufficient for proposed target size.
  • Fail if recommendation depends on missing critical financial statements.
  • Warn if news or price data is stale.
  • Fail if an action implies margin, derivatives, or broker execution.
  • Warn if target state would reduce cash below the configured buffer.

Guardrails

  • Treat Cloudflare D1 as the source of truth for approved target state.
  • Treat holdings as snapshots, not live broker positions, unless their source explicitly says otherwise.
  • Record user approval text or channel in approvals.
  • Never overwrite audit history.
  • Never treat target_portfolio_state as an executable order.