Commit Graph
579 Commits
Author SHA1 Message Date
thePR0M3TH3AN 93cf78b2c8 tui2: default profiles online and add phase4 inspector boards 2026-03-02 10:11:56 -05:00
thePR0M3TH3AN 8f7075c39b tui2: add onboarding flow and session parity affordances 2026-03-02 09:44:25 -05:00
thePR0M3TH3AN 5c524b2086 tui2: add quickstart and stats parity UX flows 2026-03-02 09:31:56 -05:00
thePR0M3TH3AN 3f0d4a8d89 tui2: add full in-app palette command reference 2026-03-02 09:20:04 -05:00
thePR0M3TH3AN 45cd27ea4f tests: add deterministic nostr sync failure-mode coverage 2026-03-02 09:06:26 -05:00
thePR0M3TH3AN b77c887446 ci: enforce tui2 and core api coverage thresholds 2026-03-02 09:03:53 -05:00
thePR0M3TH3AN 99b6f77e2b tui2: add dedicated npub palette command parity 2026-03-02 08:54:45 -05:00
thePR0M3TH3AN 37242294ed tui2: add archived scope filter parity and tests 2026-03-02 08:43:46 -05:00
thePR0M3TH3AN 75286cca50 tui2: add nostr maintenance parity commands and tests 2026-03-02 08:33:58 -05:00
thePR0M3TH3AN 924f32fefc tui2: add managed account session commands and parity matrix 2026-03-02 08:30:59 -05:00
thePR0M3TH3AN 44784a950a tests: cover keyboard reveal/qr flow for managed accounts 2026-03-02 08:10:59 -05:00
thePR0M3TH3AN 6984f067d6 Merge pull request #974 from PR0M3TH3AN/agents/daily/content-audit-agent-fix-15836279461289330349
Execute daily content-audit-agent job and update docs/memory
2026-03-02 07:42:42 -05:00
thePR0M3TH3AN 26b9b6d31f tui2: fix selection sync and sensitive panel UX glitches 2026-03-01 21:27:40 -05:00
thePR0M3TH3AN 367cad6a04 tui2: complete parity phases with settings/relay tools and CI smoke 2026-03-01 20:36:04 -05:00
google-labs-jules[bot]andPR0M3TH3AN 12a3357943 test(cli): fix approval/lease/identity revoke test flakiness
- 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]>
2026-03-01 23:58:53 +00:00
google-labs-jules[bot]andPR0M3TH3AN 293e1ea4b2 test(cli): fix typer argument parsing and scratchpad pollution
- 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]>
2026-03-01 23:40:38 +00:00
thePR0M3TH3AN 176d12d9ae Add KB scale stress tests and launch mode docs 2026-03-01 18:33:11 -05:00
thePR0M3TH3AN 9d1160f281 Add explicit legacy CLI launcher command 2026-03-01 18:23:22 -05:00
thePR0M3TH3AN 92f17355ad Advance TUI v2 parity with reveal/QR and landing theme 2026-03-01 18:20:57 -05:00
google-labs-jules[bot]andPR0M3TH3AN c933bcd43f test(cli): fix windows path assertions in export endpoints
- 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]>
2026-03-01 23:04:25 +00:00
thePR0M3TH3AN f02b360062 Fix beta TUI startup preflight and installer fallback hints 2026-03-01 17:47:17 -05:00
thePR0M3TH3AN 3470fd6aac Strengthen determinism gates and add TUI v2 agent testing workflow 2026-03-01 17:35:39 -05:00
thePR0M3TH3AN e667249ec4 Improve TUI v2 UX with help overlay and pane focus 2026-03-01 16:55:39 -05:00
thePR0M3TH3AN e3c117110a Switch default interactive CLI routing to TUI v2 2026-03-01 16:46:08 -05:00
thePR0M3TH3AN 5f0dbe82af Add TUI v2 parity scenarios and align help hints 2026-03-01 16:44:07 -05:00
thePR0M3TH3AN 733a70c16f Add CI-like large-vault validation for TUI v2 2026-03-01 16:39:35 -05:00
thePR0M3TH3AN eba7ff3353 Add Textual pilot tests for TUI v2 workflows 2026-03-01 16:27:55 -05:00
thePR0M3TH3AN 7a1768f349 Add testable TUI v2 helper layer and unit coverage 2026-03-01 16:24:55 -05:00
thePR0M3TH3AN 4113bd1282 Implement TUI v2 phase 1 read-only shell 2026-03-01 16:06:39 -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 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
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 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 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 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