Commit Graph
79 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 793b1a7cff chore(ai): CI health check 2026-02-21
Executed ci-health-agent run. Unit tests passed with no flakes.
Created artifacts/ci-flakes-20260221.md and completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 16:44:10 +00:00
google-labs-jules[bot]andPR0M3TH3AN 791d0c25eb chore(ai): daily todo-triage scan
- Scanned for TODO/FIXME/XXX markers.
- Found 0 actionable items in source code.
- Generated completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 01:08:31 +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 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 6be05c9198 chore: daily todo-triage-agent execution (no findings)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 15:02:40 +00: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 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
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 5a61cf2754 chore(daily): todo-triage-agent execution
- Scan codebase for TODO/FIXME/XXX markers
- Update artifacts/todos.txt
- Add completion log (0 actionable items found)

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 17:37:15 +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
google-labs-jules[bot]andPR0M3TH3AN 874f0f4007 chore(scheduler): todo-triage-agent run 2026-02-15
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 23:39:08 +00:00
google-labs-jules[bot]andPR0M3TH3AN 32a2b91f4c agents: daily todo-triage-agent run (no todos found)
- Scanned codebase for TODO/FIXME/XXX markers.
- Confirmed zero actionable items in source code.
- Generated artifacts/todo-triage-report.md.
- Created completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 21:06:22 +00:00
google-labs-jules[bot]andPR0M3TH3AN b9e9cb25d8 chore(ai): Weekly telemetry aggregation
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 13:14:00 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7c9bd33400 chore(deps): daily security audit report
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:41:34 +00:00
google-labs-jules[bot]andPR0M3TH3AN 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]andPR0M3TH3AN aa9d1d8bc1 chore(agent): todo-triage scan completion
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 02:37:50 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7a37c67256 chore(agents): run nip-research-agent daily task
- Added verification tests for NIP-04/44 encryption worker logic (tests/nostr-specs/nip04-nip44.test.mjs).
- Added verification tests for Kind 30078 video note schema (tests/nostr-specs/kind30078.test.mjs).
- Fetched canonical specs for P0 NIPs into artifacts/nips/.
- Updated NIP_INVENTORY.md with verified statuses.
- Generated nip-report-2026-02-13.md.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 19:45:33 +00:00
thePR0M3TH3AN c538517fec chore(agents): run deps-security-agent daily task — baseline audit triage 2026-02-12 21:54:17 -05:00
google-labs-jules[bot]andPR0M3TH3AN 393c06c749 [decompose] extract ProfileHashtagController from js/ui/profileModalController.js
Extracts all hashtag preference related logic into a new controller
`js/ui/profileModal/ProfileHashtagController.js` to reduce the size of `js/ui/profileModalController.js` and improve maintainability.

- Moves `normalizeHashtagTag`, `formatHashtagTag`, `getResolvedHashtagPreferences`, `setHashtagStatus`, `refreshHashtagBackgroundStatus`, `populateHashtagPreferences`, `renderHashtagList`, `sanitizeHashtagList`, `createHashtagListItem`, `persistHashtagPreferences`, `handleAddHashtagPreference`, `handleRemoveHashtagPreference`, `handleHashtagPreferencesChange`, `describeHashtagPreferencesError`.
- Updates `ProfileModalController` to delegate to `ProfileHashtagController`.
- Adds delegate getters/methods in `ProfileModalController` to maintain backward compatibility for tests.
- Reduces `js/ui/profileModalController.js` by ~600 lines.
- Updates file size baseline in `scripts/check-file-size.mjs`.

Passes `npm run lint` and `npm run test:unit`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 02:06:08 +00:00
google-labs-jules[bot]andPR0M3TH3AN eeaf89330e chore(agents): run content-audit-agent daily task — audit upload docs
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 23:50:45 +00:00
google-labs-jules[bot]andPR0M3TH3AN fab5b11824 chore(agents): run audit-agent daily task — initial audit report
- Executed `scripts/check-file-size.mjs --report`
- Executed `scripts/check-innerhtml.mjs --report`
- Executed `npm run lint` (skipped assets check due to missing build)
- Created parser scripts in `scripts/agent/audit-parsers/`
- Generated JSON reports and summary in `artifacts/audit/2026-02-12/`
- Updated `AGENT_TASK_LOG.csv`

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 21:10:13 +00:00
google-labs-jules[bot]andPR0M3TH3AN 09015833dc Add load test script and report
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 19:14:49 +00:00
google-labs-jules[bot]andPR0M3TH3AN 21a7b43e80 chore(deps): bump esbuild to v0.27.3
- Upgraded esbuild from 0.27.2 to 0.27.3
- Added scripts/agent/analyze_deps.py
- Added artifacts/deps-report.md, npm-audit.json, npm-outdated.json
- Verified with npm run build, lint, and test:unit

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 14:39:37 +00:00
google-labs-jules[bot]andPR0M3TH3AN af7e439deb chore(ai): Triage TODOs and report findings
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 01:54:43 +00:00
google-labs-jules[bot]andPR0M3TH3AN 13c626b5b6 docs(ai): improve onboarding steps
Audited the onboarding process and confirmed all steps pass.
Added .npmrc with engine-strict=true to enforce Node.js >=22 requirement.
Updated CONTRIBUTING.md and README.md to explicitly mention the Node version requirement and its enforcement.
Added artifacts/ONBOARDING_REPORT.md with the audit report.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-11 08:34:23 +00:00
google-labs-jules[bot]andPR0M3TH3AN e858f5210f chore(ai): triage TODOs and create issue for flaky test
- Created `issues/todo-hashtag-preferences-unit-test.md` to document a flaky unit test in `tests/hashtag-preferences.test.mjs`.
- Generated `artifacts/todos.txt` with the scan results.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-11 01:13:14 +00:00
thePR0M3TH3AN 5a3256afef Merge pull request #2173 from PR0M3TH3AN/ai/load-test-20260207-17226311979336768263
feat(agent): implement nostr relay load test script
2026-02-07 16:34:21 -05:00
thePR0M3TH3AN 75474e191c Merge pull request #2159 from PR0M3TH3AN/ai/deps-playwright-v1.58.2-6424352935185782190
chore(ai): bump playwright to 1.58.2
2026-02-07 16:22:01 -05:00
google-labs-jules[bot]andPR0M3TH3AN 5fa40e3750 feat(agent): implement nostr relay load test script
Implements a load testing script for Nostr relays that simulates multiple clients, generates mixed event traffic (View/Video), and measures performance metrics including latency, throughput, and CPU usage. It also includes strict safety guardrails to prevent accidental load testing against public relays.

Signed-off-by: Jules <[email protected]>

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-07 19:38:41 +00:00
google-labs-jules[bot]andPR0M3TH3AN ed60d18e15 chore(ai): bump playwright to 1.58.2
- Updated playwright and @playwright/test to 1.58.2.
- Updated dependency tracking issues for nostr-tools, stylelint, and esbuild.
- Included dependency scan artifacts in description.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-07 09:23:23 +00:00
google-labs-jules[bot]andPR0M3TH3AN c0251965da Update telemetry aggregator to include test_output.txt
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-07 06:06:59 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8f83cff04e Implement load test script with rate configuration and multipart event simulation.
- Update `scripts/agent/load-test.mjs` to support `--rate` arg.
- Add multipart video event simulation (Post + Mirror).
- Generate performance report with bottleneck analysis.
- Include `artifacts/load-report.json`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-05 19:38:01 +00:00
google-labs-jules[bot]andPR0M3TH3AN eddc545bad Add load test report 20260204
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-04 19:09:37 +00:00
google-labs-jules[bot]andPR0M3TH3AN 95b7c6df47 feat: add load test script and report
- Implement CPU usage tracking in load-test.mjs
- Run load test with 1000 clients for 60s
- Generate load-report.json with identified bottlenecks (crypto)

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-02 19:25:56 +00:00
google-labs-jules[bot]andPR0M3TH3AN 2f33992192 Fix dependencies (jsdom/nostr-tools conflict) and WebTorrent regression
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-01 13:32:00 +00:00
google-labs-jules[bot]andPR0M3TH3AN c3f386a62b chore(ai): triage TODOs and create issues
- Scan repository for TODO/FIXME comments.
- Generate `artifacts/todos.txt` with identified items.
- Create `issues/todo-issue-1.md` for flaky hashtag preferences test.
- Create `issues/todo-issue-2.md` for failing visual moderation tests.
- No trivial fixes found; all identified TODOs require investigation.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-01 01:08:37 +00:00
thePR0M3TH3AN 5694e940f0 Merge pull request #2005 from PR0M3TH3AN/chore/triage-todos-2139580575813254887
Triage TODOs and report issues
2026-01-31 13:47:32 -05:00
thePR0M3TH3AN f58b9f709e Merge branch 'unstable' into ai/deps-safe-upgrades-3374834892089585189 2026-01-31 13:46:34 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8588473ca9 chore(ai): bump playwright, autoprefixer and document dependency status
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-31 09:22:51 +00:00
google-labs-jules[bot]andPR0M3TH3AN 731cde1d95 feat(telemetry): Add privacy-preserving telemetry aggregator and fix CI unit tests
- Added `scripts/agent/telemetry-aggregator.mjs` to aggregate error logs while stripping PII.
- Updated `AGENTS.md` with telemetry policy.
- Cleaned up `package.json` dev dependencies.
- Fixed `tests/nostr-login-permissions.test.mjs` by updating `js/nostr/client.js` to request all encryption permissions during login.
- Fixed `tests/hashtag-preferences.test.mjs` by clearing `nostrClient.extensionPermissionCache` in test setup to prevent state leakage.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-31 07:06:24 +00:00
google-labs-jules[bot]andPR0M3TH3AN 45f28f1d6b feat(telemetry): Document telemetry aggregation tool usage in AGENTS.md
- Added section 11 to AGENTS.md describing the `telemetry:aggregate` script.
- Documented privacy policy (PII sanitization) and opt-in guardrails.
- Verified the script functionality and PII removal.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-31 06:18:57 +00:00
google-labs-jules[bot]andPR0M3TH3AN 756b78e724 fix(nostr): Request all NIP-07 permissions on login
Updated `loginWithExtension` to request `DEFAULT_NIP07_PERMISSION_METHODS` instead of `DEFAULT_NIP07_CORE_METHODS`. This ensures encryption permissions (NIP-04/44) are requested upfront and cached, preventing permission errors or unexpected popups during subsequent operations like DM decryption or preference loading.

Also includes artifacts from TODO triage:
- `artifacts/todos.txt`: Scanned TODOs list.
- `artifacts/issue_moderation_tests.md`: Issue report for moderation test TODOs.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-31 01:44:33 +00:00
google-labs-jules[bot]andPR0M3TH3AN dabd4e96f2 chore(ai): Triage TODOs and report issues
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-31 01:28:33 +00:00
thePR0M3TH3AN ceccd34681 Revert "Dead Code Cleanup" 2026-01-30 16:51:01 -05:00
google-labs-jules[bot]andPR0M3TH3AN 60fa6c4282 chore(ai): remove dead code (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 20:54:52 +00:00
google-labs-jules[bot]andPR0M3TH3AN 0890775b86 chore(ai): add load test report for 2026-01-30
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 19:49:12 +00:00
thePR0M3TH3AN cc7fe64e90 Merge pull request #1946 from PR0M3TH3AN/ai/dead-code-20240123-13702536329573366933
chore(ai): remove dead code (agent)
2026-01-30 10:05:35 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4c211cad1b fix(ci): exclude map/min files from TODO scan and mock relays in tests
- Excluded `*.map` and `*.min.js` files from the `todos.txt` generation command to prevent massive minified lines from crashing CI scripts.
- Mocked `nostrClient.readRelays` in `tests/app-batch-fetch-profiles.test.mjs` to fix assertion errors caused by duplicate network calls.
- Regenerated `artifacts/todos.txt` with the clean output.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 01:39:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN ac1cadd41e chore(ai): triage TODOs and FIXMEs
Scanned the codebase for TODO/FIXME markers.
Generated artifacts/todos.txt.
Verified that identified TODOs in tests/visual/moderation.spec.ts are tracked in issues/todo-moderation-tests.md.
No new issues or PRs required as no other actionable TODOs were found.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 01:24:06 +00:00