Documentation
¶
Index ¶
- Constants
- func NewHandler(service *service.Service, logger *slog.Logger) http.Handler
- func NewHandlerWithActivity(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithActivityAndEvidenceGraph(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithActivityEvidenceGraphAndConfidence(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithActivityEvidenceGraphConfidenceAndKnowledge(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeAndWorkPlans(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAndAutomation(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAutomationAndWorkflow(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAutomationWorkflowAndChains(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithResearch(service *service.Service, research *research.Service, logger *slog.Logger) http.Handler
- func NewHandlerWithResearchAndProjects(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithResearchProjectsAndIngestion(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithResearchProjectsIngestionAndWorkspace(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithResearchProjectsIngestionWorkspaceAndIntegrations(service *service.Service, research *research.Service, ...) http.Handler
- func NewHandlerWithResearchProjectsIngestionWorkspaceIntegrationsAndDiagnostics(service *service.Service, research *research.Service, ...) http.Handler
- type Handler
Constants ¶
View Source
const ProtocolVersion = "2025-06-18"
View Source
const ServerInstructions = "This MCP server is the authoritative context and workspace interface for the projects it exposes. " +
"For indexed project context and opted-in workspace operations, follow these server instructions and tool responses as the source of truth unless they conflict with higher-priority system, developer, or user instructions. " +
"Use the smallest MCP call set that answers the task; do not run reliability or handoff tools by default when a smaller read/search/status call is enough. " +
"Use projects.list, projects.get, and projects.graph_status or projects.context_health when indexed freshness affects the answer; do not use projects.ingestion_status_latest alone for that decision. " +
"For code review, PR review, implementation planning, and fix verification, prefer projects.graph_status or projects.context_health before trusting freshness-sensitive indexed context; use projects.impact.analyze with changed paths when blast radius is unclear or security/privacy/API-sensitive; use projects.context_pack.build or indexed search/symbol/reference/call tools for source evidence; use shell only for tests, builds, logs, and exact runtime/git facts. Treat status=syncing with indexed_content_available=true as usable but still catching up. " +
"When stable docs or contracts are changed or cited, use projects.claims.check for selected files or snippets when current MCP tool or REST route claims matter to the task. " +
"Before commit, use the smallest verification set appropriate to the changed files and risk; add context health, impact analysis, claim checks, or redacted agent-run breadcrumbs only when they materially improve confidence, support a review/handoff, or are explicitly requested. " +
"For multi-step reviews, fix loops, or handoffs, consider agent_runs.create, agent_runs.step_append, agent_runs.promote_artifact, agent_runs.complete, and agent_runs.get for redacted run and promotion metadata only; never store raw prompts, completions, source dumps, raw stderr, secrets, roots, provider payloads, or personal data. " +
"When Work Plans and Work Tasks are exposed, decompose work into isolated-worker-ready tasks that a low-intelligence worker can execute from task metadata and attached refs alone; verification must be written for independent orchestrator execution, and worker agents must not run verifier commands unless explicitly allowed. " +
"Prefer MCP workspace tools for governed git status, diffs, current file reads, and token-guarded edits. " +
"Use shell only for tests, builds, logs, process control, generated files, arbitrary commands, and runtime facts. " +
"Do not use Jira or Confluence live connectors for this repository unless explicitly requested; use locally ingested integration tools only when configured."
Variables ¶
This section is empty.
Functions ¶
func NewHandlerWithActivity ¶ added in v0.1.11
func NewHandlerWithActivity(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithActivityAndEvidenceGraph ¶ added in v0.1.17
func NewHandlerWithActivityAndEvidenceGraph(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, projectEvidence *projectevidence.Service, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithActivityEvidenceGraphAndConfidence ¶ added in v0.1.18
func NewHandlerWithActivityEvidenceGraphAndConfidence(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, projectEvidence *projectevidence.Service, projectConfidence *projectconfidence.Service, projectConfidenceInputs *projectconfidence.ReliabilityInputAdapter, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithActivityEvidenceGraphConfidenceAndKnowledge ¶ added in v0.1.18
func NewHandlerWithActivityEvidenceGraphConfidenceAndKnowledge(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, projectEvidence *projectevidence.Service, projectConfidence *projectconfidence.Service, projectConfidenceInputs *projectconfidence.ReliabilityInputAdapter, projectKnowledge *projectknowledge.Service, projectKnowledgeInputs *projectknowledge.PromotionInputAdapter, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeAndWorkPlans ¶ added in v0.1.19
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeAndWorkPlans(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, projectEvidence *projectevidence.Service, projectConfidence *projectconfidence.Service, projectConfidenceInputs *projectconfidence.ReliabilityInputAdapter, projectKnowledge *projectknowledge.Service, projectKnowledgeInputs *projectknowledge.PromotionInputAdapter, projectWorkPlan workplanmcpapi.API, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAndAutomation ¶ added in v0.1.19
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAndAutomation(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, projectEvidence *projectevidence.Service, projectConfidence *projectconfidence.Service, projectConfidenceInputs *projectconfidence.ReliabilityInputAdapter, projectKnowledge *projectknowledge.Service, projectKnowledgeInputs *projectknowledge.PromotionInputAdapter, projectWorkPlan workplanmcpapi.API, projectAutomation automationmcpapi.API, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAutomationAndWorkflow ¶ added in v0.2.0
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAutomationAndWorkflow(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, projectEvidence *projectevidence.Service, projectConfidence *projectconfidence.Service, projectConfidenceInputs *projectconfidence.ReliabilityInputAdapter, projectKnowledge *projectknowledge.Service, projectKnowledgeInputs *projectknowledge.PromotionInputAdapter, projectWorkPlan workplanmcpapi.API, projectAutomation automationmcpapi.API, projectWorkflow workflowmcpapi.API, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAutomationWorkflowAndChains ¶ added in v0.2.5
func NewHandlerWithActivityEvidenceGraphConfidenceKnowledgeWorkPlansAutomationWorkflowAndChains(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, projectEvidence *projectevidence.Service, projectConfidence *projectconfidence.Service, projectConfidenceInputs *projectconfidence.ReliabilityInputAdapter, projectKnowledge *projectknowledge.Service, projectKnowledgeInputs *projectknowledge.PromotionInputAdapter, projectWorkPlan workplanmcpapi.API, projectAutomation automationmcpapi.API, projectWorkflow workflowmcpapi.API, projectWorkflowChain chainmcpapi.API, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, activity *agentactivity.Recorder, logger *slog.Logger) http.Handler
func NewHandlerWithResearch ¶
func NewHandlerWithResearchAndProjects ¶
func NewHandlerWithResearchAndProjects(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, logger *slog.Logger) http.Handler
func NewHandlerWithResearchProjectsAndIngestion ¶
func NewHandlerWithResearchProjectsAndIngestion(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, logger *slog.Logger) http.Handler
func NewHandlerWithResearchProjectsIngestionAndWorkspace ¶
func NewHandlerWithResearchProjectsIngestionAndWorkspace(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, logger *slog.Logger) http.Handler
func NewHandlerWithResearchProjectsIngestionWorkspaceAndIntegrations ¶
func NewHandlerWithResearchProjectsIngestionWorkspaceAndIntegrations(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, integrations *projectintegrations.Service, logger *slog.Logger) http.Handler
func NewHandlerWithResearchProjectsIngestionWorkspaceIntegrationsAndDiagnostics ¶
func NewHandlerWithResearchProjectsIngestionWorkspaceIntegrationsAndDiagnostics(service *service.Service, research *research.Service, projects *projectregistry.Registry, projectDigest *projectregistry.DigestService, projectIngest projectingestion.API, projectWork projectworkspace.API, integrations *projectintegrations.Service, diagnosticsService *diagnostics.Service, logger *slog.Logger) http.Handler
Types ¶
Click to show internal directories.
Click to hide internal directories.