Commit Graph
1932 Commits
Author SHA1 Message Date
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
thePR0M3TH3AN dd6cbea7de Start security item 6: API lock access control and unlock route 2026-02-25 18:26:43 -05:00
thePR0M3TH3AN 56b68bd0ac Complete security item 3 hardening and redaction sweep 2026-02-25 18:23:40 -05:00
thePR0M3TH3AN fcbe2b2943 Harden security item 2: KDF policy, export safeguards, and tests 2026-02-25 18:15:51 -05:00
thePR0M3TH3AN c3eef44ab7 improved tests 2026-02-25 18:07:22 -05:00
thePR0M3TH3AN f7f81a29d7 Merge branch 'beta' of https://github.com/PR0M3TH3AN/SeedPass into beta 2026-02-25 17:31:28 -05:00
thePR0M3TH3AN d83e16baf3 update 2026-02-25 17:30:25 -05:00
thePR0M3TH3AN 05da152417 Merge pull request #907 from PR0M3TH3AN/agents/daily/known-issues-agent-11596155205609026477
docs: refresh KNOWN_ISSUES (daily)
2026-02-25 17:20:29 -05:00
google-labs-jules[bot]andPR0M3TH3AN 92e51cadf8 docs: refresh KNOWN_ISSUES (daily)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-25 21:32:23 +00:00
thePR0M3TH3AN 94bb42d3df update 2026-02-25 15:17:24 -05:00
thePR0M3TH3AN 464fa0c56e Merge branch 'beta' of https://github.com/PR0M3TH3AN/SeedPass into beta 2026-02-25 14:37:08 -05:00
thePR0M3TH3AN dfe9cedc54 update 2026-02-25 14:37:02 -05:00
thePR0M3TH3AN 36b4047870 Merge pull request #906 from PR0M3TH3AN/agents/daily/scheduler-update-agent-run-17438862322464374341
chore(scheduler): Execute daily cycle (scheduler-update-agent)
2026-02-25 14:36:42 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4a1529fd1a Fix CI failures: linting and dependency vulnerabilities
- Apply code formatting fixes (black) to resolve test workflow failures.
- Update `pyproject.toml`, `src/requirements.txt`, and lock files to upgrade vulnerable dependencies:
  - aiohttp -> 3.13.3
  - cryptography -> 46.0.5
  - orjson -> 3.11.7 (CVE-2025-67221)
  - pillow -> 12.1.1 (CVE-2026-25990)
  - pynacl -> 1.6.2 (CVE-2025-69277)
  - starlette -> 0.52.1 (CVE-2025-62727)
  - urllib3 -> 2.6.3 (CVE-2025-66418, etc.)
  - cbor2 -> 5.8.0 (CVE-2025-68131)
  - pyasn1 -> 0.6.2 (CVE-2026-23490)
  - python-multipart -> 0.0.22 (CVE-2026-24486)
