Skip to content

Commit 856aeb4

Browse files
authored
Merge pull request #77 from alex-feel/alex-feel-dev
Add local file path support to environment configurations
2 parents 9d1606e + d8389ea commit 856aeb4

23 files changed

+712
-1819
lines changed

.github/workflows/validate-configs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ jobs:
6767
# Check if it's a template or library config
6868
if [[ "$config_file" == *"templates/"* ]]; then
6969
echo "Note: Template file - allowing placeholder values"
70-
python scripts/validate_environment_config.py "$config_file" || true
70+
uv run python scripts/validate_environment_config.py "$config_file" || true
7171
else
7272
# Library configs must pass strict validation
73-
if ! python scripts/validate_environment_config.py "$config_file" --strict; then
73+
if ! uv run python scripts/validate_environment_config.py "$config_file" --strict; then
7474
exit_code=1
7575
fi
7676
fi

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ repos:
6464
args: [--severity=warning]
6565

6666
- repo: https://github.com/commitizen-tools/commitizen
67-
rev: v4.8.4
67+
rev: v4.9.0
6868
hooks:
6969
- id: commitizen

agents/library/code-deep-researcher.md

Lines changed: 1 addition & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Your mission is to deliver a comprehensive code investigation report that fully
170170
- Partial understanding: Medium confidence
171171
- Ambiguous implementation: Low confidence
172172

173-
3. **Generate Structured Output:** (See schema below)
173+
3. **Generate Report:** Produce comprehensive code investigation findings
174174

175175
## 📚 Repository Registry
176176

@@ -221,161 +221,6 @@ Only clone repositories that are:
221221
2. Relevant to the current QUESTION
222222
3. Necessary for complete understanding
223223
224-
## 📋 Structured Output Schema (YAML)
225-
226-
```yaml
227-
question: <verbatim QUESTION from orchestrator>
228-
context:
229-
business_intent: <extracted from CONTEXT>
230-
technical_scope: <inferred scope>
231-
232-
repositories:
233-
- name: <repo-name>
234-
path: ./_repos/<repo-name>
235-
commit: <short-hash>
236-
status: cloned|updated|failed
237-
files_examined: <count>
238-
239-
search:
240-
terms: [list, of, search, terms]
241-
patterns: [grep, patterns, used]
242-
243-
discovered_signals:
244-
entry_points:
245-
- path: <file-path>
246-
lines: [start-end]
247-
type: main|api|event|configuration
248-
description: <what this entry point does>
249-
250-
key_components:
251-
- name: <component-name>
252-
path: <file-path>
253-
lines: [start-end]
254-
type: class|function|module|service
255-
responsibility: <what it does>
256-
257-
behavior_analysis:
258-
overview: |
259-
<Two-paragraph plain description of current behavior>
260-
261-
execution_flow:
262-
inputs:
263-
- source: <where input comes from>
264-
type: <data type/format>
265-
validation: <how it's validated>
266-
267-
processing_steps:
268-
- step: 1
269-
location: <file:lines>
270-
description: <what happens>
271-
data_transformation: <how data changes>
272-
273-
outputs:
274-
- destination: <where output goes>
275-
type: <data type/format>
276-
side_effects: [list]
277-
278-
configuration:
279-
files:
280-
- path: <config-file>
281-
relevant_sections: [section-names]
282-
283-
parameters:
284-
- name: <param-name>
285-
location: <file:lines>
286-
default: <default-value>
287-
effect: <how this influences behavior>
288-
289-
error_handling:
290-
- condition: <error-condition>
291-
location: <file:lines>
292-
handling: <how it's handled>
293-
recovery: <recovery strategy>
294-
295-
concurrency:
296-
threading_model: <sync|async|concurrent>
297-
synchronization: [mechanisms]
298-
race_conditions: [potential issues]
299-
300-
dependencies:
301-
internal:
302-
- from: <module>
303-
to: <module>
304-
type: import|inherit|compose|inject
305-
purpose: <why this dependency exists>
306-
307-
external:
308-
- library: <name>
309-
version: <if found>
310-
usage: <how it's used>
311-
location: <where imported>
312-
313-
impact_analysis:
314-
affected_modules:
315-
- path: <file-path>
316-
impact_level: direct|indirect
317-
reason: <why affected>
318-
319-
invariants:
320-
- invariant: <what must remain true>
321-
enforced_by: <mechanism>
322-
location: <file:lines>
323-
324-
risks:
325-
- risk: <potential issue>
326-
likelihood: high|medium|low
327-
mitigation: <how to avoid>
328-
329-
change_complexity:
330-
estimate: trivial|simple|moderate|complex|very_complex
331-
factors: [list of complicating factors]
332-
333-
evidence:
334-
files_read:
335-
- path: <file-path>
336-
lines: [start-end]
337-
purpose: <why this file was examined>
338-
key_findings: [list]
339-
340-
grep_results:
341-
- pattern: <regex-pattern>
342-
matches: <count>
343-
relevant_files: [paths]
344-
345-
test_coverage:
346-
- test_file: <path>
347-
covers: <what it tests>
348-
insights: <what tests reveal about behavior>
349-
350-
open_questions:
351-
- question: <specific question needing clarification>
352-
blocking: yes|no
353-
suggested_investigation: <next steps>
354-
355-
recommendations:
356-
implementation_approach: |
357-
<If change is needed, high-level approach>
358-
359-
further_investigation:
360-
- area: <what to investigate>
361-
reason: <why it matters>
362-
method: <how to investigate>
363-
364-
confidence: 0.95 # 0.00-1.00 scale
365-
confidence_factors:
366-
positive:
367-
- <what increased confidence>
368-
negative:
369-
- <what reduced confidence>
370-
371-
metadata:
372-
execution_time_ms: <integer>
373-
files_read: <count>
374-
grep_operations: <count>
375-
total_lines_analyzed: <approximate>
376-
repository_size_mb: <total size>
377-
```yaml
378-
379224
## ⚡ Performance & Concurrency Guidelines
380225
381226
### 🚀 CRITICAL: CONCURRENT EXECUTION FOR ALL ACTIONS

agents/library/code-reviewer.md

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -176,74 +176,6 @@ __Ultrathink throughout your entire workflow:__
176176
- __Good Practices:__ [Patterns to replicate]
177177
- __Excellent Documentation:__ [Notable examples]
178178

179-
## 📋 Structured Output Schema (YAML)
180-
181-
```yaml
182-
review_summary:
183-
metadata:
184-
reviewer: code-reviewer
185-
timestamp: 2024-12-20T10:30:00Z
186-
review_id: REV-2024-001
187-
duration_ms: 4500
188-
189-
scope:
190-
files_reviewed: 15
191-
lines_analyzed: 2340
192-
languages: [python, javascript]
193-
review_type: pull_request
194-
195-
findings:
196-
total_count: 23
197-
by_severity:
198-
critical: 2
199-
high: 5
200-
medium: 8
201-
low: 8
202-
by_category:
203-
security: 7
204-
performance: 4
205-
maintainability: 8
206-
testing: 4
207-
208-
critical_issues:
209-
- id: SEC-001
210-
type: sql_injection
211-
file: database/queries.py
212-
lines: [45, 67, 89]
213-
cwe: CWE-89
214-
owasp: A03:2021
215-
fix_required: true
216-
estimated_effort: 2h
217-
218-
quality_metrics:
219-
complexity:
220-
cyclomatic: 12.5
221-
cognitive: 8.3
222-
duplication: 5.2%
223-
test_coverage: 78%
224-
documentation: 65%
225-
226-
recommendations:
227-
immediate:
228-
- Fix SQL injection vulnerabilities
229-
- Add input validation for user data
230-
- Remove hardcoded credentials
231-
short_term:
232-
- Refactor complex functions
233-
- Increase test coverage to 85%
234-
- Update deprecated dependencies
235-
long_term:
236-
- Implement security scanning in CI/CD
237-
- Adopt architectural improvements
238-
- Establish code review checklist
239-
240-
risk_assessment:
241-
overall: HIGH
242-
security_risk: CRITICAL
243-
technical_debt: MEDIUM
244-
maintainability: GOOD
245-
```
246-
247179
## 🎯 Domain-Specific Review Categories
248180

249181
### Security Review Checklist

agents/library/doc-writer.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -147,65 +147,6 @@ __Think a lot throughout your entire workflow:__
147147
- __Troubleshooting:__ Common issues and solutions
148148
- __Next Steps:__ Where to go from here
149149

150-
## 📋 Structured Output Schema (YAML)
151-
152-
```yaml
153-
documentation_summary:
154-
metadata:
155-
doc_type: [api|guide|tutorial|reference|architecture]
156-
version: 1.0.0
157-
last_updated: 2024-12-20T10:30:00Z
158-
authors: [doc-writer]
159-
160-
coverage:
161-
total_items: 150
162-
documented: 145
163-
coverage_percent: 96.7
164-
missing_items:
165-
- internal/utils/helper.js
166-
- deprecated/old_api.py
167-
168-
sections_created:
169-
- name: API Reference
170-
files: [api.md, endpoints.md]
171-
items_documented: 45
172-
- name: Getting Started
173-
files: [quickstart.md]
174-
examples_included: 12
175-
- name: Architecture
176-
files: [architecture.md, decisions/adr-001.md]
177-
diagrams_created: 3
178-
179-
quality_metrics:
180-
readability_score: 72 # Flesch Reading Ease
181-
example_coverage: 0.89
182-
link_validity: 0.98
183-
completeness: 0.95
184-
185-
code_examples:
186-
total: 35
187-
languages: [python, javascript, bash]
188-
tested: 35
189-
working: 34
190-
191-
improvements_made:
192-
- Added missing parameter descriptions
193-
- Created 12 new code examples
194-
- Fixed 8 broken links
195-
- Updated deprecated API warnings
196-
- Added troubleshooting section
197-
198-
recommendations:
199-
immediate:
200-
- Document new v2 endpoints
201-
- Update migration guide
202-
- Fix broken example in auth.md
203-
future:
204-
- Add interactive API explorer
205-
- Create video tutorials
206-
- Translate to other languages
207-
```
208-
209150
## 🎯 Domain-Specific Documentation Types
210151

211152
### API Documentation Standards

0 commit comments

Comments
 (0)