@cat-factory/kernel 0.247.0 → 0.248.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/domain/types.d.ts +1 -1
- package/dist/domain/types.d.ts.map +1 -1
- package/dist/ports/pr-report.d.ts +70 -19
- package/dist/ports/pr-report.d.ts.map +1 -1
- package/dist/shared/host-markdown.logic.d.ts +24 -0
- package/dist/shared/host-markdown.logic.d.ts.map +1 -1
- package/dist/shared/host-markdown.logic.js +48 -1
- package/dist/shared/host-markdown.logic.js.map +1 -1
- package/package.json +2 -2
package/dist/domain/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type { AgentKind, AgentState, AgentFailure, AgentFailureKind, AgentRunKind, ModelFamily, ModelFamilyPolicy, ModelPolicyMode, AccountRegion, ModelFamilyPolicyPreset, Block, BlockLevel, BlockStatus, BlockType, TaskType, CreateTaskType, TaskTypeFields, CustomTaskType, TaskTypeFieldDescriptor, TaskTypeFieldType, DescriptorFieldValue, DescriptorFieldValues, DocKind, Decision, EnvConfigRepairJob, EnvConfigRepairStatus, EnvironmentTestRun, EnvironmentTestStage, EnvironmentTestStatus, ExecutionInstance, ExecutionStatus, IntakeOrigin, InputGateIssue, InputGateIssueCode, InputGateMode, InputGateSeverity, InputGateStatus, RunInputGate, ResolveInputGateChoice, ResolveInputGateRequest, Pipeline, PipelineAvailability, PipelineStep, Position, PriorStepOutput, PromptFragment, PullRequestRef, PeerPullRequest, ReferenceRepo, AprioriBranch, SpendStatus, StepApproval, StepReviewComment, StepSubtasks, WebSearchAvailability, WebSearchProvider, Workspace, WorkspaceSnapshot, FragmentOwnerKind, FragmentTier, CreatePromptFragmentInput, CreateDocumentFragmentInput, UpdatePromptFragmentInput, FragmentSource, LinkFragmentSourceInput, FragmentSyncResult, FragmentSourceStatus, ResolvedFragment, ResolvedFragmentCatalog, Account, AccountType, AccountRole, AccountMember, CreateAccountInput, AddMemberInput, WorkspaceRole, WorkspacePermission, WorkspaceAccessMode, WorkspaceMember, Service, WorkspaceMount, MountServiceInput, UpdateMountInput, GitHubBranch, GitHubCheckRun, GitHubCommit, GitHubConnection, GitHubInstallationOption, GitHubAvailableRepo, GitHubIssue, GitHubIssueState, GitHubPullRequest, GitHubPullRequestState, OpenedPullRequest, GitHubRepo, RepoTreeEntry, SetRepoMonorepoInput, CommitFilesInput, LinkReposInput, OpenPullRequestInput, MergePullRequestInput, ProviderConfigFieldType, ProviderConfigField, ProviderDescriptor, ConnectionTestResult, ConnectionWarning, ConnectionWarningCode, UserSecretKind, UserSecretStatus, StoreUserSecretInput, TestUserSecretInput, UserSecretDescriptor, DocumentSourceKind, DocumentOrigin, DocumentLinkRole, DocumentSourceDescriptor, CredentialField, DocumentConnection, SourceDocument, DocumentSearchResult, DocumentBoardPlan, PlanFrame, PlanModule, PlanTask, TaskSourceKind, TaskSourceDescriptor, TaskSourceState, TaskSourceDiagnostic, TaskSourceDiagnosticStatus, TaskConnection, TaskComment, TaskDependencyLink, SourceTask, TaskSearchResult, TrackerBoard, BugCandidate, BugHuntAnalysis, BugHuntAnalysisStatus, BugHuntCandidate, BugHuntConfidence, BugHuntResult, RunBugHuntInput, EnvironmentSecretRef, EnvironmentAuthScheme, EnvironmentHttpMethod, EnvironmentRequestTemplate, EnvironmentStatus, TeardownConfirmation, EnvironmentAccessScheme, EnvironmentAccessMapping, EnvironmentResponseMapping, EnvironmentManifest, EnvironmentBackendConfig, EnvironmentBackendKind, KubernetesEnvironmentConfig, KubernetesManifestSource, KubernetesUrlSource, KubernetesRenderer, KubernetesImageOverride, KubernetesHelmRelease, KubernetesHelmSet, KubernetesSecretEntry, KubernetesSecretInjection, KubernetesProvisionConfig, CloudflareEnvironmentConfig, ProvisionType, EnvironmentFailureReason, InfraEngine, ManifestId, ServiceProvisioning, StackRecipe, RecipeStep, RecipeStepKind, RecipeHealthGate, RecipeEnvFile, PreflightCheckId, PreflightParams, PreflightRef, PreflightStatus, PreflightResult, FrontendConfig, FrontendBackendBinding, FrontendBackendSource, ResolvedFrontendBinding, LiveEnvHandle, ServiceConnection, KubernetesEngineConfig, InfraHandlerConfig, CustomManifestType, CustomManifestTypeSource, UpsertCustomManifestTypeInput, EnvironmentAccessHandle, EnvironmentHandle, EnvironmentConnection, TestEnvironmentConnectionInput, TestEnvironmentHandlerInput, ValidateEnvironmentRepoInput, BootstrapEnvironmentRepoInput, BootstrapRepoResult, TestSecretRef, TestSecretEntry, ServiceTestSecretsView, UpsertServiceTestSecretsInput, ProvisioningSubsystem, ProvisioningOperation, ProvisioningOutcome, ProvisioningLogEntry, RunnerPoolSecretRef, RunnerPoolAuthScheme, RunnerPoolRequestTemplate, RunnerJobState, RunnerPoolResponseMapping, RunnerPoolManifest, RunnerPoolConnection, TestRunnerPoolConnectionInput, RunnerBackendConfig, RunnerBackendKind, KubernetesRunnerConfig, KubernetesResourceQuantities, ReferenceArchitecture, CreateReferenceArchitectureInput, UpdateReferenceArchitectureInput, BootstrapStatus, BootstrapFailure, BootstrapFailureKind, BootstrapJob, BootstrapRepoInput, BlueprintModule, BlueprintService, BlueprintSource, BoardScanSpawnResult, ReviewItemCategory, ReviewItemSeverity, ReviewItemStatus, RequirementReviewItem, RequirementReviewStatus, RequirementReview, DocInterviewQa, DocInterviewStatus, DocInterviewSession, AnswerDocInterviewInput, KaizenGradingStatus, KaizenGrading, KaizenVerifiedCombo, KaizenOverview, KaizenRunGradings, RecommendationStatus, RequirementRecommendation, ReplyReviewItemInput, UpdateReviewItemStatusInput, IncorporateRequirementsInput, RequestRecommendationItem, RequestRecommendationsInput, ReRequestRecommendationInput, ResolveRequirementsExceededInput, ResolveRequirementsExceededChoice, FollowUpItemKind, FollowUpItemStatus, FollowUpItem, FollowUpsStepState, AnswerFollowUpInput, StreamedFollowUp, ForkOption, ForkChatMessage, ForkDecisionStatus, ForkChoice, ForkDecisionStepState, ForkChatRequestInput, ChooseForkInput, ForkProposal, JudgeFindingSeverity, JudgeFinding, JudgeVerdict, JudgeDisposition, JudgeStatus, JudgeRound, JudgeStepState, JudgeModelPin, JudgeModelPinStatus, ResolveJudgeInput, PrReviewSeverity, PrReviewCategory, PrReviewSlice, PrReviewSliceReview, PrReviewFinding, PrReviewFindingChallenge, PrReviewStatus, PrReviewResolution, PrReviewStepState, PrReviewPostReport, PrReviewPostFailure, PrReviewAgentOutput, PrReviewChallengeOutput, ResolvePrReviewInput, ChallengePrReviewFindingInput, ClarityReviewItem, ClarityReviewStatus, ClarityReview, ReplyClarityItemInput, UpdateClarityItemStatusInput, IncorporateClarityInput, ResolveClarityExceededInput, ResolveClarityExceededChoice, BrainstormStage, BrainstormItem, BrainstormStatus, BrainstormSession, ReplyBrainstormItemInput, UpdateBrainstormItemStatusInput, IncorporateBrainstormInput, ResolveBrainstormExceededInput, ResolveBrainstormExceededChoice, IterationCapChoice, ResolveIterationCapInput, RequirementPriority, RequirementKind,
|
|
2
2
|
/** Implementation state: agreed-but-not-built vs observed-to-hold. */
|
|
3
|
-
RequirementState, AcceptanceCriterion, RequirementItem, DomainRule, RequirementGroup, SpecModule, SpecDoc, CompanionAssessment, CompanionVerdict, GateStepState, GateFailingCheck, GateAttempt, RalphStepState, RalphVerdict, RalphAttempt, ValidationCheck, ValidationCheckOutcome, ValidationReport, ResolvedValidationChecks, ServiceValidationConfig, UpsertServiceValidationConfigInput, ReproductionProofMode, ResolvedReproduction, ReproductionStatus, ReproductionPhaseOutcome, ReproductionReport, HumanTestStepState, HumanTestEnvironment, HumanTestRound, RequestHumanTestFixInput, VisualConfirmStepState, VisualConfirmPair, VisualConfirmRound, MergeAssessment, MergeAxis, MergeDecision, MergeDecisionThresholds, MergeClassRule, MergeClassRules, ClassRulesByRole, SubmissionClassesByRole, RunMode, ChangeClass, ReviewEffort, MergeTrackDecision, MergeTrackRecord, MergeClassRollup, ReviewEffortDistribution, TagReviewEffortInput, PrVerificationReport, PrReportSectionStatus, PrReportStep, PrReportIssue, PrReportJudge, PrReportRun, PrReportCheck, PrReportCi, PrReportTestOutcome, PrReportTestConcern, PrReportTests, PrReportValidation, PrReportValidationCommand, PrReportReproduction, PrReportReproductionPhase, PrReportEnvironment, PrReportEnvironments, PrReportEnvironmentTimeline, PrReportTimelineGap, PrReportEnvironmentEvidence, PrReportEvidenceArtifact, PrReportRequirement, PrReportRequirements, PrReportMerge, PrReportObservability, RiskPolicy, RequirementConcernLevel, CreateRiskPolicyInput, UpdateRiskPolicyInput, ComposeFileRef, ComposeSource, ComposeSourceKind, SharedStack, SharedStackStatus, CreateSharedStackInput, UpdateSharedStackInput, DetectSharedStackInput, SharedStackRecommendation, ConsensusStrategy, ConsensusParticipant, ConsensusGating, StepGating, ConsensusStepConfig, ConsensusGroup, CreateConsensusGroupInput, UpdateConsensusGroupInput, TaskEstimate, ConsensusScore, ConsensusContribution, ConsensusRound, ConsensusSessionStatus, ConsensusSession, AgentConfigOption, AgentConfigDescriptor, AgentConfigCatalog, AgentConfigValues, TestReport, TestOutcome, TestConcern, TestConcernSeverity, RequirementVerdict, RequirementVerdictStatus, TesterQualityConfig, StepOptions, StepGateConfig, GateApproverPolicy, GateApprovalRecord, CloudProvider, InstanceSize, UpdateAccountInput, ModelFlavor, ModelPreset, CreateModelPresetInput, UpdateModelPresetInput, AgentPromptRevision, AgentPromptDetail, AgentPromptSummary, SaveAgentPromptInput, PromoteAgentPromptInput, WorkspaceAgentSettings, UpdateWorkspaceAgentSettingsInput, ServiceFragmentDefaults, SetServiceFragmentDefaultsInput, Notification, NotificationType, NotificationStatus, NotificationSeverity, NotificationPayload, ResolveNotificationAction, WorkspaceSettings, UpdateWorkspaceSettingsInput, TaskLimitMode, TaskLimitPerType, UserSettings, UpdateUserSettingsInput, TutorialProgress, TutorialDecision, UpdateTutorialProgressInput, TutorialEvent, RecordTutorialEventInput, SlackConnection, SlackRoute, SlackNotificationSettings, SlackMemberMappingEntry, SlackMemberRole, SlackMemberMapping, SlackChannel, ConnectSlackByTokenInput, UpdateSlackSettingsInput, UpdateSlackMemberMappingInput, ScheduleTemplate, Recurrence, IssueIntakeConfig, PipelineSchedule, ScheduleRun, CreateScheduleInput, UpdateScheduleInput, TrackerKind, TrackerSettings, PutTrackerSettingsInput, WritebackOverride, LlmCallActivity, SandboxPromptOrigin, SandboxPromptVersion, SandboxFixtureKind, SandboxRepoRef, SandboxFixtureObjective, SandboxFixture, SandboxExperimentStatus, SandboxMatrix, SandboxExperiment, SandboxRunStatus, SandboxTokenUsage, SandboxRun, SandboxGradeDimension, SandboxObjectiveResult, SandboxGrade, Initiative, InitiativeStatus, InitiativeItem, InitiativeItemStatus, InitiativePhase, InitiativeEstimate, InitiativePipelineRule, InitiativeExecutionPolicy, InitiativeDecision, InitiativeDeviation, InitiativeFollowUp, InitiativeQa, InitiativeQaStatus, InitiativeInterviewState, InitiativePlanDraft, InitiativeDraftItem, InitiativeVersion, CreateInitiativeInput, AnswerInitiativeQuestionInput, PromoteInitiativeFollowUpInput, UpdateInitiativeItemInput, UpdateInitiativePolicyInput, AccountSettingsConfig, ContentStorageConfig, LinearOAuthSecret, S3CredentialsSecret, SlackOAuthSecret, WebSearchSecret, } from '@cat-factory/contracts';
|
|
3
|
+
RequirementState, AcceptanceCriterion, RequirementItem, DomainRule, RequirementGroup, SpecModule, SpecDoc, CompanionAssessment, CompanionVerdict, GateStepState, GateFailingCheck, GateAttempt, RalphStepState, RalphVerdict, RalphAttempt, ValidationCheck, ValidationCheckOutcome, ValidationReport, ResolvedValidationChecks, ServiceValidationConfig, UpsertServiceValidationConfigInput, ReproductionProofMode, ResolvedReproduction, ReproductionStatus, ReproductionPhaseOutcome, ReproductionReport, HumanTestStepState, HumanTestEnvironment, HumanTestRound, RequestHumanTestFixInput, VisualConfirmStepState, VisualConfirmPair, VisualConfirmRound, MergeAssessment, MergeAxis, MergeDecision, MergeDecisionThresholds, MergeClassRule, MergeClassRules, ClassRulesByRole, SubmissionClassesByRole, RunMode, ChangeClass, ReviewEffort, MergeTrackDecision, MergeTrackRecord, MergeClassRollup, ReviewEffortDistribution, TagReviewEffortInput, PrVerificationReport, PrReportScope, PrReportOwnPullRequest, PrReportSectionStatus, PrReportStep, PrReportIssue, PrReportJudge, PrReportRun, PrReportCheck, PrReportCi, PrReportTestOutcome, PrReportTestConcern, PrReportTests, PrReportValidation, PrReportValidationCommand, PrReportReproduction, PrReportReproductionPhase, PrReportEnvironment, PrReportEnvironments, PrReportEnvironmentTimeline, PrReportTimelineGap, PrReportEnvironmentEvidence, PrReportEvidenceArtifact, PrReportRequirement, PrReportRequirements, PrReportMerge, PrReportObservability, RiskPolicy, RequirementConcernLevel, CreateRiskPolicyInput, UpdateRiskPolicyInput, ComposeFileRef, ComposeSource, ComposeSourceKind, SharedStack, SharedStackStatus, CreateSharedStackInput, UpdateSharedStackInput, DetectSharedStackInput, SharedStackRecommendation, ConsensusStrategy, ConsensusParticipant, ConsensusGating, StepGating, ConsensusStepConfig, ConsensusGroup, CreateConsensusGroupInput, UpdateConsensusGroupInput, TaskEstimate, ConsensusScore, ConsensusContribution, ConsensusRound, ConsensusSessionStatus, ConsensusSession, AgentConfigOption, AgentConfigDescriptor, AgentConfigCatalog, AgentConfigValues, TestReport, TestOutcome, TestConcern, TestConcernSeverity, RequirementVerdict, RequirementVerdictStatus, TesterQualityConfig, StepOptions, StepGateConfig, GateApproverPolicy, GateApprovalRecord, CloudProvider, InstanceSize, UpdateAccountInput, ModelFlavor, ModelPreset, CreateModelPresetInput, UpdateModelPresetInput, AgentPromptRevision, AgentPromptDetail, AgentPromptSummary, SaveAgentPromptInput, PromoteAgentPromptInput, WorkspaceAgentSettings, UpdateWorkspaceAgentSettingsInput, ServiceFragmentDefaults, SetServiceFragmentDefaultsInput, Notification, NotificationType, NotificationStatus, NotificationSeverity, NotificationPayload, ResolveNotificationAction, WorkspaceSettings, UpdateWorkspaceSettingsInput, TaskLimitMode, TaskLimitPerType, UserSettings, UpdateUserSettingsInput, TutorialProgress, TutorialDecision, UpdateTutorialProgressInput, TutorialEvent, RecordTutorialEventInput, SlackConnection, SlackRoute, SlackNotificationSettings, SlackMemberMappingEntry, SlackMemberRole, SlackMemberMapping, SlackChannel, ConnectSlackByTokenInput, UpdateSlackSettingsInput, UpdateSlackMemberMappingInput, ScheduleTemplate, Recurrence, IssueIntakeConfig, PipelineSchedule, ScheduleRun, CreateScheduleInput, UpdateScheduleInput, TrackerKind, TrackerSettings, PutTrackerSettingsInput, WritebackOverride, LlmCallActivity, SandboxPromptOrigin, SandboxPromptVersion, SandboxFixtureKind, SandboxRepoRef, SandboxFixtureObjective, SandboxFixture, SandboxExperimentStatus, SandboxMatrix, SandboxExperiment, SandboxRunStatus, SandboxTokenUsage, SandboxRun, SandboxGradeDimension, SandboxObjectiveResult, SandboxGrade, Initiative, InitiativeStatus, InitiativeItem, InitiativeItemStatus, InitiativePhase, InitiativeEstimate, InitiativePipelineRule, InitiativeExecutionPolicy, InitiativeDecision, InitiativeDeviation, InitiativeFollowUp, InitiativeQa, InitiativeQaStatus, InitiativeInterviewState, InitiativePlanDraft, InitiativeDraftItem, InitiativeVersion, CreateInitiativeInput, AnswerInitiativeQuestionInput, PromoteInitiativeFollowUpInput, UpdateInitiativeItemInput, UpdateInitiativePolicyInput, AccountSettingsConfig, ContentStorageConfig, LinearOAuthSecret, S3CredentialsSecret, SlackOAuthSecret, WebSearchSecret, } from '@cat-factory/contracts';
|
|
4
4
|
/**
|
|
5
5
|
* A backend-prepared file to inject into a container agent's `.cat-context/` directory before
|
|
6
6
|
* it runs — the deterministic analogue of the linked-doc context the executor already
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/domain/types.ts"],"names":[],"mappings":"AAIA,YAAY,EACV,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,uBAAuB,EACvB,KAAK,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,cAAc,E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mB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,6BAA6B,EAG7B,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,4BAA4B,EAC5B,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAG5B,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,+BAA+B,EAC/B,0BAA0B,EAC1B,8BAA8B,EAC9B,+BAA+B,EAE/B,kBAAkB,EAClB,wBAAwB,EAExB,mBAAmB,EACnB,eAAe;AACf,sEAAsE;AACtE,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,OAAO,EAEP,mBAAmB,EACnB,gBAAgB,EAEhB,aAAa,EACb,gBAAgB,EAChB,WAAW,EAEX,cAAc,EACd,YAAY,EACZ,YAAY,EAEZ,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,kCAAkC,EAElC,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAElB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,wBAAwB,EAExB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,aAAa,EACb,uBAAuB,EACvB,cAAc,EACd,eAAe,EAGf,gBAAgB,EAChB,uBAAuB,EACvB,OAAO,EAEP,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EAGpB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/domain/types.ts"],"names":[],"mappings":"AAIA,YAAY,EACV,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,a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AChB,2BAA2B,EAC3B,aAAa,EACb,wBAAwB,EAExB,eAAe,EACf,UAAU,EACV,yBAAyB,EACzB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,wBAAwB,EACxB,wBAAwB,EACxB,6BAA6B,EAE7B,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EAEnB,WAAW,EACX,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EAEjB,eAAe,EAEf,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,uBAAuB,EACvB,cAAc,EACd,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,sBAAsB,EACtB,YAAY,EAEZ,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC7B,8BAA8B,EAC9B,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,GAChB,MAAM,wBAAwB,CAAA;AAE/B;;;;;;;;GAQG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type { VcsProvider } from '../domain/vcs-types.js';
|
|
1
|
+
import type { VcsConnectionRef, VcsProvider } from '../domain/vcs-types.js';
|
|
2
2
|
/** Why a publish did nothing, when it didn't publish. */
|
|
3
3
|
export type PrReportSkipReason =
|
|
4
|
-
/** The block has no recorded pull request yet (nothing to write onto). */
|
|
5
|
-
'no_pull_request'
|
|
6
|
-
/** The block's repo could not be resolved (no linked repo projection row). */
|
|
7
|
-
| 'no_repo'
|
|
8
4
|
/** The PR body already carried exactly this section — no remote write was made. */
|
|
9
|
-
|
|
5
|
+
'unchanged';
|
|
10
6
|
/**
|
|
11
7
|
* Where a block's report would go, resolved by the adapter (which owns "which PR / which
|
|
12
8
|
* repo / which provider" — the engine has no VCS vocabulary of its own).
|
|
@@ -15,6 +11,15 @@ export type PrReportSkipReason =
|
|
|
15
11
|
* the run targeted. Deriving those from the run's own dispatch diagnostics instead would be a
|
|
16
12
|
* different question with a different answer: diagnostics record the MOST RECENT dispatch,
|
|
17
13
|
* which on a multi-repo task is a peer repo, not the repo whose PR is being written to.
|
|
14
|
+
*
|
|
15
|
+
* A multi-repo run resolves SEVERAL of these (see {@link PrVerificationReportPublisher.resolveTargets}),
|
|
16
|
+
* one per pull request it opened, and each gets its own composed report.
|
|
17
|
+
*
|
|
18
|
+
* A target is SELF-DESCRIBING: it carries everything the write needs, so publishing costs no
|
|
19
|
+
* second resolution. That is what keeps a run with N pull requests at ONE resolution per
|
|
20
|
+
* settlement rather than N (the no-N+1 rule), and it retires the failure mode the re-resolving
|
|
21
|
+
* shape had to defend against by hand — a report composed for one repo landing on another's PR
|
|
22
|
+
* is not a case to detect when the target names its own address.
|
|
18
23
|
*/
|
|
19
24
|
export interface PrReportTarget {
|
|
20
25
|
/** The pull/merge request the report is written onto. */
|
|
@@ -23,6 +28,29 @@ export interface PrReportTarget {
|
|
|
23
28
|
repo: string;
|
|
24
29
|
/** The VCS provider that repo lives on. */
|
|
25
30
|
provider: VcsProvider;
|
|
31
|
+
/**
|
|
32
|
+
* The connection the write goes through, in the neutral vocabulary (GitHub's installation id
|
|
33
|
+
* rides `connectionId`, mapped by `githubConnectionRef` / `githubInstallationId`). Resolved
|
|
34
|
+
* once, when the target is, so `publish` reads no repository at all.
|
|
35
|
+
*/
|
|
36
|
+
connection: VcsConnectionRef;
|
|
37
|
+
/**
|
|
38
|
+
* `own` for the task's own-service pull request — the only target a single-repo run has —
|
|
39
|
+
* and `peer` for a connected involved service's repo (`Block.peerPullRequests`).
|
|
40
|
+
*
|
|
41
|
+
* The engine composes a DIFFERENT report for each: the sections that are statements about
|
|
42
|
+
* the own-service repo (pre-PR validation, the reproduction proof, the `spec/` requirement
|
|
43
|
+
* join) are withheld from a peer's report rather than copied onto it, since a peer repo's
|
|
44
|
+
* checks were never the ones that ran. See the contracts' `prReportScopeSchema`.
|
|
45
|
+
*/
|
|
46
|
+
role: 'own' | 'peer';
|
|
47
|
+
/**
|
|
48
|
+
* The involved service frame whose repo this is, when the recorded peer PR attributed one.
|
|
49
|
+
* Null for the own-service target, and for a peer whose frame was not recorded.
|
|
50
|
+
*/
|
|
51
|
+
frameId?: string | null;
|
|
52
|
+
/** The pull request's web URL, when known — what a peer report links back to. */
|
|
53
|
+
url?: string | null;
|
|
26
54
|
}
|
|
27
55
|
/** The outcome of one publish attempt. */
|
|
28
56
|
export interface PrReportPublishResult {
|
|
@@ -30,27 +58,50 @@ export interface PrReportPublishResult {
|
|
|
30
58
|
published: boolean;
|
|
31
59
|
/** Set when `published` is false; see {@link PrReportSkipReason}. */
|
|
32
60
|
skipped?: PrReportSkipReason;
|
|
33
|
-
/** The pull request the report was written onto
|
|
34
|
-
prNumber
|
|
61
|
+
/** The pull request the report was written onto — the target's, always. */
|
|
62
|
+
prNumber: number;
|
|
35
63
|
}
|
|
36
64
|
export interface PrVerificationReportPublisher {
|
|
37
65
|
/**
|
|
38
|
-
* Resolve
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
66
|
+
* Resolve EVERY pull request the block's report should be published onto — the own-service
|
|
67
|
+
* PR first, then one per peer repo the run opened a PR in — or an empty array when there is
|
|
68
|
+
* nowhere to write yet (no recorded pull request, or no linked repo).
|
|
69
|
+
*
|
|
70
|
+
* The engine calls this FIRST: it short-circuits the compose for a run that has no PR (most
|
|
71
|
+
* runs, for most of their life) and supplies the repo/provider/role each report states. Never
|
|
72
|
+
* throws for an absent PR/repo; those are ordinary skips.
|
|
73
|
+
*
|
|
74
|
+
* Ordering is load-bearing: the own-service target is FIRST when it exists, because a peer
|
|
75
|
+
* report points back at it and the engine reads it from this list rather than re-resolving.
|
|
76
|
+
* A run whose peers opened PRs but whose own service did not yet returns peers only, and
|
|
77
|
+
* their reports say the own-service PR is not open rather than naming one that isn't there.
|
|
78
|
+
*
|
|
79
|
+
* This is the ONLY resolution a settlement pays for, however many pull requests the run
|
|
80
|
+
* opened: the block is read once, the run's repo set once, and every recorded peer PR is
|
|
81
|
+
* joined onto it (the no-N+1 rule). Each returned target then carries its own address, so the
|
|
82
|
+
* writes that follow read nothing.
|
|
42
83
|
*/
|
|
43
|
-
|
|
84
|
+
resolveTargets(workspaceId: string, blockId: string): Promise<PrReportTarget[]>;
|
|
44
85
|
/**
|
|
45
|
-
* Upsert the engine-managed verification-report section on
|
|
86
|
+
* Upsert the engine-managed verification-report section on ONE resolved pull request.
|
|
46
87
|
* `section` is the fully rendered markdown (human-readable prose + the fenced JSON block);
|
|
47
|
-
* the adapter reads
|
|
88
|
+
* the adapter reads that PR's current body, splices the marked region, and writes it back
|
|
48
89
|
* ONLY when it changed.
|
|
49
90
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
91
|
+
* `target` says where, and says it completely: it was resolved by {@link resolveTargets} and
|
|
92
|
+
* the caller composed `section` FOR it. Re-deriving "the block's pull request" here is how
|
|
93
|
+
* the body written and the report written into it would come to disagree about which repo
|
|
94
|
+
* they are about, which on a multi-repo run is not even a well-posed question.
|
|
95
|
+
*
|
|
96
|
+
* A transport failure MAY throw; the engine treats a failed publish as best-effort
|
|
97
|
+
* bookkeeping and never fails a run over it. A pull request that has been closed or deleted
|
|
98
|
+
* since it resolved surfaces as exactly that: a transport error, not a silent success.
|
|
99
|
+
*
|
|
100
|
+
* `workspaceId` states whose workspace the write is on behalf of. The GitHub adapter does not
|
|
101
|
+
* need it (the target is self-describing), but a write that cannot name its own scope is one
|
|
102
|
+
* an adapter which authorizes or logs per workspace could not implement, and the block id it
|
|
103
|
+
* replaced was only ever there to be re-resolved.
|
|
53
104
|
*/
|
|
54
|
-
publish(workspaceId: string,
|
|
105
|
+
publish(workspaceId: string, target: PrReportTarget, section: string): Promise<PrReportPublishResult>;
|
|
55
106
|
}
|
|
56
107
|
//# sourceMappingURL=pr-report.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr-report.d.ts","sourceRoot":"","sources":["../../src/ports/pr-report.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"pr-report.d.ts","sourceRoot":"","sources":["../../src/ports/pr-report.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAE3E,yDAAyD;AACzD,MAAM,MAAM,kBAAkB;AAC5B,mFAAmF;AACnF,WAAW,CAAA;AAEb;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,cAAc;IAC7B,yDAAyD;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAA;IACZ,2CAA2C;IAC3C,QAAQ,EAAE,WAAW,CAAA;IACrB;;;;OAIG;IACH,UAAU,EAAE,gBAAgB,CAAA;IAC5B;;;;;;;;OAQG;IACH,IAAI,EAAE,KAAK,GAAG,MAAM,CAAA;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iFAAiF;IACjF,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,0CAA0C;AAC1C,MAAM,WAAW,qBAAqB;IACpC,gEAAgE;IAChE,SAAS,EAAE,OAAO,CAAA;IAClB,qEAAqE;IACrE,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;;;;;;;;;;;;;;;OAkBG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAA;IAC/E;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CACL,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,qBAAqB,CAAC,CAAA;CAClC"}
|
|
@@ -57,6 +57,30 @@ export declare function cell(value: string): string;
|
|
|
57
57
|
* to a caller's own budget, before the escapes, exactly as in {@link prose}.
|
|
58
58
|
*/
|
|
59
59
|
export declare function inline(value: string, max?: number): string;
|
|
60
|
+
/**
|
|
61
|
+
* Render a LINK whose target is not trusted either.
|
|
62
|
+
*
|
|
63
|
+
* The other helpers here neutralise a value that becomes link TEXT; this one covers the other
|
|
64
|
+
* half of `[text](target)`, which a bare template hole leaves open. A URL reaches the report
|
|
65
|
+
* from the harness's own job result (a peer repo's pull-request URL is a string the container
|
|
66
|
+
* reported), so it is exactly as untrusted as the prose beside it, and it lands in a position
|
|
67
|
+
* with its own syntax: an unescaped `)` closes the target early and spills the rest of the URL
|
|
68
|
+
* into the document, taking whatever the caller wrote after it along.
|
|
69
|
+
*
|
|
70
|
+
* Rather than escape a hostile target into something that still resolves, an unusable one is
|
|
71
|
+
* simply NOT LINKED: the label renders on its own. So a caller cannot emit a link to a scheme
|
|
72
|
+
* the platform never meant to publish (`javascript:`, `data:`), and the degraded form is the
|
|
73
|
+
* plain text a reader can still act on. `http(s)` only, on purpose — every link this platform
|
|
74
|
+
* writes onto a host is a web URL.
|
|
75
|
+
*/
|
|
76
|
+
export declare function link(label: string, url: string | null | undefined): string;
|
|
77
|
+
/**
|
|
78
|
+
* {@link link}'s table-cell twin: the label is escaped with {@link cell}, so a pipe in it cannot
|
|
79
|
+
* open a new column. The same split as {@link cell} versus {@link inline} and
|
|
80
|
+
* {@link codeCell} versus {@link inlineCode}, and it exists so a link inside a table row is not
|
|
81
|
+
* the one position where the boundary quietly drops back to the weaker escape.
|
|
82
|
+
*/
|
|
83
|
+
export declare function cellLink(label: string, url: string | null | undefined): string;
|
|
60
84
|
/**
|
|
61
85
|
* Render untrusted text as a CODE SPAN in a markdown table cell (a command, a path, a stored id).
|
|
62
86
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-markdown.logic.d.ts","sourceRoot":"","sources":["../../src/shared/host-markdown.logic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"host-markdown.logic.d.ts","sourceRoot":"","sources":["../../src/shared/host-markdown.logic.ts"],"names":[],"mappings":"AA6BA,+FAA+F;AAC/F,eAAO,MAAM,eAAe,OAAQ,CAAA;AACpC,sEAAsE;AACtE,eAAO,MAAM,cAAc,MAAM,CAAA;AACjC,yEAAyE;AACzE,eAAO,MAAM,cAAc,KAAK,CAAA;AAChC;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,QAAS,CAAA;AAgHvC;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGlD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIlD;AAWD;;;;;;;GAOG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,GAAE,MAAwB,GAAG,MAAM,CAQ1E;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAK1C;AAED;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,GAAE,MAAuB,GAAG,MAAM,CAE1E;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAE9E;AA4CD;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,GAAE,MAAuB,GAAG,MAAM,CAE5E;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,GAAE,MAAuB,GAAG,MAAM,CAE9E;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIhD;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAIlD;AAED,gGAAgG;AAChG,wBAAgB,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,GAAG;IAAE,KAAK,EAAE,CAAC,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAG/E"}
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
// goes).
|
|
24
24
|
//
|
|
25
25
|
// Adding a field to any host-bound body means picking one of {@link inline}, {@link cell} or
|
|
26
|
-
// {@link prose} for it — never a bare template hole.
|
|
26
|
+
// {@link prose} for it — never a bare template hole. A field that becomes a link TARGET rather
|
|
27
|
+
// than link text picks {@link link}, which covers the other half of the same hole.
|
|
27
28
|
// ---------------------------------------------------------------------------
|
|
28
29
|
/** Free-text prose (a tester summary, a merge rationale) is capped at this many characters. */
|
|
29
30
|
export const MAX_PROSE_CHARS = 4_000;
|
|
@@ -213,6 +214,52 @@ export function cell(value) {
|
|
|
213
214
|
export function inline(value, max = MAX_CELL_CHARS) {
|
|
214
215
|
return inertLine(truncate(value.replace(/\s+/g, ' '), max));
|
|
215
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* Render a LINK whose target is not trusted either.
|
|
219
|
+
*
|
|
220
|
+
* The other helpers here neutralise a value that becomes link TEXT; this one covers the other
|
|
221
|
+
* half of `[text](target)`, which a bare template hole leaves open. A URL reaches the report
|
|
222
|
+
* from the harness's own job result (a peer repo's pull-request URL is a string the container
|
|
223
|
+
* reported), so it is exactly as untrusted as the prose beside it, and it lands in a position
|
|
224
|
+
* with its own syntax: an unescaped `)` closes the target early and spills the rest of the URL
|
|
225
|
+
* into the document, taking whatever the caller wrote after it along.
|
|
226
|
+
*
|
|
227
|
+
* Rather than escape a hostile target into something that still resolves, an unusable one is
|
|
228
|
+
* simply NOT LINKED: the label renders on its own. So a caller cannot emit a link to a scheme
|
|
229
|
+
* the platform never meant to publish (`javascript:`, `data:`), and the degraded form is the
|
|
230
|
+
* plain text a reader can still act on. `http(s)` only, on purpose — every link this platform
|
|
231
|
+
* writes onto a host is a web URL.
|
|
232
|
+
*/
|
|
233
|
+
export function link(label, url) {
|
|
234
|
+
return renderLink(inline(label), url);
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* {@link link}'s table-cell twin: the label is escaped with {@link cell}, so a pipe in it cannot
|
|
238
|
+
* open a new column. The same split as {@link cell} versus {@link inline} and
|
|
239
|
+
* {@link codeCell} versus {@link inlineCode}, and it exists so a link inside a table row is not
|
|
240
|
+
* the one position where the boundary quietly drops back to the weaker escape.
|
|
241
|
+
*/
|
|
242
|
+
export function cellLink(label, url) {
|
|
243
|
+
return renderLink(cell(label), url);
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* The shared half: emit `[text](url)` only for a target that is safe to put there, else the text
|
|
247
|
+
* alone. `text` is already escaped by the caller, which is what picks cell vs inline semantics.
|
|
248
|
+
*/
|
|
249
|
+
function renderLink(text, url) {
|
|
250
|
+
return url && SAFE_LINK_TARGET.test(url) ? `[${text}](${url})` : text;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* What may stand between `](` and `)`: an absolute web URL, and nothing else.
|
|
254
|
+
*
|
|
255
|
+
* A pattern rather than a URL parse, and not only because kernel has no host APIs. The question
|
|
256
|
+
* here is not "is this a valid URL" but "can this sit in a markdown target without escaping the
|
|
257
|
+
* syntax", and a parser answers the wrong one: it ACCEPTS the delimiters by percent-encoding
|
|
258
|
+
* them on the way in, so a round-trip through it would hand back a string that still closes the
|
|
259
|
+
* target early. Whitespace and the bracket family are refused for that reason; the `https?`
|
|
260
|
+
* anchor is what keeps a `javascript:`/`data:` target from ever being emitted as a link.
|
|
261
|
+
*/
|
|
262
|
+
const SAFE_LINK_TARGET = /^https?:\/\/[^\s()<>[\]]+$/i;
|
|
216
263
|
/**
|
|
217
264
|
* Wrap already-flattened text in a code span whose delimiter the text cannot break out of.
|
|
218
265
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-markdown.logic.js","sourceRoot":"","sources":["../../src/shared/host-markdown.logic.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,+EAA+E;AAC/E,EAAE;AACF,2FAA2F;AAC3F,6FAA6F;AAC7F,wFAAwF;AACxF,4FAA4F;AAC5F,4DAA4D;AAC5D,EAAE;AACF,yFAAyF;AACzF,qFAAqF;AACrF,6FAA6F;AAC7F,4FAA4F;AAC5F,2FAA2F;AAC3F,0CAA0C;AAC1C,EAAE;AACF,6FAA6F;AAC7F,8FAA8F;AAC9F,gFAAgF;AAChF,6FAA6F;AAC7F,6FAA6F;AAC7F,2FAA2F;AAC3F,SAAS;AACT,EAAE;AACF,6FAA6F;AAC7F,
|
|
1
|
+
{"version":3,"file":"host-mark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ACzB,IAAI,KAAK,IAAI,GAAG;QAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAA;IACpD,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,GAAG,GAAG,EAAE,KAAK,EAAE,CAAA;AACvE,CAAC;AAED,gGAAgG;AAChG,MAAM,UAAU,OAAO,CAAI,KAAmB;IAC5C,IAAI,KAAK,CAAC,MAAM,IAAI,cAAc;QAAE,OAAO,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAA;IAC5E,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,GAAG,cAAc,EAAE,CAAA;AAC1F,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/kernel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.248.0",
|
|
4
4
|
"description": "Shared vocabulary, pure logic, and port interfaces for the Agent Architecture Board.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"ai": "^7.0.51",
|
|
28
28
|
"yaml": "^2.9.0",
|
|
29
|
-
"@cat-factory/contracts": "0.
|
|
29
|
+
"@cat-factory/contracts": "0.250.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@stryker-mutator/core": "9.6.1",
|