Commit Graph
167 Commits
Author SHA1 Message Date
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 c1a317f9b6 docs: close tui2 full legacy workflow parity with evidence 2026-03-02 08:56:34 -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 3769153033 docs: add dev control center as single planning hub 2026-03-02 08:24:59 -05:00
thePR0M3TH3AN 0bbf271154 docs: add beta hardening report and session notes 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 367cad6a04 tui2: complete parity phases with settings/relay tools and CI smoke 2026-03-01 20:36:04 -05: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
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 3470fd6aac Strengthen determinism gates and add TUI v2 agent testing workflow 2026-03-01 17:35: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 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