Commit Graph
73 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN b8cbf7ca84 chore: daily nip-research-agent run
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 23:46:06 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3aa24f3ff2 daily: nip-research-agent NIP-42 update
- Research NIP-42 compliance.
- Update NIP_INVENTORY.md (NIP-42: Non-compliant).
- Add artifacts/nips/42.md.
- Generate nip-report-2026-02-21.md.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:46:44 +00:00
google-labs-jules[bot]andPR0M3TH3AN d488c4f3a2 chore(daily): execute audit-agent task 2026-02-21
Executed daily static audits:
- File Size Check: 43 grandfathered files
- InnerHTML Check: 37 assignments
- Lint Check: Passed

Generated artifacts in artifacts/audit/2026-02-21/.
Created daily completion log in docs/agents/task-logs/daily/.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 17:58:09 +00:00
google-labs-jules[bot]andPR0M3TH3AN 30402c2614 chore(ai): doc js/services/playbackService.js (docs-code-investigator)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 18:51:13 +00:00
google-labs-jules[bot]andPR0M3TH3AN 17930883bd chore(deps): deps-security-agent run & bump stylelint to 16.26.1
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 14:44:08 +00:00
google-labs-jules[bot]andPR0M3TH3AN fab2effffa docs(audit): content-audit-agent run 2026-02-19
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 21:56:20 +00:00
google-labs-jules[bot]andPR0M3TH3AN 21d5126d8c docs: deps-security-agent report 2026-02-19
- Audit dependencies.
- Verify jsdom 28.1.0.
- Generate artifacts/deps-report.md.
- Create completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 20:40:04 +00:00
google-labs-jules[bot]andPR0M3TH3AN bd6ca5b54e [decompose] extract BlockList and EditProfile from ProfileModalController
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 20:10:37 +00:00
google-labs-jules[bot]andPR0M3TH3AN f041719474 chore(docs): content audit 2026-02-19
- Verified /content/docs/guides/upload-content.md against codebase
- Corrected comments in config/instance-config.js regarding moderation thresholds
- Created inventory, verification, and validation artifacts

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 19:02:02 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6437514969 chore(scheduler): Daily test audit 2026-02-19
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 01:10:26 +00:00
google-labs-jules[bot]andPR0M3TH3AN ca4ab3651c docs(agents): sync scheduler rosters with prompt directory
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 21:00:30 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3f3598cb63 feat(agents): Execute nip-research-agent (NIP-65 compliance)
- Create tests/nostr-specs/nip65_compliance.test.mjs to verify Kind 10002 behavior
- Update NIP_INVENTORY.md status for NIP-65 (Partial -> Compliant)
- Generate nip-report-2026-02-18.md
- Add agent state files (context, todo, decisions, test_logs)
- Add completion log in docs/agents/task-logs/daily/

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 17:07:47 +00:00
thePR0M3TH3AN 83e455a803 Merge branch 'unstable' into perf-bound-dm-concurrency-10616621699713195657 2026-02-18 10:32:30 -05:00
google-labs-jules[bot]andPR0M3TH3AN 106f7640c4 fix(exploreData): trigger refresh immediately on visibility change
- `handleVisibility` only scheduled intervals but didn't trigger an immediate refresh when returning to the tab.
- This caused `tests/unit/services/exploreDataService.test.mjs` to fail (assertion `0 !== 1`).
- Added explicit calls to `refreshWatchHistoryTagCounts` and `refreshTagIdf` when `document.hidden` becomes false.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 15:10:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN f1c83534d6 perf: bound DM subsystem network concurrency & fix CI lint/tests
- Replaced unbounded `Promise.all` with `pMap` and `RELAY_BACKGROUND_CONCURRENCY || 3` in `js/nostr/dmSignalEvents.js` and `js/services/dmNostrService.js` to prevent network saturation.
- Updated `scripts/check-hex.js` to exclude agent artifact directories (`perf/`, `test_logs/`, `context/`, etc.) to prevent lint failures when agents log code snippets or hex codes.
- Increased `maxBuffer` in `scripts/check-hex.js` to 10MB to be robust against large matches.
- Updated `js/services/exploreDataService.js` to trigger immediate data refresh (`refreshWatchHistoryTagCounts` and `refreshTagIdf`) when visibility state changes to visible, fixing a unit test failure.
- Includes daily performance report and context logs.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 15:08:13 +00:00
thePR0M3TH3AN aa920b5a7a Merge branch 'unstable' into agents/daily/perf-agent-2026-02-17-7651999785559448222 2026-02-18 09:41:56 -05:00
thePR0M3TH3AN 91ec9b32c5 Merge branch 'unstable' into perf-bound-dm-concurrency-10616621699713195657 2026-02-18 09:40:15 -05:00
thePR0M3TH3AN 52039ec579 Merge branch 'unstable' into agents/daily/perf-agent-2026-02-15-8187656557724027488 2026-02-18 09:36:36 -05:00
thePR0M3TH3AN ed291a884a Merge branch 'unstable' into agents/daily/perf-agent-2026-02-15-3720994187998550610 2026-02-18 09:30:19 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0097860ecd docs(agents): daily deps-security-agent run
- Performed dependency audit.
- Upgraded `stylelint` to 16.26.1.
- Generated security report.
- Updated `package.json` and `package-lock.json`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 12:55:25 +00:00
google-labs-jules[bot]andPR0M3TH3AN bf76a9a8ca chore(deps): deps-security-agent daily audit
- Ran `npm audit` and `npm outdated`.
- Generated `artifacts/npm-audit.json`, `artifacts/npm-outdated.json`, and `artifacts/deps-report.md`.
- Identified minor vulnerabilities in `ajv` (via `serve`) and outdated protocol/tools packages.
- Created `test_logs` and completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 02:52:40 +00:00
thePR0M3TH3AN 3203f77e80 Merge pull request #2604 from PR0M3TH3AN/agents/daily/decompose-profile-modal-3338203776495693196
[decompose] extract helpers from js/ui/profileModalController.js
2026-02-17 21:30:27 -05:00
google-labs-jules[bot]andPR0M3TH3AN d22785bb87 [decompose] extract helpers from js/ui/profileModalController.js
Extracted DM Relay UI logic and DM Attachment logic into separate binder modules to reduce the size of ProfileModalController.js. Updated file size baseline.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 01:03:43 +00:00
google-labs-jules[bot]andPR0M3TH3AN 4312a78159 Content Audit: Verify upload docs and fix hashtag bug
- Audited `content/docs/guides/upload-content.md` against codebase.
- Verified claims regarding file types, size limits, permissions, and CORS.
- Fixed a bug in `js/services/videoNotePayload.js` where user-entered hashtags were dropped.
- Added regression test `tests/unit/services/videoNotePayload.test.mjs`.
- Generated audit artifacts.
- Created completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 00:09:01 +00:00
thePR0M3TH3AN 5e8b6b0141 Merge pull request #2602 from PR0M3TH3AN/agents/daily/content-audit-16386856219423519109
Content Audit: Fix docs and moderation config
2026-02-17 18:38:51 -05:00
google-labs-jules[bot]andPR0M3TH3AN f16a1ff5e4 Content Audit: Fix HTML accepted types and moderation config
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 22:15:53 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3e2002b72c Content Audit: Fix docs and moderation config
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 22:05:31 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9fc650d563 [constants] extract SHORT_TIMEOUT_MS and STANDARD_TIMEOUT_MS
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 21:58:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN 92a41ff8e7 chore: run daily test audit (failed due to timeout)
- Ran unit tests with c8 coverage.
- Tests timed out after 400s.
- Identified `tests/profile-modal-controller.test.mjs` as a major bottleneck (>60s).
- Collected partial coverage and static analysis artifacts.
- Created failure log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 16:51:02 +00:00
google-labs-jules[bot]andPR0M3TH3AN fe59f344d4 docs(agents): sync scheduler rosters with prompt directory
- Verified daily scheduler roster matches daily prompt files (21 files).
- Verified weekly scheduler roster matches weekly prompt files (16 files).
- No changes required to scheduler files.
- Created execution logs and context files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 14:44:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN fe49e18628 perf: bound relay concurrency in channel video fetching
- Replaced unbounded `Promise.allSettled` in `js/channelProfile.js` with `pMap` using `RELAY_BACKGROUND_CONCURRENCY` (3).
- Ensures network stability when users have many relays.
- Audited `/content` docs (upload limits/ports) and confirmed accuracy.
- Generated `daily-perf-report-2026-02-17.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 10:41:55 +00:00
google-labs-jules[bot]andPR0M3TH3AN 0c5c8c5a2e perf: bound DM subsystem network concurrency & fix CI lint
- Replaced unbounded `Promise.all` with `pMap` and `RELAY_BACKGROUND_CONCURRENCY || 3` in `js/nostr/dmSignalEvents.js` and `js/services/dmNostrService.js` to prevent network saturation.
- Updated `scripts/check-hex.js` to exclude agent artifact directories (`perf/`, `test_logs/`, `context/`, etc.) to prevent lint failures when agents log code snippets or hex codes.
- Increased `maxBuffer` in `scripts/check-hex.js` to 10MB to be robust against large matches.
- Includes daily performance report and context logs.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 08:09:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN 799c336bf3 perf: bound DM subsystem network concurrency
Replaces unbounded Promise.all with pMap and RELAY_BACKGROUND_CONCURRENCY (3) in js/nostr/dmSignalEvents.js and js/services/dmNostrService.js to prevent network saturation. Includes context logs and daily performance report.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 07:41:46 +00:00
google-labs-jules[bot]andPR0M3TH3AN 16de3802ab [security] replace innerHTML usages in js/ui/subscriptionHistoryController.js
- Migrated 6 out of 7 innerHTML assignments to safe DOM APIs (createElement, textContent, replaceChildren).
- Reduced innerHTML baseline for the file from 7 to 1.
- Updated scripts/check-innerhtml.mjs baseline.
- Verified with lint, unit tests, and frontend verification.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 18:51:44 +00:00
google-labs-jules[bot]andPR0M3TH3AN cfd134443a chore(deps): deps-security-agent execution 2026-02-16
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 12:54:06 +00:00
thePR0M3TH3AN f2294df012 Merge pull request #2552 from PR0M3TH3AN/agents/daily/decompose-profileModalController-11165580605137552753
[decompose] extract DM logic from js/ui/profileModalController.js
2026-02-16 06:39:42 -05:00
google-labs-jules[bot]andPR0M3TH3AN 08c90d5fc9 [decompose] extract DM logic from js/ui/profileModalController.js
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 11:26:38 +00:00
thePR0M3TH3AN e378c75586 Merge pull request #2549 from PR0M3TH3AN/agents/daily/const-refactor-409004041836644120
[constants] Refactor 5000ms literals to SHORT_TIMEOUT_MS
2026-02-16 06:17:49 -05:00
thePR0M3TH3AN 8f24dd91c2 Merge pull request #2548 from PR0M3TH3AN/agents/daily/content-audit-agent-8847531088272676405
daily: content-audit-agent
2026-02-16 06:17:25 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8762220cac [constants] refactor 5000 to SHORT_TIMEOUT_MS
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 07:07:16 +00:00
google-labs-jules[bot]andPR0M3TH3AN dd223cfbda daily: content-audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 06:18:33 +00:00
google-labs-jules[bot]andPR0M3TH3AN 066355e47e [constants] extract STANDARD_TIMEOUT_MS (10000) -> js/constants.js
Refactors duplicated `10000` ms numeric literals to use the canonical `STANDARD_TIMEOUT_MS` constant.

Affects:
- `js/testHarness.js`
- `js/nostr/relayBatchFetcher.js`
- `js/nostr/client.js`

Verification:
- `npm run lint` passed.
- `npm run test:unit` passed.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 04:55:18 +00:00
google-labs-jules[bot]andPR0M3TH3AN 95ca3750b3 chore(scheduler): run daily audit-agent
- Executed audit scripts: check-file-size, check-innerhtml, lint
- Generated JSON reports and summary.md in artifacts/audit/2026-02-16/
- Updated scheduler log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 00:42:07 +00:00
thePR0M3TH3AN 2269cb5b9c Merge branch 'unstable' into agents/daily/test-audit-5199509929231920454 2026-02-15 17:42:10 -05:00
google-labs-jules[bot]andPR0M3TH3AN 82dc581145 docs: add daily test audit report and artifacts
- Run unit tests with coverage (c8)
- Generate test audit report (test-audit-report-2026-02-15.md)
- Add static analysis of suspicious tests
- Add flakiness check script and results (timed out)
- Create daily completion log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 22:24:28 +00:00
google-labs-jules[bot]andPR0M3TH3AN 50ded6b4dc feat(test-audit): run daily test audit and fix zero-assertion test
- Run daily test audit using `test-audit-agent`.
- Generate `test-audit-report-2026-02-15.md` with coverage and static analysis findings.
- Fix zero-assertion test in `tests/minimal-channel-profile.test.mjs`.
- Add audit scripts `scripts/agent/audit-coverage-map.js` and `scripts/agent/audit-static-analysis.sh`.
- Log execution details in `test_logs/TEST_LOG_2026-02-15_20-00-00.md`.
- Create completion log in `docs/agents/task-logs/daily/`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 20:18:30 +00:00
google-labs-jules[bot]andPR0M3TH3AN b45b155219 docs(agents): sync scheduler rosters — 2026-02-15
Verified daily (21) and weekly (16) rosters against prompt files.
No changes required as rosters were already in sync.
Created persistent state files for run context.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 18:00:33 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7637631730 perf: visibility gating for LoginModalController
- Implements visibility gating in `LoginModalController.js` to pause polling intervals when the tab is hidden.
- Created `perf/daily-perf-report-2026-02-15.md` with performance findings.
- Verified upload documentation alignment.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 15:52:32 +00:00
google-labs-jules[bot]andPR0M3TH3AN 268a980702 Run daily agent: perf-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 09:48:40 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6181041b42 perf(explore): pause background updates when hidden
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 07:14:29 +00:00