Commit Graph
1832 Commits
Author SHA1 Message Date
thePR0M3TH3AN dd7290e83b Add robust AI TUI harness, docs roadmap, and lock/unlock fix 2026-02-23 14:35:40 -05:00
thePR0M3TH3AN 60d9df5489 Merge pull request #894 from PR0M3TH3AN/agents/daily/ci-health-agent-run-2026-02-19-15950167682274624288
Execute ci-health-agent daily run
2026-02-19 16:42:54 -05:00
google-labs-jules[bot]andPR0M3TH3AN a8d626a915 chore(scheduler): Execute ci-health-agent daily run
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 21:40:32 +00:00
thePR0M3TH3AN bfb802a4dd Merge pull request #893 from PR0M3TH3AN/setup-torch-13657129509493820037
Install and Setup TORCH
2026-02-19 15:53:53 -05:00
google-labs-jules[bot]andPR0M3TH3AN 73c998e36e Fix CI failure by formatting torch/scripts/find_dead_code.py
- Formatted `torch/scripts/find_dead_code.py` with `black` to pass CI style checks.
- Added `torch/scripts/` and `torch/src/` to `.gitignore` to prevent future untracked files from being accidentally committed, but kept necessary files tracked.
- Addressed user question about CI failures and improved TORCH packaging suggestions.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 20:50:31 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8761455bd4 Install and setup TORCH in torch/ directory
- Added `torch-lock` dependency to `torch/package.json`
- Initialized TORCH structure using `cmdInit` (mocked interaction)
- Updated `torch/package.json` with TORCH CLI scripts (`lock:check`, `lock:lock`, etc.)
- Updated `torch/torch-config.json` with Nostr configuration
- Added `type: module` to `torch/package.json` to support ES modules
- Cleaned up extraneous directories (`test_logs`, `todo`, etc.) from initialization

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-19 20:16:19 +00:00
thePR0M3TH3AN 22cdb75b2b Merge pull request #891 from PR0M3TH3AN/agents/daily/bootstrap-torch-scheduler-9194672650426271720
Bootstrap Torch Scheduler and Daily Agent Workflow
2026-02-18 13:24:35 -05:00
google-labs-jules[bot]andPR0M3TH3AN 34ccc40531 Fix formatting and deprecation in scheduler
- Formatted `torch/scheduler.py` with `black` to pass CI linting.
- Replaced deprecated `datetime.datetime.utcnow()` with `datetime.datetime.now(datetime.timezone.utc)`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 17:05:35 +00:00
google-labs-jules[bot]andPR0M3TH3AN b2a267c50a Bootstrap torch environment and implement scheduler
- Created `torch/` directory structure.
- Created `torch/package.json` with locking and linting scripts.
- Created `torch/torch-config.json` with scheduler configuration.
- Created `torch/src/prompts/roster.json` and dummy prompts.
- Implemented `torch/scheduler.py` to handle daily agent execution flow:
    - Exclusion parsing
    - Round-robin selection
    - Locking with retry
    - Memory workflow (retrieve/store)
    - Validation (flake8)
    - Completion logging

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 17:01:38 +00:00
thePR0M3TH3AN 78cef9dfe7 removed torch 2026-02-18 10:41:45 -05:00
thePR0M3TH3AN 39d3b72e66 Merge pull request #889 from PR0M3TH3AN/opt-totp-cache-13978863474736758588
⚡ Optimize TOTP display loop by caching derived secrets
2026-02-18 10:23:09 -05:00
thePR0M3TH3AN 46d0690160 Merge pull request #866 from PR0M3TH3AN/torch-investigation-1170438085662974088
Answered questions about TORCH system
2026-02-18 10:20:36 -05:00
thePR0M3TH3AN a060b4fc61 Merge pull request #858 from PR0M3TH3AN/torch-install-test-9897678309148624992
feat: install TORCH and report findings
2026-02-18 10:20:20 -05:00
thePR0M3TH3AN 4640082dfe Merge branch 'beta' into torch-install-test-9897678309148624992 2026-02-18 09:54:44 -05:00
thePR0M3TH3AN 2d3bfe80ba Merge pull request #890 from PR0M3TH3AN/fix-code-quality-and-tests-6671300476435793261
Refactor test fixtures and fix linting issues
2026-02-18 09:26:58 -05:00
google-labs-jules[bot]andPR0M3TH3AN 49c4da7ff0 Fix CI formatting failure and linting issues
- Reformatted `src/tests/helpers.py`, `src/tests/test_generate_test_profile_sync.py`, `src/tests/test_manifest_id_privacy.py`, and `src/tests/test_restore_from_nostr_setup.py` using `black`.
- Refactored `src/tests/helpers.py` to fix dispersed imports and remove unused imports (`time`, `asyncio`), resolving `flake8` warnings.
- Split long lines in `src/tests/helpers.py` to improve readability and compliance with style guides.
- Verified formatting with `black --check .`.
- Verified all tests pass with `pytest`.
- Confirmed `flake8` errors related to line length in `helpers.py` are acceptable as CI does not enforce strict 79-char limit (using `black` defaults).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 04:05:16 +00:00
thePR0M3TH3AN 83df3eda57 Merge pull request #888 from PR0M3TH3AN/torch/verify-lint-5929546890394122651
Verify torch/src/ with lint
2026-02-17 22:45:48 -05:00
google-labs-jules[bot]andPR0M3TH3AN 878c13ffe8 Verify torch/src/ with lint and fix Windows CI
- Restore missing source files in `torch/src/` from `torch-lock` dependency.
- Setup ESLint in `torch/`.
- Fix linting issues in `src/lock-ops.mjs`, `src/lock-utils.mjs`, `src/ops.mjs`, `src/services/memory/embedder.js`.
- Fix missing crypto import in `src/services/memory/schema.js`.
- Rename `torch/src/todo/TODO_2026-02-15T01:03:31Z.md` to `torch/src/todo/TODO_2026-02-15T01-03-31Z.md` to fix Windows CI failure.
- Mark 'Verify with lint' as completed in `src/todo/TODO_2026-02-14T13-30-00Z.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 03:44:26 +00:00
google-labs-jules[bot]andPR0M3TH3AN 1f92fe7901 Refactor test fixtures and fix linting issues
- Moved `client` and `dummy_nostr_client` fixtures to `src/tests/conftest.py` to fix F811 redefinition errors and improve test organization.
- Introduced `make_dummy_nostr_client` factory fixture to support tests requiring multiple client instances.
- Updated all affected tests to use the new fixture pattern.
- Removed deprecated `is_flag=True` from Typer boolean options in CLI modules.
- Fixed F541 (f-string without placeholders) in `entry_management.py`.
- Fixed F841 (unused variable) in `manager.py`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 03:39:55 +00:00
google-labs-jules[bot]andPR0M3TH3AN b0c3a97ce3 perf: Cache derived TOTP secrets in display loops
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 03:39:51 +00:00
google-labs-jules[bot]andPR0M3TH3AN 22bb29f16f Verify torch/src/ with lint
- Restore missing source files in `torch/src/` from `torch-lock` dependency.
- Setup ESLint in `torch/`.
- Fix linting issues in `src/lock-ops.mjs`, `src/lock-utils.mjs`, `src/ops.mjs`, `src/services/memory/embedder.js`.
- Mark 'Verify with lint' as completed in `src/todo/TODO_2026-02-14T13-30-00Z.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 03:33:32 +00:00
thePR0M3TH3AN 8cdf1c523d Merge pull request #885 from PR0M3TH3AN/agent/ci-health-run-2026-02-17-fix-env-17308312763076254157
feat(ci): Record daily health check results
2026-02-17 13:11:08 -05:00
google-labs-jules[bot]andPR0M3TH3AN 551d02bfef feat(ci): Record daily health check results
- Added task log `2026-02-17T17-37-50Z__ci-health-agent__failed.md` indicating flake8 failures.
- Updated `torch/package-lock.json` to resolve integrity check failure for `torch-lock` dependency.
- Note: `pytest` passed successfully.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 17:42:06 +00:00
thePR0M3TH3AN c00e093bac Merge pull request #884 from PR0M3TH3AN/agents/daily/ci-health-agent-run-16804626004467532014
Bootstrap TORCH environment and run daily scheduler
2026-02-17 12:07:15 -05:00
google-labs-jules[bot]andPR0M3TH3AN a9cfb2bbec chore: bootstrap daily agent scheduler and execute ci-health-agent
Bootstrapped the TORCH agent environment by creating necessary configuration files (`torch/src/prompts/roster.json`, `torch/torch-config.json`, `torch/package.json`, `torch/src/prompts/daily/ci-health-agent.md`).

