{"at":"2026-11-22T23:53:12.061Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-22T23:53:12.562Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-22T23:53:12.713Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-22T23:53:13.204Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"instructions":"Start with review_repository for an unfamiliar repository or a general request to review test architecture; it returns a bounded review that fits a model's context. Use analyze_repository only when the complete bundle with per-target evidence is explicitly needed; it can exceed client limits on large repositories. Treat blockers, unsupported projects, and failedProjects entries as explicit audit coverage gaps. Use specialist tools only when the user requests a narrower artifact or supplies an existing audit artifact; pass repoRoot (plus projectRoot for single-project tools) instead of echoing a large artifact back. Use audit_repo only for an explicitly selected single project root and adapter; it defaults to JavaScript. Do not reclassify repository facts from raw source when a deterministic artifact already provides them. generate_selected_test is deferred and does not write test code.","protocolVersion":"2025-11-25","serverInfo":{"name":"repo-test-architect","version":"1.3.0"}}}}
{"at":"2026-11-22T23:53:13.205Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T23:53:13.205Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T23:53:13.207Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"anthropic/maxResultSizeChars":200000},"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Start here for an unfamiliar repository or a general test-architecture review. Detect and audit all project roots once, then return a bounded deterministic review: summary counts, blockers, top findings, the top-ranked candidates and plan items with execution hints, verification commands, and stats. limit caps the ranked lists (default 25) and per-test evidence is reduced to counts, so the result stays small on large monorepos. Use explain_target with repoRoot and projectRoot for one target's evidence, and analyze_repository only when the complete bundle is explicitly needed.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before the review.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"limit":{"description":"Maximum ranked candidates and plan items to return. Defaults to 25.","maximum":500,"minimum":1,"type":"integer"},"repoRoot":{"description":"Repository root path.","type":"string"}},"required":["repoRoot"],"type":"object"},"name":"review_repository","outputArtifact":{"schemaPath":"schemas/repository-review-v1.schema.json","schemaVersion":"repository-review/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/repository-review-v1.schema.json in the published package.","properties":{"auditSummary":{"type":"object"},"blockers":{"type":"array"},"findings":{"type":"object"},"root":{"type":"string"},"schemaVersion":{"const":"repository-review/v1"},"stats":{"type":"object"},"summary":{"type":"object"},"topCandidates":{"type":"array"},"topExecutionHints":{"type":"array"},"topPlanItems":{"type":"array"},"verificationCommands":{"type":"array"}},"required":["schemaVersion","root","summary","verificationCommands","blockers","auditSummary","findings","topCandidates","topPlanItems","topExecutionHints","stats"],"type":"object"},"title":"Review Repository"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Return the complete repository-analysis/v1 bundle: every project audit with per-target test evidence plus the derived summary, findings, ranking, plan, execution hints, and stats. The result grows with repository size and can exceed client limits on large monorepos, so prefer review_repository first and use this only when the complete bundle is explicitly needed or the repository is small.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before analysis.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"repoRoot":{"description":"Repository root path.","type":"string"}},"required":["repoRoot"],"type":"object"},"name":"analyze_repository","outputArtifact":{"schemaPath":"schemas/repository-analysis-v1.schema.json","schemaVersion":"repository-analysis/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/repository-analysis-v1.schema.json in the published package.","properties":{"auditSummary":{"type":"object"},"candidateRanking":{"type":"object"},"executionHints":{"type":"object"},"findings":{"type":"object"},"projectAudits":{"type":"object"},"root":{"type":"string"},"schemaVersion":{"const":"repository-analysis/v1"},"stats":{"type":"object"},"summary":{"type":"object"},"testPlan":{"type":"object"},"verificationCommands":{"type":"array"}},"required":["schemaVersion","root","summary","verificationCommands","projectAudits","auditSummary","findings","candidateRanking","testPlan","executionHints","stats"],"type":"object"},"title":"Analyze Repository"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List registered language adapters available to audit repositories.","inputSchema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"name":"list_adapters","outputArtifact":{"schemaPath":"schemas/adapter-registry-v1.schema.json","schemaVersion":"adapter-registry/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/adapter-registry-v1.schema.json in the published package.","properties":{"adapters":{"type":"array"},"schemaVersion":{"const":"adapter-registry/v1"}},"required":["schemaVersion","adapters"],"type":"object"},"title":"List Adapters"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List deterministic project marker rules and ignored directories used during project detection.","inputSchema":{"additionalProperties":false,"properties":{},"required":[],"type":"object"},"name":"list_project_detection_rules","outputArtifact":{"schemaPath":"schemas/project-detection-rules-v1.schema.json","schemaVersion":"project-detection-rules/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-detection-rules-v1.schema.json in the published package.","properties":{"fallbackRules":{"type":"array"},"ignoredDirectories":{"type":"array"},"markers":{"type":"array"},"schemaVersion":{"const":"project-detection-rules/v1"}},"required":["schemaVersion","markers","ignoredDirectories"],"type":"object"},"title":"List Project Detection Rules"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Discover project roots, support status, and matching adapters without auditing source targets. Use this when project boundaries are needed before a specialized workflow; use review_repository for a general review. Reads local repository markers and returns project-detection/v1 without executing tests or writing files.","inputSchema":{"additionalProperties":false,"properties":{"excludeProjectRoots":{"description":"Optional exact project roots or subtree patterns such as examples/** to exclude before returning detected projects.","items":{"minLength":1,"type":"string"},"type":"array"},"repoRoot":{"description":"Readable repository directory whose project markers should be inspected.","type":"string"}},"required":["repoRoot"],"type":"object"},"name":"detect_projects","outputArtifact":{"schemaPath":"schemas/project-detection-v1.schema.json","schemaVersion":"project-detection/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-detection-v1.schema.json in the published package.","properties":{"projects":{"type":"array"},"root":{"type":"string"},"schemaVersion":{"const":"project-detection/v1"},"summary":{"type":"object"}},"required":["schemaVersion","root","projects","summary"],"type":"object"},"title":"Detect Projects"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Return raw per-project audit artifacts for all detected supported roots, report unsupported roots, and list roots whose adapter failed in failedProjects. Use when a downstream specialist tool needs project-audits/v1; for a general first-pass review, prefer review_repository. The result can be large; specialist tools also accept repoRoot directly, so the artifact rarely needs to be passed back.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before auditing detected projects.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"repoRoot":{"description":"Repository root path.","type":"string"}},"required":["repoRoot"],"type":"object"},"name":"audit_projects","outputArtifact":{"schemaPath":"schemas/project-audits-v1.schema.json","schemaVersion":"project-audits/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-audits-v1.schema.json in the published package.","properties":{"audits":{"type":"array"},"failedProjects":{"type":"array"},"root":{"type":"string"},"schemaVersion":{"const":"project-audits/v1"},"skippedProjects":{"type":"array"},"summary":{"type":"object"}},"required":["schemaVersion","root","summary","audits","skippedProjects"],"type":"object"},"title":"Audit Projects"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Summarize an existing project-audits/v1 artifact. Use only when a compact coverage view is needed separately; review_repository returns a bounded version of this result; pass repoRoot here for the complete artifact.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before auditing.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectAudits":{"description":"A project-audits/v1 artifact; or pass repoRoot instead.","type":"object"},"repoRoot":{"description":"Repository root to audit instead of passing projectAudits.","type":"string"}},"required":[],"type":"object"},"name":"summarize_project_audits","outputArtifact":{"schemaPath":"schemas/project-audit-summary-v1.schema.json","schemaVersion":"project-audit-summary/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-audit-summary-v1.schema.json in the published package.","properties":{"failedProjects":{"type":"array"},"projects":{"type":"array"},"root":{"type":"string"},"schemaVersion":{"const":"project-audit-summary/v1"},"summary":{"type":"object"},"unsupportedProjects":{"type":"array"}},"required":["schemaVersion","root","summary","projects","unsupportedProjects"],"type":"object"},"title":"Summarize Project Audits"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Rank candidates from an existing project-audits/v1 artifact while preserving project identity. review_repository returns a bounded version of this result; pass repoRoot here for the complete artifact.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before auditing.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectAudits":{"description":"A project-audits/v1 artifact; or pass repoRoot instead.","type":"object"},"repoRoot":{"description":"Repository root to audit instead of passing projectAudits.","type":"string"}},"required":[],"type":"object"},"name":"rank_project_candidates","outputArtifact":{"schemaPath":"schemas/project-candidate-ranking-v1.schema.json","schemaVersion":"project-candidate-ranking/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-candidate-ranking-v1.schema.json in the published package.","properties":{"candidates":{"type":"array"},"failedProjects":{"type":"array"},"root":{"type":"string"},"schemaVersion":{"const":"project-candidate-ranking/v1"},"summary":{"type":"object"},"unsupportedProjects":{"type":"array"}},"required":["schemaVersion","root","summary","unsupportedProjects","candidates"],"type":"object"},"title":"Rank Project Test Candidates"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Generate a project-aware plan from an existing project-audits/v1 artifact. review_repository returns a bounded version of this result; pass repoRoot here for the complete artifact.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before auditing.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectAudits":{"description":"A project-audits/v1 artifact; or pass repoRoot instead.","type":"object"},"repoRoot":{"description":"Repository root to audit instead of passing projectAudits.","type":"string"}},"required":[],"type":"object"},"name":"generate_project_test_plan","outputArtifact":{"schemaPath":"schemas/project-test-plan-v1.schema.json","schemaVersion":"project-test-plan/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-test-plan-v1.schema.json in the published package.","properties":{"failedProjects":{"type":"array"},"items":{"type":"array"},"projectPlans":{"type":"array"},"root":{"type":"string"},"schemaVersion":{"const":"project-test-plan/v1"},"summary":{"type":"object"},"unsupportedProjects":{"type":"array"}},"required":["schemaVersion","root","summary","unsupportedProjects","projectPlans","items"],"type":"object"},"title":"Generate Project Test Plan"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Collect concise top findings from an existing project-audits/v1 artifact. review_repository returns a bounded version of this result; pass repoRoot here for the complete artifact.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before auditing.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectAudits":{"description":"A project-audits/v1 artifact; or pass repoRoot instead.","type":"object"},"repoRoot":{"description":"Repository root to audit instead of passing projectAudits.","type":"string"}},"required":[],"type":"object"},"name":"collect_project_findings","outputArtifact":{"schemaPath":"schemas/project-findings-v1.schema.json","schemaVersion":"project-findings/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-findings-v1.schema.json in the published package.","properties":{"failedProjects":{"type":"array"},"findings":{"type":"array"},"root":{"type":"string"},"schemaVersion":{"const":"project-findings/v1"},"summary":{"type":"object"},"unsupportedProjects":{"type":"array"}},"required":["schemaVersion","root","summary","findings","unsupportedProjects"],"type":"object"},"title":"Collect Project Findings"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Derive advisory test-placement findings across audited projects while preserving project identity, from a project-audits/v1 artifact or, with repoRoot, from a fresh audit. Use analyze_test_placement for one project. Does not execute tests or create, move, or modify files.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before auditing.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectAudits":{"description":"A project-audits/v1 artifact; or pass repoRoot instead.","type":"object"},"repoRoot":{"description":"Repository root to audit instead of passing projectAudits.","type":"string"}},"required":[],"type":"object"},"name":"analyze_project_test_placement","outputArtifact":{"schemaPath":"schemas/test-placement-findings-v1.schema.json","schemaVersion":"test-placement-findings/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/test-placement-findings-v1.schema.json in the published package.","properties":{"auditCoverage":{"enum":["partial","none"]},"failedProjectCount":{"type":"integer"},"failedProjects":{"type":"array"},"findings":{"type":"array"},"schemaVersion":{"const":"test-placement-findings/v1"}},"required":["schemaVersion","findings"],"type":"object"},"title":"Analyze Project Test Placement"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Aggregate coverage, counts, risk and signal distributions, frameworks, and adapter usage from a project-audits/v1 artifact or, with repoRoot, from a fresh audit. Use this for separate reporting or comparisons; review_repository already includes the same stats. Returns project-stats/v1 without executing tests or writing files.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before auditing.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectAudits":{"description":"A project-audits/v1 artifact; or pass repoRoot instead.","type":"object"},"repoRoot":{"description":"Repository root to audit instead of passing projectAudits.","type":"string"}},"required":[],"type":"object"},"name":"collect_project_stats","outputArtifact":{"schemaPath":"schemas/project-stats-v1.schema.json","schemaVersion":"project-stats/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/project-stats-v1.schema.json in the published package.","properties":{"adapters":{"type":"array"},"counts":{"type":"object"},"distributions":{"type":"object"},"failedProjects":{"type":"array"},"root":{"type":"string"},"schemaVersion":{"const":"project-stats/v1"},"sourceFiles":{"type":"object"},"summary":{"type":"object"}},"required":["schemaVersion","root","summary","sourceFiles","counts","distributions","adapters"],"type":"object"},"title":"Collect Project Stats"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Audit one explicitly selected project root and return audit/v1. Use only when the caller selected a single adapter or project boundary; adapterId defaults to javascript. For an unfamiliar repository or a general review, use review_repository.","inputSchema":{"additionalProperties":false,"properties":{"adapterId":{"description":"Optional adapter id. Defaults to javascript.","type":"string"},"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"repoRoot":{"description":"Repository root path.","type":"string"}},"required":["repoRoot"],"type":"object"},"name":"audit_repo","outputArtifact":{"schemaPath":"schemas/audit-v1.schema.json","schemaVersion":"audit/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/audit-v1.schema.json in the published package.","properties":{"coveredButRisky":{"type":"array"},"profile":{"type":"object"},"recommended":{"type":"array"},"risks":{"type":"array"},"schemaVersion":{"const":"audit/v1"},"skipped":{"type":"array"},"untestedCandidates":{"type":"array"}},"required":["schemaVersion","profile","untestedCandidates","coveredButRisky","recommended","skipped","risks"],"type":"object"},"title":"Audit Repository"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Return one project's audit/v1 artifact: validate and return a saved audit unchanged, or pass repoRoot plus projectRoot to audit that detected project. Use audit_repo when the adapter is selected explicitly, and review_repository for a general review.","inputSchema":{"additionalProperties":false,"properties":{"audit":{"description":"An audit/v1 artifact; or pass repoRoot plus projectRoot instead.","type":"object"},"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectRoot":{"description":"Project root relative to repoRoot as detected, such as . or packages/api.","type":"string"},"repoRoot":{"description":"Repository root to audit instead of passing audit; requires projectRoot.","type":"string"}},"required":[],"type":"object"},"name":"get_audit_graph","outputArtifact":{"schemaPath":"schemas/audit-v1.schema.json","schemaVersion":"audit/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/audit-v1.schema.json in the published package.","properties":{"coveredButRisky":{"type":"array"},"profile":{"type":"object"},"recommended":{"type":"array"},"risks":{"type":"array"},"schemaVersion":{"const":"audit/v1"},"skipped":{"type":"array"},"untestedCandidates":{"type":"array"}},"required":["schemaVersion","profile","untestedCandidates","coveredButRisky","recommended","skipped","risks"],"type":"object"},"title":"Get Audit Graph"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Create a deterministic plan/v1 for one project, optionally selecting one exact plan item; use generate_project_test_plan for multiple audited projects. Pass an existing audit/v1 artifact, or pass repoRoot plus projectRoot to audit that project deterministically. Does not execute tests or generate or write test code.","inputSchema":{"additionalProperties":false,"properties":{"audit":{"description":"An audit/v1 artifact; or pass repoRoot plus projectRoot instead.","type":"object"},"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"itemId":{"description":"Optional exact plan item id to return; omit it to return the complete deterministic plan.","type":"string"},"projectRoot":{"description":"Project root relative to repoRoot as detected, such as . or packages/api.","type":"string"},"repoRoot":{"description":"Repository root to audit instead of passing audit; requires projectRoot.","type":"string"}},"required":[],"type":"object"},"name":"generate_test_plan","outputArtifact":{"schemaPath":"schemas/plan-v1.schema.json","schemaVersion":"plan/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/plan-v1.schema.json in the published package.","properties":{"blockers":{"type":"array"},"items":{"type":"array"},"schemaVersion":{"const":"plan/v1"},"summary":{"type":"object"}},"required":["schemaVersion","summary","blockers","items"],"type":"object"},"title":"Generate Test Plan"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Derive provider-neutral execution, context, parallel-safety, and repository-reasoning hints from a plan without invoking models or subagents. Pass an existing plan/v1 or project-test-plan/v1 artifact, or pass repoRoot to derive hints for the project-aware plan of that repository.","inputSchema":{"additionalProperties":false,"properties":{"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeProjectRoots":{"description":"Optional project roots or subtree patterns such as examples/** to exclude before planning.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"itemId":{"description":"Optional stable plan item or project item id to select.","type":"string"},"plan":{"description":"A plan/v1 or project-test-plan/v1 artifact. Omit it and pass repoRoot to plan the repository instead.","type":"object"},"repoRoot":{"description":"Repository root to audit and plan instead of passing plan.","type":"string"}},"required":[],"type":"object"},"name":"get_plan_execution_hints","outputArtifact":{"schemaPath":"schemas/plan-execution-hints-v1.schema.json","schemaVersion":"plan-execution-hints/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/plan-execution-hints-v1.schema.json in the published package.","properties":{"failedProjects":{"type":"array"},"items":{"type":"array"},"schemaVersion":{"const":"plan-execution-hints/v1"},"source":{"type":"object"},"summary":{"type":"object"}},"required":["schemaVersion","source","summary","items"],"type":"object"},"title":"Get Plan Execution Hints"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Explain the evidence, risk, testability, and recommendation for one audited target, including its complete existing-test evidence. Use this after review_repository when one target needs detail: pass repoRoot plus the projectRoot and targetId from the review, or pass an existing audit/v1 artifact. Returns target-explanation/v1 without executing tests or writing files.","inputSchema":{"additionalProperties":false,"properties":{"audit":{"description":"An audit/v1 artifact; or pass repoRoot plus projectRoot instead.","type":"object"},"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectRoot":{"description":"Project root relative to repoRoot as detected, such as . or packages/api.","type":"string"},"repoRoot":{"description":"Repository root to audit instead of passing audit; requires projectRoot.","type":"string"},"targetId":{"description":"Exact stable id from an audit target in untestedCandidates, coveredButRisky, recommended, or skipped.","type":"string"}},"required":["targetId"],"type":"object"},"name":"explain_target","outputArtifact":{"schemaPath":"schemas/target-explanation-v1.schema.json","schemaVersion":"target-explanation/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/target-explanation-v1.schema.json in the published package.","properties":{"category":{"enum":["untestedCandidates","coveredButRisky","skipped"]},"existingTestEvidence":{"type":"array"},"existingTestPaths":{"type":"array"},"kind":{"type":"string"},"maintenanceCost":{"type":"integer"},"path":{"type":"string"},"rationale":{"type":"array"},"recommendation":{"enum":["test","defer"]},"risk":{"enum":["low","medium","high"]},"riskReductionScore":{"type":"integer"},"schemaVersion":{"const":"target-explanation/v1"},"signals":{"type":"array"},"target":{"type":"string"},"targetId":{"type":"string"},"testLevel":{"enum":["unit","integration","component","ui","none"]},"testability":{"enum":["low","medium","high"]}},"required":["schemaVersion","targetId","target","path","category","kind","recommendation","testLevel","risk","testability","riskReductionScore","maintenanceCost","signals","rationale","existingTestPaths"],"type":"object"},"title":"Explain Audit Target"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Rank testable audit targets of one project by risk reduction and maintenance cost. Pass an existing audit/v1 artifact, or pass repoRoot plus projectRoot to audit that project deterministically.","inputSchema":{"additionalProperties":false,"properties":{"audit":{"description":"An audit/v1 artifact; or pass repoRoot plus projectRoot instead.","type":"object"},"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"projectRoot":{"description":"Project root relative to repoRoot as detected, such as . or packages/api.","type":"string"},"repoRoot":{"description":"Repository root to audit instead of passing audit; requires projectRoot.","type":"string"}},"required":[],"type":"object"},"name":"rank_test_candidates","outputArtifact":{"schemaPath":"schemas/candidate-ranking-v1.schema.json","schemaVersion":"candidate-ranking/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/candidate-ranking-v1.schema.json in the published package.","properties":{"blockers":{"type":"array"},"candidates":{"type":"array"},"schemaVersion":{"const":"candidate-ranking/v1"},"summary":{"type":"object"}},"required":["schemaVersion","summary","blockers","candidates"],"type":"object"},"title":"Rank Test Candidates"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Derive advisory test-placement findings for one project; use analyze_project_test_placement for multiple audited projects. Pass an existing audit/v1 artifact, or pass repoRoot plus projectRoot to audit that project deterministically. Does not execute tests or create, move, or modify files.","inputSchema":{"additionalProperties":false,"properties":{"audit":{"description":"An audit/v1 artifact; or pass repoRoot plus projectRoot instead.","type":"object"},"changedPaths":{"description":"Optional repository-relative source paths to limit target selection.","items":{"minLength":1,"type":"string"},"type":"array"},"goTarget":{"additionalProperties":false,"properties":{"goarch":{"description":"Explicit GOARCH for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"goos":{"description":"Explicit GOOS for bounded Go build-constraint evaluation.","minLength":1,"type":"string"},"tags":{"description":"Optional custom Go build tags passed to the target-aware verification command.","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["goos","goarch"],"type":"object"},"owner":{"description":"Optional owner label for the audited project. Defaults to audit.profile.root.","type":"string"},"projectRoot":{"description":"Project root relative to repoRoot as detected, such as . or packages/api.","type":"string"},"repoRoot":{"description":"Repository root to audit instead of passing audit; requires projectRoot.","type":"string"}},"required":[],"type":"object"},"name":"analyze_test_placement","outputArtifact":{"schemaPath":"schemas/test-placement-findings-v1.schema.json","schemaVersion":"test-placement-findings/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/test-placement-findings-v1.schema.json in the published package.","properties":{"auditCoverage":{"enum":["partial","none"]},"failedProjectCount":{"type":"integer"},"failedProjects":{"type":"array"},"findings":{"type":"array"},"schemaVersion":{"const":"test-placement-findings/v1"}},"required":["schemaVersion","findings"],"type":"object"},"title":"Analyze Test Placement"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Return a structured deferred result. This tool does not generate or write test code while native generation remains disabled.","inputSchema":{"additionalProperties":false,"properties":{"planItemId":{"description":"Stable plan item id selected for future generation.","type":"string"}},"required":["planItemId"],"type":"object"},"name":"generate_selected_test","outputArtifact":{"schemaPath":"schemas/generation-deferred-v1.schema.json","schemaVersion":"generation-deferred/v1"},"outputSchema":{"additionalProperties":false,"description":"Top-level shape of this artifact. The complete contract is schemas/generation-deferred-v1.schema.json in the published package.","properties":{"nextSteps":{"type":"array"},"planItemId":{"type":"string"},"reason":{"type":"string"},"schemaVersion":{"const":"generation-deferred/v1"},"status":{"const":"deferred"}},"required":["schemaVersion","planItemId","status","reason","nextSteps"],"type":"object"},"title":"Generate Selected Test (Deferred)"}]}}}
