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
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
google-labs-jules[bot] and PR0M3TH3AN
7f5d8fdc7f
Content Audit: Update CLI Help Text
...
- Updated src/constants.mjs USAGE_TEXT to include missing commands (backup, proposal, rollback) documented in README.md.
- Validated docs links and implementation consistency.
- Added run artifacts and memory update.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:51:03 +00:00
google-labs-jules[bot] and PR0M3TH3AN
e8702b4520
Remove unused import PUBLISH_ERROR_CODES from lock-publisher.mjs
...
- Removes `PUBLISH_ERROR_CODES` from `src/lock-publisher.mjs` imports as it was unused and caused a lint failure in CI.
- Verified with `npm run lint` and relevant tests.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:39:40 +00:00
google-labs-jules[bot] and PR0M3TH3AN
0f6bc97a30
fix(lock): remove unused _getTtl import in src/lib.mjs
...
- Removed unused `getTtl` import from `src/torch-config.mjs` in `src/lib.mjs` to fix CI lint failure.
- Verified with `npm run lint` and `npm test test/lib.test.mjs`.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:38:50 +00:00
google-labs-jules[bot] and PR0M3TH3AN
940bc9ca66
test: add unit tests for cmdProposal
...
Refactor `src/cmd-proposal.mjs` to use dependency injection for testability.
Add `test/cmd-proposal.test.mjs` to verify all subcommands (`create`, `list`, `apply`, `reject`, `show`) and error handling.
Fix indentation in `src/cmd-proposal.mjs`.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:36:35 +00:00
google-labs-jules[bot] and PR0M3TH3AN
60d213dec7
refactor(memory): implement granular cache invalidation for agents
...
Replaces aggressive `cache.clear()` with per-agent invalidation in `src/services/memory/index.js` to improve performance.
- Adds `prune(predicate)` to `createMemoryCache`.
- Updates `ingestEvents`, `runPruneCycle`, `pinMemory`, `unpinMemory`, and `markMemoryMerged` to invalidate only the affected agent's cache entries.
- Adds unit test for `prune` in `test/memory-cache.test.mjs`.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:35:39 +00:00
google-labs-jules[bot] and PR0M3TH3AN
96f1e628b5
perf: make roster loading async and non-blocking
...
- Convert `loadCanonicalRoster` to async using `fs.promises.readFile`
- Remove redundant `fs.existsSync` checks in favor of `ENOENT` handling
- Update `getRoster` to await the roster loading
- Update `test/roster.test.mjs` to mock async filesystem operations
- Verified performance: ~0.91ms/op (non-blocking) vs ~0.28ms/op (blocking)
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:34:44 +00:00
google-labs-jules[bot] and PR0M3TH3AN
7e08a432cc
test(cmd-backup): add integration tests for backup functionality
...
- Refactor `cmdBackup` and `listBackups` in `src/cmd-backup.mjs` to accept `cwd` parameter for dependency injection.
- Add `test/cmd-backup.test.mjs` to test backup creation, missing files handling, output override, and listing functionality.
- Ensure tests run in isolated temporary directories using `fs.mkdtemp`.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:34:32 +00:00
google-labs-jules[bot] and PR0M3TH3AN
481d77f33c
Refactor lock publisher to use shared error classifier and utils
...
- Extracted `LockPublisher` and `publishLock` to `src/lock-publisher.mjs` (already existed, but cleaned up).
- Refactored `src/lock-publisher.mjs` to import error constants and classification logic from `src/lock-error-classifier.mjs` instead of duplicating them.
- Refactored `src/lock-publisher.mjs` and `src/lock-utils.mjs` to use `mergeRelayList` from `src/utils.mjs`.
- Consolidated and moved publisher tests from `test/lock-ops.test.mjs` and `test/lock-ops-publish-retry.test.mjs` to `test/lock-publisher.test.mjs`.
- Cleaned up `src/lock-utils.mjs` to remove duplicate `mergeRelayList`.
- Verified changes with tests.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:34:18 +00:00
google-labs-jules[bot] and PR0M3TH3AN
002a1549ba
refactor(lock): extract cmdLock to src/cmd-lock.mjs and decompose into helpers
...
- Extracted `cmdLock` from `src/lib.mjs` to `src/cmd-lock.mjs`.
- Decomposed complex logic into semantic helper functions (`validateRoster`, `performRaceCheck`, etc.).
- Maintained exact functionality and dependency injection pattern.
- Updated `src/lib.mjs` to re-export `cmdLock` for backward compatibility.
- Verified with unit and integration tests.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:33:44 +00:00
google-labs-jules[bot] and PR0M3TH3AN
ab500a84af
refactor(lock-publisher): extract retry loop and initialization logic
...
Refactors `LockPublisher.publish` to reduce complexity and improve readability.
- Extracts initialization logic into `_initialize()`.
- Extracts the retry loop into `_executeRetryLoop()`.
- Adds `_shouldRetry()` helper for clarity.
- Preserves existing behavior and tests.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 18:32:33 +00:00
google-labs-jules[bot] and PR0M3TH3AN
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
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
google-labs-jules[bot] and PR0M3TH3AN
667da1536b
refactor(constants): centralize time and memory constants
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 16:54:12 +00:00
google-labs-jules[bot] and PR0M3TH3AN
2e8bc1a61c
fix(scheduler): resolve relay health and publisher race conditions
...
Executed the weekly race-condition-agent task.
- Fixed WebSocket resource leak in `src/relay-health.mjs` by explicitly closing sockets on timeout.
- Fixed unhandled promise rejection in `src/lock-publisher.mjs` by attaching catch handlers to publish promises.
- Generated `reports/race-condition/weekly-race-condition-report-2026-02-21.md`.
- Updated `task-logs/weekly/` with completion log.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 05:10:39 +00:00
google-labs-jules[bot] and PR0M3TH3AN
2430efc256
fix(test): isolate install_dir_validation tests
...
Refactor test/install_dir_validation.test.mjs to use unique temporary directories for each subtest, eliminating shared state and race conditions that caused flakiness.
Update KNOWN_ISSUES.md to mark the issue as resolved.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 02:12:23 +00:00
google-labs-jules[bot] and PR0M3TH3AN
79699445bf
chore(scheduler): execute daily audit-agent
...
- Executed audit-agent script for daily cadence
- Generated reports for file size, innerHTML usage, and linting
- Verified run artifacts and updated memory
- Published completion lock
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 01:22:48 +00:00
google-labs-jules[bot] and PR0M3TH3AN
c4e6b5dff9
chore(scheduler): run daily torch-garbage-collection-agent
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-21 00:12:16 +00: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
google-labs-jules[bot] and PR0M3TH3AN
a502480e95
chore(daily): execute todo-triage-agent run and fix audit failure log
...
- Selected todo-triage-agent via round-robin.
- Acquired lock.
- Executed prompt: scanned codebase for TODOs (none actionable found).
- Generated run artifacts (context, decisions, todo, test_logs) and memory updates.
- Documented historical failure: INCIDENT-2026-02-14-AUDIT-MISSING-SCRIPTS in `src/test_logs/TEST_LOG_2026-02-14T06-04-19Z.md` to fix CI failure.
- Completed task successfully.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-20 23:35:16 +00:00
google-labs-jules[bot] and PR0M3TH3AN
31288dc85d
chore(daily): execute todo-triage-agent run
...
- Selected todo-triage-agent via round-robin.
- Acquired lock.
- Executed prompt: scanned codebase for TODOs.
- Findings: No actionable TODOs found (mostly documentation/test data).
- Generated artifacts: context, decisions, todo, test_logs.
- Updated memory with findings.
- Completed task successfully.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-20 23:31:32 +00:00
google-labs-jules[bot] and PR0M3TH3AN
c4f67cf706
chore(scheduler): execute daily test-audit-agent
...
- Executed test-audit-agent prompt
- Ran static analysis and flakiness check
- Identified and reported consistent failures in load-test.mjs and smoke-test.mjs
- Updated KNOWN_ISSUES.md
- Created run artifacts (Context, Todo, Decisions, Test Logs)
- Completed lock cycle
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-20 22:38:47 +00:00
google-labs-jules[bot] and PR0M3TH3AN
eb32c839d8
Refactor cmdRemove in src/ops.mjs to improve maintainability
...
Extracted helper functions identifyRemovalTargets, confirmRemoval, executeRemoval, and cleanupPostRemoval to reduce complexity of cmdRemove.
Fixed JSDoc comments and removed unused parameters.
Verified with existing tests.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-20 21:55:45 +00:00
google-labs-jules[bot] and PR0M3TH3AN
1a46fd0484
feat(docs): add broken link validation script
...
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-20 21:53:25 +00: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
b296303b19
Merge branch 'main' into refactor/relay-list-label-consolidation-6018169095734119060
2026-02-20 16:41:31 -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
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
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