The run artifacts for test-audit-agent were written to non-canonical filenames which prevented
scheduler validation from recognizing them. This commit renames them
to CONTEXT_<timestamp>.md, TODO_<timestamp>.md, DECISIONS_<timestamp>.md,
and TEST_LOG_<timestamp>.md respectively to match expected prefixes.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Executed the full scheduler flow to manually claim and complete the next eligible daily agent.
- Created `protocol-research-agent` run artifacts with accurate metadata.
- Recorded a new memory file reflecting the run's completion.
- Successfully verified artifacts structure with `verify-run-artifacts.mjs`.
- Cleaned up leftover temporary directories in the repository root.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Added DOMPurify library via CDN to landing and dashboard pages.
- Sanitized Markdown output before assigning to innerHTML in `landing/index.html` and `dashboard/app.js`.
- Verified the fix with a reproduction script.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Simulate the scheduler running the governance-agent
- Generated task log with completed status
- Acquired and completed lock for agent
- Verified memory retrieve/store ok
Co-authored-by: PR0M3TH3AN <[email protected]>
The `run-scheduler-cycle.mjs` script was decomposed into multiple files (`scheduler-config.mjs`, `scheduler-logger.mjs`, and `scheduler-state.mjs`). Tests that spawn this script inside a temporary directory must copy these dependencies.
This commits updates `test/run-scheduler-cycle-memory-policy.test.mjs` to include the missing copies, resolving the `ERR_MODULE_NOT_FOUND` failure blocking CI.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Added JSDoc and inline comments to `src/services/memory/index.js` to clarify module flow and internal invariants.
- Fixed a race condition in `performSave` where `currentSavePromise` was cleared before the pending save was chained, potentially allowing concurrent writes.
- Created `docs/memory-service-index-overview.md` with high-level architecture.
- Verified changes with `npm test src/services/memory/index.js` and `npm run lint`.
- Updated `TEST_LOG` and `task-logs` to reflect the fix.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Run daily scheduler cycle for docs-agent
- Update README.md and CONTRIBUTING.md with `npm run format`
- Generate run artifacts and memory updates
- Complete task with task log
Co-authored-by: PR0M3TH3AN <[email protected]>
- Extracted scheduler logic into `scheduler-config.mjs`, `scheduler-logger.mjs`, and `scheduler-state.mjs`.
- Updated `run-scheduler-cycle.mjs` to import from these new modules.
- Updated `scripts/validate-scheduler-flow-parity.mjs` to check the new modules for required prompt snippets.
- Updated `test/scheduler-lock-failure-schema.contract.test.mjs`, `test/scheduler-preflight-lock.e2e.test.mjs`, and `test/run-scheduler-cycle-memory-policy.test.mjs` to copy the new dependency modules and `src/torch-config.mjs` into test fixtures.
- Reduced `run-scheduler-cycle.mjs` size by ~333 lines.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Extracted scheduler logic into `scheduler-config.mjs`, `scheduler-logger.mjs`, and `scheduler-state.mjs`.
- Updated `run-scheduler-cycle.mjs` to import from these new modules.
- Updated `scripts/validate-scheduler-flow-parity.mjs` to check the new modules for required prompt snippets.
- Updated `test/scheduler-lock-failure-schema.contract.test.mjs` and `test/scheduler-preflight-lock.e2e.test.mjs` to copy the new dependency modules and `src/torch-config.mjs` into test fixtures.
- Reduced `run-scheduler-cycle.mjs` size by ~333 lines.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Extracted scheduler logic into `scheduler-config.mjs`, `scheduler-logger.mjs`, and `scheduler-state.mjs`.
- Updated `run-scheduler-cycle.mjs` to import from these new modules.
- Updated `scripts/validate-scheduler-flow-parity.mjs` to check the new modules for required prompt snippets.
- Updated `test/scheduler-lock-failure-schema.contract.test.mjs` to copy the new dependency modules into the test fixture.
- Reduced `run-scheduler-cycle.mjs` size by ~333 lines.
Co-authored-by: PR0M3TH3AN <[email protected]>
Extracted logic into scheduler-config.mjs, scheduler-logger.mjs, and scheduler-state.mjs to improve maintainability and reduce file size (1160 -> 827 lines). Corrected module imports and verified via linting and dry-run usage.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Ensure `src/torch-config.mjs` is copied to the temporary test directory in `test/scheduler-preflight-lock.e2e.test.mjs`.
- Fixes `ERR_MODULE_NOT_FOUND` in CI during `test:integration:e2e`.
Co-authored-by: PR0M3TH3AN <[email protected]>