Commit Graph
951 Commits
Author SHA1 Message Date
thePR0M3TH3AN 6b5022ac45 update 2026-02-21 15:29:40 -05:00
thePR0M3TH3AN 9fef4c4f46 update 2026-02-21 15:16:45 -05:00
thePR0M3TH3AN 49411889c0 Merge pull request #422 from PR0M3TH3AN/claude/plan-agent-architecture-QF47j
Add plan-agent, proposal-triage-agent, and builder-agent to close idea-to-implementation gap
2026-02-21 15:16:25 -05:00
Claude 33ea996b04 feat(agents): add plan-agent pipeline to close idea-to-implementation gap
Introduces three new weekly agents that form a triage→plan→build pipeline:

- proposal-triage-agent: evaluates proposals, dead ends, and coverage gaps;
  produces prioritized backlog in src/backlog/BACKLOG.md
- plan-agent: creates concrete implementation plans from top backlog items
  in src/plans/PLAN-*.md
- builder-agent: executes approved plans, makes code changes, verifies
  acceptance criteria

Also includes:
- Architecture proposal document in docs/proposals/
- Seeded initial backlog with 11 items from diagnosed dead ends
- Updated roster.json and weekly-scheduler.md (24 weekly agents)
- All three validators pass (prompt-contract, scheduler-roster, flow-parity)

https://claude.ai/code/session_01FLP7ibXd5QPG517g1kYCHL
2026-02-21 20:13:35 +00:00
thePR0M3TH3AN fdc4aecd92 Merge pull request #393 from PR0M3TH3AN/fix/governance-command-injection-10151244085139343159
Verify governance command injection fix and repair broken tests
2026-02-21 15:04:36 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0cc086c08d fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 20:03:04 +00:00
thePR0M3TH3AN 1c8c955cd1 Merge branch 'main' into fix/governance-command-injection-10151244085139343159 2026-02-21 14:56:15 -05:00
google-labs-jules[bot]andPR0M3TH3AN 61b3fd5709 fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:55:52 +00:00
thePR0M3TH3AN 78e90669c7 Merge pull request #390 from PR0M3TH3AN/fix/lock-utils-imports-13445229136005844691
refactor(lock): centralize lock utility functions
2026-02-21 14:55:47 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4e01a33cc2 fix(lock): fix potential duplicate imports in lock-publisher
- Rewrote `src/lock-publisher.mjs` to ensure clean imports and no duplicate declarations of `withTimeout`.
- This addresses the lint error `Identifier 'withTimeout' has already been declared` seen in CI.
- Verified lint passes locally.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:54:06 +00:00
thePR0M3TH3AN f47fe02a94 Merge branch 'main' into fix/lock-utils-imports-13445229136005844691 2026-02-21 14:49:37 -05:00
thePR0M3TH3AN e5e490449e Merge branch 'main' into fix/governance-command-injection-10151244085139343159 2026-02-21 14:49:18 -05:00
thePR0M3TH3AN 3d788c58a7 Merge pull request #421 from PR0M3TH3AN/agents/daily/style-agent-7331917025368212480
chore(scheduler): Execute daily style-agent and fix lock-utils export
2026-02-21 14:48:55 -05:00
google-labs-jules[bot]andPR0M3TH3AN ef22045a61 fix(scheduler): Resolve CI module export error in lock-utils
- Fix `SyntaxError: The requested module './lock-utils.mjs' does not provide an export named 'withTimeout'` by refactoring exports in `src/lock-utils.mjs`.
- Explicitly import `relayListLabel` and `mergeRelayList` from `src/utils.mjs` before exporting them to avoid ambiguous export behavior in some environments.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:46:26 +00:00
google-labs-jules[bot]andPR0M3TH3AN cb089fa061 fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:45:51 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9c801da049 fix(lock): remove unused randomInt import
- Removed `randomInt` from `src/lock-publisher.mjs` imports as it is no longer used (replaced by `secureRandom` from `src/lock-utils.mjs`).
- Verified lint passes locally.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:44:50 +00:00
thePR0M3TH3AN cb8ded018a Merge branch 'main' into agents/daily/style-agent-7331917025368212480 2026-02-21 14:40:02 -05:00
thePR0M3TH3AN 30e7215fa7 Merge branch 'main' into fix/lock-utils-imports-13445229136005844691 2026-02-21 14:39:43 -05:00
thePR0M3TH3AN a0c66686c5 Merge branch 'main' into fix/governance-command-injection-10151244085139343159 2026-02-21 14:39:11 -05:00
google-labs-jules[bot]andPR0M3TH3AN e84f16905a chore(scheduler): Execute daily style-agent and fix lock-utils export
- Fix missing `mergeRelayList` export in `src/lock-utils.mjs`.
- Execute `style-agent` workflow.
- Update `KNOWN_ISSUES.md` with missing `format` script issue.
- Add incident report `docs/agent-handoffs/incidents/2026-02-21-missing-format-script.md`.
- Add run artifacts (Context, Todo, Decisions, Test Logs, Task Log).
- Add memory update.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:39:10 +00:00
google-labs-jules[bot]andPR0M3TH3AN c1b4c9b50b fix(lock): fix secureRandom undefined error in lock-publisher
- Imported `secureRandom` from `src/lock-utils.mjs` in `src/lock-publisher.mjs`.
- Removed duplicate local definition of `secureRandom` in `src/lock-publisher.mjs`.
- Verified lint passes locally.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:35:56 +00:00
google-labs-jules[bot]andPR0M3TH3AN bdd3ed8c8f fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:35:31 +00:00
thePR0M3TH3AN a133b01076 Merge pull request #394 from PR0M3TH3AN/fix/lock-utils-duplication-4209096036628143867
refactor(lock-utils): consolidate duplicate function declarations
2026-02-21 14:34:39 -05:00
google-labs-jules[bot]andPR0M3TH3AN eefab43fdf fix(lock-utils): consolidate function declarations and fix CI failures
- Imported `randomInt` from `node:crypto` in `src/lock-publisher.mjs` to fix CI failure.
- Centralized `withTimeout` and `mergeRelayList` in `src/utils.mjs`.
- Updated `src/lock-utils.mjs` to re-export them.
- Removed local redefinitions in `src/lock-ops.mjs` and `src/lock-publisher.mjs`.
- Fixed `test/utils.test.mjs` imports.
- Verified all tests pass.

This resolves the N/A documentation task by ensuring the codebase is in a valid state.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:32:26 +00:00
thePR0M3TH3AN 61d96229ce Merge branch 'main' into fix/lock-utils-imports-13445229136005844691 2026-02-21 14:29:13 -05:00
thePR0M3TH3AN 5e639f1387 Merge branch 'main' into fix/governance-command-injection-10151244085139343159 2026-02-21 14:28:17 -05:00
thePR0M3TH3AN a08e752b0e Merge branch 'main' into fix/lock-utils-duplication-4209096036628143867 2026-02-21 14:27:37 -05:00
thePR0M3TH3AN 3408e2ea76 Merge pull request #409 from PR0M3TH3AN/testing-improvement-cmd-rollback-5981959177572314725
Add tests for cmdRollback
2026-02-21 14:26:46 -05:00
thePR0M3TH3AN 056d8ebc90 Merge pull request #386 from PR0M3TH3AN/fix-torch-lock-commands-3759471574036935483
Fix TORCH lock commands
2026-02-21 14:25:36 -05:00
thePR0M3TH3AN 047a1fd2f8 Merge branch 'main' into fix-torch-lock-commands-3759471574036935483 2026-02-21 14:25:30 -05: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
thePR0M3TH3AN 87facb415a Merge pull request #387 from PR0M3TH3AN/fix/security-remove-default-creds-12747623644908748667
🔒 Fix: Remove default credentials from example config
2026-02-21 14:17:57 -05:00
thePR0M3TH3AN 45a666a7ed Merge branch 'main' into fix/security-remove-default-creds-12747623644908748667 2026-02-21 14:17:49 -05:00
thePR0M3TH3AN fb672d380f Merge branch 'main' into fix-torch-lock-commands-3759471574036935483 2026-02-21 14:16:25 -05:00
thePR0M3TH3AN 7b375da1cb Merge pull request #385 from PR0M3TH3AN/chore/audit-memory-store-17064585358903407526
chore(audit): store audit results in memory
2026-02-21 14:15:47 -05:00
thePR0M3TH3AN 3f03cfd690 Merge branch 'main' into chore/audit-memory-store-17064585358903407526 2026-02-21 14:15:40 -05:00
thePR0M3TH3AN 933bbad941 Merge pull request #369 from PR0M3TH3AN/test-lock-utils-helpers-17746102477708828726
🧪 Add tests for lock-utils helpers
2026-02-21 14:15:21 -05:00
thePR0M3TH3AN cff50e54a4 Merge pull request #407 from PR0M3TH3AN/refactor-lock-ops-modules-18356835837586404683
Refactor lock-ops to use new modules
2026-02-21 14:13:48 -05:00
thePR0M3TH3AN bdda09c7b2 Merge pull request #406 from PR0M3TH3AN/test/upload-validation-15691315589845316357
Verify absence of upload endpoints via test
2026-02-21 14:13:22 -05:00
thePR0M3TH3AN 67ebd6a504 Merge branch 'main' into test/upload-validation-15691315589845316357 2026-02-21 14:13:15 -05:00
thePR0M3TH3AN fd634b0319 Merge pull request #404 from PR0M3TH3AN/fix-dashboard-auth-plaintext-8015911861283425351
🔒 Fix Plaintext Password Storage in Dashboard Auth
2026-02-21 14:13:02 -05:00
thePR0M3TH3AN 74c08c721a Merge pull request #415 from PR0M3TH3AN/security/dashboard-rate-limit-6123396415409218177
feat(dashboard): implement rate limiting for basic auth
2026-02-21 14:12:56 -05:00
thePR0M3TH3AN 243291ba93 Merge pull request #405 from PR0M3TH3AN/docs/remove-hallucinated-upload-audit-workflow-10015363657697346579
Remove hallucinated upload audit workflow from perf-agent
2026-02-21 14:12:50 -05:00
thePR0M3TH3AN 54e9e35e83 Merge pull request #418 from PR0M3TH3AN/refactor/memory-coalescing-worker-7175585698335360965
Refactor memory store save logic to use CoalescingWorker
2026-02-21 14:11:54 -05:00
thePR0M3TH3AN 77c8b88ae6 Merge pull request #416 from PR0M3TH3AN/perf-optimize-memory-cache-expiration-16783439769219340578
⚡ Optimize memory cache expiration strategy
2026-02-21 14:11:48 -05:00
thePR0M3TH3AN 873e649b2f Merge pull request #414 from PR0M3TH3AN/perf/async-roster-loading-4439301282033623986
⚡ Optimize Roster Loading to Async
2026-02-21 14:11:40 -05:00
thePR0M3TH3AN ac1a336356 Merge pull request #408 from PR0M3TH3AN/refactor-lock-publisher-10794332597523183742
🧹 Refactor LockPublisher.publish for clarity
2026-02-21 14:11:08 -05:00
thePR0M3TH3AN 003d6d77e1 Merge pull request #410 from PR0M3TH3AN/refactor/cmd-lock-cleanup-4510057441025896900
Refactor cmdLock to improve code health and modularity
2026-02-21 14:11:02 -05:00
thePR0M3TH3AN e242860fd6 Merge pull request #413 from PR0M3TH3AN/jules/test-cmd-backup-16743310224352411678
Add tests for cmdBackup
2026-02-21 14:09:25 -05:00
thePR0M3TH3AN 121b684e67 Merge pull request #417 from PR0M3TH3AN/refactor/memory-cache-invalidation-5975056545656617658
🧹 Granular memory cache invalidation
2026-02-21 14:09:14 -05:00