diff --git a/.scheduler-memory/latest/weekly/memories.md b/.scheduler-memory/latest/weekly/memories.md new file mode 100644 index 00000000..9f246c56 --- /dev/null +++ b/.scheduler-memory/latest/weekly/memories.md @@ -0,0 +1,3 @@ +### 1. [2026-02-28] (scheduler, weekly, retrieve) + +Memory retrieval seed for weekly :: Required startup + artifacts + memory + issue capture \ No newline at end of file diff --git a/.scheduler-memory/latest/weekly/retrieve.ok b/.scheduler-memory/latest/weekly/retrieve.ok index e69de29b..84b17199 100644 --- a/.scheduler-memory/latest/weekly/retrieve.ok +++ b/.scheduler-memory/latest/weekly/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/latest/weekly/store.ok b/.scheduler-memory/latest/weekly/store.ok index e69de29b..1e40bb67 100644 --- a/.scheduler-memory/latest/weekly/store.ok +++ b/.scheduler-memory/latest/weekly/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/.scheduler-memory/memory-store.json b/.scheduler-memory/memory-store.json index 0c946347..fb6168db 100644 --- a/.scheduler-memory/memory-store.json +++ b/.scheduler-memory/memory-store.json @@ -507,5 +507,56 @@ "merged_into": null, "pinned": false } + ], + [ + "73a7d367-18b2-4755-831b-9d46566cf8dd", + { + "schema_version": 1, + "id": "73a7d367-18b2-4755-831b-9d46566cf8dd", + "agent_id": "changelog-agent", + "session_id": "session-mm5ql8f7", + "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": 1772247813091, + "last_seen": 1772247813102, + "source": "scheduler-retrieve", + "ttl_days": null, + "merged_into": null, + "pinned": false + } + ], + [ + "844d3bd1-a719-49b3-b579-0973ae060825", + { + "schema_version": 1, + "id": "844d3bd1-a719-49b3-b579-0973ae060825", + "agent_id": "changelog-agent", + "session_id": "session-mm5qt2o5", + "type": "batch_window", + "content": "# Memory Update: changelog-agent run 2026-02-28\n\n## Learnings\n* The default branch is `beta`. `git log` should target `beta` instead of `main` when reading history for this repository.\n* A `CHANGELOG.md` file exists and we append changes. Since no existing release notes dir was found, I created `releases/draft-YYYYMMDD.md`.\n* We use `poetry run black .` for formatting tests properly, but I reverted the changes to `torch/scripts` formatting since they were not meant to be changed by this agent.", + "summary": "# Memory Update: changelog-agent run 2026-02-28\n\n## Learnings\n* The default branch is `beta`. `git log` should target `beta` instead of `main` when reading history for this repository.\n* A `CHANGELOG.md` file exists and we append changes. Since no existing release notes dir was …", + "tags": [ + "scheduler", + "weekly", + "store", + "insight" + ], + "importance": 0.8, + "embedding_id": null, + "created_at": 1772248178886, + "last_seen": 1772248178886, + "source": "agent-output", + "ttl_days": null, + "merged_into": null, + "pinned": false + } ] ] \ No newline at end of file diff --git a/.scheduler-memory/session-mm5ql8f7/retrieve.json b/.scheduler-memory/session-mm5ql8f7/retrieve.json new file mode 100644 index 00000000..d9933587 --- /dev/null +++ b/.scheduler-memory/session-mm5ql8f7/retrieve.json @@ -0,0 +1,18 @@ +{ + "cadence": "weekly", + "operation": "retrieve", + "runId": "session-mm5ql8f7", + "servicePath": "src/services/memory/index.js#getRelevantMemories", + "inputs": { + "agentId": "changelog-agent", + "promptPath": "torch/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" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mm5ql8f7/retrieve.ok b/.scheduler-memory/session-mm5ql8f7/retrieve.ok new file mode 100644 index 00000000..84b17199 --- /dev/null +++ b/.scheduler-memory/session-mm5ql8f7/retrieve.ok @@ -0,0 +1 @@ +MEMORY_RETRIEVED diff --git a/.scheduler-memory/session-mm5qt2o5/store.json b/.scheduler-memory/session-mm5qt2o5/store.json new file mode 100644 index 00000000..cc4c1cf6 --- /dev/null +++ b/.scheduler-memory/session-mm5qt2o5/store.json @@ -0,0 +1,20 @@ +{ + "cadence": "weekly", + "operation": "store", + "runId": "session-mm5qt2o5", + "servicePath": "src/services/memory/index.js#ingestEvents", + "inputs": { + "agentId": "changelog-agent", + "promptPath": "torch/src/prompts/weekly/changelog-agent.md", + "promptIntent": "Required startup + artifacts + memory + issue capture", + "events": 1, + "sourceFile": "memory-update.md" + }, + "outputs": { + "storedCount": 1, + "summaries": [ + "# Memory Update: changelog-agent run 2026-02-28\n\n## Learnings\n* The default branch is `beta`. `git log` should target `beta` instead of `main` when reading history for this repository.\n* A `CHANGELOG.md` file exists and we append changes. Since no existing release notes dir was …" + ] + }, + "status": "ok" +} \ No newline at end of file diff --git a/.scheduler-memory/session-mm5qt2o5/store.ok b/.scheduler-memory/session-mm5qt2o5/store.ok new file mode 100644 index 00000000..1e40bb67 --- /dev/null +++ b/.scheduler-memory/session-mm5qt2o5/store.ok @@ -0,0 +1 @@ +MEMORY_STORED diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b7a1a7c..abd5fe8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,3 +5,36 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - 2026-02-16 ### Added + +## [Unreleased] - 2026-02-28 + +### Added +- Added favicon and switched accent palette to green for landing page. +- Added comprehensive unit tests for `generate_fingerprint`. +- Added unit test for `StatsManager.reset` method. +- Added test to verify `atomic_write` cleanup on failure. +- Added test to verify `verify_checksum` behavior when file is missing. + +### Changed +- Refactored `modify_entry` to reduce complexity by using helper methods. +- Refactored entry menus to use generic `MenuHandler.run_menu`. +- Refactored GUI backend config to `constants.py`. +- Refactored `handle_add_*` methods to remove duplication. +- Refactored `Vault.load_index` into smaller private methods. +- Refactored `_enforce_complexity` in `password_generation.py`. +- Refactored `display_sensitive_entry_info` into `DisplayService`. +- Refactored `initialize_managers` in `PasswordManager` for better readability. +- Refactored imghdr compatibility hack to a dedicated compat module. + +### Fixed +- Fixed `test_ai_tui_agent_harness` on Windows platform skip handling. +- Removed unformatted `patch.py` from git history and repo. +- Fixed race condition in backup file permissions. +- Added pycryptodome dependency for PGP RSA features. +- Prevented arbitrary file overwrite in `backup_parent_seed`. +- Fixed legacy empty salt key derivation issues. +- Fixed index verification for TOTP in modify entry test. +- Fixed macOS build script and updated `requirements.lock`. + +### Performance +- Offloaded blocking `import_vault` operations to thread. diff --git a/memory-update.md b/memory-update.md index 3e576869..748f771a 100644 --- a/memory-update.md +++ b/memory-update.md @@ -1,13 +1,6 @@ -# Memory Update — bug-reproducer-agent — 2026-02-27 +# Memory Update: changelog-agent run 2026-02-28 -## Key findings -- The `scheduler-flow.md` script execution failed due to a missing runner (`codex`). -- The automated `bug-reproducer-agent` prompt execution failed. -- Fallback manual investigation identified one active issue: `BIP85 Non-Standard Derivation Path` (using `app_no=2` instead of standard). This is documented in `KNOWN_ISSUES.md`. - -## Patterns / reusable knowledge -- Future runs should verify the runner environment variables (`SCHEDULER_PROMPT_PATH`, `SCHEDULER_AGENT`, `SCHEDULER_CADENCE`) are set correctly before invoking `run-selected-prompt.mjs`. -- If the runner fails, manual fallback or alternative automation (e.g., Python script) is required. - -## Warnings / gotchas -- `torch/scripts/agent/run-selected-prompt.mjs` depends on an external runner (`codex` or similar) which may not be available in all environments. +## Learnings +* The default branch is `beta`. `git log` should target `beta` instead of `main` when reading history for this repository. +* A `CHANGELOG.md` file exists and we append changes. Since no existing release notes dir was found, I created `releases/draft-YYYYMMDD.md`. +* We use `poetry run black .` for formatting tests properly, but I reverted the changes to `torch/scripts` formatting since they were not meant to be changed by this agent. diff --git a/releases/draft-20260228.md b/releases/draft-20260228.md new file mode 100644 index 00000000..ac2b411c --- /dev/null +++ b/releases/draft-20260228.md @@ -0,0 +1,45 @@ +# Weekly Changelog: 2026-02-21 to 2026-02-28 + +## Highlights +* Re-enabled skip test logic for pty/termios on Windows (`test_ai_tui_agent_harness`). +* Simplified GUI backend config handling by refactoring it to `constants.py`. +* Fixed arbitrary file overwrite vulnerability in backup processing. +* Reduced code complexity and redundancy across multiple entry management modules. +* Assorted test reliability fixes and CI updates. + +## Changed +* Refactored `modify_entry` to reduce complexity by using helper methods (96afc4a) +* Refactored entry menus to use generic `MenuHandler.run_menu` (a1b459f) +* Refactored GUI backend config to `constants.py` (9e08e50) +* Refactored `handle_add_*` methods to remove duplication (4ebc14e) +* Refactored `Vault.load_index` into smaller private methods (e6ff619) +* Refactored `_enforce_complexity` in `password_generation.py` (a6856c1) +* Refactored `display_sensitive_entry_info` into `DisplayService` (40f37b3) +* Refactored `initialize_managers` in `PasswordManager` for better readability (24fa2e8) +* Refactored imghdr compatibility hack to a dedicated compat module (f9023e8) + +## Fixed +* `test_ai_tui_agent_harness` on Windows platform skip handling (4b15596, a4fb4c2, b8da933, f7eb3a3, 596b491, ee7cde1) +* Removed unformatted `patch.py` from git history and repo (f39669a) +* Race condition in backup file permissions (bee0d62) +* Added pycryptodome dependency for PGP RSA features (1dc98a3) +* Prevented arbitrary file overwrite in `backup_parent_seed` (39f552d) +* Fixed legacy empty salt key derivation issues (b5a3215) +* Fixed index verification for TOTP in modify entry test (29b955c) +* Fixed macOS build script and updated `requirements.lock` (b61386b) + +## Added +* Favicon and switched accent palette to green for landing page (e089574) +* Comprehensive unit tests for `generate_fingerprint` (6a921b8) +* Unit test for `StatsManager.reset` method (407dfee) +* Test to verify `atomic_write` cleanup on failure (566988b) +* Test to verify `verify_checksum` behavior when file is missing (00d19d9) + +## Performance +* Offloaded blocking `import_vault` operations to thread (cf9d473) + +## Potential breaking changes / migrations — needs review +* None explicitly detected in this timeframe. + +## Missing metadata +* *PR and author metadata are unavailable in the current environment and omitted.* diff --git a/torch/task-logs/weekly/2026-02-28T03-10-12Z__changelog-agent__completed.md b/torch/task-logs/weekly/2026-02-28T03-10-12Z__changelog-agent__completed.md new file mode 100644 index 00000000..ce2ef99b --- /dev/null +++ b/torch/task-logs/weekly/2026-02-28T03-10-12Z__changelog-agent__completed.md @@ -0,0 +1,13 @@ +--- +agent: changelog-agent +cadence: weekly +status: completed +timestamp: 2026-02-28T03-10-12Z +--- + +# changelog-agent completed + +Learnings: +- The default branch is beta. git log should target beta instead of main when reading history for this repository. +- A CHANGELOG.md file exists and we append changes. Since no existing release notes dir was found, I created releases/draft-YYYYMMDD.md. +- We use poetry run black . for formatting tests properly, but I reverted the changes to torch/scripts formatting since they were not meant to be changed by this agent.