Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 17, 2026

The documentation homepage failed to communicate ObjectOS's core value proposition—it's not another framework, it's the operating system for enterprise applications. Audience (CTOs, Enterprise Architects) couldn't quickly grasp differentiation from commodity backends.

Changes

Hero & Positioning

  • Updated tagline: "Orchestrate Identity, Workflows, and Local-First Sync in one unified runtime. The Kernel for your Enterprise."
  • Repositioned from "metadata-driven runtime" to "Business Operating System"
  • Lead with the problem: microservices sprawl, spaghetti monoliths, reinventing sync

Feature Architecture (6 Pillars)

  • Identity & Governance: Complete governance engine (not just auth)
  • Workflow Orchestration: FSM as declarative YAML
  • Local-First Sync: CRDT/Vector Clock conflict resolution (killer feature)
  • Plugin Architecture: Micro-kernel design pattern
  • Declarative Logic: Business processes as metadata
  • Three-Layer Separation: Kernel/Driver/Server boundaries

Real-World Examples

Workflow as FSM (YAML):

# workflows/leave_request.workflow.yml
states:
  draft:
    transitions: { submit: pending_approval }
  pending_approval:
    transitions: { approve: approved, reject: rejected }
    on_enter: [notify_manager]
guards:
  can_approve:
    condition: "user.role in ['manager', 'hr']"

Plugin Manifest (TypeScript):

export const CrmPlugin: PluginManifest = {
  id: 'steedos-crm',
  dependencies: ['@objectos/auth'],
  onEvent: {
    'user.signup': async (ctx, payload) => {
      await ctx.broker.call('data.create', {
        object: 'leads',
        data: { email: payload.email, source: 'website_signup' }
      });
    }
  }
};

Technical Deep Dives

  • Local-First Sync Protocol: Push mutations → Vector Clock detection → CRDT resolution → Delta pull
  • ObjectStack Trinity: Clear delineation of ObjectQL (data schema) / ObjectOS (kernel) / ObjectUI (view)
  • Declarative vs Imperative: Side-by-side comparison showing YAML config replacing nested if/else

Language Shift

System-level terminology throughout: Kernel, Replication Master, Governance Engine, Control Plane, Micro-kernel Pattern, FSM Engine. Addresses enterprise architects in their native vocabulary.

Screenshot

Homepage Redesign


Impact: Documentation now positions ObjectOS as essential infrastructure layer (like Linux manages processes/memory, ObjectOS manages identity/state/sync) rather than yet-another Node.js framework.

Original prompt

