smlflg's picture
Initial public upload from Projekte/AgentProjectMinenraeumer (part 9)
b67a1e9 verified
Raw History Blame Contribute Delete
877 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
python3 scripts/scan_projects.py
python3 scripts/create_project_cards.py
python3 scripts/triage_projects.py
python3 scripts/generate_jobs.py
python3 scripts/generate_github_issue_drafts.py
python3 verifier/verify_inventory.py
python3 verifier/verify_job_contracts.py
python3 verifier/verify_artifacts.py
python3 - <<'PY'
from pathlib import Path
import json
root=Path('.')
projects=sum(1 for _ in (root/'inventory'/'projects.jsonl').open(encoding='utf-8')) if (root/'inventory'/'projects.jsonl').exists() else 0
print(json.dumps({
'pipeline':'passed',
'projects':projects,
'project_cards':len(list((root/'inventory'/'project_cards').glob('*.md'))),
'pending_jobs':len(list((root/'jobs'/'pending').glob('*.json'))),
'issue_drafts':len(list((root/'github'/'issue_drafts').glob('*.md'))),
}, indent=2))
PY