feat: protocol TIER-3 schemas (cli, client, mcp, custom-models, mission-decomposition)#56
Merged
Merged
Conversation
factory-davidgu
previously approved these changes
May 30, 2026
varin-nair-factory
dismissed
factory-davidgu’s stale review
June 1, 2026 18:24
The base branch was changed.
…ission-decomposition) Verbatim mirrors of the private factory-mono-alpha CLI/client wire protocol, extending the public source-of-truth protocol surface. Not yet wired into the public package API. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
varin-nair-factory
force-pushed
the
vn/protocol-tier-3
branch
from
June 1, 2026 18:24
b1bc0ab to
fa7fed0
Compare
factory-davidgu
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds TIER-3 of the public-SDK protocol source-of-truth migration: verbatim mirrors of the private factory-mono-alpha CLI/client wire-protocol schemas into src/protocol/.
New files:
Also: 6 new leaf enums added to enums.ts (ModelKind, LLMModelTier, SettingsLevel, DroidLocation, SkillLocation, SandboxMode); barrel + round-trip tests updated.
Why
Continues the strangler-fig migration toward making the public SDK the single source of truth for the daemon/CLI wire protocol, eliminating manual drift from the monorepo. Schemas are ported verbatim (only import-path rewrites to local ./ siblings + .js ESM extensions).
Notes
Base: vn/protocol-tier-2 (#53).
Closes CLI-756