Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/repo-audit-analyzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Conduct a comprehensive audit of the target repository to discover patterns, ine

- **Target Repository**: ${{ inputs.repository }}
- **Analysis Date**: $(date +%Y-%m-%d)
- **Cache Location**: `/tmp/gh-aw/cache-memory/repo-audits/`
- **Cache Location**: `/tmp/gh-aw/cache-memory-repo-audits/`

## Phase 0: Setup and Repository Discovery

Expand All @@ -58,13 +58,13 @@ Check if this repository has been analyzed before:

```bash
# Create cache directory if it doesn't exist
mkdir -p /tmp/gh-aw/cache-memory/repo-audits/
mkdir -p /tmp/gh-aw/cache-memory-repo-audits/

# Check for previous analysis
REPO_SLUG=$(echo "${{ inputs.repository }}" | tr '/' '_')
if [ -f "/tmp/gh-aw/cache-memory/repo-audits/${REPO_SLUG}.json" ]; then
if [ -f "/tmp/gh-aw/cache-memory-repo-audits/${REPO_SLUG}.json" ]; then
echo "Found previous analysis:"
cat "/tmp/gh-aw/cache-memory/repo-audits/${REPO_SLUG}.json"
cat "/tmp/gh-aw/cache-memory-repo-audits/${REPO_SLUG}.json"
fi
```

Expand Down Expand Up @@ -657,9 +657,9 @@ safe-outputs:
[Document what was stored in cache for future analysis]

**Stored Data:**
- Repository metadata: `/tmp/gh-aw/cache-memory/repo-audits/${REPO_SLUG}.json`
- Workflow patterns: `/tmp/gh-aw/cache-memory/repo-audits/${REPO_SLUG}_workflows.json`
- Issue patterns: `/tmp/gh-aw/cache-memory/repo-audits/${REPO_SLUG}_issues.json`
- Repository metadata: `/tmp/gh-aw/cache-memory-repo-audits/${REPO_SLUG}.json`
- Workflow patterns: `/tmp/gh-aw/cache-memory-repo-audits/${REPO_SLUG}_workflows.json`
- Issue patterns: `/tmp/gh-aw/cache-memory-repo-audits/${REPO_SLUG}_issues.json`

**Next Analysis:**
- Recommended re-analysis: 30 days
Expand Down Expand Up @@ -704,7 +704,7 @@ After generating the report, save analysis data for future reference:
# Save repository metadata
REPO_SLUG=$(echo "${{ inputs.repository }}" | tr '/' '_')

cat > "/tmp/gh-aw/cache-memory/repo-audits/${REPO_SLUG}.json" << EOF
cat > "/tmp/gh-aw/cache-memory-repo-audits/${REPO_SLUG}.json" << EOF
{
"repository": "${{ inputs.repository }}",
"analysis_date": "$(date +%Y-%m-%d)",
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/repository-quality-improver.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ Daily or on-demand, select a focus area for repository improvement, conduct anal

- **Repository**: ${{ github.repository }}
- **Run Date**: $(date +%Y-%m-%d)
- **Cache Location**: `/tmp/gh-aw/cache-memory/focus-areas/`
- **Cache Location**: `/tmp/gh-aw/cache-memory-focus-areas/`
- **Strategy Distribution**: ~60% custom areas, ~30% standard categories, ~10% reuse for consistency

## Phase 0: Setup and Focus Area Selection

### 0.1 Load Focus Area History

Check the cache memory folder `/tmp/gh-aw/cache-memory/focus-areas/` for previous focus area selections:
Check the cache memory folder `/tmp/gh-aw/cache-memory-focus-areas/` for previous focus area selections:

```bash
# Check if history file exists
if [ -f /tmp/gh-aw/cache-memory/focus-areas/history.json ]; then
cat /tmp/gh-aw/cache-memory/focus-areas/history.json
if [ -f /tmp/gh-aw/cache-memory-focus-areas/history.json ]; then
cat /tmp/gh-aw/cache-memory-focus-areas/history.json
fi
```

Expand Down Expand Up @@ -464,7 +464,7 @@ After generating the report, update the focus area history:

```bash
# Create or update history.json
cat > /tmp/gh-aw/cache-memory/focus-areas/history.json << 'EOF'
cat > /tmp/gh-aw/cache-memory-focus-areas/history.json << 'EOF'
{
"runs": [...previous runs, {
"date": "$(date +%Y-%m-%d)",
Expand Down
Loading