Commit Graph
100 Commits
Author SHA1 Message Date
thePR0M3TH3AN 41189d9041 Merge branch 'main' into refactor/lock-ops-decomposition-2507393976208881863 2026-02-21 15:41:00 -05:00
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
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
thePR0M3TH3AN 1c8c955cd1 Merge branch 'main' into fix/governance-command-injection-10151244085139343159 2026-02-21 14:56:15 -05: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
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
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
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
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
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
thePR0M3TH3AN 04f6a5db31 Merge pull request #419 from PR0M3TH3AN/add-cmd-proposal-tests-8161916931821665354
🧪 Add tests for cmdProposal
2026-02-21 14:09:01 -05:00
thePR0M3TH3AN 28eb75392f Merge pull request #420 from PR0M3TH3AN/agents/daily/content-audit-agent-2026-02-21-7949657867376003219
Content Audit: Update CLI Help Text
2026-02-21 14:08:49 -05:00
thePR0M3TH3AN 348584bcfd Merge pull request #411 from PR0M3TH3AN/fix/ajv-vulnerability-investigation-1402978429090949813
docs(todo): mark security investigations as complete
2026-02-21 14:08:25 -05:00
thePR0M3TH3AN 177b3490a6 Merge pull request #412 from PR0M3TH3AN/extract-lock-publisher-7118928735632343648
Extract LockPublisher and helpers to src/lock-publisher.mjs
2026-02-21 14:08:11 -05:00
thePR0M3TH3AN c7722e4c49 Merge pull request #403 from PR0M3TH3AN/fix/eslint-minimatch-vulnerability-7654847843713233456
chore: upgrade eslint to resolve minimatch and ajv vulnerabilities
2026-02-21 14:07:56 -05:00
thePR0M3TH3AN 79e261d7b2 Merge pull request #402 from PR0M3TH3AN/agents/daily/const-refactor-13160759941082166389
refactor(constants): centralize time and memory constants
2026-02-21 13:21:47 -05:00
thePR0M3TH3AN fbd42889a4 Merge pull request #401 from PR0M3TH3AN/agents/weekly/race-condition-2026-02-21-5109170834766607482
fix(scheduler): resolve relay health and publisher race conditions
2026-02-21 13:19:39 -05:00
thePR0M3TH3AN 6758c8fd10 Merge pull request #400 from PR0M3TH3AN/agents/daily/ci-health-agent-flake-fix-17431605227619250204
fix(test): isolate install_dir_validation tests
2026-02-21 13:19:18 -05:00
thePR0M3TH3AN f95d9c2170 Merge pull request #399 from PR0M3TH3AN/agents/daily/audit-agent-13097391574516813780
chore(scheduler): execute daily audit-agent
2026-02-21 13:19:00 -05:00
thePR0M3TH3AN 867e7e0983 Merge pull request #398 from PR0M3TH3AN/agents/daily/torch-garbage-collection-agent-2026-02-21-18045201184454510691
chore(scheduler): run daily torch-garbage-collection-agent
2026-02-21 10:15:15 -05:00
thePR0M3TH3AN 5f79d94754 Merge pull request #397 from PR0M3TH3AN/agents/daily/todo-triage-agent-run-375090472420526035
chore(daily): execute todo-triage-agent run
2026-02-20 18:53:16 -05:00
thePR0M3TH3AN 1e74ef46c9 Merge pull request #396 from PR0M3TH3AN/agents/daily/test-audit-agent-4467786181786313218
chore(scheduler): execute daily test-audit-agent
2026-02-20 18:52:56 -05:00
thePR0M3TH3AN 4fb859d068 Merge pull request #392 from PR0M3TH3AN/refactor/cmd-remove-cleanup-8506683309823504917
Refactor cmdRemove in src/ops.mjs for improved maintainability
2026-02-20 18:51:45 -05:00
thePR0M3TH3AN fb0b16c3b4 Merge pull request #389 from PR0M3TH3AN/feat/docs-link-validation-999870209451448639
Add broken link validation script for documentation
2026-02-20 18:51:31 -05:00
thePR0M3TH3AN a7ae290af5 update 2026-02-20 16:53:17 -05:00
thePR0M3TH3AN 8d43fc1be8 Merge pull request #376 from PR0M3TH3AN/perf/optimize-embedder-norms-8957795496330689334
⚡ Optimize vector similarity with precomputed norms
2026-02-20 16:41:51 -05:00
thePR0M3TH3AN 10d2faea54 Merge pull request #379 from PR0M3TH3AN/refactor/relay-list-label-consolidation-6018169095734119060
🧹 Consolidate duplicate `relayListLabel` utility
2026-02-20 16:41:38 -05:00
thePR0M3TH3AN b296303b19 Merge branch 'main' into refactor/relay-list-label-consolidation-6018169095734119060 2026-02-20 16:41:31 -05:00
thePR0M3TH3AN 9b760ab9d5 Merge pull request #377 from PR0M3TH3AN/refactor/lock-ops-reduction-3810095324988153600
Refactor lock-ops and lock-publisher for file size reduction
2026-02-20 16:40:59 -05:00
thePR0M3TH3AN 2d4753a6cb Merge branch 'main' into refactor/lock-ops-reduction-3810095324988153600 2026-02-20 16:40:51 -05:00
thePR0M3TH3AN 2e9f3c9b90 Merge pull request #370 from PR0M3TH3AN/content-audit-todo-update-14936563416122295499
Update content-audit-agent todo list
2026-02-20 16:40:23 -05:00
thePR0M3TH3AN 524da8bce1 Merge pull request #372 from PR0M3TH3AN/audit-agent-lint-validation-15236647932747711276
chore: execute lint validation and update todo
2026-02-20 16:39:32 -05:00
thePR0M3TH3AN f1f530b511 Merge pull request #384 from PR0M3TH3AN/agents/daily/protocol-research-agent-2026-02-20-5682371825284810708
Daily Run: protocol-research-agent
2026-02-20 16:38:20 -05:00
thePR0M3TH3AN 5cbeedff62 Merge pull request #383 from PR0M3TH3AN/agents/daily/perf-agent-9015175649553565373
Daily perf-agent execution: Baseline establishment
2026-02-20 16:37:36 -05:00
thePR0M3TH3AN b1710e7d6c Merge pull request #382 from PR0M3TH3AN/agents/daily/onboarding-audit-agent-2026-02-20-15073734139589950533
run(daily): onboarding-audit-agent execution 2026-02-20
2026-02-20 16:37:11 -05:00
thePR0M3TH3AN 02c40c6deb Merge pull request #378 from PR0M3TH3AN/docs/update-package-scripts-9263284519736398390
Update documentation to reflect available npm scripts
2026-02-20 16:36:58 -05:00
thePR0M3TH3AN 0c28573264 Merge pull request #375 from PR0M3TH3AN/jules-verify-tests-pass-5372241009488585580
Verify tests pass and complete decomposition of lock-ops
2026-02-20 16:36:45 -05:00
thePR0M3TH3AN 278ca815f1 Merge pull request #380 from PR0M3TH3AN/refactor/main-handlers-12560453909019178975
Refactor main switch statement into command handlers
2026-02-20 16:36:19 -05:00
thePR0M3TH3AN 244b118550 Merge pull request #373 from PR0M3TH3AN/refactor/merge-relay-list-7360990203888330524
Refactor: Consolidate mergeRelayList into utils.mjs
2026-02-20 16:36:06 -05:00
thePR0M3TH3AN 756806a99e Merge branch 'main' into refactor/merge-relay-list-7360990203888330524 2026-02-20 16:35:59 -05:00
thePR0M3TH3AN 7e01b951a8 Merge pull request #381 from PR0M3TH3AN/memory-save-perf-6430625137963819127
⚡ Optimize memory store persistence with throttling and atomic writes
2026-02-20 16:35:38 -05:00
thePR0M3TH3AN c6c25e60e2 Merge pull request #374 from PR0M3TH3AN/refactor/consolidate-with-timeout-3248602754567091205
Consolidate `withTimeout` utility to `src/utils.mjs`
2026-02-20 16:35:19 -05:00
thePR0M3TH3AN 9223d55e8c Merge pull request #371 from PR0M3TH3AN/refactor/governance-apply-proposal-17916899384602246938
Refactor applyProposal to avoid redundant proposal fetch
2026-02-20 16:34:54 -05:00
thePR0M3TH3AN 13a789bcf5 Merge pull request #368 from PR0M3TH3AN/jules/docs-alignment-13667682581514782020
Docs Alignment: Script Updates
2026-02-20 16:32:40 -05:00
thePR0M3TH3AN 2b8a0c3d0d update 2026-02-20 12:51:17 -05:00
thePR0M3TH3AN 03b6725cfc Merge pull request #367 from PR0M3TH3AN/agents/daily/load-test-agent-5461809690050295930
Execute daily load-test-agent run
2026-02-20 12:43:19 -05:00
thePR0M3TH3ANandClaude Sonnet 4.6 a8ee3d39ea fix(dashboard): return timingSafeEqual result instead of discarding it
The unequal-length branch of timingSafeCompare called
crypto.timingSafeEqual(paddedA, paddedB) but did not capture the return
value, unconditionally returning false and leaving the timing-safe
comparison as dead code.

