Commit Graph
746 Commits
Author SHA1 Message Date
thePR0M3TH3AN 2df8b85682 Merge branch 'main' into agents/daily/decompose-agent-refactor-14956609596778737678 2026-02-19 20:54:11 -05:00
thePR0M3TH3AN 97abbcf8f6 Merge pull request #343 from PR0M3TH3AN/agents/daily/decompose-lock-ops-14953922511672470483
Decompose src/lock-ops.mjs into smaller modules
2026-02-19 20:50:50 -05: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
thePR0M3TH3AN e10528141d Merge pull request #341 from PR0M3TH3AN/landing-ui-refresh-2540753613320414541
Refreshed Landing Page UI with Ambient Animations and Warm Accents
2026-02-19 17:52:44 -05:00
thePR0M3TH3AN e83ac2f36c Merge pull request #342 from PR0M3TH3AN/agents/daily/content-audit-agent-94764358939736024
chore: run content-audit-agent (daily)
2026-02-19 17:52:24 -05: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
google-labs-jules[bot]andPR0M3TH3AN 2662e5bd45 feat(landing): Add warm accent colors, animated SVG background, and scroll reveal animations
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 22:28:48 +00:00
thePR0M3TH3AN 30ea59a93c Merge pull request #335 from PR0M3TH3AN/dependabot/npm_and_yarn/nostr-tools-2.23.1
build(deps): bump nostr-tools from 2.19.4 to 2.23.1
2026-02-19 17:20:17 -05:00
thePR0M3TH3AN 881cb5acb9 Merge pull request #334 from PR0M3TH3AN/dependabot/github_actions/actions/checkout-6
build(deps): bump actions/checkout from 4 to 6
2026-02-19 17:20:02 -05:00
thePR0M3TH3AN 84ce8ed249 Merge pull request #333 from PR0M3TH3AN/dependabot/github_actions/actions/setup-node-6
build(deps): bump actions/setup-node from 4 to 6
2026-02-19 17:19:38 -05: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 a2f519e6de Merge pull request #340 from PR0M3TH3AN/landing-agent-descriptions-6084508591971238604
Update agent descriptions in landing/index.html
2026-02-19 17:15:46 -05:00
google-labs-jules[bot]andPR0M3TH3AN e65e044941 Update agent descriptions in landing/index.html
- Jules: Web-based tool with Auto-Scheduler
- Claude Code CLI: CLI Required, needs cronjob
- Gemini CLI: CLI Required, needs cronjob
- Antigravity IDE: Manual only

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 22:15:31 +00:00
thePR0M3TH3AN 86bfec6319 update 2026-02-19 17:05:13 -05:00
thePR0M3TH3AN 6bce64be3b Merge pull request #339 from PR0M3TH3AN/feature/init-dashboard-file-config-hashtag-4189892407545080483
Generate TORCH_DASHBOARD.md and expose hashtag in config during init
2026-02-19 16:45:39 -05:00
google-labs-jules[bot]andPR0M3TH3AN 016f3e34e2 feat: generate dashboard file and config hashtag during init
This change updates the `torch init` command to:
1.  Prompt the user for a Nostr hashtag (defaulting to `${namespace}-agent-lock`).
2.  Explicitly save the `hashtag` to `torch-config.json` under `dashboard.hashtag` for easier editing.
3.  Generate a `TORCH_DASHBOARD.md` file in the installation directory containing a link to the TORCH dashboard with the correct `hashtag`, `namespace`, and `relays` pre-filled.

This improves the onboarding experience by making it easier to find and monitor the agent locks immediately after initialization.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 21:45:19 +00:00
thePR0M3TH3AN f1d4e0534c Merge pull request #338 from PR0M3TH3AN/jules-detect-active-agent-platforms-2907459520034809113
Add dashboard support for Goose, Gemini, and Antigravity platforms
2026-02-19 16:40:27 -05:00
thePR0M3TH3AN f1267b5ae1 Merge pull request #337 from PR0M3TH3AN/agents/daily/const-refactor-agent-2026-02-19-13894765248713766454
[constants] Refactor 1000 to MS_PER_SECOND
2026-02-19 16:40:08 -05:00
google-labs-jules[bot]andPR0M3TH3AN abb4cc4361 feat(dashboard): add support for Goose, Gemini, and Antigravity platforms
- Update `src/utils.mjs` to detect `gemini` and `antigravity` platforms via environment variables.
- Update `dashboard/styles.css` with new color utilities for purple and pink themes.
- Update `dashboard/app.js` to map Goose, Gemini, and Antigravity platforms to distinct badge colors.
- Update `test/utils.test.mjs` to include unit tests for the new platform detection logic.

This ensures all active agent platforms are correctly identified and labeled in the TORCH dashboard.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 21:39:32 +00:00
google-labs-jules[bot]andPR0M3TH3AN b457025a8a [constants] Fix CI failure in test/scheduler-preflight-lock.e2e.test.mjs
- Added missing copy of `src/constants.mjs` to test fixture in `test/scheduler-preflight-lock.e2e.test.mjs`
- Verified fix with `npm run test:integration:e2e`

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 21:37:57 +00: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 b956f9f7f6 Merge pull request #336 from PR0M3TH3AN/add-gemini-cli-to-landing-1997709796393353107
Add Gemini CLI to landing page
2026-02-19 16:23:35 -05:00
google-labs-jules[bot]andPR0M3TH3AN c00897983e Add Gemini CLI to landing page agent selector
- Add Gemini CLI card to landing/index.html
- Update selectAgent function to support Gemini
- Verified visually via Playwright script

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 21:18:32 +00:00
thePR0M3TH3AN 510e05ab54 update 2026-02-19 16:10:00 -05:00
dependabot[bot] 9911f92797 build(deps): bump nostr-tools from 2.19.4 to 2.23.1
Bumps [nostr-tools](https://github.com/nbd-wtf/nostr-tools) from 2.19.4 to 2.23.1.
- [Release notes](https://github.com/nbd-wtf/nostr-tools/releases)
- [Commits](https://github.com/nbd-wtf/nostr-tools/commits)

---
updated-dependencies:
- dependency-name: nostr-tools
  dependency-version: 2.23.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-02-19 21:06:49 +00:00
dependabot[bot] ef56582fa5 build(deps): bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-02-19 21:06:42 +00:00
dependabot[bot] c5edaba69a build(deps): bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-02-19 21:06:42 +00:00
thePR0M3TH3AN d5e0dd26ef Merge pull request #332 from PR0M3TH3AN/claude/review-project-improvements-nTZRz
Refactor dashboard script to external module and improve code quality
2026-02-19 16:06:00 -05:00
Claude 639ad6877d chore: code quality, CI/CD, and DX improvements
Phase 3 — Code Quality:
- Deduplicate nowUnix() in lock-ops.mjs (import from utils.mjs)
- Promote ESLint no-unused-vars to error, fix all 46 violations
- Remove dead code: unused imports, variables, and catch bindings
- Add /* global marked */ for CDN-loaded library in dashboard

Phase 4 — CI/CD:
- Add Node.js version matrix (22, 23) to CI workflow
- Add npm audit security scan step to CI
- Add innerHTML usage check to CI pipeline
- Enable Dependabot for npm and GitHub Actions dependencies
- Create PR template

Phase 5 — Developer Experience:
- Create .env.example documenting all environment variables
- Expand CONTRIBUTING.md with commit conventions, agent/prompt
  creation guide, architecture overview, and test integrity
- Add system architecture diagram with Mermaid (docs/architecture/)

https://claude.ai/code/session_01GfwUNbgeMgXreFDbsNQMsS
2026-02-19 21:03:30 +00:00
Claude e842ec069a Merge remote-tracking branch 'origin/main' into claude/review-project-improvements-nTZRz 2026-02-19 20:55:32 +00:00
Claude c9b23874f2 fix(tests): improve test reliability and remove unused deps
- Add --test-timeout=30000 to prevent test suite hanging
- Skip build_verification.test.mjs when dist/ is absent
- Replace setTimeout with mocked Date.now in memory-cache expiry test
- Replace wait(30) with setImmediate flush in scheduler smoke test
- Remove unused @playwright/test devDependency

https://claude.ai/code/session_01GfwUNbgeMgXreFDbsNQMsS
2026-02-19 20:55:17 +00:00
thePR0M3TH3AN e4bfe95bcb Merge pull request #331 from PR0M3TH3AN/landing-page-updates-5561983075416396209
Update landing page layout and add Antigravity IDE option
2026-02-19 15:54:12 -05:00
Claude e7ecd2617e fix(security): harden dashboard auth timing, XSS, and CSP
- Fix timingSafeCompare to pad buffers to equal length before comparing,
  closing the content timing side-channel on length mismatch
- Replace innerHTML with textContent for error messages to prevent XSS
- Extract inline script from dashboard/index.html into dashboard/app.js
- Remove 'unsafe-inline' from script-src CSP directive
- Update security test to match new CSP policy

https://claude.ai/code/session_01GfwUNbgeMgXreFDbsNQMsS
2026-02-19 20:53:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN efe31f7c33 feat(landing): move meta prompts and add antigravity ide
- Moved the "Scheduler Meta Prompts" section to be above the "Functional Agents" section in `landing/index.html`.
- Added "Antigravity IDE" as a new option in the "Choose Your Agent" section with a corresponding install prompt.
- Verified changes with Playwright script and manual inspection of the HTML structure.
- Tests passed.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 20:52:39 +00:00
thePR0M3TH3AN 8b6cf31f7d update 2026-02-19 15:39:09 -05:00
thePR0M3TH3AN ce5242fbf2 update 2026-02-19 15:22:10 -05:00
thePR0M3TH3AN 2d2c18f6c3 Merge pull request #330 from PR0M3TH3AN/enable-claude-cli-landing-5126113247218075584
Enable Claude Code CLI on landing page
2026-02-19 15:17:00 -05:00
google-labs-jules[bot]andPR0M3TH3AN b002963cf9 feat: Enable Claude Code CLI option on landing page and add dynamic prompt selection
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 20:16:16 +00:00
thePR0M3TH3AN edfe571567 Merge pull request #328 from PR0M3TH3AN/landing-page-simplification-3277431860297051020
Update landing page to use simpler, round-robin scheduler language
2026-02-19 15:05:21 -05:00
google-labs-jules[bot]andPR0M3TH3AN 33bd7a3e76 Update landing page to use simpler, round-robin scheduler language
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 20:03:28 +00:00
thePR0M3TH3AN aa53554b06 Merge pull request #327 from PR0M3TH3AN/torch-evolution-concept-6322327995414609820
Add TORCH Evolution Concept Documentation
2026-02-19 14:45:07 -05:00
google-labs-jules[bot]andPR0M3TH3AN ab99339311 docs: add TORCH evolution concept and roadmap
Adds a detailed architectural opinion/RFC in `docs/TORCH_EVOLUTION_CONCEPT.md` outlining the transition from a linear scheduler to a node-based workflow orchestrator. This document includes recommendations for UI (React Flow), integrations (OpenClaw, ClaudeCode CLI), and a phased roadmap.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 19:43:09 +00: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
thePR0M3TH3AN d74d81c0c3 Merge pull request #325 from PR0M3TH3AN/claude/node-based-prompt-editor-NdcUz
docs: Add proposal for node-based prompt engineering editor
2026-02-19 14:00:26 -05:00
Claude 7813cfeb8c docs(proposals): add node-based prompt editor proposal
Outlines a phased approach to evolving TORCH into a node-based prompt
engineering editor: metadata extraction (Phase 0), YAML frontmatter
schema (Phase 1), Cytoscape.js graph visualization (Phase 2), and
future interactive editing via governance proposals (Phase 3+).

https://claude.ai/code/session_01CWPJzAfHW6KRHkp4tqSosw
2026-02-19 18:53:20 +00: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
thePR0M3TH3AN 07015c8ee6 Merge pull request #323 from PR0M3TH3AN/agents/daily/test-audit-agent-1137134321110294733
Daily Scheduler: test-audit-agent Execution
2026-02-19 13:01:54 -05: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