DualForceOS Architecture & Operations Manual

Comprehensive User & Operator Manual

Complete technical and operational reference for DualForceOS: where conversational team intelligence drives deterministic enterprise resource planning.

Open Workspace
Chapter 01

Platform Architecture & Core Philosophy

DualForceOS unites conversational agility with enterprise-grade deterministic ERP. Instead of siloed legacy database forms, workflows initiate natively from conversational dialogue between human operators and autonomous AI agents.

app_overview.png
DualForceOS Workspace Overview
Click to expand high-resolution screenshot

Figure 1.1 — Unified enterprise shell integrating Chat, Live ERP Objects, Kanban Tasks, Document Intelligence, and Customer Accounts.

Deterministic Ledger

Immutable activity log guaranteeing complete audit compliance across every write.

Offline-First Sync

Local IndexedDB state updates instantaneously with optimistic recovery.

Strict Permission Boundary

Granular role segmentation between Owner, Admin, Member, and Agent scopes.

Key Capabilities & Insights

Conversational Front, Deterministic Back

Natural conversations express business intent; the hardened backend owns authorization, validations, database transactions, and audit records.

First-Class In-Stream Objects

Quotations, invoices, customer cards, and tasks live natively inside chat feeds rather than external disconnected windows.

Human + AI Peer Collaboration

AI teammates operate with allocated system credentials, individual MCP tools, and dedicated workspaces alongside human colleagues.

Quick Step-by-Step

1
Access Workspace Shell: Authenticate via session cookie to load the deterministic workspace snapshot into your browser.
2
Verify Organization Context: Check the active company switch in the lower left navigation footer.
3
Review Unread & Attention Queues: Inspect the "Needs You" indicator to address pending decisions requiring managerial sign-off.

Technical Deep Dive & Operational Specifications

Event Sourcing & State Guarantees

Every create, update, or status change dispatches an append-only event into dualforce.activity_log with cryptographic payload stamps.

  • Zero lost writes: concurrent edits resolve through PostgreSQL row-level locks and optimistic version vectors.
  • Local state hydration: web workers stream live incremental delta patches without refreshing the application page.
  • Zero third-party vendor lock-in: clean SQL tables with standard foreign key relations.

Role-Based Access Control (RBAC) Hierarchy

Permissions enforce strict isolation between human managerial tiers and automated background services.

  • Owner: Unrestricted control over company profile, bank billing coordinates, and team membership roles.
  • Admin: Can hire, configure, pause, or offboard AI bots, grant credential secrets, and manage public/private rooms.
  • Member: Participates in room discussions, manages assigned tasks, drafts estimates, and updates customer details.
  • Agent (Bot): Scoped exclusively to designated rooms and assigned MCP tools with non-bypassable permission checks.
Pro Tip: All writes made by AI agents are cryptographically attributed with their actorWorkerId in the audit log.
Chapter 02

Enterprise Chat & Communication Hub

The conversational core is engineered for ultra-fast, distraction-free team and agent interactions, featuring VIP avatar stories, category filters, threaded discussions, and rich composers.

chat_workspace.png
DualForceOS Chat Interface
Click to expand high-resolution screenshot

Figure 2.1 — High-density enterprise chat interface featuring VIP Story Carousel, category filters, and message timeline.

VIP Story Carousel

Rapid one-click channel and bot switching with real-time unread badges.

Category Filters

Instant segmented views for All, Unread, Channels, AI Bots, and Direct Messages.

Rich Text Composer

Markdown formatting, inline code blocks, emojis, attachments, and scheduled messages.

Key Capabilities & Insights

VIP Story Navigation Bar

Horizontal quick-access tray at the top of the sidebar provides immediate access to priority rooms and bots with notification badges.

Side Threading System

Complex deal negotiations and technical problem-solving stay organized inside dedicated collapsible thread panes.

In-Room Full Text Search

Search entire room histories with diacritic-insensitive matching and keyword highlights.

Pinned Highlights & Attachments

Extract shared documents, images, and pinned milestone announcements into dedicated side drawers.

Quick Step-by-Step

1
Select Filter View: Click "Unread", "Channels", or "Bots" to instantly isolate relevant conversations in the left sidebar.
2
Draft Message with Formatting: Use standard markdown or the Aa formatting toolbar for bold, italic, lists, and code blocks.
3
Schedule Delivery: Click the clock icon next to the send button to dispatch communications at a future timestamp.

