Commit Graph
5576 Commits
Author SHA1 Message Date
thePR0M3TH3AN 76a9eadc32 Merge pull request #2469 from PR0M3TH3AN/codex/audit-scheduler-prompt-text-for-clarity
[ci] normalize scheduler prompts to strict MUST command flow
2026-02-13 14:38:13 -05:00
thePR0M3TH3AN 5740fefbb2 docs(agents): normalize scheduler prompts to MUST workflow 2026-02-13 14:36:29 -05:00
thePR0M3TH3AN b1bfa20629 Merge pull request #2468 from PR0M3TH3AN/codex/update-scheduler-instructions-for-preflight
Codex-generated pull request
2026-02-13 14:32:48 -05:00
thePR0M3TH3AN 9acbd6e893 docs(scheduler): simplify preflight to PR list check 2026-02-13 14:26:50 -05:00
thePR0M3TH3AN 395afc4474 Merge pull request #2467 from PR0M3TH3AN/codex/create-concise-scheduler-flow-document
[docs][agents] consolidate scheduler flow into single required-order source
2026-02-13 14:21:10 -05:00
thePR0M3TH3AN 56d7b8488b docs(agents): centralize scheduler flow steps 2026-02-13 14:18:17 -05:00
thePR0M3TH3AN 8cee2c0f31 Merge pull request #2466 from PR0M3TH3AN/agents-daily-load-test-agent-run-2026-02-13-4087534891538251428
chore(agents): run load-test-agent daily task — implemented harness and report
2026-02-13 14:11:39 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4f206ccb12 chore(agents): run load-test-agent daily task — implemented harness and report
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 19:11:14 +00:00
thePR0M3TH3AN ad799ef1ab Merge pull request #2465 from PR0M3TH3AN/fix/scheduler-soft-fail-pr-2731166544800841818
fix(scheduler): relax hard stop on Draft PR creation failure
2026-02-13 14:10:58 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8ee5918462 fix(scheduler): relax hard stop on Draft PR creation failure
The daily and weekly scheduler prompts included a "hard stop" rule that aborted execution if Draft PR creation failed. In restricted environments (like the agent sandbox), `GH_TOKEN` is unavailable, preventing API write access even if git operations work.

This change modifies `docs/agents/prompts/daily-scheduler.md` and `docs/agents/prompts/weekly-scheduler.md` to implement a "soft fail" policy:
- If PR creation fails (e.g., missing credentials), the agent logs the failure in the `_started.md` file summary and proceeds.
- The pushed branch and `_started.md` log file serve as the primary distributed lock.
- Updates the checklist template to accept "FAILED/SKIPPED" for the PR number.

