Skip to main content

Crate repoctl

Crate repoctl 

Source
Expand description

Public repoctl facade consumed by CLI and other frontends.

Modules§

diagnostic
Stable diagnostics and error types.
domain
Validated domain model and facade request/response DTOs.
manifest
YAML manifest parsing and raw-to-domain validation.
ports
Infrastructure and capability-service ports.

Structs§

AdoptedSource
Source repository selected for adoption.
AdoptionApplyRequest
Request to apply a reviewed adoption plan.
AdoptionFileOperation
Adoption file operation.
AdoptionPlan
Adoption plan.
AdoptionPlanRequest
Request to create an adoption plan.
AdoptionVerifyRequest
Request to verify a reviewed adoption plan.
AffectedReason
Reason attached to an affected result.
AffectedReport
Affected analysis report.
AffectedRequest
Request for affected analysis.
AiContext
AI context report.
AiContextRequest
Request for AI context.
BoundaryLintReport
Boundary lint report.
BoundaryLintRequest
Request to lint boundaries.
CdnCheck
CDN serving-layer check.
CdnSpec
CDN intent declared by a project manifest.
CiMatrixReport
CI matrix report.
CiMatrixRequest
Request for CI matrix generation.
CiWorkflowReport
Rendered CI workflow.
CiWorkflowRequest
Request to render a CI workflow.
CodeLanguageConfig
Per-language code-size settings.
CodeSizeConfig
Code-size inspection configuration.
CodeSizeFinding
Code-size finding.
CodeSizeInspectionReport
Code-size inspection report.
CodeSizeInspectionRequest
Request for code-size inspection.
CodeSizeInspectionSummary
Summary of one code-size inspection run.
CodeSizeOverride
Path-specific code-size override.
CodeSizeResolvedConfigSummary
Summary of resolved configuration values.
CodeSizeRuleConfig
Code-size rule settings.
CodeSizeRuleConfigPatch
Optional code-size rule patch.
CodeSizeRuleConfigPatchSet
Optional rule patch set.
CodeSizeRuleConfigSet
Code-size rule configuration set.
CodeSizeSkippedReason
Bounded count for skipped-file reasons.
CodegenCheckReport
Generated-code check report.
CodegenCheckRequest
Generated-code check request.
CommandSpec
Task run plan command in argv form.
DependencyRewrite
Dependency rewrite record.
DeploySpec
Project deployment specification.
Diagnostic
Stable, actionable diagnostic returned by repoctl operations.
DiagnosticSource
File and optional span associated with a diagnostic.
DiscoverRequest
Request to discover a repository.
DiscoveredEdge
Edge discovered by a language or toolchain adapter.
DnsOperation
DNS verification operation.
DnsRecordSpec
DNS record intent.
DoctorReport
Doctor report.
DoctorRequest
Request for repository health checks.
DoctorSection
One doctor section.
ExplainReport
Explanation report for a graph selector.
ExplainRequest
Request to explain a selector.
FileOperation
Planned file operation.
FixedRepoLocator
Fixed repo locator useful for tests.
GraphBuildInput
Input required to build a repository graph.
GraphEdge
Graph edge.
GraphNode
Graph node.
GraphPrintReport
Report returned for graph printing.
GraphPrintRequest
Request to print a graph.
GraphValidateRequest
Request to validate a graph and boundary policies.
HygieneCheckRequest
Hygiene request.
HygieneCleanRequest
Hygiene clean request.
HygieneReport
Hygiene report.
IacFacade
IaC command facade.
IacFacadeReport
IaC facade report.
IacFacadeRequest
IaC facade request.
IacOperation
One IaC operation in an operations plan.
IacSpec
Project IaC specification.
InMemoryRepoFileSystem
In-memory repo filesystem useful for service tests.
InitPlan
Repository initialization plan.
InitRequest
Request for repository initialization.
ManifestSource
Source bytes for one manifest.
ManualStateRecord
Manual cloud or infrastructure state that must be reconciled back into IaC.
NewProjectRequest
Request to create a new project.
OpsJournalReport
Journal command report.
OpsJournalRequest
Journal command request.
OpsPlan
Operations plan for day-2 infrastructure work.
OpsPlanRequest
Request for an operations plan.
OpsReconcileReport
Manual-state reconciliation report.
OpsReconcileRequest
Request for manual-state reconciliation.
OpsVerifyReport
Operations verification report.
OpsVerifyRequest
Request for non-mutating operations verification.
OwnerHandle
Owner handle such as @platform.
PolicyContext
Context passed to policy rules.
PrSummary
PR summary report.
PrSummaryRequest
Request for PR summary.
ProbeExpectation
Expected probe result.
ProbeSpec
Operational smoke probe.
ProcessCommand
Process command passed to a runner.
ProcessOutput
Process output from a runner.
ProjectAiSpec
Project AI edit policy.
ProjectAreas
Public and internal project areas used for boundary classification.
ProjectDependency
Validated dependency declaration.
ProjectDnsSpec
DNS intent declared by a project manifest.
ProjectManifest
Validated project manifest.
ProjectManifestSynthesis
Synthesized project manifest record.
ProjectName
Globally unique project identifier.
ProjectOpsSpec
Operations metadata declared by a project manifest.
ProjectProtoSpec
Project proto ownership and consumption specification.
ProjectRelativePath
Project-relative path that cannot escape its project root.
ProtoFacade
Proto command facade.
ProtoFacadeReport
Proto facade report.
ProtoFacadeRequest
Proto facade request.
ProtoPackageName
Proto package identifier.
ProviderCapabilityReport
Provider capability diagnostic.
ProviderCapabilityRequest
Request for provider capability diagnostics.
RenderPlan
Render plan returned by project and template operations.
RenderRequest
Template render request.
RenderedTemplate
Rendered template content.
RepoGlob
Glob pattern scoped to repo-relative or project-relative paths.
RepoGraph
Repository graph.
RepoInspectionConfig
Repository-level inspection configuration.
RepoManifest
Validated repo-level manifest.
RepoName
Name of a repo.
RepoPolicySet
Repo-level policy configuration.
RepoRelativePath
Repo-relative path that cannot escape the repo root.
RepoRoot
Absolute repository root.
RepoSnapshot
Snapshot of the discovered repository.
Repoctl
Typed repoctl facade.
ResolvedTemplateSource
Resolved template source and manifest.
RuntimeDependencySpec
Runtime dependency that should be healthy before declaring an operation complete.
SchemaId
Manifest schema identifier.
SessionEntry
One operations session entry.
SessionJournal
Local operations session journal.
SkillFileDiff
Diff for one generated skill file.
SkillsFacade
Skills command facade.
SkillsFacadeReport
Skills facade report.
SkillsFacadeRequest
Skills facade request.
SourceInventory
Source inventory collected before planning.
SourceSpan
One-based source span for diagnostics when line and column are known.
StaticGraphBuilder
Static graph builder useful for tests.
TaskCommand
Task command declared for a workspace.
TaskCommandOutput
Output from one task command.
TaskDependency
Task prerequisite edge.
TaskName
Task identifier unique within a project manifest.
TaskRunPlan
Task run plan.
TaskRunReport
Task run report.
TaskRunRequest
Request to run repo tasks.
TemplateFile
Template file declaration.
TemplateInput
Template input declaration.
TemplateListReport
Template listing report.
TemplateListRequest
Template listing request.
TemplateManifest
Template manifest.
TemplateRenderRequest
Template render request.
TemplateSummary
Template summary.
ToolPrerequisite
Required local tool.
ToolchainEnvironmentInput
Input passed to language-specific toolchain adapters.
ValidationReport
A report containing zero or more diagnostics.
VerificationPlan
Verification plan generated for adoption.
WalkRequest
Request for a bounded repository walk.
WorkspaceInspectionInput
Input passed to workspace inspectors.
WorkspaceName
Workspace identifier unique within a project.
WorkspaceSpec
Validated workspace specification.
YamlManifestParser
YAML-backed manifest parser using serde_norway.

