Commit Graph
153 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN d71e7d6bc9 feat(scheduler): execute content-audit-agent daily run
- Successfully identified and ran the content-audit-agent via the TORCH scheduler flow.
- Agent read base documents, identified an issue (`2026-02-15-relay-health-preflight-job.md` missing referenced in `TORCH.md`).
- Documented the missing file bug into `KNOWN_ISSUES.md`.
- Wrote new `docs/agent-handoffs/incidents/2026-03-01-missing-runbook.md` placeholder.
- Wrote memory artifacts to `.scheduler-memory/latest/daily/*` and new memory file to `memory-updates/2026-03-01T21-45-00Z__content-audit-agent.md`.
- Verified changes with full Python unit test suite and `npm run validate:scheduler`.
- Published `lock:complete` and wrote final `torch/task-logs/daily/2026-03-01T21-45-00Z__content-audit-agent__completed.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-03-01 22:47:46 +00: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 5e639b0d75 Add TUI v2 default cutover decision memo 2026-03-01 16:22:05 -05:00
thePR0M3TH3AN 0d0432ec45 Add TUI v2 retryable error recovery flows 2026-03-01 16:20:37 -05:00
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 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 b9d6c0d49d Add Nostr sync reset/fresh namespace workflow and docs 2026-03-01 01:24:33 -05:00
thePR0M3TH3AN 68cb1169e3 Add agent autonomy controls, docs updates, and landing page agent section 2026-03-01 01:02:11 -05:00
thePR0M3TH3AN fe96ccd7c7 Add agent security controls, broker auth, and capability discovery 2026-02-28 22:32:38 -05:00
thePR0M3TH3AN 0ffdaf4b09 docs: align development docs with current code behavior 2026-02-25 21:45:14 -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 966701fb1a update 2026-02-23 17:26:14 -05:00
thePR0M3TH3AN 0789dfcb55 Harden agent policy and API import limits; fix docs links 2026-02-23 16:24:53 -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
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
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 a2a663eed1 Default offline mode 2025-08-22 09:10:06 -04:00
thePR0M3TH3AN 492bfba3fb tests: add offline default and kdf slider 2025-08-20 20:51:36 -04:00
thePR0M3TH3AN 857b1ef0f9 Document memory zeroization caveat 2025-08-20 20:29:58 -04:00
thePR0M3TH3AN d99af30d9f Switch API token to bcrypt 2025-08-20 19:29:08 -04:00
thePR0M3TH3AN c353c04472 docs: note installer dependency checks 2025-08-18 18:18:07 -04:00
thePR0M3TH3AN 593b173e95 Add Briefcase packaging docs and scripts 2025-08-08 09:24:25 -04:00
thePR0M3TH3AN 00edb44442 feat: make GUI dependencies optional 2025-08-07 10:51:13 -04:00
thePR0M3TH3AN 363b54b656 Merge pull request #782 from PR0M3TH3AN/codex/add-architecture-overview-to-readme
docs: add Nostr setup guide and architecture overview
2025-08-06 10:09:22 -04:00
thePR0M3TH3AN 1a35bb42bd docs: add Nostr setup guide and architecture overview 2025-08-06 10:09:05 -04:00
thePR0M3TH3AN edcf2787ee Add Argon2 calibration and encryption fuzz tests 2025-08-06 09:58:44 -04:00
thePR0M3TH3AN 6a20728db4 docs: note deterministic derivation change 2025-08-05 10:55:56 -04:00
thePR0M3TH3AN 3a19ef9c2a require password for sensitive read endpoints 2025-08-03 14:12:24 -04:00
thePR0M3TH3AN a9c5deb800 Document restoration requirements 2025-08-03 10:38:55 -04:00
thePR0M3TH3AN 2c44f51fc4 ci: add secret scanning 2025-08-03 10:27:13 -04:00
thePR0M3TH3AN 6f885bd65e Use hashed requirements lock 2025-08-03 10:08:50 -04:00
thePR0M3TH3AN ccca399b09 docs: clarify manual clipboard dependencies 2025-08-03 08:12:25 -04:00
thePR0M3TH3AN 7aeba78245 Remove insecure parent seed endpoint 2025-08-02 22:01:38 -04:00
thePR0M3TH3AN 186e39cc91 feat: add short-lived JWT auth and secure endpoints 2025-08-02 21:48:52 -04:00