This ensures the scheduler can operate in constrained environments without sacrificing the core distributed locking mechanism.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 18:30:23 +00:00
thePR0M3TH3AN 6f345d0c49 Merge pull request #2462 from PR0M3TH3AN/agents/daily/known-issues-agent/run-2026-02-13-17-54-42-1495526787577309703
chore(agents): run known-issues-agent daily task — verify and update known issues
2026-02-13 13:18:13 -05:00
thePR0M3TH3AN 5a681bbc28 Merge pull request #2464 from PR0M3TH3AN/agents/weekly/fuzz-agent/2026-02-13-weekly-run-17870958921723138324
chore(agents): run fuzz-agent weekly task — fuzz nostr schemas
2026-02-13 13:16:34 -05:00
google-labs-jules[bot]andPR0M3TH3AN 9d85e647b6 chore(agents): run fuzz-agent weekly task — fuzz nostr schemas
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 18:05:17 +00:00
google-labs-jules[bot]andPR0M3TH3AN 5c68bb9b36 ci: fix build failure by removing microsoft-prod apt source
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 18:04:41 +00:00
google-labs-jules[bot]andPR0M3TH3AN 68439fe373 chore(agents): run known-issues-agent daily task — verify and update known issues
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 18:01:35 +00:00
thePR0M3TH3AN 50f0ebbff1 Merge pull request #2460 from PR0M3TH3AN/codex/add-utility-script-for-claim-audit
[ci] add claim-audit utility and make scheduler prompts fail-closed
2026-02-13 12:23:18 -05:00
thePR0M3TH3AN 7f3531ac4c docs(agents): add claim audit utility for scheduler exclusions 2026-02-13 12:22:54 -05:00
thePR0M3TH3AN 2eca209f02 Merge pull request #2455 from PR0M3TH3AN/ai/innerhtml-fix/subscriptions-12650247027422970359
[security] replace innerHTML usages in js/subscriptions.js — convert to safe DOM APIs
2026-02-13 12:19:55 -05:00
thePR0M3TH3AN 7deb730db5 Merge pull request #2456 from PR0M3TH3AN/ai/innerhtml-fix/channelProfile-12302281782298643204
[security] replace innerHTML usages in js/channelProfile.js
2026-02-13 12:19:37 -05:00
thePR0M3TH3AN 3a549e3496 Merge pull request #2459 from PR0M3TH3AN/codex/align-scheduling-prompt-documentation
[agents] unify scheduler claim sequence and pre-execution checklist
2026-02-13 12:16:14 -05:00
thePR0M3TH3AN fb8d196704 docs(agents): unify scheduler claim sequence and checklist 2026-02-13 12:15:57 -05:00
thePR0M3TH3AN 0565e019a1 Merge pull request #2458 from PR0M3TH3AN/codex/update-daily-and-weekly-scheduler-prompts
[docs] Enforce sortable race-check metadata in scheduler prompts
2026-02-13 12:12:19 -05:00
thePR0M3TH3AN f6ec91bc2c docs: tighten scheduler race-check metadata and verdict rules 2026-02-13 12:07:58 -05:00
thePR0M3TH3AN cb7b942c75 Merge pull request #2457 from PR0M3TH3AN/codex/update-scheduler-prompts-and-meta-prompt
Codex-generated pull request
2026-02-13 12:02:15 -05:00
thePR0M3TH3AN 5756503c30 docs(agents): enforce deterministic PR agent extraction 2026-02-13 12:02:02 -05:00
google-labs-jules[bot]andPR0M3TH3AN fffca30fb6 chore(agents): run innerhtml-migration-agent daily task — migrate js/channelProfile.js
- Replaced 10 instances of `innerHTML` with safe DOM APIs (`createElement`, `replaceChildren`, `textContent`).
- Extracted Zap Panel creation to `createZapPanelContent` helper.
- Extracted Subscribe Button creation logic.
- Updated `scripts/check-innerhtml.mjs` baseline (count reduced by 10).
- Verified via lint, unit tests, and Playwright verification.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 16:58:20 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8536f2f858 [security] replace innerHTML usages in js/subscriptions.js — convert to safe DOM APIs
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 16:51:33 +00:00
thePR0M3TH3AN 6aa9da1383 Merge pull request #2453 from PR0M3TH3AN/claude/add-pr-checking-ZTrrq
Replace gh CLI with curl for GitHub API queries in agent workflows
2026-02-13 11:17:39 -05:00
thePR0M3TH3AN d634bb6bef Merge pull request #2449 from PR0M3TH3AN/chore/weekly/frontend-console-debug-agent-8297778615366828086
chore(agents): run frontend-console-debug-agent weekly task
2026-02-13 11:17:21 -05:00
thePR0M3TH3AN 46c704f62a Merge pull request #2452 from PR0M3TH3AN/ai/doc-video-modal-20260213-10172684384746190032
[daily] docs-code-investigator: Document js/ui/components/VideoModal.js
2026-02-13 11:17:04 -05:00
google-labs-jules[bot]andPR0M3TH3AN d2c6f0a32e chore(ai): document js/ui/components/VideoModal.js
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 15:48:06 +00:00
Claude ce72c4bbad fix(agents): replace gh CLI with curl for PR checking to prevent duplicate work
Agents do not have access to gh CLI, causing them to skip the pre-flight
PR check and collide on duplicate work. This replaces all gh-based PR
checking commands with curl + jq using the GitHub REST API, updates the
task claiming protocol to use branch push + started log file as the
primary lock mechanism, and updates automation scripts to use curl for
PR listing and git fetch for PR checkout.

