mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-04 11:52:25 +00:00
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 <[email protected]>
This commit is contained in:
1 parent
5b188bca31
commit
e05e3c29c7
6 files changed
+32
-12
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -146,8 +146,8 @@ PR & COMMIT CONVENTIONS
|
||||
|
||||
- Branch: `ai/tests-<module>-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 <module>`
|
||||
- PR body must include:
|
||||
- Baseline test/coverage run summary
|
||||
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user