mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
- Extracted hardcoded retry/health constants from `src/lock-ops.mjs` to `src/constants.mjs`. - Refactored `src/lock-ops.mjs` to use `LockPublisher` class pattern and shared constants. - Fixed `SyntaxError` in `src/lock-ops.mjs` (function inside function). - Fixed `ReferenceError` in `src/cmd-check.mjs` (`queryLocksFn` -> `queryLocks`). - Verified with unit tests (`test:unit:lock-backend`) and linting. - Completed daily scheduler cycle for `const-refactor-agent`. Co-authored-by: PR0M3TH3AN <[email protected]>
53 lines
2.0 KiB
JSON
53 lines
2.0 KiB
JSON
[
|
|
[
|
|
"b8fc8eef-facd-4632-a404-aefc94de033a",
|
|
{
|
|
"schema_version": 1,
|
|
"id": "b8fc8eef-facd-4632-a404-aefc94de033a",
|
|
"agent_id": "const-refactor-agent",
|
|
"session_id": "session-mlr0dhq6",
|
|
"type": "batch_window",
|
|
"content": "Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture",
|
|
"summary": "Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture",
|
|
"tags": [
|
|
"scheduler",
|
|
"daily",
|
|
"retrieve"
|
|
],
|
|
"importance": 0.4,
|
|
"embedding_id": null,
|
|
"created_at": 1771357255423,
|
|
"last_seen": 1771357255430,
|
|
"source": "scheduler-retrieve",
|
|
"ttl_days": null,
|
|
"merged_into": null,
|
|
"pinned": false
|
|
}
|
|
],
|
|
[
|
|
"b6580c2a-2c32-4239-afd8-eb8cbca5449d",
|
|
{
|
|
"schema_version": 1,
|
|
"id": "b6580c2a-2c32-4239-afd8-eb8cbca5449d",
|
|
"agent_id": "const-refactor-agent",
|
|
"session_id": "session-mlr0iplm",
|
|
"type": "batch_window",
|
|
"content": "# Memory Update: Constants Refactor\n\n- Discovered hardcoded constants in `src/lock-ops.mjs` duplicating defaults.\n- Extracted `DEFAULT_RETRY_ATTEMPTS`, `DEFAULT_RETRY_BASE_DELAY_MS`, etc. to `src/constants.mjs`.\n- Refactored `src/lock-ops.mjs` to use these constants.\n- Fixed a bug in `src/cmd-check.mjs` where `queryLocksFn` was undefined.\n- Verified with unit tests and lint.",
|
|
"summary": "# Memory Update: Constants Refactor\n\n- Discovered hardcoded constants in `src/lock-ops.mjs` duplicating defaults.\n- Extracted `DEFAULT_RETRY_ATTEMPTS`, `DEFAULT_RETRY_BASE_DELAY_MS`, etc. to `src/constants.mjs`.\n- Refactored `src/lock-ops.mjs` to use these constants.\n- Fixed a b…",
|
|
"tags": [
|
|
"scheduler",
|
|
"daily",
|
|
"store",
|
|
"insight"
|
|
],
|
|
"importance": 0.8,
|
|
"embedding_id": null,
|
|
"created_at": 1771357498907,
|
|
"last_seen": 1771357498907,
|
|
"source": "agent-output",
|
|
"ttl_days": null,
|
|
"merged_into": null,
|
|
"pinned": false
|
|
}
|
|
]
|
|
] |