From 8e7074b53b4640b3dff18b2de2d160ac385a6d3f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 15 Feb 2026 16:43:41 +0000 Subject: [PATCH] =?UTF-8?q?docs(agents):=20prompt=20library=20maintenance?= =?UTF-8?q?=20=E2=80=94=202026-02-15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 <53631862+PR0M3TH3AN@users.noreply.github.com> --- docs/agents/PROMPT_LIBRARY_STATUS.md | 3 +-- docs/agents/prompts/daily/bitvid-audit-agent.md | 10 ++++++---- ...26-02-15_16-43-00_prompt-curator-agent_completed.md | 8 ++++++++ 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 docs/agents/task-logs/daily/2026-02-15_16-43-00_prompt-curator-agent_completed.md diff --git a/docs/agents/PROMPT_LIBRARY_STATUS.md b/docs/agents/PROMPT_LIBRARY_STATUS.md index 0b415c95..4d51edbd 100644 --- a/docs/agents/PROMPT_LIBRARY_STATUS.md +++ b/docs/agents/PROMPT_LIBRARY_STATUS.md @@ -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 diff --git a/docs/agents/prompts/daily/bitvid-audit-agent.md b/docs/agents/prompts/daily/bitvid-audit-agent.md index 584d45e0..e8ac4ea7 100644 --- a/docs/agents/prompts/daily/bitvid-audit-agent.md +++ b/docs/agents/prompts/daily/bitvid-audit-agent.md @@ -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_.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. diff --git a/docs/agents/task-logs/daily/2026-02-15_16-43-00_prompt-curator-agent_completed.md b/docs/agents/task-logs/daily/2026-02-15_16-43-00_prompt-curator-agent_completed.md new file mode 100644 index 00000000..61712f0b --- /dev/null +++ b/docs/agents/task-logs/daily/2026-02-15_16-43-00_prompt-curator-agent_completed.md @@ -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.