请给我重新设计文档首页
这是一个为您精心设计的 AI 指令(Prompt),专门用于生成 ObjectOS 官网首页 (objectos.org) 的核心内容。
ObjectOS 的定位最难传达,因为它比较抽象(像是一个操作系统内核)。这个指令的目标是把**“不可见的后端逻辑”具象化为“企业的数字中枢”**。
请将以下内容复制并发送给您的 AI 助手:
🧠 指令:ObjectOS 官网首页内容生成
Context (Role & Goal):
Act as the Lead System Architect & Product Strategist for ObjectOS.
Your task is to write the compelling copy for the objectos.org homepage.
Your Audience: CTOs, Enterprise Architects, and Backend Leads.
They are struggling with "Microservices Sprawl" (too many fragmented services) or "Spaghetti Monoliths" (business logic mixed with API code). They need a unified Control Plane.
Core Narrative (The Metaphor):

  • The Problem: "You don't build an app by writing your own process scheduler and file system. You use an OS (Linux/Windows). So why are you writing your own Auth, Workflow engine, and Sync logic for every business app?"
  • The Solution: "ObjectOS is the Kernel for your Enterprise. It orchestrates Identity, Data Sync, and Business Processes in a unified runtime."
    Tone:
  • System-Level: Robust, Secure, Stable. Think "Mission Control."
  • Architectural: Focus on "Governance," "Orchestration," and "Consistency."
    Task: Generate the Homepage Content (Markdown)
    Please write the homepage content covering the following 5 sections:
  1. The Hero Section (The Command Center)
  • Headline: Define it as "The Business Operating System" or "The Enterprise Kernel."
  • Sub-headline: Connect the dots: "Orchestrate Identity, Workflows, and Local-First Sync in one unified runtime."
  • Visual Concept: Describe a diagram showing ObjectOS as the central "CPU," connecting ObjectQL (Memory/Data) and ObjectUI (Display/IO).
  1. The "Four Pillars" of the Kernel (Feature Grid)
    Write 4 strong feature cards. Avoid generic descriptions; use architectural terms:
  • Identity & Governance: Built-in RBAC, SSO (OIDC/SAML), and granular Field-Level Security. Not just a login library, but a governance engine.
  • Workflow Orchestration: Finite State Machines (FSM) as code. Define approval chains and automation rules in YAML, not nested if/else statements.
  • Local-First Sync Engine: The "Killer Feature." Explain how it handles Conflict Resolution (CRDT/LWW) to keep offline clients in sync with the server.
  • Plugin Architecture: The "Micro-kernel" design. Everything (CRM, HRM, ERP) is just a plugin loaded via a Manifest.
  1. The "Manifest" Demo (Show Architecture as Code)
  • Instead of imperative code, show a Plugin Manifest (TypeScript/JSON) or a Workflow Definition (YAML).
  • Goal: Prove that business logic is declarative configuration, not spaghetti code.
  • Caption: "Define your business logic declaratively. The Kernel handles the execution."
  1. The "Local-First" Deep Dive
  • Dedicate a section to the Replication Protocol.
  • Explain the problem: "Building offline-first apps is hard."
  • Explain the solution: ObjectOS acts as the Replication Master, managing the diffs between the Server DB and Client DB (SQLite/RxDB).
  1. Ecosystem Integration
  • Briefly explain how it fits in the Trinity:
    • "ObjectQL defines the Data Structure."
    • "ObjectUI defines the Visual Structure."
    • "ObjectOS breathes life into them."
      Output Requirement:
  • Use Markdown formatting.
  • Use authoritative, architectural language.
  • In the "Manifest Demo" section, provide a realistic YAML or TS example of a Workflow or Plugin definition.
    💡 这个指令的设计巧思:
  • “操作系统”隐喻 (The OS Metaphor):
    • ObjectOS 很难解释,所以我强制 AI 使用 Kernel (内核)、Driver (驱动)、Process (进程) 这样的类比。这对架构师来说非常直观——他们瞬间就能明白这是负责“调度和资源管理”的层级。
  • 聚焦 Local-First (核心差异化):
    • 市面上有很多 Auth 库或工作流引擎,但自带 Sync Engine(同步引擎) 的后端框架极少。这是 ObjectOS 最核心的“护城河”,指令中要求单独开辟板块强调这一点。
  • 声明式逻辑展示:
    • 为了区别于普通的 Node.js 框架(如 Express),我要求展示 YAML 工作流定义 或 Plugin Manifest。这传达了一个信号:在这里,开发者是在“配置业务”,而不是“编写底层代码”。
  • 治理 (Governance) 视角:
    • 针对 CTO/架构师受众,使用的词汇是 RBAC (基于角色的访问控制)、SSO (单点登录)、Audit (审计),强调系统的安全性和可控性。

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Redesign homepage content for ObjectOS Redesign documentation homepage with OS kernel metaphor and architectural positioning Jan 17, 2026
Copilot AI requested a review from hotlong January 17, 2026 12:21
@hotlong hotlong marked this pull request as ready for review January 17, 2026 12:30
Copilot AI review requested due to automatic review settings January 17, 2026 12:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completely redesigns the ObjectOS documentation homepage to position it as a "Business Operating System" with kernel-level enterprise capabilities. The documentation shifts from describing a metadata-driven runtime to presenting ObjectOS as a comprehensive platform with workflow orchestration, local-first sync, and micro-kernel plugin architecture.

Changes:

  • Repositioned ObjectOS from "Metadata-Driven Enterprise Runtime" to "The Business Operating System"
  • Added extensive documentation for workflow orchestration (FSM engine), local-first sync protocol (CRDT/Vector Clocks), and plugin architecture
  • Expanded feature descriptions from 6 basic features to detailed architectural sections with code examples and deep dives

details: The killer feature. Handles conflict resolution (CRDT/LWW) to keep offline clients in sync with the server. Build truly offline-first applications without reinventing the wheel.

- title: 🔌 Plugin Architecture
details: Micro-kernel design. Everything—CRM, HRM, ERP—is just a plugin loaded via a Manifest. Extend the OS without modifying the core.
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Plugin Architecture" feature claims everything is "just a plugin loaded via a Manifest" with a "micro-kernel design," but the actual implementation shows ObjectOS extends ObjectQL directly without a plugin manifest system. The architecture described doesn't match the current implementation.

