google-labs-jules[bot] and PR0M3TH3AN
599f72a373
[security] replace innerHTML usages in js/ui/components/DeleteModal.js
...
- Replaced `wrapper.innerHTML` with `DOMParser` for template loading.
- Replaced `metadataList.innerHTML = ""` with `replaceChildren()`.
- Updated `scripts/check-innerhtml.mjs` baseline (count reduced by 3).
- Added artifacts: context, todo, decisions, log.
- Verified with lint and unit tests.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-18 16:23:29 +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] and PR0M3TH3AN
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] and PR0M3TH3AN
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
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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
thePR0M3TH3AN
3d7ea4ed74
Merge pull request #2547 from PR0M3TH3AN/agents/daily/const-refactor-standard-timeout-13590236657538422230
...
[constants] extract STANDARD_TIMEOUT_MS (10000) -> js/constants.js
2026-02-16 06:16:53 -05:00
google-labs-jules[bot] and PR0M3TH3AN
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] and PR0M3TH3AN
dd223cfbda
daily: content-audit-agent
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-16 06:18:33 +00:00
google-labs-jules[bot] and PR0M3TH3AN
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] and PR0M3TH3AN
d0ea513271
[constants] extract MAX_BLOCKLIST_ENTRIES and SHORT_TIMEOUT_MS
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-16 03:57:09 +00:00
google-labs-jules[bot] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
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] and PR0M3TH3AN
268a980702
Run daily agent: perf-agent
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-15 09:48:40 +00:00
google-labs-jules[bot] and PR0M3TH3AN
6181041b42
perf(explore): pause background updates when hidden
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-15 07:14:29 +00:00
google-labs-jules[bot] and PR0M3TH3AN
50390f9411
perf: implement visibility gating in ExploreDataService
...
- Pause `watchHistory` and `tagIdf` intervals when tab is hidden.
- Add `daily-perf-report-2026-02-15.md`.
- Add `perf/hits-2026-02-15.json`.
- Docs audit verified (no changes needed).
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-15 04:01:39 +00:00
google-labs-jules[bot] and PR0M3TH3AN
5b1e933f14
feat(agents): execute daily nip-research-agent
...
- Fetch missing NIP specs (09, 21, 25, 42, 47, 57, 71, 78, 96, 98)
- Update NIP_INVENTORY.md
- Generate nip-report-2026-02-15.md
- Create completion log
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-15 01:11:29 +00:00
google-labs-jules[bot] and PR0M3TH3AN
f676fb2ff5
[security] replace innerHTML in RevertModal.js
...
Migrated `js/ui/components/RevertModal.js` to safe DOM APIs (`createElement`, `textContent`, `DOMParser`).
Extracted rendering logic to `js/ui/components/revertModalRenderers.js`.
Updated baseline in `scripts/check-innerhtml.mjs` (0 remaining usages).
Updated tests to mock DOMParser.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-14 18:58:02 +00:00
google-labs-jules[bot] and PR0M3TH3AN
7c9bd33400
chore(deps): daily security audit report
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-14 13:41:34 +00:00
thePR0M3TH3AN
a5c4b97085
Merge pull request #2506 from PR0M3TH3AN/agents/daily/content-audit-agent-2026-02-14-14895370041401969894
...
Daily Agent: content-audit-agent (2026-02-14)
2026-02-14 07:55:45 -05:00
thePR0M3TH3AN
a7d5448f83
Merge pull request #2505 from PR0M3TH3AN/agents/daily/decompose-agent-1771068993-9839708061087795531
...
[decompose] extract helpers from js/ui/components/VideoModal.js
2026-02-14 07:55:18 -05:00
thePR0M3TH3AN
e12f492f81
Merge pull request #2503 from PR0M3TH3AN/agents/daily/content-audit-agent-598971105056804313
...
docs: content-audit-agent execution
2026-02-14 07:52:44 -05:00
google-labs-jules[bot] and PR0M3TH3AN
9b5703d39c
Daily Agent: content-audit-agent (2026-02-14)
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-14 12:42:24 +00:00
google-labs-jules[bot] and PR0M3TH3AN
54be0efcac
[decompose] extract helpers from js/ui/components/VideoModal.js
...
Decomposed js/ui/components/VideoModal.js by extracting "Similar Video" and "Pointer Key" logic into a new helper module js/ui/components/VideoModalSimilarHelpers.js.
- Reduced VideoModal.js line count from 6334 to 6045.
- Added comprehensive unit tests for extracted helpers.
- Updated check-file-size.mjs baseline.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-14 11:46:47 +00:00
google-labs-jules[bot] and PR0M3TH3AN
2c78f5247b
docs: content-audit-agent completion\n\n- Audited /content against codebase\n- Created inventory and verification artifacts\n- Validated documentation accuracy
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-14 09:39:38 +00:00
google-labs-jules[bot] and PR0M3TH3AN
7579b168e2
Daily agent: deps-security-agent execution
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-14 08:38:14 +00:00
google-labs-jules[bot] and PR0M3TH3AN
e5949af2e8
docs: Audit and update upload documentation
...
Executed content-audit-agent. Audited content/docs/guides/upload-content.md against code. Added technical details about multipart uploads and troubleshooting steps.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-14 06:41:00 +00:00