Commit Graph
84 Commits
Author SHA1 Message Date
thePR0M3TH3AN 4ab759c0bd Merge branch 'unstable' into agents/daily/scheduler-update-agent-2026-02-23-1075521348879577769 2026-02-25 10:35:24 -05:00
thePR0M3TH3AN 887c802436 Merge branch 'unstable' into agents/daily/test-audit-agent-2026-02-23-4813203485121112615 2026-02-25 10:34:50 -05:00
thePR0M3TH3AN faf71804f3 Merge pull request #2684 from PR0M3TH3AN/agents/daily/scheduler-update-agent-2026-02-23_15-01-13-11531375802940964250
docs(agents): sync scheduler rosters — 2026-02-23
2026-02-25 10:34:09 -05:00
thePR0M3TH3AN a169a05a29 Merge pull request #2680 from PR0M3TH3AN/agents/daily/scheduler-update-2026-02-23-6263634357757049561
docs(agents): sync scheduler rosters
2026-02-25 10:30:49 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4e78b3878d Daily Agent: audit-agent
Completed audit run for 2026-02-25.

- Ran file size check (43 grandfathered files, 0 new violations).
- Ran innerHTML check (37 assignments).
- Ran lint (0 failures).
- Generated summary report.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-25 14:56:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN 2374730a57 chore: execute daily audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-24 20:05:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN 53168baae0 docs: daily agent test-audit-agent execution
- Executed unit tests (passed).
- Detected flakiness in subsequent test runs (timeout).
- Performed static analysis (zero assertions, timing, console usage).
- Generated test audit report and saved to `artifacts/`.
- Updated test logs and flakiness matrix.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-24 17:11:49 +00:00
thePR0M3TH3AN 8ac7658540 Merge pull request #2691 from PR0M3TH3AN/agents/daily/scheduler-update-agent-2026-02-23-14445323072037220417
docs(agents): sync scheduler rosters — 2026-02-23
2026-02-23 22:53:15 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0b9d0d6b08 docs(agents): scheduler-update-agent sync (no changes)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 23:37:36 +00:00
google-labs-jules[bot]andPR0M3TH3AN 14f07d0dbc docs(agents): sync scheduler rosters — 2026-02-23
Executed scheduler-update-agent to verify daily and weekly scheduler rosters.
Inventories of `docs/agents/prompts/daily/` and `docs/agents/prompts/weekly/` matched the existing rosters in `daily-scheduler.md` and `weekly-scheduler.md`.
No updates required.
Generated logs:
- context/CONTEXT_2026-02-23_scheduler-update-agent.md
- todo/TODO_2026-02-23_scheduler-update-agent.md
- decisions/DECISIONS_2026-02-23_scheduler-update-agent.md
- test_logs/TEST_LOG_2026-02-23_scheduler-update-agent.md
- docs/agents/task-logs/daily/2026-02-23_scheduler-update-agent_completed.md

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 20:50:54 +00:00
google-labs-jules[bot]andPR0M3TH3AN 70888ce81b chore: execute daily test-audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 20:14:04 +00:00
google-labs-jules[bot]andPR0M3TH3AN b0a4341ff2 agents: run daily test-audit-agent (2026-02-23)
- Executed test-audit-agent daily task.
- Generated audit report in docs/agents/task-logs/daily/.
- Added reusable scripts in test-audit/ for flakiness check and static analysis.
- Verified test suite (shard 1) and identified failure in hashtag-preferences.test.mjs.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 17:11:14 +00:00
google-labs-jules[bot]andPR0M3TH3AN dbeb91f31f docs(agents): sync scheduler rosters — 2026-02-23
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 15:05:58 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9666ab1d35 docs(agents): sync scheduler rosters with prompt directory
- Verified daily and weekly scheduler rosters against prompt files.
- No changes required.
- Created completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-23 00:55:43 +00:00
google-labs-jules[bot]andPR0M3TH3AN dc244b9e28 chore(agent): execute nip-research-agent 2026-02-22
- Executed nip-research-agent task.
- Updated NIP_INVENTORY.md.
- Fetched missing NIP specs.
- Ran validation tests.
- Created nip-report-2026-02-22.md.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 00:55:12 +00:00
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 f9f23c0d08 [security] replace innerHTML usages in js/ui/components/ShareNostrModal.js — convert to safe DOM APIs
- Replace template `innerHTML` with `DOMParser`
- Replace SVG `innerHTML` with `createElementNS`
- Replace `innerHTML = ""` with `replaceChildren()`
- Update `check-innerhtml` baseline

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 20:07:34 +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 661a51084e feat(test-audit): Add daily test integrity and coverage audit workflow
- Adds `scripts/run-test-audit.sh` to automate unit test execution with coverage.
- Adds `scripts/analyze-flakiness.mjs` to detect test flakiness.
- Adds `scripts/static-test-analysis.mjs` to find suspicious test patterns.
- Adds `scripts/coverage-gap-analysis.mjs` to identify critical coverage gaps.
- Adds `scripts/generate-audit-report.mjs` to produce markdown reports.
- Generates initial audit report `test-audit-report-2025-02-18.md` and `issues/ISSUE_test_audit_findings.md`.
- Documents findings in `decisions/DECISIONS_2025-02-18.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 20:17:01 +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
google-labs-jules[bot]andPR0M3TH3AN 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]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 8bafe5f6e9 Merge branch 'unstable' into agents/daily/perf-agent-10905324702890843252 2026-02-18 09:38:12 -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]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 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