Suggested change
details: Micro-kernel design. Everything—CRM, HRM, ERP—is just a plugin loaded via a Manifest. Extend the OS without modifying the core.
details: Micro-kernel design. Business domains—CRM, HRM, ERP—run as kernel-managed modules, with a manifest-driven plugin system on the roadmap. Extend the OS via plugins without modifying the core.

Copilot uses AI. Check for mistakes.
Comment on lines +77 to +123
### 2. Workflow Orchestration (FSM Engine)

Traditional code: Business logic buried in controllers as nested `if/else` statements.
ObjectOS way: Business logic as **Finite State Machines** defined in YAML.

**Example Workflow:** Leave Request Approval Process

```yaml
# workflows/leave_request.workflow.yml
name: leave_request_flow
object: leave_request

states:
draft:
initial: true
transitions:
submit: pending_approval

pending_approval:
transitions:
approve: approved
reject: rejected
on_enter:
- action: notify_manager
params:
template: approval_required

approved:
final: true
on_enter:
- action: update_calendar
- action: notify_employee

rejected:
final: true
on_enter:
- action: notify_employee

# Guards define permission checks before state transitions
guards:
can_submit:
condition: "user.id == record.owner" # Only owner can submit
can_approve:
condition: "user.role in ['manager', 'hr']" # Only managers/HR can approve
```
**The result?** Business analysts can modify approval flows without touching code. Developers avoid spaghetti logic. The kernel executes the transitions reliably.
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The entire "Workflow Orchestration (FSM Engine)" section with YAML workflow examples describes functionality that doesn't exist in the codebase. This is presenting aspirational architecture as current capability, which is misleading to users.

Copilot uses AI. Check for mistakes.
Comment on lines +125 to +156
### 3. Local-First Sync Engine (The Killer Feature)
**The Hard Problem:** Building offline-first applications is notoriously difficult. How do you handle conflicts when Client A and Client B both edit the same record while offline?
**The ObjectOS Solution:** A built-in **Replication Protocol** that acts as the Sync Master.
**How it works:**
1. **Push Phase:** Client sends a **Mutation Log** (sequence of actions), not just final state
2. **Conflict Detection:** ObjectOS detects conflicts using Vector Clocks or Last-Write-Wins (LWW)
3. **Resolution:** Configurable strategies—LWW, CRDT merge, or custom resolvers
4. **Pull Phase:** Server sends **Delta Packets** (changes since last checkpoint) to clients
**API Design:**
```typescript
// Client-side (ObjectUI or Mobile)
await syncEngine.push({
since_cursor: '1234567890',
mutations: [
{ type: 'update', object: 'contacts', id: '123', data: {...} }
]
});

// Server responds with resolved state + new cursor
const delta = await syncEngine.pull({
since_cursor: '1234567890'
});
```

**Why it matters:** You get Notion-like sync capabilities without building it yourself. The kernel handles the hard parts—delta compression, conflict resolution, and incremental sync.

Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The entire "Local-First Sync Engine" section describes a replication protocol with Vector Clocks, CRDT merge, and delta sync that doesn't exist in the current implementation. This extensive documentation of non-existent features is misleading.

Copilot uses AI. Check for mistakes.
Comment on lines +163 to +200
```typescript
// plugins/crm/manifest.ts
// Note: This is a conceptual example of the plugin architecture
import { PluginManifest } from '@objectos/kernel';

export const CrmPlugin: PluginManifest = {
id: 'steedos-crm',
version: '1.0.0',

- title: ⚡ Auto-Generated UI
details: React components automatically render from metadata. Data grids, forms, charts - all generated from your YAML definitions.
// Dependencies (other plugins this one needs)
dependencies: ['@objectos/auth'],

- title: 🔐 Enterprise Security
details: Built-in authentication (Better-Auth), object-level permissions, field-level security, and record-level sharing rules.
// Register capabilities
objects: ['./objects/*.object.yml'],
workflows: ['./workflows/*.workflow.yml'],

- title: 🔌 Database Agnostic
details: Works with PostgreSQL, MongoDB, SQLite through pluggable drivers. Add support for any database by implementing the driver interface.
// Lifecycle hooks
onLoad: async (ctx) => {
ctx.logger.info('CRM Plugin loaded');
await initializeCrmDefaults();
},

- title: 🤖 AI-Ready
details: Perfect execution layer for AI-generated applications. AI writes the YAML metadata, ObjectOS runs it instantly.
// Event listeners
onEvent: {
'user.signup': async (ctx, payload) => {
// Automatically create a Lead when a user signs up
await ctx.broker.call('data.create', {
object: 'leads',
data: {
name: payload.name,
email: payload.email,
source: 'website_signup'
}
});
}
}
};
```
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PluginManifest type and the entire plugin architecture shown here don't exist in the codebase. The comment "Note: This is a conceptual example" is insufficient—this should be clearly labeled as planned/future functionality, not presented as current capability.

