Coverage for src/governed_harness/domain/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.17.2, created at 2026-11-12 16:06 +0000

1from .enums import ( 

2 ActorType, 

3 CapabilityName, 

4 DecisionKind, 

5 ErrorKind, 

6 EvidenceKind, 

7 FindingSeverity, 

8 MemoryLevel, 

9 MetricQuality, 

10 PhaseId, 

11 RecommendationDecision, 

12 ResultStatus, 

13 ValidationKind, 

14) 

15from .errors import ( 

16 CancelledError, 

17 ConfigurationError, 

18 ExecutionBlockedError, 

19 GatePendingError, 

20 HarnessError, 

21 NotFoundError, 

22 PolicyViolationError, 

23) 

24from .ids import new_id 

25from .models import ( 

26 HARNESS_ACTOR, 

27 AcceptanceCriterion, 

28 Actor, 

29 AgentInvocation, 

30 Artifact, 

31 CapabilityGrant, 

32 ChangedFile, 

33 ChangeSet, 

34 ClarificationAnswer, 

35 ClarificationQuestion, 

36 ClarificationRecord, 

37 ClarificationRequest, 

38 ConfigurationSnapshot, 

39 Evidence, 

40 ExceptionRecord, 

41 ExceptionScope, 

42 Execution, 

43 FeedbackDecision, 

44 FeedbackFinding, 

45 FeedbackGate, 

46 FeedbackValidator, 

47 FilePatch, 

48 Finding, 

49 FindingLocation, 

50 GateEvaluation, 

51 HarnessErrorRecord, 

52 HumanDecision, 

53 ImplementationInstruction, 

54 MemoryRecord, 

55 OutcomeRecord, 

56 PhaseExecution, 

57 Plan, 

58 PlanStep, 

59 Provenance, 

60 ProviderFeedback, 

61 Recommendation, 

62 Requirement, 

63 ResourceUsage, 

64 Retrospective, 

65 RetrospectiveCause, 

66 RetrospectiveObservation, 

67 StrictModel, 

68 Task, 

69 ToolInvocation, 

70 ValidationResult, 

71 utc_now, 

72) 

73 

74__all__ = [ 

75 "AcceptanceCriterion", 

76 "Actor", 

77 "ActorType", 

78 "AgentInvocation", 

79 "Artifact", 

80 "CancelledError", 

81 "CapabilityGrant", 

82 "CapabilityName", 

83 "ChangeSet", 

84 "ChangedFile", 

85 "ClarificationAnswer", 

86 "ClarificationQuestion", 

87 "ClarificationRecord", 

88 "ClarificationRequest", 

89 "ConfigurationError", 

90 "ConfigurationSnapshot", 

91 "DecisionKind", 

92 "ErrorKind", 

93 "Evidence", 

94 "ExceptionRecord", 

95 "ExceptionScope", 

96 "EvidenceKind", 

97 "Execution", 

98 "ExecutionBlockedError", 

99 "FeedbackDecision", 

100 "FeedbackFinding", 

101 "FeedbackGate", 

102 "FeedbackValidator", 

103 "FilePatch", 

104 "Finding", 

105 "FindingLocation", 

106 "FindingSeverity", 

107 "GateEvaluation", 

108 "GatePendingError", 

109 "HARNESS_ACTOR", 

110 "HarnessError", 

111 "HarnessErrorRecord", 

112 "HumanDecision", 

113 "ImplementationInstruction", 

114 "MemoryLevel", 

115 "MemoryRecord", 

116 "MetricQuality", 

117 "NotFoundError", 

118 "PhaseExecution", 

119 "PhaseId", 

120 "Plan", 

121 "PlanStep", 

122 "PolicyViolationError", 

123 "Provenance", 

124 "ProviderFeedback", 

125 "Recommendation", 

126 "RecommendationDecision", 

127 "Requirement", 

128 "ResourceUsage", 

129 "ResultStatus", 

130 "OutcomeRecord", 

131 "Retrospective", 

132 "RetrospectiveCause", 

133 "RetrospectiveObservation", 

134 "StrictModel", 

135 "Task", 

136 "ToolInvocation", 

137 "ValidationKind", 

138 "ValidationResult", 

139 "new_id", 

140 "utc_now", 

141]