From e05e3c29c7a51159c374bfc73b3763e02d00146e 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 10:44:51 +0000 Subject: [PATCH] docs(agents): execute prompt-curator-agent (2026-02-15) Executed prompt-curator-agent to audit the prompt library. - Verified file path references in all prompts. - Fixed broken paths in 4 prompts: - daily/bitvid-content-audit-agent.md - daily/bitvid-audit-agent.md - daily/bitvid-const-refactor-agent.md - weekly/bitvid-test-coverage-agent.md - Updated docs/agents/PROMPT_LIBRARY_STATUS.md - Created docs/agents/task-logs/daily/_completed.md Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- docs/agents/PROMPT_LIBRARY_STATUS.md | 8 +++++--- .../agents/prompts/daily/bitvid-audit-agent.md | 4 ++-- .../daily/bitvid-const-refactor-agent.md | 4 ++-- .../daily/bitvid-content-audit-agent.md | 6 +++--- .../weekly/bitvid-test-coverage-agent.md | 4 ++-- docs/agents/task-logs/daily/_completed.md | 18 ++++++++++++++++++ 6 files changed, 32 insertions(+), 12 deletions(-) create mode 100644 docs/agents/task-logs/daily/_completed.md diff --git a/docs/agents/PROMPT_LIBRARY_STATUS.md b/docs/agents/PROMPT_LIBRARY_STATUS.md index 3b454337..1e43c4af 100644 --- a/docs/agents/PROMPT_LIBRARY_STATUS.md +++ b/docs/agents/PROMPT_LIBRARY_STATUS.md @@ -1,6 +1,6 @@ # Prompt Library Status -Last updated: 2026-02-13 +Last updated: 2026-02-15 Run type: Daily ## Summary @@ -15,8 +15,10 @@ Run type: Daily | File | Issue | Status | |------|-------|--------| -| `weekly/bitvid-interop-agent.md` | Previously flagged as truncated | Verified complete (has Failure Modes, Outputs) | -| `weekly/bitvid-smoke-agent.md` | Previously flagged as truncated | Verified complete (has Failure Modes, Outputs) | +| `daily/bitvid-content-audit-agent.md` | Broken file paths | Fixed `upload-content.md`, `s3UploadService.js`, `UploadModal.js` paths | +| `daily/bitvid-audit-agent.md` | Incorrect script extension | Fixed `.js` -> `.py` for audit parsers | +| `daily/bitvid-const-refactor-agent.md` | Non-existent example path | Fixed `relayClient.js` -> `client.js` | +| `weekly/bitvid-test-coverage-agent.md` | Non-existent example paths | Fixed `parseEvent.js` -> `eventsMap.js`, `kvStore.js` -> `cache.js` | ## 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..467b1a94 100644 --- a/docs/agents/prompts/daily/bitvid-audit-agent.md +++ b/docs/agents/prompts/daily/bitvid-audit-agent.md @@ -123,9 +123,9 @@ 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 ...` - 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. diff --git a/docs/agents/prompts/daily/bitvid-const-refactor-agent.md b/docs/agents/prompts/daily/bitvid-const-refactor-agent.md index 8229957a..b5d8e2b8 100644 --- a/docs/agents/prompts/daily/bitvid-const-refactor-agent.md +++ b/docs/agents/prompts/daily/bitvid-const-refactor-agent.md @@ -80,7 +80,7 @@ DETAILED WORKFLOW (step-by-step) "value": 5000, "semantic": "fast relay timeout", "occurrences": [ - {"file": "js/relayManager.js", "line": 24, "context":"FAST_RELAY_TIMEOUT_MS"}, + {"file": "js/nostr/client.js", "line": 24, "context":"FAST_RELAY_TIMEOUT_MS"}, {"file": "js/nostr/watchHistory.js", "line": 10, "context":"FAST_PROFILE_TIMEOUT_MS"}, ... ] @@ -210,7 +210,7 @@ PR / REVIEW CHECKLIST (what maintainers expect) =============================================================================== EXAMPLE: end-to-end flow for 5000ms duplicates -- Discover `5000` appears in `js/relayManager.js`, `js/nostr/watchHistory.js`, `js/nostr/relayClient.js`. +- Discover `5000` appears in `js/nostr/client.js`, `js/nostr/watchHistory.js`. - Determine these uses are all "fast relay timeout" semantics. - Check `js/nostr/relayConstants.js` — no `FAST_RELAY_TIMEOUT_MS`. Decide to add: ```js diff --git a/docs/agents/prompts/daily/bitvid-content-audit-agent.md b/docs/agents/prompts/daily/bitvid-content-audit-agent.md index 92204a4d..7202765a 100644 --- a/docs/agents/prompts/daily/bitvid-content-audit-agent.md +++ b/docs/agents/prompts/daily/bitvid-content-audit-agent.md @@ -49,7 +49,7 @@ Each phase below includes concrete steps and deliverables. Goal: build a complete mapping: `/content` page → concrete claims → code locations that implement the claim. Steps: -- List every page in `/content` related to uploading, contributing, or media (e.g., `content/docs/upload.md`, `content/contribute/*`, `content/guides/*`). Use: +- List every page in `/content` related to uploading, contributing, or media (e.g., `content/docs/guides/upload-content.md`, `content/contribute/*`, `content/guides/*`). Use: ``` rg --hidden --files --glob 'content/**' | rg '/content/' -n @@ -67,7 +67,7 @@ rg --hidden --files --glob 'content/**' | rg '/content/' -n - Licensing & attribution templates and policies - How to edit/delete content and check status - For each claim, find the authoritative code location(s) — the file(s) and function(s) implementing it: -- Upload UI: look under `js/` for upload modal/upload service controllers (e.g., `js/services/uploadService.js`, `js/ui/uploadModal.js`). +- Upload UI: look under `js/` for upload modal/upload service controllers (e.g., `js/services/s3UploadService.js`, `js/ui/components/UploadModal.js`). - API endpoints: search backend server for upload handlers (e.g., `server/` or `api/`). - Storage/processing: check any `torrent/`, `storage/`, or `cloud` integration code. - Moderation code: e.g., `js/userBlocks.js`, moderation service. @@ -77,7 +77,7 @@ rg --hidden --files --glob 'content/**' | rg '/content/' -n - Produce a deliverable CSV or markdown table: ``` -/content/path.md | Claim: "Max file size 100MB" | Code: js/services/uploadService.js#L123-L160 | Verified? (unknown) +/content/path.md | Claim: "Max file size 100MB" | Code: js/services/s3UploadService.js#L123-L160 | Verified? (unknown) ``` diff --git a/docs/agents/prompts/weekly/bitvid-test-coverage-agent.md b/docs/agents/prompts/weekly/bitvid-test-coverage-agent.md index e0f92824..e0be1542 100644 --- a/docs/agents/prompts/weekly/bitvid-test-coverage-agent.md +++ b/docs/agents/prompts/weekly/bitvid-test-coverage-agent.md @@ -146,8 +146,8 @@ PR & COMMIT CONVENTIONS - Branch: `ai/tests--YYYYMMDD` - Commit message examples: - - `test(ai): add unit tests for js/nostr/parseEvent.js (agent)` - - `test(ai): add fake-indexeddb tests for js/state/kvStore.js (agent)` + - `test(ai): add unit tests for js/nostr/eventsMap.js (agent)` + - `test(ai): add fake-indexeddb tests for js/state/cache.js (agent)` - PR title: `test(ai): add unit tests for ` - PR body must include: - Baseline test/coverage run summary diff --git a/docs/agents/task-logs/daily/_completed.md b/docs/agents/task-logs/daily/_completed.md new file mode 100644 index 00000000..bab25a68 --- /dev/null +++ b/docs/agents/task-logs/daily/_completed.md @@ -0,0 +1,18 @@ +# Daily Agent Run: prompt-curator-agent + +**Date**: 2026-02-15 +**Agent**: prompt-curator-agent +**Status**: Completed + +## Summary +Executed `prompt-curator-agent` to audit the prompt library. +- Verified file path references in all prompts. +- Found and fixed broken paths in 4 prompts: + - `daily/bitvid-content-audit-agent.md`: Fixed paths to upload guide, upload service, and modal component. + - `daily/bitvid-audit-agent.md`: Fixed script extensions (.js -> .py). + - `daily/bitvid-const-refactor-agent.md`: Fixed example path (relayClient.js -> client.js). + - `weekly/bitvid-test-coverage-agent.md`: Fixed example paths (parseEvent.js -> eventsMap.js). +- Updated `docs/agents/PROMPT_LIBRARY_STATUS.md` with verified fixes. + +## Artifacts +- `docs/agents/PROMPT_LIBRARY_STATUS.md` (Updated)