Files updated:
- AGENTS.md (Section 12 coordination rules)
- CLAUDE.md (coordination rules)
- META_PROMPTS.md (daily + weekly meta prompts)
- daily-scheduler.md (pre-flight gate, task claiming, error handling)
- weekly-scheduler.md (pre-flight gate, task claiming, error handling)
- bitvid-pr-review-agent.md (PR enumeration + checkout)
- bitvid-ci-health-agent.md (CI run gathering)
- bitvid-weekly-synthesis-agent.md (PR metadata gathering)
- bitvid-changelog-agent.md (PR metadata verification)
- scripts/agent/review-open-prs.mjs (PR listing + checkout)
- scripts/automated-pr-review.mjs (--all mode PR listing + checkout)

https://claude.ai/code/session_01L5bzzGpZ6YTiLXcfqaL81G
2026-02-13 15:47:42 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8d116af35f fix(test): resolve CI timeout in webseed-playback e2e test
- Switched from `waitUntil: 'networkidle'` to `domcontentloaded` + explicit selector wait to avoid flakiness from background polling.
- Added fail-fast logic to detect "Failed to load content" view states.
- Added error logging to capture page state if the test times out.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 13:26:06 +00:00
google-labs-jules[bot]andPR0M3TH3AN 87f7ae7616 chore(agents): run frontend-console-debug-agent weekly task
- Updated scripts/agent/debug_frontend.py to be more robust (timestamps, exit codes).
- Verified no frontend console errors on startup.
- Created task logs (started/completed).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 13:13:27 +00:00
thePR0M3TH3AN 05d575d187 Merge pull request #2439 from PR0M3TH3AN/docs/align-docs-13610324471753771843
docs: align development docs with codebase behavior
2026-02-13 00:44:10 -05:00
thePR0M3TH3AN ad61d0cb0a Merge pull request #2438 from PR0M3TH3AN/chore/docs-alignment-daily-8450414943487656823
docs: align CLAUDE.md and nostr-event-schemas.md with codebase
2026-02-13 00:43:46 -05:00
google-labs-jules[bot]andPR0M3TH3AN ff6d5f73ca docs: align development docs with codebase behavior
- Added `npm run test:smoke` documentation to README.md and CONTRIBUTING.md
- Added `npm run audit` documentation to README.md and CONTRIBUTING.md
- Ran `npm run audit` to generate REMEDIATION_REPORT.md
- Created daily agent scheduler logs (started/completed)

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 05:38:59 +00:00
thePR0M3TH3AN 3ac3b229ff Merge pull request #2435 from PR0M3TH3AN/weekly/event-schema-agent-2163247166116264603
[weekly] event-schema-agent: validation harness and fixes
2026-02-13 00:37:18 -05:00
google-labs-jules[bot]andPR0M3TH3AN 3b0556414c docs: align CLAUDE.md and nostr-event-schemas.md with codebase
- Update `CLAUDE.md` to include `FEATURE_TRUSTED_HIDE_CONTROLS` and `FEATURE_IMPROVED_COMMENT_FETCHING`.
- Update `docs/nostr-event-schemas.md` to include detailed schemas for NIP-17 and Gift Wrap kinds (1059, 13, 14, 15, 20001, 20002, 10050).
- Add task logs for docs-alignment-agent execution.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 05:35:46 +00:00
thePR0M3TH3AN 78ee152daf Merge pull request #2436 from PR0M3TH3AN/jules-2556574723888655316-ec04037a
chore(agents): run docs-alignment-agent daily task
2026-02-13 00:34:19 -05:00
thePR0M3TH3AN 88e489befd Merge pull request #2434 from PR0M3TH3AN/daily/docs-alignment-agent-16953909253840547005
chore(agents): run docs-alignment-agent daily task — update README/CONTRIBUTING
2026-02-13 00:34:11 -05:00
thePR0M3TH3AN 501fa74840 Merge branch 'unstable' into weekly/event-schema-agent-2163247166116264603 2026-02-13 00:33:08 -05:00
thePR0M3TH3AN b55b96a620 Merge pull request #2437 from PR0M3TH3AN/claude/fix-agent-scheduler-prompts-UZUiP
Refactor scheduler meta prompts to enforce pre-flight gate
2026-02-13 00:23:11 -05:00
Claude f794971bfc fix(agents): rewrite scheduler prompts to force pre-flight execution
Agents were skipping the pre-flight curl/gh check for in-progress work,
causing duplicate task runs. Root causes:

