Commit Graph
1384 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN eff5f1db81 chore: run daily perf-agent and fix validation
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 01:35:36 +00:00
thePR0M3TH3AN b955c1c256 Merge pull request #155 from PR0M3TH3AN/agents/daily/onboarding-audit-agent-run-10795662537549449689
Scheduler Run: onboarding-audit-agent (Daily)
2026-02-14 20:12:32 -05:00
google-labs-jules[bot]andPR0M3TH3AN e267c5bcf0 docs(scheduler): run onboarding-audit-agent task
- Run onboarding-audit-agent:
  - Simulate clean checkout.
  - Run npm ci (passed).
  - Run npm test (failed due to prompt contract violations).
  - Run npm run lint (passed).
- Generate required run artifacts:
  - src/context/CONTEXT_*.md
  - src/todo/TODO_*.md
  - src/decisions/DECISIONS_*.md
  - src/test_logs/TEST_LOG_*.md
  - docs/agent-handoffs/incidents/INCIDENT_PROMPT-CONTRACT-FAILURES_*.md
- Publish task completion event.
- Generate task log: task-logs/daily/*__onboarding-audit-agent__completed.md.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 01:10:51 +00:00
thePR0M3TH3AN 2aec332a7e Merge pull request #154 from PR0M3TH3AN/codex/add-tests-for-cli-error-rendering
Add scheduler failure rendering snapshots for lock-backend vs prompt-file errors
2026-02-14 20:10:39 -05:00
thePR0M3TH3AN 969b72d3e1 Add scheduler error rendering snapshot coverage 2026-02-14 20:10:26 -05:00
thePR0M3TH3AN b16b4a9246 Merge pull request #153 from PR0M3TH3AN/codex/add-resilience-test-suite-for-lock-acquisition
Add ci-resilience lock acquisition tests for unstable relay scenarios
2026-02-14 20:06:52 -05:00
thePR0M3TH3AN 6259f7f2f5 Add ci-resilience lock acquisition test suite 2026-02-14 20:06:30 -05:00
thePR0M3TH3AN dd95661fc1 Merge pull request #152 from PR0M3TH3AN/codex/create-contract-tests-for-scheduler-failure-schema
Add contract tests for scheduler lock-backend failure frontmatter and canonicalize backend_category
2026-02-14 20:01:50 -05:00
thePR0M3TH3AN c1d0de071c test: add scheduler lock failure frontmatter contract coverage 2026-02-14 20:01:32 -05:00
thePR0M3TH3AN 710f6e9ec5 Merge pull request #151 from PR0M3TH3AN/codex/add-end-to-end-tests-for-preflight-lock-step
Codex-generated pull request
2026-02-14 19:56:58 -05:00
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