Commit Graph
1384 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN b044570f72 ⚡ optimize: replace blocking sync I/O in dashboard request handler
Converted the dashboard HTTP request handler to an async function and replaced synchronous `fs.existsSync` and `fs.statSync` calls with non-blocking `fs.promises.stat`. This improves server responsiveness and concurrency by ensuring the event loop is not blocked during file system checks.

Also added robust error handling to the asynchronous handler to prevent unhandled promise rejections and ensure consistent 500 responses on internal errors.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:56:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN 983ad0627b 🧹 improve observability by adding console.debug to empty catch blocks
Replaced empty catch blocks in `loadCanonicalRoster` and `parseLockEvent`
with `console.debug` statements that log the error message. This
improves observability of failures while maintaining the graceful
fallback behavior.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:55:21 +00:00
google-labs-jules[bot]andPR0M3TH3AN c275b452be security: bind dashboard server to 127.0.0.1
Explicitly bind the dashboard server to the local loopback interface
to prevent external access. This addresses a vulnerability where
the server was binding to all network interfaces by default.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:52:27 +00:00
thePR0M3TH3AN e67d8441a4 Merge pull request #58 from PR0M3TH3AN/agents/daily/decompose-agent-v1-14520720754219938139
[decompose] Extract modules from src/lib.mjs
2026-02-14 08:51:26 -05:00
thePR0M3TH3AN 23ad1adafb Merge pull request #57 from PR0M3TH3AN/agents/weekly/perf-deepdive-agent-11478179249338404241
perf: parallelize daily/weekly lock queries in list command
2026-02-14 08:51:08 -05:00
google-labs-jules[bot]andPR0M3TH3AN c63a4d6ea9 feat: add prompt-maintenance-agent and remove obsolete agents
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:25:56 +00:00
google-labs-jules[bot]andPR0M3TH3AN 581dc3484e [decompose] extract modules from src/lib.mjs
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:18:07 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9716fe3812 perf: parallelize daily/weekly lock queries in list command
- Modified `src/lib.mjs` to execute `queryLocks` for all cadences in parallel.
- Added `scripts/perf-benchmark.mjs` for measuring CLI performance.
- Added `weekly-perf-report-2026-02-14.md` with baseline and verification data.
- Added `task-logs/weekly/2026-02-14T13-14-38Z__perf-deepdive-agent__completed.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:17:27 +00:00
thePR0M3TH3AN 0969642ccc Merge pull request #56 from PR0M3TH3AN/torch-config-tests-10463068599140780508
🧪 Add unit tests for src/torch-config.mjs
2026-02-14 08:11:56 -05:00
google-labs-jules[bot]andPR0M3TH3AN 647724bd5b 🧪 Add unit tests for src/torch-config.mjs and refactor for testability
- Extract parseTorchConfig for better isolation in tests.
- Add _resetTorchConfigCache for deterministic unit testing.
- Implement comprehensive tests in test/torch-config.test.mjs covering:
  - Path resolution with env var support.
  - Normalization of cadence and status.
  - Roster parsing and filtering.
  - Error handling for malformed config files.
  - Caching behavior.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:11:46 +00:00
thePR0M3TH3AN e25d6dead2 Merge pull request #55 from PR0M3TH3AN/agents/daily/content-audit-agent-9033644365328554051
docs: daily content audit (no content found)
2026-02-14 08:10:45 -05:00
thePR0M3TH3AN 0ed73a505b Merge pull request #54 from PR0M3TH3AN/agents/weekly/interop-agent-fail-6399779466283884134
docs(log): interop-agent failure
2026-02-14 08:06:41 -05:00
google-labs-jules[bot]andPR0M3TH3AN 1d81e9f629 docs: daily content audit (no content found)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:05:57 +00:00
google-labs-jules[bot]andPR0M3TH3AN b9be5e3f69 docs(log): interop-agent failure
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 13:05:17 +00:00
thePR0M3TH3AN c731f2b09d Merge pull request #53 from PR0M3TH3AN/agents/weekly/fuzz-agent-1863848784432453944
fuzz-agent: fix parseLockEvent crash on null content
2026-02-14 07:51:03 -05:00
google-labs-jules[bot]andPR0M3TH3AN 36cd585fba fuzz-agent: fix parseLockEvent crash on null content
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 08:57:47 +00:00
thePR0M3TH3AN ebc06a750a Update README.md 2026-02-14 02:40:24 -05:00
thePR0M3TH3AN 15fa2ca48c Merge pull request #52 from PR0M3TH3AN/vibecoded-ack-warning-4053325878855849352
Add acknowledgement warning to install copy button
2026-02-14 02:39:58 -05:00
google-labs-jules[bot]andPR0M3TH3AN ac7ba2a895 feat: add required acknowledgement warning to install copy button
- Adds a modal to `landing/index.html` warning users about the "freshly vibecoded" nature of the project.
- Intercepts the "Install via NPM" copy button to require acknowledgement before copying.
- Styles the modal with a danger theme consistent with the warning.
- Verified with Playwright.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 07:39:31 +00:00
thePR0M3TH3AN d4c8cbc09e Merge pull request #51 from PR0M3TH3AN/agents/daily/const-refactor-agent-12982252024698456252
[scheduler] Execute const-refactor-agent: extract constants
2026-02-14 02:35:17 -05:00
google-labs-jules[bot]andPR0M3TH3AN d165c06640 feat: extract DEFAULT_DASHBOARD_PORT and RACE_CHECK_DELAY_MS to src/constants.mjs
- Created src/constants.mjs
- Updated src/lib.mjs to use constants
- Added execution artifacts and completed log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 07:33:51 +00:00
thePR0M3TH3AN 14002a7bf9 Merge pull request #50 from PR0M3TH3AN/feat/user-space-config-9557152361478859216
feat: add init and update commands for user-space configuration
2026-02-14 02:23:47 -05:00
google-labs-jules[bot]andPR0M3TH3AN b0381b8c39 feat: add init and update commands for user-space configuration
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 07:21:05 +00:00
thePR0M3TH3AN 7381c6a159 Merge pull request #49 from PR0M3TH3AN/landing-install-cta-1544657332540691520
Add npm install CTA to landing page
2026-02-14 02:16:54 -05:00
google-labs-jules[bot]andPR0M3TH3AN c7e48e6b69 feat(landing): add npm install command section
Adds a stylized 'Install via NPM' code block with a copy button to the landing page, positioned between the hero and features sections.

- Updates landing/index.html with new HTML structure and CSS styles.
- Refactors copyToClipboard function to preserve button innerHTML (icon support).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 07:14:46 +00:00
thePR0M3TH3AN cff3fc17aa Merge pull request #48 from PR0M3TH3AN/fix-package-files-assets-9242804250688267257
Include assets/ in npm package for dashboard
2026-02-14 01:54:48 -05:00
google-labs-jules[bot]andPR0M3TH3AN 126ca22dfc fix(package): include assets/ directory in npm package
The dashboard requires `assets/` (favicon.svg, logo.svg) to be present.
Previously, `package.json`'s `files` array excluded `assets/`, causing missing images in the installed package.
This commit adds `assets/` to the whitelist.

Tested by packing and installing in a clean environment.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:53:50 +00:00
thePR0M3TH3AN 05d266f423 Merge pull request #47 from PR0M3TH3AN/refactor/package-lock-cli-5466133525514174614
Refactor torch-lock into an installable NPM library and CLI
2026-02-14 01:42:23 -05:00
google-labs-jules[bot]andPR0M3TH3AN 35092b3d5a Refactor torch-lock into an installable NPM library and CLI
- Rename `src/nostr-lock.mjs` to `src/lib.mjs` and export core functions.
- Create `bin/torch-lock.mjs` as the CLI entry point.
- Implement `dashboard` command in `src/lib.mjs` to serve the dashboard using Node.js.
- Update `package.json` to configure `bin`, `main`, and `files` for NPM packaging.
- Create `torch-config.example.json` as a template for consumers.
- Update tests and README.md to reflect the new structure.
- Exclude task-specific artifacts (logs, context) from the package while retaining prompts and docs.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:41:49 +00:00
thePR0M3TH3AN f7c56fe6f9 Merge pull request #46 from PR0M3TH3AN/chore/update-agent-prompts-policy-read-9423933926600717575
Standardize agent prompts to read policy files
2026-02-14 01:32:44 -05:00
google-labs-jules[bot]andPR0M3TH3AN f50c31c884 chore: update agent prompts to read AGENTS.md and CLAUDE.md
- Added "Read `AGENTS.md` and `CLAUDE.md`" instruction to the Preflight/Startup/Checklist sections of 8 agent prompts:
  - src/prompts/daily/audit-agent.md
  - src/prompts/daily/const-refactor-agent.md
  - src/prompts/daily/content-audit-agent.md
  - src/prompts/daily/decompose-agent.md
  - src/prompts/daily/deps-security-agent.md
  - src/prompts/daily/docs-code-investigator.md
  - src/prompts/daily/innerhtml-migration-agent.md
  - src/prompts/daily/perf-agent.md
  - src/prompts/daily/protocol-research-agent.md
  - src/prompts/daily/test-audit-agent.md
  - src/prompts/daily/torch-garbage-collection-agent.md
  - src/prompts/weekly/feature-proposer-agent.md

This ensures all agents are aware of repository policies, including KNOWN_ISSUES.md and src/issues usage.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:32:19 +00:00
thePR0M3TH3AN b8d0372780 Merge pull request #45 from PR0M3TH3AN/audit-agent-fix-2548023414882189291
Fix audit-agent by adding missing scripts and lint config
2026-02-14 01:23:11 -05:00
thePR0M3TH3AN ec8969dde7 Merge branch 'main' into audit-agent-fix-2548023414882189291 2026-02-14 01:23:03 -05:00
google-labs-jules[bot]andPR0M3TH3AN 6e1bb58f4f feat: add missing audit scripts and lint configuration
Implemented the missing scripts required by the audit-agent:
- `scripts/check-file-size.mjs`: Checks for files exceeding 300 lines.
- `scripts/check-innerhtml.mjs`: Checks for `innerHTML` usage.
- Added `npm run lint` script using ESLint with a basic configuration.
- Added `eslint` and related dependencies.

This unblocks the audit-agent daily schedule.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:21:09 +00:00
thePR0M3TH3AN 05aadef8ae Merge branch 'main' of https://github.com/PR0M3TH3AN/TORCH 2026-02-14 01:21:02 -05:00
thePR0M3TH3AN a9654dbde5 update 2026-02-14 01:20:56 -05:00
thePR0M3TH3AN c238637aec Merge pull request #44 from PR0M3TH3AN/agents/weekly/frontend-console-debug-agent-14108590062203132585
Weekly Agent: frontend-console-debug-agent execution
2026-02-14 01:19:35 -05:00
google-labs-jules[bot]andPR0M3TH3AN 9bea7a6233 feat(agent): frontend-console-debug-agent run (no errors)
- Installed @playwright/test
- Added scripts/agent/debug-frontend.mjs
- Verified dashboard has no console errors
- Logged completion in task-logs/weekly/

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:18:32 +00:00
thePR0M3TH3AN 8ad7adf810 Merge pull request #43 from PR0M3TH3AN/agents/weekly/feature-proposer-agent-15526404570656171104
feat: add feature-proposer-agent log validation script
2026-02-14 01:17:43 -05:00
thePR0M3TH3AN 437f395ad3 Merge pull request #42 from PR0M3TH3AN/agents/daily/ci-health-agent-1315939287331827022
Daily Agent Scheduler: ci-health-agent execution
2026-02-14 01:16:01 -05:00
google-labs-jules[bot]andPR0M3TH3AN 3a960888b8 feat: add feature-proposer-agent log validation script
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:15:43 +00:00
google-labs-jules[bot]andPR0M3TH3AN 0de8865a57 chore(scheduler): execute ci-health-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:15:14 +00:00
thePR0M3TH3AN 8ec8a1f7f9 Merge pull request #41 from PR0M3TH3AN/new-logo-favicon-9440139992277662259
Add new flamey logo and favicon
2026-02-14 01:14:45 -05:00
google-labs-jules[bot]andPR0M3TH3AN f8331a3083 feat: add new flamey logo and favicon
- Created `assets/logo.svg` with a new gradient flame design.
- Created `assets/favicon.svg` based on the logo.
- Updated `build.mjs` to copy `assets/` to `dist/` and adjust paths in `landing/index.html`.
- Updated `landing/index.html` to use the new logo and favicon.
- Updated `dashboard/index.html` to include the new logo and favicon.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:13:16 +00:00
thePR0M3TH3AN c2b5863382 Merge pull request #40 from PR0M3TH3AN/agents/daily/audit-agent-1241543002109151294
Audit Agent Run: Failed due to missing scripts
2026-02-14 01:11:59 -05:00
thePR0M3TH3AN ac5dc4c24d Merge pull request #39 from PR0M3TH3AN/feat-dashboard-completed-filter-12243470392365124209
feat: add completed task filter and styling to dashboard
2026-02-14 01:11:31 -05:00
google-labs-jules[bot]andPR0M3TH3AN 966d8ed290 Audit Agent Run: Failed due to missing scripts
- Attempted to run audit-agent.
- Failed because `scripts/check-file-size.mjs`, `scripts/check-innerhtml.mjs`, and `npm run lint` are missing.
- Created `artifacts/audit/2026-02-14/summary.md` documenting the failure.
- Created `task-logs/daily/2026-02-14T06-04-19Z__audit-agent__failed.md`.
- Added execution context in `src/context/`, `src/todo/`, `src/decisions/`, `src/test_logs/`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:08:12 +00:00
google-labs-jules[bot]andPR0M3TH3AN adaeac5273 feat: add completed task filter and styling to dashboard
- Adds a "Completed only" option to the dashboard status filter.
- Updates filtering logic to distinguish between "Active" (running) and "Completed" (finished) tasks.
- Adds new utility classes `.bg-success/5` and `.border-success` to `styles.css`.
- Applies green tint and success border to completed task cards.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:07:11 +00:00
thePR0M3TH3AN 9891e9e632 Merge pull request #37 from PR0M3TH3AN/feat/prompt-safety-agent-16135565872336823268
Add prompt-safety-agent to weekly roster
2026-02-14 01:05:53 -05:00
thePR0M3TH3AN ae90caa39d Merge pull request #38 from PR0M3TH3AN/feat/scheduler-pause-config-12863176069734636551
Add scheduler pause configuration
2026-02-14 01:05:15 -05:00