1. Two-document indirection (meta prompt → scheduler) caused the pre-flight
   instructions to get lost when the agent opened the second file
2. No proof-of-execution gate — agents could assert "no conflicts" without
   actually running the commands
3. curl|jq pipeline silently fails when jq is unavailable
4. "Step 0" labeling felt like skippable preamble

Changes:
- Make the commands the literal first instruction ("run NOW, paste output")
- Use gh CLI as primary (authenticated, no jq needed), curl as fallback
- Require raw terminal output pasted before proceeding (output gate)
- Rename "Step 0" to "PRE-FLIGHT GATE" to signal it's not optional
- Eliminate duplication between meta prompt and scheduler files
- Add explicit "STOP HERE" checkpoint after command execution
- Add skip-ahead clause for agents arriving from meta prompt

https://claude.ai/code/session_01S7jaQb9ctJ4bzqRhEcm28Q
2026-02-13 05:21:25 +00:00
google-labs-jules[bot]andPR0M3TH3AN 4077d6ee5d chore(agents): run docs-alignment-agent daily task — update CLAUDE.md scripts
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 05:20:34 +00:00
thePR0M3TH3AN fcf7fef058 Merge pull request #2433 from PR0M3TH3AN/claude/prevent-duplicate-scheduler-work-dj6XE
Add event-schema-agent task log entry for 2026-02-13
2026-02-13 00:14:50 -05:00
google-labs-jules[bot]andPR0M3TH3AN 9c65a78249 chore(agents): run event-schema-agent weekly task
- Implement `scripts/agent/validate-events.mjs` harness.
- Fix `buildWatchHistoryEvent` to default `monthIdentifier` if missing.
- Verified all builders produce valid events.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 05:14:10 +00:00
Claude 0e46902ed0 chore(agents): run event-schema-agent weekly task — enhance validator with CLI, reporting, and registry checks
Enhanced scripts/agent/validate-events.mjs with:
- CLI options: --dry-run, --out=<path>, --only=<builder>
- JSON report output (artifacts/validate-events-YYYYMMDD.json)
- sanitizeAdditionalTags test cases (3 tests)
- Schema registry verification via getAllNostrEventSchemas (35 checks)
- Runtime construction site mapping (29 call sites across codebase)
- Structured report format per agent prompt spec

All 66 validation checks pass. No schema failures found.

https://claude.ai/code/session_018HLVbfKYtfPMWcSMaC1W7N
2026-02-13 05:12:52 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8ab83506c3 chore(agents): run docs-alignment-agent daily task — update README/CONTRIBUTING
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 05:09:37 +00:00
Claude 00b103cf6e chore(agents): claim event-schema-agent weekly task
https://claude.ai/code/session_018HLVbfKYtfPMWcSMaC1W7N
2026-02-13 05:03:26 +00:00