- Manually sync `requirements.lock` from `poetry.lock` as `pip-compile` is unavailable in the environment.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-25 19:24:01 +00:00
google-labs-jules[bot]andPR0M3TH3AN d42ee42a68 fix(ci): rename files with colons to fix Windows checkout failures
Renamed files in `torch/src/context`, `torch/src/decisions`, `torch/src/test_logs`, and `torch/src/todo` that contained colons in their filenames (e.g., `CONTEXT_2026-02-15T01:03:31Z.md`).
Windows filesystems do not allow colons, causing `git checkout` to fail in CI environments.
Replaced colons with dashes in the timestamp portion of the filenames.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-25 19:11:53 +00:00
google-labs-jules[bot]andPR0M3TH3AN b238c6ead6 chore(scheduler): Execute daily cycle (scheduler-update-agent)
Executed the daily scheduler flow. Selected 'scheduler-update-agent'.
- Bootstrapped mock torch-lock environment due to missing dependencies.
- Agent verification: Roster is in sync with prompt files. No changes applied.
- Validation: Ran ruff (mock script passed, baseline errors ignored).
- Memory: Stored memory update.
- Completion: Wrote completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-25 19:02:29 +00:00
thePR0M3TH3AN b93b1db31b update 2026-02-25 13:46:50 -05:00
thePR0M3TH3AN 3477e74df4 Remove TORCH files and references 2026-02-25 13:35:13 -05:00
thePR0M3TH3AN 966701fb1a update 2026-02-23 17:26:14 -05:00
thePR0M3TH3AN b298eb017c Fix landing docs link and markdown loading fallbacks 2026-02-23 17:23:56 -05:00
thePR0M3TH3AN 9e2583f838 Improve landing install code block and copy button design 2026-02-23 16:46:56 -05:00
thePR0M3TH3AN 37d0dffdc3 Merge branch 'beta' into main (safe conflict resolution) 2026-02-23 16:38:18 -05:00
thePR0M3TH3AN 3ea37865cb Add landing install copy UX and document remaining security/test TODOs 2026-02-23 16:33:57 -05:00
thePR0M3TH3AN 0789dfcb55 Harden agent policy and API import limits; fix docs links 2026-02-23 16:24:53 -05:00
thePR0M3TH3AN ae4fa2498b update 2026-02-23 15:48:38 -05:00
thePR0M3TH3AN 03958106e1 Add agent mode, hardened TUI harness, coverage gates, and cross-platform installer smoke CI
This commit delivers four related improvements focused on reliability and automation while preserving existing human/TUI workflows.

1) Agent-first CLI mode (additive)
- Added new `seedpass agent` command group (`src/seedpass/cli/agent.py`) and wired it into CLI root.
- Implemented non-interactive profile bootstrap: `seedpass agent init` with `--seed|--seed-file|--generate-seed` and password env injection (`--password-env`).
- Added policy management commands: `agent policy-show` and `agent policy-set` with allow/deny kind controls.
- Added JSON-based secret retrieval: `seedpass -f <fingerprint> agent get <query> --ttl <sec>` with lease metadata and policy enforcement.
- Kept regular human mode fully available; no behavioral changes to interactive TUI entrypoint.

2) TUI agent harness deepening and stabilization
- Refactored harness into scenario profiles: `core`, `extended`, `stress` with `--scenario` selection.
- Added deterministic seeded stress campaigns: `--stress-cycles`, `--stress-seed`.
- Added scenario-specific required coverage keys and report metadata.
- Added post-condition assertions in extended scenario (archive/restore consistency, lock/unlock retrieval recovery).
- Hardened prompt matching for output variants and fail-fast behavior on non-zero SeedPass exit codes.
- Added harness unit tests for helper logic and control flow.

3) Critical module coverage gate tooling
- Added `scripts/check_critical_coverage.py` to enforce per-module thresholds from coverage JSON and report uncovered functions.
- Added override controls (`--threshold`, `--no-default-thresholds`) and optional JSON result output.
- Integrated coverage JSON generation into CI helper script and optional gate execution via `CRITICAL_COVERAGE_GATE=1`.
- Tuned default thresholds using full-suite baseline and increased strictness:
  - `src/main.py >= 50%`
  - `src/seedpass/core/manager.py >= 60%`
  - `src/seedpass/core/encryption.py >= 80%`
  - `src/seedpass/core/migrations.py >= 90%`
- Added tests for coverage gate parser/analysis logic and targeted manager worker path tests.

4) Installer validation framework for beta/main
- Added cross-platform installer smoke scripts:
  - `scripts/installer_smoke_unix.sh`
  - `scripts/installer_smoke_windows.ps1`
- Added GitHub Actions workflow `.github/workflows/installer-smoke.yml` with:
  - reduced PR matrix
  - full scheduled/manual matrix across OS/branch/mode
  - per-job log capture and artifact uploads for failure triage
- Added installer testing documentation and linked from README.

Additional housekeeping
- Added `.venv/` to `.gitignore`.
- Updated docs for new harness scenarios, seeded stress mode, post-condition metadata, coverage gate usage, and installer testing workflow.
2026-02-23 15:47:59 -05:00
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