thePR0M3TH3AN
37d0dffdc3
Merge branch 'beta' into main (safe conflict resolution)
2026-02-23 16:38:18 -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
google-labs-jules[bot] and PR0M3TH3AN
77be82c09a
Setup TORCH agent system
...
- Created `torch/` directory and initialized package.json
- Installed TORCH dependency from https://github.com/PR0M3TH3AN/TORCH
- Initialized TORCH environment with `npx torch-lock init`
- Updated .gitignore to exclude node_modules and generated files
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-16 05:33:36 +00:00
google-labs-jules[bot] and PR0M3TH3AN
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
f8b92e0806
Revert "Install and setup TORCH agent system"
2026-02-15 18:44:54 -05:00
google-labs-jules[bot] and PR0M3TH3AN
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
f7eaf2897f
Add vendor dependencies script
2025-07-17 08:39:22 -04:00
thePR0M3TH3AN
26030611b1
update
2025-07-10 22:13:46 -04:00
thePR0M3TH3AN
d0df4b44c2
update
2025-07-04 13:05:53 -04:00
thePR0M3TH3AN
46dd2353d1
update
2025-07-01 17:04:55 -04:00
thePR0M3TH3AN
e7c6dc4732
Update CI workflow for coverage
2025-06-29 15:34:35 -04:00
thePR0M3TH3AN
bd470d78d5
chore: ensure newline at EOF
2025-06-28 19:55:25 -04:00
thePR0M3TH3AN
713304ca54
update
2024-10-21 20:13:19 -04:00
thePR0M3TH3AN
ddfd0fa258
update
2024-10-20 17:15:18 -04:00
Keep Creating Online
c6a768131d
update
2024-10-19 19:55:59 -04:00