diff --git a/.scheduler-memory/2026-02-17T16-35-41Z/retrieve.json b/.scheduler-memory/2026-02-17T16-35-41Z/retrieve.json new file mode 100644 index 0000000..db4f142 --- /dev/null +++ b/.scheduler-memory/2026-02-17T16-35-41Z/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "daily", + "operation": "retrieve", + "runId": "2026-02-17T16-35-41Z", + "servicePath": "src/services/memory/index.js#getRelevantMemories", + "inputs": { + "agentId": "todo-triage-agent", + "promptPath": "src/prompts/daily/todo-triage-agent.md", + "promptIntent": "Required startup + artifacts + memory + issue capture", + "query": "scheduler | daily | agent | todo-triage-agent | intent | Required startup + artifacts + memory + issue capture", + "events": 1 + }, + "outputs": { + "ingestedCount": 1, + "retrievedCount": 1 + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/2026-02-17T16-35-41Z/retrieve.ok b/.scheduler-memory/2026-02-17T16-35-41Z/retrieve.ok new file mode 100644 index 0000000..84b1719 --- /dev/null +++ b/.scheduler-memory/2026-02-17T16-35-41Z/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/2026-02-17T16-36-25Z/store.json b/.scheduler-memory/2026-02-17T16-36-25Z/store.json new file mode 100644 index 0000000..d85c768 --- /dev/null +++ b/.scheduler-memory/2026-02-17T16-36-25Z/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "daily", + "operation": "store", + "runId": "2026-02-17T16-36-25Z", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "todo-triage-agent", + "promptPath": "src/prompts/daily/todo-triage-agent.md", + "promptIntent": "Required startup + artifacts + memory + issue capture", + "events": 1, + "sourceFile": "memory-updates/2026-02-17T16-36-25Z__todo-triage-agent.md" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "# Memory Update - 2026-02-17T16-36-25Z\n\nRun at 2026-02-17T16-36-25Z. Scanned codebase for TODO/FIXME/XXX. Found 0 actionable items. False positives in mktemp usage and documentation." + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/2026-02-17T16-36-25Z/store.ok b/.scheduler-memory/2026-02-17T16-36-25Z/store.ok new file mode 100644 index 0000000..1e40bb6 --- /dev/null +++ b/.scheduler-memory/2026-02-17T16-36-25Z/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/.scheduler-memory/latest/daily/memories.md b/.scheduler-memory/latest/daily/memories.md index 55bdfd5..e63cc69 100644 --- a/.scheduler-memory/latest/daily/memories.md +++ b/.scheduler-memory/latest/daily/memories.md @@ -1 +1,2 @@ -- Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture \ No newline at end of file +- Memory retrieval seed for daily :: scheduler memory retrieval +- Memory retrieval seed for daily :: scheduler memory retrieval \ No newline at end of file diff --git a/.scheduler-memory/memory-store.json b/.scheduler-memory/memory-store.json index bc808a5..f41ee5a 100644 --- a/.scheduler-memory/memory-store.json +++ b/.scheduler-memory/memory-store.json @@ -1,36 +1,88 @@ [ [ - "638c2d47-3218-42f5-bc2d-e3adeb4626d0", + "dc16f83d-c99b-4dc0-ac52-90bd36cf709b", { "schema_version": 1, - "id": "638c2d47-3218-42f5-bc2d-e3adeb4626d0", - "agent_id": "test-agent", - "session_id": "test-run", + "id": "dc16f83d-c99b-4dc0-ac52-90bd36cf709b", + "agent_id": "ci-health-agent", + "session_id": "session-mlr07hyw", "type": "batch_window", - "content": "Store memory event A for daily :: scheduler memory store\nStore memory event B for daily :: scheduler memory store", - "summary": "Store memory event A for daily :: scheduler memory store Store memory event B for daily :: scheduler memory store", + "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", - "store" + "retrieve" ], - "importance": 0.55, + "importance": 0.4, "embedding_id": null, - "created_at": 1771295950236, - "last_seen": 1771295958659, - "source": "scheduler-store", + "created_at": 1771356975801, + "last_seen": 1771356975809, + "source": "scheduler-retrieve", "ttl_days": null, "merged_into": null, "pinned": false } ], [ - "5c458e0c-8239-46f9-99d1-b61cf05acc34", + "cf3230aa-9e00-48f4-809f-a54fee5a0637", { "schema_version": 1, - "id": "5c458e0c-8239-46f9-99d1-b61cf05acc34", - "agent_id": "test-agent", - "session_id": "test-run-2", + "id": "cf3230aa-9e00-48f4-809f-a54fee5a0637", + "agent_id": "ci-health-agent", + "session_id": "session-mlr0b3uh", + "type": "batch_window", + "content": "# CI Health Update\n- Fixed bug in `src/lock-ops.mjs`: `getRelayFallbacks` is async but was called synchronously in `LockPublisher` constructor.\n- Fixed bug in `src/lock-ops.mjs`: `LockPublisher` used `maybeLogHealthSnapshot` which was undefined; updated to use `healthManager`.\n- Fixed bug in `src/cmd-check.mjs`: `queryLocksFn` was undefined; updated to use injected `queryLocksFn` or default `queryLocks`.\n- Ran `npm run build` to fix `test/build_verification.test.mjs`.\n- All tests passed.", + "summary": "# CI Health Update\n- Fixed bug in `src/lock-ops.mjs`: `getRelayFallbacks` is async but was called synchronously in `LockPublisher` constructor.\n- Fixed bug in `src/lock-ops.mjs`: `LockPublisher` used `maybeLogHealthSnapshot` which was undefined; updated to use `healthManager`.\n-…", + "tags": [ + "scheduler", + "daily", + "store", + "insight" + ], + "importance": 0.8, + "embedding_id": null, + "created_at": 1771357144123, + "last_seen": 1771357144123, + "source": "agent-output", + "ttl_days": null, + "merged_into": null, + "pinned": false + } + ], + [ + "a9bc3899-1685-4e50-80f5-ae4dc54de6bd", + { + "schema_version": 1, + "id": "a9bc3899-1685-4e50-80f5-ae4dc54de6bd", + "agent_id": "scheduler-memory-weekly", + "session_id": "session-mlr4ba92", + "type": "batch_window", + "content": "# Learnings - 2026-02-17\n\n- The `content-audit-agent` is configured to audit the `/content` directory, but this directory does not exist in the repository root.\n- Added `content-audit-agent targets missing /content directory` to `KNOWN_ISSUES.md`.\n- No audit actions were performed.", + "summary": "# Learnings - 2026-02-17\n\n- The `content-audit-agent` is configured to audit the `/content` directory, but this directory does not exist in the repository root.\n- Added `content-audit-agent targets missing /content directory` to `KNOWN_ISSUES.md`.\n- No audit actions were perform…", + "tags": [ + "scheduler", + "weekly", + "store", + "insight" + ], + "importance": 0.8, + "embedding_id": null, + "created_at": 1771363870888, + "last_seen": 1771363870888, + "source": "agent-output", + "ttl_days": null, + "merged_into": null, + "pinned": false + } + ], + [ + "8512327a-8ba7-4a49-9275-41860e38a2e0", + { + "schema_version": 1, + "id": "8512327a-8ba7-4a49-9275-41860e38a2e0", + "agent_id": "scheduler-memory-daily", + "session_id": "session-mlr7wt48", "type": "batch_window", "content": "Memory retrieval seed for daily :: scheduler memory retrieval", "summary": "Memory retrieval seed for daily :: scheduler memory retrieval", @@ -41,8 +93,8 @@ ], "importance": 0.4, "embedding_id": null, - "created_at": 1771295958645, - "last_seen": 1771295958659, + "created_at": 1771369913961, + "last_seen": 1771377118848, "source": "scheduler-retrieve", "ttl_days": null, "merged_into": null, @@ -50,24 +102,93 @@ } ], [ - "2e9129bd-c366-4d82-ac2b-7e50574532a9", + "72f2cb07-62ab-4460-a994-4da196860e6c", { "schema_version": 1, - "id": "2e9129bd-c366-4d82-ac2b-7e50574532a9", - "agent_id": "onboarding-audit-agent", - "session_id": "initial-seed", + "id": "72f2cb07-62ab-4460-a994-4da196860e6c", + "agent_id": "agent-telemetry", + "session_id": "s-telemetry", "type": "batch_window", - "content": "Store memory event A for daily :: Required startup + artifacts + memory + issue capture\nStore memory event B for daily :: Required startup + artifacts + memory + issue capture", - "summary": "Store memory event A for daily :: Required startup + artifacts + memory + issue capture Store memory event B for daily :: Required startup + artifacts + memory + issue capture", + "content": "customer token ABC123 secret", + "summary": "customer token ABC123 secret", + "tags": [ + "incident" + ], + "importance": 0.25, + "embedding_id": null, + "created_at": 1771370050385, + "last_seen": 1771385274968, + "source": "ingest", + "ttl_days": null, + "merged_into": null, + "pinned": false + } + ], + [ + "ed46b70f-334d-4b41-984b-56e0415ffda2", + { + "schema_version": 1, + "id": "ed46b70f-334d-4b41-984b-56e0415ffda2", + "agent_id": "agent-telemetry", + "session_id": "s-telemetry", + "type": "batch_window", + "content": "customer token ABC123 secret", + "summary": "customer token ABC123 secret", + "tags": [ + "incident" + ], + "importance": 0.25, + "embedding_id": null, + "created_at": 1771370084740, + "last_seen": 1771385274968, + "source": "ingest", + "ttl_days": null, + "merged_into": null, + "pinned": false + } + ], + [ + "160c683e-c1b0-4b57-8b2a-58e01ecec0e2", + { + "schema_version": 1, + "id": "160c683e-c1b0-4b57-8b2a-58e01ecec0e2", + "agent_id": "agent-telemetry", + "session_id": "s-telemetry", + "type": "batch_window", + "content": "customer token ABC123 secret", + "summary": "customer token ABC123 secret", + "tags": [ + "incident" + ], + "importance": 0.25, + "embedding_id": null, + "created_at": 1771370148079, + "last_seen": 1771385274968, + "source": "ingest", + "ttl_days": null, + "merged_into": null, + "pinned": false + } + ], + [ + "38bb52c3-8262-4469-a15e-b46e11e92f9d", + { + "schema_version": 1, + "id": "38bb52c3-8262-4469-a15e-b46e11e92f9d", + "agent_id": "scheduler-memory-weekly", + "session_id": "session-mlr82pk9", + "type": "batch_window", + "content": "Store memory event A for weekly :: scheduler memory store\nStore memory event B for weekly :: scheduler memory store", + "summary": "Store memory event A for weekly :: scheduler memory store Store memory event B for weekly :: scheduler memory store", "tags": [ "scheduler", - "daily", + "weekly", "store" ], "importance": 0.55, "embedding_id": null, - "created_at": 1771296574057, - "last_seen": 1771296574172, + "created_at": 1771370189289, + "last_seen": 1771370189290, "source": "scheduler-store", "ttl_days": null, "merged_into": null, @@ -75,15 +196,15 @@ } ], [ - "2612b9ce-1aa7-4731-acb2-c3a852eeaac6", + "f8711702-8dc2-474b-9142-0798f41209f3", { "schema_version": 1, - "id": "2612b9ce-1aa7-4731-acb2-c3a852eeaac6", - "agent_id": "onboarding-audit-agent", - "session_id": "initial-seed", + "id": "f8711702-8dc2-474b-9142-0798f41209f3", + "agent_id": "scheduler-memory-daily", + "session_id": "session-mlrc78ft", "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", + "content": "Memory retrieval seed for daily :: scheduler memory retrieval", + "summary": "Memory retrieval seed for daily :: scheduler memory retrieval", "tags": [ "scheduler", "daily", @@ -91,8 +212,8 @@ ], "importance": 0.4, "embedding_id": null, - "created_at": 1771296574158, - "last_seen": 1771296574172, + "created_at": 1771377118841, + "last_seen": 1771377118848, "source": "scheduler-retrieve", "ttl_days": null, "merged_into": null, @@ -100,10 +221,35 @@ } ], [ - "facf005a-dad0-4066-921c-49a8e408665c", + "782a835a-88d1-4307-8154-599a09bcdfb6", { "schema_version": 1, - "id": "facf005a-dad0-4066-921c-49a8e408665c", + "id": "782a835a-88d1-4307-8154-599a09bcdfb6", + "agent_id": "scheduler-memory-weekly", + "session_id": "session-mlrc8az1", + "type": "batch_window", + "content": "Store memory event A for weekly :: scheduler memory store\nStore memory event B for weekly :: scheduler memory store", + "summary": "Store memory event A for weekly :: scheduler memory store Store memory event B for weekly :: scheduler memory store", + "tags": [ + "scheduler", + "weekly", + "store" + ], + "importance": 0.55, + "embedding_id": null, + "created_at": 1771377168781, + "last_seen": 1771377168782, + "source": "scheduler-store", + "ttl_days": null, + "merged_into": null, + "pinned": false + } + ], + [ + "0c0f8d8f-b1c5-4b4f-bd15-4a53462f3a31", + { + "schema_version": 1, + "id": "0c0f8d8f-b1c5-4b4f-bd15-4a53462f3a31", "agent_id": "agent-telemetry", "session_id": "s-telemetry", "type": "batch_window", @@ -114,8 +260,8 @@ ], "importance": 0.25, "embedding_id": null, - "created_at": 1771296636016, - "last_seen": 1771301051605, + "created_at": 1771385166452, + "last_seen": 1771385274968, "source": "ingest", "ttl_days": null, "merged_into": null, @@ -123,35 +269,10 @@ } ], [ - "19ef312e-a725-4544-850e-651713e2d9dc", + "5c3af7fa-cab8-4bcf-b1dc-fc845d611026", { "schema_version": 1, - "id": "19ef312e-a725-4544-850e-651713e2d9dc", - "agent_id": "bug-reproducer-agent", - "session_id": "session-mlq2vq5p", - "type": "batch_window", - "content": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "summary": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "tags": [ - "scheduler", - "weekly", - "retrieve" - ], - "importance": 0.4, - "embedding_id": null, - "created_at": 1771300999213, - "last_seen": 1771300999222, - "source": "scheduler-retrieve", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "bfbb3c6e-095d-4ccd-ad5a-140b6927421c", - { - "schema_version": 1, - "id": "bfbb3c6e-095d-4ccd-ad5a-140b6927421c", + "id": "5c3af7fa-cab8-4bcf-b1dc-fc845d611026", "agent_id": "agent-telemetry", "session_id": "s-telemetry", "type": "batch_window", @@ -162,8 +283,8 @@ ], "importance": 0.25, "embedding_id": null, - "created_at": 1771301051598, - "last_seen": 1771301051605, + "created_at": 1771385220726, + "last_seen": 1771385274968, "source": "ingest", "ttl_days": null, "merged_into": null, @@ -171,50 +292,22 @@ } ], [ - "d74e3e34-6cf1-465e-b4a8-64acd0a8d803", + "6a7b3ba4-d713-4f18-a98e-d16c0e0837eb", { "schema_version": 1, - "id": "d74e3e34-6cf1-465e-b4a8-64acd0a8d803", - "agent_id": "bug-reproducer-agent", - "session_id": "session-mlq2ysd2", + "id": "6a7b3ba4-d713-4f18-a98e-d16c0e0837eb", + "agent_id": "todo-triage-agent", + "session_id": "2026-02-17T16-35-41Z", "type": "batch_window", - "content": "Reproduced npm test timeout issue. Created reproduction script in artifacts/reproducers/npm-test-timeout/. Confirmed that `npm test` hangs/times out as expected.", - "summary": "Reproduced npm test timeout issue. Created reproduction script in artifacts/reproducers/npm-test-timeout/. Confirmed that `npm test` hangs/times out as expected.", + "content": "customer token ABC123 secret", + "summary": "customer token ABC123 secret", "tags": [ - "scheduler", - "weekly", - "store", - "insight" + "incident" ], - "importance": 0.8, + "importance": 0.25, "embedding_id": null, - "created_at": 1771301142040, - "last_seen": 1771301142040, - "source": "agent-output", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "3df7bccf-f3f1-45b9-ab15-88a1a30c6453", - { - "schema_version": 1, - "id": "3df7bccf-f3f1-45b9-ab15-88a1a30c6453", - "agent_id": "changelog-agent", - "session_id": "session-mlq51t0r", - "type": "batch_window", - "content": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "summary": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "tags": [ - "scheduler", - "weekly", - "retrieve" - ], - "importance": 0.4, - "embedding_id": null, - "created_at": 1771304642091, - "last_seen": 1771304642101, + "created_at": 1771346141249, + "last_seen": 1771346141259, "source": "scheduler-retrieve", "ttl_days": null, "merged_into": null, @@ -222,178 +315,22 @@ } ], [ - "5b32be34-78f9-44ac-b7b1-e301e34f04d0", + "ae3f6a26-c753-4a96-b56f-c737a847cee5", { "schema_version": 1, - "id": "5b32be34-78f9-44ac-b7b1-e301e34f04d0", - "agent_id": "changelog-agent", - "session_id": "session-mlq53the", + "id": "ae3f6a26-c753-4a96-b56f-c737a847cee5", + "agent_id": "todo-triage-agent", + "session_id": "2026-02-17T16-36-25Z", "type": "batch_window", - "content": "# Changelog Update - 2026-02-17\n\nGenerated draft release notes covering 212 commits.\nKey areas:\n- Scheduler automation improvements\n- Memory management features\n- Codebase modularization", - "summary": "# Changelog Update - 2026-02-17\n\nGenerated draft release notes covering 212 commits.\nKey areas:\n- Scheduler automation improvements\n- Memory management features\n- Codebase modularization", + "content": "# Memory Update - 2026-02-17T16-36-25Z\n\nRun at 2026-02-17T16-36-25Z. Scanned codebase for TODO/FIXME/XXX. Found 0 actionable items. False positives in mktemp usage and documentation.", + "summary": "# Memory Update - 2026-02-17T16-36-25Z\n\nRun at 2026-02-17T16-36-25Z. Scanned codebase for TODO/FIXME/XXX. Found 0 actionable items. False positives in mktemp usage and documentation.", "tags": [ - "scheduler", - "weekly", - "store", - "insight" + "incident" ], - "importance": 0.8, + "importance": 0.25, "embedding_id": null, - "created_at": 1771304736005, - "last_seen": 1771304736005, - "source": "agent-output", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "40f6bf1a-9715-4906-82d1-8f68be78eb3f", - { - "schema_version": 1, - "id": "40f6bf1a-9715-4906-82d1-8f68be78eb3f", - "agent_id": "dead-code-agent", - "session_id": "1771338346", - "type": "batch_window", - "content": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "summary": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "tags": [ - "scheduler", - "weekly", - "retrieve" - ], - "importance": 0.4, - "embedding_id": null, - "created_at": 1771338346815, - "last_seen": 1771338346833, - "source": "scheduler-retrieve", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "267412f9-9704-4739-8481-8317a89e6769", - { - "schema_version": 1, - "id": "267412f9-9704-4739-8481-8317a89e6769", - "agent_id": "dead-code-agent", - "session_id": "1771338501", - "type": "batch_window", - "content": "# Weekly Dead Code Analysis - 2026-02-17\n\n**Agent:** dead-code-agent\n**Cadence:** weekly\n**Status:** Completed\n\n## Summary\nExecuted a safety-first dead-code sweep.\n\n## Findings\n- Identified `scripts/fix-duplication.mjs` as an unused standalone script.\n- Identified `src/services/memory/db-adapter.js` as an unused module (exports `createMemoryRepository` but not imported anywhere).\n\n## Actions\n- Verified zero usage for both files using `grep`.\n- Deleted both files in branch `ai/dead-code-20260217`.\n- Verified deletions with `ls` and ran `npm run lint` and `npm run test:unit:lock-backend`.\n- Artifacts generated in `artifacts/dead-code-20260217/`.", - "summary": "# Weekly Dead Code Analysis - 2026-02-17\n\n**Agent:** dead-code-agent\n**Cadence:** weekly\n**Status:** Completed\n\n## Summary\nExecuted a safety-first dead-code sweep.\n\n## Findings\n- Identified `scripts/fix-duplication.mjs` as an unused standalone script.\n- Identified `src/services/…", - "tags": [ - "scheduler", - "weekly", - "store", - "insight" - ], - "importance": 0.8, - "embedding_id": null, - "created_at": 1771338501891, - "last_seen": 1771338501891, - "source": "agent-output", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "fd852345-c9c5-4c5c-8076-7e16a7b90016", - { - "schema_version": 1, - "id": "fd852345-c9c5-4c5c-8076-7e16a7b90016", - "agent_id": "feature-proposer-agent", - "session_id": "session-1771346034", - "type": "batch_window", - "content": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "summary": "Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture", - "tags": [ - "scheduler", - "weekly", - "retrieve" - ], - "importance": 0.4, - "embedding_id": null, - "created_at": 1771346034674, - "last_seen": 1771346034684, - "source": "scheduler-retrieve", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "abe5bddd-5b7a-4e18-aabf-9d517bd59a8e", - { - "schema_version": 1, - "id": "abe5bddd-5b7a-4e18-aabf-9d517bd59a8e", - "agent_id": "feature-proposer-agent", - "session_id": "session-1771346112", - "type": "batch_window", - "content": "# Memory Update - Feature Proposer Agent\n\n**Date**: 2026-02-17T15-00-00Z\n**Agent**: feature-proposer-agent\n\n## Insights\n- The `task-logs` structure is consistent and easy to parse.\n- A simple CLI tool (`features/log-summary.mjs`) was added to visualize this data.\n- This pattern of \"small, standalone utility scripts\" in `features/` is effective for incremental improvement.\n\n## Actions\n- Implemented `features/log-summary.mjs`.\n- Verified with manual execution.\n\n## Recommendations\n- Future agents could enhance this script to filter by status (e.g., show only failed runs).", - "summary": "# Memory Update - Feature Proposer Agent\n\n**Date**: 2026-02-17T15-00-00Z\n**Agent**: feature-proposer-agent\n\n## Insights\n- The `task-logs` structure is consistent and easy to parse.\n- A simple CLI tool (`features/log-summary.mjs`) was added to visualize this data.\n- This pattern …", - "tags": [ - "scheduler", - "weekly", - "store", - "insight" - ], - "importance": 0.8, - "embedding_id": null, - "created_at": 1771346112755, - "last_seen": 1771346112755, - "source": "agent-output", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "9f17b770-803f-401b-8bec-4c8ce413f232", - { - "schema_version": 1, - "id": "9f17b770-803f-401b-8bec-4c8ce413f232", - "agent_id": "audit-agent", - "session_id": "session-mlqwxsc8", - "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": 1771351483834, - "last_seen": 1771351483843, - "source": "scheduler-retrieve", - "ttl_days": null, - "merged_into": null, - "pinned": false - } - ], - [ - "30b53ec3-5d17-4b38-9d80-4f9c15e3cd7e", - { - "schema_version": 1, - "id": "30b53ec3-5d17-4b38-9d80-4f9c15e3cd7e", - "agent_id": "audit-agent", - "session_id": "session-mlqwzwl4", - "type": "batch_window", - "content": "# Audit Agent Report (2026-02-17)\n\n## Metrics\n- Oversized files: 18 (4010 excess lines)\n- InnerHTML assignments: 5\n- Lint failures: 13\n\n## Findings\n- Top oversized: scripts/agent/run-scheduler-cycle.mjs (1092 lines)\n- InnerHTML usage in dashboard/index.html and landing/index.html.\n- Lint warnings mostly unused vars.", - "summary": "# Audit Agent Report (2026-02-17)\n\n## Metrics\n- Oversized files: 18 (4010 excess lines)\n- InnerHTML assignments: 5\n- Lint failures: 13\n\n## Findings\n- Top oversized: scripts/agent/run-scheduler-cycle.mjs (1092 lines)\n- InnerHTML usage in dashboard/index.html and landing/index.htm…", - "tags": [ - "scheduler", - "daily", - "store", - "insight" - ], - "importance": 0.8, - "embedding_id": null, - "created_at": 1771351582653, - "last_seen": 1771351582653, + "created_at": 1771346312937, + "last_seen": 1771346312937, "source": "agent-output", "ttl_days": null, "merged_into": null, diff --git a/.scheduler-memory/session-mlr07hyw/retrieve.json b/.scheduler-memory/session-mlr07hyw/retrieve.json new file mode 100644 index 0000000..58da45e --- /dev/null +++ b/.scheduler-memory/session-mlr07hyw/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "daily", + "operation": "retrieve", + "runId": "session-mlr07hyw", + "servicePath": "src/services/memory/index.js#getRelevantMemories", + "inputs": { + "agentId": "ci-health-agent", + "promptPath": "src/prompts/daily/ci-health-agent.md", + "promptIntent": "Required startup + artifacts + memory + issue capture", + "query": "scheduler | daily | agent | ci-health-agent | intent | Required startup + artifacts + memory + issue capture", + "events": 1 + }, + "outputs": { + "ingestedCount": 1, + "retrievedCount": 1 + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr07hyw/retrieve.ok b/.scheduler-memory/session-mlr07hyw/retrieve.ok new file mode 100644 index 0000000..84b1719 --- /dev/null +++ b/.scheduler-memory/session-mlr07hyw/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/session-mlr0921p/retrieve.json b/.scheduler-memory/session-mlr0921p/retrieve.json new file mode 100644 index 0000000..30c5bcf --- /dev/null +++ b/.scheduler-memory/session-mlr0921p/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "daily", + "operation": "retrieve", + "runId": "session-mlr0921p", + "servicePath": "src/services/memory/index.js#getRelevantMemories", + "inputs": { + "agentId": "scheduler-memory-daily", + "promptPath": "", + "promptIntent": "scheduler memory retrieval", + "query": "scheduler | daily | agent | scheduler-memory-daily | intent | scheduler memory retrieval", + "events": 1 + }, + "outputs": { + "ingestedCount": 1, + "retrievedCount": 1 + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr0921p/retrieve.ok b/.scheduler-memory/session-mlr0921p/retrieve.ok new file mode 100644 index 0000000..84b1719 --- /dev/null +++ b/.scheduler-memory/session-mlr0921p/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/session-mlr0b3uh/store.json b/.scheduler-memory/session-mlr0b3uh/store.json new file mode 100644 index 0000000..3433848 --- /dev/null +++ b/.scheduler-memory/session-mlr0b3uh/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "daily", + "operation": "store", + "runId": "session-mlr0b3uh", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "ci-health-agent", + "promptPath": "src/prompts/daily/ci-health-agent.md", + "promptIntent": "Required startup + artifacts + memory + issue capture", + "events": 1, + "sourceFile": "memory-updates/2026-02-17T19-36-32Z__ci-health-agent.md" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "# CI Health Update\n- Fixed bug in `src/lock-ops.mjs`: `getRelayFallbacks` is async but was called synchronously in `LockPublisher` constructor.\n- Fixed bug in `src/lock-ops.mjs`: `LockPublisher` used `maybeLogHealthSnapshot` which was undefined; updated to use `healthManager`.\n-…" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr0b3uh/store.ok b/.scheduler-memory/session-mlr0b3uh/store.ok new file mode 100644 index 0000000..1e40bb6 --- /dev/null +++ b/.scheduler-memory/session-mlr0b3uh/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/.scheduler-memory/session-mlr0dhq6/retrieve.json b/.scheduler-memory/session-mlr0dhq6/retrieve.json new file mode 100644 index 0000000..5105a48 --- /dev/null +++ b/.scheduler-memory/session-mlr0dhq6/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "daily", + "operation": "retrieve", + "runId": "session-mlr0dhq6", + "servicePath": "src/services/memory/index.js#getRelevantMemories", + "inputs": { + "agentId": "const-refactor-agent", + "promptPath": "src/prompts/daily/const-refactor-agent.md", + "promptIntent": "Required startup + artifacts + memory + issue capture", + "query": "scheduler | daily | agent | const-refactor-agent | intent | Required startup + artifacts + memory + issue capture", + "events": 1 + }, + "outputs": { + "ingestedCount": 1, + "retrievedCount": 1 + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr0dhq6/retrieve.ok b/.scheduler-memory/session-mlr0dhq6/retrieve.ok new file mode 100644 index 0000000..84b1719 --- /dev/null +++ b/.scheduler-memory/session-mlr0dhq6/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/session-mlr0g2tv/store.json b/.scheduler-memory/session-mlr0g2tv/store.json new file mode 100644 index 0000000..f419ee1 --- /dev/null +++ b/.scheduler-memory/session-mlr0g2tv/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "weekly", + "operation": "store", + "runId": "session-mlr0g2tv", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "scheduler-memory-weekly", + "promptPath": "", + "promptIntent": "scheduler memory store", + "events": 2, + "sourceFile": "fallback" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "Store memory event A for weekly :: scheduler memory store Store memory event B for weekly :: scheduler memory store" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr0g2tv/store.ok b/.scheduler-memory/session-mlr0g2tv/store.ok new file mode 100644 index 0000000..1e40bb6 --- /dev/null +++ b/.scheduler-memory/session-mlr0g2tv/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/.scheduler-memory/session-mlr0iplm/store.json b/.scheduler-memory/session-mlr0iplm/store.json new file mode 100644 index 0000000..395e0e7 --- /dev/null +++ b/.scheduler-memory/session-mlr0iplm/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "daily", + "operation": "store", + "runId": "session-mlr0iplm", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "const-refactor-agent", + "promptPath": "src/prompts/daily/const-refactor-agent.md", + "promptIntent": "Required startup + artifacts + memory + issue capture", + "events": 1, + "sourceFile": "memory-updates/2026-02-17T19-44-58Z__const-refactor-agent.md" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "# 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…" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr0iplm/store.ok b/.scheduler-memory/session-mlr0iplm/store.ok new file mode 100644 index 0000000..1e40bb6 --- /dev/null +++ b/.scheduler-memory/session-mlr0iplm/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/.scheduler-memory/session-mlr4ba92/store.json b/.scheduler-memory/session-mlr4ba92/store.json new file mode 100644 index 0000000..e45b7d7 --- /dev/null +++ b/.scheduler-memory/session-mlr4ba92/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "weekly", + "operation": "store", + "runId": "session-mlr4ba92", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "scheduler-memory-weekly", + "promptPath": "src/prompts/daily/.md", + "promptIntent": "scheduler memory store", + "events": 1, + "sourceFile": "memory-updates/2026-02-17T21-29-25Z__content-audit-agent.md" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "# Learnings - 2026-02-17\n\n- The `content-audit-agent` is configured to audit the `/content` directory, but this directory does not exist in the repository root.\n- Added `content-audit-agent targets missing /content directory` to `KNOWN_ISSUES.md`.\n- No audit actions were perform…" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr4ba92/store.ok b/.scheduler-memory/session-mlr4ba92/store.ok new file mode 100644 index 0000000..1e40bb6 --- /dev/null +++ b/.scheduler-memory/session-mlr4ba92/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/.scheduler-memory/session-mlr7wt48/retrieve.json b/.scheduler-memory/session-mlr7wt48/retrieve.json new file mode 100644 index 0000000..36380c2 --- /dev/null +++ b/.scheduler-memory/session-mlr7wt48/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "daily", + "operation": "retrieve", + "runId": "session-mlr7wt48", + "servicePath": "src/services/memory/index.js#getRelevantMemories", + "inputs": { + "agentId": "scheduler-memory-daily", + "promptPath": "", + "promptIntent": "scheduler memory retrieval", + "query": "scheduler | daily | agent | scheduler-memory-daily | intent | scheduler memory retrieval", + "events": 1 + }, + "outputs": { + "ingestedCount": 1, + "retrievedCount": 1 + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr7wt48/retrieve.ok b/.scheduler-memory/session-mlr7wt48/retrieve.ok new file mode 100644 index 0000000..84b1719 --- /dev/null +++ b/.scheduler-memory/session-mlr7wt48/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/session-mlr82pk9/store.json b/.scheduler-memory/session-mlr82pk9/store.json new file mode 100644 index 0000000..d675ab0 --- /dev/null +++ b/.scheduler-memory/session-mlr82pk9/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "weekly", + "operation": "store", + "runId": "session-mlr82pk9", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "scheduler-memory-weekly", + "promptPath": "", + "promptIntent": "scheduler memory store", + "events": 2, + "sourceFile": "fallback" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "Store memory event A for weekly :: scheduler memory store Store memory event B for weekly :: scheduler memory store" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlr82pk9/store.ok b/.scheduler-memory/session-mlr82pk9/store.ok new file mode 100644 index 0000000..1e40bb6 --- /dev/null +++ b/.scheduler-memory/session-mlr82pk9/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/.scheduler-memory/session-mlrc78ft/retrieve.json b/.scheduler-memory/session-mlrc78ft/retrieve.json new file mode 100644 index 0000000..cbe2aeb --- /dev/null +++ b/.scheduler-memory/session-mlrc78ft/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "daily", + "operation": "retrieve", + "runId": "session-mlrc78ft", + "servicePath": "src/services/memory/index.js#getRelevantMemories", + "inputs": { + "agentId": "scheduler-memory-daily", + "promptPath": "", + "promptIntent": "scheduler memory retrieval", + "query": "scheduler | daily | agent | scheduler-memory-daily | intent | scheduler memory retrieval", + "events": 1 + }, + "outputs": { + "ingestedCount": 1, + "retrievedCount": 2 + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlrc78ft/retrieve.ok b/.scheduler-memory/session-mlrc78ft/retrieve.ok new file mode 100644 index 0000000..84b1719 --- /dev/null +++ b/.scheduler-memory/session-mlrc78ft/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/session-mlrc8az1/store.json b/.scheduler-memory/session-mlrc8az1/store.json new file mode 100644 index 0000000..15dce7d --- /dev/null +++ b/.scheduler-memory/session-mlrc8az1/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "weekly", + "operation": "store", + "runId": "session-mlrc8az1", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "scheduler-memory-weekly", + "promptPath": "", + "promptIntent": "scheduler memory store", + "events": 2, + "sourceFile": "fallback" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "Store memory event A for weekly :: scheduler memory store Store memory event B for weekly :: scheduler memory store" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mlrc8az1/store.ok b/.scheduler-memory/session-mlrc8az1/store.ok new file mode 100644 index 0000000..1e40bb6 --- /dev/null +++ b/.scheduler-memory/session-mlrc8az1/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index be798d5..b1bfffd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,70 +1,59 @@ -# CONTRIBUTING.md — Generic Collaboration Guide +# Contributing to TORCH -This repository is designed for human and AI contributors. Keep contributions small, clear, and verifiable. +Thank you for your interest in contributing to TORCH! -## Contribution principles +## Prerequisites -- Prefer focused pull requests. -- Avoid unrelated refactors. -- Preserve existing behavior unless a change is explicitly requested. -- Document assumptions and tradeoffs. +- Node.js (v22+) +- npm -## Development Commands +## Setup -- **Install**: `npm install` -- **Test**: `npm test` -- **Lint**: `npm run lint` -- **Build**: `npm run build` +1. Clone the repository. +2. Install dependencies: -## Standard contribution flow + ```bash + npm install + ``` -1. Sync your branch with the target base branch. -2. Read baseline guidance: - - `AGENTS.md` - - `CLAUDE.md` - - `KNOWN_ISSUES.md` -3. Implement minimal changes required to solve the task. -4. Run relevant validation checks. -5. Update documentation if behavior or workflow changed. -6. Commit with a clear message. -7. Open a PR with complete context. +## Development Workflow -## Commit expectations +### Building -- Keep commits atomic and descriptive. -- Use imperative commit subjects. -- Separate mechanical renames from behavioral changes when possible. +This project requires a build step for certain artifacts (e.g., distribution files, dashboard assets). -## Pull request expectations +```bash +npm run build +``` -Each PR should include: +### Testing -- **Summary**: what changed. -- **Why**: motivation/problem solved. -- **Files modified**: key files touched. -- **Validation**: exact commands run and outcomes. -- **Risks / rollback**: known risks and how to revert. +Run the test suite to ensure your changes don't break existing functionality. -## Validation expectations +```bash +npm test +``` -- Run checks most relevant to changed files (tests, lint, typecheck, build, scripts). -- If a check cannot run, include: - - command attempted, - - reason it failed or was unavailable, - - fallback verification performed. +For faster feedback loop on unit tests (excluding integration): -## Documentation and handoffs +```bash +npm run test:unit:lock-backend +``` -When your work creates reusable knowledge: +### Linting -- Add/update `docs/agent-handoffs/learnings/` for successful patterns. -- Add/update `docs/agent-handoffs/incidents/` for failure modes and mitigations. -- Add/update `KNOWN_ISSUES.md` for active unresolved issues. +Ensure your code follows the project's style guidelines. -Use filename format: `YYYY-MM-DD-short-topic.md`. +```bash +npm run lint +``` -## Security and privacy +## Pull Requests -- Never commit credentials, tokens, secrets, or personal data. -- Redact sensitive values in logs and examples. -- Prefer synthetic or anonymized examples in documentation. +Please follow the repository conventions for Pull Requests. + +> **Note:** Detailed agent policies and conventions are normally documented in `AGENTS.md`. If this file is missing, please refer to existing patterns in the codebase or open an issue for clarification. + +## Reporting Issues + +If you encounter any bugs or have feature requests, please open an issue on GitHub. diff --git a/KNOWN_ISSUES.md b/KNOWN_ISSUES.md index 0f2046f..b2769dd 100644 --- a/KNOWN_ISSUES.md +++ b/KNOWN_ISSUES.md @@ -65,3 +65,11 @@ Track only **active, reproducible, unresolved** issues. - **Related notes:** `docs/agent-handoffs/learnings/2026-02-15-relay-health-preflight-job.md` - **Last verified:** 2026-02-15 +### content-audit-agent targets missing /content directory +- **Status:** Active +- **Area:** Docs +- **Symptom:** `content-audit-agent` fails to find `/content` directory. +- **Trigger/Conditions:** Running `content-audit-agent`. +- **Workaround:** None. Requires updating the agent prompt or repo structure. +- **Impact:** Docs audit cannot be performed. +- **Last verified:** 2026-02-17 diff --git a/README.md b/README.md index b712e48..15ac871 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,18 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz > TORCH is distributed from GitHub tarballs and is not currently published to the npm registry. +## Development + +For instructions on how to contribute to TORCH, including building, testing, and linting, please see [CONTRIBUTING.md](CONTRIBUTING.md). + +Quick start: + +```bash +npm install +npm run build +npm test +``` + ## Usage ### CLI diff --git a/artifacts/deps-report.md b/artifacts/deps-report.md index f1f4e4c..57e56d1 100644 --- a/artifacts/deps-report.md +++ b/artifacts/deps-report.md @@ -1,14 +1,17 @@ -# Dependency Report (2026-02-14) +# Dependency Security Report -## Summary -- Vulnerabilities: 0 -- Outdated Packages: 1 +**Date:** 2026-02-17 ## Vulnerabilities -No vulnerabilities found. +Found 4 moderate vulnerabilities in `eslint` stack. +- `eslint`, `@eslint/js`, `ajv`, `@eslint-community/eslint-utils`. +- **Note**: Current installed version is `^10.0.0`, which exceeds normal registry versions. Investigation needed. ## Outdated Packages -- **nostr-tools**: Current `2.19.4` -> Latest `2.23.1` (Wanted: `2.19.4`) +- **nostr-tools**: + - Current: 2.19.4 + - Latest: 2.23.1 + - **Action**: Skipped auto-upgrade (Protocol Library). Please review manually. -## Recommendations -- **nostr-tools**: This is a protocol library. Auto-upgrade is disabled. Recommend manual review for upgrade to 2.23.1. +## Actions Taken +- No automatic upgrades performed due to safety constraints. diff --git a/artifacts/docs-audit/2026-02-17/inventory.md b/artifacts/docs-audit/2026-02-17/inventory.md new file mode 100644 index 0000000..f08bb6b --- /dev/null +++ b/artifacts/docs-audit/2026-02-17/inventory.md @@ -0,0 +1,13 @@ +# Inventory - 2026-02-17 + +## Scope +Audit of `/content` directory for upload/contribution docs. + +## Findings +- **Missing Directory**: The `/content` directory does not exist in the repository root. +- **Impact**: Unable to verify claims about upload functionality or contribution guidelines in `/content`. +- **Status**: Failed to inventory due to missing target. + +## Recommendations +- Verify if `/content` is the intended target or if documentation resides elsewhere (e.g., `src/docs`). +- Update `content-audit-agent` prompt to reflect the correct directory structure. diff --git a/artifacts/npm-audit.json b/artifacts/npm-audit.json index dce7c3a..024e02d 100644 --- a/artifacts/npm-audit.json +++ b/artifacts/npm-audit.json @@ -1,22 +1,118 @@ { "auditReportVersion": 2, - "vulnerabilities": {}, + "vulnerabilities": { + "@eslint-community/eslint-utils": { + "name": "@eslint-community/eslint-utils", + "severity": "moderate", + "isDirect": false, + "via": [ + "eslint" + ], + "effects": [ + "eslint" + ], + "range": "*", + "nodes": [ + "node_modules/@eslint-community/eslint-utils" + ], + "fixAvailable": { + "name": "eslint", + "version": "4.1.1", + "isSemVerMajor": true + } + }, + "@eslint/js": { + "name": "@eslint/js", + "severity": "moderate", + "isDirect": true, + "via": [ + "eslint" + ], + "effects": [], + "range": ">=10.0.1", + "nodes": [ + "node_modules/@eslint/js" + ], + "fixAvailable": { + "name": "@eslint/js", + "version": "9.39.2", + "isSemVerMajor": true + } + }, + "ajv": { + "name": "ajv", + "severity": "moderate", + "isDirect": false, + "via": [ + { + "source": 1113214, + "name": "ajv", + "dependency": "ajv", + "title": "ajv has ReDoS when using `$data` option", + "url": "https://github.com/advisories/GHSA-2g4f-4pwh-qvx6", + "severity": "moderate", + "cwe": [ + "CWE-400" + ], + "cvss": { + "score": 0, + "vectorString": null + }, + "range": "<8.18.0" + } + ], + "effects": [ + "eslint" + ], + "range": "<8.18.0", + "nodes": [ + "node_modules/ajv" + ], + "fixAvailable": { + "name": "eslint", + "version": "4.1.1", + "isSemVerMajor": true + } + }, + "eslint": { + "name": "eslint", + "severity": "moderate", + "isDirect": true, + "via": [ + "@eslint-community/eslint-utils", + "ajv" + ], + "effects": [ + "@eslint-community/eslint-utils", + "@eslint/js" + ], + "range": ">=4.2.0", + "nodes": [ + "node_modules/eslint" + ], + "fixAvailable": { + "name": "eslint", + "version": "4.1.1", + "isSemVerMajor": true + } + } + }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, - "moderate": 0, + "moderate": 4, "high": 0, "critical": 0, - "total": 0 + "total": 4 }, "dependencies": { "prod": 12, - "dev": 72, - "optional": 0, + "dev": 76, + "optional": 1, "peer": 0, "peerOptional": 0, - "total": 83 + "total": 87 } } } diff --git a/artifacts/todo_issues.md b/artifacts/todo_issues.md new file mode 100644 index 0000000..247b9b3 --- /dev/null +++ b/artifacts/todo_issues.md @@ -0,0 +1,4 @@ +# TODO Issues Report - 2026-02-17T16-36-25Z + +No actionable TODOs found in the codebase (src/, docs/, bin/, scripts/) as of 2026-02-17T16-36-25Z. +Matches found were false positives (mktemp XXXXXX templates or documentation). diff --git a/artifacts/todos.txt b/artifacts/todos.txt index 346f0da..94581e1 100644 --- a/artifacts/todos.txt +++ b/artifacts/todos.txt @@ -1,3 +1,74 @@ +src/test_logs/TEST_LOG_2026-02-15T23-20-19Z.md:11:- Result: Created CONTEXT, TODO, DECISIONS, TEST_LOG files. +src/test_logs/TEST_LOG_2026-02-15T18-00-00Z.md:10:- Command: Scan for TODOs +src/test_logs/TEST_LOG_2026-02-15T18-00-00Z.md:11: `git grep -n -E "TODO|FIXME|XXX" -- '*.js' '*.mjs' 'docs/*' | sed -n '1,200p' > artifacts/todos.txt` +src/context/CONTEXT_2026-02-15T18-00-00Z.md:11:Scan the repository for TODO/FIXME/XXX markers and triage them. +src/decisions/DECISIONS_2026-02-15T18-00-00Z.md:11:No actionable TODOs were found in the codebase. The scan returned only documentation references and test data. +src/decisions/DECISIONS_2026-02-15T18-00-00Z.md:14:The goal is to triage *actionable* TODOs. Since none exist, no changes or issues are required. +src/todo/TODO_manual-jules-1771293773.md:1:# TODO for Scheduler Update Agent +src/todo/TODO_2026-02-14T13-30-00Z.md:1:# Decomposition TODO +src/todo/TODO_2026-02-14T06-04-19Z.md:1:# Audit Run TODO +src/todo/2026-02-13-dom-migration-todo.md:1:# TODO — Rendering Migration (Example) +src/todo/TODO_2026-02-17T02-04-31Z.md:1:# TODO for Scheduler Update Agent +src/todo/TODO_2026-02-17T02-04-05Z.md:1:# TODO for Scheduler Update Agent +src/todo/TODO_2026-02-15T01-22-33Z.md:1:# TODO for Perf Agent Run 2026-02-15T01-22-33Z +src/todo/TODO_2026-02-15T18-00-00Z.md:14:- Scan repository for TODOs. +src/todo/TODO_2026-02-16.md:1:# TODO: perf-agent (2026-02-16) +src/todo/TODO_2026-02-14.md:1:# TODO Checklist +src/todo/TODO_2026-02-15T01:03:31Z.md:8:# TODO Update - 2026-02-15T01:03:31Z +src/todo/TODO_2026-02-14T23-00-00Z.md:1:# TODO: dashboard/index.html innerHTML Migration +src/prompts/scheduler-flow.md:11:- `src/todo/TODO_.md` +src/prompts/daily/decompose-agent.md:32:- `src/todo/TODO_.md` — checklist of extraction items (2–3 blocks) and status. +src/prompts/daily/decompose-agent.md:75:Add these items to `src/todo/TODO_.md`. +src/prompts/daily/decompose-agent.md:266:4. Read file, identify 2–3 cohesive blocks, document in `src/context/CONTEXT_.md` and `src/todo/TODO_.md`. +src/prompts/daily/const-refactor-agent.md:40:- `src/todo/TODO_.md` — List of duplicated constants to canonicalize and status for each. +src/prompts/daily/audit-agent.md:29:- `src/todo/TODO_.md` — checklist for the audit run and follow-ups. +src/prompts/daily/audit-agent.md:121: - If automated, add a follow-up task in `src/todo/TODO_.md` or open issues for high-priority items with labels `perf`, `lint`, or `security` as appropriate. +src/prompts/daily/scheduler-update-agent.md:89: - `src/todo/TODO_.md` +src/prompts/daily/perf-agent.md:50:- `src/todo/TODO_.md` — tasks (Done / Blocked). +src/prompts/daily/innerhtml-migration-agent.md:31:- `src/todo/TODO_.md` — checklist of assignments in the file and status. +src/prompts/daily/innerhtml-migration-agent.md:66: Add this list to `src/todo/TODO_.md` as items to migrate. +src/prompts/daily/docs-code-investigator.md:22: - Focus on files > ~200 LOC, or files that contain `TODO|FIXME|XXX`. +src/prompts/daily/docs-code-investigator.md:23:- Priority: files containing `TODO|FIXME|XXX` or >200 lines. shared helpers and core modules are high-value places to document. +src/prompts/daily/docs-code-investigator.md:39:git grep -n -E "TODO|FIXME|XXX" -- . | sed -n '1,200p' +src/prompts/daily/docs-code-investigator.md:42:- Is large (> 200 LOC) or contains `TODO` / `FIXME` / `XXX`. +src/prompts/daily/docs-code-investigator.md:80:- Note unreachable code, TODOs, or suspicious `try/catch` with swallowing errors. +src/prompts/daily/docs-code-investigator.md:206:git grep -n -E "TODO|FIXME|XXX" -- . | sed -n '1,200p' +src/prompts/daily/todo-triage-agent.md:13:Mission: keep the codebase’s TODO/FIXME backlog actionable by scanning for TODO-style comments, classifying them by effort/risk, and either (a) fixing **trivial, safe** items via small PRs or (b) converting non-trivial or sensitive items into well-formed GitHub issues. Every change must be small, safe, traceable, and reviewable. +src/prompts/daily/todo-triage-agent.md:29: - Scanning the repo for TODO/FIXME/XXX markers in source/docs. +src/prompts/daily/todo-triage-agent.md:36: - Refactors or feature work disguised as “TODO fixes”. +src/prompts/daily/todo-triage-agent.md:40: - Deleting TODOs without resolving the underlying need. +src/prompts/daily/todo-triage-agent.md:45:1. Visibility — Produce a current TODO inventory file each run. +src/prompts/daily/todo-triage-agent.md:46:2. Safety — No risky areas are modified; sensitive TODOs become issues. +src/prompts/daily/todo-triage-agent.md:50:5. Minimal disruption — Avoid churn; don’t reformat files just to touch TODOs. +src/prompts/daily/todo-triage-agent.md:58:- No security-sensitive fixes. If the TODO mentions (or touches) cryptography, +src/prompts/daily/todo-triage-agent.md:61:- No mission drift. Do not expand TODO triage into general cleanup/refactors. +src/prompts/daily/todo-triage-agent.md:62:- One logical change per commit; don’t bundle unrelated TODOs in one PR unless +src/prompts/daily/todo-triage-agent.md:68:P0 Security/safety TODOs → issue only, label clearly. +src/prompts/daily/todo-triage-agent.md:69:P1 Trivial correctness/docs TODOs → small PR if safe and < 1 hour. +src/prompts/daily/todo-triage-agent.md:70:P2 Medium/large engineering TODOs → issue with next-step recommendation. +src/prompts/daily/todo-triage-agent.md:71:P3 Cosmetic/low-value TODOs → issue or leave (don’t churn) unless policy +src/prompts/daily/todo-triage-agent.md:89: `git grep -n -E "TODO|FIXME|XXX" -- '*.js' '*.html' 'docs/*' \ +src/prompts/daily/todo-triage-agent.md:95: For each TODO/FIXME/XXX entry: +src/prompts/daily/todo-triage-agent.md:97: - file, line number, exact TODO first line +src/prompts/daily/todo-triage-agent.md:130:2) Implement the smallest change that resolves the TODO. +src/prompts/daily/todo-triage-agent.md:135: - `fix(ai): (TODO)` +src/prompts/daily/todo-triage-agent.md:136: - `chore(ai): (TODO)` for docs-only changes +src/prompts/daily/todo-triage-agent.md:138: - Summary of the TODO and what changed +src/prompts/daily/todo-triage-agent.md:144:- `fix(ai): (TODO)` +src/prompts/daily/todo-triage-agent.md:152:- any sensitive/security-related TODOs +src/prompts/daily/todo-triage-agent.md:155:- `todo: ` +src/prompts/daily/todo-triage-agent.md:160:- What you believe the TODO intends +src/prompts/daily/todo-triage-agent.md:170:DE-DUPING & STALE TODOs +src/prompts/daily/todo-triage-agent.md:172:- If multiple TODOs refer to the same underlying problem, consolidate into one +src/prompts/daily/todo-triage-agent.md:174:- Do not delete TODOs as “stale” unless you can prove the need is resolved. +src/prompts/daily/todo-triage-agent.md:195:- 0–N small PRs for trivial, safe TODOs +src/prompts/daily/todo-triage-agent.md:196:- 0–N GitHub issues for medium/large/sensitive TODOs +src/prompts/daily/content-audit-agent.md:43:- `src/todo/TODO_.md` — checklist of pages and claims to verify, with statuses. +src/prompts/daily/deps-security-agent.md:44:- `src/todo/TODO_.md` — upgrade tasks and statuses. +src/prompts/daily/test-audit-agent.md:42:- `src/todo/TODO_.md` — checklist of specific tests/issues to investigate/fix. +src/prompts/daily/test-audit-agent.md:164: 1. **Test-fix PR** — add missing assertions, replace `setTimeout` sleeps with `waitFor`, or mock timers. Include `src/context/CONTEXT_.md`, `src/todo/TODO_.md`, `src/test_logs/TEST_LOG_.md`. +docs/agent-handoffs/incidents/goose-hermit-etxtbsy-fix.patch:70:+ HERMIT_TMP=$(mktemp ~/.config/goose/mcp-hermit/bin/.hermit-download.XXXXXX) +docs/agent-handoffs/incidents/goose-hermit-etxtbsy-fix.patch:91:+ HERMIT_INIT_COPY=$(mktemp /tmp/.hermit-init-copy.XXXXXX) +docs/agent-handoffs/incidents/2026-02-15-hermit-text-file-busy.md:48:HERMIT_TMP=$(mktemp ~/.config/goose/mcp-hermit/bin/.hermit-download.XXXXXX) +docs/agent-handoffs/incidents/2026-02-15-hermit-text-file-busy.md:57:HERMIT_INIT_COPY=$(mktemp /tmp/.hermit-init-copy.XXXXXX) docs/proposals/prompt-packages.md:26: * `todo-triage-agent`: Manage TODOs. -scripts/agent/verify-run-artifacts.mjs:15: expectedPrefix: 'TODO_', -test/verify-run-artifacts.test.mjs:46: await fs.writeFile(path.join(root, 'src', 'todo', 'TODO_1.md'), `${metadata}\n\nPending tasks:\n- finish checks\n`, 'utf8'); diff --git a/dashboard.log b/dashboard.log new file mode 100644 index 0000000..b9f5847 --- /dev/null +++ b/dashboard.log @@ -0,0 +1,8 @@ + +> torch-lock@0.1.0 dashboard:serve +> node bin/torch-lock.mjs dashboard + +Dashboard running at http://null:4173/dashboard/ +Authentication: DISABLED (Dashboard is public) +Serving files from /app +Using configuration from /app diff --git a/dashboard_verify.log b/dashboard_verify.log index 739f71f..b9f5847 100644 --- a/dashboard_verify.log +++ b/dashboard_verify.log @@ -2,6 +2,7 @@ > torch-lock@0.1.0 dashboard:serve > node bin/torch-lock.mjs dashboard -Dashboard running at http://localhost:4173/dashboard/ +Dashboard running at http://null:4173/dashboard/ +Authentication: DISABLED (Dashboard is public) Serving files from /app Using configuration from /app diff --git a/landing/index.html b/landing/index.html index 62ded99..cd2daaa 100644 --- a/landing/index.html +++ b/landing/index.html @@ -620,7 +620,7 @@
-

Choose Your Agent

+

Choose Your Agent

-
-

Running Offline or Air-Gapped?

-

Download the standalone bundle and install it directly without registry access.

+
+

Running Offline or Air-Gapped?

+

Download the standalone bundle and install it directly without registry access.

-
+ @@ -675,7 +675,7 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz & Download Bundle -
+
npm install ./{{OFFLINE_BUNDLE_FILENAME}}