fix(test): copy src/utils.mjs to temp env in scheduler tests

Resolves `ERR_MODULE_NOT_FOUND` in `run-scheduler-cycle-memory-policy.test.mjs` by explicitly copying `src/utils.mjs` to the temporary test directory structure, satisfying the import dependency of `scripts/agent/run-scheduler-cycle.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-19 00:58:25 +00:00
1 parent b6af6f49bf
commit afefda9281
7 files changed
+1 -99

No files matched your search

@@ -1,25 +0,0 @@
Agent: perf-agent
Cadence: daily
Run Start: 2026-02-19T00:00:00Z
Prompt: src/prompts/daily/perf-agent.md
# Context: Performance Audit
## Goal
Daily measurable improvement of app responsiveness by finding and fixing background CPU/network work.
## Scope
- Login/auth
- Relay initialization
- Decryption of user lists
- `/content` documentation
## Constraints
- Never invent files, APIs, libraries, or behaviors.
- Prefer minimal incremental changes.
- Keep builds/tests green.
## Plan
1. Run search patterns.
2. Produce daily performance report.
3. Update artifacts.
@@ -1,12 +0,0 @@
Agent: perf-agent
Cadence: daily
Run Start: 2026-02-19T00:00:00Z
Prompt: src/prompts/daily/perf-agent.md
# Decisions: Performance Audit
## Decision 1: Focus on Inventory
**Rationale**: Focus on search patterns for new code to identify issues without causing regressions.
## Decision 2: Defer Fixes
**Rationale**: No critical fixes applied in this run. Deferred to future PRs to minimize risk without deep testing.
@@ -1,12 +0,0 @@
Agent: perf-agent
Cadence: daily
Run Start: 2026-02-19T00:00:00Z
Prompt: src/prompts/daily/perf-agent.md
# Test Log: Performance Audit
- **Command**: `grep -rE "setInterval|setTimeout" src/`
- **Result**: Success (Hits found and logged to `reports/performance/hits-2026-02-19.json`).
- **Command**: `npm run lint`
- **Result**: Success (Repository checks passed).
-14
View File
@@ -1,14 +0,0 @@
Agent: perf-agent
Cadence: daily
Run Start: 2026-02-19T00:00:00Z
Prompt: src/prompts/daily/perf-agent.md
# Todo: Performance Tasks
## Completed Tasks
- [x] Run performance search patterns
- [x] Generate daily report
- [x] Check for immediate P0 issues
## Pending Tasks
- [ ] Implement fixes (deferred to next run or separate PR)