Executed the daily scheduler flow:
- Selected `ci-health-agent`.
- Acquired lock.
- Executed repository checks (`flake8`, `pytest`).
- Checks failed (style violations and config issue).
- Wrote failure log `torch/task-logs/daily/..._failed.md`.
- Did not complete lock.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 16:45:07 +00:00
thePR0M3TH3AN 98d30efc1e Merge pull request #881 from PR0M3TH3AN/test-api-services-18361836480733235045
Add tests for core API service classes
2026-02-16 13:20:11 -05:00
thePR0M3TH3AN c0e389925e Merge pull request #880 from PR0M3TH3AN/fix/docs-search-xss-13126955051571553901
Fix XSS in docs search highlighting
2026-02-16 13:19:46 -05:00
thePR0M3TH3AN 82b81aa79b Merge pull request #882 from PR0M3TH3AN/fix/scan-codebase-linting-12332732608299564025
Fix formatting and logic errors found during codebase scan
2026-02-16 13:19:33 -05:00
thePR0M3TH3AN 8e0a42a2f9 Merge pull request #883 from PR0M3TH3AN/fix/event-handler-cleanup-17003112404371712903
Clean up repo-context.txt removing phantom EventHandler
2026-02-16 13:19:19 -05:00
google-labs-jules[bot]andPR0M3TH3AN 1c5cf3e087 Fix formatting in test_core_api_services.py
Applied `black` formatting to `src/tests/test_core_api_services.py` to resolve CI linting failure.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 18:12:26 +00:00
google-labs-jules[bot]andPR0M3TH3AN 37f8b5acc2 Rename TODO file to be Windows compatible
- Rename `torch/src/todo/TODO_2026-02-16T11:47:38Z.md` to `torch/src/todo/TODO_2026-02-16T11-47-38Z.md`
- Removes colons from the filename to fix "invalid path" errors on Windows CI runners

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 18:12:11 +00:00
google-labs-jules[bot]andPR0M3TH3AN 60b850b5bb Clean up repo-context.txt removing phantom EventHandler
The file src/nostr/event_handler.py does not exist in the codebase, and EventHandler is not used in src/nostr/client.py.
However, src/repo-context.txt incorrectly contained references to this file and usage.
This change updates src/repo-context.txt to remove the hallucinated/outdated code references, aligning the documentation with the actual codebase state.
Attempts to remove unused imports in src/nostr/client.py were reverted as tests rely on monkeypatching them.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 18:10:45 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8e33f9c5e1 Fix formatting, linting, and logic errors from codebase scan
- Apply black formatting to 17 files.
- Fix F821 undefined name errors in:
  - src/main.py: Add missing `queue` import.
  - src/seedpass/core/encryption.py: Fix `JSONDecodeError` reference.
  - src/utils/__init__.py: Fix exception variable scope in fallback code.
  - src/utils/key_derivation.py: Add `TYPE_CHECKING` imports.
  - src/seedpass/core/config_manager.py: Add `TYPE_CHECKING` imports.
