mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
docs(agents): prompt library maintenance — 2026-02-15
- Updated `docs/agents/prompts/daily/bitvid-audit-agent.md` to reference the correct Python audit parsing scripts in `scripts/agent/audit-parsers/`. - Updated `docs/agents/PROMPT_LIBRARY_STATUS.md` with the fix. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
fc414e35ff
commit
8e7074b53b
3 files changed
+15
-6
No files matched your search
@@ -15,8 +15,7 @@ Run type: Daily
|
||||
|
||||
| File | Issue | Status |
|
||||
|------|-------|--------|
|
||||
| `daily/bitvid-innerhtml-migration-agent.md` | Missing output directory creation (`perf/innerhtml`) | Fixed: added `mkdir -p` to workflow |
|
||||
| `daily/bitvid-decompose-agent.md` | Missing output directory creation (`perf/decompose`) | Fixed: added `mkdir -p` to workflow |
|
||||
| `daily/bitvid-audit-agent.md` | Misleading Node.js parser examples | Fixed: updated to reference existing Python parsers in `scripts/agent/audit-parsers/` |
|
||||
|
||||
## Known Remaining Issues
|
||||
|
||||
|
||||
@@ -123,12 +123,14 @@ ADDITIONAL GUIDANCE & BEST PRACTICES
|
||||
===============================================================================
|
||||
SEARCH / PARSING HELPER SCRIPTS (examples)
|
||||
- Parse file-size raw log into JSON:
|
||||
- `node scripts/parse-file-size-report.js artifacts/audit/YYYY-MM-DD/raw-check-file-size.log > artifacts/audit/YYYY-MM-DD/file-size-report.json`
|
||||
- `python3 scripts/agent/audit-parsers/parse_file_size.py artifacts/audit/YYYY-MM-DD/raw-check-file-size.log > artifacts/audit/YYYY-MM-DD/file-size-report.json`
|
||||
- Parse innerHTML log similarly:
|
||||
- `node scripts/parse-innerhtml-report.js ...`
|
||||
- `python3 scripts/agent/audit-parsers/parse_innerhtml.py artifacts/audit/YYYY-MM-DD/raw-check-innerhtml.log > artifacts/audit/YYYY-MM-DD/innerhtml-report.json`
|
||||
- Parse lint log similarly:
|
||||
- `python3 scripts/agent/audit-parsers/parse_lint.py artifacts/audit/YYYY-MM-DD/raw-lint.log > artifacts/audit/YYYY-MM-DD/lint-report.json`
|
||||
- If the repo’s scripts support `--json` or `--output`, prefer those flags.
|
||||
|
||||
If such parsers do not exist, implement tiny Node scripts that reliably parse the scripts’ expected output.
|
||||
Use the existing Python parsers in `scripts/agent/audit-parsers/`. Do not implement new Node.js parsers unless necessary.
|
||||
|
||||
===============================================================================
|
||||
REPORT FORMAT (Markdown snippet to post)
|
||||
@@ -216,7 +218,7 @@ FIRST-RUN CHECKLIST (do this now)
|
||||
- `npm run lint`
|
||||
- Save raw outputs to `artifacts/audit/$(date +%F)/`
|
||||
- Record commands & outputs in `test_logs/TEST_LOG_<timestamp>.md`
|
||||
4. Parse outputs into JSON (use existing script or small Node parser).
|
||||
4. Parse outputs into JSON (use existing Python parsers in `scripts/agent/audit-parsers/` or implement small Python scripts).
|
||||
5. Compute metrics and compare with the last report (search issues/PRs).
|
||||
6. Create `artifacts/audit/$(date +%F)/summary.md`.
|
||||
7. Post summary comment on existing audit issue/PR or open a new `Audit Report — YYYY-MM-DD` issue (label `audit-report`) with artifacts attached.
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# Daily Agent Run: prompt-curator-agent
|
||||
|
||||
**Date:** 2026-02-15
|
||||
**Status:** Completed
|
||||
|
||||
## Changes
|
||||
- Updated `docs/agents/prompts/daily/bitvid-audit-agent.md` to reference the correct Python audit parsing scripts in `scripts/agent/audit-parsers/`.
|
||||
- Updated `docs/agents/PROMPT_LIBRARY_STATUS.md` with the fix.
|
||||
Reference in new issue
Block a user