Commit Graph
5488 Commits
Author SHA1 Message Date
Claude 749dece7dd docs(agents): add draft PR task claiming protocol to prevent duplicate work
When multiple agents (Claude Code, Codex, Jules) run schedulers concurrently,
they can pick up the same task because neither has committed yet. This adds a
"Draft PR Lock" protocol: agents must check for and create a draft PR before
starting work, acting as a distributed lock visible to all platforms.

Changes:
- AGENTS.md §12: new "Task Claiming Protocol" subsection with check/claim/race
  handling steps
- daily-scheduler.md: new Step 1.5 with concrete gh CLI commands
- weekly-scheduler.md: same Step 1.5 addition

https://claude.ai/code/session_01Vnih5ZARbEmnh3EGTDQAXX
2026-02-12 22:02:37 +00:00
thePR0M3TH3AN f482909550 Merge pull request #2405 from PR0M3TH3AN/unstable-12848923588166411502
Run audit-agent daily task
2026-02-12 16:14:50 -05:00
thePR0M3TH3AN c29d425c0d Merge pull request #2406 from PR0M3TH3AN/ai/weekly-bug-reproducer-hashtag-flakiness-11321273883304913915
Weekly Agent: Bug Reproducer (Hashtag Preferences Flakiness)
2026-02-12 16:14:18 -05:00
google-labs-jules[bot]andPR0M3TH3AN 20a295b170 chore(agents): run bug-reproducer-agent weekly task — Created reproducer for hashtag preferences flakiness
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 21:10:58 +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
thePR0M3TH3AN 8b00db23e3 Merge pull request #2404 from PR0M3TH3AN/chore/update-agent-prompts-17466220525670380821
Update interop and smoke agent prompts with missing sections
2026-02-12 15:57:03 -05:00
google-labs-jules[bot]andPR0M3TH3AN a7d18e232a chore(docs): update interop and smoke agent prompts
- Add missing FAILURE MODES, OUTPUTS PER RUN, and BEGIN sections to `docs/agents/prompts/weekly/bitvid-interop-agent.md`
- Add missing FAILURE MODES, PR & COMMIT CONVENTIONS, OUTPUTS PER RUN, and BEGIN sections to `docs/agents/prompts/weekly/bitvid-smoke-agent.md`
- Ensure consistency with other agent prompts in the repository

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 20:49:15 +00:00
thePR0M3TH3AN c0e0ffb322 Merge pull request #2403 from PR0M3TH3AN/claude/maintain-agent-prompts-hMOlO
docs(agents): add style guide and audit prompt library
2026-02-12 15:44:49 -05:00
Claude 843f1a8c2d docs(agents): add prompt library supporting docs
Add three supporting documents for prompt library maintenance:

- PROMPT_LIBRARY_STATUS.md: current health, inventory of all 36
  prompts, changes this run, known remaining issues
- STYLE_GUIDE.md: canonical prompt template, naming conventions,
  voice/tone guidance, anti-patterns to avoid
- RESEARCH_LOG.md: web research on prompt-engineering best practices
  from Anthropic and OpenAI (2025-2026), with library impact analysis

https://claude.ai/code/session_01Nz6FJopPp2YHEscJrRAFNv
2026-02-12 20:42:41 +00:00
Claude 6a79cb52c5 docs(agents): fix behavioral defects in agent prompts (P2)
- Remove AI generation artifacts (:contentReference) from
  docs-code-investigator (4 occurrences)
- Fix require() -> import in event-schema-agent example
  (project uses ES modules)
- Clarify nonexistent script reference in const-refactor-agent
  (scripts/find-numeric-literals.js must be created, not assumed)
- Close truncated code blocks and add TODO notices in interop-agent
  and smoke-agent (both missing Failure Modes and Outputs sections)

No agent mission changes.

https://claude.ai/code/session_01Nz6FJopPp2YHEscJrRAFNv
2026-02-12 20:42:22 +00:00
Claude c96982f469 docs(agents): fix policy violations in agent prompts (P1)
- Fix agent name typo: bitvd -> bitvid in content-audit-agent
- Remove emoji from PR titles in content-audit, docs-alignment, perf,
  and perf-optimization agents (CLAUDE.md prohibits emoji)
- Fix identity/filename mismatch: style-agent.md said stylelint-agent

No agent mission changes.

https://claude.ai/code/session_01Nz6FJopPp2YHEscJrRAFNv
2026-02-12 20:42:00 +00:00
thePR0M3TH3AN 030b407ee8 Merge pull request #2402 from PR0M3TH3AN/chore/agents/update-weekly-scheduler-9838106580153809085
Update weekly agent scheduler roster
2026-02-12 15:26:59 -05:00
google-labs-jules[bot]andPR0M3TH3AN 354cc9a2b8 chore(agents): update weekly scheduler roster
Update `docs/agents/prompts/weekly-scheduler.md` to include 12 missing agents that were present in the `docs/agents/prompts/weekly` directory but absent from the scheduler list.

This ensures the weekly agent rotation includes all available weekly agents:
- bug-reproducer-agent
- dead-code-agent
- event-schema-agent
- fuzz-agent
- interop-agent
- perf-optimization-agent
- pr-review-agent
- refactor-agent
- smoke-agent
- telemetry-agent
- test-coverage-agent
- weekly-synthesis-agent

Verified that the daily scheduler list is already up-to-date.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 20:26:36 +00:00
thePR0M3TH3AN ec3142bd9f Merge pull request #2397 from PR0M3TH3AN/ai/load-test-20260212-6967903642560012014
Add Load Test Script and Report
2026-02-12 15:24:43 -05:00
thePR0M3TH3AN cddcf01c97 Merge pull request #2395 from PR0M3TH3AN/docs-update-known-issues-2026-02-12-7980621506793171439
Update KNOWN_ISSUES.md
2026-02-12 15:24:28 -05:00
thePR0M3TH3AN 27e5112425 Merge pull request #2394 from PR0M3TH3AN/ai/debug-frontend-20250218-10084943767205591907
fix(ai): frontend console error — ensure CSS build on install
2026-02-12 15:24:14 -05:00
thePR0M3TH3AN 8a76e468d4 Merge pull request #2393 from PR0M3TH3AN/fix-nip07-permissions-12168433302090309265
Fix NIP-07 login failure due to invalid permissions
2026-02-12 15:23:59 -05:00
thePR0M3TH3AN 8a924e60d4 updated agent library 2026-02-12 15:18:40 -05:00
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
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
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
google-labs-jules[bot]andPR0M3TH3AN 2b747ab562 docs: update KNOWN_ISSUES.md with latest test status and environment notes
- Updated visual test passing date to 2026-02-12.
- Added Environment section documenting Playwright browser installation requirement.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 18:36:17 +00:00
google-labs-jules[bot]andPR0M3TH3AN af150fdfe1 fix(ai): frontend console error — ensure CSS build on install (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 18:15:14 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7f97c3cece Fix NIP-07 login failure by removing non-standard permission strings
Removed `read_relays` and `write_relays` from `DEFAULT_NIP07_CORE_METHODS` in `js/nostr/nip07Permissions.js` as they are not standard NIP-07 or NIP-46 permission strings and were causing login failures with some extensions. Also ensured `jsdom` is installed for unit tests.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 17:40:10 +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