diff --git a/.scheduler-memory/latest/daily/memories.md b/.scheduler-memory/latest/daily/memories.md index 254c73ea..89fe5b97 100644 --- a/.scheduler-memory/latest/daily/memories.md +++ b/.scheduler-memory/latest/daily/memories.md @@ -39,6 +39,18 @@ If `npx --no-install torch-lock init --help` prints initialization prompts, it m Memory retrieval seed for daily :: scheduler memory retrieval +## Patterns / reusable knowledge +- Always verify file existence before assuming roster drift. + +… +### 5. [2026-02-25] (scheduler, daily, store, insight) + +--- + +### 4. [2026-02-27] (scheduler, daily, retrieve) + +Memory retrieval seed for daily :: scheduler memory retrieval + --- ### 5. [2026-02-25] (scheduler, daily, store, insight) @@ -46,6 +58,8 @@ Memory retrieval seed for daily :: scheduler memory retrieval ### 1. [2026-02-25] (torch, scheduler, host-mode) When running `npm run --prefix torch scheduler:daily`, the scheduler resolves config from `torch/torch-config.json` (cwd-scoped), not the repo-root `torch-config.json`. +### 2. [2026-02-25] (torch, scheduler, handoff) +A non-inter… ### 2. [2026-02-25] (torch, scheduler, handoff) A non-inter… Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture diff --git a/.scheduler-memory/memory-store.json b/.scheduler-memory/memory-store.json index 177e59a7..24f99dbb 100644 --- a/.scheduler-memory/memory-store.json +++ b/.scheduler-memory/memory-store.json @@ -68,6 +68,7 @@ "importance": 0.8, "embedding_id": null, "created_at": 1772047328158, + "last_seen": 1772221041993, "last_seen": 1772218140238, "source": "agent-output", "ttl_days": null, @@ -119,6 +120,7 @@ "importance": 0.8, "embedding_id": null, "created_at": 1772049603683, + "last_seen": 1772221041993, "last_seen": 1772218140238, "source": "agent-output", "ttl_days": null, @@ -272,6 +274,7 @@ "importance": 0.8, "embedding_id": null, "created_at": 1772073865813, + "last_seen": 1772221041993, "last_seen": 1772218140238, "source": "agent-output", "ttl_days": null, @@ -450,6 +453,7 @@ "importance": 0.8, "embedding_id": null, "created_at": 1772136272549, + "last_seen": 1772221041993, "last_seen": 1772218140238, "source": "agent-output", "ttl_days": null, @@ -509,6 +513,15 @@ } ], [ + "c60afd2d-1325-4096-849a-77e11f2b5e39", + { + "schema_version": 1, + "id": "c60afd2d-1325-4096-849a-77e11f2b5e39", + "agent_id": "scheduler-memory-daily", + "session_id": "session-mm5anfp7", + "type": "batch_window", + "content": "Memory retrieval seed for daily :: scheduler memory retrieval", + "summary": "Memory retrieval seed for daily :: scheduler memory retrieval", "d7723c49-e9fa-48df-a7f3-ac1d98a93fce", { "schema_version": 1, @@ -534,6 +547,8 @@ ], "importance": 0.4, "embedding_id": null, + "created_at": 1772221041979, + "last_seen": 1772221041993, "created_at": 1772218140227, "last_seen": 1772218140238, "created_at": 1772238573613, @@ -545,6 +560,12 @@ } ], [ + "9c49ca58-c6e5-4751-a3de-ab48bf7a4da1", + { + "schema_version": 1, + "id": "9c49ca58-c6e5-4751-a3de-ab48bf7a4da1", + "agent_id": "scheduler-memory-daily", + "session_id": "session-mm5b8fmq", "d4e307de-89ae-48eb-ac20-565a0c1061d3", { "schema_version": 1, @@ -571,6 +592,8 @@ ], "importance": 0.8, "embedding_id": null, + "created_at": 1772222021666, + "last_seen": 1772222021666, "created_at": 1772218432277, "last_seen": 1772218432277, "created_at": 1772238600589, diff --git a/.scheduler-memory/session-mm5anfp7/retrieve.json b/.scheduler-memory/session-mm5anfp7/retrieve.json new file mode 100644 index 00000000..9c12fd87 --- /dev/null +++ b/.scheduler-memory/session-mm5anfp7/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "daily", + "operation": "retrieve", + "runId": "session-mm5anfp7", + "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": 5 + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mm5anfp7/retrieve.ok b/.scheduler-memory/session-mm5anfp7/retrieve.ok new file mode 100644 index 00000000..84b17199 --- /dev/null +++ b/.scheduler-memory/session-mm5anfp7/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/session-mm5b8fmq/store.json b/.scheduler-memory/session-mm5b8fmq/store.json new file mode 100644 index 00000000..203a9270 --- /dev/null +++ b/.scheduler-memory/session-mm5b8fmq/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "daily", + "operation": "store", + "runId": "session-mm5b8fmq", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "scheduler-memory-daily", + "promptPath": "", + "promptIntent": "scheduler memory store", + "events": 1, + "sourceFile": "memory-update.md" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "# Memory Update — bug-reproducer-agent — 2026-02-27\n\n## Key findings\n- The `scheduler-flow.md` script execution failed due to a missing runner (`codex`).\n- The automated `bug-reproducer-agent` prompt execution failed.\n- Fallback manual investigation identified one active issue: …" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mm5b8fmq/store.ok b/.scheduler-memory/session-mm5b8fmq/store.ok new file mode 100644 index 00000000..1e40bb67 --- /dev/null +++ b/.scheduler-memory/session-mm5b8fmq/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/artifacts/ci-flakes-2026-02-27.md b/artifacts/ci-flakes-2026-02-27.md new file mode 100644 index 00000000..013ef2d5 --- /dev/null +++ b/artifacts/ci-flakes-2026-02-27.md @@ -0,0 +1,25 @@ +# CI Flake Analysis - 2026-02-27 + +## Summary +The full test suite was run 4 times (1 initial run + 3 loop runs) to detect flaky tests. + +**Command:** `PYTHONPATH=src python3 -m pytest` + +**Results:** +- **Initial Run:** 766 passed, 11 skipped +- **Loop Run 1:** 766 passed, 11 skipped +- **Loop Run 2:** 766 passed, 11 skipped +- **Loop Run 3:** 766 passed, 11 skipped + +## Conclusion +No flaky tests were detected in the current environment. The test suite appears stable. + +## Skipped Tests +The following tests were skipped in all runs (likely due to missing optional dependencies or configuration): +- `src/tests/test_concurrency_stress.py` (3 skipped) +- `src/tests/test_gui_features.py` (3 skipped) +- `src/tests/test_nostr_index_size.py` (1 skipped) +- `src/tests/test_nostr_real.py` (3 skipped) +- `src/tests/test_nostr_sdk_workflow.py` (some possibly skipped or passed, log shows passed) + +*Note: The number of skipped tests (11) remained consistent across all runs.* diff --git a/scripts/ai_tui_agent_test.py b/scripts/ai_tui_agent_test.py index 32a37389..b7880347 100755 --- a/scripts/ai_tui_agent_test.py +++ b/scripts/ai_tui_agent_test.py @@ -17,9 +17,13 @@ from __future__ import annotations import argparse import json import os -import pty import random import re + +try: + import pty +except ImportError: + pty = None import select import shutil import subprocess @@ -871,6 +875,13 @@ def main() -> int: env.setdefault("TERM", "xterm") cmd = [args.python_bin, str(src_main), "--no-clipboard"] + if pty is None: + print( + "Error: pty module not available (POSIX environment required).", + file=sys.stderr, + ) + return 2 + master_fd, slave_fd = pty.openpty() proc = subprocess.Popen( cmd, diff --git a/torch/task-logs/daily/2026-02-27T20-11-20Z__ci-health-agent__completed.md b/torch/task-logs/daily/2026-02-27T20-11-20Z__ci-health-agent__completed.md new file mode 100644 index 00000000..28224f8f --- /dev/null +++ b/torch/task-logs/daily/2026-02-27T20-11-20Z__ci-health-agent__completed.md @@ -0,0 +1,20 @@ +--- +agent: ci-health-agent +status: completed +timestamp: 2026-02-27T20-11-20Z +platform: codex +--- + +# Scheduler Run Summary + +- **Agent:** ci-health-agent +- **Cadence:** daily +- **Status:** Success +- **Outcome:** CI health check completed. No flaky tests found after 4 full suite runs. + +## Artifacts +- `artifacts/ci-flakes-2026-02-27.md` +- Memory update stored in `.scheduler-memory/latest/daily/` + +## Learnings +The test suite is stable in the current environment. Skipped tests (11) are consistent across runs.