Copilot uses AI. Check for mistakes.
Comment on lines 242 to +264
```yaml
# objects/contact.object.yml
name: contacts
label: Contact
icon: user
# ✅ ObjectOS approach - Logic as configuration
name: order_fulfillment
object: orders

states:
draft:
initial: true
transitions:
submit: pending_approval

pending_approval:
transitions:
approve: processing
reject: cancelled
on_enter:
- action: reserve_inventory
- action: notify_approver

guards:
can_submit:
condition: "user.id == record.owner OR user.role == 'admin'"
```
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow example demonstrates non-existent functionality. The guards system with condition expressions and the state machine execution described here are not implemented in the current codebase.

Copilot uses AI. Check for mistakes.
details: Finite State Machines (FSM) as code. Define approval chains and automation rules declaratively in YAML, not nested if/else statements. Business logic becomes configuration.

- title: 🔄 Local-First Sync Engine
details: The killer feature. Handles conflict resolution (CRDT/LWW) to keep offline clients in sync with the server. Build truly offline-first applications without reinventing the wheel.
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Local-First Sync Engine" is described as a "killer feature" with CRDT/LWW conflict resolution, but there is no actual implementation of sync functionality in the current codebase. This creates a significant gap between documentation claims and actual capabilities. Either implement this feature before documenting it, or clearly label it as "planned" or "roadmap" functionality.

Suggested change
details: The killer feature. Handles conflict resolution (CRDT/LWW) to keep offline clients in sync with the server. Build truly offline-first applications without reinventing the wheel.
details: Roadmap feature. A planned Local-First Sync Engine designed to use conflict resolution strategies (CRDT/LWW) to keep offline clients in sync with the server and enable truly offline-first applications.

Copilot uses AI. Check for mistakes.
Comment on lines +23 to +24
- title: ⚙️ Workflow Orchestration
details: Finite State Machines (FSM) as code. Define approval chains and automation rules declaratively in YAML, not nested if/else statements. Business logic becomes configuration.
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Workflow Orchestration" feature describes FSM (Finite State Machine) engines and YAML-based workflow definitions, but there is no workflow engine implementation in the current codebase. This is misleading documentation. Either implement this feature or clearly mark it as planned functionality.

Copilot uses AI. Check for mistakes.
}
```

**The Result:** Your mobile app works seamlessly offline, syncs reliably, and handles conflicts intelligently—all without writing sync logic.
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The entire "Local-First Deep Dive" section describes detailed implementation of sync protocols, conflict resolution, Vector Clocks, and CRDT strategies that don't exist. This is extensive documentation of vaporware.

Suggested change
**The Result:** Your mobile app works seamlessly offline, syncs reliably, and handles conflicts intelligently—all without writing sync logic.
**The Goal:** Enable your mobile app to work offline, sync reliably, and handle conflicts intelligently—using ObjectOS's sync primitives and patterns rather than bespoke ad-hoc sync logic.

Copilot uses AI. Check for mistakes.
**The Integration:**

1. **Developer writes:** One YAML file (ObjectQL)
2. **ObjectOS processes:** Loads metadata, enforces security, manages state
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The claim that "ObjectOS processes: Loads metadata, enforces security, manages state" is overstated. The current implementation primarily extends ObjectQL and doesn't have the sophisticated state management and workflow orchestration described throughout this documentation.

Suggested change
2. **ObjectOS processes:** Loads metadata, enforces security, manages state
2. **ObjectOS processes:** Loads metadata and enforces permissions

Copilot uses AI. Check for mistakes.

```
┌─────────────────────────────────────────────────┐
│ ObjectStack Trinity │
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent use of "ObjectStack" vs "ObjectStack Trinity". The term should be consistently used throughout the documentation.

Copilot uses AI. Check for mistakes.
@hotlong hotlong merged commit 53d86cc into main Jan 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants