docs: align package config and documentation paths

- Update `package.json` to include `TORCH.md` and `scripts/memory/` in distribution.
- Update `README.md` to reference `TORCH.md` correctly.
- Update `src/ops.mjs` to robustly handle memory policy paths in `torch-config.json` generation.
- Update `.gitignore` to exclude `.scheduler-memory/`.
- Update `torch-config.example.json` to include memory policy with standard defaults.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-18 16:51:35 +00:00
1 parent d365d12b76
commit 7c41e040bd
83 files changed
+41 -1148

No files matched your search

+1
View File
@@ -1,2 +1,3 @@
node_modules
dist/
.scheduler-memory/
@@ -1,18 +0,0 @@
{
"cadence": "weekly",
"operation": "retrieve",
"runId": "1771338346",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "dead-code-agent",
"promptPath": "src/prompts/weekly/dead-code-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | weekly | agent | dead-code-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
-1
View File
@@ -1 +0,0 @@
MEMORY_RETRIEVED
-20
View File
@@ -1,20 +0,0 @@
{
"cadence": "weekly",
"operation": "store",
"runId": "1771338501",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "dead-code-agent",
"promptPath": "src/prompts/weekly/dead-code-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"events": 1,
"sourceFile": "memory-update.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"# 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/…"
]
},
"status": "ok"
}
-1
View File
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "adffd02af53cf5fb38e640608155fae3aa10adac6249a4d3e462c8f5b56ac6b7",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "style-agent",
"promptPath": "src/prompts/daily/style-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | daily | agent | style-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
@@ -1,20 +0,0 @@
{
"cadence": "daily",
"operation": "store",
"runId": "adffd02af53cf5fb38e640608155fae3aa10adac6249a4d3e462c8f5b56ac6b7",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "style-agent",
"promptPath": "src/prompts/daily/style-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"events": 1,
"sourceFile": "memory-update.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"Lint passed, no changes needed."
]
},
"status": "ok"
}
@@ -1,18 +0,0 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "initial-seed",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "onboarding-audit-agent",
"promptPath": "src/prompts/daily/onboarding-audit-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | daily | agent | onboarding-audit-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 2
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
-19
View File
@@ -1,19 +0,0 @@
{
"cadence": "daily",
"operation": "store",
"runId": "initial-seed",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "onboarding-audit-agent",
"promptPath": "src/prompts/daily/onboarding-audit-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"events": 2
},
"outputs": {
"storedCount": 1,
"summaries": [
"Store memory event A for daily :: Required startup + artifacts + memory + issue capture Store memory event B for daily :: Required startup + artifacts + memory + issue capture"
]
},
"status": "ok"
}
-1
View File
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,2 +0,0 @@
- Memory retrieval seed for daily :: scheduler memory retrieval
- Memory retrieval seed for daily :: scheduler memory retrieval
@@ -1 +0,0 @@
MEMORY_RETRIEVED
-1
View File
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1 +0,0 @@
- Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture
@@ -1 +0,0 @@
MEMORY_RETRIEVED
-1
View File
@@ -1 +0,0 @@
MEMORY_STORED
-437
View File
@@ -1,437 +0,0 @@
[
[
"dc16f83d-c99b-4dc0-ac52-90bd36cf709b",
{
"schema_version": 1,
"id": "dc16f83d-c99b-4dc0-ac52-90bd36cf709b",
"agent_id": "ci-health-agent",
"session_id": "session-mlr07hyw",
"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": 1771356975801,
"last_seen": 1771356975809,
"source": "scheduler-retrieve",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"cf3230aa-9e00-48f4-809f-a54fee5a0637",
{
"schema_version": 1,
"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",
"tags": [
"scheduler",
"daily",
"retrieve"
],
"importance": 0.4,
"embedding_id": null,
"created_at": 1771369913961,
"last_seen": 1771427664054,
"source": "scheduler-retrieve",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"72f2cb07-62ab-4460-a994-4da196860e6c",
{
"schema_version": 1,
"id": "72f2cb07-62ab-4460-a994-4da196860e6c",
"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": 1771370050385,
"last_seen": 1771427562318,
"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": 1771427562318,
"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": 1771427562318,
"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",
"weekly",
"store"
],
"importance": 0.55,
"embedding_id": null,
"created_at": 1771370189289,
"last_seen": 1771370189290,
"source": "scheduler-store",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"dacc99c5-1ba1-438f-87d3-cbc39ca7f899",
{
"schema_version": 1,
"id": "dacc99c5-1ba1-438f-87d3-cbc39ca7f899",
"agent_id": "design-system-audit-agent",
"session_id": "session-mlrf4pzf",
"type": "batch_window",
"content": "Memory retrieval seed for daily :: scheduler memory retrieval",
"summary": "Memory retrieval seed for daily :: scheduler memory retrieval",
"tags": [
"scheduler",
"daily",
"retrieve"
],
"importance": 0.4,
"embedding_id": null,
"created_at": 1771382040459,
"last_seen": 1771382040466,
"source": "scheduler-retrieve",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"c683cf59-af31-49e5-98c5-41994c8ffc93",
{
"schema_version": 1,
"id": "c683cf59-af31-49e5-98c5-41994c8ffc93",
"agent_id": "design-system-audit-agent",
"session_id": "session-mlrf7alk",
"type": "batch_window",
"content": "# Design System Audit Report\n\nDate: 2026-02-18T02:34:58.298Z\n\n## 1. Inline Styles\nFound 8 instances.\n### Top Offending Files\n- landing/index.html: 8\n\n### Sample Snippets\n- `style=\"font-size: 2rem; margin-bottom: 2rem; color: var(--text-strong);\"` in landing/index.html\n- `style=\"margin-top: 1rem;\"` in landing/index.html\n- `style=\"margin-top: 4rem; text-align: center; width: 100%; max-width: 600px; padding-top: 2rem; border-top: 1px solid var(--border);\"` in landing/index.html\n- `style=\"font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text-strong);\"` in landing/index.html\n- `style=\"color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem;\"` in landing/index.html\n\n## 2. Unsanctioned Hex Colors\nFound 6 instances.\n### Top Offending Colors\n- #039: 1\n- #0d1117: 1\n- #e6edf3: 1\n- #a5d6ff: 1\n- #ff4d4d: 1\n- #ef4444: 1\n\n### Sample Locations\n- #039 in dashboard/domUtils.js\n- #0d1117 in landing/index.html\n- #e6edf3 in landing/index.html\n- #a5d6ff in landing/index.html\n- #ff4d4d in landing/index.html\n\n## 3. Raw Lengths\n(Skipped: requires AST parsing)\n\n## Next Steps\n- Review unsanctioned colors and replace with tokens.\n- Refactor inline styles to CSS classes.",
"summary": "# Design System Audit Report\n\nDate: 2026-02-18T02:34:58.298Z\n\n## 1. Inline Styles\nFound 8 instances.\n### Top Offending Files\n- landing/index.html: 8\n\n### Sample Snippets\n- `style=\"font-size: 2rem; margin-bottom: 2rem; color: var(--text-strong);\"` in landing/index.html\n- `style=\"…",
"tags": [
"scheduler",
"daily",
"store",
"insight"
],
"importance": 0.8,
"embedding_id": null,
"created_at": 1771382160489,
"last_seen": 1771382160489,
"source": "agent-output",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"71791fc3-49a7-40f2-a8e5-c93e8b19f32b",
{
"schema_version": 1,
"id": "71791fc3-49a7-40f2-a8e5-c93e8b19f32b",
"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": 1771384842151,
"last_seen": 1771427562318,
"source": "ingest",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"ca60066d-1d01-43de-a597-573d9826d101",
{
"schema_version": 1,
"id": "ca60066d-1d01-43de-a597-573d9826d101",
"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": 1771384870483,
"last_seen": 1771427562318,
"source": "ingest",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"b95b047e-6bc6-4342-a535-8d311ebc7f1a",
{
"schema_version": 1,
"id": "b95b047e-6bc6-4342-a535-8d311ebc7f1a",
"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": 1771384958439,
"last_seen": 1771427562318,
"source": "ingest",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"014476d4-ea5f-4376-b1f5-580ae60659ca",
{
"schema_version": 1,
"id": "014476d4-ea5f-4376-b1f5-580ae60659ca",
"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": 1771427339704,
"last_seen": 1771427562318,
"source": "ingest",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"49d14ded-6843-45d6-b113-768b8db36fa7",
{
"schema_version": 1,
"id": "49d14ded-6843-45d6-b113-768b8db36fa7",
"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": 1771427363420,
"last_seen": 1771427562318,
"source": "ingest",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"b0e84cd8-8da7-4677-a032-a72407557898",
{
"schema_version": 1,
"id": "b0e84cd8-8da7-4677-a032-a72407557898",
"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": 1771427562303,
"last_seen": 1771427562318,
"source": "ingest",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"db266f5c-9cd2-4444-840e-775eea3697b3",
{
"schema_version": 1,
"id": "db266f5c-9cd2-4444-840e-775eea3697b3",
"agent_id": "scheduler-memory-daily",
"session_id": "session-mls6alda",
"type": "batch_window",
"content": "Memory retrieval seed for daily :: scheduler memory retrieval",
"summary": "Memory retrieval seed for daily :: scheduler memory retrieval",
"tags": [
"scheduler",
"daily",
"retrieve"
],
"importance": 0.4,
"embedding_id": null,
"created_at": 1771427664046,
"last_seen": 1771427664054,
"source": "scheduler-retrieve",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
],
[
"7f142e9b-e95a-4d53-ac98-874a1e3f395f",
{
"schema_version": 1,
"id": "7f142e9b-e95a-4d53-ac98-874a1e3f395f",
"agent_id": "scheduler-memory-weekly",
"session_id": "session-mls6alf7",
"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": 1771427664115,
"last_seen": 1771427664116,
"source": "scheduler-store",
"ttl_days": null,
"merged_into": null,
"pinned": false
}
]
]
@@ -1,18 +0,0 @@
{
"cadence": "weekly",
"operation": "retrieve",
"runId": "session-1771346034",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "feature-proposer-agent",
"promptPath": "src/prompts/weekly/feature-proposer-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | weekly | agent | feature-proposer-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"cadence": "weekly",
"operation": "store",
"runId": "session-1771346112",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "feature-proposer-agent",
"promptPath": "src/prompts/weekly/feature-proposer-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"events": 1,
"sourceFile": "memory-updates/2026-02-17T15-00-00Z__feature-proposer-agent.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"# 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 …"
]
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "weekly",
"operation": "retrieve",
"runId": "session-mlq2vq5p",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "bug-reproducer-agent",
"promptPath": "src/prompts/weekly/bug-reproducer-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | weekly | agent | bug-reproducer-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"cadence": "weekly",
"operation": "store",
"runId": "session-mlq2ysd2",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "bug-reproducer-agent",
"promptPath": "src/prompts/weekly/bug-reproducer-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"events": 1,
"sourceFile": "memory-update.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"Reproduced npm test timeout issue. Created reproduction script in artifacts/reproducers/npm-test-timeout/. Confirmed that `npm test` hangs/times out as expected."
]
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "weekly",
"operation": "retrieve",
"runId": "session-mlq51t0r",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "changelog-agent",
"promptPath": "src/prompts/weekly/changelog-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | weekly | agent | changelog-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"cadence": "weekly",
"operation": "store",
"runId": "session-mlq53the",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "changelog-agent",
"promptPath": "src/prompts/weekly/changelog-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"events": 1,
"sourceFile": "memory-update.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"# 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"
]
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "session-mlqtsund",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "torch-garbage-collection-agent",
"promptPath": "src/prompts/daily/torch-garbage-collection-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | daily | agent | torch-garbage-collection-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"cadence": "daily",
"operation": "store",
"runId": "session-mlqtue5j",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "torch-garbage-collection-agent",
"promptPath": "src/prompts/daily/torch-garbage-collection-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"events": 1,
"sourceFile": "memory-updates/2026-02-17T16-37-11Z__torch-garbage-collection-agent.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"# Memory Update - Torch Garbage Collection Agent\n\nRun completed at 2026-02-17T16-37-11Z.\nNo stale log files or memory updates older than 14 days were found."
]
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "session-mlqwxsc8",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "audit-agent",
"promptPath": "src/prompts/daily/audit-agent.md",
"promptIntent": "Required startup + artifacts + memory + issue capture",
"query": "scheduler | daily | agent | audit-agent | intent | Required startup + artifacts + memory + issue capture",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"cadence": "daily",
"operation": "store",
"runId": "session-mlqwzwl4",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "audit-agent",
"promptPath": "",
"promptIntent": "scheduler memory store",
"events": 1,
"sourceFile": "memory-updates/2026-02-17T18-04-00Z__audit-agent.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"# 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…"
]
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,18 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,20 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,20 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "session-mlrf4pzf",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "design-system-audit-agent",
"promptPath": "",
"promptIntent": "scheduler memory retrieval",
"query": "scheduler | daily | agent | design-system-audit-agent | intent | scheduler memory retrieval",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 1
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"cadence": "daily",
"operation": "store",
"runId": "session-mlrf7alk",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "design-system-audit-agent",
"promptPath": "",
"promptIntent": "scheduler memory store",
"events": 1,
"sourceFile": "memory-update.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"# Design System Audit Report\n\nDate: 2026-02-18T02:34:58.298Z\n\n## 1. Inline Styles\nFound 8 instances.\n### Top Offending Files\n- landing/index.html: 8\n\n### Sample Snippets\n- `style=\"font-size: 2rem; margin-bottom: 2rem; color: var(--text-strong);\"` in landing/index.html\n- `style=\"…"
]
},
"status": "ok"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "session-mls6alda",
"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"
}
@@ -1 +0,0 @@
MEMORY_RETRIEVED
@@ -1,20 +0,0 @@
{
"cadence": "weekly",
"operation": "store",
"runId": "session-mls6alf7",
"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"
}
@@ -1 +0,0 @@
MEMORY_STORED
@@ -1,18 +0,0 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "test-run-2",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "test-agent",
"promptPath": "",
"promptIntent": "scheduler memory retrieval",
"query": "scheduler | daily | agent | test-agent | intent | scheduler memory retrieval",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 2
},
"status": "ok"
}
-1
View File
@@ -1 +0,0 @@
MEMORY_RETRIEVED
-19
View File
@@ -1,19 +0,0 @@
{
"cadence": "daily",
"operation": "store",
"runId": "test-run",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "test-agent",
"promptPath": "",
"promptIntent": "scheduler memory store",
"events": 2
},
"outputs": {
"storedCount": 1,
"summaries": [
"Store memory event A for daily :: scheduler memory store Store memory event B for daily :: scheduler memory store"
]
},
"status": "ok"
}
-1
View File
@@ -1 +0,0 @@
MEMORY_STORED
+1 -1
View File
@@ -144,7 +144,7 @@ The lock CLI resolves roster names in this order:
## Included Resources
- `src/lib.mjs` — Core library logic (can be imported in scripts)
- `src/docs/TORCH.md` — Protocol summary and usage
- `TORCH.md` — Protocol summary and usage
- `src/prompts/` — Generic scheduler prompts and flow
- `skills/` — Repository-local skill guides for agent onboarding and repeatable workflows
- `dashboard/` — Static lock dashboard assets
+3 -1
View File
@@ -21,11 +21,13 @@
"src/docs/",
"scripts/check-file-size.mjs",
"scripts/check-innerhtml.mjs",
"scripts/memory/",
"skills/",
"dashboard/",
"assets/",
"torch-config.example.json",
"README.md"
"README.md",
"TORCH.md"
],
"scripts": {
"test": "npm run validate:scheduler && npm run test:integration:e2e && node --test test/*.test.mjs tests/*.test.js",
+8 -3
View File
@@ -260,19 +260,24 @@ function configureTorch(cwd, paths, installDir, namespace, relays) {
configData.scheduler.memoryPolicyByCadence = {};
}
// Populate daily/weekly if missing
// Populate or update daily/weekly memory policy
// We force update the command paths to match the install directory,
// while preserving other settings if they exist.
['daily', 'weekly'].forEach(cadence => {
if (!configData.scheduler.memoryPolicyByCadence[cadence]) {
configData.scheduler.memoryPolicyByCadence[cadence] = {
mode: "required",
retrieveCommand: `node ${scriptPrefix}scripts/memory/retrieve.mjs`,
storeCommand: `node ${scriptPrefix}scripts/memory/store.mjs`,
retrieveSuccessMarkers: ["MEMORY_RETRIEVED"],
storeSuccessMarkers: ["MEMORY_STORED"],
retrieveArtifacts: [`.scheduler-memory/latest/${cadence}/retrieve.ok`],
storeArtifacts: [`.scheduler-memory/latest/${cadence}/store.ok`]
};
}
// Always ensure commands point to the correct script location
const policy = configData.scheduler.memoryPolicyByCadence[cadence];
policy.retrieveCommand = `node ${scriptPrefix}scripts/memory/retrieve.mjs`;
policy.storeCommand = `node ${scriptPrefix}scripts/memory/store.mjs`;
});
fs.writeFileSync(configPath, JSON.stringify(configData, null, 2), 'utf8');
@@ -0,0 +1,24 @@
---
agent: docs-alignment-agent
cadence: daily
status: completed
---
## Summary
Verified documentation and package configuration alignment.
### Actions Taken
1. Audited `package.json`, `README.md`, and `torch-config.example.json`.
2. Updated `package.json` to include `TORCH.md` and `scripts/memory/` in the `files` array for correct package distribution.
3. Updated `README.md` to reference `TORCH.md` in the root directory (instead of the non-existent `src/docs/TORCH.md`).
4. Updated `src/ops.mjs` to robustly handle `torch-config.json` generation by forcing path updates for `memoryPolicyByCadence` to match the installation directory.
5. Updated `.gitignore` to exclude `.scheduler-memory/` to prevent repository pollution.
6. Restored `memoryPolicyByCadence` in `torch-config.example.json` with standard defaults (now safe due to `src/ops.mjs` fix).
7. Verified build artifacts using `npm run build` and `test/build_verification.test.mjs`.
### Validation
- `npm run lint`: Passed.
- `test/build_verification.test.mjs`: Passed (confirmed `TORCH.md` and memory scripts are included in distribution).
+4
View File
@@ -61,6 +61,10 @@
".scheduler-memory/latest/weekly/store.ok"
]
}
},
"paused": {
"daily": [],
"weekly": []
}
}
}