Documentation
¶
Overview ¶
CANARY: REQ=ENG-4317; FEATURE="GapService"; ASPECT=Engine; STATUS=IMPL; UPDATED=2025-10-17
Index ¶
- type Service
- func (s *Service) FormatGapsForInjection(reqID string) (string, error)
- func (s *Service) GenerateReport(reqID string) (string, error)
- func (s *Service) GetCategories() ([]*storage.GapCategory, error)
- func (s *Service) GetConfig() (*storage.GapConfig, error)
- func (s *Service) GetTopGapsForPlan(reqID string) ([]*storage.GapEntry, error)
- func (s *Service) MarkGap(...) (string, error)
- func (s *Service) MarkHelpful(gapID string) error
- func (s *Service) MarkUnhelpful(gapID string) error
- func (s *Service) QueryGaps(reqID, feature, aspect, category string, limit int) ([]*storage.GapEntry, error)
- func (s *Service) UpdateConfig(maxGapInjection, minHelpfulThreshold int, rankingStrategy string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides gap analysis business logic
func NewService ¶
func NewService(repo *storage.GapRepository) *Service
NewService creates a new gap analysis service
func (*Service) FormatGapsForInjection ¶
FormatGapsForInjection formats gaps for injection into plan command prompt
func (*Service) GenerateReport ¶
GenerateReport generates a gap analysis report for a requirement
func (*Service) GetCategories ¶
func (s *Service) GetCategories() ([]*storage.GapCategory, error)
GetCategories retrieves all available gap categories
func (*Service) GetTopGapsForPlan ¶
GetTopGapsForPlan retrieves top gaps for a requirement to inject into planning
func (*Service) MarkGap ¶
func (s *Service) MarkGap(reqID, feature, aspect, category, description, correctiveAction, createdBy string) (string, error)
MarkGap records a new gap analysis entry
func (*Service) MarkHelpful ¶
MarkHelpful marks a gap entry as helpful
func (*Service) MarkUnhelpful ¶
MarkUnhelpful marks a gap entry as unhelpful
Click to show internal directories.
Click to hide internal directories.