Commit Graph
824 Commits
Author SHA1 Message Date
thePR0M3TH3AN ec0d77d3e6 Add TUI v2 parity checklist and large-vault pagination 2026-03-01 16:17:42 -05:00
thePR0M3TH3AN 6478987254 Add relation filters and link traversal to TUI v2 2026-03-01 16:15:03 -05:00
thePR0M3TH3AN 437254b5bb Add TUI v2 command palette and graph links panel 2026-03-01 16:13:09 -05:00
thePR0M3TH3AN 403c09a806 Add TUI v2 phase 2 document edit and archive actions 2026-03-01 16:09:46 -05:00
thePR0M3TH3AN 4113bd1282 Implement TUI v2 phase 1 read-only shell 2026-03-01 16:06:39 -05:00
thePR0M3TH3AN 8d3d2a3993 Add TUI v2 scaffold, plan docs, and discovery command hints 2026-03-01 16:03:04 -05:00
thePR0M3TH3AN d0ea0d96f6 Add document workflows, entry graph links, and discovery/docs updates 2026-03-01 15:43:43 -05:00
thePR0M3TH3AN 64efd1175d Improve Nostr sync failure messaging for offline mode 2026-03-01 01:31:08 -05:00
thePR0M3TH3AN b9d6c0d49d Add Nostr sync reset/fresh namespace workflow and docs 2026-03-01 01:24:33 -05:00
thePR0M3TH3AN 24aa3f12a2 Merge branch 'beta'
# Conflicts:
#	memory-update.md
#	torch/_backups/backup_2026-02-26T13-45-30-661Z/scripts/find_dead_code.py
2026-03-01 01:02:55 -05:00
thePR0M3TH3AN 68cb1169e3 Add agent autonomy controls, docs updates, and landing page agent section 2026-03-01 01:02:11 -05:00
thePR0M3TH3AN baaaa25e45 Merge pull request #958 from PR0M3TH3AN/test-audit-agent-daily-run-15521316835403864428
refactor: improve test determinism by removing time.sleep
2026-02-28 22:37:27 -05:00
thePR0M3TH3AN 79872a343a Merge branch 'beta' into agents/daily/const-refactor-agent-6148832155416611801 2026-02-28 22:36:34 -05:00
thePR0M3TH3AN 1b14291a6e Merge branch 'beta' into agents/daily/audit-agent-2969675987751687080 2026-02-28 22:35:07 -05:00
thePR0M3TH3AN fe96ccd7c7 Add agent security controls, broker auth, and capability discovery 2026-02-28 22:32:38 -05:00
google-labs-jules[bot]andPR0M3TH3AN 6e916fdb69 refactor: format refactored tests with black to fix CI
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]>
2026-03-01 03:09:02 +00:00
google-labs-jules[bot]andPR0M3TH3AN e1400f32a5 refactor: improve test determinism by removing time.sleep
Replaced non-deterministic `time.sleep` calls with active polling loops or
thread joins in `src/tests/` to improve test determinism and reliability.
Modified `test_unlock_sync.py`, `test_nostr_sdk_workflow.py`,
`test_background_relay_check.py`, `test_offline_mode_behavior.py`, and
`test_nostr_index_size.py`.
Generated integrity and audit reports in `reports/test-audit/`.
Completed the scheduler rotation by publishing completion logic and
task log file to `torch/task-logs/daily/`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-03-01 02:59:43 +00:00
thePR0M3TH3AN 65d9f916d2 Merge branch 'beta' into agents/daily/audit-agent-17254275400947240958 2026-02-28 13:44:45 -05:00
thePR0M3TH3AN 3cd919eead Merge branch 'beta' into content-audit-agent-fixes-3621733322784994394 2026-02-28 13:44:08 -05:00
thePR0M3TH3AN 916bec7653 Merge pull request #950 from PR0M3TH3AN/agents/weekly/changelog-agent-12990813539484632705
docs(ai): weekly changelog draft
2026-02-28 13:42:55 -05:00
google-labs-jules[bot]andPR0M3TH3AN 6db570f2a7 test: gracefully skip test_ai_tui_agent_harness on Windows
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-28 03:32:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN a3b8a91977 fix(test): Skip pty and termios tests on Windows
- Added `pytest.importorskip` calls for `pty` and `termios` to `src/tests/test_ai_tui_agent_harness.py`.
- Formatted `torch/scripts/test-audit/run_python_static_analysis.py` and `torch/scripts/test-audit/run_python_flaky_check.py` using `black`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-28 02:05:31 +00:00
google-labs-jules[bot]andPR0M3TH3AN 228cdee71e chore: Daily ci-health-agent execution
- Executed daily scheduler logic for ci-health-agent.
- Generated flake report artifacts/ci-flakes-<date>.md
- Updated context, decisions, test_logs, and todo.
- Recorded memory retrieve/store artifacts.
- Created task completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-28 01:51:47 +00:00
google-labs-jules[bot]andPR0M3TH3AN a4fb4c24ed fix(tests): skip pty/termios tests on non-unix systems
Added pytest.importorskip calls for 'pty' and 'termios' modules in
test_ai_tui_agent_harness.py to fix test failures on Windows where
these modules are unavailable.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-28 00:46:37 +00:00
google-labs-jules[bot]andPR0M3TH3AN b8da933fb7 fix: skip pty and termios on windows for test_ai_tui_agent_harness.py
Added `pytest.importorskip("pty")` and `pytest.importorskip("termios")` before `_load_harness_module()` call to properly skip `test_ai_tui_agent_harness.py` on Windows environments where these modules are not available. This prevents the `ModuleNotFoundError: No module named 'termios'` error during pytest collection.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-28 00:07:54 +00:00
google-labs-jules[bot]andPR0M3TH3AN d8e854b07e fix: content-audit-agent docs links and write completion task log
Fixed broken documentation links pointing to non-existent \`docs/agent-handoffs/learnings\`
and \`docs/prompt-versioning.md\` files in \`TORCH.md\` and \`scheduler-lock.mjs\`.
Completed memory storage/retrieval steps and finalized the scheduler loop by
writing the required \`_completed.md\` task log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 23:49:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN 596b4912ea fix: conditionally skip test_ai_tui_agent_harness on Windows
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 21:26:56 +00:00
google-labs-jules[bot]andPR0M3TH3AN 5195063444 [constants] extract numeric literals to domain constants in memory service
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 21:17:24 +00:00
google-labs-jules[bot]andPR0M3TH3AN ee7cde10f8 Fix Windows CI failure in AI TUI agent tests
- Skip `src/tests/test_ai_tui_agent_harness.py` on Windows to avoid `ImportError` due to missing `termios`/`pty` modules.
- Ensure the harness module is only loaded if the skip condition is not met.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 19:16:52 +00:00
google-labs-jules[bot]andPR0M3TH3AN 9303558efe Execute audit-agent via daily scheduler
- Install `torch/` dependencies for host-repo mode
- Acquire daily lock for `audit-agent`
- Run memory retrieval and storage cycles
- Execute audit scripts (file size, innerHTML, lint)
- Generate audit reports and artifacts
- Publish task completion log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 19:00:30 +00:00
google-labs-jules[bot]andPR0M3TH3AN 4ba2581eff style: reformat src/tests/conftest.py with black
- Formatted `src/tests/conftest.py` using `black` to fix CI formatting failures.
- This change ensures compliance with the repository's strict formatting checks (`poetry run black --check .`).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 03:55:13 +00:00
google-labs-jules[bot]andPR0M3TH3AN d84363ef83 style: fix formatting in src/tests/conftest.py
- Manually applied PEP 8 formatting (sorted imports, correct spacing) to `src/tests/conftest.py` to satisfy `poetry run black --check .` in CI.
- Retained the robust `try-import-except` logic for `trio` detection.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 03:43:38 +00:00
google-labs-jules[bot]andPR0M3TH3AN 7295807013 fix: resolve CI failures in trio tests and GUI/CLI test pollution
- Made `trio` backend detection in `src/tests/conftest.py` robust by using `try-import-except` instead of `find_spec`, fixing `ModuleNotFoundError` in environments where `find_spec` behavior differs or trio is partially present but not importable.
- Prevented test pollution in `src/tests/test_gui_features.py` by adding `try...finally` block to unsubscribe `refresh_codes` from the global `bus`, ensuring subsequent CLI tests (like `test_nostr_sync`) don't crash due to lingering callbacks.
- Hardened `src/seedpass_gui/app.py` against test-induced errors:
    - `TotpViewerWindow.refresh_codes` now accepts `*args, **kwargs` to safely ignore event arguments if called via subscription.
    - `MainWindow.vault_locked` catches `ValueError` when closing, handling cases where the window is already detached in test environments.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 03:32:38 +00:00
google-labs-jules[bot]andPR0M3TH3AN 5767742050 fix: restore conftest.py and clean pubsub
- Restored `src/tests/conftest.py` from `.bak` to fix missing `trio` conditional check, resolving `ModuleNotFoundError: No module named 'trio'`.
- Added `clean_pubsub` autouse fixture to `conftest.py` to clear the global `bus` subscribers between tests. This prevents test pollution that was causing `TypeError` in CLI tests and `ValueError` in GUI tests due to lingering callbacks.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 03:22:41 +00:00
thePR0M3TH3AN 7dc80ed50f Merge branch 'beta' into agents/daily/style-agent-3237388057797561077 2026-02-26 21:36:11 -05:00
thePR0M3TH3AN b414f797d9 Merge branch 'beta' into agents/daily/test-audit-agent-9196356756711804853 2026-02-26 21:33:27 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8495df0910 test(ci): mock masked_input in profile management test
Fixes `OSError: [Errno 22] Invalid argument` in Windows CI runs by mocking
`utils.password_prompt.masked_input` in `test_add_and_delete_entry`. This prevents
`msvcrt.getwch()` from being called in non-interactive environments when
`PasswordManager.add_new_fingerprint` requests a password/seed.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 00:45:49 +00:00
google-labs-jules[bot]andPR0M3TH3AN 5e9ff2ab8f chore(style-agent): format code and update task logs
- Ran `black .` to reformat Python files:
  - src/seedpass/core/display_service.py
  - src/seedpass/core/manager.py
  - src/seedpass/core/password_generation.py
  - src/tests/test_stats_manager.py
  - test_atomic_write_perms.py
- Verified with `pytest` (766 passed) and `npm run lint`.
- Updated `.scheduler-memory/latest/daily/memories.md` with execution details.
- Added daily task log: `torch/task-logs/daily/2026-02-27T...__style-agent__completed.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 00:14:18 +00:00
google-labs-jules[bot]andPR0M3TH3AN b891787a92 Fix: Monkeypatch masked_input in test_profile_management to prevent Windows CI crash
- Explicitly mocks `utils.seed_prompt.masked_input`, `seedpass.core.manager.masked_input`, and `utils.password_prompt.masked_input` in `test_add_and_delete_entry`.
- This prevents `msvcrt.getwch()` from being called in non-interactive CI environments on Windows, which was causing `OSError: [Errno 22] Invalid argument`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-27 00:03:47 +00:00
google-labs-jules[bot]andPR0M3TH3AN 198ed4e440 chore(ai): format sources (style-agent)
Reformatted 5 Python files using black and verified linting for Node.js sources. No functional changes.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 22:20:16 +00:00
thePR0M3TH3AN 4459dfea78 Fix display service input hooks and clean pytest warnings 2026-02-26 15:45:55 -05:00
thePR0M3TH3AN 44a5afa99b Merge pull request #928 from PR0M3TH3AN/refactor/gui-backend-constants-18119685441517758660
Refactor GUI backend configuration to constants
2026-02-26 14:37:14 -05:00
thePR0M3TH3AN 53dcbb72c6 Merge pull request #929 from PR0M3TH3AN/refactor-menu-handler-generic-8639963642107346
Refactor entry menus to use generic `MenuHandler.run_menu`
2026-02-26 14:37:03 -05:00
thePR0M3TH3AN ca1b371e85 Merge pull request #930 from PR0M3TH3AN/refactor/password-complexity-4748189869193669602
🧹 Refactor _enforce_complexity for better maintainability
2026-02-26 14:36:49 -05:00
thePR0M3TH3AN 9a8c68dc81 Merge pull request #926 from PR0M3TH3AN/refactor/handle-add-methods-duplication-16655045915046682728
Refactor handle_add_* methods in manager.py to remove duplication
2026-02-26 14:36:12 -05:00
thePR0M3TH3AN 1c4ccb0bcb Merge pull request #925 from PR0M3TH3AN/fix/pycryptodome-dependency-10448946637332491323
🔒 Fix missing pycryptodome dependency for PGP features
2026-02-26 14:35:56 -05:00
thePR0M3TH3AN b680e1dfa5 Merge pull request #924 from PR0M3TH3AN/test-fingerprint-edge-cases-17056355250998203024
🧪 Add edge case tests for generate_fingerprint
2026-02-26 14:35:44 -05:00
thePR0M3TH3AN 9408a64c1c Merge pull request #921 from PR0M3TH3AN/fix-backup-seed-overwrite-3580566875642074998
🔒 Fix Arbitrary File Overwrite in backup_parent_seed
2026-02-26 14:34:32 -05:00
thePR0M3TH3AN 11f61cec4c Merge pull request #919 from PR0M3TH3AN/code-health-display-service-3270220411041344632
🧹 Refactor display logic to DisplayService
2026-02-26 14:33:22 -05:00
thePR0M3TH3AN 7a74a3d77d Merge pull request #918 from PR0M3TH3AN/refactor-initialize-managers-2379820850270818796
Refactor initialize_managers in PasswordManager
2026-02-26 14:33:05 -05:00