Enums§

AdoptionCiMode
CI behavior for adoption planning.
AdoptionOutputFormat
Adoption output format.
CiFallback
CI fallback behavior.
CiProvider
Supported CI workflow provider.
CodeLanguage
Language supported by code-size inspection.
CodeSizeRuleKind
Code-size inspection rule.
CodeSizeScope
Scope used by code-size inspection.
DependencyRewriteMode
Dependency rewrite mode for adoption planning.
DependencySurface
Dependency target surface requested by a manifest or discovered adapter.
DependencyTarget
Dependency target.
DoctorStatus
Overall doctor status.
EdgeKind
Graph edge kind.
GeneratedCodeInspectionMode
Generated-code inspection mode.
GeneratedCodePolicy
Generated-code placement policy.
GraphNodeKind
Graph node kind.
IacProvider
IaC provider.
InitProfile
Init profile.
InspectionFailOn
Process exit behavior for inspection commands.
OpsJournalAction
Journal action.
PolicyMode
Policy enforcement mode.
ProjectKind
Project kind.
ProtoOperation
Proto operation.
RepoLayout
Repository layout supported by repoctl.
RepoctlError
Error type used by repoctl facade and capability services.
Severity
Severity level for a repoctl diagnostic.
TemplateSource
Template source selector.
Toolchain
Workspace execution toolchain.
ValidationMode
Graph validation mode.
Visibility
Project visibility.
WorkspaceLanguage
Workspace language.

Traits§

GraphBuilder
Builds a repository graph from validated manifests and adapter-discovered edges.
ManifestParser
Manifest parser boundary.
PolicyRule
Boundary or hygiene policy rule.
ProcessRunner
Runs a process in argv form.
RepoFileSystem
Filesystem operations used by repoctl services.
RepoLocator
Locates a repository root from a starting path.
TemplateEngine
Template engine boundary.
TemplateSourceResolver
Resolves built-in and repo-local template sources.
ToolchainAdapter
Supplies task environment variables for one workspace toolchain.
WorkspaceInspector
Inspects one workspace type for adapter-discovered dependencies.

Functions§

discovered_to_graph_edge
Converts a discovered edge into a graph edge.
utf8_path_buf
Converts a repo path to a UTF-8 path.
validate_project_convention
Validates project path conventions for the supported kinds.