- Initialize torch environment and TODO file.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 18:09:48 +00:00
google-labs-jules[bot]andPR0M3TH3AN fe4344c21a Add comprehensive tests for core API service classes
Added `src/tests/test_core_api_services.py` to test public methods of
`VaultService`, `ProfileService`, `SyncService`, `EntryService`,
`ConfigService`, `UtilityService`, and `NostrService` in `src/seedpass/core/api.py`.

These tests ensure proper thread safety (locking) and delegation to
the underlying `PasswordManager` and its components.

Key improvements:
- Verified locking behavior for thread-safe operations.
- Validated delegation logic for all service methods.
- Covered edge cases like default vs. custom password generation policies.
- Mocked external dependencies (pubsub bus, manager components) to isolate service logic.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 18:09:03 +00:00
google-labs-jules[bot]andPR0M3TH3AN f38bbe57d2 Fix XSS vulnerability in docs search highlighting
- Implement `escapeHtml` function in `docs/assets/theme.js`
- Update `highlight` function to safely escape content before wrapping matches in `<mark>` tags
- Update `torch/src/todo/TODO_2026-02-16T11:47:38Z.md` to mark task as completed

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 18:06:19 +00:00
thePR0M3TH3AN c6560305a9 Merge pull request #873 from PR0M3TH3AN/remove-unused-event-handler-5859192189539737629
Remove unused EventHandler class
2026-02-16 12:47:25 -05:00
google-labs-jules[bot]andPR0M3TH3AN fe6334523c Remove unused EventHandler class and its tests
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 17:43:16 +00:00
thePR0M3TH3AN 2a376ec91f update 2026-02-16 12:19:26 -05:00
google-labs-jules[bot]andPR0M3TH3AN e03385c569 Investigated TORCH system availability and provided answers.
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 17:04:00 +00:00
google-labs-jules[bot]andPR0M3TH3AN c884f8d8f0 feat: install and setup TORCH in torch/ directory
- Added `torch/` directory with `package.json` and `package-lock.json`.
- Ran `npx torch-lock init` to generate `torch-config.json`.
- Updated `.gitignore` to exclude `torch/node_modules` and `torch/torch/`.
- Documented findings and recommendations for improving the installation process.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 01:42:36 +00:00
thePR0M3TH3AN e5c210b4a5 Merge pull request #857 from PR0M3TH3AN/revert-856-setup-torch-493395281474527772
Revert "Install and setup TORCH agent system"
2026-02-15 18:45:09 -05:00
thePR0M3TH3AN f8b92e0806 Revert "Install and setup TORCH agent system" 2026-02-15 18:44:54 -05:00
thePR0M3TH3AN efd5bd117a Merge pull request #856 from PR0M3TH3AN/setup-torch-493395281474527772
Install and setup TORCH agent system
2026-02-15 18:40:55 -05:00
google-labs-jules[bot]andPR0M3TH3AN 55eec8c490 Install and setup TORCH agent system
- Initialize Node.js environment with `package.json`
- Install `torch-lock` from GitHub
- Initialize `torch/` configuration and prompts
- Add `node_modules` to `.gitignore`
- Add `lock:*` scripts to `package.json` for scheduler integration
- Update `check-file-size.mjs` and `check-innerhtml.mjs` to support `--update` and `BASELINE` logic required by prompts

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-15 23:36:50 +00:00
thePR0M3TH3AN ca733be2e3 Merge pull request #854 from PR0M3TH3AN/codex/reduce-log-verbosity-in-tui
Refine console logging
2025-08-23 13:33:21 -04:00
thePR0M3TH3AN e528bebae3 Refine console logging 2025-08-23 13:19:27 -04:00
thePR0M3TH3AN e760bf2b25 Merge pull request #853 from PR0M3TH3AN/codex/suppress-tui-warning-and-debug-messages
Reduce noisy logging in console
2025-08-23 13:02:41 -04:00
thePR0M3TH3AN d106802a18 Reduce console logging noise 2025-08-23 12:46:52 -04:00
thePR0M3TH3AN f2648a8c1d Merge pull request #852 from PR0M3TH3AN/codex/handle-encryption-exceptions-with-user-friendly-message
Handle decryption failures with friendly message
2025-08-23 12:30:05 -04:00
thePR0M3TH3AN d030cf9692 Raise InvalidToken-compatible errors 2025-08-23 12:21:56 -04:00