Commit Graph
169 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 439e08042c docs: update README.md and TORCH.md with scheduler and lock commands
- Added `scheduler:daily` and `scheduler:weekly` usage examples to README.md and TORCH.md.
- Added `lock:complete` and `lock:check:daily` usage examples to README.md and TORCH.md.
- Updated TODO list to reflect completion of documentation alignment.
- Verified script presence and syntax.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 03:52:47 +00:00
thePR0M3TH3AN 5783f995d7 update 2026-02-19 22:22:45 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0b9dfa60ce docs: align README and TORCH.md with package.json scripts
- Added `npm run scheduler:daily` to docs
- Added `npm run scheduler:weekly` to docs
- Added `npm run lock:complete` to docs
- Generated task log and artifacts for docs-alignment-agent run

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 02:35:34 +00:00
thePR0M3TH3AN 91ed0c765f Merge pull request #347 from PR0M3TH3AN/agents/daily/docs-agent-3116770565114843973
docs(scheduler): run docs-agent cycle
2026-02-19 21:15:45 -05:00
google-labs-jules[bot]andPR0M3TH3AN 925ead1523 docs(scheduler): run docs-agent cycle
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 02:15:11 +00:00
thePR0M3TH3AN 0cfb40a410 Merge branch 'main' of https://github.com/PR0M3TH3AN/TORCH 2026-02-19 21:09:43 -05:00
thePR0M3TH3AN cab73c3344 update 2026-02-19 21:09:10 -05:00
thePR0M3TH3AN e7b8049f8b Merge pull request #345 from PR0M3TH3AN/agents/daily/deps-security-agent-2026-02-20-693252216422401941
Daily Scheduler Run: deps-security-agent
2026-02-19 20:54:32 -05:00
thePR0M3TH3AN 2df8b85682 Merge branch 'main' into agents/daily/decompose-agent-refactor-14956609596778737678 2026-02-19 20:54:11 -05:00
google-labs-jules[bot]andPR0M3TH3AN 2cba102998 Run deps-security-agent (daily cadence)
- Audited dependencies (npm audit, npm outdated)
- Generated security report
- Created scheduler run artifacts
- Created completion log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 01:19:41 +00:00
google-labs-jules[bot]andPR0M3TH3AN b8598d1d92 feat: Decompose src/lock-ops.mjs into relay-health-manager.mjs and lock-publisher.mjs
- Extracted `RelayHealthManager` to `src/relay-health-manager.mjs`
- Extracted `LockPublisher` to `src/lock-publisher.mjs`
- Refactored `src/lock-ops.mjs` to import new modules
- Reduced `src/lock-ops.mjs` size significantly (> 500 lines)
- Preserved API compatibility (re-exported `defaultHealthManager`)
- Verified with lint and tests
- Updated `scripts/check-file-size.mjs` report (implicit)

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 00:36:49 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8653521593 [decompose] extract RelayHealthManager and LockPublisher from src/lock-ops.mjs
- Extracted `RelayHealthManager` to `src/relay-health-manager.mjs`
- Extracted `LockPublisher` to `src/lock-publisher.mjs`
- Moved shared utilities to `src/lock-utils.mjs`
- Updated `src/lock-ops.mjs` to import dependencies and re-export public API
- Reduced `src/lock-ops.mjs` from 880 to 152 lines
- Verified with tests (295 passed) and linting

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 23:41:10 +00:00
google-labs-jules[bot]andPR0M3TH3AN 916a91b470 chore: run content-audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 22:35:48 +00:00
thePR0M3TH3AN e74c33a78d Merge pull request #326 from PR0M3TH3AN/agents/daily/torch-garbage-collection-agent-2026-02-19-15853237273456100337
Run torch-garbage-collection-agent daily cycle
2026-02-19 17:19:25 -05:00
thePR0M3TH3AN 86bfec6319 update 2026-02-19 17:05:13 -05:00
google-labs-jules[bot]andPR0M3TH3AN 2174e8bc4d [constants] Refactor 1000 to MS_PER_SECOND
- Extracted MS_PER_SECOND to src/constants.mjs
- Replaced literal 1000 in src/relay-health.mjs, src/utils.mjs, src/lib.mjs, src/lock-ops.mjs
- Updated test/scheduler-lock-failure-schema.contract.test.mjs to copy constants.mjs
- Added task log and artifacts

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 21:34:50 +00:00
thePR0M3TH3AN 510e05ab54 update 2026-02-19 16:10:00 -05:00
thePR0M3TH3AN 8b6cf31f7d update 2026-02-19 15:39:09 -05:00
thePR0M3TH3AN ce5242fbf2 update 2026-02-19 15:22:10 -05:00
google-labs-jules[bot]andPR0M3TH3AN d1e69ba48c chore(scheduler): run torch-garbage-collection-agent daily cycle
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 19:18:16 +00:00
thePR0M3TH3AN e64cdf9012 Merge pull request #324 from PR0M3TH3AN/agents/daily/todo-triage-agent-run-5169383257514229850
Execute Daily Scheduler: todo-triage-agent
2026-02-19 14:08:26 -05:00
google-labs-jules[bot]andPR0M3TH3AN fdfd0b9348 feat(scheduler): execute daily todo-triage-agent run
- Install dependencies via `npm ci`
- Run preflight lock check
- Select `todo-triage-agent` (skipping locked agents)
- Execute `todo-triage-agent` prompt:
  - Scan codebase for TODOs (none found)
  - Generate required artifacts in `src/context`, `src/todo`, `src/decisions`, `src/test_logs`
- Verify run artifacts
- Publish lock completion
- Create final task log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 18:15:59 +00:00
google-labs-jules[bot]andPR0M3TH3AN c6b73959fc chore(scheduler): Execute daily test-audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 17:00:24 +00:00
thePR0M3TH3AN fa59d658d6 Merge branch 'main' into agents/daily/protocol-research-agent-run-9833362316977900264 2026-02-19 08:38:47 -05:00
google-labs-jules[bot]andPR0M3TH3AN 09268c2d4c chore(scheduler): run weekly pr-review-agent cycle
- Executed weekly scheduler cycle for pr-review-agent.
- Generated task log for simulated run failure (due to missing artifacts in simulation).
- Ensured log filename is cross-platform compatible.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 05:09:57 +00:00
google-labs-jules[bot]andPR0M3TH3AN a4766fe745 chore(ai): run style-agent daily task
Executed style-agent for daily cadence.
Ran npm run lint (and --fix), npm run build, and npm test.
Verified no style issues were auto-fixable.
Created completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 02:28:27 +00:00
Claude a18481151c scheduler(weekly): record failed lock acquisition for perf-optimization-agent
Lock backend error: all Nostr relays returned permanent_validation_error
(no WebSocket connectivity). perf-optimization-agent was selected as next
agent after perf-deepdive-agent (round-robin index 7). Prompt not executed;
lock:complete not published per scheduler strict_lock policy.

https://claude.ai/code/session_019g8yqKQMiq9u41n3GxUpFH
2026-02-19 00:59:32 +00:00
google-labs-jules[bot]andPR0M3TH3AN 58000b69ad Run protocol-research-agent (Daily)
- Executed protocol-research-agent prompt
- Verified PROTOCOL_INVENTORY.md
- Created src/context/CONTEXT_2026-02-19.md
- Created reports/protocol/protocol-report-2026-02-19.md
- Created task-logs/daily/2026-02-19T00-42-38Z__protocol-research-agent__completed.md

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 00:45:34 +00:00
thePR0M3TH3AN f795bd5ae6 Merge pull request #315 from PR0M3TH3AN/agents/daily/onboarding-audit-agent-11360221078717616389
chore(scheduler): Execute onboarding-audit-agent
2026-02-18 19:13:03 -05:00
google-labs-jules[bot]andPR0M3TH3AN d6a1e22f56 chore(scheduler): Execute onboarding-audit-agent
- Executed onboarding-audit-agent daily task.
- Validated onboarding from a clean checkout (npm install, build, test, lint).
- Updated package-lock.json with missing metadata (license, engines).
- Created audit report in reports/audit/.
- Created required context/todo/decision artifacts in src/.
- Completed scheduler lock cycle.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 23:23:51 +00:00
google-labs-jules[bot]andPR0M3TH3AN ac87628317 chore(scheduler): execute daily log-fixer-agent run
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 22:31:57 +00:00
google-labs-jules[bot]andPR0M3TH3AN 1dfabdcd66 feat: implement load-test-agent harness and report
- Create scripts/agent/load-test.mjs with nostr-tools and ws.
- Generate load test report in reports/load-test/.
- Verify with dry run.
- Scheduler cycle completion log for load-test-agent.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 21:09:27 +00:00
thePR0M3TH3AN 24d614d2de Merge pull request #305 from PR0M3TH3AN/agents/daily/known-issues-agent-2026-02-18-13101749504477936442
Run known-issues-agent: Fix content-audit path and update known issues
2026-02-18 15:07:57 -05:00
google-labs-jules[bot]andPR0M3TH3AN 6614535361 perf: optimize rankRelays for subset queries
- Optimized `RelayHealthManager.rankRelays` to use O(M log M) lookup for small subsets instead of O(N) filter.
- Added `byRelay` Map to `_sortedCache` for O(1) access.
- Fixed `NaN` bug in `buildRelayHealthConfig` when `minActiveRelayPool` is undefined.
- Updated `perf/benchmark-lock-ops.mjs` to measure subset performance.
- Added performance report `reports/performance/weekly-perf-report-2026-02-18.md`.
- Achieved ~6.8x speedup in benchmark.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 19:54:47 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3cf6f2e3b2 feat(known-issues-agent): resolve content-audit-agent target directory and update triage report
- Fixed `content-audit-agent` target directory by updating `src/prompts/daily/content-audit-agent.md` to reference `docs/` instead of `/content`.
- Verified `npm test` prompt contract violations are resolved.
- Updated `KNOWN_ISSUES.md` with resolved status and verification dates.
- Generated `reports/known-issues/known-issues-report-2026-02-18.md` with triage summary.
- Ensured memory retrieval and storage workflows were executed.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 19:52:48 +00:00
thePR0M3TH3AN 62731f77fd Merge pull request #301 from PR0M3TH3AN/chore/clean-repo-standard-12872616590007917715
chore: Enforce Clean Repo Standard and organize artifacts
2026-02-18 14:28:33 -05:00
google-labs-jules[bot]andPR0M3TH3AN 326608ce7e chore: Enforce Clean Repo Standard and organize artifacts
- Added "Clean Repo Standard" to `AGENTS.md` and `CLAUDE.md`, explicitly forbidding root-level logs/artifacts.
- Moved clutter files (`test_output_full.txt`, `benchmark-after.txt`, `dashboard.log`, etc.) to `test_logs/`, `task-logs/`, and `reports/performance/`.
- Moved `INITIAL_BASELINE.md` and other baseline files to `reports/performance/`.
- Updated `src/prompts/daily/perf-agent.md` and `src/prompts/daily/const-refactor-agent.md` to reference the new location of `INITIAL_BASELINE.md`.
- Updated `.gitignore` to ignore logs and temporary artifacts in the new directories.
- Moved `DIAGNOSIS.md` to `reports/performance/`.
- Moved `perf/` data files to `reports/performance/`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 19:28:03 +00:00
google-labs-jules[bot]andPR0M3TH3AN b29f257b98 [security] replace innerHTML usages in landing/index.html — convert to safe DOM APIs
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 19:17:12 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8455c99dfc chore(ai): document src/lock-ops.mjs
- Added JSDoc to exported functions and classes in src/lock-ops.mjs
- Added inline comments to complex logic areas
- Created docs/lock-ops-overview.md
- Created task log for daily docs-code-investigator agent

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 18:19:28 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7c41e040bd docs: align package config and documentation paths
- Update `package.json` to include `TORCH.md` and `scripts/memory/` in distribution.
- Update `README.md` to reference `TORCH.md` correctly.
- Update `src/ops.mjs` to robustly handle memory policy paths in `torch-config.json` generation.
- Update `.gitignore` to exclude `.scheduler-memory/`.
- Update `torch-config.example.json` to include memory policy with standard defaults.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 16:51:35 +00:00
google-labs-jules[bot]andPR0M3TH3AN 57f6675c64 Weekly fuzz-agent run: fixes and execution
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 15:22:04 +00:00
thePR0M3TH3AN ccc4c33307 Merge branch 'main' into agents/daily/design-system-audit-agent-14566851065509091876 2026-02-18 09:44:48 -05:00
thePR0M3TH3AN 30753d97be Merge branch 'main' into agents/daily/todo-triage-agent-3669620007397262659 2026-02-18 09:43:41 -05:00
google-labs-jules[bot]andPR0M3TH3AN 06ddd10f1a chore(scheduler): run daily design-system-audit-agent
- Executed design-system-audit-agent on daily cadence
- Generated design system audit report (memory-update.md)
- Created run artifacts in src/context, src/todo, src/decisions, src/test_logs
- Published lock completion and final task log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 02:42:06 +00:00
thePR0M3TH3AN cea50da512 Merge pull request #268 from PR0M3TH3AN/agents/daily/docs-agent-2026-02-18-7952298957749290543
Daily Scheduler: docs-agent run
2026-02-17 21:32:10 -05:00
google-labs-jules[bot]andPR0M3TH3AN f436beab9b docs(agent): audit and improve documentation (docs-agent)
- Created `CONTRIBUTING.md` with development instructions.
- Updated `README.md` to include a Development section.
- Added daily scheduler run artifacts.
- Completed scheduler cycle for `docs-agent`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 01:16:10 +00:00
google-labs-jules[bot]andPR0M3TH3AN c90508ba42 chore(ui): design system audit (autofixes)
- Ran design-system-audit-agent.
- Audited landing/index.html for inline styles and design system violations.
- Applied safe auto-fixes to landing/index.html (margins, colors, text alignment).
- Generated audit report in task-logs/daily/.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 00:24:07 +00:00
thePR0M3TH3AN f343af246f Merge pull request #266 from PR0M3TH3AN/agents/daily/deps-security-agent-2026-02-17-6568228938484904642
Daily Scheduler: deps-security-agent
2026-02-17 18:40:25 -05:00
google-labs-jules[bot]andPR0M3TH3AN da4d360af1 chore(scheduler): execute deps-security-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 23:27:49 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9e993800fa [scheduler] daily/decompose-agent: Decompose scripts/agent/run-scheduler-cycle.mjs
- Executed daily scheduler cycle.
- Selected `decompose-agent` (next in roster).
- Decomposed `scripts/agent/run-scheduler-cycle.mjs` (1127 lines) into `scripts/agent/scheduler-utils.mjs` (195 lines) and `scripts/agent/scheduler-lock.mjs` (173 lines).
- Resulting main file size: 788 lines (339 lines reduction).
- Fixed lint warnings.
- Updated `test/scheduler-preflight-lock.e2e.test.mjs`, `test/run-scheduler-cycle-memory-policy.test.mjs`, `test/scheduler-lock-failure-schema.contract.test.mjs` to copy new modules into test fixtures.
- Updated `test/scheduler-ratchet.test.mjs` to verify moved functions in `scheduler-lock.mjs`.
- Note: `scripts/check-file-size.mjs` was not updated as it lacks the baseline feature referenced in the prompt.
- Created artifacts: `src/context/CONTEXT_...`, `src/decisions/DECISIONS_...`, `src/test_logs/TEST_LOG_...`, `src/todo/TODO_...`.
- Created scheduler log: `task-logs/daily/2026-02-17T22-29-00Z__decompose-agent__completed.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 22:41:37 +00:00