Commit Graph
780 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN babdd4af5d Add Home button to dashboard linking to landing page
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 04:04:28 +00:00
thePR0M3TH3AN fdf1cf7084 Merge pull request #352 from PR0M3TH3AN/init-output-summary-11038938146603193612
Enhance torch init output with configuration summary and dashboard link
2026-02-19 22:54:52 -05:00
thePR0M3TH3AN a8c9b1a4d9 Merge pull request #357 from PR0M3TH3AN/docs-alignment-script-updates-3776218186763643644
Update Documentation for Scheduler and Lock Management Commands
2026-02-19 22:54:45 -05:00
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 be849ceae8 Merge pull request #356 from PR0M3TH3AN/perf-lexical-search-index-1433868811411746305
⚡ Performance Optimization: Inverted Index for Lexical Search
2026-02-19 22:52:33 -05:00
google-labs-jules[bot]andPR0M3TH3AN 9e6d99eb1e ⚡ optimize lexical search with inverted index
- Implemented LexicalIndex class in src/services/memory/retriever.js.
- Added WeakMap caching for indices based on memory array references.
- Improved memory array stability in src/services/memory/index.js using a storeVersion counter.
- Achieved ~2x speedup for 10k memories and ~9x speedup for 100k memories in benchmarks.
- Maintains compatibility with existing textMatchSimilarity scoring.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 03:51:34 +00:00
thePR0M3TH3AN a35286f17d Merge pull request #355 from PR0M3TH3AN/refactor-governance-target-validation-5425533680072569362
🧹 refactor(governance): extract duplicated target validation logic
2026-02-19 22:51:13 -05:00
google-labs-jules[bot]andPR0M3TH3AN cd744982a1 refactor(governance): extract duplicated target validation logic
Extracted duplicated target path resolution and allowlist validation logic
into a shared `resolveAndValidateTarget` helper function in
`src/services/governance/index.js`.

Updated `createProposal`, `validateProposal`, `applyProposal`, and
`rollbackPrompt` to use the new helper, ensuring consistent validation
and path handling across the service.

Added `test/governance-health.test.mjs` to verify validation logic.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 03:50:36 +00:00
thePR0M3TH3AN a4ffa537f6 Merge pull request #354 from PR0M3TH3AN/add-exiterror-tests-11501687712657376665
🧪 [testing improvement] Add tests for ExitError class and improve its implementation
2026-02-19 22:50:17 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8d4ae0d616 feat(testing): add unit tests for ExitError and improve class definition
- Added `test/errors.test.mjs` with comprehensive tests for the `ExitError` class.
- Updated `src/errors.mjs` to set `this.name = 'ExitError'` in the constructor for better error reporting.
- Verified that all new tests pass and no regressions were introduced to the existing test suite.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 03:49:34 +00:00
thePR0M3TH3AN 04adbd632e Merge pull request #353 from PR0M3TH3AN/fix-governance-command-injection-2246140485437553728
🔒 Fix Command Injection in Governance Service
2026-02-19 22:48:40 -05:00
google-labs-jules[bot]andPR0M3TH3AN 1e4d9720e8 fix(security): prevent command injection in governance service
Replaced `execSync` with `execFileSync` in `src/services/governance/index.js` to avoid shell interpretation of variable-derived inputs (such as agent IDs and file targets). This mitigates command injection risks in `createProposal`, `applyProposal`, and `rollbackPrompt`.

- Used `execFileSync` for all git operations.
- Updated logic to correctly handle `git diff` exit code 1.
- Removed unused `execSync` import.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 03:46:36 +00:00
google-labs-jules[bot]andPR0M3TH3AN 08d8407a7d feat(cli): enhance init output with config summary and dashboard link
- Updates `cmdInit` to output the Nostr hashtag, namespace, and a direct dashboard URL upon completion.
- Refactors `createDashboardLinkFile` to return the generated URL for console output.
- Ensures the initialization process provides clear next steps for both human users and agents.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 03:39:00 +00:00
thePR0M3TH3AN 5783f995d7 update 2026-02-19 22:22:45 -05:00
thePR0M3TH3AN 1a534fc746 Merge pull request #351 from PR0M3TH3AN/add-qwen-coder-landing-4500751862979356017
Add Qwen Coder to landing page and platform detection
2026-02-19 22:13:20 -05:00
google-labs-jules[bot]andPR0M3TH3AN a61079b505 Add Qwen Coder to landing page and platform detection
- Added Qwen Coder CLI to `landing/index.html` agent selector.
- Updated `src/utils.mjs` to detect `QWEN_API_KEY` or `QWEN_SESSION_ID` as 'qwen' platform.
- Updated `dashboard/app.js` to render Qwen tasks with appropriate badge styling.
- Added tests for Qwen platform detection in `test/utils.test.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-20 02:42:08 +00:00
thePR0M3TH3AN 38100ea9ae Merge pull request #350 from PR0M3TH3AN/claude/prompt-versioning-backup-tYH8t
Add prompt versioning, governance workflow, and state backup
2026-02-19 21:38:14 -05:00
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
Claude 63ed863e1a docs: surface prompt versioning and backup in README and TORCH.md
- README.md: add "Prompt Governance & Versioning CLI" and "State Backup
  CLI" sections under Usage with full command examples and link to
  docs/prompt-versioning.md
- TORCH.md: add "Prompt Versioning & State Backup" section with
  proposal→apply→rollback cycle, backup command reference, and link to
  docs/prompt-versioning.md

https://claude.ai/code/session_01Ndq2D72Kp77BYo4owD63uY
2026-02-20 02:36:22 +00: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
Claude 54818a624c chore: add .torch/ to .gitignore (runtime prompt-history and backups)
.torch/ is created at runtime by torch-lock backup and proposal apply.
It holds prompt version archives and state snapshots — operational data
that should not be tracked in source control.

https://claude.ai/code/session_01Ndq2D72Kp77BYo4owD63uY
2026-02-20 02:29:15 +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
Claude be5ec21d5c feat(governance): add prompt versioning, rollback --list, and state backup
- governance/index.js: archive filenames now include ISO timestamp for
  deterministic sorting (<base>_<ts>_<hash>.md); write .meta.json sidecar
  on every archive with proposalId, author, reason, and archivedAt
- governance/index.js: add listPromptVersions(target) — returns archived
  versions for a prompt sorted newest-first with sidecar metadata surfaced
- cmd-rollback.mjs: add --list flag to list available versions without
  restoring (delegates to listPromptVersions)
- cli-parser.mjs: add --list and --output flags
- lib.mjs: pass list flag to cmdRollback; add backup command dispatch
- cmd-backup.mjs: new torch-lock backup command — snapshots
  .scheduler-memory/memory-store.json and scheduler run state to
  .torch/backups/<timestamp>/; supports --output override and --list
- docs/prompt-versioning.md: comprehensive guide to the full
  proposal → apply → list-versions → rollback workflow, state backup
  and restore procedure, and storage location reference
- test/governance.test.mjs: 7 scenario-based tests (SCN-proposal-create,
  SCN-proposal-list, SCN-proposal-reject, SCN-archive-naming,
  SCN-version-list, SCN-rollback-latest, SCN-rollback-hash)

https://claude.ai/code/session_01Ndq2D72Kp77BYo4owD63uY
2026-02-20 02:27:57 +00: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