Commit Graph
324 Commits
Author SHA1 Message Date
thePR0M3TH3AN ccc76d8b51 Add scheduler lock preflight e2e coverage 2026-02-14 19:56:25 -05:00
thePR0M3TH3AN 68a615decd Merge pull request #150 from PR0M3TH3AN/codex/add-integration-test-suite-for-relay-fanout
Add relay fanout quorum integration tests with local 3‑endpoint relay simulator
2026-02-14 19:52:13 -05:00
thePR0M3TH3AN 4349485ef1 Add relay fanout quorum integration tests 2026-02-14 19:51:56 -05:00
thePR0M3TH3AN 496ed8f8d6 Merge pull request #149 from PR0M3TH3AN/codex/add-unit-tests-for-relay-publish-function
test: add lock publish retry tests and emit terminal errorCategory
2026-02-14 19:47:44 -05:00
thePR0M3TH3AN aad60b795a test: add publish retry matrix coverage for lock backend 2026-02-14 19:47:32 -05:00
thePR0M3TH3AN 278cd844b9 Merge pull request #148 from PR0M3TH3AN/codex/update-failure-messages-and-documentation
Codex-generated pull request
2026-02-14 19:42:17 -05:00
thePR0M3TH3AN 874747de91 Classify scheduler failures and document lock remediation 2026-02-14 19:42:03 -05:00
thePR0M3TH3AN 33d1308494 Merge pull request #147 from PR0M3TH3AN/codex/add-relay-health-check-job
Add relay health preflight job and scheduler deferral safeguards
2026-02-14 19:36:12 -05:00
thePR0M3TH3AN 1e97118e8b Add relay health preflight job and scheduler deferral handling 2026-02-14 19:35:56 -05:00
thePR0M3TH3AN 37ee9eb0f2 Merge pull request #146 from PR0M3TH3AN/codex/improve-lock-command-diagnostics-for-publish-failures
Improve lock publish diagnostics and surface structured failure metadata to scheduler
2026-02-14 19:30:13 -05:00
thePR0M3TH3AN 46198a500e Improve lock publish diagnostics and scheduler failure summaries 2026-02-14 19:30:00 -05:00
thePR0M3TH3AN 872593f4fd Merge pull request #145 from PR0M3TH3AN/codex/add-scheduler-policy-layer-for-lock-failures
Add scheduler lock deferral policy with failure-class metadata
2026-02-14 19:23:49 -05:00
thePR0M3TH3AN 9aad0d933d Add lock deferral policy for scheduler backend failures 2026-02-14 19:23:37 -05:00
thePR0M3TH3AN 430558558e Merge pull request #144 from PR0M3TH3AN/codex/update-relay-selection-logic-and-health-metrics
Add relay health scoring, quarantine, and min-active-pool to lock backend
2026-02-14 19:15:41 -05:00
thePR0M3TH3AN 57ba0fe4f4 Improve lock relay health ranking and quarantine handling 2026-02-14 19:15:31 -05:00
thePR0M3TH3AN 6556c8448c Merge pull request #142 from PR0M3TH3AN/run-daily-log-fixer-agent-11912515760356902556
run(daily): log-fixer-agent
2026-02-14 19:12:51 -05:00
thePR0M3TH3AN 69e328fef0 Merge pull request #141 from PR0M3TH3AN/load-test-agent-script-1381185396141565779
Add load-test-agent script
2026-02-14 19:12:14 -05:00
thePR0M3TH3AN b5869ad950 Merge pull request #143 from PR0M3TH3AN/codex/implement-retry-logic-for-lock-command
Add bounded retries with backoff and telemetry to lock publish
2026-02-14 19:09:15 -05:00
thePR0M3TH3AN f22bcfb713 Add bounded retry logic for lock publish quorum 2026-02-14 19:08:53 -05:00
google-labs-jules[bot]andPR0M3TH3AN 6d99f2a873 run(daily): log-fixer-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 00:08:19 +00:00
google-labs-jules[bot]andPR0M3TH3AN dd27f28f3b feat(ai): add load-test-agent script
- Added `scripts/agent/load-test.mjs` for daily load testing.
- Includes `DRY_RUN` mode for safe simulation.
- Includes real publishing logic using `nostr-tools/relay` and `nostr-tools/pure`.
- Generated sample report in `artifacts/`.
- Updated `task-logs/daily/` with completion status.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 00:01:16 +00:00
thePR0M3TH3AN 3c5bf0ba9e Merge pull request #140 from PR0M3TH3AN/codex/configure-daily-agent-scheduler
Log daily scheduler failure when lock backend is unavailable
2026-02-14 18:52:31 -05:00
thePR0M3TH3AN fb079a4bef Log daily scheduler lock backend failure 2026-02-14 18:52:19 -05:00
thePR0M3TH3AN e96f8d2d9c update 2026-02-14 18:49:28 -05:00
thePR0M3TH3AN e60dc97bc9 Merge pull request #139 from PR0M3TH3AN/codex/harden-lock-backend-config-and-validation
Harden lock backend config validation, timeouts, and relay quorum behavior
2026-02-14 18:48:32 -05:00
thePR0M3TH3AN 84d3e7eded Harden lock backend config validation and fallback behavior 2026-02-14 18:48:21 -05:00
thePR0M3TH3AN 9a64554d87 Merge pull request #138 from PR0M3TH3AN/codex/improve-observability-for-lock-runs
Codex-generated pull request
2026-02-14 18:43:12 -05:00
thePR0M3TH3AN ecb26dfa99 Improve scheduler lock observability and reliability reporting 2026-02-14 18:42:52 -05:00
thePR0M3TH3AN 76b089327a Merge pull request #137 from PR0M3TH3AN/codex/add-preflight-step-for-scheduler-cycle
Add lock backend relay-health preflight and gate scheduler start
2026-02-14 18:36:11 -05:00
thePR0M3TH3AN bc51e2f2e8 Add scheduler relay health preflight gate 2026-02-14 18:36:01 -05:00
thePR0M3TH3AN e5fd19dbf5 Merge pull request #136 from PR0M3TH3AN/codex/enhance-lock-acquisition-flow-with-retries
Add retry/backoff handling for scheduler lock backend failures
2026-02-14 18:30:08 -05:00
thePR0M3TH3AN 9c069f75a6 Add scheduler lock retries for backend failures 2026-02-14 18:29:55 -05:00
thePR0M3TH3AN 70c458250e Merge pull request #135 from PR0M3TH3AN/codex/update-run-scheduler-cycle-error-handling
Enrich scheduler lock backend failure logs for exit code 2
2026-02-14 18:26:32 -05:00
thePR0M3TH3AN c38dfe1258 Enrich scheduler lock backend failure logging 2026-02-14 18:23:52 -05:00
thePR0M3TH3AN 4831d64533 Merge pull request #134 from PR0M3TH3AN/jules/init-random-namespace-13799195171516890011
feat: generate random namespace on init
2026-02-14 18:19:44 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0f3fd3209f feat: random namespace generation in init
This commit updates the `npx torch-lock init` command to automatically generate a `torch-config.json` file if it doesn't already exist. The generated configuration includes a randomized `nostrLock.namespace` (e.g., `torch-a1b2c3d4`) to ensure unique discovery topics for each installation, preventing message collisions across different repositories.

- Modified `src/ops.mjs` to import `crypto` and implement the config generation logic in `cmdInit`.
- Added a test case in `test/ops.test.mjs` to verify the random namespace generation.
- Uses `torch-config.example.json` as a template.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 23:19:25 +00:00
thePR0M3TH3AN 6540e85c35 Merge pull request #133 from PR0M3TH3AN/codex/implement-weekly-agent-scheduling
Codex-generated pull request
2026-02-14 18:16:29 -05:00
thePR0M3TH3AN 8c2bff90c4 Log weekly scheduler lock backend failure 2026-02-14 18:16:18 -05:00
thePR0M3TH3AN c0d3e56cea Merge pull request #132 from PR0M3TH3AN/codex/filter-candidate-log-files-by-pattern
Harden scheduler log candidate selection and timestamp validation
2026-02-14 18:10:43 -05:00
thePR0M3TH3AN 827c7038c9 Harden scheduler log candidate selection 2026-02-14 18:10:29 -05:00
thePR0M3TH3AN 9169791cb3 Merge pull request #131 from PR0M3TH3AN/agents/daily/known-issues-agent-5748156922511794482
scheduler: run known-issues-agent (daily)
2026-02-14 18:09:15 -05:00
thePR0M3TH3AN dc2f68c79e Merge pull request #129 from PR0M3TH3AN/agents/daily/innerhtml-migration-8152833633844970948
feat(security): migrate dashboard innerHTML to safe DOM APIs
2026-02-14 18:08:57 -05:00
google-labs-jules[bot]andPR0M3TH3AN 26d9c3dff7 scheduler: run known-issues-agent (daily)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 23:06:23 +00:00
thePR0M3TH3AN 4690e4f2b2 Merge pull request #130 from PR0M3TH3AN/codex/enhance-artifact-validation-in-verify-run-artifacts.mjs
Strengthen scheduler run-artifact verification and failure cross-linking
2026-02-14 18:06:03 -05:00
thePR0M3TH3AN 909a7f9541 Strengthen run-artifact verification metadata and issue linkage 2026-02-14 18:05:54 -05:00
google-labs-jules[bot]andPR0M3TH3AN b92f0efd38 feat(security): migrate dashboard innerHTML to safe DOM APIs
- Replace innerHTML with document.createElement and replaceChildren in dashboard/index.html
- Add dashboard/domUtils.js for safe HTML escaping and element creation
- Add context, decisions, and test logs
- Update daily task logs

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 23:05:24 +00:00
thePR0M3TH3AN 077420ac40 Merge pull request #128 from PR0M3TH3AN/codex/align-authority-model-in-prompt-templates
Align scheduler prompts to scheduler-owned completion/logging
2026-02-14 17:59:53 -05:00
thePR0M3TH3AN 317169cb31 Align scheduler prompts to scheduler-owned completion model 2026-02-14 17:59:10 -05:00
thePR0M3TH3AN f73d608f6b Merge pull request #127 from PR0M3TH3AN/codex/update-scheduler-memory-policy-in-torch-config
Codex-generated pull request
2026-02-14 17:55:49 -05:00
thePR0M3TH3AN 74a4e4d009 Make scheduler memory commands run-scoped and context-aware 2026-02-14 17:55:40 -05:00