• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CharlesBinard / SecurBuntu / 23171325053

16 Mar 2026 11:45PM UTC coverage: 95.191% (-4.8%) from 100.0%
23171325053

push

github

web-flow
fix: UX context awareness — use real server state in prompts and tasks (#8)

* docs: add UX context awareness design spec

* docs: fix spec review issues (confirmation display, HOME guard, test plan)

* docs: add UX context awareness implementation plan

* feat: add ServerAuditContext interface and currentSshPort to HardeningOptions

* feat: add detectAllLocalKeys for listing local SSH keys

* test: add detectAllLocalKeys tests

* fix: fail2ban uses currentSshPort instead of hardcoded 22

* fix: ssh-config uses currentSshPort instead of hardcoded 22

* test: add currentSshPort tests for fail2ban and ssh-config

* fix: ssh-options prompt shows current port instead of hardcoded 22

* fix: UFW prompt adapts wording when already active

* fix: confirmation summary shows actual SSH port instead of 22

* feat: hardening prompt uses ServerAuditContext for port, wording, and SSH keys info

* feat: list local SSH keys for selection at connection time

* feat: orchestrator builds ServerAuditContext from audit results

* test: add currentSshPort to defaultOptions in all test files

* style: fix biome formatting and numeric separators

---------

Co-authored-by: Charles Binard <charles@notae.ai>

18 of 19 new or added lines in 3 files covered. (94.74%)

970 of 1019 relevant lines covered (95.19%)

38.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

27.94
/src/ssh/detect.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc