Commit Graph
1963 Commits
Author SHA1 Message Date
thePR0M3TH3AN 0cc36bc3f2 Merge pull request #913 from PR0M3TH3AN/refactor-imghdr-compat-16272458806887022852
🧹 Refactor imghdr compatibility hack to dedicated compat module
2026-02-26 12:25:06 -05:00
google-labs-jules[bot]andPR0M3TH3AN f9023e8f5f Refactor imghdr compatibility hack to a dedicated compat module
Moved the imghdr compatibility shim from `src/seedpass/core/password_generation.py`
to a new `src/seedpass/core/compat.py` module. This improves code
cleanliness and separates concerns by centralizing Python version
compatibility logic.

The shim ensures that `imghdr` is available in `sys.modules` (using
`utils.imghdr_stub` as a fallback for Python 3.13+) so that dependencies
like `pgpy` can function correctly.

Verified the change by:
- Confirming `compat.py` correctly populates `sys.modules["imghdr"]`.
- Verifying `password_generation.py` imports correctly and triggers the shim.
- Ensuring syntax correctness via `py_compile`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 17:23:37 +00:00
thePR0M3TH3AN 249edf6753 Merge pull request #912 from PR0M3TH3AN/fix-totp-index-verification-test-13868609691641482932
Verify Index for TOTP in Modify Entry Test
2026-02-26 12:21:29 -05:00
google-labs-jules[bot]andPR0M3TH3AN 29b955c913 Fix index verification for TOTP in modify entry test
The test `test_modify_entry_invalid_fields` was hardcoding `index = 0` for TOTP entries because `add_totp` returns a URI string instead of an index.

This change unifies the index determination logic by calling `entry_manager.get_next_index()` before adding the entry. This ensures the correct index is verified for all entry types, including TOTP.

Modified:
- src/tests/test_modify_entry_validation.py: Use get_next_index() for dynamic index determination.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 17:21:02 +00:00
thePR0M3TH3AN 617a1392e9 Merge pull request #911 from PR0M3TH3AN/test-verify-checksum-missing-11153863616723449107
🧪 [testing improvement] Verify verify_checksum behavior when file is missing
2026-02-26 12:20:18 -05:00
google-labs-jules[bot]andPR0M3TH3AN 00d19d90f7 test: verify verify_checksum behavior when file is missing
Added a new test case `test_verify_checksum_missing` to `src/tests/test_checksum_utils.py` to ensure that `verify_checksum` correctly raises `FileNotFoundError` and logs an appropriate error message when the checksum file does not exist. This improves diagnostic reliability for checksum verification failures.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 17:13:53 +00:00
thePR0M3TH3AN 88781479aa chore(backups): add torch backup snapshot 2026-02-26T13-45-30-661Z 2026-02-26 08:48:36 -05:00
thePR0M3TH3AN ae399e2a0d fix(torch): handle self-copy update paths and record bitvid context note 2026-02-26 08:48:03 -05:00
thePR0M3TH3AN 75632cb780 chore(torch): update TORCH and rotate memory update 2026-02-26 08:34:19 -05:00
thePR0M3TH3AN 73068dba73 Merge pull request #910 from PR0M3TH3AN/agents/daily/protocol-research-agent-1628573958005058735
protocol-research-agent: Create Protocol Inventory & Compliance Report
2026-02-26 08:11:04 -05:00
thePR0M3TH3AN df0ed4f1a9 Merge branch 'beta' into agents/daily/protocol-research-agent-1628573958005058735 2026-02-26 08:10:55 -05:00
thePR0M3TH3AN ae2b863e69 Merge pull request #908 from PR0M3TH3AN/agents/daily/onboarding-audit-agent-8897219026798356218
Scheduler run: onboarding-audit-agent (daily)
2026-02-26 08:10:21 -05:00
thePR0M3TH3AN 056f12eb43 Merge branch 'beta' into agents/daily/onboarding-audit-agent-8897219026798356218 2026-02-26 08:10:12 -05:00
thePR0M3TH3AN a610fc2621 Merge pull request #909 from PR0M3TH3AN/agents/daily/perf-agent-1052491488505199855
perf-agent: Initial baseline and setup
2026-02-26 08:09:36 -05:00
thePR0M3TH3AN 1b10686146 Merge branch 'beta' into agents/daily/perf-agent-1052491488505199855 2026-02-26 08:09:22 -05:00
google-labs-jules[bot]andPR0M3TH3AN f13afb8dec Fix infinite loop in profile management test with robust input mocking
- Update `src/tests/test_profile_management.py` to use a more robust `input` mock iterator.
- Mock returns fallback "y" responses after the initial choice ("3") to break any potential infinite loops in `confirm_action` if mocking fails or module reloading interferes.
- Addresses `OSError` and timeout on Windows CI caused by interactive prompt loops.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:34:18 +00:00
google-labs-jules[bot]andPR0M3TH3AN d2052904c5 Fix Windows CI failure in test_profile_management.py
Replace unsafe module reloading with explicit monkeypatching of constants.
This prevents potential OSError: [Errno 22] Invalid argument on Windows
during TemporaryDirectory cleanup or test execution when modules are reloaded
in a way that affects global state or file handles.

Also ensured `pm.fingerprint_manager` is initialized using the monkeypatched
`APP_DIR` from the manager module context to guarantee it operates within
the temporary directory context and aligns with the mocked constants.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:24:23 +00:00
google-labs-jules[bot]andPR0M3TH3AN d3264adddc Fix Windows CI failure in test_profile_management.py
Patched `masked_input` in `utils.password_prompt` to bypass `msvcrt.getwch()` usage during tests, preventing `OSError: [Errno 22] Invalid argument` in non-interactive CI environments.
Ensured the test logic relies on the mocked `builtins.input` as intended.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:23:25 +00:00
google-labs-jules[bot]andPR0M3TH3AN e20dfc55e9 Fix formatting and infinite loop in profile management test
- Run `black` on `src/tests/test_profile_management.py`.
- Mock `utils.password_prompt.confirm_action` to prevent infinite recursion during reload.
- Use an iterator for `input` mock to prevent infinite loops.
- Add docstring to test function.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:22:59 +00:00
google-labs-jules[bot]andPR0M3TH3AN 02c31cb9fc Fix formatting in profile management test
- Run `black` on `src/tests/test_profile_management.py` to fix CI failure.
- Remove unused `Vault` import and suppress `E402` lint errors.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:07:33 +00:00
google-labs-jules[bot]andPR0M3TH3AN 65912b611a perf-agent: Fix formatting and CI failures
Re-formatted `src/tests/test_profile_management.py` and `perf/perf_agent.py` to address persistent CI check failures.
Ensured test isolation uses robust monkeypatching.

- Formatted perf/perf_agent.py
- Formatted src/tests/test_profile_management.py

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:05:36 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3a95fb72d8 perf-agent: Fix formatting and Windows test failures
Formatted `src/tests/test_profile_management.py` and `perf/perf_agent.py` to fix CI failure.
Replaced `importlib.reload` with robust `monkeypatch.setattr` in `src/tests/test_profile_management.py` to resolve Windows `OSError`.

- Formatted perf/perf_agent.py
- Formatted src/tests/test_profile_management.py
- Updated src/tests/test_profile_management.py to use safe test isolation pattern

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:03:39 +00:00
google-labs-jules[bot]andPR0M3TH3AN e748b6bf27 Fix Windows CI failure in test_profile_management.py
Replace unsafe module reloading with explicit monkeypatching of constants.
This prevents potential OSError: [Errno 22] Invalid argument on Windows
during TemporaryDirectory cleanup or test execution when modules are reloaded
in a way that affects global state or file handles.

Also ensured `pm.fingerprint_manager` is initialized using the monkeypatched
`APP_DIR` to guarantee it operates within the temporary directory context.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 09:03:34 +00:00
google-labs-jules[bot]andPR0M3TH3AN d6794bf892 Fix infinite loop in profile management test
- Mock `utils.password_prompt.confirm_action` explicitly in `src/tests/test_profile_management.py` to prevent infinite recursion during `manager_module` reload.
- Use an iterator for `builtins.input` mock to prevent infinite loops if logic fails.
- Fixes CI timeout and crash on Windows caused by `confirm_action` repeatedly asking for input.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 08:56:53 +00:00
google-labs-jules[bot]andPR0M3TH3AN a7efb62c58 perf-agent: Fix formatting and tests
Formatted `perf/perf_agent.py` with black to fix CI `Check formatting` failure.
Ensured `src/tests/test_profile_management.py` uses correct monkeypatching to fix Windows CI `OSError`.

- Formatted perf/perf_agent.py
- Updated src/tests/test_profile_management.py

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 08:55:08 +00:00
google-labs-jules[bot]andPR0M3TH3AN 178f6d7fe9 perf-agent: Initial baseline and fix CI failure
Executed perf-agent daily run. Established performance baseline, set up reporting structure, and ran initial search patterns (0 hits found for JS patterns in Python-centric codebase).

Fixed CI failure in `src/tests/test_profile_management.py` by replacing `importlib.reload` with robust `monkeypatch.setattr` for `APP_DIR` and checksum files, resolving `OSError` on Windows during testing.

- Added perf/perf_agent.py tool script.
- Added reports/performance/INITIAL_BASELINE.md and daily-perf-report-2026-02-26.md.
- Added src/context/CONTEXT_2026-02-26T02-59-27Z.md.
- Modified src/tests/test_profile_management.py to fix test isolation.
- Updated .scheduler-memory/memory-store.json and memories.md.
- Added .scheduler-memory/session-*/ logs.
- Added torch/task-logs/daily/2026-02-26T03-02-16Z__perf-agent__completed.md.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 03:59:19 +00:00
google-labs-jules[bot]andPR0M3TH3AN ffe80e5b4d Fix Windows CI failure in test_profile_management.py
Replace unsafe module reloading with explicit monkeypatching of constants.
This prevents potential OSError: [Errno 22] Invalid argument on Windows
during TemporaryDirectory cleanup or test execution when modules are reloaded
in a way that affects global state or file handles.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 03:30:39 +00:00
google-labs-jules[bot]andPR0M3TH3AN d8720e83f5 protocol-research-agent: Create Protocol Inventory & Compliance Report
- Add PROTOCOL_INVENTORY.md
- Add reports/protocol/protocol-report-2026-02-26.md
- Add src/tests/test_bip85_compliance.py
- Update KNOWN_ISSUES.md
- Update memory-update.md
- Add torch/task-logs/daily/2026-02-26T03-14-42Z__protocol-research-agent__completed.md

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 03:16:39 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3e03a56844 perf-agent: Initial baseline and setup
Executed perf-agent daily run. Established performance baseline, set up reporting structure, and ran initial search patterns (0 hits found for JS patterns in Python-centric codebase). Added perf-agent tool script.

- Added perf/perf_agent.py tool script.
- Added reports/performance/INITIAL_BASELINE.md and daily-perf-report-2026-02-26.md.
- Added src/context/CONTEXT_2026-02-26T02-59-27Z.md.
- Updated .scheduler-memory/memory-store.json and memories.md.
- Added .scheduler-memory/session-*/ logs.
- Added torch/task-logs/daily/2026-02-26T03-02-16Z__perf-agent__completed.md.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 03:07:46 +00:00
google-labs-jules[bot]andPR0M3TH3AN af32d2844c Scheduler run: onboarding-audit-agent (daily)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 03:03:05 +00:00
thePR0M3TH3AN 967c90bfa2 update 2026-02-25 22:01:22 -05:00
thePR0M3TH3AN 0ffdaf4b09 docs: align development docs with current code behavior 2026-02-25 21:45:14 -05:00
thePR0M3TH3AN 073b1065ca Handle unlock cancellation messages robustly in settings flow 2026-02-25 21:35:33 -05:00
thePR0M3TH3AN 882cd060fa Fix Python 3.10 compatibility for UTC timezone usage 2026-02-25 21:26:32 -05:00
thePR0M3TH3AN c25d1df78d Format files to satisfy CI black check 2026-02-25 21:22:39 -05:00
thePR0M3TH3AN de3bb0e2dd Regenerate poetry.lock to match pyproject for CI tests 2026-02-25 21:21:06 -05:00
thePR0M3TH3AN f6d7785803 Handle pip-audit advisory alias in CI workflows 2026-02-25 21:18:41 -05:00
thePR0M3TH3AN aa1658d224 Fix memory note formatting after append error 2026-02-25 21:16:14 -05:00
thePR0M3TH3AN b48545dab9 Restore memory log and append CI cache fix note 2026-02-25 21:16:05 -05:00
thePR0M3TH3AN b24247dce5 Fix CI bootstrap by switching tests workflow cache to pip 2026-02-25 21:15:55 -05:00
thePR0M3TH3AN df0f5a1c0f Update TORCH to 1e3f88e and validate Windows-safe paths 2026-02-25 21:09:49 -05:00
thePR0M3TH3AN ca9eb12f5d Fix Windows checkout by removing colon-named TORCH artifacts 2026-02-25 21:07:48 -05:00
thePR0M3TH3AN d872874753 Update coverage artifact after full test run 2026-02-25 20:58:05 -05:00
thePR0M3TH3AN 0f8a54342c Fix profile setup edge cases and TOTP viewer refresh 2026-02-25 20:57:29 -05:00
thePR0M3TH3AN 45550ebb6b Fix installer dependency resolution and refresh lockfile 2026-02-25 20:38:46 -05:00
thePR0M3TH3AN 4cb411c1f3 Add landing page branch toggle for install commands 2026-02-25 19:22:51 -05:00
thePR0M3TH3AN 88c1974ac6 Harden TUI recovery paths and add release integrity gates 2026-02-25 19:18:54 -05:00
thePR0M3TH3AN 1b0d11146e Replace Archivox docs README with SeedPass docs index 2026-02-25 18:36:38 -05:00
thePR0M3TH3AN 72e6e3ba38 Close security item 6 with unlock throttling and policy gates 2026-02-25 18:32:06 -05:00
thePR0M3TH3AN 73a175b93f Harden item 6 API route access controls while locked 2026-02-25 18:29:02 -05:00