Skip to Content

Active Copilot, Agent Team Synergy & Enterprise Governance

In modern enterprise data platforms, cognitive AI capabilities and rigorous compliance governance form an inseparable double helix. SweetNight DXP delivers both a deep lakehouse-grounded Active Decision Copilot Drawer and a persistent Floating Copilot Capsule, orchestrates a cross-tower Agent Team Mesh, and enforces four defensive rings anchored by AEP 1+6 Governance Standards and PAM (Privileged Access Management) Leases.

DXP Active Decision Copilot Strategic Insight Drawer

Native isA Agent SDK Human-in-the-Loop (HITL) Safety Gate

In production agent deployments, letting autonomous swarms directly alter ERP pricing or warehouse inventory without human oversight is a critical operational risk. SweetNight DXP unifies HITL directly with the isA_Agent_SDK safety kernel:

Traceable Lifecycle Contract:

  • Unique Instance Code: Generated instance identifiers (e.g. HITL-SCM-TRANSFER-L2TWC9) enable end-to-end tracing across Feishu/Lark, Slack, and DXP.
  • 72-Hour Enforceable SLA: Every proposal has an immutable deadline contract. If an operator does not act within 72 hours, the proposal automatically expires with alert telemetry sent to the tower lead.
  • Direct Ledger API: Exposed via /api/approval/biz-action for programmatic inspection by compliance bots.

Data Asset Governance & Dynamic ABAC Cell-Level Masking

Data assets within the DXP Cockpit are dynamically governed through fine-grained Attribute-Based Access Control (ABAC) powered by the isa_aep Cedar policy engine:

Data Asset Governance & Dynamic ABAC Center

Canonical Compliance Markings:

  1. POL-ABAC-SOX-001 (Financial Margins): Redacts gross margin, standard cost, and supplier bill of materials ($***.** [RESTRICTED]) for non-finance personas.
  2. POL-ABAC-PII-002 (Customer GDPR / CCPA): Partials redact phone numbers and email addresses (j***@corp.com) for operations personnel.
  3. POL-ABAC-WORKS-003 (Works Council / Worker Privacy): Pseudonymizes warehouse worker IDs and factory shift records to prevent individual surveillance.
  4. Temporary PAM Lease Escalation: Operators with legitimate incident response duties can request an AEP PAM escalation lease to temporarily unmask cells with dual-authorization and cryptographic non-repudiation.

3-Tab Active Decision Copilot Drawer

Launching the copilot from the Strategic Cockpit opens a dedicated right-hand analytical drawer featuring OneData 99.8% (R1-R6) certification and P99 ≤ 10ms SLA, structured into 3 functional tabs:

Tab 1: Strategic Causal Simulation & Discussion

  • Benchmark Matrix: Benchmarks SweetNight GMV ($44.88M) against the industry average ($39.50M), evaluating multi-channel revenue momentum.
  • SSE Streaming Dialogue: Delivers real-time structured strategic memos:
    1. Ground Truth & Marginal Drivers: Interplay between fulfillment timelines and sales velocity.
    2. Potential Risk Vectors: Raw material price divergence and ocean container demurrage alerts.
    3. Cross-Tower Next Actions: Marketing budget shifts toward high-margin hero SKUs combined with forward-depot stock rebalancing.
  • Click-to-Ask Chips: 1-click exploration chips for immediate sensitivity inquiries.

Tab 2: Sensitivity Simulation & Lakehouse Queries

Governed Asset Details and Lakehouse SQL Query
  • Multi-Factor Sensitivity Matrix:
    • Baseline Unit Production Cost: $85.00
    • Ocean Freight Allocation: $28.50
    • Target Price: Dynamic slider (e.g., $139.00)
    • Dynamic Contribution Margin: Real-time margin calculation (e.g., 18.2%) with Red-Line Breach Alerts (warning when margin < 28%).
  • Lakehouse Production Query:
    • Exposes verifiable production SQL queries executed against the lakehouse:
      SELECT metric_code, metric_name, business_date, actual_value, target_baseline, variance_pct, causal_driver_summary, lakehouse_partition_time FROM governed_lakehouse_mart.com_price_elasticity WHERE metric_code = 'tower-commercial' AND business_date >= CURRENT_DATE() - INTERVAL 14 DAY ORDER BY business_date DESC;
  • Platform Shortcuts: Direct triggers to launch Level 4 active field lineage DAGs and 360-degree table profilers.

Tab 3: Tiered Execution Ladder & 1-Click MCP Dispatch

Cross-Tower RACI Playbook and 1-Click MCP Command Dispatch