Adds a regression test covering shorter, longer, and exact-match
credential lengths to lock in the correct behaviour.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-20 11:53:05 -05:00
thePR0M3TH3ANandClaude Sonnet 4.6 a5f08ff082 feat(scheduler): add local time-window guard to prevent within-window re-runs
Adds a cadence-aware time-window check that runs after the Nostr relay lock
check to exclude agents that already ran within the current window (24h daily,
7d weekly). This closes the cross-midnight edge case where the relay's
date-scoped d-tag rolls over but the agent ran minutes ago.

Changes:
- scheduler-utils.mjs: export log-parsing helpers (parseDateValue,
  parseTimestampFromFilename, parseAgentFromFilename, isStrictSchedulerLogFilename,
  parseFrontmatterCreatedAt, parseFrontmatterAgent, parseFrontmatterValue) plus
  CADENCE_WINDOW_MS constant and buildRecentlyRunExclusionSet(). Helpers are
  exported so they can be unit-tested independently. Adds 'node:path' import.
- run-scheduler-cycle.mjs: import the moved helpers from utils (removes ~45 lines
  of duplicate definitions), call buildRecentlyRunExclusionSet after excludedSet
  is built from relay data, merge results, log newly-excluded agents. Adds cycle
  saturation detection: when all roster agents are covered by the time-window
  guard, exit 0 with a clear "Cycle complete" message instead of a failure.
- test/scheduler-time-window.test.mjs: 30 new scenario-first unit tests covering
  SCN-TWG-01..11 (in-window exclusion, out-of-window pass-through, cross-midnight,
  frontmatter precedence, weekly threshold, empty dir, missing dir, deferred
  log passthrough, mixed rosters, anti-cheat for non-log files).

All 30 new tests pass. Existing scheduler-ratchet tests (7) still pass.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-20 11:05:52 -05:00
thePR0M3TH3ANandClaude Sonnet 4.6 8a9080e7c3 fix(memory): close the content gap so agents can actually write and retrieve learnings
- run-selected-prompt.mjs: set SCHEDULER_MEMORY_FILE env var before spawning each agent so
  store.mjs has a well-known path to read from (memory-updates/<ts>__<agent>.md)
- retrieve.mjs: format memories.md using m.summary + date/tags in readable markdown sections
  instead of raw m.content blobs; agents can now scan injected context at a glance
- store.mjs: remove semantically-empty fallback placeholder events that polluted the store
  and degraded retrieval quality; also fix default cadence 'weekly' -> 'daily' to match retrieve
- scheduler-flow.md: replace vague "write insights" instruction with a concrete three-section
  template (Key findings / Patterns / Warnings) and clarify that $SCHEDULER_MEMORY_FILE is
  set by the scheduler automatically

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-20 10:51:03 -05:00
thePR0M3TH3AN 87d6b3ef0c Merge pull request #366 from PR0M3TH3AN/fix-agent-landing-rendering-6487772667608425328
Fix agent description rendering on landing page
2026-02-20 08:58:33 -05:00
thePR0M3TH3AN 13e8089ab0 Update README.md 2026-02-20 07:53:04 -05:00
thePR0M3TH3AN 206146b78e Merge pull request #365 from PR0M3TH3AN/agents/weekly/prompt-safety-agent-1954565905191419761
feat: Weekly Prompt Safety Audit
2026-02-20 07:48:05 -05:00
thePR0M3TH3AN 9614358017 Merge pull request #364 from PR0M3TH3AN/landing-meta-prompts-fix-5183825928176553704
Fix Scheduler Meta Prompts rendering on landing page
2026-02-20 07:47:42 -05:00
thePR0M3TH3AN 45c0e5bbd7 Merge pull request #363 from PR0M3TH3AN/print-scheduler-summary-6512839814829601974
Print Final Run Summary in Scheduler Cycle
2026-02-20 07:47:07 -05:00
thePR0M3TH3AN f9dd9ea361 Merge pull request #362 from PR0M3TH3AN/feat/diagnostic-utility-12390884464961920296
feat: add diagnostic utility script
2026-02-19 23:50:03 -05:00
thePR0M3TH3AN a7a7679223 update 2026-02-19 23:36:01 -05:00
thePR0M3TH3AN 9bb95896e7 Merge pull request #361 from PR0M3TH3AN/opencode-active-4489682856002365014
Enable OpenCode agent and add agent website links
2026-02-19 23:19:18 -05:00
thePR0M3TH3AN 78a79faf3f update 2026-02-19 23:15:56 -05:00
thePR0M3TH3AN f5d52bd13c Merge pull request #360 from PR0M3TH3AN/add-dashboard-home-button-16801596229675926990
Add Home button to dashboard linking to landing page
2026-02-19 23:11:21 -05:00
thePR0M3TH3AN 2b706f6085 Merge pull request #359 from PR0M3TH3AN/fix/torch-init-gitignore-13639849350884611583
Ensure torch init adds .gitignore with node_modules
2026-02-19 23:10:56 -05:00
thePR0M3TH3AN 0831727d02 Merge pull request #358 from PR0M3TH3AN/enhance-landing-hero-animations-3534963304295251671
Enhance Landing Page Hero Animations
2026-02-19 23:01:00 -05: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
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
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
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
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
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
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