Skip to content

Commit 8c2512d

Browse files
V33 Gate 3: Refresh MCP docs from tool contract
Regenerate MCP API reference and OpenAPI artifacts from the package-owned AssetPack create tool contract, preserving source-safe Reading and settlement-boundary detail for downstream interface docs. Validation: pnpm run docs:refresh; pnpm run check:v33-gate3; focused BTD and MCP contract tests; git diff --check; staged actual-secret-shaped scan.
1 parent 909bc19 commit 8c2512d

5 files changed

Lines changed: 18 additions & 40 deletions

File tree

.bitcode/v33-mcp-api-tool-contracts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
],
126126
"sourceEvidence": [
127127
{
128-
"digest": "sha256:89e6b3da4670910348568e172186313fcf7e619af7448f4aacceb28405d4e7b9",
128+
"digest": "sha256:ed7ff68bb55bd47afc9c538b346a3df3b4559c4278f21f5551cb00a212d98c03",
129129
"relativePath": "packages/btd/src/mcp-tool-contract.ts",
130130
"requiredTokens": [
131131
{

packages/btd/src/mcp-tool-contract.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ export function buildBtdMcpToolContractInputs(): BtdMcpToolContractInput[] {
146146
description: [
147147
'Create and execute a Bitcode AssetPack pipeline for complete software engineering Reads.',
148148
'',
149-
'This tool admits source-safe Reading requests, repository/provider ingress, attachments, streaming preference, and Shippable subtype focus.',
149+
'This is Bitcode\'s primary Reading pipeline entry point for feature implementation, review, bug repair, technical writing, architecture diagrams, API specifications, frontend scaffolding, scope analysis, implementation planning, and refactor proposals.',
150+
'It admits source-safe Reading requests, repository/provider ingress, attachments, streaming preference, and Shippable subtype focus.',
151+
'Supported subtypes include pull_request, pr_review, issue, comment, blog_post, diagram, api_spec, frontend_scaffolder, scope_analysis, implementation_plan, and refactor_proposal.',
150152
'It queues the package-owned AssetPack pipeline and returns source-safe execution, preview, and monitoring metadata.',
151153
'Protected AssetPack contents remain locked until settlement and rights transfer are admitted by the Protocol/BTD layer.',
152154
].join('\n'),

packages/executions-mcp/src/mcp-server/docs/mcp/mcp-api-reference.md

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,15 @@ Core SDIVF pipeline execution with PTRR agent coordination
1515

1616
#### `bitcode://pipelines/asset-pack/create`
1717

18-
Create and execute a Bitcode asset-pack pipeline for complete software engineering reads.
19-
20-
This is Bitcode's most powerful pipeline, capable of:
21-
• Feature implementation with written assets and optional pull request delivery
22-
• Comprehensive code reviews with detailed suggestions
23-
• Bug fixes with root cause analysis and testing
24-
• Technical documentation and blog posts
25-
• Architecture diagrams and API specifications
26-
• Frontend scaffolding for React/Vue/Angular
27-
• Project scope analysis and implementation planning
28-
• Code refactoring proposals with impact analysis
29-
30-
Supports multimodal inputs including Figma designs, documents, images, audio, and video.
31-
Real-time streaming provides live updates during read measurement, asset synthesis, validation, Finish, and connected-interface delivery readiness.
32-
33-
Admitted subtypes:
34-
• pull_request - Complete feature implementation with PR
35-
• pr_review - Comprehensive code review with suggestions
36-
• issue - Bug analysis and fixes with testing
37-
• comment - Code explanation and documentation
38-
• blog_post - Technical writing and documentation
39-
• diagram - Architecture and flow diagrams
40-
• api_spec - OpenAPI specification generation
41-
• frontend_scaffolder - Component scaffolding
42-
• scope_analysis - Project complexity analysis
43-
• implementation_plan - Detailed technical planning
44-
• refactor_proposal - Code improvement recommendations
45-
46-
**Complexity**: expert | **Measured BTD Estimate**: 200 $BTD
18+
Create and execute a Bitcode AssetPack pipeline for complete software engineering Reads.
19+
20+
This is Bitcode's primary Reading pipeline entry point for feature implementation, review, bug repair, technical writing, architecture diagrams, API specifications, frontend scaffolding, scope analysis, implementation planning, and refactor proposals.
21+
It admits source-safe Reading requests, repository/provider ingress, attachments, streaming preference, and Shippable subtype focus.
22+
Supported subtypes include pull_request, pr_review, issue, comment, blog_post, diagram, api_spec, frontend_scaffolder, scope_analysis, implementation_plan, and refactor_proposal.
23+
It queues the package-owned AssetPack pipeline and returns source-safe execution, preview, and monitoring metadata.
24+
Protected AssetPack contents remain locked until settlement and rights transfer are admitted by the Protocol/BTD layer.
25+
26+
**Complexity**: moderate | **Measured BTD Estimate**: 200 $BTD
4727

4828
**Example**:
4929
```json

packages/executions-mcp/src/mcp-server/docs/mcp/mcp-openapi.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"paths": {
2020
"/mcp/tools/bitcode/pipelines/asset-pack/create": {
2121
"post": {
22-
"summary": "Create and execute a Bitcode asset-pack pipeline for complete software engineering reads.",
23-
"description": "Create and execute a Bitcode asset-pack pipeline for complete software engineering reads.\n\nThis is Bitcode's most powerful pipeline, capable of:\n• Feature implementation with written assets and optional pull request delivery\n• Comprehensive code reviews with detailed suggestions\n• Bug fixes with root cause analysis and testing\n• Technical documentation and blog posts\n• Architecture diagrams and API specifications\n• Frontend scaffolding for React/Vue/Angular\n• Project scope analysis and implementation planning\n• Code refactoring proposals with impact analysis\n\nSupports multimodal inputs including Figma designs, documents, images, audio, and video.\nReal-time streaming provides live updates during read measurement, asset synthesis, validation, Finish, and connected-interface delivery readiness.\n\nAdmitted subtypes:\n• pull_request - Complete feature implementation with PR\n• pr_review - Comprehensive code review with suggestions\n• issue - Bug analysis and fixes with testing\n• comment - Code explanation and documentation\n• blog_post - Technical writing and documentation\n• diagram - Architecture and flow diagrams\n• api_spec - OpenAPI specification generation\n• frontend_scaffolder - Component scaffolding\n• scope_analysis - Project complexity analysis\n• implementation_plan - Detailed technical planning\n• refactor_proposal - Code improvement recommendations",
22+
"summary": "Create and execute a Bitcode AssetPack pipeline for complete software engineering Reads.",
23+
"description": "Create and execute a Bitcode AssetPack pipeline for complete software engineering Reads.\n\nThis is Bitcode's primary Reading pipeline entry point for feature implementation, review, bug repair, technical writing, architecture diagrams, API specifications, frontend scaffolding, scope analysis, implementation planning, and refactor proposals.\nIt admits source-safe Reading requests, repository/provider ingress, attachments, streaming preference, and Shippable subtype focus.\nSupported subtypes include pull_request, pr_review, issue, comment, blog_post, diagram, api_spec, frontend_scaffolder, scope_analysis, implementation_plan, and refactor_proposal.\nIt queues the package-owned AssetPack pipeline and returns source-safe execution, preview, and monitoring metadata.\nProtected AssetPack contents remain locked until settlement and rights transfer are admitted by the Protocol/BTD layer.",
2424
"operationId": "bitcode___pipelines_asset_pack_create",
2525
"tags": [
2626
"Pipeline Management"
@@ -124,7 +124,7 @@
124124
}
125125
},
126126
"x-mcp-tool": {
127-
"complexity": "expert",
127+
"complexity": "moderate",
128128
"measuredBtdEstimate": {
129129
"estimated": 200,
130130
"factors": [
@@ -135,8 +135,6 @@
135135
},
136136
"useCases": [
137137
"Feature Development",
138-
"Test Generation",
139-
"Documentation",
140138
"Code Refactoring"
141139
],
142140
"relatedTools": [

packages/executions-mcp/src/mcp-server/docs/mcp/mcp-specification.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"tools": {
2020
"bitcode://pipelines/asset-pack/create": {
2121
"name": "bitcode://pipelines/asset-pack/create",
22-
"description": "Create and execute a Bitcode asset-pack pipeline for complete software engineering reads.\n\nThis is Bitcode's most powerful pipeline, capable of:\n• Feature implementation with written assets and optional pull request delivery\n• Comprehensive code reviews with detailed suggestions\n• Bug fixes with root cause analysis and testing\n• Technical documentation and blog posts\n• Architecture diagrams and API specifications\n• Frontend scaffolding for React/Vue/Angular\n• Project scope analysis and implementation planning\n• Code refactoring proposals with impact analysis\n\nSupports multimodal inputs including Figma designs, documents, images, audio, and video.\nReal-time streaming provides live updates during read measurement, asset synthesis, validation, Finish, and connected-interface delivery readiness.\n\nAdmitted subtypes:\n• pull_request - Complete feature implementation with PR\n• pr_review - Comprehensive code review with suggestions\n• issue - Bug analysis and fixes with testing\n• comment - Code explanation and documentation\n• blog_post - Technical writing and documentation\n• diagram - Architecture and flow diagrams\n• api_spec - OpenAPI specification generation\n• frontend_scaffolder - Component scaffolding\n• scope_analysis - Project complexity analysis\n• implementation_plan - Detailed technical planning\n• refactor_proposal - Code improvement recommendations",
22+
"description": "Create and execute a Bitcode AssetPack pipeline for complete software engineering Reads.\n\nThis is Bitcode's primary Reading pipeline entry point for feature implementation, review, bug repair, technical writing, architecture diagrams, API specifications, frontend scaffolding, scope analysis, implementation planning, and refactor proposals.\nIt admits source-safe Reading requests, repository/provider ingress, attachments, streaming preference, and Shippable subtype focus.\nSupported subtypes include pull_request, pr_review, issue, comment, blog_post, diagram, api_spec, frontend_scaffolder, scope_analysis, implementation_plan, and refactor_proposal.\nIt queues the package-owned AssetPack pipeline and returns source-safe execution, preview, and monitoring metadata.\nProtected AssetPack contents remain locked until settlement and rights transfer are admitted by the Protocol/BTD layer.",
2323
"category": "Pipeline Management",
2424
"subcategory": "asset-pack",
2525
"inputSchema": {
@@ -107,15 +107,13 @@
107107
],
108108
"useCases": [
109109
"Feature Development",
110-
"Test Generation",
111-
"Documentation",
112110
"Code Refactoring"
113111
],
114112
"relatedTools": [
115113
"bitcode://monitoring/pipeline/status",
116114
"bitcode://intelligence/effectiveness/track"
117115
],
118-
"complexity": "expert",
116+
"complexity": "moderate",
119117
"measuredBtdEstimate": {
120118
"estimated": 200,
121119
"factors": [

0 commit comments

Comments
 (0)