Productization Boundary Implementation Contract
Compatibility note: this file keeps the historical docs/v10-productization-implementation.md path and V10-linked internal identifiers for scripts, tools, and tests. Public product language should describe this as a productization boundary contract, not as a product version.
This contract turns the productization boundary concepts into concrete hosted-product constraints while preserving the local-first MCP core.
The implementation is intentionally boundary-first:
/mcpstays stateless and compatible.- Hosted product APIs live under
/v1/*. - Dashboard code must consume API or SDK data, never repositories directly.
- Database access belongs to server-owned repository modules.
- Billing gates hosted convenience features only.
- Remote policy rollouts cannot silently override repo-local instructions.
- Every implementation slice must use architect-mcp before and after edits.
Implemented Productization-Boundary MCP Surface
get_v10_productization_blueprint: returns route, storage, repository, dashboard, and staged-slice contracts.create_v10_implementation_slice_plan: returns the ten compatibility implementation slices and required MCP tools for each slice.plan_primer_dashboard: returns Primer React screen/component/accessibility plans based on Primer MCP guidance.validate_v10_productization_boundary: checks route, storage, dashboard, policy, and billing boundary regressions.run_v10_eval_harness: runs deterministic productization boundary evals.
Product API Boundary
The route catalog defines authenticated /v1/* endpoints for orgs, projects, reviews, policies, GitHub, billing, usage, and audit events. Every route has a named repository boundary, tenant-scope expectation, auth mode, and idempotency marker where relevant.
Stateful implementation should be added behind these repository boundaries:
OrgRepositoryProjectRepositoryReviewRepositoryPolicyRepositoryIntegrationRepositoryBillingRepository
Storage Boundary
The storage catalog covers users, orgs, memberships, invitations, projects, review sessions, artifacts, findings, baselines, policy bundles, policy versions, policy rollouts, exceptions, GitHub installations, billing records, usage events, and audit events.
Raw repository code must not be persisted by default. Store summaries, normalized findings, hashes, provenance, and explicitly supplied artifacts.
Primer Dashboard Boundary
Dashboard implementation should use Primer React components first:
PageLayout,PageHeader,NavList,UnderlineNavDataTable,ActionMenu,PaginationLabel,StateLabel,Banner,FlashFormControl,TextInput,Textarea,SelectPanel,ButtonDialog,ConfirmationDialog
Primer MCP constraints apply:
- Use CSS Modules for custom styling.
- Do not use
sxfor styling. - Do not use
Boxfor styling. - Use Primer design tokens instead of hard-coded colors.
- Buttons need clear labels.
- Loading and error states must preserve focus and announce status.
MCP-Gated Slice Loop
Before every productization-boundary slice:
interpret_implementation_intentload_triggered_stack_guidancecreate_pre_edit_contractreview_proposed_file_plan
After every productization-boundary slice:
review_implementation_against_contractreview_repo_structurereview_agent_sessionscore_agent_artifactsmcp_readiness_reportnpm run check:v10
Do not start the next slice until findings and failed checks are fixed.