Documentation
¶
Overview ¶
Package integration previews merges in a private object database. It never shares writable Git state with the user's repository. This is filesystem isolation, not an OS security sandbox; executing candidate code is opt-in.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionEvidence ¶
type ExecutionEvidence struct {
PlanRecord *evidence.Record `json:"plan_record,omitempty"`
ExecutionError string `json:"execution_error,omitempty"`
SelectionID string `json:"selection_id,omitempty"`
CWD string `json:"cwd,omitempty"`
Observation evidence.CandidateObservation `json:"observation"`
ID string `json:"id"`
CandidateCommit string `json:"candidate_commit"`
CandidateTree string `json:"candidate_tree"`
Base string `json:"base"`
Inputs []string `json:"inputs"`
PlanDigest string `json:"plan_digest,omitempty"`
Command []string `json:"command"`
Status model.Status `json:"status"`
ExitCode int `json:"exit_code"`
OutputDigest string `json:"output_digest"`
StartedAt string `json:"started_at"`
DurationMS int64 `json:"duration_ms"`
SourceAfterExecution string `json:"source_after_execution"`
}
ExecutionEvidence binds an observation to the combined tree and ordered inputs. Individual branch evidence is deliberately never consumed.
type Options ¶
type Options struct {
SuggestTests bool
Suite string
CWD string
Policy *gate.Policy
Plan *planning.Plan
Base string
Branches []string
Verify, AllowExecution bool
Command []string
Timeout time.Duration
PlanDigest string
// MaxCommands bounds a selected suite after grouping (default 16).
MaxCommands int
}
type Report ¶
type Report struct {
VerificationProposal *testselection.Proposal `json:"verification_proposal,omitempty"`
// Selection is the bounded execution plan for a --suite mode, including
// omitted commands and the reasons a required command did not run.
Selection *testselection.Selection `json:"selection,omitempty"`
Selected []string `json:"selected_tests,omitempty"`
Executions []ExecutionEvidence `json:"executions,omitempty"`
Gate gate.Result `json:"gate"`
Coverage []gate.Coverage `json:"coverage"`
Plan *planning.Report `json:"plan,omitempty"`
Status model.Status `json:"status"`
Base string `json:"base"`
Inputs []string `json:"inputs"`
CandidateCommit string `json:"candidate_commit,omitempty"`
CandidateTree string `json:"candidate_tree,omitempty"`
Conflicts []string `json:"conflicts"`
Changed []string `json:"changed"`
Affected []string `json:"affected"`
// AffectedBy maps each affected file to the changed files it reaches
// through inferred import dependencies.
AffectedBy map[string][]string `json:"affected_by,omitempty"`
Checks []Check `json:"checks"`
Findings []model.Finding `json:"findings"`
Diagnostics []model.Diagnostic `json:"diagnostics"`
Execution *ExecutionEvidence `json:"execution,omitempty"`
Limitations []string `json:"limitations"`
// ContractObligations lists base contract declarations the candidate
// removed, narrowed, moved or retired; see contracts.ObligationChange.
ContractObligations []contracts.ObligationChange `json:"contract_obligations,omitempty"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.