Technical Deep Dive & Operational Specifications

Room Topology & Master Worker Model

DualForceOS supports 4 distinct room types, each serving dedicated operational requirements:

  • Channel (#): Shared public or private topic rooms for departmental teamwork (e.g., #sales, #finance, #ops).
  • Customer Room: Dedicated workspace bridging client discussions directly to CRM account ledgers and order history.
  • Direct Bot Room: 1-on-1 private command line with an AI agent; the bot answers every message posted.
  • Human Direct Message (DM): Encrypted peer-to-peer communication between human staff members.

Slash Command Capabilities

Enter slash commands directly into any room composer for quick actions:

/remind me to check overdue invoices in 2 hours
/topic Update Q4 sales quota
/invite @Duc
/leave
/mute
Pro Tip: Press the Up Arrow key in an empty composer to instantly enter inline edit mode for your last sent message.
Chapter 03

Autonomous AI Teammates & Avatar Customization

AI agents in DualForceOS are not generic chatbots; they are autonomous peers configured with distinct roles, 16 custom persona avatars, dedicated system instructions, and tool calling capabilities.

people_bots.png
DualForceOS People and Bots Directory
Click to expand high-resolution screenshot

Figure 3.1 — People and Bots directory displaying human staff and autonomous AI agents with persona avatars.

16 Persona Avatars

Crisp 3D monochrome avatars tailored for Sales, Support, Finance, Dev, Docs, and Ops.

Signal Green Presence

Online indicator displaying when a bot or human colleague is actively connected.

Bot Profile Drawer

Complete managerial control over role definitions, instructions, and credentials.

Key Capabilities & Insights

Context-Aware Wake Rules

Bots wake when explicitly tagged (@BotName), when addressing a room they master, or via intelligent plain-text router matching.

16 Visual Persona Avatars

Choose from a curated 4x4 catalog of 3D monochrome persona icons representing specific departmental specialties.

Model Context Protocol (MCP) Tools

Teammates interact with the database through structured tool calls (CRM lookups, task creation, quotation drafting).

Responsible Offboarding Handover

Departing bots automatically transfer open tasks, rooms, routines, and calendar events to a designated successor.

Quick Step-by-Step

1
Navigate to People & Bots: Open the "People" tab in the left navigation sidebar to view all personnel.
2
Click "Hire AI Teammate": Choose a role template (Sales, Support, Accounting) or enter custom instructions.
3
Select Persona Avatar: Click "Change avatar" to open the 4x4 picker and select from 16 persona styles.
4
Deploy to Room: Upon creation, the bot automatically configures its direct DM room and joins departmental channels.

Technical Deep Dive & Operational Specifications

16 Avatar Persona Matrix

The 4x4 avatar palette provides visual clarity for every autonomous responsibility in your workforce:

  • Row 1: Core (General Assistant), Support (Headset / CSKH), Analyst (Research / Glasses), Writer (Content / Pen)
  • Row 2: Documents (Invoices / Admin), Scheduler (Calendar / Dispatch), Finance (Ledger / Bar Chart), Sales (Commerce / Dollar)
  • Row 3: Developer (Code / </>), Database (SQL / Data Warehouse), Operations (DevOps / Gear), Search (Audit / QA)
  • Row 4: Global (Web / Networks), Team (HR / Swarm), Security (Shield / Compliance), Concierge (Speech Bubble)

Computer Execution Modes

AI bots execute complex browser and coding operations inside sandboxed environments:

  • Team Computer (Shared): Standard sandboxed instance suitable for general database queries and routine lookups.
  • Dedicated Computer (Private): Isolated virtual machine provisioned for high-security workloads, accounting audits, and automated browser tasks.
Pro Tip: Admins can update any bot's avatar, title, or system instructions anytime from the Bot Profile slide-over panel.
Chapter 04

Interactive In-Stream ERP Objects & Quotations

DualForceOS revolutionizes traditional ERP by embedding interactive business objects directly inside conversational messages. Estimates, quotes, and orders update live with instant approval gates.

salesbot_quotation.png
SalesBot Quotation In-Stream Object
Click to expand high-resolution screenshot

Figure 4.1 — Live interactive Quotation object drafted by SalesBot directly inside the room chat timeline.

Live Itemization

Line items, unit pricing, quantities, discounts, and tax rates updated in real time.

Approval Gates

Managerial sign-off buttons appear automatically when discounts exceed threshold rules.

One-Click Document Export

Generate official PDF quotes and Excel orders ready for customer delivery.

Key Capabilities & Insights

Real-Time State Synchronization

When a quotation is updated or approved, all connected clients receive immediate live updates without page refreshes.

Discount Approval Thresholds

Discounts exceeding standard managerial guidelines automatically trigger an approval request in the "Needs You" center.

Multi-Currency Financial Calculations

Calculates subtotal, line discounts, corporate tax rates, shipping, and deposits dynamically.

Audit Trail Attribution

Every revision records who made the change (human or AI agent) and when.

Quick Step-by-Step

1
Request Quote from SalesBot: Type "@SalesBot draft quotation for Acme with 10% discount on software licenses".
2
Review Generated Card: Inspect the line items, tax computations, and total amount on the in-stream card.
3
Approve or Modify: Click "Approve" to formalize the quotation or click "Edit" to adjust line pricing.

Technical Deep Dive & Operational Specifications

Financial Computation Engine

DualForceOS uses deterministic rounding formulas compliant with international corporate accounting standards:

Subtotal = Sum(Quantity * UnitPrice)
LineDiscount = Subtotal * (DiscountPercent / 100)
TaxableAmount = Subtotal - LineDiscount
TotalTax = TaxableAmount * TaxRate
TotalAmount = TaxableAmount + TotalTax + ShippingFee
Pro Tip: Approved quotations can be converted into active Sales Orders with a single click, instantly updating inventory reserves.
Chapter 05

Task Pipeline, Kanban & Multi-Perspective Tracking

Manage organizational initiatives with flexible perspectives: agile Kanban boards, dense spreadsheet tables, and conversational action checklists linked directly to customer accounts.

tasks_board.png
DualForceOS Kanban Task Board
Click to expand high-resolution screenshot

Figure 5.1 — Multi-column Kanban board organizing operational tasks across Todo, In Progress, Review, and Done columns.

Drag & Drop Kanban

Effortlessly reorder tasks and transition statuses across workflow columns.

Assignee Avatars

Instantly view whether a human employee or an autonomous bot owns the deliverable.

Priority Badges

Color-coded urgency indicators (Urgent, High, Medium, Low).

Key Capabilities & Insights

Dual Perspectives (Board & Table)

Switch seamlessly between visual Kanban cards and high-density sorting tables.

Human & Agent Co-Assignment

Assign tasks to humans, AI teammates, or cross-functional pairs for automated fulfillment.

Automated Status Transitions

AI agents update task statuses automatically as background duties and screen operations finish.

Deep Context Linking

Every task links directly back to the chat room and customer account where it originated.

Quick Step-by-Step

1
Switch to Tasks View: Click "Tasks" in the main navigation sidebar to open the Kanban board.
2
Create Task: Click "+ New Task" or ask any AI bot in chat to generate tasks from conversation.
3
Update Status: Drag a card to "Review" or "Done" or click the status chip to change state.

Technical Deep Dive & Operational Specifications

Task Priority & SLA Definitions

Organize tasks according to enterprise operational urgency:

  • Urgent: Immediate blocker affecting revenue or production; bot triggers immediate priority alert.
  • High: Priority milestone scheduled for resolution within current business day.
  • Medium: Standard operational task with regular milestone tracking.
  • Low: Non-blocking backlog enhancement or prospective inquiry.
Pro Tip: Clicking any customer tag on a task card instantly opens that client's 360-degree account dossier.
Chapter 06

CRM, Customer Workspaces & Commercial Pipeline

Centralize customer intelligence, lifetime purchase history, contract files, and dedicated communication channels inside integrated customer workspaces.

customer_account.png
DualForceOS Customer Account Dossier
Click to expand high-resolution screenshot

Figure 6.1 — 360-degree customer account view showing commercial order history, contact directory, and connected rooms.

Commercial Ledgers

Real-time calculation of total order revenue, outstanding balances, and payment status.

Customer Room Bridge

Direct link to the dedicated client chat room for collaborative support.

Contact Registry

Directory of authorized buyer contacts, phone numbers, and billing addresses.

Key Capabilities & Insights

Customer Room Bridges

Every major customer account links to a dedicated customer room where sales reps and bots collaborate on client inquiries.

Real-Time Financial Dossiers

Track customer lifetime value (LTV), total purchase volume, and pending payment receivables.

Multi-Contact Management

Store multiple stakeholders, billing decision-makers, and technical contacts per enterprise account.

Automated Sales Follow-ups

SalesBot monitors stagnant deals and alerts account managers before opportunities stall.

Quick Step-by-Step

1
Open Customers View: Select "Customers" from the primary sidebar to review your account directory.
2
Select Customer Account: Click any account card to view historical orders, active quotes, and linked chat channels.
3
Initiate Client Workspace: Click the linked room button to open the shared customer channel immediately.

Technical Deep Dive & Operational Specifications

Enterprise Account Statuses

Customer lifecycle tracks account engagement across 4 operational states:

  • Lead: Prospective customer undergoing initial discovery and quotation review.
  • Active: Formal enterprise partner with recurring sales orders and active contracts.
  • VIP: High-volume account with dedicated bot monitoring and priority SLA dispatch.
  • Dormant: Account with no transactions in 90+ days; triggers automated SalesBot re-engagement.
Pro Tip: Tagging @SalesBot inside a customer room automatically grounds its responses in that specific client's purchase history.
Chapter 07

Document Intelligence, OCR & Office Generation

Ingest contracts, receipts, and invoices with automated text extraction, full-text semantic passage search, and native XLSX / DOCX / PDF office generation.

docs_extraction.png
DualForceOS Document Extraction View
Click to expand high-resolution screenshot

Figure 7.1 — Document viewer displaying OCR-extracted text passages, metadata tags, and office export options.

Automated OCR

Uploaded PDF scans and images parse into clean searchable passages instantly.

Passage Indexing

Semantic search locates specific clauses and line items without opening files.

Office Generation

Export ERP records into formatted Word (.docx) and Excel (.xlsx) spreadsheets.

Key Capabilities & Insights

Instant Text Extraction

Upload PDF invoices, vendor contracts, or receipts to automatically extract tables and text passages.

Deterministic Office Output

Generate customer-facing quotations, pro-forma invoices, and balance sheets in Microsoft Office formats.

Granular Folder Organization

Categorize enterprise documentation into Contracts, Invoices, HR Policies, and Operations folders.

Revision History & Audit Logs

Track document changes across drafts with complete author timestamps.

Quick Step-by-Step

1
Upload Document: Drag and drop any PDF, Word, or image file into the Documents window or chat stream.
2
Review Extracted Content: View indexed passages and text summaries generated by the extraction pipeline.
3
Export Office Document: Click "Export as XLSX" or "Export as DOCX" to download formatted files.

Technical Deep Dive & Operational Specifications

Supported Document Formats

DualForceOS document engine provides native compatibility with modern enterprise formats:

  • PDF (.pdf): Multi-page text extraction, tabular OCR processing, and vector search indexing.
  • Excel (.xlsx): Dynamic spreadsheet generation with styled headers, formulas, and numeric formatting.
  • Word (.docx): Formal corporate letterheads, contract clauses, and quotation document templates.
  • Markdown (.md): Native plain-text documentation and developer specifications.
Pro Tip: AI agents can read extracted document passages directly through their tools to answer specific contract questions.
Chapter 08

"Needs You" Attention Center & Approval Gates

Never let critical bottlenecks stall operations. The "Needs You" queue consolidates every question, quote approval, failed run, and decision requiring human authorization.

app_overview.png
DualForceOS Needs You Center
Click to expand high-resolution screenshot

Figure 8.1 — Consolidated Attention Center presenting pending approvals, agent questions, and operational decisions.

Unified Queue

Single triage center for questions, discounts, and order confirmations.

One-Click Actions

Approve, reject, or request revisions directly without switching screens.

SLA Prevention

Highlights stagnant deals and unhandled customer inquiries before escalations.

Key Capabilities & Insights

Actionable Triage List

Presents items requiring human judgment in order of operational priority.

Quote Discount Thresholds

Discounts exceeding standard managerial policies hold in queue until authorized.

Agent Question Resolution

When a bot encounters ambiguous instructions, it posts a structured question directly to your attention feed.

One-Click Decision Making

Execute approvals, overrides, or rejections with instant feedback to the waiting bot.

Quick Step-by-Step

1
Check Attention Badge: Look for the counter badge on the "Needs You" icon in the navigation header.
2
Review Decision Card: Examine the proposed quotation, task assignment, or bot inquiry.
3
Click Sign-Off or Revise: Approve the action to release the workflow, or reply with guidance.

Technical Deep Dive & Operational Specifications

Approval Gate Categories

DualForceOS standardizes 3 major automated gating rules:

  • Discount Approvals: Quotations exceeding standard sales team discount limits (e.g. >15%).
  • Credit Overrides: New sales orders for accounts with overdue unpaid invoices.
  • Ambiguous Intent: Bot questions asking to confirm critical database overwrites or deletions.
Pro Tip: Clearing your "Needs You" queue unblocks automated bot routines waiting to finish downstream invoicing and delivery.
Chapter 09

Keyboard Shortcuts, Commands & Power User Control

Designed for keyboard-first efficiency. Navigate between rooms, switch active workspaces, edit messages, and execute administrative actions without leaving your keys.

Key Capabilities & Insights

Quick Switcher (Cmd/Ctrl + K)

Instant fuzzy-search popup to jump to any room, customer dossier, document, or teammate.

Instant Inline Edit (Up Arrow)

Press Up Arrow in an empty composer to immediately edit your most recent message.

Drawer & Modal Control (Esc)

Close open thread panes, profile dialogs, and search modals with a single keystroke.

Markdown Rapid Formatting

Format bold (**text**), italic (*text*), code (`code`), and blockquotes (> text) on the fly.

Quick Step-by-Step

1
Press Cmd/Ctrl + K: Open the Quick Switcher command palette from anywhere in the application.
2
Type Search Query: Type "#sales", "@SupportBot", or "Acme" to highlight matching resources.
3
Press Enter: Jump directly to the destination view instantly.

Technical Deep Dive & Operational Specifications

Essential Keyboard Shortcuts

Master these shortcuts for maximum daily productivity:

Cmd / Ctrl + K     Open Quick Switcher
Up Arrow (empty)   Edit last sent message
Esc                Close open thread, slide-over, or modal
Enter              Send message in composer
Shift + Enter      Insert new line in composer
@                  Trigger teammate / bot autocomplete
#                  Trigger room mention autocomplete
/                  Trigger slash command autocomplete
Pro Tip: Pressing Esc while in an open thread pane safely closes the thread without discarding draft text.
Chapter 10

System Resilience, Network Sync & Diagnostics

DualForceOS is built with industrial resilience. Learn how offline caching, WebSocket reconnects, database recovery, and audit trails safeguard your operational continuity.

Key Capabilities & Insights

Optimistic UI & Auto Reconnect

Network interruptions trigger automatic exponential backoff retries with local queue preservation.

Complete Audit Log

Every write, hire, update, and deletion is recorded in the activity log with actor worker IDs.

Zero Data Loss Protocol

Local IndexedDB snapshots cache the workspace state so your view loads in under 100 milliseconds.

Bot Runtime Diagnostics

Inspect bot status, core reachability, and computer screen availability from the Bot Profile.

Quick Step-by-Step

1
Verify Connection State: Look for the "Reconnecting" pill in the header if working through network fluctuations.
2
Inspect Audit History: Navigate to "Activity" to review the immutable chronological ledger of company actions.
3
Restart Bot Worker: Admins can click "Restart Computer" in a bot's profile if an automated process hangs.

Technical Deep Dive & Operational Specifications

Diagnostic Checklist for Administrators

When troubleshooting agent responsiveness or database sync:

  • Check Bot Status: Ensure the teammate is set to "ONLINE" and not paused in its profile drawer.
  • Verify Room Master: Confirm the bot is either mentioned by handle (@Name) or designated as the room master.
  • Review Audit Ledger: Check the activity log for any validation errors returned by background MCP tools.
  • Hard Refresh Cache: Hold Shift and reload the browser to clear local client snapshot caches if needed.
Pro Tip: Offline messages sent during network drops remain queued locally and dispatch automatically once connection restores.