- Adds the `--` argument separator before randomly generated IDs in `src/tests/test_cli_agent_mode.py` to prevent Typer/Click from parsing generated strings like `-abc123` as unrecognized options.
- Resolves CI failure on `test_agent_approval_issue_list_and_revoke` and proactively fixes `test_agent_secret_lease_issue_consume_and_exhaust`, `test_agent_identity_create_list_revoke` and `test_agent_job_profile_lifecycle`.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Fixes `src/tests/test_cli_agent_mode.py` tests failing randomly when generated IDs start with a hyphen (`-`) by using `--` separator to prevent typer from misinterpreting them as options.
- Removes leftover temporary `.py` and `.md` scratchpad files that were mistakenly included in the previous commit attempt.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Fixes `AssertionError: assert {'path': '\\tmp\\exported.md'} == {'path': '/tmp/exported.md'}` by checking against both `\tmp\exported.md` and `/tmp/exported.md` in `src/tests/test_api_new_endpoints.py`
- Fixes `AssertionError: assert '/tmp/doc.txt' in '\\tmp\\doc.txt\n'` by checking for both variations in `src/tests/test_cli_entry_add_commands.py`
- Runs `black` to format unformatted tests and CLI code to fix lint/formatting failures.
Co-authored-by: PR0M3TH3AN <[email protected]>
- Successfully identified and ran the content-audit-agent via the TORCH scheduler flow.
- Agent read base documents, identified an issue (`2026-02-15-relay-health-preflight-job.md` missing referenced in `TORCH.md`).
- Documented the missing file bug into `KNOWN_ISSUES.md`.
- Wrote new `docs/agent-handoffs/incidents/2026-03-01-missing-runbook.md` placeholder.
- Wrote memory artifacts to `.scheduler-memory/latest/daily/*` and new memory file to `memory-updates/2026-03-01T21-45-00Z__content-audit-agent.md`.
- Verified changes with full Python unit test suite and `npm run validate:scheduler`.
- Published `lock:complete` and wrote final `torch/task-logs/daily/2026-03-01T21-45-00Z__content-audit-agent__completed.md`.
Co-authored-by: PR0M3TH3AN <[email protected]>
Ran `poetry run black --check .` and `black src/tests/test_nostr_index_size.py src/tests/test_nostr_sdk_workflow.py`
to fix code formatting issues in the test audit run, which caused GitHub
Actions CI checks to fail.
Co-authored-by: PR0M3TH3AN <[email protected]>