Skip to content

Commit 985e682

Browse files
committed
Add workflow for commit history analysis
1 parent ff63ba8 commit 985e682

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.github/workflows/ai-decision-memory.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -222,26 +222,26 @@ jobs:
222222
private async analyzeBatchWithLLM(commitBatch: string): Promise<string> {
223223
const prompt = `Analyze these software development commits and extract important decisions related to security, scalability, performance, compliance, architecture, and maintainability.
224224
225-
For each significant decision found, provide:
226-
1. The decision made
227-
2. The category (security/scalability/performance/compliance/architecture/maintainability)
228-
3. Why this decision matters
229-
4. Potential impact or concerns
230-
231-
Commits to analyze:
232-
${commitBatch}
233-
234-
Focus on decisions that would affect:
235-
- Security (auth, encryption, vulnerabilities)
236-
- Scalability (load handling, horizontal scaling)
237-
- Performance (optimization, caching, database)
238-
- Compliance (GDPR, HIPAA, audit trails)
239-
- Architecture (design patterns, technology choices)
240-
- Maintainability (testing, documentation, code quality)
241-
242-
Format as structured text with clear sections. Be concise but insightful.
243-
244-
Analysis:`;
225+
For each significant decision found, provide:
226+
1. The decision made
227+
2. The category (security/scalability/performance/compliance/architecture/maintainability)
228+
3. Why this decision matters
229+
4. Potential impact or concerns
230+
231+
Commits to analyze:
232+
${commitBatch}
233+
234+
Focus on decisions that would affect:
235+
- Security (auth, encryption, vulnerabilities)
236+
- Scalability (load handling, horizontal scaling)
237+
- Performance (optimization, caching, database)
238+
- Compliance (GDPR, HIPAA, audit trails)
239+
- Architecture (design patterns, technology choices)
240+
- Maintainability (testing, documentation, code quality)
241+
242+
Format as structured text with clear sections. Be concise but insightful.
243+
244+
Analysis:`;
245245
246246
try {
247247
const command = `${this.llamaPath} -m ${this.modelPath} -n 800 --temp 0.1 -p "${prompt.replace(/"/g, '\\"')}"`;

deepfence_agent/plugins/yara-rules

0 commit comments

Comments
 (0)