Commit Graph
760 Commits
Author SHA1 Message Date
thePR0M3TH3AN 1d85aef71f Merge pull request #349 from PR0M3TH3AN/agents/daily/docs-alignment-agent-2026-02-20-3286300579692442075
docs: align README and TORCH.md with package.json scripts
2026-02-19 21:38:05 -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 d3ab513295 Merge pull request #348 from PR0M3TH3AN/landing-add-codex-opencode-4896672905093668448
Add Codex CLI and OpenCode CLI to landing page
2026-02-19 21:28:48 -05:00
google-labs-jules[bot]andPR0M3TH3AN 9a28e07547 feat: Add Codex CLI (Active) and OpenCode CLI (Coming Soon) to landing page
- Enable Codex CLI card in `landing/index.html`.
- Add description "Requires full access permissions" to Codex CLI.
- Add "OpenCode CLI" as a "Coming Soon" option.
- Update `selectAgent` JavaScript to handle Codex selection.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 02:22:39 +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 158026bdb4 Merge pull request #346 from PR0M3TH3AN/claude/add-torch-removal-command-keFx5
Add cmdRemove command to completely uninstall TORCH from projects
2026-02-19 21:09:54 -05: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 fa5ef77ed8 chore(ui): design system audit autofixes (agent) 2026-02-19 21:05:49 -05:00
Claude 7984c7de66 feat: add torch-lock remove command for complete TORCH uninstallation
Users who installed TORCH via `npm install <tarball> && npx torch-lock init`
had no built-in way to cleanly remove it. This adds a `remove` command that
detects and removes all TORCH artifacts: the torch/ directory, config files,
runtime directories (.torch/, .scheduler-memory/, task-logs/), governance
proposals, host package.json scripts, and the npm package itself.

- Add cmdRemove() in src/ops.mjs with detection, preview, confirmation, and cleanup
- Wire up `remove` command in CLI dispatcher (src/lib.mjs)
- Add TORCH_HOST_SCRIPTS constant in constants.mjs for shared script key list
- Add docs/removal.md with full manual removal instructions
- Add removal section to README.md
- Add 7 scenario tests in test/ops-remove.test.mjs

https://claude.ai/code/session_011Snrxu3iZGLtJ9pnFSajpM
2026-02-20 01:59:30 +00: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 7036aa663d Merge pull request #344 from PR0M3TH3AN/agents/daily/decompose-agent-refactor-14956609596778737678
Decompose src/lock-ops.mjs (Daily Agent)
2026-02-19 20:54:18 -05:00
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 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
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