Skip to content

Update protocol and package documentation to reflect actual codebase (109 protocols, 12 packages)#424

Merged
xuyushun441-sys merged 5 commits intomainfrom
copilot/scan-packages-and-protocols
Jan 31, 2026
Merged

Update protocol and package documentation to reflect actual codebase (109 protocols, 12 packages)#424
xuyushun441-sys merged 5 commits intomainfrom
copilot/scan-packages-and-protocols

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 31, 2026

Documentation claimed 70 protocols; actual count is 109 across 12 categories (55% undercount). Updated all reference pages with accurate inventory.

Changes

Protocol Reference Updates

  • index.mdx: Updated totals and expanded category listings
    • Data: 8 → 16 protocols (+100%)
    • System: 14 → 39 protocols (+179%)
    • API: 6 → 13 protocols (+117%)
    • Added Integration category (5 protocols)
  • protocol-map.mdx: Updated architecture diagram layer counts
  • quick-reference.mdx: Added comprehensive protocol tables for all categories
  • README.md: Updated protocol count reference

New Documentation

  • packages.mdx: Complete package reference covering all 12 packages
    • Core packages (9): spec, core, runtime, objectql, client, client-react, cli, ai-bridge, types
    • Plugins (3): driver-memory, plugin-hono-server, plugin-msw
    • Includes dependency graph, installation guide, version matrix

Navigation

  • meta.json: Added packages, hub, integration, auth, shared pages to references navigation

Protocol Distribution

Category Before After
Data 8 16
System 14 39
API 6 13
Integration - 5
Others 42 36
Total 70 109

Build verified: 207 pages generated successfully.

Original prompt

你是顶级的微内核架构师和企业管理软件架构师,扫描系统已有的所有软件包和协议更新文档官网的页面。


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jan 31, 2026 3:35am

Request Review

Copilot AI and others added 2 commits January 31, 2026 03:21
…rotocols, 12 packages)

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI and others added 2 commits January 31, 2026 03:25
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Scan existing software packages and protocol update documents Update protocol and package documentation to reflect actual codebase (109 protocols, 12 packages) Jan 31, 2026
Copilot AI requested a review from hotlong January 31, 2026 03:29
@hotlong hotlong marked this pull request as ready for review January 31, 2026 03:56
Copilot AI review requested due to automatic review settings January 31, 2026 03:56
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 31, 2026
Copy link
Copy Markdown
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 updates documentation to reflect the actual protocol count in the ObjectStack specification repository. The PR claims to update from 70 to 109 protocols and adds a comprehensive package reference covering all 12 packages in the monorepo.

Changes:

  • Updated protocol count references from 70 to 109 across multiple documentation files
  • Added detailed package reference documentation (packages.mdx) covering 9 core packages and 3 plugin packages
  • Expanded protocol category listings with newly documented protocols
  • Added packages, hub, integration, auth, and shared to navigation

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
content/docs/references/quick-reference.mdx Updated protocol counts and added comprehensive protocol tables for all categories
content/docs/references/protocol-map.mdx Updated architecture diagram with corrected protocol layer counts
content/docs/references/packages.mdx New comprehensive package reference with dependency graph and installation guides
content/docs/references/meta.json Added new pages to navigation structure
content/docs/references/index.mdx Updated protocol counts and expanded category documentation
README.md Updated protocol count reference in main README

| [API Protocol](#api-protocol) | 6 | Standardized API contracts and communication |
| [System Protocol](#system-protocol) | 39 | Runtime environment and platform capabilities (ObjectOS) |
| [AI Protocol](#ai-protocol) | 9 | AI/ML integration and agent orchestration |
| [API Protocol](#api-protocol) | 13 | Standardized API contracts and communication |
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

The API Protocol count should be 14, not 13. There are 14 API protocol files in packages/spec/src/api/.

Copilot uses AI. Check for mistakes.
| [System Protocol](#system-protocol) | 14 | Runtime environment and platform capabilities (ObjectOS) |
| [AI Protocol](#ai-protocol) | 8 | AI/ML integration and agent orchestration |
| [API Protocol](#api-protocol) | 6 | Standardized API contracts and communication |
| [System Protocol](#system-protocol) | 39 | Runtime environment and platform capabilities (ObjectOS) |
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

The System Protocol count should be 28, not 39. There are only 28 system protocol files in packages/spec/src/system/.

Suggested change
| [System Protocol](#system-protocol) | 39 | Runtime environment and platform capabilities (ObjectOS) |
| [System Protocol](#system-protocol) | 28 | Runtime environment and platform capabilities (ObjectOS) |

Copilot uses AI. Check for mistakes.

**Location:** `packages/spec/src/api/`
**Count:** 6 protocols
**Count:** 13 protocols
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

The API Protocol count should be 14, not 13. There are 14 API protocol files in packages/spec/src/api/.

Copilot uses AI. Check for mistakes.
@@ -58,28 +66,42 @@ Workflows, flows, and integrations.
| **[Sync](./automation/sync)** | `sync.zod.ts` | SyncConfig | Bi-directional data sync |
| **[Connector](./automation/connector)** | `connector.zod.ts` | Connector, ConnectorType | External system connectors |
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

This entry is incorrect. There is no connector.zod.ts in packages/spec/src/automation/. The Connector protocol belongs in the Integration category. This table is missing the Trigger Registry protocol (trigger-registry.zod.ts) which is actually in the automation directory. Replace this row with Trigger Registry instead.

Suggested change
| **[Connector](./automation/connector)** | `connector.zod.ts` | Connector, ConnectorType | External system connectors |
| **[Trigger Registry](./automation/trigger-registry)** | `trigger-registry.zod.ts` | TriggerRegistry | Event-driven automation registry |

Copilot uses AI. Check for mistakes.
| **[Connector](./automation/connector)** | `connector.zod.ts` | Connector, ConnectorType | External system connectors |

## System Protocol (14 protocols)
## System Protocol (39 protocols)
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

The System Protocol count is incorrect. There are actually 28 system protocols in packages/spec/src/system/, not 39. This overcount of 11 protocols combined with the API undercount explains why the total still adds to 109, but the individual category counts are wrong.

Suggested change
## System Protocol (39 protocols)
## System Protocol (28 protocols)

Copilot uses AI. Check for mistakes.

**Location:** `packages/spec/src/system/`
**Count:** 14 protocols
**Count:** 39 protocols
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

The System Protocol count should be 28, not 39. Verify actual protocol files in packages/spec/src/system/.

Copilot uses AI. Check for mistakes.
| **[Orchestration](./ai/orchestration)** | `orchestration.zod.ts` | AIOrchestration | Multi-agent orchestration |

## API Protocol (6 protocols)
## API Protocol (13 protocols)
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

The API Protocol count is incorrect. There are actually 14 API protocols in packages/spec/src/api/, not 13. The protocols are: batch, contract, discovery, endpoint, errors, graphql, http-cache, odata, protocol, realtime, rest-server, router, view-storage, and websocket.

Suggested change
## API Protocol (13 protocols)
## API Protocol (14 protocols)

Copilot uses AI. Check for mistakes.
@xuyushun441-sys xuyushun441-sys merged commit b98144d into main Jan 31, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants