Commit Graph
23 Commits
Author SHA1 Message Date
thePR0M3TH3AN e0e94da545 TASK-4dc17235-e528-4582-ae49-ebde9006c753: prepare alpha.3 metadata candidate 2026-10-01 03:13:15 -04:00
thePR0M3TH3AN c11754ab18 Fix canonical worktree briefs and add guided setup and safe reinstall 2026-09-30 15:14:10 -04:00
thePR0M3TH3AN f72daadcba Add verified provider update preflight and record first self-host trial 2026-09-30 14:48:41 -04:00
thePR0M3TH3AN 03fcbdd23f Checkpoint portable TORCH fleet, provider adapters and owner dashboard 2026-09-30 13:28:40 -04:00
thePR0M3TH3AN c5f930f33b Add durable Claude fleet control plane 2026-09-27 16:06:24 -04:00
thePR0M3TH3AN cce059fc3a Begin portable TORCH fleet rewrite 2026-09-27 15:39:12 -04:00
google-labs-jules[bot]andPR0M3TH3AN 841cb6c2e2 Run daily deps-security-agent workflow
- Performed security audit with `npm audit` and `npm outdated`
- Resolved minimatch vulnerability via `npm audit fix`
- Updated nostr-tools to 2.23.2
- Generated daily security report and run artifacts
- Completed scheduler task log and memory updates

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 01:25:56 +00:00
thePR0M3TH3AN 1189525e85 Merge branch 'main' into dependabot/npm_and_yarn/c8-11.0.0 2026-02-26 08:11:48 -05:00
dependabot[bot] b6fa2ae043 Bump c8 from 10.1.3 to 11.0.0
Bumps [c8](https://github.com/bcoe/c8) from 10.1.3 to 11.0.0.
- [Release notes](https://github.com/bcoe/c8/releases)
- [Changelog](https://github.com/bcoe/c8/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bcoe/c8/compare/v10.1.3...v11.0.0)

---
updated-dependencies:
- dependency-name: c8
  dependency-version: 11.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-02-26 02:25:46 +00:00
dependabot[bot] dd50342145 Bump eslint from 10.0.1 to 10.0.2
Bumps [eslint](https://github.com/eslint/eslint) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.0.1...v10.0.2)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-02-26 02:25:41 +00:00
google-labs-jules[bot]andPR0M3TH3AN e8eec45ff7 feat: add Playwright integration tests with coverage and log capture
- Added `@playwright/test` and `c8` dependencies.
- Configured Playwright in `playwright.config.js` to run the dashboard server.
- Added `test/playwright/dashboard.spec.js` to verify dashboard functionality (loading, auth, config) and capture console logs.
- Modified `src/dashboard.mjs` to support graceful shutdown via `/shutdown` endpoint (guarded by `NODE_V8_COVERAGE`) for coverage collection.
- Updated `package.json` with `test:playwright` and `test:playwright:coverage` scripts.
- Updated `.gitignore` to exclude coverage and test artifacts.
- Fixed `host` default value in `src/cli-parser.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-22 03:22:12 +00:00
google-labs-jules[bot]andPR0M3TH3AN 03df42dadd chore(deps): Daily security audit and updates [2026-02-21]
- Upgraded `eslint` to `10.0.1` (Safe dev-dependency patch).
- Resolved high-severity `minimatch` vulnerability transitively via `eslint` upgrade.
- Generated daily security reports in `reports/security/`.
- Created run artifacts in `src/context`, `src/decisions`, `src/todo`, `src/test_logs`.
- Updated agent memory.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 23:30:34 +00:00
google-labs-jules[bot]andPR0M3TH3AN c0c5ac5473 fix(torch-lock): re-apply fixes for circular deps and syntax errors
- Moved `withTimeout` implementation to `src/lock-utils.mjs` and exported it correctly.
- Removed duplicate local definitions of `withTimeout`, `mergeRelayList`, and `secureRandom` in `src/lock-ops.mjs` and `src/lock-publisher.mjs`.
- Fixed imports in `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs` to use `src/lock-utils.mjs` consistently.
- Updated `test/utils.test.mjs` and `test/utils-async.test.mjs` to fix broken imports and test definitions.
- Verified `npm run lock:complete` and `npm run scheduler:daily` execute correctly.
- Updated `src/todo/TODO_2026-02-20T03-00-00Z.md` to mark verification task as completed.
- Verified `src/relay-health.mjs` does not use `MINUTE_MS` locally, despite mysterious CI error. Confirmed imports are correct.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:23:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN 0edebc9c6c chore: upgrade eslint to resolve minimatch and ajv vulnerabilities
Upgraded `eslint` to `^10.0.1` which updated `minimatch` to `10.2.2` (resolving ReDoS vulnerability).
Ran `npm audit fix` which updated `ajv` to `6.14.0` (resolving ReDoS vulnerability).
Verified with `npm test` and `npm run lint`.
Marked tasks as completed in `src/todo/TODO_2026-02-20T01-13-24Z.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 18:30:40 +00: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
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
google-labs-jules[bot]andPR0M3TH3AN d6a1e22f56 chore(scheduler): Execute onboarding-audit-agent
- Executed onboarding-audit-agent daily task.
- Validated onboarding from a clean checkout (npm install, build, test, lint).
- Updated package-lock.json with missing metadata (license, engines).
- Created audit report in reports/audit/.
- Created required context/todo/decision artifacts in src/.
- Completed scheduler lock cycle.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 23:23:51 +00:00
google-labs-jules[bot]andPR0M3TH3AN 2466c80af9 fix(dashboard): Allow access to src/constants.mjs and fix lock-ops
`frontend-console-debug-agent` run:
- Fixed a 403 Forbidden error in `src/dashboard.mjs` preventing `src/constants.mjs` from loading by adding it to the `allowedPaths` whitelist.
- Refactored `src/lock-ops.mjs` to fix a critical syntax error in `LockPublisher` class.
- Fixed a typo in `src/cmd-check.mjs` (`queryLocksFn` -> `queryLocks`).
- Added `@playwright/test` for frontend debugging.
- Added `scripts/agent/debug_frontend.mjs` for reproduction.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 19:52:10 +00: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 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
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 67c8a17a03 updated with files 2026-02-13 20:35:03 -05:00