Skip to content

Add missing documentation for core protocol schemas#442

Merged
hotlong merged 6 commits intomainfrom
copilot/update-documentation-content
Jan 31, 2026
Merged

Add missing documentation for core protocol schemas#442
hotlong merged 6 commits intomainfrom
copilot/update-documentation-content

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 31, 2026

Recent codebase addition (PR #441) introduced 110+ schema files. This PR closes documentation gaps for 8 critical schemas and fixes structural issues.

New Documentation (8 files, 2,325 lines)

Data Protocol

  • driver-postgres.mdx - PostgreSQL connection config (SSL, pooling, timeouts)
  • driver-mongo.mdx - MongoDB connection config (replica sets, auth, capabilities)

System Protocol

  • plugin-lifecycle-events.mdx - Event schemas for kernel/plugin/service/hook lifecycle
  • startup-orchestrator.mdx - Plugin startup with health checks, rollback, parallelization
  • plugin-validator.mdx - Validation errors/warnings with error code registry
  • metadata-loader.mdx - Multi-backend metadata loading (FS, HTTP, S3, DB)
  • service-registry.mdx - DI container with singleton/transient/scoped services

Integration Protocol

  • connector-file-storage.mdx - S3/Azure/GCS connector with multipart uploads, versioning

Fixes

  • Removed duplicate data/search-engine.mdx (correct version in system/)
  • Fixed automation/connector.mdx source path reference (automation → integration)
  • Updated data/meta.json and integration/meta.json for navigation

Each file includes Zod schema references, TypeScript examples, property tables, usage patterns, and best practices.

Original prompt

扫描最近的修改内容,对必要的文档进行更新


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

@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 9:17am

Request Review

Copilot AI and others added 5 commits January 31, 2026 09:00
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
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] Update documentation based on recent changes Add missing documentation for core protocol schemas Jan 31, 2026
Copilot AI requested a review from hotlong January 31, 2026 09:09
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR is very large. Consider breaking it into smaller PRs for easier review.

@hotlong hotlong marked this pull request as ready for review January 31, 2026 09:36
Copilot AI review requested due to automatic review settings January 31, 2026 09:37
@hotlong hotlong merged commit e06ef89 into main Jan 31, 2026
13 checks passed
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 adds comprehensive documentation for 8 critical protocol schemas that were previously undocumented, following PR #441 which introduced 110+ schema files. The documentation provides detailed schema references, TypeScript examples, property tables, usage patterns, and best practices.

Changes:

  • Added 8 new documentation files (2,325 lines) covering data, system, and integration protocols
  • Fixed structural issues: removed duplicate data/search-engine.mdx and corrected source path in automation/connector.mdx
  • Updated navigation metadata files for proper documentation indexing

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
system/startup-orchestrator.mdx Documents plugin startup orchestration with health checks, rollback, and parallelization
system/service-registry.mdx Documents DI container with singleton/transient/scoped service patterns
system/plugin-validator.mdx Documents plugin validation with comprehensive error code registry
system/plugin-lifecycle-events.mdx Documents kernel/plugin/service/hook lifecycle event schemas
system/metadata-loader.mdx Documents multi-backend metadata loading from FS/HTTP/S3/DB
data/driver-postgres.mdx Documents PostgreSQL connection config including SSL and pooling
data/driver-mongo.mdx Documents MongoDB connection config with replica sets and capabilities
integration/connector-file-storage.mdx Documents S3/Azure/GCS connector with multipart uploads and versioning
data/search-engine.mdx Removed duplicate (correct version exists in system/search-engine.mdx)
automation/connector.mdx Fixed source path reference from automation/ to integration/
data/meta.json Added navigation entries for new driver documentation
integration/meta.json Added navigation entry for file storage connector

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/xl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants