Commit Graph
5466 Commits
Author SHA1 Message Date
thePR0M3TH3AN e62e98b80b Merge pull request #2401 from PR0M3TH3AN/claude/race-condition-agent-f8mZx
docs: add bitvid-race-condition-agent weekly audit prompt
2026-02-12 14:58:32 -05:00
Claude de5296e44c docs(agents): add race-condition-agent to weekly rotation
Add a weekly race condition agent that systematically audits the codebase
for concurrency hazards, timing bugs, and initialization races. The agent
covers relay connection ordering, signer availability, playback fallback
negotiation, cache state consistency, and DOM-ready assumptions.

https://claude.ai/code/session_01AudwR75Y4Bi4WLSYEAJPVW
2026-02-12 19:57:15 +00:00
thePR0M3TH3AN 8cc8e4bc0e Merge pull request #2400 from PR0M3TH3AN/claude/add-scheduler-update-agent-FkhBd
docs(agents): add scheduler-update-agent to daily roster
2026-02-12 14:45:28 -05:00
Claude 2e0bcefa4b docs(agents): add scheduler-update-agent to daily rotation
Add a new daily agent whose job is to keep the daily and weekly scheduler
rosters in sync with the actual prompt files on disk. It scans the prompt
directories, diffs against the roster tables, and applies additions,
removals, or filename corrections as needed.

- New file: docs/agents/prompts/daily/bitvid-scheduler-update-agent.md
- Updated daily-scheduler.md roster (20 -> 21 agents)

https://claude.ai/code/session_01KZQjoJKmPH74AK3QF1pzSq
2026-02-12 19:43:46 +00:00
thePR0M3TH3AN f11d4e165f Merge pull request #2399 from PR0M3TH3AN/claude/add-weekly-scheduler-docs-Ri0h2
Add weekly agent scheduler prompt and task log
2026-02-12 14:36:54 -05:00
Claude d559bd6d0b chore(agents): add weekly agent scheduler prompt and task log
- Add weekly-scheduler.md with rotation logic for 3 weekly agents
  (changelog-agent, frontend-console-debug-agent, perf-deepdive-agent)
- Add separate WEEKLY_AGENT_TASK_LOG.csv to keep weekly and daily
  rotations independent
- Mirrors the daily-scheduler.md structure with the same authority
  hierarchy, error handling, and log format

https://claude.ai/code/session_017PuKrVuAUbo1seo7jBTbw6
2026-02-12 19:34:50 +00:00
thePR0M3TH3AN 1bb073c4c9 update 2026-02-12 14:30:08 -05:00
thePR0M3TH3AN 00de6f880d Merge pull request #2398 from PR0M3TH3AN/claude/improve-agent-prompt-HFCT8
Add daily agent scheduler prompt and task log infrastructure
2026-02-12 14:24:45 -05:00
Claude 647abfdd05 chore(agents): add daily agent scheduler prompt and task log
Replace the ad-hoc scheduling instructions with a structured
scheduler prompt that handles task rotation, error cases, and
CSV-based run tracking.

https://claude.ai/code/session_019EdLsbzCWtht1R3qk7pptb
2026-02-12 19:22:43 +00:00
thePR0M3TH3AN cf5a9e1a0c added agent library 2026-02-12 14:12:26 -05:00
thePR0M3TH3AN 20bbd21a16 Merge pull request #2396 from PR0M3TH3AN/claude/add-agent-design-logic-MIpIc
Add Agent Execution Protocol and persistent state file guidance
2026-02-12 14:01:21 -05:00
Claude 33851013d8 docs: add Agent Execution Protocol (AGENTS.md §15)
Introduces a structured meta-workflow for AI agents that ensures
safe incremental changes, persistent state across context resets,
and a clear decision trail for multi-agent coordination.

Key additions:
- Work scoping (goal, success criteria, non-goals)
- External notes files (CONTEXT.md, TODO.md, DECISIONS.md, TEST_LOG.md)
- Locate → Implement → Verify → Update notes work loop
- Context recovery procedure for new agent sessions
- Quality bar principles
- Cross-references from CLAUDE.md to the new section

https://claude.ai/code/session_0159eSJrqKvKpgDiwYZ2iGxK
2026-02-12 18:54:14 +00:00
thePR0M3TH3AN 6b2a0d5672 Merge pull request #2391 from PR0M3TH3AN/docs/align-dev-docs-with-code-behavior-747255207404604155
📘 Align development docs with codebase behavior
2026-02-12 12:07:15 -05:00
thePR0M3TH3AN b958cd03a3 Merge pull request #2392 from PR0M3TH3AN/perf/lazy-loading-images-5531542145161108085
⚡ Optimize image loading with lazy and async attributes
2026-02-12 12:06:35 -05:00
thePR0M3TH3AN 3b79fc20cb Merge pull request #2390 from PR0M3TH3AN/perf/auth-concurrency-bound-185017090274151611
perf: bound concurrency in authService profile hydration
2026-02-12 12:05:18 -05:00
google-labs-jules[bot]andPR0M3TH3AN df62585106 perf: enable lazy loading for avatars and thumbnails
Added `loading="lazy"` and `decoding="async"` attributes to dynamically created `<img>` elements in:
- `js/historyView.js` (avatars)
- `js/ui/subscriptionHistoryController.js` (channel icons)
- `js/searchView.js` (added `decoding="async"`)
- `js/ui/profileModal/ProfileDirectMessageRenderer.js` (attachment previews, avatars)
- `js/ui/profileModalController.js` (attachment previews, saved profile avatars)

This reduces initial page load impact and bandwidth usage by deferring off-screen image loading.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 16:56:06 +00:00
google-labs-jules[bot]andPR0M3TH3AN 11c901c241 docs: update README and CONTRIBUTING to match codebase
Update the documentation to accurately reflect the current behavior of the codebase.
- Expand `npm run lint` description in `README.md` and `CONTRIBUTING.md` to include file size, innerHTML, assets, and SW compat checks.
- Add `test:visual`, `test:visual:update`, `test:dm:unit`, and `test:dm:integration` to the "Testing" section in `README.md`.
- Clarify `npm start` behavior in `README.md` regarding port selection.
- Reformat "Testing" section in `README.md` for better readability.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 16:54:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN 69c1528ac0 perf: bound concurrency in authService profile hydration
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 16:32:53 +00:00
thePR0M3TH3AN 216361ed77 Merge pull request #2389 from PR0M3TH3AN/ds-audit/2026-02-12-1989592228241900920
Daily Design System Audit Report 2026-02-12
2026-02-12 10:49:58 -05:00
google-labs-jules[bot]andPR0M3TH3AN 57a83895d8 Daily Design System Audit Report 2026-02-12: No violations found
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 15:45:52 +00:00
thePR0M3TH3AN 1dc292e4ae Merge pull request #2388 from PR0M3TH3AN/ai/doc-nostr-client-20240523-7534812537897157259
chore(ai): document js/nostr/client.js complex logic
2026-02-12 10:42:32 -05:00
thePR0M3TH3AN ceed5652f0 Merge pull request #2387 from PR0M3TH3AN/ai/audit-deps-2026-02-17-10555394609178643918
chore(audit): daily dependency scan and triage
2026-02-12 10:41:59 -05:00
thePR0M3TH3AN 6619a683dd Merge branch 'unstable' into ai/audit-deps-2026-02-17-10555394609178643918 2026-02-12 10:41:51 -05:00
thePR0M3TH3AN 6e37b7e878 update 2026-02-12 10:41:19 -05:00
thePR0M3TH3AN dc3c784fa3 Merge pull request #2385 from PR0M3TH3AN/ai/deps-esbuild-v0.27.3-17975038051383409877
chore(deps): bump esbuild to v0.27.3
2026-02-12 10:40:41 -05:00
thePR0M3TH3AN 46e5cc0185 update 2026-02-12 10:37:53 -05:00
thePR0M3TH3AN 5ef6d043e3 update 2026-02-12 10:37:01 -05:00
thePR0M3TH3AN 83e7e50c8f update 2026-02-12 10:36:25 -05:00
google-labs-jules[bot]andPR0M3TH3AN a997120f42 chore(ai): doc js/nostr/client.js and videoEventBuffer.js
- Add JSDoc to exported methods in `js/nostr/client.js`
- Add JSDoc to `js/nostr/videoEventBuffer.js`
- Add in-code comments for complex algorithms (history hydration, soft/hard delete, buffering)
- Update `docs/nostr-client-overview.md` with invariants and pitfalls
- No functional changes

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 15:28:54 +00:00
thePR0M3TH3AN 7e6ffb3c74 Merge pull request #2386 from PR0M3TH3AN/test-audit/auth-service-coverage-12553948378284610464
Test Audit and AuthService Coverage Improvement
2026-02-12 10:27:50 -05:00
thePR0M3TH3AN 5fd89c82f0 Merge branch 'unstable' into test-audit/auth-service-coverage-12553948378284610464 2026-02-12 10:03:16 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8a1d843c24 chore(audit): daily dependency scan and triage
- Generated artifacts/npm-audit.json, artifacts/npm-outdated.json, artifacts/deps-report.md
- Attempted esbuild upgrade (0.27.2 -> 0.27.3) but reverted due to E2E environment failure (see issues/upgrade-esbuild.md)
- Flagged nostr-tools for manual review (see issues/upgrade-nostr-tools.md)
- Updated DECISIONS.md and TODO.md

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 14:49:04 +00:00
thePR0M3TH3AN da3942bace Merge pull request #2384 from PR0M3TH3AN/audit-tests-2026-02-12-13078109386212779585
audit(tests): fix skipped auth tests and produce audit report
2026-02-12 09:46:14 -05:00
google-labs-jules[bot]andPR0M3TH3AN 588793dba7 chore: add test audit workflow and improve AuthService coverage
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 14:42:51 +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 83499ae5c4 audit(tests): fix skipped auth tests and produce audit report
- Refactored `tests/auth-service.test.mjs` to use `node:test` API so it is detected by the runner.
- Removed console noise from `tests/watchHistory/watch-history-telemetry.test.mjs`.
- Generated daily audit report `test-audit-report-2026-02-12.md`.
- Updated test logs and tracking artifacts.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 14:36:45 +00:00
thePR0M3TH3AN 46f042b47e Merge pull request #2383 from PR0M3TH3AN/ai/docs-update-20250220-3098002133113463927
Update documentation for quickstart and contributing
2026-02-12 09:36:29 -05:00
google-labs-jules[bot]andPR0M3TH3AN efa3d42a4d docs(ai): update quickstart and contributing (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 14:22:54 +00:00
thePR0M3TH3AN 68b583fb9b Merge pull request #2382 from PR0M3TH3AN/perf/bound-comment-concurrency-6703856395977422565
perf: bound comment relay concurrency and fix docs port
2026-02-12 09:15:23 -05:00
thePR0M3TH3AN 45ab69ef78 Merge branch 'unstable' into perf/bound-comment-concurrency-6703856395977422565 2026-02-12 09:13:51 -05:00
thePR0M3TH3AN c6577c874d Merge pull request #2381 from PR0M3TH3AN/nip-compliance-audit-6030465474083437041
NIP Compliance Audit and Verification
2026-02-12 09:11:38 -05:00
thePR0M3TH3AN c41b83ca9a Merge pull request #2380 from PR0M3TH3AN/ai/lint-20260212-692706183802420406
chore(ai): verify lint compliance
2026-02-12 09:11:11 -05:00
thePR0M3TH3AN 65603fedfd Merge pull request #2378 from PR0M3TH3AN/ai/onboarding-20260212-15095221016580125533
docs(ai): improve onboarding steps
2026-02-12 09:10:32 -05:00
thePR0M3TH3AN 2540eb3c09 Merge pull request #2377 from PR0M3TH3AN/unstable-4082822914869153269
[constants] Refactor duplicate numeric constants
2026-02-12 09:10:12 -05:00
thePR0M3TH3AN 8bff7b3ad8 Merge pull request #2376 from PR0M3TH3AN/unstable-11604996520805801721
[security] Migrate searchView.js to safe DOM APIs
2026-02-12 09:09:50 -05:00
thePR0M3TH3AN e591767ec2 Merge pull request #2375 from PR0M3TH3AN/audit-report-unstable-8970526814582376174
Update Weekly Audit Report
2026-02-12 09:09:22 -05:00
thePR0M3TH3AN bbc93a1d72 Merge pull request #2374 from PR0M3TH3AN/content-audit-upload-docs-5907481948378405901
🌐 Align /content user docs with actual upload & contribution behavior
2026-02-12 09:08:30 -05:00
thePR0M3TH3AN 896373cb50 Merge pull request #2373 from PR0M3TH3AN/ai/ci-health-20260214-13930097721434955965
chore(ai): CI health fixes (flaky tests)
2026-02-12 09:07:59 -05:00
thePR0M3TH3AN eea1fde57d Merge pull request #2372 from PR0M3TH3AN/chore/todo-triage-14698517532806281682
chore(ai): Triage TODOs and report findings
2026-02-12 09:07:41 -05:00
google-labs-jules[bot]andPR0M3TH3AN 852bf51b0a refactor: extract CommentTargetNormalizer to fix file size violation
- Extracted `CommentTargetNormalizer` and related helpers to `js/nostr/commentTargetNormalizer.js`.
- Refactored `js/nostr/commentEvents.js` to import from the new module.
- Compacted helper functions in `js/nostr/commentTargetNormalizer.js` to ensure it stays under the 1000-line limit for new files.
- Verified with `npm run lint:file-size` and `tests/nostr/comment-events.test.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 13:49:47 +00:00