A common pitfall of analytics is the execution gap between insights and core ERPs. DXP establishes an adaptive 3-tier execution ladder and 1-Click MCP Dispatch:

1. Strategic RACI Playbook

  • Growth Acceleration Playbook: e.g., “Increase promotional budget by 15% for high-margin 14-inch King mattresses”.
  • Explicit Accountability:
    • R (Responsible): Omnichannel Commercial Operations
    • A (Accountable): Commercial Lead · Lin Hao
    • Deliverable: Promotional calendar and ROI tracking sheet

2. Adaptive Three-Tier Execution Hierarchy

AIX enforces a strict execution hierarchy: API Direct Connect First; RPA Automation Fallback; 100% Feishu Interactive Card Graceful Degradation.

TierOperational ModeTarget Platforms & ImplementationLatency & SLA
⚡ LEVEL 1: API DirectNative microservices & endpointsDTC microservices, Feishu Bitable, BigQuery writebackMillisecond persistence, zero human labor
⚙️ LEVEL 2: RPA AgentHosted VM automation agentsAmazon Seller Central, TikTok Ads (platforms without public APIs)Automated VM execution, minute-level turnaround
💬 LEVEL 3: Feishu HITLIn-app interactive card human-in-the-loopFallback when APIs/RPA are unavailable or margin < 28% red-line is breachedDaemon dispatches card, 1-click supervisor signoff

3. Feishu HITL Closed-Loop Daemon (sn-feishu-hitl-daemon)

When pricing falls below the 28% safety floor, the system escalates to Level 3:

  • Production daemon (sn-feishu-hitl-daemon) dispatches an interactive card to the supervisor’s Feishu client.
  • The supervisor (e.g., Dennis Deng) inspects the business justification and clicks “Approve Exception”.
  • The daemon captures the callback, in-place re-renders the card to green COMPLETED status, and logs the voucher in DXP.

4. 1-Click MCP Dispatch Receipt & Audit Trail

1-Click MCP Dispatch Committed Voucher

Clicking “Dispatch MCP” sends a standard tool invocation across the mesh:

mcp.call_tool("orchestration.strategic_hedging.dispatch", { "target_metric": "tower-commercial", "priority": "P0" })
  • Committed Latency: Average transaction commitment in 340ms.
  • Immutable Voucher: Globally unique transaction voucher (e.g., AEP-MCP-MVJKK1M0).
  • Audit Verification: Dispatched to SweetNight MCP Router, verified by AEP RBAC, and recorded in cryptographic audit logs.

Cross-Tower Agent Team Mesh

Enterprise decisions span multiple operational boundaries. AIX DXP connects domain agents into an integrated Agent Team Mesh:

  1. Commercial Strategic Agent: Focuses on price elasticity, Buy Box defenses, and promotional ROI.
  2. SCM Collaborative Agent: Powers 9-month demand forecasting, multi-echelon inventory, and port congestion hedging.
  3. Marketing Growth Agent: Manages omnichannel multi-touch ROAS attribution and social media VOC sentiment mining.
  4. IPD & Sleep R&D Agent: Fits clinical AASM 5-stage sleep models and evaluates BOM cost-reduction substitutions.
  5. Smart Manufacturing Agent: Monitors continuous foaming yields, VOC emissions, and first-pass acceptance rates.
  6. Operations & Finance Agent: DuPont ROE decomposition, rolling cash flow forecasting, and SOX audit trails.

Persistent Floating Copilot Capsule

Persistent Floating Copilot Capsule with Context Awareness

Across all DXP views, a persistent SN Executive Copilot capsule remains accessible in the bottom-right:

  • Live Mesh Status: Displays ● SN Runtime · Live indicating an active long-poll connection to the production cluster.
  • Active Context Awareness: Automatically identifies the active data product or metric (e.g., “Active Context: Pricing Domain · Writebacks Audited by AEP”).
  • C-Level Preset Inquiries: Quick-action buttons for quantitative causal explanations and SLA verification.
  • Dual-Engine Architecture: Powered by SN Agent Runtime and MMoE (Multi-gate Mixture-of-Experts) attribution models.

AEP 1+6 Governance Standards & Four Defensive Rings

All agent actions and data queries pass through four security rings:

  1. Ring 01: Granular RBAC/ABAC: Strictly enforces cross-tower role isolation.
  2. Ring 02: R1-R6 ODCS Gates: Blocks schema drift and anomalous values at ingestion.
  3. Ring 03: PAM Two-Person Rule: Mandates dual-node Feishu sign-offs for privileged operations.
  4. Ring 04: SLSA L3 Tamper-Proof Audit: Cryptographically records every parameter simulation and MCP dispatch.